]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hppa: Remove GLIBC_2.3 from librt.abilist.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ccf431ff
CD
12014-07-01 Carlos O'Donell <carlos@redhat.com>
2
d34570a6
CD
3 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4 entries.
5
ccf431ff
CD
6 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7 entry for aio_cancel and aio_cancel64.
8 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
19 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
21
ca06321d
RM
222014-07-01 Roland McGrath <roland@hack.frob.com>
23
24 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25 * nptl/pthread_mutex_lock.c: Likewise.
26 * nptl/pthread_mutex_timedlock.c: Likewise.
27 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28
a1ac3184
RH
292014-07-01 Richard henderson <rth@redhat.com>
30
631021e0
RH
31 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32 (__isnan, __isnanl): Remove.
33 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34
a1ac3184
RH
35 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36
0c1d731f
SL
372014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
38
39 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40
76985d3e
SP
412014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
42
43 * resolv/nss_dns/dns-host.c (getanswer_r)
44 [MULTI_PTRS_ARE_ALIASES]: Remove code.
45
b0cb3096
JM
462014-07-01 Joseph Myers <joseph@codesourcery.com>
47
48 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
50 undefine.
51 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
52 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
53
4d76cb39
RM
542014-07-01 Roland McGrath <roland@hack.frob.com>
55
56 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
57 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
58
59 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
60 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
61
62 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
63 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
64 ... here.
65 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
66 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
67
68 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
69 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
70 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
71 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
72
73 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
74 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
75 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
76 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
77 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
78 Moved ...
79 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
80 ... here.
81 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
83 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
84 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
85 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
87 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
89 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
91 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
93 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
95 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
97 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
99 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
101 ... here.
102 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
103 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
104 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
105 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
106 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
107 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
108 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
109 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
110
0cdcad17
DH
1112014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
112
113 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
114 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
115 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
116 Add sysdep.
117
9b71d0e3
AZ
1182014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
119
120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
121
665390c2
JM
1222014-06-30 Joseph Myers <joseph@codesourcery.com>
123
ae05a9d7
JM
124 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
125 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
126
a7672a2f
JM
127 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
128
665390c2
JM
129 * sysdeps/arm/libm-test-ulps: Regenerated.
130
d7a05d07
MR
1312014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
132 Roland McGrath <roland@hack.frob.com>
133
134 * test-skeleton.c (signal_handler): Kill the whole process group
135 before killing the child individually.
136 (main): Report any failure on `setpgid'.
137
46f1d8a6
RM
1382014-06-30 Roland McGrath <roland@hack.frob.com>
139
140 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
141 from _TLS_H to _ARM_NPTL_TLS_H.
142 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
143 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
144
9c37ec0b
JM
1452014-06-30 Joseph Myers <joseph@codesourcery.com>
146
ce9c5b3e
JM
147 [BZ #16539]
148 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
149 (__expm1l): Return argument unchanged when small but not
150 subnormal.
151
3a6e9887
JM
152 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
153 include macro name.
154 (_FP_UNPACK_RAW_1_P): Likewise.
155 (_FP_PACK_RAW_1): Likewise.
156 (_FP_PACK_RAW_1_P): Likewise.
157 (_FP_MUL_MEAT_1_wide): Likewise.
158 (_FP_MUL_MEAT_DW_1_hard): Likewise.
159 (_FP_MUL_MEAT_1_hard): Likewise.
160 (_FP_DIV_MEAT_1_imm): Likewise.
161 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
162 (_FP_DIV_MEAT_1_udiv): Likewise.
163 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
164 (_FP_UNPACK_RAW_2): Likewise.
165 (_FP_UNPACK_RAW_2_P): Likewise.
166 (_FP_PACK_RAW_2): Likewise.
167 (_FP_PACK_RAW_2_P): Likewise.
168 (_FP_MUL_MEAT_DW_2_wide): Likewise.
169 (_FP_MUL_MEAT_2_wide): Likewise.
170 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
171 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
172 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
173 (_FP_MUL_MEAT_2_gmp): Likewise.
174 (_FP_DIV_MEAT_2_udiv): Likewise.
175 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
176 (_FP_FRAC_SRL_4): Likewise.
177 (_FP_FRAC_SRST_4): Likewise.
178 (_FP_FRAC_SRS_4): Likewise.
179 (_FP_UNPACK_RAW_4): Likewise.
180 (_FP_UNPACK_RAW_4_P): Likewise.
181 (_FP_PACK_RAW_4): Likewise.
182 (_FP_PACK_RAW_4_P): Likewise.
183 (_FP_MUL_MEAT_DW_4_wide): Likewise.
184 (_FP_MUL_MEAT_4_wide): Likewise.
185 (_FP_MUL_MEAT_4_gmp): Likewise.
186 (umul_ppppmnnn): Likewise.
187 (_FP_DIV_MEAT_4_udiv): Likewise.
188 (__FP_FRAC_ADD_4): Likewise.
189 (__FP_FRAC_SUB_3): Likewise.
190 (__FP_FRAC_SUB_4): Likewise.
191 (__FP_FRAC_DEC_3): Likewise.
192 (__FP_FRAC_DEC_4): Likewise.
193 (__FP_FRAC_ADDI_4): Likewise.
194 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
195 (_FP_FRAC_SRL_8): Likewise.
196 (_FP_FRAC_SRS_8): Likewise.
197
9c37ec0b
JM
198 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
199 include macro name.
200 (FP_UNPACK_RAW_EP): Likewise.
201 (FP_PACK_RAW_E): Likewise.
202 (FP_PACK_RAW_EP): Likewise.
203 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
204 (_FP_ISSIGNAN): Likewise.
205 (_FP_ADD_INTERNAL): Likewise.
206 (_FP_FMA): Likewise.
207 (_FP_CMP): Likewise.
208 (_FP_SQRT): Likewise.
209 (_FP_TO_INT): Likewise.
210 (_FP_FROM_INT): Likewise.
211 (FP_EXTEND): Likewise.
212 (_FP_DIV_MEAT_N_loop): Likewise.
213
2125f674
MR
2142014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
215
216 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
217 throughout.
218
edea4028
JM
2192014-06-29 Joseph Myers <joseph@codesourcery.com>
220
221 [BZ #17097]
222 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
223 result with correct sign in case of exponents that produce
224 overflow except for X very close to 1.
225
dd0ba018
PE
2262014-06-28 Paul Eggert <eggert@cs.ucla.edu>
227
228 mktime: merge #if/#ifdef usage from glibc
229 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
230 as that works with both Glibc's and Gnulib's style.
231 See thread starting at Siddhesh Poyarekar's bug report at:
232 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
233
64df73c2
SP
2342014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
235
236 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
237 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
238 * sysdeps/tile/tilegx/memmove.c: Remove file.
239
f1eafb41
JM
2402014-06-27 Joseph Myers <joseph@codesourcery.com>
241
242 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
243 abi-name definition.
244 * scripts/soversions.awk: Do not handle or generate ABI lines.
245 * shlib-versions: Remove ABI entries.
246 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
247 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
248
58eb0862
RM
2492014-06-27 Roland McGrath <roland@hack.frob.com>
250
37caf178
RM
251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
252 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
253 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
254 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
256 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
258 Moved ...
259 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
260 ... here.
261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
262 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
264 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
266 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
268 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
270 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
272 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
274 Moved ...
275 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
281 Moved ...
282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
284 Moved ...
285 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
287 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
289 Moved ...
290 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
291 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
298 Moved ...
299 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
302 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
303 Moved ...
304 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
305 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
306 Moved ...
307 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
308 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
309 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
310 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
311 Moved ...
312 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
313 ... here.
314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
315 Identical file removed.
316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
317 Moved ...
318 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
320 Identical file removed.
321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
322 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
323 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
324 Moved ...
325 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
327 Identical file removed.
328 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
329 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
330 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
331 Identical file removed.
332 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
333 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
335 Identical file removed.
336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
338 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
339 Identical file removed.
340 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
341 Moved ...
342 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
343 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
344 Identical file removed.
345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
346 Moved ...
347 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
348 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
349 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
350 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
351 Identical file removed.
352 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
353 Moved ...
354 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
355 ... here.
356 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
357 Identical file removed.
358 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
359 Moved ...
360 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
361 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
362 Identical file removed.
363 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
364 Moved ...
365 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
366 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
368 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
371 Moved ...
372 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
373 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
374 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
375
58eb0862
RM
376 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
377 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
378 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
379 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
380 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
381
6f12d062
AS
3822014-06-27 Arjun Shankar <arjun.is@lostca.se>
383
384 [BZ #17092]
385 * nscd/nscd.c (monitor_child): Return exit status of child
386 instead of return value from wait syscall.
387
be254932
JM
3882014-06-27 Joseph Myers <joseph@codesourcery.com>
389
cb403c34
JM
390 * configure.ac (libc_commonpagesize): Remove variable.
391 (libc_relro_required): Likewise.
392 (libc_cv_z_relro): Remove configure test.
393 * configure: Regenerated.
394 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
395 variable.
396 (libc_relro_required): Likewise.
397 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
398 (libc_relro_required): Likewise.
399 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
400 (libc_relro_required): Likewise.
401 * sysdeps/arm/preconfigure: Regenerated.
402 * sysdeps/ia64/preconfigure: Remove file.
403 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
404 variable.
405 (libc_relro_required): Likewise.
406
be254932
JM
407 [BZ #16561]
408 [BZ #16562]
409 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
410 (__ieee754_yn): Set FE_TONEAREST mode internally and then
411 recompute overflowing results in original rounding mode.
412 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
413 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
414 recompute overflowing results in original rounding mode.
415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
416 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
417 recompute overflowing results in original rounding mode.
418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
419 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
420 recompute overflowing results in original rounding mode.
421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
422 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
423 recompute overflowing results in original rounding mode.
424 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
425 (libc_feholdsetround_ctx): New macro.
426 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
427 * sysdeps/i386/fpu/libm-test-ulps: Update.
428 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
429
b351d85a
JM
4302014-06-26 Joseph Myers <joseph@codesourcery.com>
431
432 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
433 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
434 corresponding .cpsetup call.
435
3cb4de47
RM
4362014-06-26 Roland McGrath <roland@hack.frob.com>
437
438 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
439 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
440 * sysdeps/arm/Makefile [$(subdir) = csu]
441 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
442 (static-only-routines): Add aeabi_read_tp here.
443 (shared-only-routines): Add libc-aeabi_read_tp here.
444 (CFLAGS-libc-start.c): Add -fexceptions here.
445 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
446 (sysdep_routines, static-only-routines, shared-only-routines):
447 Don't add to these here.
448 (CFLAGS-libc-start.c): Likewise.
449
450 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
451 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
452 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
453 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
454 * sysdeps/arm/Makefile [$(subdir) = rt]
455 (librt-sysdep_routines, librt-shared-only-routines):
456 Append rt-aeabi_unwind_cpp_pr1 here.
457 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
458 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
459 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
460 (libpthread-sysdep_routines, libpthread-shared-only-routines):
461 Append nptl-aeabi_unwind_cpp_pr1 here.
462 (tests): Filter out tst-cleanupx4 here.
463 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
464 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
465 Don't do those here.
466
354426bb
JM
4672014-06-26 Joseph Myers <joseph@codesourcery.com>
468
469 * scripts/list-sources.sh: Do not handle ports specially.
470
28b0a8c9
RM
4712014-06-26 Roland McGrath <roland@hack.frob.com>
472
a3dd035d
RM
473 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
474 * sysdeps/arm/feupdateenv.c: Likewise.
475
28b0a8c9
RM
476 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
477
e66a8203
JM
4782014-06-26 Joseph Myers <joseph@codesourcery.com>
479
480 * manual/texinfo.tex: Update to version 2014-05-05.10 with
481 trailing whitespace removed.
482 * scripts/config.guess: Update to version 2014-03-23.
483 * scripts/config.sub: Update to version 2014-05-01
484 * scripts/install-sh: Update to version 2013-12-25.23.
485 * scripts/move-if-change: Update from gnulib.
486
74171115
SP
4872014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
488
b97c9ce5
SP
489 * debug/memmove_chk.c: Remove pagecopy.h include.
490
4000f892
SP
4912014-06-26 Paul Eggert <eggert@cs.ucla.edu>
492
74171115
SP
493 * time/mktime.c (leapyear): Remove inline keyword. The code is now
494 identical to gnulib mktime.
495
a8779c28
JM
4962014-06-26 Joseph Myers <joseph@codesourcery.com>
497
e64708de
JM
498 * configure.ac: Do not test for machine being rs6000. Do not test
499 for powerpc*-*soft.
500 * configure: Regenerated.
501
a8779c28
JM
502 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
503 test.
504 * configure: Regenerated.
505 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
506 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
507 Remove configure test.
508 * sysdeps/arm/configure: Regenerated.
509 * sysdeps/nptl/configure.ac: Do not check
510 libc_cv_asm_cfi_directives.
511 * sysdeps/nptl/configure: Regenerated.
512 * sysdeps/x86_64/nptl/configure.ac: Remove file.
513 * sysdeps/x86_64/nptl/configure: Remove generated file.
514 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
515 unconditional.
516 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
517
2aac0a86
SP
5182014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
519
059bf913
SP
520 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
521 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
522 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
523 it is defined.
524
4cf5b6d0
SP
525 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
526 instead of whether it is defined.
527 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
528 * sysdeps/hppa/dl-machine.h: Likewise.
529 * sysdeps/ia64/dl-machine.h: Likewise.
530 * sysdeps/m68k/dl-machine.h: Likewise.
531 * sysdeps/microblaze/dl-machine.h: Likewise.
532 * sysdeps/mips/dl-machine.: Likewise.
533 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
534 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
535 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
536 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
537 * sysdeps/sh/dl-machine.h: Likewise.
538 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
539 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
540 * sysdeps/tile/dl-machine.h: Likewise.
541 * sysdeps/x86_64/dl-machine.h: Likewise.
542
2aac0a86
SP
543 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
544 code.
545 (verify_persistent_db): Likewise.
546
6ad2df0b
RM
5472014-06-26 Roland McGrath <roland@hack.frob.com>
548
d8a483f3
RM
549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
550 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
552 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
554 Moved ...
555 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
556 ... here.
557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
560 Identical file removed.
561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
572 Moved ...
573 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
575 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
577 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
579 Moved ...
580 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
582 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
584 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
586 Identical file removed.
587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
588 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
592 Moved ...
593 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
594 ... here.
595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
600 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
604 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
606 Moved ...
607 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
609 Moved ...
610 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
612 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
614 Moved ...
615 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
617 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
618
52ae23b4
RM
619 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
620 folded into ...
621 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
622 * sysdeps/unix/sysv/linux/s390/Versions
623 (libpthread: GLIBC_2.19): New version set.
624 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
625 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
626 (librt: GLIBC_2.3.3): New version set.
627 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
628 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
629 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
630 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
631 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
632 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
633 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
634 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
635 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
636 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
637 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
638 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
639 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
640 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
641 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
642 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
643 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
644 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
645 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
646 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
647 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
648 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
649 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
650 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
651 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
652 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
653 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
654 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
655 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
656 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
657 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
658 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
659 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
660 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
661 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
662 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
663 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
665 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
667 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
669 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
671 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
672
39507e4a
RM
673 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
674 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
675 (__libc_vfork): Define the function under this name.
676 [!NOT_IN_libc] (__vfork): Make this an alias.
677 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
679 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
680 (__libc_vfork): Define the function under this name.
681 [!NOT_IN_libc] (__vfork): Make this an alias.
682 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
683 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
684 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
687 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
688
e549ee56
RM
689 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
690 code that was previously under [RESET_PID].
691 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
692 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
694
6ad2df0b
RM
695 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
696 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
697 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
698 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
699 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
700 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
701 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
702 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
703 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
705 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
706 Moved ...
707 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
708 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
710 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
711 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
712 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
713 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
714 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
715 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
716 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
717 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
718 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
719 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
720 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
721 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
722 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
723 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
724 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
726 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
728 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
730 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
731 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
732 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
733 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
734 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
735 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
736
7c1c1d8e
RM
7372014-06-25 Roland McGrath <roland@hack.frob.com>
738
739 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
740 that was previously under [RESET_PID].
741 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
742
3e239be6
JM
7432014-06-25 Joseph Myers <joseph@codesourcery.com>
744
74385da5
JM
745 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
746 not undefine and redefine.
747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
748 [O_CLOEXEC]: Make code unconditional.
749 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
750 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
751 <kernel-features.h>.
752 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
753 conditional variable definition.
754 (shm_open) [O_CLOEXEC]: Make code unconditional.
755 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
756 code.
757
c2570a0b
JM
758 * configure.ac (USE_REGPARMS): Don't define here.
759 * configure: Regenerated.
760 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
761 * sysdeps/i386/configure: Regenerated.
762
11b076bb
JM
763 * nptl/createthread.c: Don't include kernel-features.h.
764 * nptl/pthread_cancel.c: Likewise.
765 * nptl/pthread_condattr_setclock.c: Likewise.
766 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
767 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
768 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
769 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
770 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
771 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
772 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
774 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
775 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
776 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
777 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
778 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
779 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
780 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
781 * nscd/gai.c: Likewise.
782 * nss/nss_db/db-open.c: Likewise.
783 * sysdeps/generic/ldsodefs.h: Likewise.
784 * sysdeps/sh/nptl/tls.h: Likewise.
785 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
786 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
787 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
788 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
789 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
790 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
791 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
792 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
794 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
795 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
796 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
797 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
798 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
799 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
800 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
801 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
802 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
803 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
804 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
805 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
806 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
807 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
808 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
809 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
810 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
811 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
812 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
813 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
814 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
815 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
816 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
817 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
818 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
819 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
820 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
821 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
822 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
823 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
824 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
825 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
826 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
827 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
828 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
829 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
830 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
831 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
832 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
833 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
834 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
835 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
836 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
837 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
838 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
839 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
840 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
842 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
865 * sysdeps/unix/sysv/linux/pread.c: Likewise.
866 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
867 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
868 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
869 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
870 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
871 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
872 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
873 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
874 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
875 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
876 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
877 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
878 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
879 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
880 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
882 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
883 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
884 * sysdeps/unix/sysv/linux/system.c: Likewise.
885 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
886 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
887 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
888 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
889 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
890 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
891 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
892
92072d57
JM
893 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
894 * configure: Regenerated.
895 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
896
3e239be6
JM
897 * configure.ac (base_machine): Do not set specially for particular
898 machines here.
899 * configure: Regenerated.
900 * sysdeps/powerpc/preconfigure: Move machine and base_machine
901 settings from configure.ac.
902 * sysdeps/i386/preconfigure: New file.
903 * sysdeps/s390/preconfigure: Likewise.
904 * sysdeps/sh/preconfigure: Likewise.
905 * sysdeps/sparc/preconfigure: Likewise.
906
06d50baa
RM
9072014-06-25 Roland McGrath <roland@hack.frob.com>
908
74836003
RM
909 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
910 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
911 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
912 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
913 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
914 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
915 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
916 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
917 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
918 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
919 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
920 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
921 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
922 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
923 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
924 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
926 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
927 * sysdeps/sparc/sparc64/Makefile: ... appended here.
928
929 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
930 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
931 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
932 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
933 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
934 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
935 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
936 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
937 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
938 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
939 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
940 * sysdeps/sparc/sparc32/sem_post.c: ... here.
941 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
942 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
943 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
944 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
945 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
946 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
947 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
948 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
949 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
950 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
951 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
952 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
953 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
954 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
955 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
956 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
957 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
958 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
959 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
960 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
961 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
962 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
963 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
964 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
965 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
966 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
967
06d50baa
RM
968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
969 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
971 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
973 Moved ...
974 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
975 ... here.
976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
977 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
979 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
981 Moved ...
982 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
984 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
986 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
990 Moved ...
991 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
993 Moved ...
994 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
998 Moved ...
999 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1001 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1003 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1009 Moved ...
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1011 ... here.
1012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1015 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1017 Moved ...
1018 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1020 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1024 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1026 Moved ...
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1029 Moved ...
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1034 Moved ...
1035 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1037 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1039 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1040
a4ccbc9b
JM
10412014-06-25 Joseph Myers <joseph@codesourcery.com>
1042
0828edbf
JM
1043 * timezone/checktab.awk: Update from tzcode 2014e.
1044 * timezone/private.h: Likewise.
1045 * timezone/tzfile.h: Likewise.
1046 * timezone/zdump.c: Likewise.
1047 * timezone/zic.c: Likewise.
1048
a4ccbc9b
JM
1049 * sysdeps/unix/sysv/linux/kernel-features.h
1050 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1051 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1052 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1053 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1054 Remove conditional code.
1055
9aea0cb8
WN
10562014-06-25 Will Newton <will.newton@linaro.org>
1057
1058 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1059 (_dl_arm_cap_flags): Add HWCAP2 values.
1060 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1061 (_DL_HWCAP_COUNT): Increase to 37.
1062 (_DL_HWCAP_LAST): New define.
1063 (_DL_HWCAP2_LAST): New define.
1064 (_dl_procinfo): Add support for printing
1065 AT_HWCAP2 entries.
1066 (_dl_string_hwcap): Use _dl_hwcap_string.
1067
6eaa65ce
AZ
10682014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069
1070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1071
0f5b7185
JM
10722014-06-25 Joseph Myers <joseph@codesourcery.com>
1073
cfd2ea50
JM
1074 * README: Do not mention ports directory.
1075
cecf2ed4
JM
1076 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1077 Remove macro.
1078 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1079 <kernel-features.h>.
1080 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1081 conditional variable definition.
1082 (__futimes): Update comment.
1083 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1084 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1085
a638de82
JM
1086 [BZ #16560]
1087 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1088 arguments close to 0.
1089 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1090 Likewise.
1091 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1092 Likewise.
1093 * math/auto-libm-test-in: Add more tests of exp10.
1094 * math/auto-libm-test-out: Regenerated.
1095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1096
0f5b7185
JM
1097 * sysdeps/unix/sysv/linux/kernel-features.h
1098 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1099 * sysdeps/unix/sysv/linux/readv.c: Do not include
1100 <kernel-features.h>.
1101 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1102 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1103 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1104 unconditional.
1105 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1106 conditional code.
1107 * sysdeps/unix/sysv/linux/writev.c: Do not include
1108 <kernel-features.h>.
1109 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1110 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1111 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1112 unconditional.
1113 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1114 conditional code.
1115
c7aec4be
WN
11162014-06-25 Will Newton <will.newton@linaro.org>
1117
1118 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1119 comment changes throughout the file. Remove checks
1120 for HAVE_*_H definitions that are not required.
1121 (__gen_tempname): Call abort if an unknown kind value is
1122 passed.
1123
c5241f95
AS
11242014-06-25 Andreas Schwab <schwab@suse.de>
1125
1126 [BZ #17086]
1127 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1128 scalbln, scalblnf, scalblnl in libc.
1129
911422da
SP
11302014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1131
1132 [BZ #17086]
1133 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1134 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1135 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1136
0d749bbe
RM
11372014-06-24 Roland McGrath <roland@hack.frob.com>
1138
1139 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1140 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1141 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1142 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1143 Update #include.
1144 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1145 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1146 Update #include.
1147 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1148 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1149 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1150 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1151 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1152 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1153 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1154 * sysdeps/x86/bits/semaphore.h: ... here.
1155 * sysdeps/x86/nptl/elide.h: Moved ...
1156 * sysdeps/x86/elide.h: ... here.
1157 * sysdeps/x86_64/nptl/Implies: File removed.
1158 * sysdeps/i386/nptl/Implies: File removed.
1159
0ea5d373
JM
11602014-06-24 Joseph Myers <joseph@codesourcery.com>
1161
4060283d
JM
1162 [BZ #16539]
1163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1164 return the argument for normal arguments with exponent below -64.
1165 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1166 Likewise.
1167 * math/auto-libm-test-in: Add another test of expm1.
1168 * math/auto-libm-test-out: Regenerated.
1169
e7dd3c8c
JM
1170 [BZ #16287]
1171 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1172 calling __erfcl for arguments at least 16.
1173 * math/auto-libm-test-in: Add more tests of erf.
1174 * math/auto-libm-test-out: Regenerated.
1175
0ea5d373
JM
1176 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1177 individual architectures.
1178 * sysdeps/unix/sysv/linux/configure: Regenerated.
1179 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1180 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1181 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1182 (ldd_rewrite_script): Define variable.
1183 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1185 file.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1187 generated file.
1188 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1189 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1190 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1191 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1192 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1193 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1194 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1195 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1196
2307e126
SP
11972014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1198
1199 [BZ #17084]
1200 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1201 Rename member __data.d to __data.__elision_data.
1202
c0a4ed77
W
12032014-06-24 Wilco <wdijkstr@arm.com>
1204
1205 * NEWS: Add 16918 to fixed bug list.
1206
b8c00573
W
12072014-06-24 Wilco <wdijkstr@arm.com>
1208
1209 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1210
b5570d92
W
12112014-06-24 Wilco <wdijkstr@arm.com>
1212
1213 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1214 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1215 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1216 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1217 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1218 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1219 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1220 Use _FPU_MASK_RM.
1221
947bdca2
W
12222014-06-24 Wilco <wdijkstr@arm.com>
1223
1224 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1225
00f669ed
W
12262014-06-24 Wilco <wdijkstr@arm.com>
1227
1228 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1229 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1230 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1231 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1232
db59bad3
W
12332014-06-24 Wilco <wdijkstr@arm.com>
1234
1235 [BZ #16918]
1236 * sysdeps/arm/feupdateenv.c (feupdateenv):
1237 Rewrite to reduce FPSCR accesses and fix return value.
1238
001f7b77
W
12392014-06-24 Wilco <wdijkstr@arm.com>
1240
1241 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1242 Optimize to avoid unnecessary FPSCR writes.
1243 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1244 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1245 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1246 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1247
4841e6a6
W
12482014-06-24 Wilco <wdijkstr@arm.com>
1249
1250 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1251 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1252 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1253 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1254 Call libc_fetestexcept_vfp.
1255 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1256 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1257 __SOFTFP__ ifdef so that they can be built for softfp.
1258
0813022c
SP
12592014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1260
08e5862f
SP
1261 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1262 argument type signed char.
1263
0813022c
SP
1264 * Makerules (check-abi): Dump diff of symlist if the test
1265 fails.
1266
3fc7236a
RM
12672014-06-23 Roland McGrath <roland@hack.frob.com>
1268
aba8ef95
RM
1269 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1270 using abort.
1271
3fc7236a
RM
1272 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1273 Remove unused variable ST.
1274
4da6db51
JM
12752014-06-23 Joseph Myers <joseph@codesourcery.com>
1276
4648909d
JM
1277 [BZ #16354]
1278 [BZ #17061]
1279 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1280 small arguments before calling __expm1.
1281 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1282 small arguments before calling __expm1f.
1283 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1284 small arguments before calling __expm1l.
1285 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1286 Likewise.
1287 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1288 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1289 spurious underflow for some cosh tests.
1290 * math/auto-libm-test-out: Regenerated.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292
46a3d3c7
JM
1293 [BZ #17050]
1294 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1295 (__ieee754_y1): Set errno if return value overflows.
1296 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1297 (__ieee754_y1f): Set errno if return value overflows.
1298 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1299 (__ieee754_y1l): Set errno if return value overflows.
1300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1301 (__ieee754_y1l): Set errno if return value overflows.
1302 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1303 * math/auto-libm-test-out: Regenerated.
1304
863893ec
JM
1305 * math/gen-auto-libm-tests.c: Document use of
1306 ignore-zero-inf-sign.
1307 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1308 (input_flags): Add ignore-zero-inf-sign.
1309 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1310 * math/gen-libm-test.pl (generate_testfile): Handle
1311 ignore-zero-inf-sign.
1312 * math/auto-libm-test-in: Mark some cpow tests with
1313 ignore-zero-inf-sign and some with xfail-rounding.
1314 * math/auto-libm-test-out: Regenerated.
1315 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1316 * sysdeps/i386/fpu/libm-test-ulps: Update.
1317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1318
4da6db51
JM
1319 [BZ #16315]
1320 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1321 overflowing or underflowing operations take place with sign of
1322 result.
1323 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1324 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1325 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1326 (__ieee754_pow): Recompute overflowing and underflowing results in
1327 original rounding mode.
1328 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1329 (__powl_helper): Allow negative argument X and scale negated value
1330 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1331 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1332 overflowing or underflowing operations take place with sign of
1333 result.
1334 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1335 Include <math.h>.
1336 * math/auto-libm-test-in: Add more tests of pow.
1337 * math/auto-libm-test-out: Regenerated.
1338 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1339 (pow_tonearest_test_data): Remove.
1340 (pow_test_tonearest): Likewise.
1341 (pow_towardzero_test_data): Likewise.
1342 (pow_test_towardzero): Likewise.
1343 (pow_downward_test_data): Likewise.
1344 (pow_test_downward): Likewise.
1345 (pow_upward_test_data): Likewise.
1346 (pow_test_upward): Likewise.
1347 (main): Don't call removed functions.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1350
5686b236
RM
13512014-06-23 Roland McGrath <roland@hack.frob.com>
1352
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1354 Moved ...
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1357 Moved ...
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1360 Moved ...
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1363 Moved ...
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1366 File removed.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1368 File removed.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1370 File removed.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1372 File removed.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1374 File removed.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1376 File removed.
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1378 File removed.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1380 File removed.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1382 File removed.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1384 File removed.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1386 File removed.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1388 File removed.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1390 Moved ...
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1393 Moved ...
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1395 ... here.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1397 Moved ...
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1400 Moved ...
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1403 Moved ...
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1406 Moved ...
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1409 Moved ...
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1412 Moved ...
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1415 Moved ...
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1419 ... here.
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1421 Moved ...
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1424 Moved ...
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1426 ... here.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1428 Moved ...
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1430 ... here.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1432 Moved ...
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1434 ... here.
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1436 Moved ...
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1439 Moved ...
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1444 Moved ...
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1446 ... here.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1448 Moved ...
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1450 ... here.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1452 Moved ...
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1455 Moved ...
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1458 Moved ...
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1461 Moved ...
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1464 Moved ...
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1466 ... here.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1468 Moved ...
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1471 Moved ...
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1474 Moved ...
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1477 Moved ...
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1482 Moved ...
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1485 Moved ...
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1488 Moved ...
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1490 ... here.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1492 Moved ...
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1494 ... here.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1496 Moved ...
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1498 ... here.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1500 Moved ...
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1503 Moved ...
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1506 Moved ...
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1509 Moved ...
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1511 ... here.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1513 Moved ...
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1515 ... here.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1517 Moved ...
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1519 ... here.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1521 Moved ...
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1524 Moved ...
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1526
e6d90d67
WD
15272014-06-23 Will Newton <will.newton@linaro.org>
1528 Wilco <wdijkstr@arm.com>
1529
1530 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1531 implementation. Include get-rounding-mode.h.
1532 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1533 [!libc_feholdsetround_noex_ctx]: Define
1534 libc_feholdsetround_noex_ctx.
1535 [!libc_feholdsetround_noexf_ctx]: Define
1536 libc_feholdsetround_noexf_ctx.
1537 [!libc_feholdsetround_noexl_ctx]: Define
1538 libc_feholdsetround_noexl_ctx.
1539 (libc_feholdsetround_ctx): New function.
1540 (libc_feresetround_ctx): New function.
1541 (libc_feholdsetround_noex_ctx): New function.
1542 (libc_feresetround_noex_ctx): New function.
1543
d42df555
RM
15442014-06-23 Roland McGrath <roland@hack.frob.com>
1545
88a46474
RM
1546 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1547 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1548 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1549 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1550 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1551 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1552
15bed472
RM
1553 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1554 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1555 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1556 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1557 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1558 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1560 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1561 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1562 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1564 Moved ...
1565 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1566 ... here.
1567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1568 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1569 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1570 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1572 Moved ...
1573 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1574 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1575 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1576 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1577 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1579 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1581 Moved ...
1582 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1584 Moved ...
1585 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1587 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1589 Moved ...
1590 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1592 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1594 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1595 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1596 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1597 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1598 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1600 Moved ...
1601 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1602 ... here.
1603 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1604 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1606 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1616 Moved ...
1617 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1621 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1623 Moved ...
1624 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1628 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1629
d42df555
RM
1630 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1631 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1632 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1633 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1635 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1653 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1658
76e5216e
JM
16592014-06-23 Joseph Myers <joseph@codesourcery.com>
1660
1661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1662 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1663 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1664 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1665 (IPV6_PMTUDISC_INTERFACE): Likewise.
1666 (IPV6_PMTUDISC_OMIT): Likewise.
1667
7a81cbcc
AS
16682014-06-23 Andreas Schwab <schwab@suse.de>
1669
1670 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1671 Remove unused errout label.
1672
db224009
AZ
16732014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1674
1675 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1676 macro: hardware supports Vector Crypto instructions.
1677
f393b4aa
WN
16782014-06-23 Will Newton <will.newton@linaro.org>
1679
cc7d0447
WN
1680 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1681 rather than __builtin_expect.
1682
d6d06225
WN
1683 * elf/dl-lookup.c (undefined_msg): Remove variable.
1684 (_dl_lookup_symbol_x): Replace undefined_msg with string
1685 literal.
1686
f393b4aa
WN
1687 * elf/dl-lookup.c (do_lookup_unique): New function.
1688 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1689 to a separate function.
1690
ac60763e
AS
16912014-06-23 Andreas Schwab <schwab@suse.de>
1692
1693 [BZ #17079]
1694 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1695 before reading the next line.
1696
c5c13355
WN
16972014-06-23 Will Newton <will.newton@linaro.org>
1698
1699 * test-skeleton.c (signal_handler): Use printf and %m
1700 rather than perror. Use printf rather than fprintf to
1701 stderr. Use puts rather than fputs to stderr.
1702 (main): Likewise.
1703
bd3675f9
LC
17042014-06-22 Ludovic Courtès <ludo@gnu.org>
1705
1706 * nscd/nscd.c (thread_info_t): Remove typedef.
1707 (thread_info): Remove variable.
1708
d03efb2f
AM
17092014-06-21 Allan McRae <allan@archlinux.org>
1710
1711 * NEWS: Mention CVE-2014-4043.
1712
bc4a86fa
RM
17132014-06-20 Roland McGrath <roland@hack.frob.com>
1714
dc9a54f8
RM
1715 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1716 * nptl/smp.h: ... here.
1717
bd7022c4
RM
1718 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1719
26ffd5e6
RM
1720 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1721 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1722 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1723 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1724
93a6d082
RM
1725 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1726 * nptl/stack-aliasing.h: New file.
1727 * sysdeps/i386/i686/stack-aliasing.h: New file.
1728 * sysdeps/i386/i686/nptl/Makefile: File removed.
1729 * sysdeps/x86_64/stack-aliasing.h: New file.
1730 * sysdeps/x86_64/nptl/Makefile
1731 (CFLAGS-pthread_create.c): Variable removed.
1732
bc4a86fa
RM
1733 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1734 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1735 old file.
1736 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1737 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1738 old file.
1739
2272ffc1
JM
17402014-06-21 Joseph Myers <joseph@codesourcery.com>
1741
1742 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1743 (__ASSUME_SIGFRAME_V2): Remove macro.
1744 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1745 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1746 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1747 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1748 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1749 Declare as function. Remove conditional macro definitions.
1750 (__default_rt_sa_restorer): Likewise.
1751 (__default_sa_restorer_v1): Remove declaration.
1752 (__default_sa_restorer_v2): Likewise.
1753 (__default_rt_sa_restorer_v1): Likewise.
1754 (__default_rt_sa_restorer_v2): Likewise.
1755 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1756 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1757 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1758
4b88139b
RM
17592014-06-20 Roland McGrath <roland@hack.frob.com>
1760
1761 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1762 (libpthread-routines): Add sysdep.
1763 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1764 * sysdeps/unix/sysv/linux/sparc/Versions
1765 (libpthread: GLIBC_2.3.3): New version set.
1766 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1767 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1768 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1769 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1770 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1771 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1772 Moved ...
1773 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1775 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1777 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1779 * sysdeps/sparc/nptl/sem_init.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1781 * sysdeps/sparc/nptl/sem_post.c: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1783 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1785 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1787 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1788 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1789 (libpthread-routines): Add cpu_relax.
1790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1791 File removed.
1792 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1793 (librt: GLIBC_2.3.3): New version set.
1794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1795 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1796 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1797 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1800 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1802 Moved ...
1803 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1805 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1807 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1809 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1811 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1813 Moved ...
1814 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1815 Update #include.
1816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1817 Moved ...
1818 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1819 Update #include.
1820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1821 Moved ...
1822 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1823 Update #include.
1824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1825 Moved ...
1826 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1827 Update #include.
1828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1829 Moved ...
1830 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1831 Update #include.
1832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1833 Moved ...
1834 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1835 Update #include.
1836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1837 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1843 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1847 Moved ...
1848 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1850 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1853
d7109027
JM
18542014-06-20 Joseph Myers <joseph@codesourcery.com>
1855
9bc6103d
JM
1856 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1857 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1858 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1859 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1860 * nscd/nscd.c: Likewise.
1861 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1862 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1863 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1864 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1865
d7109027
JM
1866 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1867 <kernel-features.h>.
1868 (init_mq_netlink): Remove conditional have_sock_cloexec
1869 definitions. Remove code conditional on have_sock_cloexec < 0.
1870 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1871 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1872 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1873 <kernel-features.h>.
1874 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1875 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1876
d92d8f8a
L
18772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1880 Add tests for memset_chk and memset.
1881
1882 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1883 with AVX2_Usable.
1884
4e6d2347
MR
18852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1886
257ce712
MR
1887 [BZ #16046]
1888 * elf/tst-dl-iter-static.c: New file.
1889 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1890
4e6d2347
MR
1891 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1892 error.
1893
a2a76afe
JM
18942014-06-20 Joseph Myers <joseph@codesourcery.com>
1895
7fd00f99
JM
1896 * sysdeps/unix/sysv/linux/kernel-features.h
1897 (__ASSUME_F_GETOWN_EX): Remove macro.
1898 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1899 <kernel-features.h>.
1900 (miss_F_GETOWN_EX): Remove variable or macro.
1901 (do_fcntl): Do not check miss_F_GETOWN_EX.
1902 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1903
4a103975
JM
1904 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1905 Remove macro.
1906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1907 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1908 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1909
a2a76afe
JM
1910 * sysdeps/unix/sysv/linux/kernel-features.h
1911 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1912 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1913 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1914 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1915
90e5dd48
MR
19162014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1917
1918 [BZ #17075]
1919 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1920 Fix calculation of the symbol's value.
1921 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1922 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1923 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1924 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1925 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1926 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1927 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1928 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1929 (modules-names): Add `tst-armtlsdescmod',
1930 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1931 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1932 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1933 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1934 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1935 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1936 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1937 ($(objpfx)tst-armtlsdescloc): New dependency.
1938 ($(objpfx)tst-armtlsdescextnow): Likewise.
1939 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1940 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1941 TLS scheme support.
1942 * sysdeps/arm/configure: Regenerate.
1943
809fdf0d
JM
19442014-06-20 Joseph Myers <joseph@codesourcery.com>
1945
1946 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1947 (__atfct_seterrno_2): Likewise.
1948 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1949 <kernel-features.h>.
1950 (__ASSUME_ATFCTS): Do not undefine and redefine.
1951 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1952 (__have_atfcts): Remove conditional definition.
1953 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1954 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1955 unreachable if [__ASSUME_ATFCTS].
1956 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1957 not undefine and redefine.
1958 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1959 <kernel-features.h>.
1960 (faccessat) [__NR_faccessat]: Make code unconditional.
1961 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1962 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1963 <kernel-features.h>.
1964 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1965 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1966 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1967 <kernel-features.h>.
1968 (fchownat) [__NR_fchownat]: Make code unconditional.
1969 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1970 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1971 <kernel-features.h>.
1972 (futimesat) [__NR_futimesat]: Make code unconditional.
1973 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1975 <kernel-features.h>.
1976 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1977 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1978 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1979 <kernel-features.h>.
1980 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1981 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1982 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1983 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1984 <kernel-features.h>.
1985 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1986 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1987 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1988 <kernel-features.h>.
1989 (linkat) [__NR_linkat]: Make code unconditional.
1990 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1991 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1992 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1993 <kernel-features.h>.
1994 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1995 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1996 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1997 <kernel-features.h>.
1998 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1999 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2000 * sysdeps/unix/sysv/linux/openat.c: Do not include
2001 <kernel-features.h>.
2002 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2003 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2004 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2005 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2006 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2007 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2008 <kernel-features.h>.
2009 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2010 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2011 result of INLINE_SYSCALL directly, not via int variable.
2012 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2013 <kernel-features.h>.
2014 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2015 (renameat) [__NR_renameat]: Make code unconditional.
2016 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2018 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2019 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2020 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2021 (__ASSUME_ATFCTS): Do not undefine and redefine.
2022 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2023 <kernel-features.h>.
2024 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2025 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2026 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2027 <kernel-features.h>.
2028 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2029 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2030 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2031 (__ASSUME_ATFCTS): Do not undefine and redefine.
2032 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2033 <kernel-features.h>.
2034 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2035 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2036 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2037 <kernel-features.h>.
2038 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2039 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2040
224c6c51
L
20412014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2042
2043 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2044
aa6ec754
AS
20452014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2046
2047 [BZ #17069]
2048 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2049 constructed tree before returning error.
2050 * posix/bug-regexp36.c: Expand test case.
2051
d8c2869d
SL
20522014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2053
3ef6b850
SL
2054 [BZ #6803]
2055 * math/libm-test.inc (scalbln_test_date):
2056 Add errno expectations.
2057 * math/w_scalblnf.c: New File.
2058 Add wrapper which checks for setting errno to ERANGE.
2059 Add weak_alias for corresponding scalbln function.
2060 * math/w_scalbln.c: Likewise.
2061 * math/w_scalblnl.c: Likewise.
2062 * math/Makefile (libm-calls): Add w_scalbln.
2063 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2064 Remove weak_alias for corresponding scalbln function.
2065 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2067 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2069 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2070 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2071 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2072 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2073 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2074 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2075 Remove long_double_symbol for scalblnl function in libm, libc.
2076 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2077 Add wrapper which checks for setting errno to ERANGE.
2078 Add long_double_symbol for scalblnl function in libm, libc.
2079 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2080 Remove long_double_symbol for scalblnl in libm.
2081 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2082 Add wrapper which checks for setting errno to ERANGE.
2083 Add long_double_symbol for scalblnl function in libm.
2084 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2085 Do not use wrapper because of own implementation.
2086
c8daec5c
L
20872014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2090 3 bytes for __pad1 for x32.
2091 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2092
5c74e47c
LM
20932014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2094 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2097 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2098 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2099 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2100 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2101
4d43ef1e
AS
21022014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2103
2104 [BZ #17069]
2105 * posix/regcomp.c (parse_expression): Deallocate partially
2106 constructed tree before returning error.
2107 * posix/Makefile.c (tests): Add bug-regex36.
2108 (generated): Add bug-regex36.mtrace.
2109 (tests-special): Add $(objpfx)bug-regex36-mem.out
2110 (bug-regex36-ENV): New variable.
2111 ($(objpfx)bug-regex36-mem.out): New rule.
2112 * posix/bug-regex36.c: New file.
2113
51a7380b
WN
21142014-06-19 Will Newton <will.newton@linaro.org>
2115
2116 * malloc/malloc.c (systrim): If extra is zero then return
2117 early.
2118
91b84fe5
SP
21192014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2120
2121 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2122
f940b965
RE
21232014-06-19 Richard Earnshaw <rearnsha@arm.com>
2124
2125 * sysdeps/aarch64/strchr.S: New file.
2126
4ba7a00f
JM
21272014-06-18 Joseph Myers <joseph@codesourcery.com>
2128
2129 [BZ #17022]
2130 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2131 from arguments -2 or below.
2132 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2133 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2134
b3a9f56b
AS
21352014-06-18 Andreas Schwab <schwab@suse.de>
2136
2137 [BZ #17062]
2138 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2139 of a bracket expr not to run off the end of the string.
2140 * posix/Makefile (tests): Add tst-fnmatch3.
2141 * posix/tst-fnmatch3.c: New file.
2142
85d89278
JM
21432014-06-18 Joseph Myers <joseph@codesourcery.com>
2144
2145 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2146 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2147 [$(cross-compiling) = no]: Likewise.
2148 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2149 [$(cross-compiling) = no]: Likewise.
2150
754c5a08
RS
21512014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2152
2153 [BZ #17031]
2154 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2155 double, adjusted for any remainder from the high double.
2156 * math/libm-test.inc (nearbyint): Add tests.
2157 (rint): Likewise.
2158
556f529d
AZ
21592014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2160
2161 * nptl/sysdeps/powerpc/Makefile: Moved ...
2162 * sysdeps/powerpc/nptl/Makefile: ... here.
2163 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2164 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2165 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2166 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2167 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2168 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2169 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2170 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2171 * nptl/sysdeps/powerpc/tls.h: Moved ...
2172 * sysdeps/powerpc/nptl/tls.h: ... here.
2173
91c03c53
JM
21742014-06-16 Joseph Myers <joseph@codesourcery.com>
2175
2176 [BZ #16681]
2177 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2178 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2179 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2180 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2181 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2182 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2183 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2184 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2185 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2186
a76e63c5
AS
21872014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2188
2189 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2190
f2f6d82f
AS
21912014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2192
ea8a15f6
AS
2193 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2194 defined operator.
2195
f2f6d82f
AS
2196 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2197 $TIMEOUTFACTOR.
2198
a7291117
FW
21992014-06-16 Florian Weimer <fweimer@redhat.com>
2200
2201 [BZ #17058]
2202 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2203 non-executed part of the test.
2204
3d7c00e3
AS
22052014-06-16 Andreas Schwab <schwab@suse.de>
2206
2207 * string/bits/string2.h (strdup, strndup): Update feature guard.
2208
6957fb31
DM
22092014-06-14 David S. Miller <davem@davemloft.net>
2210
2211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2212
11b9e55b
AS
22132014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2214
1d2a0492
AS
2215 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2216 that was previously under [RESET_PID].
2217 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2218
11b9e55b
AS
2219 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2220 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2221 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2222 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2223 (__libc_vfork): New strong alias.
2224 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2225
0f6901d0
AK
22262014-06-14 Andi Kleen <ak@linux.intel.com>
2227
2228 * sysdeps/generic/elide.h: New file.
2229
38bbbb9f
SL
22302014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2231
2232 * Makefile (installed-headers): Adjust path of pthread.h header.
2233
45193bb8
RM
22342014-06-13 Roland McGrath <roland@hack.frob.com>
2235
9a25fd1e
RM
2236 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2237 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2238 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2239 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2240
4004f7e4
RM
2241 * nptl/sysdeps/s390/Makefile: Moved ...
2242 * sysdeps/s390/nptl/Makefile: ... here.
2243 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2244 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2245 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2246 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2247 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2248 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2249 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2250 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2251 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2252 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2253 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2254 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2255 * nptl/sysdeps/s390/tls.h: Moved ...
2256 * sysdeps/s390/nptl/tls.h: ... here.
2257
45193bb8
RM
2258 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2259 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2260
f6fdf533
DM
22612014-06-13 David S. Miller <davem@davemloft.net>
2262
2263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2266 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2270 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2271 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2272 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2273 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2274 Remove RESET_PID cpp guards.
2275 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2276 Remove RESET_PID cpp guards.
2277 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2278
f5d71e14
AS
22792014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2280
2281 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2282 __sp to uintptr_t.
2283
b7aa8caa
AK
22842014-06-13 Andi Kleen <ak@linux.intel.com>
2285
4b266200
AZ
2286 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2287 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2288 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2289 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2291 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2292 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2293 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2294 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2295 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2296 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2297 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2298 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2299 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2301 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2302 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2303 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2304 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2305 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2306
2307 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2308 (pthread_rwlock_rdlock): Add elision.
2309 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2310 (pthread_rwlock_wrlock): Add elision.
2311 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2312 (pthread_rwlock_trywrlock): Add elision.
2313 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2314 (pthread_rwlock_tryrdlock): Add elision.
2315 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2316 (pthread_rwlock_tryrdlock): Add elision unlock.
2317 * nptl/sysdeps/pthread/pthread.h:
2318 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2319 (PTHREAD_RWLOCK_INITIALIZER,
2320 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2321 Handle new elision field.
2322 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2323 * sysdeps/arm/nptl/bits/pthreadtypes.h
2324 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2325 * sysdeps/sh/nptl/bits/pthreadtypes.h
2326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2327 * sysdeps/tile/nptl/bits/pthreadtypes.h
2328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2329 * sysdeps/a/nptl/bits/pthreadtypes.h
2330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2331 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2333 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2335 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2337 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2339 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2341 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2343 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2345 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2347 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2348 (elision_init): Set try_xbegin to zero when no RTM.
2349 * sysdeps/x86/nptl/bits/pthreadtypes.h
2350 (pthread_rwlock_t): Change __pad1 to __rwelision.
2351 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2352
a832bdd3
AK
23532014-06-13 Andi Kleen <ak@linux.intel.com>
2354
2355 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2356 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2357 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2358 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2359
995a46bb
MI
23602014-06-13 Meador Inge <meadori@codesourcery.com>
2361
2362 [BZ #16996]
03ed7738 2363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2364 that the cached result has been set before returning it.
2365
45262aee
RM
23662014-06-12 Roland McGrath <roland@hack.frob.com>
2367
febf6cc5
RM
2368 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2369 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2370 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2371 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2373 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2374
e2682246
RM
2375 * nptl/sysdeps/sparc/Makefile: Moved ...
2376 * sysdeps/sparc/nptl/Makefile: ... here.
2377 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2378 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2379 * nptl/sysdeps/sparc/tls.h: Moved ...
2380 * sysdeps/sparc/nptl/tls.h: ... here.
2381 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2382 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2383 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2384 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2385 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2386 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2387 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2388 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2389 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2390 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2391 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2392 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2393 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2394 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2395 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2396 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2397 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2398 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2399 Update #include.
2400 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2401 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2402 Update #include.
2403 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2404 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2405 Update #include.
2406 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2407 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2408 Update #include.
2409
b0725f43
RM
2410 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2411
b14368b8
RM
2412 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2413 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2414
c5620eb3
RM
2415 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2416 (struct list_links): Type removed.
2417 (struct thread_node, struct timer_node): Replace struct list_links
2418 with struct list_head.
2419 (list_unlink_ip): Likewise.
2420 * sysdeps/pthread/timer_routines.c
2421 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2422 (list_append, list_insbefore): Likewise.
2423 (list_init): Function removed.
2424 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2425 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2426 * sysdeps/pthread/Makefile: ... here, new file.
2427
2428 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2429 * sysdeps/nptl/Implies: ... here.
2430 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2431 * nptl/sysdeps/pthread/list.h: Moved ...
2432 * include/list.h: ... here.
2433 * nptl/sysdeps/pthread/createthread.c: Moved ...
2434 * nptl/createthread.c: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2436 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2437 * nptl/pt-longjmp.c: ... here.
2438 * nptl/sysdeps/pthread/Makefile: Moved ...
2439 * sysdeps/nptl/Makefile: ... here.
2440 * nptl/sysdeps/pthread/Subdirs: Moved ...
2441 * sysdeps/nptl/Subdirs: ... here.
2442 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2443 * sysdeps/nptl/aio_misc.h: ... here.
2444 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2445 * sysdeps/nptl/bits/libc-lock.h: ... here.
2446 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2447 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2448 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2449 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2450 * nptl/sysdeps/pthread/configure: Moved ...
2451 * sysdeps/nptl/configure: ... here.
2452 * nptl/sysdeps/pthread/configure.ac: Moved ...
2453 * sysdeps/nptl/configure.ac: ... here.
2454 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2455 * sysdeps/nptl/gai_misc.h: ... here.
2456 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2457 * sysdeps/nptl/librt-cancellation.c: ... here.
2458 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2459 * sysdeps/nptl/malloc-machine.h: ... here.
2460 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2461 * sysdeps/nptl/pthread-functions.h: ... here.
2462 * nptl/sysdeps/pthread/pthread.h: Moved ...
2463 * sysdeps/nptl/pthread.h: ... here.
2464 * nptl/sysdeps/pthread/setxid.h: Moved ...
2465 * sysdeps/nptl/setxid.h: ... here.
2466 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2467 * sysdeps/nptl/sigfillset.c: ... here.
2468 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2469 * sysdeps/nptl/tcb-offsets.h: ... here.
2470 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2471 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2472 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2473 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2474 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2475 * sysdeps/pthread/allocalim.h: ... here.
2476 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2477 * sysdeps/pthread/bits/sigthread.h: ... here.
2478 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2479 * sysdeps/pthread/flockfile.c: ... here.
2480 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2481 * sysdeps/pthread/ftrylockfile.c: ... here.
2482 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2483 * sysdeps/pthread/funlockfile.c: ... here.
2484 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2485 * sysdeps/pthread/posix-timer.h: ... here.
2486 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2487 * sysdeps/pthread/timer_create.c: ... here.
2488 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2489 * sysdeps/pthread/timer_delete.c: ... here.
2490 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2491 * sysdeps/pthread/timer_getoverr.c: ... here.
2492 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2493 * sysdeps/pthread/timer_gettime.c: ... here.
2494 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2495 * sysdeps/pthread/timer_routines.c: ... here.
2496 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2497 * sysdeps/pthread/timer_settime.c: ... here.
2498 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2499 * sysdeps/pthread/tst-timer.c: ... here.
2500 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2501 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2502
e876b090
RM
2503 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2504 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2505
f6b07b3d
RM
2506 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2507 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2508 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2509 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2510 Update #include target.
2511 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2512 * sysdeps/i386/i686/nptl/Makefile: ... here.
2513 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2514 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2515 Update #include target.
2516 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2517 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2518 * nptl/sysdeps/i386/Makefile: Moved ...
2519 * sysdeps/i386/nptl/Makefile: ... here.
2520 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2521 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2522 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2523 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2524 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2525 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2526 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2527 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2528 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2529 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2530 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2531 * nptl/sysdeps/i386/tls.h: Moved ...
2532 * sysdeps/i386/nptl/tls.h: ... here.
2533
45262aee
RM
2534 * sysdeps/sh/Makefile [$(subdir) = csu]
2535 (gen-as-const-headers): Add tcb-offsets.sym.
2536 * nptl/sysdeps/sh/Makefile: File removed.
2537 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2538 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2539 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2540 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2541 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2542 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2543 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2544 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2545 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2546 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2547 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2548 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2549 * nptl/sysdeps/sh/tls.h: Moved ...
2550 * sysdeps/sh/nptl/tls.h: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2552 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2554 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2556 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2558 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2560 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2562 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2564 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2566 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2568 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2570 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2572 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2574 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2576 Moved ...
2577 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2579 Moved ...
2580 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2582 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2586 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2588 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2589 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2590 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2592 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2594 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2596 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2598 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2599
35a5e3e3
SL
26002014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2601
2602 * posix/spawn_faction_addopen.c: Include string.h.
2603
14642b85
RM
26042014-06-11 Roland McGrath <roland@hack.frob.com>
2605
2606 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2607 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2608 * nptl/sysdeps/x86_64/Makefile: Moved ...
2609 * sysdeps/x86_64/nptl/Makefile: ... here.
2610 * nptl/sysdeps/x86_64/configure: Moved ...
2611 * sysdeps/x86_64/nptl/configure: ... here.
2612 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2613 * sysdeps/x86_64/nptl/configure.ac: ... here.
2614 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2615 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2616 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2617 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2618 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2619 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2620 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2621 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2622 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2623 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2624 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2625 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2626 * nptl/sysdeps/x86_64/tls.h: Moved ...
2627 * sysdeps/x86_64/nptl/tls.h: ... here.
2628 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2629 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2630 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2631 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2632
2633 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2634
31c44fea
AZ
26352014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2636
2637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2638
e81a4f9a
JM
26392014-06-11 Joseph Myers <joseph@codesourcery.com>
2640
2641 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2642 type.
2643 [POSIX] (off_t): Likewise.
2644 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2645 [POSIX] (S_ISBLK): Require macro.
2646 [POSIX] (S_ISCHR): Likewise.
2647 [POSIX] (S_ISDIR): Likewise.
2648 [POSIX] (S_ISFIFO): Likewise.
2649 [POSIX] (S_ISREG): Likewise.
2650 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2651 optional-macro.
2652 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2653 type.
2654 [POSIX] (time_t): Likewise.
2655 [POSIX] (timer_t): Likewise.
2656
89e435f3
FW
26572014-06-11 Florian Weimer <fweimer@redhat.com>
2658
2659 [BZ #17048]
2660 * posix/spawn_int.h (struct __spawn_action): Make the path string
2661 non-const to support deallocation.
2662 * posix/spawn_faction_addopen.c
2663 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2664 * posix/spawn_faction_destroy.c
2665 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2666 path in all spawn_do_open actions.
2667 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2668 posix_spawn_file_actions_addopen.
2669
c3a2ebe1
CM
26702014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2671
2672 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2673 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2674 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2675 conditional code always true.
2676 (__libc_vfork): New alias.
2677
9503784a
RM
26782014-06-11 Roland McGrath <roland@hack.frob.com>
2679
c9cab3d2
RM
2680 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2681 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2682
d3996c79
RM
2683 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2684
ba5ec611
RM
2685 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2686 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2687
f12b4814
RM
2688 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2689 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2690
9503784a
RM
2691 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2692 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2693
e23d3d26
VR
26942014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2695
2696 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2697 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2698 multiarch strcmp for PPC64.
2699 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2700 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2702 multiarch optimizations.
2703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2704 (__libc_ifunc_impl_list): Likewise.
2705
42b1161e
SP
27062014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2707
2708 * benchtests/scripts/validate_benchout.py: New script.
2709 * benchtests/Makefile (bench-func): Call it.
2710 * benchtests/scripts/benchout.schema.json: New file.
2711
2d0fc4dc
CM
27122014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2713
4a594c34
AZ
2714 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2715 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2716 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2717 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2718 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2719 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2720 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2721 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2722 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2723 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2724 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2725 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2726 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2727 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2728 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2729 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2731 Moved ...
4a594c34 2732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2733 ... here.
4a594c34 2734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2735 Moved ...
4a594c34
AZ
2736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2738 Moved ...
4a594c34 2739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2740 ... here.
4a594c34 2741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2742 Moved ...
4a594c34 2743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2744 ... here.
4a594c34 2745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2746 Moved ...
4a594c34
AZ
2747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2749 Moved ...
4a594c34 2750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2751 ... here.
4a594c34 2752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2753 Moved ...
4a594c34 2754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2755 ... here.
4a594c34 2756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2757 Moved ...
4a594c34
AZ
2758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2760 Moved ...
4a594c34 2761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2762 ... here.
4a594c34 2763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2764 Moved ...
4a594c34 2765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2766 ... here.
4a594c34 2767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2768 Moved ...
4a594c34 2769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2770 ... here.
4a594c34 2771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2772 Moved ...
4a594c34
AZ
2773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2775 Moved ...
4a594c34 2776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2777 ... here.
4a594c34 2778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2779 Moved ...
4a594c34 2780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2781 ... here.
4a594c34 2782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2783 Moved ...
4a594c34 2784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2785 ... here.
4a594c34 2786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2787 Moved ...
4a594c34
AZ
2788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2790 Moved ...
4a594c34 2791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2792 ... here.
4a594c34 2793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2794 Moved ...
4a594c34 2795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2796 ... here.
4a594c34 2797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2798 Moved ...
4a594c34
AZ
2799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2801 Moved ...
4a594c34 2802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2803 ... here.
4a594c34 2804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2805 Moved ...
4a594c34
AZ
2806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2808 Moved ...
4a594c34
AZ
2809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2811 Moved ...
4a594c34 2812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2813 ... here.
4a594c34 2814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2815 Moved ...
4a594c34 2816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2817 ... here.
4a594c34 2818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2819 Moved ...
4a594c34 2820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2821 ... here.
4a594c34 2822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2823 Moved ...
4a594c34
AZ
2824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2826 Moved ...
4a594c34 2827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2828 ... here.
4a594c34 2829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2830 Moved ...
4a594c34 2831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2832 ... here.
4a594c34
AZ
2833 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2834 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2838 Moved ...
4a594c34 2839 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2840 ... here.
4a594c34
AZ
2841 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2854 Moved ...
4a594c34
AZ
2855 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2857 Moved ...
4a594c34
AZ
2858 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2860 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2862 Moved ...
4a594c34
AZ
2863 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2865 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2867 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2868 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2869 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2870
0570cfed
W
28712014-06-10 Wilco <wdijkstr@arm.com>
2872
2873 * math/test-fenv-return.c: New file.
2874 * math/Makefile: Add new test test-fenv-return.
2875
f8ba1b56
JM
28762014-06-10 Joseph Myers <joseph@codesourcery.com>
2877
2878 [BZ #17042]
2879 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2880 when x - 1 is zero.
2881 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2882 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2883 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2884 0.0L for an argument of 1.0L.
2885 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2886 Likewise.
2887 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2888 value when x - 1 is zero.
2889 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2890 * sysdeps/i386/fpu/libm-test-ulps: Update.
2891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2892
2c3520d9
BO
28932014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2894
2895 [BZ #15119]
2896 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2897
acaa4d24
RM
28982014-06-09 Roland McGrath <roland@hack.frob.com>
2899
2900 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2901 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2902
962b744d
RM
29032014-06-09 Roland McGrath <roland@hack.frob.com>
2904
d752f0cc
RM
2905 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2906 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2907
34eda6d1
RM
2908 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2909 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2910
50f0a637
RM
2911 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2912 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2913
08f41f04
RM
2914 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2915 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2916
962b744d
RM
2917 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2918 if not already defined.
2919 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2920 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2921 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2922 (TLS_INIT_TP): Use it.
2923 (TLS_DEFINE_INIT_TP): New macro.
2924 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2925
09f19b05
JM
29262014-06-09 Joseph Myers <joseph@codesourcery.com>
2927
2928 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2929 constant.
2930 [POSIX] (IXANY): Likewise.
2931 [POSIX] (OLCUC): Likewise.
2932 [POSIX || POSIX2008] (CBAUD): Do not allow.
2933 [POSIX || POSIX2008] (DEFECHO): Likewise.
2934 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2935 [POSIX || POSIX2008] (ECHOKE): Likewise.
2936 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2937 [POSIX || POSIX2008] (EXTA): Likewise.
2938 [POSIX || POSIX2008] (EXTB): Likewise.
2939 [POSIX || POSIX2008] (FLUSHO): Likewise.
2940 [POSIX || POSIX2008] (LOBLK): Likewise.
2941 [POSIX || POSIX2008] (PENDIN): Likewise.
2942 [POSIX || POSIX2008] (SWTCH): Likewise.
2943 [POSIX || POSIX2008] (VDISCARD): Likewise.
2944 [POSIX || POSIX2008] (VDSUSP): Likewise.
2945 [POSIX || POSIX2008] (VLNEXT): Likewise.
2946 [POSIX || POSIX2008] (VREPRINT): Likewise.
2947 [POSIX || POSIX2008] (VSTATUS): Likewise.
2948 [POSIX || POSIX2008] (VWERASE): Likewise.
2949 (B*): Change to B[0123456789]*.
2950 * conform/data/time.h-data [POSIX || UNIX98]
2951 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2952 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2953 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2954 [POSIX] (tm_*): Do not allow.
2955
686554bf
JM
29562014-06-07 Joseph Myers <joseph@codesourcery.com>
2957
2958 * Makefile (install): Don't set LANGUAGE.
2959 * Makefile.in (install): Likewise.
2960 * assert/Makefile (test-assert-ENV): Remove variable.
2961 (test-assert-perr-ENV): Likewise.
2962 * elf/Makefile (neededtest4-ENV): Likewise.
2963 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2964 [$(cross-compiling) = no]: Don't set LANGUAGE.
2965 * io/ftwtest-sh (LANG): Remove variable.
2966 * libio/Makefile (tst-widetext-ENV): Likewise.
2967 * manual/install.texi (Running make install): Don't refer to
2968 environment settings for make install.
2969 * INSTALL: Regenerated.
2970 * nptl/tst-tls6.sh: Don't set LANG.
2971 * posix/globtest.sh (LANG): Remove variable.
2972 * string/Makefile (tester-ENV): Likewise.
2973 (inl-tester-ENV): Likewise.
2974 (noinl-tester-ENV): Likewise.
2975 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2976 [$(cross-compiling) = no]: Don't set LANGUAGE.
2977 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2978 without explicit environment settings.
2979
68e6b6b1
RM
29802014-06-06 Roland McGrath <roland@hack.frob.com>
2981
2982 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2983 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2985 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2986
4d3ae034
CM
29872014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2988
2989 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2990 other files in the crypt directory.
2991 * crypt/crypt.c: Remove duplicate includes.
2992 * crypt/crypt-entry.c: Likewise.
2993 * crypt/crypt_util.c: Likewise.
2994
8540f6d2
JM
29952014-06-06 Joseph Myers <joseph@codesourcery.com>
2996
2997 * Makeconfig (run-program-env): New variable.
2998 (run-program-prefix-before-env): Likewise.
2999 (run-program-prefix-after-env): Likewise.
3000 (run-program-prefix): Define in terms of new variables.
3001 (built-program-cmd-before-env): New variable.
3002 (built-program-cmd-after-env): Likewise.
3003 (built-program-cmd): Define in terms of new variables.
3004 (test-program-prefix-before-env): New variable.
3005 (test-program-prefix-after-env): Likewise.
3006 (test-program-prefix): Define in terms of new variables.
3007 (test-program-cmd-before-env): New variable.
3008 (test-program-cmd-after-env): Likewise.
3009 (test-program-cmd): Define in terms of new variables.
3010 * Rules (make-test-out): Use $(run-program-env).
3011 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3012 (help): Do not mention environment variables. Mention
3013 --timeoutfactor option.
3014 (timeoutfactor): New variable.
3015 (blacklist_exports): Remove function.
3016 (exports): Remove variable.
3017 (command): Do not include ${exports}.
3018 * manual/install.texi (Configuring and compiling): Do not mention
3019 test wrappers preserving environment variables. Mention that last
3020 assignment to a variable must take precedence.
3021 * INSTALL: Regenerated.
3022 * benchtests/Makefile (run-bench): Use $(run-program-env).
3023 * catgets/Makefile ($(objpfx)test1.cat): Use
3024 $(built-program-cmd-before-env), $(run-program-env) and
3025 $(built-program-cmd-after-env).
3026 ($(objpfx)test2.cat): Do not specify environment variables
3027 explicitly.
3028 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3029 $(run-program-env) and $(built-program-cmd-after-env).
3030 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3031 $(run-program-env) and $(test-program-cmd-after-env).
3032 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3033 explicitly.
3034 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3035 run_program_env and test_program_cmd_after_env arguments.
3036 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3037 * elf/tst-pathopt.sh: Use run_program_env argument.
3038 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3039 $(test-wrapper-env) and $(run-program-env).
3040 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3041 run_program_env arguments.
3042 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3043 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3044 $(test-program-prefix-before-env), $(run-program-env) and
3045 $(test-program-prefix-after-env).
3046 ($(objpfx)tst-gettext2.out): Likewise.
3047 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3048 run_program_env and test_program_prefix_after_env arguments.
3049 * intl/tst-gettext2.sh: Likewise.
3050 * intl/tst-gettext4.sh: Do not set environment variables
3051 explicitly.
3052 * intl/tst-gettext6.sh: Likewise.
3053 * intl/tst-translit.sh: Likewise.
3054 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3055 $(test-program-prefix-before-env), $(run-program-env) and
3056 $(test-program-prefix-after-env).
3057 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3058 run_program_env and test_program_prefix_after_env arguments.
3059 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3060 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3061 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3062 explicitly with each use of ${test_wrapper_env}.
3063 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3064 $(test-program-prefix-before-env), $(run-program-env) and
3065 $(test-program-prefix-after-env).
3066 * posix/tst-getconf.sh: Do not set environment variables
3067 explicitly.
3068 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3069 run_program_env and test_program_prefix_after_env arguments.
3070 * stdio-common/tst-printf.sh: Do not set environment variables
3071 explicitly.
3072 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3073 $(test-program-prefix-before-env), $(run-program-env) and
3074 $(test-program-prefix-after-env).
3075 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3076 run_program_env and test_program_prefix_after_env arguments.
3077 Split $test calls into $test_pre and $test.
3078 * timezone/Makefile (build-testdata): Use
3079 $(built-program-cmd-before-env), $(run-program-env) and
3080 $(built-program-cmd-after-env).
3081
ed36bfa1
AZ
30822014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3083
3084 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3085 strlen for non SHARED builds.
3086
fc75bf46
SP
30872014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
3089 * nptl/allocatestack.c (check_list): Inlined function...
3090 (__reclaim_stacks): ... here.
3091
d89b3d80
OB
30922014-06-05 Ondřej Bílka <neleai@seznam.cz>
3093
3094 [BZ #15698]
3095 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3096 memory overrun.
3097
2bf18041
JM
30982014-06-05 Joseph Myers <joseph@codesourcery.com>
3099
3100 * Rules (make-test-out): Include
3101 LOCPATH=$(common-objpfx)localedata in default environment.
3102 * debug/Makefile (tst-chk1-ENV): Remove variable.
3103 (tst-chk2-ENV): Likewise.
3104 (tst-chk3-ENV): Likewise.
3105 (tst-chk4-ENV): Likewise.
3106 (tst-chk5-ENV): Likewise.
3107 (tst-chk6-ENV): Likewise.
3108 (tst-lfschk1-ENV): Likewise.
3109 (tst-lfschk2-ENV): Likewise.
3110 (tst-lfschk3-ENV): Likewise.
3111 (tst-lfschk4-ENV): Likewise.
3112 (tst-lfschk5-ENV): Likewise.
3113 (tst-lfschk6-ENV): Likewise.
3114 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3115 (tst-iconv7-ENV): Likewise.
3116 * intl/Makefile (LOCPATH-ENV): Likewise.
3117 (tst-codeset-ENV): Likewise.
3118 (tst-gettext3-ENV): Likewise.
3119 (tst-gettext5-ENV): Likewise.
3120 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3121 (tst-fopenloc-ENV): Likewise.
3122 (tst-fgetws-ENV): Remove variable.
3123 (tst-ungetwc1-ENV): Likewise.
3124 (tst-ungetwc2-ENV): Likewise.
3125 (bug-ungetwc2-ENV): Likewise.
3126 (tst-swscanf-ENV): Likewise.
3127 (bug-ftell-ENV): Likewise.
3128 (tst-fgetwc-ENV): Likewise.
3129 (tst-fseek-ENV): Likewise.
3130 (tst-ftell-partial-wide-ENV): Likewise.
3131 (tst-ftell-active-handler-ENV): Likewise.
3132 (tst-ftell-append-ENV): Likewise.
3133 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3134 (tst-regexloc-ENV): Likewise.
3135 (bug-regex1-ENV): Likewise.
3136 (tst-regex-ENV): Likewise.
3137 (tst-regex2-ENV): Likewise.
3138 (bug-regex5-ENV): Likewise.
3139 (bug-regex6-ENV): Likewise.
3140 (bug-regex17-ENV): Likewise.
3141 (bug-regex18-ENV): Likewise.
3142 (bug-regex19-ENV): Likewise.
3143 (bug-regex20-ENV): Likewise.
3144 (bug-regex22-ENV): Likewise.
3145 (bug-regex23-ENV): Likewise.
3146 (bug-regex25-ENV): Likewise.
3147 (bug-regex26-ENV): Likewise.
3148 (bug-regex30-ENV): Likewise.
3149 (bug-regex32-ENV): Likewise.
3150 (bug-regex33-ENV): Likewise.
3151 (bug-regex34-ENV): Likewise.
3152 (bug-regex35-ENV): Likewise.
3153 (tst-rxspencer-ENV): Likewise.
3154 (tst-rxspencer-no-utf8-ENV): Likewise.
3155 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3156 (tst-sscanf-ENV): Likewise.
3157 (tst-swprintf-ENV): Likewise.
3158 (tst-swscanf-ENV): Likewise.
3159 (test-vfprintf-ENV): Likewise.
3160 (scanf13-ENV): Likewise.
3161 (bug14-ENV): Likewise.
3162 (tst-grouping-ENV): Likewise.
3163 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3164 (tst-strtod3-ENV): Likewise.
3165 (tst-strtod4-ENV): Likewise.
3166 (tst-strtod5-ENV): Likewise.
3167 (testmb2-ENV): Likewise./
3168 * string/Makefile (tst-strxfrm-ENV): Likewise.
3169 (tst-strxfrm2-ENV): Likewise.
3170 (bug-strcoll1-ENV): Likewise.
3171 (test-strcasecmp-ENV): Likewise.
3172 (test-strncasecmp-ENV): Likewise.
3173 * time/Makefile (tst-strptime-ENV): Likewise.
3174 (tst-ftime_l-ENV): Likewise.
3175 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3176 (tst-mbrtowc-ENV): Likewise.
3177 (tst-wcrtomb-ENV): Likewise.
3178 (tst-mbrtowc2-ENV): Likewise.
3179 (tst-c16c32-1-ENV): Likewise.
3180 (tst-mbsnrtowcs-ENV): Likewise.
3181
cd1fb604
OB
31822014-06-05 Ondřej Bílka <neleai@seznam.cz>
3183
3184 * manual/resource.texi (How to get information about the memory
3185 subsystem?): Fix typo.
3186 Reported by Peon de la Parra Ivan <peon@keba.com>
3187
b42eca7d
GY
31882014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3189
3190 [BZ #16882]
3191 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3192 (pthread_spin_lock): Branch out of spin loop to proper location.
3193 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3194 (pthread_spin_lock): Likewise.
3195
902b71f9
DM
3196 * nptl/tst-spin4.c: New test.
3197 * nptl/Makefile (tests): Add tst-spin4.
3198
f9d2d032
AS
31992014-06-03 Andreas Schwab <schwab@suse.de>
3200
3201 [BZ #15946]
3202 * resolv/res_send.c (send_dg): Reload file descriptor after
3203 calling reopen.
3204
cf7bfd28
SL
32052014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3206
3207 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3208
111cc714
RH
32092014-06-03 Richard Henderson <rth@redhat.com>
3210
89b4bd6b
RH
3211 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3212 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3213 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3214 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3215 in the SAVE_PID block.
3216 (__libc_vfork): New alias.
71840409 3217 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3218
111cc714
RH
3219 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3220 child in registers, not on the stack. Remove RESET_PID conditionals.
3221 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3222
ccc39911
MS
32232014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3224
3225 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3226
693096cc
W
32272014-06-03 Wilco <wdijkstr@arm.com>
3228
3229 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3230 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3231 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3232 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3233 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3234 Likewise.
3235
0b4366bc
W
32362014-06-03 Wilco <wdijkstr@arm.com>
3237
3238 * sysdeps/aarch64/fpu/math_private.h
3239 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3240 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3241 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3242 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3243 Fix declarations.
3244
8747cd03
KS
32452014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3246
3247 * crypt/crypt-private.h: Include ufc-crypt.h.
3248 (__b64_from_24bit): Declare extern.
3249 * crypt/crypt_util.c(__b64_from_24bit): New function.
3250 (b64t): New static const variable.
3251 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3252 (b64t): Remove variable.
3253 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3254 * crypt/sha256-crypt.c: Include crypt-private.h.
3255 (b64t): Remove variable.
3256 (__sha256_crypt_r): Remove b64_from_24bit and replace
3257 with __b64_from_24bit.
3258 * crypt/sha512-crypt.c: Likewise.
3259
d936d379
RM
32602014-06-02 Roland McGrath <roland@hack.frob.com>
3261
3262 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3263 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3264 Label the code __libc_vfork rather than __vfork.
3265 [!NOT_IN_libc] (vfork): Define as weak alias.
3266 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3267 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3268 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3269
9fa76613
SP
32702014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3271
3272 * malloc/malloc.c (malloc_info): Fix format specifier for
3273 n_mmaps.
3274
a88dadbe
W
32752014-06-02 Wilco <wdijkstr@arm.com>
3276
3277 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3278 FPCR write.
3279
c95b3011
W
32802014-06-02 Wilco <wdijkstr@arm.com>
3281
3282 [BZ #17009]
3283 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3284 Rewrite to reduce FPCR/FPSR accesses.
3285
6b4d7a90
DM
32862014-06-01 David S. Miller <davem@davemloft.net>
3287
3288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3289
30f3d07c
DM
32902014-05-31 David S. Miller <davem@davemloft.net>
3291
3292 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3293 to occur in round to nearest mode when |x| >= 2.0
3294
74f31c18
RH
32952014-05-30 Richard Henderson <rth@twiddle.net>
3296
f0712b54
RH
3297 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3298 (PSEUDO_RET_NOERRNO): Remove.
3299 (ret): Don't redefine.
3300 (ret_NOERRNO): Define in terms of ret.
3301 (ret_ERRVAL): Likewise.
3302
74f31c18
RH
3303 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3304 use of PSEUDO_RET; perform the error check directly.
3305
30477995
MM
33062014-05-30 Marko Myllynen <myllynen@redhat.com>
3307
3308 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3309 with __int128_t.
3310
62a58816
SP
33112014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3312
3313 * malloc/malloc (malloc_info): Fix formatting.
3314
4d653a59
SP
33152014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3316 Roland McGrath <roland@hack.frob.com>
3317
3318 * malloc/malloc (malloc_info): Also print mmapped statistics.
3319
5190c17f
RM
33202014-05-30 Roland McGrath <roland@hack.frob.com>
3321
3322 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3323 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3324
987c0269
OB
33252014-05-30 Ondřej Bílka <neleai@seznam.cz>
3326
3327 * malloc/malloc.c (malloc_info): Inline mi_arena.
3328
af4e8ef9
RH
33292014-05-29 Richard Henderson <rth@twiddle.net>
3330
1670e207
RH
3331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3332 Remove comma before expanding ASM_ARGS_##nr.
3333 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3334 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3335 of ASM_ARGS_##nr.
3336 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3337 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3338 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3339 (ASM_ARGS_1): Add leading comma.
3340
11a28aee
RH
3341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3342 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3343 to __errno_location.
3344 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3345 Remove the expected plt for __errno_location.
3346
a17e5ffb 3347 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3348 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3349 call to __read_tp.
3350
b5be4597
RH
3351 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3352 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3353 it and break it down.
3354 (DOCARGS_0, DOCARGS_1): Do nothing.
3355 (DOCARGS_2): Update to store into the new stack frame.
3356 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3357 (UNDOCARGS_1): Update to restore from the new stack frame.
3358 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3359 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3360
645d44ab
RH
3361 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3362 (SINGLE_THREAD_P): New parameter for result regno.
3363 (PSEUDO): Update to match; use cbz instead of beq.
3364
a8b4f04a
RH
3365 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3366 Use ENTRY to define the _nocancel entry point. Share the syscall
3367 and syscall error check paths with the cancel path.
3368 (PSEUDO_END): New.
3369
af4e8ef9
RH
3370 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3371 whitespace; tabs before and after asm mnemonics.
3372
26b0d2e1
EW
33732014-05-29 Eric Wong <normalperson@yhbt.net>
3374
3375 [BZ #15132]
3376 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3377 Call fstat64 or stat64 internally, depending on arguments passed.
3378 Replace stat buffer argument with file descriptor argument.
3379 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3380 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3381 Pass fd to __internal_statvfs instead of calling fstat64.
3382 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3383 Pass fd to __internal_statvfs64 instead of calling fstat64.
3384 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3385 Pass -1 to __internal_statvfs instead of calling stat64.
3386 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3387 Pass -1 to __internal_statvfs64 instead of calling stat64.
3388
1efe2bd9
RM
33892014-05-28 Roland McGrath <roland@hack.frob.com>
3390
0d3b7a19
RM
3391 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3392 that was previously under [RESET_PID].
3393 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3394
1efe2bd9
RM
3395 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3396 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3397
a6bea3ca
RM
33982014-05-27 Roland McGrath <roland@hack.frob.com>
3399
30b6629e
RM
3400 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3401
a6bea3ca
RM
3402 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3403 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3404
3dfb9a5c
OB
34052014-05-27 Ondřej Bílka <neleai@seznam.cz>
3406
3407 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3408
774f9285
AS
34092014-05-27 Andreas Schwab <schwab@suse.de>
3410
3411 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3412 TLS_INIT_TP macro.
3413 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3414 * elf/rtld.c (init_tls, dl_main): Likewise.
3415 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3416 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3417 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3418 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3419 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3420 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3421 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3422 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3423 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3424 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3425 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3426 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3427 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3428 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3429 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3430 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3431 * sysdeps/generic/tls.h: Update description.
3432
36ffe739
WN
34332014-05-27 Will Newton <will.newton@linaro.org>
3434
3435 [BZ #16990]
3436 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3437 and restore r2 rather than just restoring.
3438
2482ae43
SP
34392014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3440
3441 [BZ #16724]
3442 * libio/tst-ftell-append.c: New test case.
3443 * libio/Makefile (tests): Add test case.
3444 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3445 append mode.
3446 * libio/wfileops.c (do_ftell_wide): Likewise.
3447
3d1024e8
AZ
34482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3449
bab90016
AZ
3450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3451
c7a8d667
AZ
3452 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3453 ...
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3456 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3457 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3458 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3459 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3461 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3463 Moved ...
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3466 Moved ...
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3468 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3469 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3470 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3471 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3472 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3473 ...
3474 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3476 Moved ...
3477 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3478 here.
3479 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3480 ...
3481 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3483 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3484
daee7851
AZ
3485 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3486 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3488 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3489
50a40819
AZ
3490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3491 merge into ...
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3493 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3494 ...
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3497 ...
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3500 Moved ...
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3502 here.
3503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3504 Moved ...
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3507 Moved ...
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3509
8464c2a1
AZ
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3511 conditional [RESET_PID].
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3514 removed.
3515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3516 removed.
3517
3d1024e8
AZ
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3519 <tcb-offsets.h>.
3520 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3521 (__libc_vfork): New strong alias.
3522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3523 removed.
3524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3525 Removed.
3526
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3528 <tcb-offsets.h>.
3529 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3530 (__libc_vfork): New strong alias.
3531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3532 removed.
3533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3534 removed.
3535
fdfd175d
CD
35362014-05-26 Carlos O'Donell <carlos@redhat.com>
3537
3538 * malloc/malloc.c (mi_arena): New function.
3539 (malloc_info): Remove nested function mi_arena. Call non-nosted
3540 function mi_arena.
3541
d298c416
AZ
35422014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543
3544 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3545 by insrwi.
3546 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3547 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3548 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3549 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3550 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3551 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3552 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3553
b60ea6ff
AS
35542014-05-26 Andreas Schwab <schwab@suse.de>
3555
3556 [BZ #16984]
3557 * locale/programs/repertoire.c (repertoire_read): Add slash
3558 between I18NPATH element and file name.
3559 * locale/programs/locfile.c (locfile_read): Likewise.
3560
67365926
SL
35612014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3562
3563 * nptl/pthread_mutexattr_settype.c
3564 (__pthread_mutexattr_settype):
3565 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3566
f8bdf1f0
SL
35672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3568
3569 * nptl/tst-mutex5 (do_test):
3570 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3571
15eaf6ff
SP
35722014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3573
3574 * benchtests/README: Document 'init' directive.
3575 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3576 BENCH_INIT.
3577 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3578 (parse_file): Recognize 'init' directive.
3579
75f11331
KM
35802014-05-26 Kyle McMartin <kyle@redhat.com>
3581
3582 [BZ #16796]
3583 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3584 alignment of struct pthread.
3585
c3ec475c
SP
35862014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3587
3588 [BZ #16878]
3589 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3590 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3591 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3592 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3593
82aab97c
RH
35942014-05-25 Richard Henderson <rth@twiddle.net>
3595
aa2f176d
RH
3596 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3597 (SINGLE_THREAD_P_PIC): Remove.
3598 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3599 (SINGLE_THREAD_P_PIC): Remove.
3600
ca3cfa40
RH
3601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3602 branch to syscall error ...
3603 (PSEUDO): ... here.
3604 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3605 from __local_syscall_error to .Lsyscall_error.
3606 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3607 (SYSCALL_ERROR): Update label name.
3608
6e6c2d01
RH
3609 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3610 Do not use DOARGS/UNDOARGS.
3611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3612 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3613 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3614 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3615 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3616
c69abcee
RH
3617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3618 block comment.
3619
82aab97c
RH
3620 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3621 define if !NOT_IN_libc.
3622 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3623 define with non-default symbol versions.
3624
8820e3ac
RH
36252014-05-23 Richard Henderson <rth@twiddle.net>
3626
900e445f
RH
3627 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3628 (vfork, __vfork): Define via compat_symbol.
3629
8820e3ac
RH
3630 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3631 [!HAVE_IFUNC] (vfork_compat): Remove.
3632 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3633
e59252a5
JM
36342014-05-23 Joseph Myers <joseph@codesourcery.com>
3635
3636 [BZ #16978]
3637 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3638 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3639 variable.
3640
132c7f5f
RH
36412014-05-23 Richard Henderson <rth@twiddle.net>
3642
bc89e962
RH
3643 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3644 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3645 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3646 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3647
3648 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3649 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3650 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3651 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3652 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3653 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3654 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3655 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3656 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3657 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3658 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3659 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3660 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3675 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3681 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3685 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3687 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3688 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3689 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3690 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3691 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3692 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3693 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3694 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3695 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3696 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3697 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3698 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3699 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3700 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3701 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3702 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3703 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3704
e2fa4bc2
RH
3705 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3706 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3707 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3708 before exiting on error.
3709 (__libc_vfork): New strong alias.
3710 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3711 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3712
279b24e2
RH
3713 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3714 that was previously under [RESET_PID].
3715 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3716
132c7f5f
RH
3717 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3718
b72592e7
JM
37192014-05-23 Joseph Myers <joseph@codesourcery.com>
3720
3721 [BZ #16977]
3722 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3723 value when x - 1 is zero.
3724 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3725 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3726 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3727 0.0L for an argument of 1.0L.
3728 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3729 Likewise.
3730 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3731 value when x - 1 is zero.
3732 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3733 * sysdeps/i386/fpu/libm-test-ulps: Update.
3734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3735
2302d679
RV
37362014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3737
3738 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3739 alphasort and versionsort.
3740
32999d63
AZ
37412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742
3743 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3744 macro.
3745 [copysignf]: Likewise.
3746
019324d0
SP
37472014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3748
3749 * crypt/md5-crypt.c: Fix formatting.
3750
34fff5c2
KS
37512014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3752
3753 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3754 (b64_from_24bit): New function.
3755
3d2badac
AZ
37562014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3757
3758 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3759 libc_hidden_builtin_def to ifunc.
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3761 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3762
f7bb179f 37632014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3764
3765 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3766 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3767
4134b50d
JM
37682014-05-21 Joseph Myers <joseph@codesourcery.com>
3769
bb7d0337
JM
3770 * nscd/Depend (linuxthreads): Remove.
3771 (nptl): Add.
3772 * resolv/Depend (linuxthreads): Remove.
3773 * rt/Depend (linuxthreads): Remove.
3774
4134b50d
JM
3775 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3776 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3777 $(common-objpfx)elf/.
3778 (link-libc-before-gnulib): Likewise.
3779 (elfobjdir): Remove variable.
3780 * Makefile (install): Use $(elf-objpfx) instead of
3781 $(common-objpfx)elf/.
3782 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3783 $(elfobjdir)/.
3784 (link-libc-deps): Likewise.
3785 ($(common-objpfx)libc.so): Likewise.
3786 ($(common-objpfx)linkobj/libc.so): Likewise.
3787 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3788 instead of $(common-objpfx)elf/.
3789 (symbolic-link-list): Likewise.
3790 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3791 [$(cross-compiling) = no]: Likewise.
3792 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3793 $(elfobjdir)/.
3794 (static-gnulib-arch): Likewise.
3795 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3796 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3797 $(common-objpfx)elf/.
3798
3612eb8f
RH
37992014-05-21 Richard Henderson <rth@redhat.com>
3800
a6b3657b
RH
3801 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3802 (SINGLE_THREAD_P): Use the correct width load. Fold
3803 into the ldr offset.
3804
3612eb8f
RH
3805 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3806 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3807
175cef41
JM
38082014-05-20 Joseph Myers <joseph@codesourcery.com>
3809
3810 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3811 (libgcc_s_resume): Use __attribute_used__.
3812 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3813 Likewise.
3814
e13bccd3
AZ
38152014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3816
3817 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3818 optimization when used with float constants.
3819
7c112a38
AZ
3820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3821
ae75a883
AJ
38222014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3823
3824 [BZ #16915]
3825 * locale/nl_langinfo_l.c: Make direct reference to every
3826 _nl_current_CATEGORY symbol.
3827 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3828 (tests-static): Add tst-langinfo-static.
3829 (tests-special): Add tst-langinfo-static.out.
3830 ($(objpfx)tst-langinfo.out): Redirect output.
3831 ($(objpfx)tst-langinfo-static.out): New.
3832 * localedata/tst-langinfo.sh: Send output to stdout.
3833 * localedata/tst-langinfo-static.c: New file.
3834
4406c41c
AJ
3835 [BZ #16965]
3836 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3837 when the shift amount is modulo the limb size.
3838
4c0a1e63
RH
38392014-05-20 Richard Henderson <rth@redhat.com>
3840
de9d8f20
RH
3841 [BZ #16967]
3842 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3843 Change type of sa_flags from unsigned int to int.
3844
4c0a1e63
RH
3845 [BZ #16966]
3846 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3847
3848 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3849
a60339aa
WN
38502014-05-20 Will Newton <will.newton@linaro.org>
3851
3852 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3853 Test the return value of the system call in the nocancel case.
3854
7d05a816
YR
38552014-05-20 Will Newton <will.newton@linaro.org>
3856 Yvan Roux <yvan.roux@linaro.org>
3857
3858 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3859 #include of asm/ptrace.h.
3860 (PTRACE_GET_THREAD_AREA): Remove #undef.
3861 (PTRACE_GETHBPREGS): Likewise.
3862 (PTRACE_SETHBPREGS): Likewise.
3863 (struct user_regs_struct): New structure.
3864 (struct user_fpsimd_struct): New structure.
3865 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3866 #include of asm/ptrace.h and second #include of sys/user.h.
3867 (PTRACE_GET_THREAD_AREA): Remove #undef.
3868 (PTRACE_GETHBPREGS): Likewise.
3869 (PTRACE_SETHBPREGS): Likewise.
3870 (ELF_NGREG): Use new struct user_regs_struct.
3871 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3872
af121e37
AZ
38732014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3874
3875 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3876 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3877
834caf06
JM
38782014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3879
3880 [BZ #16958]
3881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3882 membar to avoid block loads/stores to overlap previous stores.
3883
e184a918
RH
38842014-05-17 Richard Henderson <rth@redhat.com>
3885
3886 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3887 Create the __##syscall_name##_nocancel entry point.
3888 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3889 Remove; let the sysdep-cancel.h code create it.
3890
f56c7a6a
DM
38912014-05-17 David S. Miller <davem@davemloft.net>
3892
3893 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3894 Protect with __USE_GNU.
3895 (TIOCSET_TEMPT): Likewise.
3896 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3897 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3898 these are already provided in bits/ioctl-types.h
3899
f75616b2
RM
39002014-05-16 Roland McGrath <roland@hack.frob.com>
3901
3edeca86
RM
3902 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3903 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3904
f75616b2
RM
3905 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3906 Use wait4 regardless of [__NR_waitpid].
3907
deb0f7f6
MR
39082014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3909
3910 PR libgcc/60166
3911 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3912 (_FP_NANSIGN_Q): Set the quiet bit.
3913
79520f4b
JM
39142014-05-16 Joseph Myers <joseph@codesourcery.com>
3915
3916 * benchtests/Makefile
3917 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3918 not $(common-objpfx)math/libm.so.
3919 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3920 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3921 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3922 $(common-objpfx)dlfcn/libdl.so.
3923 ($(objpfx)tst-audit8): Depend on $(libm), not
3924 $(common-objpfx)math/libm.so.
3925 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3926 not $(common-objpfx)dlfcn/libdl.so.
3927 * math/Makefile
3928 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3929 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3930 [$(build-shared) = yes].
3931 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3932 $(common-objpfx)nptl/libpthread.so.
3933 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3934 $(common-objpfx)math/libm.so$(libm.so-version) or
3935 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3936 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3937 $(common-objpfx)dlfcn/libdl.so.
3938 * setjmp/Makefile (link-libm): Remove variable.
3939 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3940 * stdio-common/Makefile (link-libm): Remove variable.
3941 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3942 * stdlib/Makefile (link-libm): Remove variable.
3943 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3944 ($(objpfx)tst-strtod-round): Likewise.
3945 ($(objpfx)tst-tininess): Likewise.
3946 ($(objpfx)tst-strtod-underflow): Likewise.
3947 ($(objpfx)tst-strtod6): Likewise.
3948 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3949 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3950 $(common-objpfx)dlfcn/libdl.so.
3951
026b0fe4
AZ
39522014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3953
3954 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3955 BSD terminal modes definitions.
3956
def4bcb2
RM
39572014-05-16 Roland McGrath <roland@hack.frob.com>
3958
fe39b021
RM
3959 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3960 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3961
1d1fc46e 3962 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3963 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3964 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3965 Don't do #include_next.
3966 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3967 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3968 Don't do #include_next.
3969 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3970 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3971 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3972 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3973
c72399fb
AM
39742014-05-16 Allan McRae <allan@archlinux.org>
3975
d51d659d
AM
3976 * po/sv.po: Update Swedish translation from translation project.
3977
c72399fb
AM
3978 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3979 in sed expression.
3980
d0583c40
AJ
39812014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3982
3983 [BZ #16917]
3984 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3985 errno if the TIOCGPTN ioctl fails with an error different than
3986 EINVAL.
3987 * login/tst-ptsname.c: New file.
3988 * login/Makefile (tests): Add tst-ptsname.
3989
d16e6ec7
AJ
3990 [BZ #16943]
3991 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3992 and prlimit64.
3993
cf26a0cb
SP
39942014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3995
3996 [BZ #16849]
3997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3998 herrno to return EAI_AGAIN.
3999
5675da1e
RM
40002014-05-14 Roland McGrath <roland@hack.frob.com>
4001
a5d87b3d
RM
4002 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4003 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4004 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4005 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4006 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4007 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4008 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4009 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4010 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4011 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4012 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4013 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4014 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4015 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4016 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4017 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4018 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4019 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4020 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4021 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4023 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4024 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4025 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4026 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4027 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4028 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4029 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4031 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4033 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4035 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4037 Moved ...
4038 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4040 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4042 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4044 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4046 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4048 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4052 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4054 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4062 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4066 Moved ...
4067 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4071 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4073 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4087 Moved ...
4088 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4091
039890a6
RM
4092 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4093 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4094 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4095 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4096 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4097 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4098 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4099 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4100 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4102 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4103 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4104 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4106 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4107 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4108 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4109 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4110 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4112 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4113 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4114 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4115 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4116 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4117 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4118 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4120 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4122 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4123
65c89320
RM
4124 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4125 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4126
348f8e8c
RM
4127 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4128 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4129 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4131 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4133 Moved ...
4134 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4136 Moved ...
4137 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4139 Moved ...
4140 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4142 Moved ...
4143 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4144 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4145 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4146 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4147 Moved ...
4148 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4149 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4150 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4152 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4154 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4155 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4156 Moved ...
4157 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4158 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4159 Moved ...
4160 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4161 ... here.
4162 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4163 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4165 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4167 Moved ...
4168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4169 ... here.
4170 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4171 Moved ...
4172 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4173 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4174 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4175 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4176 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4177 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4178 Moved ...
4179 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4180 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4181 Moved ...
4182 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4184 Moved ...
4185 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4186 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4187 Moved ...
4188 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4190 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4192 Moved ...
4193 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4194 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4195 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4197 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4199 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4200 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4201 Moved ...
4202 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4204 Moved ...
4205 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4206 ... here.
4207 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4208 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4210 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4212 Moved ...
4213 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4214 ... here.
4215 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4216 Moved ...
4217 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4218 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4219 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4220 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4221 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4222 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4223 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4225 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4226 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4227 Moved ...
4228 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4229 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4230 Moved ...
4231 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4232 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4233 Moved ...
4234 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4236 Moved ...
4237 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4239 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4241 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4243 Moved ...
4244 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4246 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4247 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4248 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4249 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4250 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4252 Moved ...
4253 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4255 Moved ...
4256 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4257 ... here.
4258 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4259 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4260 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4261 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4262 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4263 Moved ...
4264 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4265 ... here.
4266 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4267 Moved ...
4268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4269 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4270 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4271 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4272 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4273 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4274 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4275 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4276 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4277 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4278 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4279
5085af05
RM
4280 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4281 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4282
708f0813
RM
4283 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4284 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4285
c96067bc
RM
4286 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4287 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4288 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4289 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4290 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4292 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4294 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4296 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4298 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4300 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4302 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4304 Moved ...
4305 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4306 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4307 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4308 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4309 Moved ...
4310 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4312 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4314 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4316 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4318 Moved ...
4319 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4320 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4321 Moved ...
4322 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4323 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4324 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4328 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4329 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4330 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4331 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4332 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4334 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4335 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4336 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4338 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4339
ec136444
RM
4340 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4341 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4342 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4343 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4344 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4345
2fbdf533
RM
4346 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4347 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4349 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4350 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4351 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4352 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4353 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4354 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4355 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4356
4c68138b
RM
4357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4359
4eaae765
RM
4360 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4361 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4362 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4363 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4365 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4366 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4367 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4368 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4369 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4370 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4371 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4372 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4373 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4375 Update #include.
4376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4377 Likewise.
4378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4379 Likewise.
4380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4381 Likewise.
4382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4383 Likewise.
4384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4385 Likewise.
4386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4387 Likewise.
4388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4389 Likewise.
4390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4391 Likewise.
4392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4393 Likewise.
4ef6befa
RM
4394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4395 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4397 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4399 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4400 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4401 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4402 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4403 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4404 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4405 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4406 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4407 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4408 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4409
941d7dfd
RM
4410 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4411 that was previously under [RESET_PID].
4412 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4413 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4414 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4415
1b731c35
RM
4416 * sysdeps/i386/nptl/Implies: New file.
4417 * sysdeps/x86_64/nptl/Implies: New file.
4418 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4419 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4420 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4421 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4422
e2787137
RM
4423 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4424 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4425 (__libc_vfork): New strong alias.
4426 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4427 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4428
4429 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4430 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4431 (__libc_vfork): New strong alias.
4432 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4433 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4434
5675da1e
RM
4435 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4436 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4437 (__libc_vfork): New strong alias.
4438 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4439 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4440 * nptl/pt-vfork.c: New file.
4441 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4442 (libpthread: GLIBC_2.20): New version set (empty).
4443
4f02e2b8
WN
44442014-05-14 Will Newton <will.newton@linaro.org>
4445
4446 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4447 rather than #if.
4448
0bf061d3
JM
44492014-05-14 Joseph Myers <joseph@codesourcery.com>
4450
1a84c3d6
JM
4451 [BZ #16564]
4452 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4453 arguments with exponent 65 or above.
4454 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4455 arguments 0x1p113L or above.
4456 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4457 to arguments 0x1p107L or above.
4458 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4459 positive arguments with exponent 65 or above.
4460 * math/auto-libm-test-in: Add more tests of log1p.
4461 * math/auto-libm-test-out: Regenerated.
4462
01dbacd2
JM
4463 [BZ #16928]
4464 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4465 non-finite arguments is +0.
4466 * math/s_cacosf.c (__cacosf): Likewise.
4467 * math/s_cacosl.c (__cacosl): Likewise.
4468 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4469 * sysdeps/i386/fpu/libm-test-ulps: Update.
4470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4471
913d03c8
JM
4472 [BZ #16927]
4473 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4474 value.
4475 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4476 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4477 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4478 for explicit high bit of mantissa when testing for argument equal
4479 to 1.
4480 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4481 * sysdeps/i386/fpu/libm-test-ulps: Update.
4482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4483
0bf061d3
JM
4484 [BZ #16516]
4485 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4486 (__erf): Scale by 16 instead of 8 in potentially underflowing
4487 case. Ensure exception if result actually underflows.
4488 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4489 (__erff): Scale by 16 instead of 8 in potentially underflowing
4490 case. Ensure exception if result actually underflows.
4491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4492 (efx8): Remove variable.
4493 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4494 case. Ensure exception if result actually underflows.
4495 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4496 (efx8): Remove variable.
4497 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4498 case. Ensure exception if result actually underflows.
4499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4500 (efx8): Remove variable.
4501 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4502 case. Ensure exception if result actually underflows.
4503 * math/auto-libm-test-in: Add more tests of erf.
4504 * math/auto-libm-test-out: Regenerated.
4505
73ba67cb
AS
45062014-05-14 Andreas Schwab <schwab@suse.de>
4507
3d8c8bff
AS
4508 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4509 Remove code conditionalized on USE___THREAD.
4510
73ba67cb
AS
4511 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4512 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4513 not definedness.
4514
5c521ecd
JM
45152014-05-14 Joseph Myers <joseph@codesourcery.com>
4516
5e7698c6
JM
4517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4518 Define unconditionally.
4519 (__ASSUME_O_CLOEXEC): Likewise.
4520 (__ASSUME_SOCK_CLOEXEC): Likewise.
4521 (__ASSUME_IN_NONBLOCK): Likewise.
4522 (__ASSUME_PIPE2): Likewise.
4523 (__ASSUME_EVENTFD2): Likewise.
4524 (__ASSUME_SIGNALFD4): Likewise.
4525 (__ASSUME_DUP3): Likewise.
4526 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4527 (__ASSUME_DUP3): Do not define.
4528 (__ASSUME_EVENTFD2): Likewise.
4529 (__ASSUME_IN_NONBLOCK): Likewise.
4530 (__ASSUME_O_CLOEXEC): Likewise.
4531 (__ASSUME_PIPE2): Likewise.
4532 (__ASSUME_SIGNALFD4): Likewise.
4533 (__ASSUME_SOCK_CLOEXEC): Likewise.
4534 (__ASSUME_UTIMES): Undefine.
4535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4536 (__ASSUME_UTIMES): Do not define.
4537 (__ASSUME_O_CLOEXEC): Likewise.
4538 (__ASSUME_SOCK_CLOEXEC): Likewise.
4539 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4540 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4541 0x020621].
4542 (__ASSUME_PIPE2): Likewise.
4543 (__ASSUME_EVENTFD2): Likewise.
4544 (__ASSUME_SIGNALFD4): Likewise.
4545 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4546 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4547 Do not define.
4548 (__ASSUME_EVENTFD2): Likewise.
4549 (__ASSUME_SIGNALFD4): Likewise.
4550 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4551 (__ASSUME_32BITUIDS): Likewise.
4552 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4553 (__ASSUME_IPC64): Likewise.
4554 (__ASSUME_ST_INO_64_BIT): Likewise.
4555 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4556 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4557 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4558 (__ASSUME_UTIMES): Do not define.
4559 (__ASSUME_PSELECT): Likewise.
4560 (__ASSUME_PPOLL): Likewise.
4561 (__ASSUME_O_CLOEXEC): Likewise.
4562 (__ASSUME_SOCK_CLOEXEC): Likewise.
4563 (__ASSUME_IN_NONBLOCK): Likewise.
4564 (__ASSUME_PIPE2): Likewise.
4565 (__ASSUME_EVENTFD2): Likewise.
4566 (__ASSUME_SIGNALFD4): Likewise.
4567 (__ASSUME_DUP3): Likewise.
4568 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4569 (__ASSUME_UTIMES): Likewise.
4570 (__ASSUME_O_CLOEXEC): Likewise.
4571 (__ASSUME_SOCK_CLOEXEC): Likewise.
4572 (__ASSUME_IN_NONBLOCK): Likewise.
4573 (__ASSUME_PIPE2): Likewise.
4574 (__ASSUME_EVENTFD2): Likewise.
4575 (__ASSUME_SIGNALFD4): Likewise.
4576 (__ASSUME_DUP3): Likewise.
4577 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4578 (__ASSUME_UTIMES): Likewise.
4579 (__ASSUME_O_CLOEXEC): Likewise.
4580 (__ASSUME_SOCK_CLOEXEC): Likewise.
4581 (__ASSUME_IN_NONBLOCK): Likewise.
4582 (__ASSUME_PIPE2): Likewise.
4583 (__ASSUME_EVENTFD2): Likewise.
4584 (__ASSUME_SIGNALFD4): Likewise.
4585 (__ASSUME_DUP3): Likewise.
4586 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4587 Likewise.
4588 (__ASSUME_UTIMES): Likewise.
4589 (__ASSUME_EVENTFD2): Likewise.
4590 (__ASSUME_SIGNALFD4): Likewise.
4591 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4592 (__ASSUME_O_CLOEXEC): Likewise.
4593 (__ASSUME_SOCK_CLOEXEC): Likewise.
4594 (__ASSUME_IN_NONBLOCK): Likewise.
4595 (__ASSUME_PIPE2): Likewise.
4596 (__ASSUME_EVENTFD2): Likewise.
4597 (__ASSUME_SIGNALFD4): Likewise.
4598 (__ASSUME_DUP3): Likewise.
4599 (__ASSUME_UTIMES): Undefine.
4600
5c521ecd
JM
4601 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4602 feclearexcept. Remove symbol versioning code.
4603 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4604 symbol versioning code.
4605 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4606 symbol versioning code.
4607 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4608 feupdateenv. Remove symbol versioning code.
4609 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4610 fegetexceptflag. Remove symbol versioning code.
4611 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4612 fesetexceptflag. Remove symbol versioning code.
4613 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4614 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4615 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4616 (__posix_fadvise64_l32): Remove prototype.
4617 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4618 code.
4619
5da9dfad
RM
46202014-05-13 Roland McGrath <roland@hack.frob.com>
4621
4622 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4623 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4624 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4625 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4626
893b4f37
SK
46272014-05-13 Sami Kerola <kerolasa@iki.fi>
4628
4629 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4630 current working directory
4631
e0db6517
RM
46322014-05-13 Roland McGrath <roland@hack.frob.com>
4633
58aa195d
RM
4634 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4635 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4636 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4637 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4638 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4639 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4640 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4641 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4642 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4645 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4646 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4647 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4648 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4649 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4650 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4653 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4655 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4656 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4657 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4663 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4667 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4668 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4669 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4670 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4671 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4672 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4673 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4674 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4675 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4676
8c6d01f0
RM
4677 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4678 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4679
4680 * sysdeps/unix/sysv/linux/arm/Makefile
4681 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4682 Add rt-aeabi_unwind_cpp_pr1.
4683 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4684 Add nptl-aeabi_unwind_cpp_pr1.
4685 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4686 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4687 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4688 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4689 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4690 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4691
4692 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4693 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4694 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4695 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4696
bba6da4e
RM
4697 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4698 Deconditionalize the code that was previously under [RESET_PID].
4699 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4700
e0db6517
RM
4701 * sysdeps/generic/exit-thread.h: New file.
4702 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4703 * include/unistd.h (__exit_thread): Remove declaration.
4704 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4705 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4706 * csu/libc-start.c: Include <exit-thread.h>.
4707 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4708 * nptl/pthread_create.c: Include <exit-thread.h>.
4709 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4710 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4711 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4712 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4713 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4714 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4715 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4716 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4717 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4718 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4719 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4720 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4721 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4722 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4723 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4724 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4725 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4726
01eb16fd
AS
47272014-05-13 Andreas Schwab <schwab@suse.de>
4728
4729 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4730
637461d9
JM
47312014-05-12 Joseph Myers <joseph@codesourcery.com>
4732
4733 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4734 (__ASSUME_UTIMES): Do not condition on kernel version.
4735 (__ASSUME_PSELECT): Define unconditionally.
4736 (__ASSUME_PPOLL): Likewise.
4737 (__ASSUME_ATFCTS): Likewise.
4738 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4739 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4740 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4741 (__ASSUME_UTIMENSAT): Define unconditionally.
4742 (__ASSUME_PRIVATE_FUTEX): Likewise.
4743 (__ASSUME_FALLOCATE): Likewise.
4744 (__ASSUME_O_CLOEXEC): Likewise.
4745 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4746 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4747 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4748 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4749 (__ASSUME_IN_NONBLOCK): Likewise.
4750 (__ASSUME_PIPE2): Likewise.
4751 (__ASSUME_EVENTFD2): Likewise.
4752 (__ASSUME_SIGNALFD4): Likewise.
4753 (__ASSUME_DUP3): Likewise.
4754 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4755 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4756 (__ASSUME_AT_RANDOM): Likewise.
4757 (__ASSUME_PREADV): Likewise.
4758 (__ASSUME_PWRITEV): Likewise.
4759 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4760 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4761 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4762 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4763 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4764 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4765 (__ASSUME_O_CLOEXEC): Define unconditionally.
4766 (__ASSUME_PSELECT): Do not undefine conditionally.
4767 (__ASSUME_PPOLL): Likewise.
4768 (__ASSUME_ATFCTS): Likewise.
4769 (__ASSUME_SET_ROBUST_LIST): Likewise.
4770 (__ASSUME_UTIMENSAT): Likewise.
4771 (__ASSUME_FDATASYNC): Define unconditionally.
4772 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4773 (__ASSUME_SIGFRAME_V2): Likewise.
4774 )__ASSUME_EVENTFD2): Likewise.
4775 (__ASSUME_SIGNALFD4): Likewise.
4776 (__ASSUME_PSELECT): Do not undefine conditionally.
4777 (__ASSUME_PPOLL): Likewise.
4778 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4779 (__ASSUME_PSELECT): Define unconditionally.
4780 (__ASSUME_PPOLL): Likewise.
4781 (__ASSUME_O_CLOEXEC): Likewise.
4782 (__ASSUME_SOCK_CLOEXEC): Likewise.
4783 (__ASSUME_IN_NONBLOCK): Likewise.
4784 (__ASSUME_PIPE2): Likewise.
4785 (__ASSUME_EVENTFD2): Likewise.
4786 (__ASSUME_SIGNALFD4): Likewise.
4787 (__ASSUME_DUP3): Likewise.
4788 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4789 (__ASSUME_O_CLOEXEC): Likewise.
4790 (__ASSUME_SOCK_CLOEXEC): Likewise.
4791 (__ASSUME_IN_NONBLOCK): Likewise.
4792 (__ASSUME_PIPE2): Likewise.
4793 (__ASSUME_EVENTFD2): Likewise.
4794 (__ASSUME_SIGNALFD4): Likewise.
4795 (__ASSUME_DUP3): Likewise.
4796 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4797 (__ASSUME_EVENTFD2): Likewise.
4798 (__ASSUME_SIGNALFD4): Likewise.
4799 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4800
315eb1d8
AS
48012014-05-12 Andreas Schwab <schwab@suse.de>
4802
4803 [BZ #16932]
4804 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4805 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4806 than maximum RPC packet size.
4807 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4808 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4809 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4810 (_nss_nis_getservbyport_r): Likewise.
4811
91df99f7
WN
48122014-05-12 Will Newton <will.newton@linaro.org>
4813
4814 * malloc/Makefile (tests): Add tst-mallopt.
4815 * malloc/tst-mallopt.c: New file.
4816
0a982a29
RM
48172014-05-09 Roland McGrath <roland@hack.frob.com>
4818
4819 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4820 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4821
0ded08a5
AZ
48222014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4823
4824 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4825 (tst-tlsmod6.so): Likewise.
4826
55d4d550
RM
48272014-05-09 Roland McGrath <roland@hack.frob.com>
4828
4829 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4830
77d08aca
JM
48312014-05-09 Joseph Myers <joseph@codesourcery.com>
4832
4833 [BZ #16064]
4834 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4835 and <dl-procinfo.h>.
4836 (__fegetenv): Save SSE state in envp->__eip if supported.
4837 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4838 envp->__eip if supported.
4839 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4840 and <dl-procinfo.h>.
4841 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4842 __data_offset and __data_selector in environment to 0. Set SSE
4843 state if supported.
4844 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4845 test-fenv-sse.
4846 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4847 -mfpmath=sse.
4848 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4849
28162f4d
WN
48502014-05-09 Will Newton <will.newton@linaro.org>
4851
4852 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4853 and libc_relro_required for ARM.
4854 * sysdeps/arm/preconfigure: Regenerate.
4855
5a414ff7
DV
48562014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4857 Stefan Liebler <stli@linux.vnet.ibm.com>
4858
4859 * config.make.in (enable-lock-elision): New Makefile variable.
4860 * configure.ac: Likewise.
4861 * configure: Regenerate.
4862 * sysdeps/s390/configure.ac:
4863 Add check for gcc transactions support.
4864 * sysdeps/s390/configure: Regenerate.
4865 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4866 Build elision files if enabled.
4867 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4868 Add lock elision support for s390.
4869 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4870 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4871 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4872 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4873 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4874 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4875 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4876 Likewise.
4877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4878 Likewise.
4879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4880 Likewise.
4881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4882 Likewise.
4883 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4884 (__lll_timedlock_elision, __lll_lock_elision)
4885 (__lll_unlock_elision, __lll_trylock_elision)
4886 (lll_timedlock_elision, lll_lock_elision)
4887 (lll_unlock_elision, lll_trylock_elision): Add.
4888 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4889 (pthread_mutex_t): Add lock elision support for s390.
4890
1a2f40e5
W
48912014-05-14 Wilco <wdijkstr@arm.com>
4892
4893 * sysdeps/arm/fclrexcpt.c: Cleanup.
4894 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4895 * sysdeps/arm/feenablxcpt.c: Cleanup.
4896 * sysdeps/arm/fegetenv.c: Cleanup.
4897 * sysdeps/arm/fegetexcept.c: Cleanup.
4898 * sysdeps/arm/fegetround.c: Cleanup.
4899 * sysdeps/arm/feholdexcpt.c: Cleanup.
4900 * sysdeps/arm/fesetenv.c: Cleanup.
4901 * sysdeps/arm/fesetround.c: Cleanup.
4902 * sysdeps/arm/feupdateenv.c: Cleanup.
4903 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4904 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4905 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4906 * sysdeps/arm/ftestexcept.c: Cleanup.
4907 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4908 * sysdeps/arm/setfpucw.c: Cleanup.
4909
f63c86fe
WN
49102014-05-09 Will Newton <will.newton@linaro.org>
4911
4912 * sysdeps/arm/armv7/strcmp.S: New file.
4913 * NEWS: Mention addition of ARMv7 optimized strcmp.
4914
7a1a51b5
RM
49152014-05-08 Roland McGrath <roland@hack.frob.com>
4916
95afbbe5
RM
4917 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4918 look for %.ac rather than %.in.
4919
4920 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4921 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4922 * sysdeps/mach/hurd/configure: Regenerated.
4923 * sysdeps/unix/sysv/linux/configure: Regenerated.
4924
7a1a51b5
RM
4925 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4926
5057ad3b
SE
49272014-05-07 Steve Ellcey <sellcey@mips.com>
4928
4929 [BZ# 16922]
4930 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4931 (LONG_SUB): Ditto.
4932 (PTR_SUB): Ditto.
4933
8dc97517
AS
49342014-05-07 Andreas Schwab <schwab@suse.de>
4935
4936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4937 when skipping over non-matching result from nscd.
4938
ce0c5b8f
OB
49392014-05-07 Ondřej Bílka <neleai@seznam.cz>
4940
4941 [BZ #16876]
4942 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4943
a1189263
OB
4944 [BZ #16877]
4945 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4946 nscd security class.
ce0c5b8f 4947
0f58d252
RM
49482014-05-06 Roland McGrath <roland@hack.frob.com>
4949
4950 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4951 * sysdeps/arm/unwind.h: ... here.
4952
83df9ad0
AJ
49532014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4954
ce0c5b8f
OB
4955 [BZ# 16916]
4956 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4957 Define.
83df9ad0 4958
f360f94a
VR
49592014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4960
4961 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4962 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4963 multiarch strncpy for PPC64.
4964 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4965 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4967 multiarch optimizations.
4968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4969 (__libc_ifunc_impl_list): Likewise.
4970 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4971 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4972 multiarch stpncpy for PPC64.
4973 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4974 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4975
978a41c3
AS
49762014-05-06 Andreas Schwab <schwab@suse.de>
4977
4978 [BZ #16912]
4979 * gmon/mcount.c (_MCOUNT_DECL): Use
4980 atomic_compare_and_exchange_bool_acq instead of
4981 catomic_compare_and_exchange_bool_acq.
4982
eb1ed03d
RM
49832014-05-05 Roland McGrath <roland@hack.frob.com>
4984
fe658845
RM
4985 * elf/Makefile (others, install-bin): Remove pldd.
4986 (pldd-modules): Variable removed.
4987 ($(objpfx)pldd): Target removed.
4988 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4989 (others, install-bin): Append pldd here.
4990 ($(objpfx)pldd): New target.
4991
eb1ed03d
RM
4992 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4993 to 0, so the first #if test emitted later doesn't see it undefined.
4994 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4995 * sysdeps/gnu/errlist.c: Regenerated.
4996
19c4bec0
AZ
49972014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4998
4999 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5000 [libc_hidden_builtin_def]: Define to empty value.
5001 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5002 [libc_hidden_builtin_def]: Likewise.
5003 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5004 [libc_hidden_builtin_def]: Likewise.
5005 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5006 [libc_hidden_builtin_def]: Likewise.
5007 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5008 __redirect_memcpy and define ifunc as default hidden symbol.
5009 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5010 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5011
7776e669
AC
50122014-05-04 Adam Conrad <adconrad@0c3.net>
5013
5014 * locale/iso-4217.def: Reintroduce XDR currency.
5015
d69aeb12
AM
50162014-05-04 Allan McRae <allan@archlinux.org>
5017
5018 * po/eo.po: Update Esperanto translation from translation project.
5019
8f1df5cf
CD
50202014-05-02 Carlos O'Donell <carlos@redhat.com>
5021
5022 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5023 and FEATURE_INDEX_MAX to 1.
5024 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5025
13e402e7
SE
50262014-05-01 Steve Ellcey <sellcey@mips.com>
5027
5028 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5029 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5030 * iconvdata/big5.c (ONE_DIRECTION): Define.
5031 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5032 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5033 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5034 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5035 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5036 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5037 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5038 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5039 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5040 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5041 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5042 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5043 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5044 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5045 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5046 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5047 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5048 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5049 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5050 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5051 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5052 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5053 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5054 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5055 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5056 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5057 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5058 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5059 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5060 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5061 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5062 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5063 * iconvdata/johab.c (ONE_DIRECTION): Define.
5064 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5065 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5066 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5067 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5068 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5069 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5070 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5071 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5072 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5073 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5074
c727f032
RM
50752014-05-01 Roland McGrath <roland@hack.frob.com>
5076
8f2f08d0
RM
5077 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5078 (_IO_JUMPS_OFFSET): Define to 0.
5079
c727f032
RM
5080 * nptl/sysdeps/pthread/bits/libc-lock.h
5081 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5082 (__libc_lock_define_initialized_recursive): Always define using
5083 initializer. Modern compilers treat uninitialized (implicit zero) and
5084 explicit zero initializers the same (i.e. put the datum in bss).
5085
a849e800
AS
50862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5087
5088 * nscd/nscd-client.h: Include <string.h>.
5089
5331255b
DM
50902014-05-01 David S. Miller <davem@davemloft.net>
5091
5092 [BZ #16885]
5093 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5094 multiple zero bytes exist at the end of a string.
5095 Reported by Aurelien Jarno <aurelien@aurel32.net>
5096
5097 * string/test-strcmp.c (check): Add explicit test for situations where
5098 there are multiple zero bytes after the first.
5099
4fdfe821
AS
51002014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5101
5102 [BZ #16890]
5103 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5104 when compiling wprintf.
5105 * stdio-common/tstdiomisc.c (t3): New function.
5106 (main): Call it.
5107
0cdddc25
SE
51082014-05-01 Steve Ellcey <sellcey@mips.com>
5109
5110 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5111 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5112 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5113 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5114
6426d77e
SE
51152014-05-01 Steve Ellcey <sellcey@mips.com>
5116
5117 * stdlib/longlong.h: Updated from GCC.
5118
6d96f5e4
WN
51192014-05-01 Will Newton <will.newton@linaro.org>
5120 Bernard Ogden <bernie.ogden@linaro.org>
5121
7470db0c
WN
5122 * NEWS: Update fixed bug list.
5123
6d96f5e4
WN
5124 [BZ #15119]
5125 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5126
211d653c
DM
51272014-04-30 David S. Miller <davem@davemloft.net>
5128
4fa262fa
DM
5129 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5130 (libc_feholdexcept_setround_sparc_ctx): New function.
5131 (libc_fesetenv_sparc_ctx): Likewise.
5132 (libc_feupdateenv_sparc_ctx): Likewise.
5133 (libc_feholdsetround_sparc_ctx): Likewise.
5134 (libc_feholdexcept_setround_ctx): Define.
5135 (libc_feholdexcept_setroundf_ctx): Likewise.
5136 (libc_feholdexcept_setroundl_ctx): Likewise.
5137 (libc_fesetenv_ctx): Likewise.
5138 (libc_fesetenvf_ctx): Likewise.
5139 (libc_fesetenvl_ctx): Likewise.
5140 (libc_feupdateenv_ctx): Likewise.
5141 (libc_feupdateenvf_ctx): Likewise.
5142 (libc_feupdateenvl_ctx): Likewise.
5143 (libc_feresetround_ctx): Likewise.
5144 (libc_feresetroundf_ctx): Likewise.
5145 (libc_feresetroundl_ctx): Likewise.
5146 (libc_feholdsetround_ctx): Likewise.
5147 (libc_feholdsetroundf_ctx): Likewise.
5148 (libc_feholdsetroundl_ctx): Likewise.
5149
1d3d93ef
DM
5150 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5151 with __USE_GNU instead of XOPEN cpp guards.
5152
8aa583c3
DM
5153 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5154 0.
5155
211d653c
DM
5156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5157 with XOPEN cpp guards.
5158
60c8f1f6
JB
51592014-04-30 Julian Brown <julian@codesourcery.com>
5160
5161 [BZ #16888]
5162 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5163 handling.
5164
9a461d46
JM
51652014-04-30 Joseph Myers <joseph@codesourcery.com>
5166
d0f5b3f8
JM
5167 [BZ #9894]
5168 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5169 Change to 2.6.32.
5170 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5171 * sysdeps/unix/sysv/linux/configure: Regenerated.
5172 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5173 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5174 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5175 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5176 * README: Update reference to required Linux kernel version.
5177 * manual/install.texi (Linux): Update reference to required Linux
5178 kernel headers version.
5179 * INSTALL: Regenerated.
5180
9a461d46
JM
5181 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5182 header inclusion.
5183 [POSIX] (limits.h): Likewise.
5184 [POSIX] (math.h): Likewise.
5185 [POSIX] (sys/wait.h): Likewise.
5186 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5187 function.
5188 [POSIX] (stddef.h): Do not allow header inclusion.
5189
1775babf
AZ
51902014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5191
57f41c40 5192 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5193
8f630cca
YY
51942014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5195
5196 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5197 Return immediately after lll_futex_wake.
5198
1cdeb237
SP
51992014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5200
bc8f194c
SP
5201 [BZ #16791]
5202 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5203 structure.
5204 (datahead_init_pos): Call datahead_init_common early.
5205 (datahead_init_neg): Likewise.
5206
1cdeb237
SP
5207 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5208 datahead_init_neg): New functions.
5209 * nscd/aicache.c (addhstaiX): Use them.
5210 * nscd/grpcache.c (cache_addgr): Likewise.
5211 * nscd/hstcache.c (cache_addhst): Likewise.
5212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5213 * nscd/netgroupcache.c (do_notfound): Likewise.
5214 (addgetnetgrentX): Likewise.
5215 (addinnetgrX): Likewise.
5216 * nscd/pwdcache.c (cache_addpw): Likewise.
5217 * nscd/servicescache.c (cache_addserv): Likewise.
5218
16b293a7
SP
52192014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5220 Atsushi Onoe <atsushi@onoe.org>
5221
5222 [BZ #14308]
5223 [BZ #12994]
5224 [BZ #13651]
5225 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5226 one response is valid.
5227 * resolv/res_send.c (send_dg): Check for validity of other
5228 response if the current response is a referral.
5229
a28a9b94
SE
52302014-04-29 Steve Ellcey <sellcey@mips.com>
5231
5232 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5233
2ca180e9
SL
52342014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5235
5236 [BZ #16823]
5237 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5238 Always divide by positive zero when computing -Inf result.
5239 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5240 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5241
18f2945a
AZ
52422014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243
5244 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5245 FPSCR if value do not change.
5246 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5247 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5248 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5249 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5250 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5251 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5252 function.
5253
5abebba4
CD
52542014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5255
5256 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5257 * sysdeps/unix/sysv/linux/hppa: Move directory from
5258 ports/systeps/unix/sysv/linux/hppa.
5259 * README: Update listing for hppa-*-linux-gnu.
5260
f7ed60c2
OB
52612014-04-28 Ondřej Bílka <neleai@seznam.cz>
5262
fff763a5
OB
5263 [BZ #16754]
5264 * manual/stdio.texi (Hook functions): Fix types of stream hook
5265 functions.
f7ed60c2
OB
5266 [BZ #16854]
5267 * socket/sys/socket.h: Fix typo in comment.
5268
df639d73
WD
52692014-04-28 Wilco <wdijkstr@arm.com>
5270
f7ed60c2 5271 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5272 * sysdeps/arm/math_private.h: New file.
5273 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5274
48332d82
L
52752014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5276
5277 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5278 with __int128_t.
5279 (La_x86_64_retval): Likewise.
5280
e5e0d9a4
IB
52812014-04-24 Ian Bolton <ian.bolton@arm.com>
5282
5283 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5284 fpsr if value didn't change.
5285 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5286 to fpcr if value didn't change.
5287 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5288 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5289 fpsr or fpcr if value didn't change.
5290 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5291 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5292 fpcr if value didn't change.
5293 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5294 to fpsr if value didn't change.
5295
bacc75f7
SP
52962014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5297
5298 * nptl/tst-sem3.c: Use test-skeleton.c
5299 (main): Rename to do_test. Use return instead of
5300 exit.
5301 * nptl/tst-sem4.c: Use test-skeleton.c
5302 (main): Rename to do_test.
5303
a059d359
DM
53042014-04-22 David S. Miller <davem@davemloft.net>
5305
5306 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5307 (struct sigaction): New struct member __glibc_reserved0, change
5308 type of sa_flags to int.
5309
ea6c92f3
YZ
53102014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5311
5312 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5313 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5314
766c4a36
SP
53152014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5316
5317 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5318 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5319
140cc7ab
VK
53202014-04-22 Will Newton <will.newton@linaro.org>
5321 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5322
5323 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5324 (__longjmp): Add longjmp and longjmp_target SystemTap
5325 probes.
5326 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5327 (__sigsetjmp): Add setjmp SystemTap probe.
5328
c54e5cf7
CD
53292014-04-17 Carlos O'Donell <carlos@redhat.com>
5330
5331 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5332 match manual order.
5333
75ffb047
AZ
53342014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5335
5336 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5337
2cd925f7
AZ
5338 * sysdeps/powerpc/fpu/fenv_private.h
5339 (libc_feholdexcept_setroundl_ctx): Define to
5340 libc_feholdexcept_setround_ppc_ctx.
5341 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5342 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5343 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5344 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5345
39e6cd8d
IB
53462014-04-17 Ian Bolton <ian.bolton@arm.com>
5347
5348 * sysdeps/aarch64/math-tests.h: New file.
5349
f9281df9
SY
53502014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5351
5352 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5353 New.
5354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5355 Check and set bit_AVX2_Usable.
5356 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5357 macro.
5358 (bit_AVX2): Likewise.
5359 (index_AVX2_Usable): Likewise.
5360 (CPUID_AVX2): Likewise.
5361 (HAS_AVX2): Likewise.
5362
37d35007
WN
53632014-04-17 Will Newton <will.newton@linaro.org>
5364
7c677662
WN
5365 * manual/setjmp.texi (System V contexts): Add note that
5366 calling setcontext on a context created by a call to a
5367 signal handler is undefined. Update text to note that
5368 setcontext from a signal handler is possible but not
5369 recommended.
5370
37d35007 5371 [BZ #16629]
e04a4e9d
WN
5372 * stdlib/tst-setcontext.c: Include signal.h.
5373 (main): Check that the signal stack before and
5374 after swapcontext is the same.
5375
37d35007
WN
5376 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5377 Re-implement to restore registers in user code and avoid
5378 rt_sigreturn system call.
5379
423a7160
W
53802014-04-17 Wilco <wdijkstr@arm.com>
5381
5382 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5383 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5384 * math/test-fenv.c: Skip exception trap tests on targets which only
5385 support non-stop mode.
5386
bc93ab29
IB
53872014-04-17 Ian Bolton <ian.bolton@arm.com>
5388 Wilco Dijkstra <wilco.dijkstra@arm.com>
5389
5390 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5391 (libc_feholdsetround_aarch64_ctx)
5392 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5393 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5394 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5395 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5396 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5397 (libc_feresetround_noexl_ctx): Define.
5398
95fc5fa3
RH
53992014-04-16 Richard Henderson <rth@redhat.com>
5400
ddb04724
RH
5401 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5402
d77c0899
RH
5403 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5404 unwind tables.
5405
a3df56fc
RH
5406 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5407 const from the non-libc, non-ldso copy.
5408
95fc5fa3
RH
5409 * sysdeps/alpha/libm-test-ulps: Regenerate.
5410
7e0b6763
IB
54112014-04-16 Ian Bolton <ian.bolton@arm.com>
5412 Wilco Dijkstra <wilco.dijkstra@arm.com>
5413
5414 * sysdeps/aarch64/fpu/math_private.h: New file.
5415
a9ea2e0c
MS
54162014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5417
5418 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5419
ea8ba7cd
IZ
54202014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5421
5422 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5423 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5425 Intel MPX bound registers before _dl_profile_fixup.
5426 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5427 registers after _dl_profile_fixup. Save and restore bound
5428 registers bnd0/bnd1 when calling _dl_call_pltexit.
5429 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5430 (LR_BND_OFFSET): Likewise.
5431 (LRV_BND0_OFFSET): Likewise.
5432 (LRV_BND1_OFFSET): Likewise.
5433
9f2a4fbc
ST
54342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5435
5436 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5437 to...
5438 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5439 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5440 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5441 fields.
9f2a4fbc 5442
fd15a59b
ST
54432014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5444
5445 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5446
f19dfa0a
SL
54472014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5448
5449 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5450
4fa8bc3b
SL
54512014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5452
5453 [BZ #14770]
5454 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5455 * sysdeps/s390/configure: Regenerate.
5456
8ea587db
SL
5457 [BZ #16824]
5458 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5459 Set round-to-nearest internally to reduce error accumulation.
5460
aa5f0ff1
AM
54612014-04-16 Alan Modra <amodra@gmail.com>
5462
5463 [BZ #16740]
5464 [BZ #16619]
5465 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5466 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5467 * NEWS: Update fixed bug list.
aa5f0ff1 5468
bb9c256f
SP
54692014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5470
5471 * benchtests/Makefile: Depend on libraries in build directory.
5472 (bench-math): Separate out math tests.
5473 (bench-pthread): Separate out pthread tests.
5474 (bench): Include math and pthread tests.
5475
f737dfd0
CD
54762014-04-14 Carlos O'Donell <carlos@redhat.com>
5477
5478 [BZ #16831]
5479 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5480 _dl_debug_initialize.
5481
0699f766
CD
5482 * configure.ac: Remove SELinux header check.
5483 * configure: Regenerate.
5484 * nscd/selinux.c (perms): Array of const char* to permission names.
5485 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5486 default policy. Call string_to_security_class and string_to_av_perm to
5487 translate strings. Enforce default policy and call avs_has_perm with
5488 results of translated strings.
5489
809bd45f
DM
54902014-04-13 David S. Miller <davem@davemloft.net>
5491
5492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5493
89e691f2
AM
54942014-04-12 Allan McRae <allan@archlinux.org>
5495
5496 [BZ #16838]
5497 * manual/string.texi (Collation Functions): Fix qsort argument
5498 order in example.
5499 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5500
9c9daaeb
CM
55012014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5502
5503 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5504 Make the test a no-op if there are no exceptions defined.
5505
95561fb9
PP
55062014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5507
fe8d072c 5508 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5509 enable-hardcoded-path-in-tests
5510
970c602a
WN
55112014-04-11 Will Newton <will.newton@linaro.org>
5512
5513 * benchtests/Makefile (extra-objs): Add json-lib.o.
5514 (bench-func): Tidy up JSON output.
5515 * benchtests/bench-skeleton.c: Include json-lib.h.
5516 (main): Use JSON library functions to do output of
5517 benchmark results.
5518 * benchtests/bench-timing-type.c (main): Output the
5519 timing type simply, leaving formatting to the user.
5520 * benchtests/json-lib.c: New file.
5521 * benchtests/json-lib.h: Likewise.
5522
36875b06
TR
55232014-04-11 Torvald Riegel <triegel@redhat.com>
5524
5525 [BZ #15215]
5526 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5527 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5528 memory barriers. Add comments.
5529 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5530 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5531 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5532 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5533 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5534 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5535
579db35a
SL
55362014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5537
5538 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5539 * sysdeps/s390/s390-64/configure.ac: ... this ...
5540 * sysdeps/s390/configure.ac: ... to here.
5541 * sysdeps/s390/s390-32/configure: Delete file.
5542 * sysdeps/s390/s390-64/configure: Delete file.
5543 * sysdeps/s390/configure: Regenerate.
5544
c12e9f37
JAPH
55452014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5546
5547 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5548
439bda32
WN
55492014-04-11 Will Newton <will.newton@linaro.org>
5550
5551 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5552 to zero if it is not defined elsewhere. (mtrim): Test
5553 the value of MALLOC_DEBUG with #if rather than #ifdef.
5554
6a5d6ea1
TR
55552014-04-10 Torvald Riegel <triegel@redhat.com>
5556
5557 * benchtests/pthread_once-inputs: New file.
5558 * benchtests/pthread_once-source.c: New file.
5559 * benchtests/README: Update documentation.
5560
a4c75cfd
IZ
55612014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5562 H.J. Lu <hongjiu.lu@intel.com>
5563
5564 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5565 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5566 * sysdeps/x86_64/configure: Regenerated.
5567 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5568 macro.
5569 (REGISTER_SAVE_RAX): Likewise.
5570 (REGISTER_SAVE_RCX): Likewise.
5571 (REGISTER_SAVE_RDX): Likewise.
5572 (REGISTER_SAVE_RSI): Likewise.
5573 (REGISTER_SAVE_RDI): Likewise.
5574 (REGISTER_SAVE_R8): Likewise.
5575 (REGISTER_SAVE_R9): Likewise.
5576 (REGISTER_SAVE_BND0): Likewise.
5577 (REGISTER_SAVE_BND1): Likewise.
5578 (REGISTER_SAVE_BND2): Likewise.
5579 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5580 bound registers when calling _dl_fixup.
5581
27822ce6
AZ
55822014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583
5584 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5585 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5586 of its definition.
27822ce6
AZ
5587 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5588 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5589 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5590 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5591 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5592 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5593 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5594
a88ddc90
PTB
55952014-04-09 Peter Brett <peter@peter-b.co.uk>
5596
5597 [BZ #15514]
5598 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5599 pathconf(_PC_NAME_MAX).
5600
01f8eac2
AZ
56012014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5602
5603 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5604 Remove macro usage.
5605 (__PTHREAD_SPINS): Move definition to ...
5606 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5607 (__PTHREAD_SPINS): ... here.
5608 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5609 (__PTHREAD_SPIN): Likewise.
5610 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5611 (__PTHREAD_SPIN): Likewise.
5612 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5613 (__PTHREAD_SPIN): Likewise.
5614 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5615 (__PTHREAD_SPIN): Likewise.
5616 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5617 (__PTHREAD_SPIN): Likewise.
5618 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5619 (__PTHREAD_SPIN): Likewise.
5620 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5621 (__PTHREAD_SPIN): Likewise.
5622 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5623 (__PTHREAD_SPIN): Likewise.
5624 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5625 (__PTHREAD_SPIN): Likewise.
5626 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5627 (__PTHREAD_SPIN): Likewise.
5628 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5629 (__PTHREAD_SPIN): Likewise.
5630 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5631 (__PTHREAD_SPIN): Likewise.
5632
de21c33c
AZ
5633 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5634 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5635 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5636 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5637 imply folder.
5638 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5639 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5640 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5641 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5642 correct imply path.
5643 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5644 strlen symbol for non multi-arch builds.
5645 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5646 missing hidden_def and weak_alias.
5647
862c472e
CD
56482014-04-08 Carlos O'Donell <carlos@redhat.com>
5649
5650 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5651
8667f90e
WN
56522014-04-07 Will Newton <will.newton@linaro.org>
5653
5654 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5655 and contents. [!_LIBC] Remove #ifndef and contents.
5656 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5657 * string/memccpy.c (__memccpy): Use ANSI prototype.
5658 * string/memfrob.c (memfrob): Likewise.
5659 * string/strcoll.c (STRCOLL): Likewise.
5660 * string/strlen.c (strlen): Likewise.
5661 * string/strtok.c (STRTOK): Likewise.
5662 * string/strcat.c: Remove unused #include of memcopy.h.
5663 (strcat): Use ANSI prototype.
5664 * string/strchr.c: Remove unused #include of memcopy.h.
5665 (strchr): Use ANSI prototype.
5666 * string/strcmp.c: Remove unused #include of memcopy.h.
5667 (strcmp): Use ANSI prototype.
5668 * string/strcpy.c: Remove unused #include of memcopy.h.
5669 (strcpy): Use ANSI prototype.
5670
7ffa9423
AZ
56712014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672
5673 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5674 * config.make.in (config-extra-cppflags): Set it from
5675 libc_extra_cppflags.
5676 * configure.ac (libc_extra_cflags): Make it accumulate over
5677 configure fragments.
5678 (libc_extra_cppflags): New flag.
5679 * configure. Regenerate.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5681 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5682 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5684
8bd70862
AZ
5685 [BZ #16815]
5686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5687 result for FE_DOWNWARD rounding mode.
5688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5689 Likewise.
5690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5691
d42f3448
CM
56922014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5693
5694 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5695 in function argument name.
5696
1c21d115
DS
56972014-04-03 David Svoboda <svoboda@cert.org>
5698
5699 [BZ #5666]
5700 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5701 explicitly.
5702
fcccd512
RM
57032014-04-03 Roland McGrath <roland@hack.frob.com>
5704
5705 * elf/dl-unmap-segments.h: New file.
5706 * sysdeps/generic/ldsodefs.h
5707 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5708 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5709 * elf/dl-fptr.c: Likewise.
5710 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5711 * sysdeps/aarch64/tlsdesc.c: Likewise.
5712 * sysdeps/arm/tlsdesc.c: Likewise.
5713 * sysdeps/i386/tlsdesc.c: Likewise.
5714 * sysdeps/tile/dl-runtime.c: Likewise.
5715 * sysdeps/x86_64/tlsdesc.c: Likewise.
5716 * elf/dl-load.h: New file.
5717 * elf/dl-load.c: Include it.
5718 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5719 Macros moved to dl-load.h.
5720 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5721 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5722 Use _dl_unmap_segments in place of __munmap.
5723 Break out segment-mapping loop into ...
5724 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5725
f6488e2b
WN
57262014-04-03 Will Newton <will.newton@linaro.org>
5727
5728 * elf/dl-lookup.c (do_lookup_x): Remove comment
5729 referring to nested function and move variable
5730 declarations down to before first use.
5731
6f05bafe
JM
57322014-04-02 Joseph Myers <joseph@codesourcery.com>
5733
a84e78c8
JM
5734 [BZ #16799]
5735 [BZ #16800]
5736 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5737 with 0 numerator.
5738 * math/s_catanf.c (__catanf): Likewise.
5739 * math/s_catanh.c (__catanh): Likewise.
5740 * math/s_catanhf.c (__catanhf): Likewise.
5741 * math/s_catanhl.c (__catanhl): Likewise.
5742 * math/s_catanl.c (__catanl): Likewise.
5743 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5744 by positive zero when computing -Inf result.
5745 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5746 (catanh_test): Likewise.
5747 * sysdeps/i386/fpu/libm-test-ulps: Update.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749
6f05bafe
JM
5750 [BZ #16789]
5751 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5752 instead of using underflowing value in computing result.
5753 * math/s_clog10.c (__clog10): Likewise.
5754 * math/s_clog10f.c (__clog10f): Likewise.
5755 * math/s_clog10l.c (__clog10l): Likewise.
5756 * math/s_clogf.c (__clogf): Likewise.
5757 * math/s_clogl.c (__clogl): Likewise.
5758 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5759 (clog10_test): Likewise.
5760 * sysdeps/i386/fpu/libm-test-ulps: Update.
5761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5762
b0abbc21
AM
57632014-04-02 Alan Modra <amodra@gmail.com>
5764
5765 [BZ #16739]
5766 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5767 output when value is near a power of two. Use int64_t for lx and
5768 remove casts. Use decimal rather than hex exponent constants.
5769 Don't use long double multiplication when double will suffice.
5770 * math/libm-test.inc (nextafter_test_data): Add tests.
5771 * NEWS: Add 16739 and 16786 to bug list.
5772
af6b1797
AM
5773 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5774
483818d7
AM
5775 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5776
f6c55796
WN
57772014-04-01 Will Newton <will.newton@linaro.org>
5778
5779 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5780 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5781
13f7fe35
FW
57822014-04-01 Florian Weimer <fweimer@redhat.com>
5783
5784 [BZ #13347]
5785 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5786 * nptl/tst-setuid2.c: New file.
5787 * nptl/Makefile (xtests): Add tst-setuid2.
5788
c859b32e
AM
57892014-04-01 Alan Modra <amodra@gmail.com>
5790
5791 [BZ #16786]
5792 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5793
54fa2475
JM
57942014-03-31 Joseph Myers <joseph@codesourcery.com>
5795
8795b4a4
JM
5796 [BZ #6803]
5797 [BZ #6804]
5798 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5799 set errno as appropriate.
5800 * math/w_scalbf.c (__scalbf): Likewise.
5801 * math/w_scalbl.c (__scalbl): Likewise.
5802 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5803 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5804 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5805 Add more NaN tests.
5806
54fa2475
JM
5807 [BZ #16349]
5808 * math/w_atan2.c: Include <errno.h>.
5809 (__atan2): Set errno for result underflowing to zero.
5810 * math/w_atan2f.c: Include <errno.h>.
5811 (__atan2f): Set errno for result underflowing to zero.
5812 * math/w_atan2l.c: Include <errno.h>.
5813 (__atan2l): Set errno for result underflowing to zero.
5814 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5815 tests.
5816 * math/auto-libm-test-out: Regenerated.
5817
757d9dd5
AZ
58182014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819
5820 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5821 Encode instruction correctly in little endian.
5822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5823 Likewise.
5824 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5825 Likewise.
5826 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5827 Likewise.
5828 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5829 Likewise.
5830
d7a68734
JM
58312014-03-31 Joseph Myers <joseph@codesourcery.com>
5832
47c5adeb
JM
5833 [BZ #9894]
5834 * sysdeps/unix/sysv/linux/kernel-features.h
5835 [__sparc__ && !__arch64__ && !__sparc_v9__]
5836 (__ASSUME_SET_ROBUST_LIST): Do not define.
5837 [__sparc__ && !__arch64__ && !__sparc_v9__]
5838 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5839 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5840 Likewise.
5841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5842 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5843 (__ASSUME_REQUEUE_PI): Likewise.
5844 (__ASSUME_SET_ROBUST_LIST): Likewise.
5845 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5846 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5847 Undefine.
5848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5849 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5850 Likewise.
5851 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5852 Likewise.
5853 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5854 Likewise.
5855 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5856 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5857 Undefine.
5858 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5859 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5860 Likewise.
5861
d7a68734
JM
5862 [BZ #16648]
5863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5864 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5865 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5866
c760f5c2
WN
58672014-03-31 Will Newton <will.newton@linaro.org>
5868
5869 * benchtests/Makefile (bench): Add ffs and ffsll to list
5870 of tests.
5871 * benchtests/ffs-inputs: New file.
5872 * benchtests/ffsll-inputs: Likewise.
5873
ea6029b1
JM
58742014-03-29 Joseph Myers <joseph@codesourcery.com>
5875
5876 [BZ #16770]
5877 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5878 too large before casting to int.
5879 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5880 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5881 * math/libm-test.inc (scalb_test_data): Add more tests.
5882
cf806aff
SP
58832014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5884
56737508
SP
5885 * benchtests/Makefile (DETAILED_OPT): New make option.
5886 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5887 set.
5888 * benchtests/bench-skeleton.c: Include stdbool.h.
5889 (main): Store and print timings per input.
5890 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5891 member to each argument value.
5892 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5893 (_print_arg_data): Initialize per-input timing to 0.
5894
cb5e4aad
SP
5895 * benchtests/Makefile (timing-type): New binary.
5896 (bench-clean): Also remove bench-timing-type.
5897 (bench): New target for timing-type.
5898 (bench-func): Print output in JSON format.
5899 * benchtests/bench-skeleton.c (main): Print output in JSON
5900 format.
5901 * benchtests/bench-timing-type.c: New file.
5902 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5903 (TIMING_PRINT_STATS): Remove.
5904 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5905 name separately.
5906
cf806aff
SP
5907 * benchtests/bench-modf.c: Remove.
5908 * benchtests/modf-inputs: New inputs file.
5909
289e0779
JM
59102014-03-28 Joseph Myers <joseph@codesourcery.com>
5911
5912 [BZ #16362]
5913 * math/s_clog10.c (M_PI_LOG10E): New macro.
5914 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5915 imaginary parts are 0.
5916 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5917 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5918 imaginary parts are 0.
5919 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5920 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5921 imaginary parts are 0.
5922 * math/libm-test.inc (clog10_test_data): Update expected results
5923 for when real and imaginary parts are 0.
5924
277ae3f1
PP
59252014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5926
5927 * elf/dl-load.c: Finish conversion of __builtin_expect into
5928 __glibc_{un}likely.
5929
03a7091f
JM
59302014-03-27 Joseph Myers <joseph@codesourcery.com>
5931
5932 [BZ #16348]
5933 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5934 1+x for argument with exponent below -67.
5935 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5936 Likewise.
5937 * math/auto-libm-test-in: Add more tests of exp.
5938 * math/auto-libm-test-out: Regenerated.
5939
ea7d8b95
SP
59402014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
dd3022d7
SP
5942 [BZ #16759]
5943 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5944 (nscd_getnetgrent): Use it.
5945
ea7d8b95
SP
5946 [BZ #16760]
5947 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5948 of stpcpy.
5949
df5b85da
AK
59502014-03-27 Andi Kleen <ak@linux.intel.com>
5951
57f41c40
AS
5952 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5953 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5954 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5955 (lll_robust_unlock): Remove out of line section. Use cfi
5956 intrinsics.
df5b85da 5957 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5958 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5959 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5960 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5961 (lll_robust_unlock): Remove out of line section. Use cfi
5962 intrinsics.
df5b85da
AK
5963 (LLL_STUB_UNWIND_INFO*): Remove.
5964
fbd6b5a4
SP
59652014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5966
5967 [BZ #16758]
5968 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5969 blank values.
5970
1b26b855
PP
59712014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5972
5973 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5974
9be36fb8
JM
59752014-03-26 Joseph Myers <joseph@codesourcery.com>
5976
5977 [BZ #16198]
5978 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5979 fnstenv.
5980 * math/test-fenv-preserve.c: New file.
5981 * math/Makefile (tests): Add test-fenv-preserve.
5982
60a2f3c1
WN
59832014-03-26 Will Newton <will.newton@linaro.org>
5984
5985 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5986
a5e5f1e2
RM
59872014-03-25 Roland McGrath <roland@hack.frob.com>
5988
5989 * scripts/versionlist.awk: Partition the version sets and emit all
5990 GLIBC_* (sorted) before all others (sorted).
5991
00f4012a
JM
59922014-03-25 Joseph Myers <joseph@codesourcery.com>
5993
5994 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5995 GLIBC_2.2.5 version.
5996
7bc5a741
AZ
59972014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5998
5999 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6000 calls.
6001
7578473b
AZ
6002 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6003 previous change.
6004
f3f1dab3
AZ
6005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6006
6da36183
AS
60072014-03-25 Andreas Schwab <schwab@suse.de>
6008
6009 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6010 label to be used after in6ailist is initialized.
6011
f3f1dab3 60122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6013
7578473b 6014 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6015 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6016
046651c1
JM
60172014-03-25 Joseph Myers <joseph@codesourcery.com>
6018
6019 [BZ #16357]
6020 [BZ #16599]
6021 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6022 min_plus_half.
6023 (fp_formats): Update initializers.
6024 (init_fp_formats): Initialize new field.
6025 (output_for_one_input_case): Allow underflow for results up to
6026 min_plus_half.
6027 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6028 * math/auto-libm-test-in: Don't mark some underflows from asin and
6029 atanh as spurious.
6030 * math/auto-libm-test-out: Regenerated.
6031 * sysdeps/i386/fpu/libm-test-ulps: Update.
6032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6033
003e49ed
AS
60342014-03-25 Andreas Schwab <schwab@suse.de>
6035
6036 * libio/Makefile (tst-ftell-partial-wide-ENV)
6037 (tst-ftell-active-handler-ENV): Define.
6038
de031874
SL
60392014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6040
6041 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6042
55a81e3b
PP
60432014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6044
6045 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6046
f3426898
JM
60472014-03-24 Joseph Myers <joseph@codesourcery.com>
6048
6049 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6050 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6051 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6052
a42faf59
PP
60532014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6054
6055 [BZ #16634]
a42faf59 6056 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6057 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6058 (open_path): Change from boolean 'secure' to complete flag 'mode'
6059 (_dl_map_object): Adjust.
a42faf59
PP
6060 * elf/Makefile (tests): Add tst-dlopen-aout.
6061 * elf/tst-dlopen-aout.c: New test.
6062
50936127
SL
60632014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6064
6065 [BZ #16714]
6066 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6067 (struct stat): Rename member pad0 to __glibc_reserved0.
6068
26011b5c
SL
6069 [BZ #16712]
6070 * sysdeps/s390/s390-32/bits/wordsize.h
6071 (__WORDSIZE32_SIZE_ULONG): New define.
6072 * sysdeps/s390/s390-64/bits/wordsize.h
6073 (__WORDSIZE32_SIZE_ULONG): Likewise.
6074 * sysdeps/generic/stdint.h (SIZE_MAX):
6075 Define as UL if __WORDSIZE32_SIZE_ULONG.
6076
a2d86bf1
SL
6077 [BZ #16713]
6078 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6079 (__glibc_reserved0): New variable.
6080 (sa_flags): Change type to int.
6081
78b6eebc
SL
6082 * posix/Makefile (before-compile): Use += before-compile instead
6083 of a :=.
6084
f1399b5a
SL
6085 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6086 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6087
a071766e
AS
60882014-03-20 Andreas Schwab <schwab@suse.de>
6089
6090 [BZ #16743]
6091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6092 non-matching result from nscd.
6093
27c673b8
SP
60942014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6095
6096 * scripts/bench.py: Moved to ...
6097 * benchtests/scripts/bench.py: ... here.
6098 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6099
44152e4b
AS
61002014-03-24 Andreas Schwab <schwab@suse.de>
6101
6102 [BZ #16002]
6103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6104 alloca_account and account alloca use for struct in6ailist.
6105
b376a11a
JM
61062014-03-24 Joseph Myers <joseph@codesourcery.com>
6107
6108 [BZ #16284]
6109 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6110 rounding mode to recompute results that overflow to infinity or
6111 underflow to zero.
6112 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6113 bug 16284.
6114 * math/auto-libm-test-out: Regenerated.
6115 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6116 (ccosh_test): Likewise.
6117 (csin_test_data): Use plus_oflow.
6118 (csin_test): Use ALL_RM_TEST.
6119 (csinh_test_data): Use plus_oflow.
6120 (csinh_test): Use ALL_RM_TEST.
6121 * sysdeps/i386/fpu/libm-test-ulps: Update.
6122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123
f7be7376
JM
61242014-03-21 Joseph Myers <joseph@codesourcery.com>
6125
1ca2d03e
JM
6126 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6127 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6128 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6129
f7be7376
JM
6130 [BZ #16731]
6131 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6132 when x - 1 is zero.
6133 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6134 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6135 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6137 argument is 1.
6138 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6139 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6140 zero.
6141 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6142 * sysdeps/i386/fpu/libm-test-ulps: Update.
6143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6144
fdf4534d
SP
61452014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6146
df26ea53
SP
6147 * scripts/bench.pl: Remove file.
6148 * scripts/bench.py: New benchmark script.
6149 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6150 * benchtests/README: Mention python dependency.
6151 * scripts/pylintrc: New file.
6152 * scripts/pylint: New file.
6153
fdf4534d
SP
6154 * bits/mathdef.h: Use #ifdef instead of #if.
6155 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6156 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6157 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6158 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6159 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6160 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6161
6f23d093
AZ
61622014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6164
6165 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6167 and strpbrk-ppc64 objects.
6168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6169 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6170 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6171 multiarch strpbrk for POWER7.
6172 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6173 multiarch strpbrk for PPC64.
6174 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6175 ifunc selector.
6176 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6177 strpbrk for POWER7.
6178
8c92dfff
JM
61792014-03-20 Joseph Myers <joseph@codesourcery.com>
6180
6181 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6182 (atan_test): Likewise.
6183 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6184 (atanh_test): Use ALL_RM_TEST.
6185 (atan2_test_data): Likewise.
6186 (cabs_test): Likewise.
6187 (cacosh_test): Likewise.
6188 (carg_test): Likewise.
6189 (casin_test): Likewise.
6190 (casinh_test): Likewise.
6191 (cbrt_test): Likewise.
6192 (csqrt_test): Likewise.
6193 (erf_test): Likewise.
6194 (erfc_test): Likewise.
6195 (pow10_test): Likewise.
6196 (exp2_test): Likewise.
6197 (hypot_test): Likewise.
6198 (j0_test): Likewise.
6199 (j1_test): Likewise.
6200 (lgamma_test): Likewise.
6201 (gamma_test): Likewise.
6202 (sincos_test): Likewise.
6203 (tanh_test): Likewise.
6204 (y0_test): Likewise.
6205 (y1_test): Likewise.
6206 * sysdeps/i386/fpu/libm-test-ulps: Update.
6207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6208
6eaf95cb
AZ
62092014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210
a387428c
SP
6211 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6213 and strcspn-ppc64 objects.
6214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6215 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6216 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6217 multiarch strcspn for POWER7.
6218 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6219 multiarch strcspn for PPC64.
6220 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6221 ifunc selector.
6222 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6223 strcspn for POWER7.
6224
ae3a5dff
JM
62252014-03-20 Joseph Myers <joseph@codesourcery.com>
6226
6227 * math/gen-libm-test.pl (generate_testfile): Expect only function
6228 name as argument to AUTO_TESTS_* and pass results for all rounding
6229 modes to parse_args.
6230 (parse_auto_input): Separate inputs of automatic tests from
6231 outputs before storing in %auto_tests.
6232 * math/libm-test.inc (acos_test_data): Update call to
6233 AUTO_TESTS_f_f.
6234 (acos_test): Use ALL_RM_TEST.
6235 (acos_tonearest_test_data): Remove.
6236 (acos_test_tonearest): Likewise.
6237 (acos_towardzero_test_data): Likewise.
6238 (acos_test_towardzero): Likewise.
6239 (acos_downward_test_data): Likewise.
6240 (acos_test_downward): Likewise.
6241 (acos_upward_test_data): Likewise.
6242 (acos_test_upward): Likewise.
6243 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6244 (asin_test_data): Likewise.
6245 (asin_test): Use ALL_RM_TEST.
6246 (asin_tonearest_test_data): Remove.
6247 (asin_test_tonearest): Likewise.
6248 (asin_towardzero_test_data): Likewise.
6249 (asin_test_towardzero): Likewise.
6250 (asin_downward_test_data): Likewise.
6251 (asin_test_downward): Likewise.
6252 (asin_upward_test_data): Likewise.
6253 (asin_test_upward): Likewise.
6254 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6255 (atan_test_data): Likewise.
6256 (atanh_test_data): Likewise.
6257 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6258 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6259 (carg_test_data): Likewise.
6260 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6261 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6262 (ccosh_test_data): Likewise.
6263 (cexp_test_data): Likewise.
6264 (clog_test_data): Likewise.
6265 (clog10_test_data): Likewise.
6266 (cos_test_data): Update call to AUTO_TESTS_f_f.
6267 (cos_test): Use ALL_RM_TEST.
6268 (cos_tonearest_test_data): Remove.
6269 (cos_test_tonearest): Likewise.
6270 (cos_towardzero_test_data): Likewise.
6271 (cos_test_towardzero): Likewise.
6272 (cos_downward_test_data): Likewise.
6273 (cos_test_downward): Likewise.
6274 (cos_upward_test_data): Likewise.
6275 (cos_test_upward): Likewise.
6276 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6277 (cosh_test): Use ALL_RM_TEST.
6278 (cosh_tonearest_test_data): Remove.
6279 (cosh_test_tonearest): Likewise.
6280 (cosh_towardzero_test_data): Likewise.
6281 (cosh_test_towardzero): Likewise.
6282 (cosh_downward_test_data): Likewise.
6283 (cosh_test_downward): Likewise.
6284 (cosh_upward_test_data): Likewise.
6285 (cosh_test_upward): Likewise.
6286 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6287 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6288 (ctan_test_data): Likewise.
6289 (ctan_test): Use ALL_RM_TEST.
6290 (ctan_tonearest_test_data): Remove.
6291 (ctan_test_tonearest): Likewise.
6292 (ctan_towardzero_test_data): Likewise.
6293 (ctan_test_towardzero): Likewise.
6294 (ctan_downward_test_data): Likewise.
6295 (ctan_test_downward): Likewise.
6296 (ctan_upward_test_data): Likewise.
6297 (ctan_test_upward): Likewise.
6298 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6299 (ctanh_test): Use ALL_RM_TEST.
6300 (ctanh_tonearest_test_data): Remove.
6301 (ctanh_test_tonearest): Likewise.
6302 (ctanh_towardzero_test_data): Likewise.
6303 (ctanh_test_towardzero): Likewise.
6304 (ctanh_downward_test_data): Likewise.
6305 (ctanh_test_downward): Likewise.
6306 (ctanh_upward_test_data): Likewise.
6307 (ctanh_test_upward): Likewise.
6308 (erf_test_data): Update call to AUTO_TESTS_f_f.
6309 (erfc_test_data): Likewise.
6310 (exp_test_data): Likewise.
6311 (exp_test): Use ALL_RM_TEST.
6312 (exp_tonearest_test_data): Remove.
6313 (exp_test_tonearest): Likewise.
6314 (exp_towardzero_test_data): Likewise.
6315 (exp_test_towardzero): Likewise.
6316 (exp_downward_test_data): Likewise.
6317 (exp_test_downward): Likewise.
6318 (exp_upward_test_data): Likewise.
6319 (exp_test_upward): Likewise.
6320 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6321 (exp10_test): Use ALL_RM_TEST.
6322 (exp10_tonearest_test_data): Remove.
6323 (exp10_test_tonearest): Likewise.
6324 (exp10_towardzero_test_data): Likewise.
6325 (exp10_test_towardzero): Likewise.
6326 (exp10_downward_test_data): Likewise.
6327 (exp10_test_downward): Likewise.
6328 (exp10_upward_test_data): Likewise.
6329 (exp10_test_upward): Likewise.
6330 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6331 (expm1_test_data): Likewise.
6332 (expm1_test): Use ALL_RM_TEST.
6333 (expm1_tonearest_test_data): Remove.
6334 (expm1_test_tonearest): Likewise.
6335 (expm1_towardzero_test_data): Likewise.
6336 (expm1_test_towardzero): Likewise.
6337 (expm1_downward_test_data): Likewise.
6338 (expm1_test_downward): Likewise.
6339 (expm1_upward_test_data): Likewise.
6340 (expm1_test_upward): Likewise.
6341 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6342 (fma_test): Use ALL_RM_TEST.
6343 (fma_towardzero_test_data): Remove.
6344 (fma_test_towardzero): Likewise.
6345 (fma_downward_test_data): Likewise.
6346 (fma_test_downward): Likewise.
6347 (fma_upward_test_data): Likewise.
6348 (fma_test_upward): Likewise.
6349 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6350 (j0_test_data): Update call to AUTO_TESTS_f_f.
6351 (j1_test_data): Likewise.
6352 (jn_test_data): Update call to AUTO_TESTS_if_f.
6353 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6354 (log_test_data): Update call to AUTO_TESTS_f_f.
6355 (log10_test_data): Likewise.
6356 (log1p_test_data): Likewise.
6357 (log2_test_data): Likewise.
6358 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6359 (pow_tonearest_test_data): Likewise.
6360 (sin_test_data): Update call to AUTO_TESTS_f_f.
6361 (sin_test): Use ALL_RM_TEST.
6362 (sin_tonearest_test_data): Remove.
6363 (sin_test_tonearest): Likewise.
6364 (sin_towardzero_test_data): Likewise.
6365 (sin_test_towardzero): Likewise.
6366 (sin_downward_test_data): Likewise.
6367 (sin_test_downward): Likewise.
6368 (sin_upward_test_data): Likewise.
6369 (sin_test_upward): Likewise.
6370 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6371 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6372 (sinh_test): Use ALL_RM_TEST.
6373 (sinh_tonearest_test_data): Remove.
6374 (sinh_test_tonearest): Likewise.
6375 (sinh_towardzero_test_data): Likewise.
6376 (sinh_test_towardzero): Likewise.
6377 (sinh_downward_test_data): Likewise.
6378 (sinh_test_downward): Likewise.
6379 (sinh_upward_test_data): Likewise.
6380 (sinh_test_upward): Likewise.
6381 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6382 (sqrt_test): Use ALL_RM_TEST.
6383 (sqrt_tonearest_test_data): Remove.
6384 (sqrt_test_tonearest): Likewise.
6385 (sqrt_towardzero_test_data): Likewise.
6386 (sqrt_test_towardzero): Likewise.
6387 (sqrt_downward_test_data): Likewise.
6388 (sqrt_test_downward): Likewise.
6389 (sqrt_upward_test_data): Likewise.
6390 (sqrt_test_upward): Likewise.
6391 (tan_test_data): Update call to AUTO_TESTS_f_f.
6392 (tan_test): Use ALL_RM_TEST.
6393 (tan_tonearest_test_data): Remove.
6394 (tan_test_tonearest): Likewise.
6395 (tan_towardzero_test_data): Likewise.
6396 (tan_test_towardzero): Likewise.
6397 (tan_downward_test_data): Likewise.
6398 (tan_test_downward): Likewise.
6399 (tan_upward_test_data): Likewise.
6400 (tan_test_upward): Likewise.
6401 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6402 (tgamma_test_data): Likewise.
6403 (y0_test_data): Likewise.
6404 (y1_test_data): Likewise.
6405 (yn_test_data): Update call to AUTO_TESTS_if_f.
6406 (main): Do not call removed functions.
6407
d71aeee8
JM
64082014-03-19 Joseph Myers <joseph@codesourcery.com>
6409
6410 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6411 (ldexp_test_data): Remove.
6412 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6413 scalbn_test_data.
6414 (scalb_test): Use ALL_RM_TEST.
6415
baaf1ded
AS
64162014-03-19 Andreas Schwab <schwab@suse.de>
6417
6418 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6419
b1115e91
JM
64202014-03-19 Joseph Myers <joseph@codesourcery.com>
6421
6422 [BZ #16649]
6423 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6424 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6425 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6427 (__ASSUME_PREADV): Undefine.
6428 (__ASSUME_PWRITEV): Likewise.
6429
0283ecca
RM
64302014-03-18 Roland McGrath <roland@hack.frob.com>
6431
7d375303
RM
6432 * bits/mman-linux.h: Add comment about non-Linux use.
6433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6434 bits/mman-linux.h resting place.
6435
0283ecca
RM
6436 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6437 * bits/mman-linux.h: ... here.
6438
aebe1003
AZ
64392014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6440
6441 * conform/conformtest.pl: Add standard definition when calling C
6442 preprocessor on data files.
6443 (checknamespace): Remove unused variable.
6444
b29b6bb8
JM
64452014-03-18 Joseph Myers <joseph@codesourcery.com>
6446
6447 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6448 minus_oflow, plus_uflow and minus_uflow in expected results.
6449 * math/libm-test.inc (scalbn_test_data): Add more tests of
6450 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6451 minus_uflow.
6452 (scalbn_test): Use ALL_RM_TEST.
6453 (scalbln_test_data): Add more tests of negative arguments. Use
6454 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6455 (scalbln_test): Use ALL_RM_TEST.
6456
c8f8fa15
RM
64572014-03-18 Roland McGrath <roland@hack.frob.com>
6458
6459 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6460
fede7a5f
WN
64612014-03-18 Will Newton <will.newton@linaro.org>
6462
6463 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6464 inaccurate comment.
6465
80cf0a58
JM
64662014-03-18 Joseph Myers <joseph@codesourcery.com>
6467
6468 * Makerules [!subdir] (check-abi): Exit with error status if a
6469 test failed.
6470
b3620862
JM
64712014-03-17 Joseph Myers <joseph@codesourcery.com>
6472
6473 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6474 for rint. Include results for all rounding modes.
6475 (nearbyint_test): Use ALL_RM_TEST.
6476 (rint_test_data): Include all tests used for nearbyint.
6477
788bba36
WN
64782014-03-17 Will Newton <will.newton@linaro.org>
6479
04ec140a
WN
6480 * nptl/sysdeps/pthread/pthread.h: Revert previous
6481 change.
6482
7579d8d5
WN
6483 * sysdeps/generic/ldsodefs.h: Revert previous
6484 change.
6485
c15cf13a
WN
6486 * libio/genops.c: Revert previous change.
6487 * libio/libioP.h: Likewise.
6488 * stdio-common/vfprintf.c: Likewise.
6489
d0ac1324
WN
6490 * sysdeps/generic/math_private.h: Revert previous
6491 change.
6492
9290130a
WN
6493 * sysdeps/generic/math_private.h: Check whether
6494 HAVE_RM_CTX is defined with #ifdef rather
6495 than #if.
6496
afb466fc
WN
6497 * argp/argp-fmtstream.h: Check whether
6498 __STRICT_ANSI__ is defined with #ifdef rather
6499 than #if.
6500 * argp/argp.h: Likewise.
6501
f7efd7c3
WN
6502 * libio/genops.c: Check whether
6503 _IO_JUMPS_OFFSET is defined with #ifdef rather
6504 than #if.
6505 * libio/libioP.h: Likewise.
6506 * stdio-common/vfprintf.c: Likewise.
6507
53f1bed3
WN
6508 * sysdeps/generic/ldsodefs.h: Check whether
6509 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6510 than #if.
6511
788bba36
WN
6512 * nptl/sysdeps/pthread/pthread.h: Check
6513 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6514 its value.
6515
fcd89ebe
SP
65162014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6517
ae42bbc5
SP
6518 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6519 setting O_APPEND.
6520 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6521 test case.
6522
ea33158c
SP
6523 [BZ #16680]
6524 * libio/fileops.c (_IO_file_open): Seek to end of file but
6525 don't cache the offset.
6526 (get_file_offset): Remove function.
6527 (do_ftell): Use cached offset when available.
6528 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6529 don't cache the offset.
6530 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6531 case.
6532 (do_one_test): Call it.
6533 (do_ftell_test): Fix up expected old offset for a+ mode.
6534 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6535 available.
6536
b1dbb426
SP
6537 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6538 up test status with function return status.
6539 (do_write_test): Likewise.
6540 (do_append_test): Likewise.
6541
fcd89ebe
SP
6542 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6543 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6544 Remove.
6545
9962a2d3
JM
65462014-03-17 Joseph Myers <joseph@codesourcery.com>
6547
6548 * math/gen-libm-test.pl (parse_args): Handle results specified for
6549 each rounding mode separately.
6550 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6551 tests and results from lrint_tonearest_test_data,
6552 lrint_towardzero_test_data, lrint_downward_test_data and
6553 lrint_upward_test_data.
6554 (lrint_test): Use ALL_RM_TEST.
6555 (lrint_tonearest_test_data): Remove.
6556 (lrint_test_tonearest): Likewise.
6557 (lrint_towardzero_test_data): Likewise.
6558 (lrint_test_towardzero): Likewise.
6559 (lrint_downward_test_data): Likewise.
6560 (lrint_test_downward): Likewise.
6561 (lrint_upward_test_data): Likewise.
6562 (lrint_test_upward): Likewise.
6563 (llrint_test_data): Merge in per-rounding-mode tests and results
6564 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6565 llrint_downward_test_data and llrint_upward_test_data.
6566 (llrint_test): Use ALL_RM_TEST.
6567 (llrint_tonearest_test_data): Remove.
6568 (llrint_test_tonearest): Likewise.
6569 (llrint_towardzero_test_data): Likewise.
6570 (llrint_test_towardzero): Likewise.
6571 (llrint_downward_test_data): Likewise.
6572 (llrint_test_downward): Likewise.
6573 (llrint_upward_test_data): Likewise.
6574 (llrint_test_upward): Likewise.
6575 (rint_test_data): Merge in per-rounding-mode tests and results
6576 from rint_tonearest_test_data, rint_towardzero_test_data,
6577 rint_downward_test_data and rint_upward_test_data. Add
6578 per-rounding-mode results for tests not in those arrays.
6579 (rint_test): Use ALL_RM_TEST.
6580 (rint_tonearest_test_data): Remove.
6581 (rint_test_tonearest): Likewise.
6582 (rint_towardzero_test_data): Likewise.
6583 (rint_test_towardzero): Likewise.
6584 (rint_downward_test_data): Likewise.
6585 (rint_test_downward): Likewise.
6586 (rint_upward_test_data): Likewise.
6587 (rint_test_upward): Likewise.
6588 (main): Don't call removed functions.
6589
5006148e
RM
65902014-03-14 Roland McGrath <roland@hack.frob.com>
6591
6592 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6593 "Compiled on ..." crapola. It is anti-useful.
6594
d6fe5e58
JM
65952014-03-14 Joseph Myers <joseph@codesourcery.com>
6596
6597 * scripts/evaluate-test.sh: Handle fourth argument to determine
6598 whether test run should stop on failure.
6599 * Makeconfig (stop-on-test-failure): New variable.
6600 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6601 $(stop-on-test-failure).
6602 * Makefile (tests): Give a summary of results from testing and
6603 exit with failure status if they include an ERROR or FAIL.
6604 (xtests): Likewise.
6605 * manual/install.texi (Configuring and compiling): Mention
6606 stop-on-test-failure=y.
6607 * INSTALL: Regenerated.
6608
498a2233
RM
66092014-03-14 Roland McGrath <roland@hack.frob.com>
6610
22dbc19d
RM
6611 * scripts/versionlist.awk: New file.
6612 * Makerules [$(build-shared) = yes]
6613 (postclean-generated): Add Versions.def, not Versions.def.v and
6614 Versions.def.v.i.
6615 ($(common-objpfx)Versions.def.v.i): Target removed.
6616 ($(common-objpfx)Versions.def): New target.
6617 ($(common-objpfx)Versions.all): Depend on that rather that
6618 $(common-objpfx)Versions.def.v.
6619 * Versions.def: File removed.
6620
498a2233
RM
6621 * Makeconfig (+gccwarn): Add -Wundef.
6622 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6623 a dl-sysdep.h breaking its contract.
6624 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6625 * include/stackinfo.h: New file.
6626 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6627 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6628 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6629 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6630 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6631 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6632 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6633 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6634 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6635 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6636 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6637 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6638 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6639 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6640 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6641
c7de5025
AZ
66422014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6643
6644 [BZ #16707]
6645 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6646 implementation.
6647 * math/libm-test.inc (round_test_data): Add more tests.
6648
98fb27a3
AZ
6649 [BZ #16706]
6650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6651 implementation.
6652 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6653
374f7f61
AZ
6654 [BZ #16701]
6655 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6656 implementation.
6657 * math/libm-test.inc (ceil_test_data): Add more tests.
6658
4655c291
AZ
6659 * math/libm-test.inc (trunc_test_data): Add more tests related to
6660 BZ#16414.
6661
d7329d4b
RM
66622014-03-14 Roland McGrath <roland@hack.frob.com>
6663
6664 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6665 with #if rather than #ifdef.
6666 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6667
aa4de9ce
L
66682014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6669
6670 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6671 first. Disable AVX-512 GCC support if assembler doesn't support
6672 it.
6673 * sysdeps/x86_64/configure: Regenerated.
6674
2e03fae7
CD
66752014-03-13 Carlos O'Donell <carlos@redhat.com>
6676
6677 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6678 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6679 (__old_pthread_attr_setstack): Likewise.
6680 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6681 [!_STACK_GROWS_DOWN]: Likewise.
6682
43ca83ec
MF
66832014-03-13 Mike Frysinger <vapier@gentoo.org>
6684
6685 * config.make.in (have-bash2): Delete.
6686 * configure.ac (libc_cv_have_bash2): Delete.
6687 * configure: Regenerate.
6688 * elf/Makefile (common-ldd-rewrite): Rename to ...
6689 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6690 (sh-ldd-rewrite): Delete.
6691 (bash-ldd-rewrite): Delete.
6692 (have-bash2): Delete checks.
57f41c40
AS
6693 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6694 ldd-rewrite.
c66e48b4
MF
6695
6696 * config.make.in (have-ksh): Delete.
6697 (KSH): Delete.
6698 * configure.ac (libc_cv_have_ksh): Delete.
6699 * configure: Regenerate.
6700
b93834ef
MF
6701 * elf/Makefile: Delete $(have-ksh) check.
6702 ($(objpfx)sotruss): Change KSH to BASH.
6703 * elf/sotruss.ksh: Rename to ...
6704 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6705 function style to match POSIX. Drop ksh vim mode setting.
6706
f3a4632a
MF
6707 * manual/time.texi (Specifying the Time Zone with TZ): Change
6708 Tuesday to Thursday.
6709
5896c8bd
MF
6710 * debug/tst-longjmp_chk2.c: Update header comment.
6711 (stackoverflow_handler): Add comment. Call assert on pass value.
6712
2d63a517
IZ
67132014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6714
6715 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6716 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6717 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6718 (La_x86_64_vector): Add zmm.
6719 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6720 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6721 ($(objpfx)tst-audit10): New target.
6722 ($(objpfx)tst-audit10.out): Likewise.
6723 (tst-audit10-ENV): New.
6724 (AVX512-CFLAGS): Likewise.
6725 (CFLAGS-tst-audit10.c): Likewise.
6726 (CFLAGS-tst-auditmod10a.c): Likewise.
6727 (CFLAGS-tst-auditmod10b.c): Likewise.
6728 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6729 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6730 * sysdeps/x86_64/configure: Regenerated.
6731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6732 AVX-512 zmm register support.
6733 (_dl_x86_64_save_sse): Likewise.
6734 (_dl_x86_64_restore_sse): Likewise.
6735 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6736 size vector registers.
6737 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6738 (ZMM_SIZE): Likewise.
6739 * sysdeps/x86_64/tst-audit10.c: New file.
6740 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6741 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6742
44c4e5d5
RM
67432014-03-13 Roland McGrath <roland@hack.frob.com>
6744
6745 * configure.ac (HAVE_EHDR_START): New check.
6746 * configure: Regenerated.
6747 * config.h.in (HAVE_EHDR_START): New #undef.
6748 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6749 assuming the lowest-addressed segment maps the start of the file.
6750
acd6e389
JM
67512014-03-13 Joseph Myers <joseph@codesourcery.com>
6752
6753 * INSTALL: Regenerated.
6754
6f918f36
WN
67552014-03-13 Will Newton <will.newton@linaro.org>
6756
6757 * manual/setjmp.texi (System V contexts): Improve
6758 clarity and grammar of documentation.
6759
798212a0
PP
67602014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6761
6762 [BZ #16381]
798212a0 6763 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6764 (tests-pie): Add tst-pie2.
798212a0
PP
6765 * elf/tst-pie2.c: New file.
6766 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6767 for ET_EXEC.
6768 * elf/rtld.c (map_doit): Load executable as lt_executable.
6769 (dl_main): Likewise.
6770
abe6d90c
JM
67712014-03-12 Joseph Myers <joseph@codesourcery.com>
6772
6773 [BZ #16642]
6774 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6775 (__ASSUME_PSELECT): Undefine.
6776
dd3946c6
AZ
67772014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 [BZ #16689]
6780 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6781 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6782 static build.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6784 selector for static builds.
6785
c44496df
SP
67862014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6787
6788 [BZ #16695]
6789 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6790 key in the buffer.
6791
27c7220a
AZ
67922014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793
57f41c40
AS
6794 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6795 IFUNC selector for static builds.
27c7220a 6796
600fa361
JM
67972014-03-11 Joseph Myers <joseph@codesourcery.com>
6798
76c96cf7
JM
6799 * sysdeps/mips/math_private.h [__mips_hard_float]
6800 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6801 libc_feresetround_mips_ctx.
6802 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6803 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6804 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6805
600fa361
JM
6806 [BZ #16677]
6807 * math/s_nextafter.c (__nextafter): Do not return value from
6808 overflowing computation.
6809 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6810 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6811 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6812 Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6814 Likewise.
6815 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6816 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6817
d7706c32
RM
68182014-03-11 Roland McGrath <roland@hack.frob.com>
6819
6820 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6821 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6822 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6823 the new mov targetting sp.
6824
4facea47
AZ
68252014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826
6827 [BZ #16683]
6828 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6829 Define it for static builds as well.
6830 (NO_BZERO_IMPL): Likewise.
6831
e65caf1f
VR
68322014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6833
6834 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6835 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6836 multiarch strspn for PPC64.
6837 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6838 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6840 (__libc_ifunc_impl_list): Likewise.
6841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6842 multiarch optimizations
6843 * string/strspn.c (strspn): Using macro to redefine symbol name.
6844
ba9cc071
AZ
68452014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6846 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847
6848 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6849 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6850 multiarch strncat for PPC64.
6851 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6852 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6854 (__libc_ifunc_impl_list): Likewise.
6855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6856 multiarch optimizations
6857
8b4ff974
SP
68582014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6859
6860 [BZ #16639]
6861 * nscd/nscd.service: Make service type forking.
6862
54b46a4b
AZ
68632014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6864
6865 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6866 sign in non default rounding modes.
6867 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6868
e9996ef7
JM
68692014-03-08 Joseph Myers <joseph@codesourcery.com>
6870
6871 * math/libm-test.inc (ALL_RM_TEST): New macro.
6872 (ceil_test): Use ALL_RM_TEST.
6873 (cimag_test): Likewise.
6874 (conj_test): Likewise.
6875 (copysign_test): Likewise.
6876 (cproj_test): Likewise.
6877 (creal_test): Likewise.
6878 (fabs_test): Likewise.
6879 (floor_test): Likewise.
6880 (fmax_test): Likewise.
6881 (fmin_test): Likewise.
6882 (fmod_test): Likewise.
6883 (fpclassify_test): Likewise.
6884 (frexp_test): Likewise.
6885 (ilogb_test): Likewise.
6886 (isfinite_test): Likewise.
6887 (finite_test): Likewise.
6888 (isgreater_test): Likewise.
6889 (isgreaterequal_test): Likewise.
6890 (isinf_test): Likewise.
6891 (isless_test): Likewise.
6892 (islessequal_test): Likewise.
6893 (islessgreater_test): Likewise.
6894 (isnan_test): Likewise.
6895 (isnormal_test): Likewise.
6896 (issignaling_test): Likewise.
6897 (isunordered_test): Likewise.
6898 (logb_test): Likewise.
6899 (logb_downward_test_data): Remove.
6900 (logb_test_downward): Likewise.
6901 (lround_test): Use ALL_RM_TEST.
6902 (llround_test): Likewise.
6903 (modf_test): Likewise.
6904 (nexttoward_test): Likewise.
6905 (remainder_test): Likewise.
6906 (drem_test): Likewise.
6907 (remainder_tonearest_test_data): Likewise.
6908 (remainder_test_tonearest): Likewise.
6909 (drem_test_tonearest): Likewise.
6910 (remainder_towardzero_test_data): Likewise.
6911 (remainder_test_towardzero): Likewise.
6912 (drem_test_towardzero): Likewise.
6913 (remainder_downward_test_data): Likewise.
6914 (remainder_test_downward): Likewise.
6915 (drem_test_downward): Likewise.
6916 (remainder_upward_test_data): Likewise.
6917 (remainder_test_upward): Likewise.
6918 (drem_test_upward): Likewise.
6919 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6920 (round_test): Use ALL_RM_TEST.
6921 (signbit_test): Likewise.
6922 (trunc_test): Likewise.
6923 (significand_test): Likewise.
6924 (main): Don't call removed functions.
6925
bc61d27c
JM
69262014-03-07 Joseph Myers <joseph@codesourcery.com>
6927
5c780849
JM
6928 [BZ #16674]
6929 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6930 || __USE_XOPEN2K8].
6931 (ILL_ILLOPN): Likewise.
6932 (ILL_ILLADR): Likewise.
6933 (ILL_ILLTRP): Likewise.
6934 (ILL_PRVOPC): Likewise.
6935 (ILL_PRVREG): Likewise.
6936 (ILL_COPROC): Likewise.
6937 (ILL_BADSTK): Likewise.
6938 (FPE_INTDIV): Likewise.
6939 (FPE_INTOVF): Likewise.
6940 (FPE_FLTDIV): Likewise.
6941 (FPE_FLTOVF): Likewise.
6942 (FPE_FLTUND): Likewise.
6943 (FPE_FLTRES): Likewise.
6944 (FPE_FLTINV): Likewise.
6945 (FPE_FLTSUB): Likewise.
6946 (SEGV_MAPERR): Likewise.
6947 (SEGV_ACCERR): Likewise.
6948 (BUS_ADRALN): Likewise.
6949 (BUS_ADRERR): Likewise.
6950 (BUS_OBJERR): Likewise.
6951 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6952 (TRAP_TRACE): Likewise.
6953 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6954 __USE_XOPEN2K8].
6955 (CLD_KILLED): Likewise.
6956 (CLD_DUMPED): Likewise.
6957 (CLD_TRAPPED): Likewise.
6958 (CLD_STOPPED): Likewise.
6959 (CLD_CONTINUED): Likewise.
6960 (POLL_IN): Likewise.
6961 (POLL_OUT): Likewise.
6962 (POLL_MSG): Likewise.
6963 (POLL_ERR): Likewise.
6964 (POLL_PRI): Likewise.
6965 (POLL_HUP): Likewise.
6966 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6967 Likewise.
6968 (ILL_ILLOPN): Likewise.
6969 (ILL_ILLADR): Likewise.
6970 (ILL_ILLTRP): Likewise.
6971 (ILL_PRVOPC): Likewise.
6972 (ILL_PRVREG): Likewise.
6973 (ILL_COPROC): Likewise.
6974 (ILL_BADSTK): Likewise.
6975 (FPE_INTDIV): Likewise.
6976 (FPE_INTOVF): Likewise.
6977 (FPE_FLTDIV): Likewise.
6978 (FPE_FLTOVF): Likewise.
6979 (FPE_FLTUND): Likewise.
6980 (FPE_FLTRES): Likewise.
6981 (FPE_FLTINV): Likewise.
6982 (FPE_FLTSUB): Likewise.
6983 (SEGV_MAPERR): Likewise.
6984 (SEGV_ACCERR): Likewise.
6985 (BUS_ADRALN): Likewise.
6986 (BUS_ADRERR): Likewise.
6987 (BUS_OBJERR): Likewise.
6988 (BUS_MCEERR_AR): Likewise.
6989 (BUS_MCEERR_AO): Likewise.
6990 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6991 (TRAP_TRACE): Likewise.
6992 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6993 __USE_XOPEN2K8].
6994 (CLD_KILLED): Likewise.
6995 (CLD_DUMPED): Likewise.
6996 (CLD_TRAPPED): Likewise.
6997 (CLD_STOPPED): Likewise.
6998 (CLD_CONTINUED): Likewise.
6999 (POLL_IN): Likewise.
7000 (POLL_OUT): Likewise.
7001 (POLL_MSG): Likewise.
7002 (POLL_ERR): Likewise.
7003 (POLL_PRI): Likewise.
7004 (POLL_HUP): Likewise.
7005 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7006 (ILL_ILLOPN): Likewise.
7007 (ILL_ILLADR): Likewise.
7008 (ILL_ILLTRP): Likewise.
7009 (ILL_PRVOPC): Likewise.
7010 (ILL_PRVREG): Likewise.
7011 (ILL_COPROC): Likewise.
7012 (ILL_BADSTK): Likewise.
7013 (FPE_INTDIV): Likewise.
7014 (FPE_INTOVF): Likewise.
7015 (FPE_FLTDIV): Likewise.
7016 (FPE_FLTOVF): Likewise.
7017 (FPE_FLTUND): Likewise.
7018 (FPE_FLTRES): Likewise.
7019 (FPE_FLTINV): Likewise.
7020 (FPE_FLTSUB): Likewise.
7021 (SEGV_MAPERR): Likewise.
7022 (SEGV_ACCERR): Likewise.
7023 (BUS_ADRALN): Likewise.
7024 (BUS_ADRERR): Likewise.
7025 (BUS_OBJERR): Likewise.
7026 (BUS_MCEERR_AR): Likewise.
7027 (BUS_MCEERR_AO): Likewise.
7028 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7029 (TRAP_TRACE): Likewise.
7030 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7031 __USE_XOPEN2K8].
7032 (CLD_KILLED): Likewise.
7033 (CLD_DUMPED): Likewise.
7034 (CLD_TRAPPED): Likewise.
7035 (CLD_STOPPED): Likewise.
7036 (CLD_CONTINUED): Likewise.
7037 (POLL_IN): Likewise.
7038 (POLL_OUT): Likewise.
7039 (POLL_MSG): Likewise.
7040 (POLL_ERR): Likewise.
7041 (POLL_PRI): Likewise.
7042 (POLL_HUP): Likewise.
7043 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7044 Likewise.
7045 (ILL_ILLOPN): Likewise.
7046 (ILL_ILLADR): Likewise.
7047 (ILL_ILLTRP): Likewise.
7048 (ILL_PRVOPC): Likewise.
7049 (ILL_PRVREG): Likewise.
7050 (ILL_COPROC): Likewise.
7051 (ILL_BADSTK): Likewise.
7052 (ILL_BADIADDR): Likewise.
7053 (ILL_BREAK): Likewise.
7054 (FPE_INTDIV): Likewise.
7055 (FPE_INTOVF): Likewise.
7056 (FPE_FLTDIV): Likewise.
7057 (FPE_FLTOVF): Likewise.
7058 (FPE_FLTUND): Likewise.
7059 (FPE_FLTRES): Likewise.
7060 (FPE_FLTINV): Likewise.
7061 (FPE_FLTSUB): Likewise.
7062 (FPE_DECOVF): Likewise.
7063 (FPE_DECDIV): Likewise.
7064 (FPE_DECERR): Likewise.
7065 (FPE_INVASC): Likewise.
7066 (FPE_INVDEC): Likewise.
7067 (SEGV_MAPERR): Likewise.
7068 (SEGV_ACCERR): Likewise.
7069 (SEGV_PSTKOVF): Likewise.
7070 (BUS_ADRALN): Likewise.
7071 (BUS_ADRERR): Likewise.
7072 (BUS_OBJERR): Likewise.
7073 (BUS_MCEERR_AR): Likewise.
7074 (BUS_MCEERR_AO): Likewise.
7075 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7076 (TRAP_TRACE): Likewise.
7077 (TRAP_BRANCH): Likewise.
7078 (TRAP_HWBKPT): Likewise.
7079 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7080 __USE_XOPEN2K8].
7081 (CLD_KILLED): Likewise.
7082 (CLD_DUMPED): Likewise.
7083 (CLD_TRAPPED): Likewise.
7084 (CLD_STOPPED): Likewise.
7085 (CLD_CONTINUED): Likewise.
7086 (POLL_IN): Likewise.
7087 (POLL_OUT): Likewise.
7088 (POLL_MSG): Likewise.
7089 (POLL_ERR): Likewise.
7090 (POLL_PRI): Likewise.
7091 (POLL_HUP): Likewise.
7092 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7093 (ILL_ILLOPN): Likewise.
7094 (ILL_ILLADR): Likewise.
7095 (ILL_ILLTRP): Likewise.
7096 (ILL_PRVOPC): Likewise.
7097 (ILL_PRVREG): Likewise.
7098 (ILL_COPROC): Likewise.
7099 (ILL_BADSTK): Likewise.
7100 (FPE_INTDIV): Likewise.
7101 (FPE_INTOVF): Likewise.
7102 (FPE_FLTDIV): Likewise.
7103 (FPE_FLTOVF): Likewise.
7104 (FPE_FLTUND): Likewise.
7105 (FPE_FLTRES): Likewise.
7106 (FPE_FLTINV): Likewise.
7107 (FPE_FLTSUB): Likewise.
7108 (SEGV_MAPERR): Likewise.
7109 (SEGV_ACCERR): Likewise.
7110 (BUS_ADRALN): Likewise.
7111 (BUS_ADRERR): Likewise.
7112 (BUS_OBJERR): Likewise.
7113 (BUS_MCEERR_AR): Likewise.
7114 (BUS_MCEERR_AO): Likewise.
7115 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7116 (TRAP_TRACE): Likewise.
7117 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7118 __USE_XOPEN2K8].
7119 (CLD_KILLED): Likewise.
7120 (CLD_DUMPED): Likewise.
7121 (CLD_TRAPPED): Likewise.
7122 (CLD_STOPPED): Likewise.
7123 (CLD_CONTINUED): Likewise.
7124 (POLL_IN): Likewise.
7125 (POLL_OUT): Likewise.
7126 (POLL_MSG): Likewise.
7127 (POLL_ERR): Likewise.
7128 (POLL_PRI): Likewise.
7129 (POLL_HUP): Likewise.
7130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7131 (ILL_ILLOPN): Likewise.
7132 (ILL_ILLADR): Likewise.
7133 (ILL_ILLTRP): Likewise.
7134 (ILL_PRVOPC): Likewise.
7135 (ILL_PRVREG): Likewise.
7136 (ILL_COPROC): Likewise.
7137 (ILL_BADSTK): Likewise.
7138 (FPE_INTDIV): Likewise.
7139 (FPE_INTOVF): Likewise.
7140 (FPE_FLTDIV): Likewise.
7141 (FPE_FLTOVF): Likewise.
7142 (FPE_FLTUND): Likewise.
7143 (FPE_FLTRES): Likewise.
7144 (FPE_FLTINV): Likewise.
7145 (FPE_FLTSUB): Likewise.
7146 (SEGV_MAPERR): Likewise.
7147 (SEGV_ACCERR): Likewise.
7148 (BUS_ADRALN): Likewise.
7149 (BUS_ADRERR): Likewise.
7150 (BUS_OBJERR): Likewise.
7151 (BUS_MCEERR_AR): Likewise.
7152 (BUS_MCEERR_AO): Likewise.
7153 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7154 (TRAP_TRACE): Likewise.
7155 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7156 __USE_XOPEN2K8].
7157 (CLD_KILLED): Likewise.
7158 (CLD_DUMPED): Likewise.
7159 (CLD_TRAPPED): Likewise.
7160 (CLD_STOPPED): Likewise.
7161 (CLD_CONTINUED): Likewise.
7162 (POLL_IN): Likewise.
7163 (POLL_OUT): Likewise.
7164 (POLL_MSG): Likewise.
7165 (POLL_ERR): Likewise.
7166 (POLL_PRI): Likewise.
7167 (POLL_HUP): Likewise.
7168 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7169 (ILL_ILLOPN): Likewise.
7170 (ILL_ILLADR): Likewise.
7171 (ILL_ILLTRP): Likewise.
7172 (ILL_PRVOPC): Likewise.
7173 (ILL_PRVREG): Likewise.
7174 (ILL_COPROC): Likewise.
7175 (ILL_BADSTK): Likewise.
7176 (FPE_INTDIV): Likewise.
7177 (FPE_INTOVF): Likewise.
7178 (FPE_FLTDIV): Likewise.
7179 (FPE_FLTOVF): Likewise.
7180 (FPE_FLTUND): Likewise.
7181 (FPE_FLTRES): Likewise.
7182 (FPE_FLTINV): Likewise.
7183 (FPE_FLTSUB): Likewise.
7184 (SEGV_MAPERR): Likewise.
7185 (SEGV_ACCERR): Likewise.
7186 (BUS_ADRALN): Likewise.
7187 (BUS_ADRERR): Likewise.
7188 (BUS_OBJERR): Likewise.
7189 (BUS_MCEERR_AR): Likewise.
7190 (BUS_MCEERR_AO): Likewise.
7191 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7192 (TRAP_TRACE): Likewise.
7193 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7194 __USE_XOPEN2K8].
7195 (CLD_KILLED): Likewise.
7196 (CLD_DUMPED): Likewise.
7197 (CLD_TRAPPED): Likewise.
7198 (CLD_STOPPED): Likewise.
7199 (CLD_CONTINUED): Likewise.
7200 (POLL_IN): Likewise.
7201 (POLL_OUT): Likewise.
7202 (POLL_MSG): Likewise.
7203 (POLL_ERR): Likewise.
7204 (POLL_PRI): Likewise.
7205 (POLL_HUP): Likewise.
7206 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7207 (ILL_ILLOPN): Likewise.
7208 (ILL_ILLADR): Likewise.
7209 (ILL_ILLTRP): Likewise.
7210 (ILL_PRVOPC): Likewise.
7211 (ILL_PRVREG): Likewise.
7212 (ILL_COPROC): Likewise.
7213 (ILL_BADSTK): Likewise.
7214 (ILL_DBLFLT): Likewise.
7215 (ILL_HARDWALL): Likewise.
7216 (FPE_INTDIV): Likewise.
7217 (FPE_INTOVF): Likewise.
7218 (FPE_FLTDIV): Likewise.
7219 (FPE_FLTOVF): Likewise.
7220 (FPE_FLTUND): Likewise.
7221 (FPE_FLTRES): Likewise.
7222 (FPE_FLTINV): Likewise.
7223 (FPE_FLTSUB): Likewise.
7224 (SEGV_MAPERR): Likewise.
7225 (SEGV_ACCERR): Likewise.
7226 (BUS_ADRALN): Likewise.
7227 (BUS_ADRERR): Likewise.
7228 (BUS_OBJERR): Likewise.
7229 (BUS_MCEERR_AR): Likewise.
7230 (BUS_MCEERR_AO): Likewise.
7231 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7232 (TRAP_TRACE): Likewise.
7233 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7234 __USE_XOPEN2K8].
7235 (CLD_KILLED): Likewise.
7236 (CLD_DUMPED): Likewise.
7237 (CLD_TRAPPED): Likewise.
7238 (CLD_STOPPED): Likewise.
7239 (CLD_CONTINUED): Likewise.
7240 (POLL_IN): Likewise.
7241 (POLL_OUT): Likewise.
7242 (POLL_MSG): Likewise.
7243 (POLL_ERR): Likewise.
7244 (POLL_PRI): Likewise.
7245 (POLL_HUP): Likewise.
7246 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7247 (ILL_ILLOPN): Likewise.
7248 (ILL_ILLADR): Likewise.
7249 (ILL_ILLTRP): Likewise.
7250 (ILL_PRVOPC): Likewise.
7251 (ILL_PRVREG): Likewise.
7252 (ILL_COPROC): Likewise.
7253 (ILL_BADSTK): Likewise.
7254 (FPE_INTDIV): Likewise.
7255 (FPE_INTOVF): Likewise.
7256 (FPE_FLTDIV): Likewise.
7257 (FPE_FLTOVF): Likewise.
7258 (FPE_FLTUND): Likewise.
7259 (FPE_FLTRES): Likewise.
7260 (FPE_FLTINV): Likewise.
7261 (FPE_FLTSUB): Likewise.
7262 (SEGV_MAPERR): Likewise.
7263 (SEGV_ACCERR): Likewise.
7264 (BUS_ADRALN): Likewise.
7265 (BUS_ADRERR): Likewise.
7266 (BUS_OBJERR): Likewise.
7267 (BUS_MCEERR_AR): Likewise.
7268 (BUS_MCEERR_AO): Likewise.
7269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7270 (TRAP_TRACE): Likewise.
7271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7272 __USE_XOPEN2K8].
7273 (CLD_KILLED): Likewise.
7274 (CLD_DUMPED): Likewise.
7275 (CLD_TRAPPED): Likewise.
7276 (CLD_STOPPED): Likewise.
7277 (CLD_CONTINUED): Likewise.
7278 (POLL_IN): Likewise.
7279 (POLL_OUT): Likewise.
7280 (POLL_MSG): Likewise.
7281 (POLL_ERR): Likewise.
7282 (POLL_PRI): Likewise.
7283 (POLL_HUP): Likewise.
7284 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7285 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7286
bc61d27c
JM
7287 [BZ #16670]
7288 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7289 before #include of <time.h>.
7290 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7291 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7292 (test-xfail-UNIX98/sched.h/conform): Likewise.
7293
302949e2
MS
72942014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7295
7296 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7297 error absence of trapping exception support.
7298 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7299
a00f522a
JM
73002014-03-07 Joseph Myers <joseph@codesourcery.com>
7301
6f99f280
JM
7302 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7303 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7304 * timezone/Makefile (testdata): Move definition above include of
7305 Rules.
7306 (test-zones): New variable.
7307 (tests-special): Add zone files.
7308 (build-testdata): Use $(evaluate-test).
7309
0b20a9e8
JM
7310 * elf/Makefile (tests-special): Rename tests to end with .out.
7311 ($(objpfx)noload-mem): Likewise.
7312 ($(objpfx)tst-leaks1-mem): Likewise.
7313 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7314 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7315 $(objpfx)test-iconvconfig.out.
7316 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7317 set -e inside subshell and redirect output to file.
7318 * iconvdata/Makefile (generated): Rename tests to end with .out.
7319 Correct type.
7320 (tests-special): Rename tests to end with .out.
7321 ($(objpfx)mtrace-tst-loading): Likewise.
7322 * intl/Makefile (generated): Likewise.
7323 (tests-special): Likewise.
7324 ($(objpfx)mtrace-tst-gettext): Likewise.
7325 * misc/Makefile (generated): Likewise.
7326 (tests-special): Likewise.
7327 ($(objpfx)tst-error1-mem): Likewise.
7328 * nptl/Makefile (tests-special): Likewise.
7329 ($(objpfx)tst-stack3-mem): Likewise.
7330 (generated): Likewise.
7331 * posix/Makefile (generated): Likewise.
7332 (tests-special): Likewise.
7333 (xtests-special): Likewise.
7334 ($(objpfx)tst-fnmatch-mem): Likewise.
7335 ($(objpfx)bug-regex2-mem): Likewise.
7336 ($(objpfx)bug-regex14-mem): Likewise.
7337 ($(objpfx)bug-regex21-mem): Likewise.
7338 ($(objpfx)bug-regex31-mem): Likewise.
7339 ($(objpfx)tst-vfork3-mem): Likewise.
7340 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7341 ($(objpfx)tst-pcre-mem): Likewise.
7342 ($(objpfx)tst-boost-mem): Likewise.
7343 ($(objpfx)bug-ga2-mem): Likewise.
7344 ($(objpfx)bug-glob2-mem): Likewise.
7345 * resolv/Makefile (generate): Likewise.
7346 (tests-special): Likewise.
7347 (xtests-special): Likewise.
7348 (generated): Likewise.
7349 ($(objpfx)mtrace-tst-leaks): Likewise.
7350 ($(objpfx)mtrace-tst-leaks2): Likewise.
7351
265d52ab
JM
7352 * scripts/merge-test-results.sh: New file.
7353 * Makefile (tests-special-notdir): New variable.
7354 (tests): Run merge-test-results.sh.
7355 (xtests): Likewise.
7356 * Rules (tests-special-notdir): New variable.
7357 (xtests-special-notdir): Likewise.
7358 (tests): Run merge-test-results.sh
7359 (xtests): Likewise.
7360
54ee292d
JM
7361 * Makeconfig (test-xfail-name): New variable.
7362 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7363 compute variable name for expected failures.
7364 * conform/Makefile (conformtest-headers-data): New variable.
7365 (conformtest-standards): Likewise.
7366 (conformtest-headers-ISO): Likewise.
7367 (conformtest-headers-ISO99): Likewise.
7368 (conformtest-headers-ISO11): Likewise.
7369 (conformtest-headers-POSIX): Likewise.
7370 (conformtest-headers-XPG3): Likewise.
7371 (conformtest-headers-XPG4): Likewise.
7372 (conformtest-headers-UNIX98): Likewise.
7373 (conformtest-headers-XOPEN2K): Likewise.
7374 (conformtest-headers-POSIX2008): Likewise.
7375 (conformtest-headers-XOPEN2K8): Likewise.
7376 (conformtest-header-list-base): Likewise.
7377 (conformtest-header-list-tests): Likewise.
7378 (conformtest-header-base): Likewise.
7379 (conformtest-header-tests): Likewise.
7380 (tests-special): Add $(conformtest-header-list-tests). If
7381 [$(fast-check) && !$(cross-compiling)], add
7382 $(conformtest-header-tests) instead of
7383 $(objpfx)run-conformtest.out.
7384 (generated): Add $(conformtest-header-list-base). If
7385 [$(fast-check) && !$(cross-compiling)], add
7386 $(conformtest-header-base). Remove previous setting.
7387 ($(conformtest-header-list-tests)): New target.
7388 (test-xfail-run-conformtest): Remove variable.
7389 ($(objpfx)run-conformtest.out): Remove target.
7390 (test-xfail-ISO11/complex.h/conform): New variable.
7391 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7392 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7393 (test-xfail-XPG3/varargs.h/conform): Likewise.
7394 (test-xfail-XPG4/varargs.h/conform): Likewise.
7395 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7396 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7397 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7398 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7399 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7400 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7401 (test-xfail-XPG3/ftw.h/conform): Likewise.
7402 (test-xfail-XPG3/grp.h/conform): Likewise.
7403 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7404 (test-xfail-XPG3/limits.h/conform): Likewise.
7405 (test-xfail-XPG3/pwd.h/conform): Likewise.
7406 (test-xfail-XPG3/search.h/conform): Likewise.
7407 (test-xfail-XPG3/signal.h/conform): Likewise.
7408 (test-xfail-XPG3/stdio.h/conform): Likewise.
7409 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7410 (test-xfail-XPG3/string.h/conform): Likewise.
7411 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7412 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7413 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7414 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7415 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7416 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7417 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7418 (test-xfail-XPG3/termios.h/conform): Likewise.
7419 (test-xfail-XPG3/time.h/conform): Likewise.
7420 (test-xfail-XPG3/unistd.h/conform): Likewise.
7421 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7422 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7423 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7424 (test-xfail-XPG4/netdb.h/conform): Likewise.
7425 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7426 (test-xfail-XPG4/signal.h/conform): Likewise.
7427 (test-xfail-XPG4/stdio.h/conform): Likewise.
7428 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7429 (test-xfail-XPG4/stropts.h/conform): Likewise.
7430 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7431 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7432 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7433 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7434 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7435 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7436 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7437 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7438 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7439 (test-xfail-XPG4/termios.h/conform): Likewise.
7440 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7441 (test-xfail-XPG4/unistd.h/conform): Likewise.
7442 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7443 (test-xfail-POSIX/sched.h/conform): Likewise.
7444 (test-xfail-POSIX/signal.h/conform): Likewise.
7445 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7446 (test-xfail-POSIX/tar.h/conform): Likewise.
7447 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7448 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7449 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7450 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7451 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7452 (test-xfail-UNIX98/sched.h/conform): Likewise.
7453 (test-xfail-UNIX98/signal.h/conform): Likewise.
7454 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7455 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7456 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7457 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7458 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7459 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7460 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7461 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7462 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7463 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7464 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7465 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7466 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7467 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7468 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7469 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7470 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7471 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7472 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7473 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7474 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7475 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7476 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7477 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7478 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7479 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7480 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7481 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7482 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7483 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7484 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7485 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7486 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7487 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7488 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7489 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7490 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7491 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7492 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7493 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7494 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7495 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7496 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7497 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7498 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7499 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7500 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7501 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7502 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7503 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7504 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7505 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7506 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7507 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7508 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7509 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7510 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7511 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7512 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7513 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7514 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7515 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7516 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7517 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7518 (conformtest-cc-flags): Likewise.
7519 ($(conformtest-header-tests): New target.
7520 * conform/check-header-lists.sh: New file.
7521 * conform/run-conformtest.sh: Remove.
7522
a00f522a
JM
7523 * conform/conformtest.pl: Allow ' and \ in values given for
7524 constants.
7525 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7526 inclusion.
7527 [POSIX] (sys/types.h): Likewise.
7528 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7529 inclusion.
7530 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7531 inclusion.
7532 * conform/data/signal.h-data (SIGIO): Remove expectation.
7533 [XPG3] (SIGBUS): Do not expect.
7534 [POSIX || XPG3] (SIGPOLL): Likewise.
7535 [POSIX || XPG3] (SIGPROF): Likewise.
7536 [POSIX || XPG3] (SIGSYS): Likewise.
7537 [XPG3] (SIGTRAP): Likewise.
7538 [POSIX || XPG3] (SIGURG): Likewise.
7539 [POSIX || XPG3] (SIGVTALRM): Likewise.
7540 [POSIX || XPG3] (SIGXCPU): Likewise.
7541 [POSIX || XPG3] (SIGXFSZ): Likewise.
7542 [POSIX] (SA_SIGINFO): Expect.
7543 [XPG3] (siginfo_t): Do not expect type or contents.
7544 [POSIX] (si_pid): Do not expect element.
7545 [POSIX] (si_uid): Likewise.
7546 [POSIX] (si_addr): Likewise.
7547 [POSIX] (si_status): Likewise.
7548 [POSIX] (si_band): Likewise.
7549 [XPG4] (si_value): Likewise.
7550 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7551 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7552 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7553 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7554 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7555 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7556 [POSIX || XPG3] (ILL_COPROC): Likewise.
7557 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7558 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7559 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7560 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7561 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7562 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7563 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7564 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7565 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7566 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7567 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7568 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7569 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7570 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7571 [POSIX || XPG3] (CLD_EXITED): Likewise.
7572 [POSIX || XPG3] (CLD_KILLED): Likewise.
7573 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7574 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7575 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7576 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7577 [POSIX || XPG3] (POLL_IN): Likewise.
7578 [POSIX || XPG3] (POLL_OUT): Likewise.
7579 [POSIX || XPG3] (POLL_MSG): Likewise.
7580 [POSIX || XPG3] (POLL_ERR): Likewise.
7581 [POSIX || XPG3] (POLL_PRI): Likewise.
7582 [POSIX || XPG3] (POLL_HUP): Likewise.
7583 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7584 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7585 (SIG*): Do not allow.
7586 [XPG3] (si_*): Likewise.
7587 [XPG3] (SI_*): Likewise.
7588 [XPG3 || XPG4] (sigev_*): Likewise.
7589 [XPG3 || XPG4] (SIGEV_*): Likewise.
7590 [XPG3 || XPG4] (sival_*): Likewise.
7591 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7592 [POSIX || XPG3] (BUS_*): Likewise.
7593 [POSIX || XPG3] (CLD_*): Likewise.
7594 [POSIX || XPG3] (FPE_*): Likewise.
7595 [POSIX || XPG3] (ILL_*): Likewise.
7596 [POSIX || XPG3] (POLL_*): Likewise.
7597 [POSIX || XPG3] (SEGV_*): Likewise.
7598 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7599 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7600 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7601 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7602 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7603 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7604 Specify type and value.
7605 (TVERSLEN): Likewise.
7606 (REGTYPE): Likewise.
7607 (AREGTYPE): Likewise.
7608 (LNKTYPE): Likewise.
7609 (SYMTYPE): Likewise.
7610 (CHRTYPE): Likewise.
7611 (BLKTYPE): Likewise.
7612 (DIRTYPE): Likewise.
7613 (FIFOTYPE): Likewise.
7614 (CONTTYPE): Likewise.
7615 (TSUID): Likewise.
7616 (TSGID): Likewise.
7617 (TSVTX): Likewise.
7618 (TUREAD): Likewise.
7619 (TUWRITE): Likewise.
7620 (TUEXEC): Likewise.
7621 (TGREAD): Likewise.
7622 (TGWRITE): Likewise.
7623 (TGEXEC): Likewise.
7624 (TOREAD): Likewise.
7625 (TOWRITE): Likewise.
7626 (TOEXEC): Likewise.
7627 [POSIX] (TSVTX): Expect constant.
7628
aa97dee1
JM
76292014-03-06 Joseph Myers <joseph@codesourcery.com>
7630
f214606a
JM
7631 * Makefile (tests): Change dependencies to ....
7632 (tests-special): ... additions to this variable.
7633 (tests): Depend on $(tests-special).
7634 * Makerules (check-abi-list): New variable.
7635 (check-abi): Depend on $(check-abi-list).
7636 [$(subdir) = elf] (tests-special): Add
7637 $(objpfx)check-abi-libc.out.
7638 [$(build-shared) = yes && subdir] (tests-special): Add
7639 $(check-abi-list).
7640 [$(build-shared) = yes && subdir] (tests): Do not depend on
7641 check-abi.
7642 * Rules (tests): Depend on $(tests-special).
7643 (xtests): Depend on $(xtests-special).
7644 * catgets/Makefile (tests): Change dependencies to ....
7645 (tests-special): ... additions to this variable.
7646 * conform/Makefile (tests): Change dependencies to ....
7647 (tests-special): ... additions to this variable.
7648 * elf/Makefile (tests): Change dependencies to ....
7649 (tests-special): ... additions to this variable.
7650 * grp/Makefile (tests): Change dependencies to ....
7651 (tests-special): ... additions to this variable.
7652 * iconv/Makefile (xtests): Change dependencies to ....
7653 (xtests-special): ... additions to this variable.
7654 * iconvdata/Makefile (tests): Change dependencies to ....
7655 (tests-special): ... additions to this variable.
7656 * intl/Makefile (tests): Change dependencies to ....
7657 (tests-special): ... additions to this variable. Also add
7658 $(objpfx)tst-gettext.out.
7659 * io/Makefile (tests): Change dependencies to ....
7660 (tests-special): ... additions to this variable.
7661 * libio/Makefile (tests): Change dependencies to ....
7662 (tests-special): ... additions to this variable.
7663 * malloc/Makefile (tests): Change dependencies to ....
7664 (tests-special): ... additions to this variable.
7665 * misc/Makefile (tests): Change dependencies to ....
7666 (tests-special): ... additions to this variable.
7667 * nptl/Makefile (tests): Change dependencies to ....
7668 (tests-special): ... additions to this variable.
7669 * nptl_db/Makefile (tests): Change dependencies to ....
7670 (tests-special): ... additions to this variable.
7671 * posix/Makefile (tests): Change dependencies to ....
7672 (tests-special): ... additions to this variable.
7673 (xtests): Change dependencies to ....
7674 (xtests-special): ... additions to this variable.
7675 * resolv/Makefile (tests): Change dependencies to ....
7676 (tests-special): ... additions to this variable.
7677 (xtests): Change dependencies to ....
7678 (xtests-special): ... additions to this variable.
7679 * stdio-common/Makefile (tests): Change dependencies to ....
7680 (tests-special): ... additions to this variable.
7681 (do-tst-unbputc): Remove target.
7682 (do-tst-printf): Likewise.
7683 * stdlib/Makefile (tests): Change dependencies to ....
7684 (tests-special): ... additions to this variable.
7685 * string/Makefile (tests): Change dependencies to ....
7686 (tests-special): ... additions to this variable.
7687 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7688 (tests-special): ... additions to this variable.
7689
81700b53
JM
7690 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7691 whole file.
7692 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7693 whole file.
7694 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7695 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7696
2ea18461
JM
7697 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7698 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7699 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7700 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7701 * conform/data/libgen.h-data [XPG3]: Likewise.
7702 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7703 * conform/data/ndbm.h-data [XPG3]: Likewise.
7704 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7705 * conform/data/netdb.h-data [XPG3]: Likewise.
7706 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7707 * conform/data/poll.h-data [XPG3]: Likewise.
7708 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7709 * conform/data/strings.h-data [XPG3]: Likewise.
7710 * conform/data/stropts.h-data [XPG3]: Likewise.
7711 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7712 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7713 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7714 Likewise.
7715 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7716 * conform/data/sys/time.h-data [XPG3]: Likewise.
7717 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7718 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7719 * conform/data/sys/un.h-data [XPG3]: Likewise.
7720 * conform/data/syslog.h-data [XPG3]: Likewise.
7721 * conform/data/ucontext.h-data [XPG3]: Likewise.
7722 * conform/data/utmpx.h-data [XPG3]: Likewise.
7723 * conform/data/varargs.h-data [UNIX98]: Enable file.
7724
355bc986
JM
7725 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7726
215db402
JM
7727 * math/libm-test.inc (struct test_f_f_data): Move expected results
7728 into structure for each rounding mode.
7729 (struct test_ff_f_data): Likewise.
7730 (struct test_ff_f_data_nexttoward): Likewise.
7731 (struct test_fi_f_data): Likewise.
7732 (struct test_fl_f_data): Likewise.
7733 (struct test_if_f_data): Likewise.
7734 (struct test_fff_f_data): Likewise.
7735 (struct test_c_f_data): Likewise.
7736 (struct test_f_f1_data): Likewise.
7737 (struct test_fF_f1_data): Likewise.
7738 (struct test_ffI_f1_data): Likewise.
7739 (struct test_c_c_data): Likewise.
7740 (struct test_cc_c_data): Likewise.
7741 (struct test_f_i_data): Likewise.
7742 (struct test_ff_i_data): Likewise.
7743 (struct test_f_l_data): Likewise.
7744 (struct test_f_L_data): Likewise.
7745 (struct test_fFF_11_data): Likewise.
7746 (RM_): New macro.
7747 (RM_FE_DOWNWARD): Likewise.
7748 (RM_FE_TONEAREST): Likewise.
7749 (RM_FE_TOWARDZERO): Likewise.
7750 (RM_FE_UPWARD): Likewise.
7751 (RUN_TEST_LOOP_f_f): Update references to expected results.
7752 (RUN_TEST_LOOP_2_f): Likewise.
7753 (RUN_TEST_LOOP_fff_f): Likewise.
7754 (RUN_TEST_LOOP_c_f): Likewise.
7755 (RUN_TEST_LOOP_f_f1): Likewise.
7756 (RUN_TEST_LOOP_fF_f1): Likewise.
7757 (RUN_TEST_LOOP_fI_f1): Likewise.
7758 (RUN_TEST_LOOP_ffI_f1): Likewise.
7759 (RUN_TEST_LOOP_c_c): Likewise.
7760 (RUN_TEST_LOOP_cc_c): Likewise.
7761 (RUN_TEST_LOOP_f_i): Likewise.
7762 (RUN_TEST_LOOP_f_i_tg): Likewise.
7763 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7764 (RUN_TEST_LOOP_f_b): Likewise.
7765 (RUN_TEST_LOOP_f_b_tg): Likewise.
7766 (RUN_TEST_LOOP_f_l): Likewise.
7767 (RUN_TEST_LOOP_f_L): Likewise.
7768 (RUN_TEST_LOOP_fFF_11): Likewise.
7769 * math/gen-libm-test.pl (parse_args): Output four copies of
7770 expected results for each test.
7771
67737b8f
JM
7772 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7773 (__ASSUME_UTIMES): Remove.
7774 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7775 (__ASSUME_UTIMES): Likewise.
7776
aa97dee1
JM
7777 * math/gen-auto-libm-tests.c: Update comment on output format.
7778 (output_for_one_input_case): Generate before-rounding and
7779 after-rounding information as conditions on output flags not
7780 floating-point format.
7781 * math/auto-libm-test-out: Regenerated.
7782 * math/gen-libm-test.pl (cond_value): New function.
7783 (or_cond_value): Use cond_value.
7784 (generate_testfile): Handle conditional exceptions.
7785
e6b6a857
JM
77862014-03-05 Joseph Myers <joseph@codesourcery.com>
7787
2f0a0f44
JM
7788 * math/libm-test.inc (max_valid_error): New variable.
7789 (init_max_error): Take new argument specifying whether function
7790 results are exactly determined. Set max_valid_error and bound
7791 other variables for errors based on this argument.
7792 (set_max_error): Do not record results above max_valid_error.
7793 (check_float_internal): Only accept errors of up to 0.5ulps if
7794 also at most max_valid_error.
7795 (START): Take new argument EXACT and pass it to init_max_error.
7796 (acos_test): Update call to START.
7797 (acos_test_tonearest): Likewise.
7798 (acos_test_towardzero): Likewise.
7799 (acos_test_downward): Likewise.
7800 (acos_test_upward): Likewise.
7801 (acosh_test): Likewise.
7802 (asin_test): Likewise.
7803 (asin_test_tonearest): Likewise.
7804 (asin_test_towardzero): Likewise.
7805 (asin_test_downward): Likewise.
7806 (asin_test_upward): Likewise.
7807 (asinh_test): Likewise.
7808 (atan_test): Likewise.
7809 (atanh_test): Likewise.
7810 (atan2_test): Likewise.
7811 (cabs_test): Likewise.
7812 (cacos_test): Likewise.
7813 (cacosh_test): Likewise.
7814 (carg_test): Likewise.
7815 (casin_test): Likewise.
7816 (casinh_test): Likewise.
7817 (catan_test): Likewise.
7818 (catanh_test): Likewise.
7819 (cbrt_test): Likewise.
7820 (ccos_test): Likewise.
7821 (ccosh_test): Likewise.
7822 (ceil_test): Likewise.
7823 (cexp_test): Likewise.
7824 (cimag_test): Likewise.
7825 (clog_test): Likewise.
7826 (clog10_test): Likewise.
7827 (conj_test): Likewise.
7828 (copysign_test): Likewise.
7829 (cos_test): Likewise.
7830 (cos_test_tonearest): Likewise.
7831 (cos_test_towardzero): Likewise.
7832 (cos_test_downward): Likewise.
7833 (cos_test_upward): Likewise.
7834 (cosh_test): Likewise.
7835 (cosh_test_tonearest): Likewise.
7836 (cosh_test_towardzero): Likewise.
7837 (cosh_test_downward): Likewise.
7838 (cosh_test_upward): Likewise.
7839 (cpow_test): Likewise.
7840 (cproj_test): Likewise.
7841 (creal_test): Likewise.
7842 (csin_test): Likewise.
7843 (csinh_test): Likewise.
7844 (csqrt_test): Likewise.
7845 (ctan_test): Likewise.
7846 (ctan_test_tonearest): Likewise.
7847 (ctan_test_towardzero): Likewise.
7848 (ctan_test_downward): Likewise.
7849 (ctan_test_upward): Likewise.
7850 (ctanh_test): Likewise.
7851 (ctanh_test_tonearest): Likewise.
7852 (ctanh_test_towardzero): Likewise.
7853 (ctanh_test_downward): Likewise.
7854 (ctanh_test_upward): Likewise.
7855 (erf_test): Likewise.
7856 (erfc_test): Likewise.
7857 (exp_test): Likewise.
7858 (exp_test_tonearest): Likewise.
7859 (exp_test_towardzero): Likewise.
7860 (exp_test_downward): Likewise.
7861 (exp_test_upward): Likewise.
7862 (exp10_test): Likewise.
7863 (exp10_test_tonearest): Likewise.
7864 (exp10_test_towardzero): Likewise.
7865 (exp10_test_downward): Likewise.
7866 (exp10_test_upward): Likewise.
7867 (pow10_test): Likewise.
7868 (exp2_test): Likewise.
7869 (expm1_test): Likewise.
7870 (expm1_test_tonearest): Likewise.
7871 (expm1_test_towardzero): Likewise.
7872 (expm1_test_downward): Likewise.
7873 (expm1_test_upward): Likewise.
7874 (fabs_test): Likewise.
7875 (fdim_test): Likewise.
7876 (floor_test): Likewise.
7877 (fma_test): Likewise.
7878 (fma_test_towardzero): Likewise.
7879 (fma_test_downward): Likewise.
7880 (fma_test_upward): Likewise.
7881 (fmax_test): Likewise.
7882 (fmin_test): Likewise.
7883 (fmod_test): Likewise.
7884 (fpclassify_test): Likewise.
7885 (frexp_test): Likewise.
7886 (hypot_test): Likewise.
7887 (ilogb_test): Likewise.
7888 (isfinite_test): Likewise.
7889 (finite_test): Likewise.
7890 (isgreater_test): Likewise.
7891 (isgreaterequal_test): Likewise.
7892 (isinf_test): Likewise.
7893 (isless_test): Likewise.
7894 (islessequal_test): Likewise.
7895 (islessgreater_test): Likewise.
7896 (isnan_test): Likewise.
7897 (isnormal_test): Likewise.
7898 (issignaling_test): Likewise.
7899 (isunordered_test): Likewise.
7900 (j0_test): Likewise.
7901 (j1_test): Likewise.
7902 (jn_test): Likewise.
7903 (ldexp_test): Likewise.
7904 (lgamma_test): Likewise.
7905 (gamma_test): Likewise.
7906 (lrint_test): Likewise.
7907 (lrint_test_tonearest): Likewise.
7908 (lrint_test_towardzero): Likewise.
7909 (lrint_test_downward): Likewise.
7910 (lrint_test_upward): Likewise.
7911 (llrint_test): Likewise.
7912 (llrint_test_tonearest): Likewise.
7913 (llrint_test_towardzero): Likewise.
7914 (llrint_test_downward): Likewise.
7915 (llrint_test_upward): Likewise.
7916 (log_test): Likewise.
7917 (log10_test): Likewise.
7918 (log1p_test): Likewise.
7919 (log2_test): Likewise.
7920 (logb_test): Likewise.
7921 (logb_test_downward): Likewise.
7922 (lround_test): Likewise.
7923 (llround_test): Likewise.
7924 (modf_test): Likewise.
7925 (nearbyint_test): Likewise.
7926 (nextafter_test): Likewise.
7927 (nexttoward_test): Likewise.
7928 (pow_test): Likewise.
7929 (pow_test_tonearest): Likewise.
7930 (pow_test_towardzero): Likewise.
7931 (pow_test_downward): Likewise.
7932 (pow_test_upward): Likewise.
7933 (remainder_test): Likewise.
7934 (drem_test): Likewise.
7935 (remainder_test_tonearest): Likewise.
7936 (drem_test_tonearest): Likewise.
7937 (remainder_test_towardzero): Likewise.
7938 (drem_test_towardzero): Likewise.
7939 (remainder_test_downward): Likewise.
7940 (drem_test_downward): Likewise.
7941 (remainder_test_upward): Likewise.
7942 (drem_test_upward): Likewise.
7943 (remquo_test): Likewise.
7944 (rint_test): Likewise.
7945 (rint_test_tonearest): Likewise.
7946 (rint_test_towardzero): Likewise.
7947 (rint_test_downward): Likewise.
7948 (rint_test_upward): Likewise.
7949 (round_test): Likewise.
7950 (scalb_test): Likewise.
7951 (scalbn_test): Likewise.
7952 (scalbln_test): Likewise.
7953 (signbit_test): Likewise.
7954 (sin_test): Likewise.
7955 (sin_test_tonearest): Likewise.
7956 (sin_test_towardzero): Likewise.
7957 (sin_test_downward): Likewise.
7958 (sin_test_upward): Likewise.
7959 (sincos_test): Likewise.
7960 (sinh_test): Likewise.
7961 (sinh_test_tonearest): Likewise.
7962 (sinh_test_towardzero): Likewise.
7963 (sinh_test_downward): Likewise.
7964 (sinh_test_upward): Likewise.
7965 (sqrt_test): Likewise.
7966 (sqrt_test_tonearest): Likewise.
7967 (sqrt_test_towardzero): Likewise.
7968 (sqrt_test_downward): Likewise.
7969 (sqrt_test_upward): Likewise.
7970 (tan_test): Likewise.
7971 (tan_test_tonearest): Likewise.
7972 (tan_test_towardzero): Likewise.
7973 (tan_test_downward): Likewise.
7974 (tan_test_upward): Likewise.
7975 (tanh_test): Likewise.
7976 (tgamma_test): Likewise.
7977 (trunc_test): Likewise.
7978 (y0_test): Likewise.
7979 (y1_test): Likewise.
7980 (yn_test): Likewise.
7981 (significand_test): Likewise.
7982
e6b6a857
JM
7983 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7984 individual tests in comment.
7985 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7986 (prev_max_error): New variable.
7987 (prev_real_max_error): Likewise.
7988 (prev_imag_max_error): Likewise.
7989 (compare_ulp_data): Don't refer to test names in comment.
7990 (find_test_ulps): Remove function.
7991 (find_function_ulps): Likewise.
7992 (find_complex_function_ulps): Likewise.
7993 (init_max_error): Take function name as argument. Look up ulps
7994 for that function.
7995 (print_ulps): Remove function.
7996 (print_max_error): Use prev_max_error instead of calling
7997 find_function_ulps.
7998 (print_complex_max_error): Use prev_real_max_error and
7999 prev_imag_max_error instead of calling find_complex_function_ulps.
8000 (check_float_internal): Take max_ulp parameter instead of calling
8001 find_test_ulps. Don't call print_ulps.
8002 (check_float): Update call to check_float_internal.
8003 (check_complex): Update calls to check_float_internal.
8004 (START): Pass argument to init_max_error.
8005 * math/gen-libm-test.pl (%results): Don't include "kind"
8006 information.
8007 (parse_ulps): Don't handle ulps of individual tests.
8008 (print_ulps_file): Likewise.
8009 (output_ulps): Likewise.
8010 * math/README.libm-test: Update.
8011 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8012 individual tests.
8013 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8014 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8015 * sysdeps/arm/libm-test-ulps: Likewise.
8016 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8017 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8018 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8019 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8020 * sysdeps/microblaze/libm-test-ulps: Likewise.
8021 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8022 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8023 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8024 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8025 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8026 * sysdeps/sh/libm-test-ulps: Likewise.
8027 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8028 * sysdeps/tile/libm-test-ulps: Likewise.
8029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030
45adef3c
JM
80312014-03-04 Joseph Myers <joseph@codesourcery.com>
8032
8033 * math/libm-test.inc (print_complex_max_error): Check separately
8034 whether real and imaginary errors are within allowed range and
8035 pass 0 to print_complex_function_ulps instead of value within
8036 allowed range.
8037
000232b9
SP
80382014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8039
d4b17258
SP
8040 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8041 formatting.
8042 (get_handles_fopen): Likewise.
8043 (do_write_test): Likewise.
8044
091eff71
SP
8045 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8046
fa3cd248
SP
8047 * libio/fileops.c (do_ftell): Use cached offset when
8048 available.
8049 * libio/iofwide.c (do_ftell_wide): Likewise.
8050 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8051 _IO_file_attach.
8052 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8053
000232b9
SP
8054 [BZ #16532]
8055 * libio/libioP.h (get_file_offset): New function.
8056 * libio/fileops.c (get_file_offset): Likewise.
8057 (do_ftell): Likewise.
8058 (_IO_new_file_seekoff): Split out ftell logic.
8059 * libio/wfileops.c (do_ftell_wide): Likewise.
8060 (_IO_wfile_seekoff): Split out ftell logic.
8061 * libio/tst-ftell-active-handler.c: New test case.
8062 * libio/Makefile (tests): Add it.
8063
116f4d1a
RM
80642014-03-03 Roland McGrath <roland@hack.frob.com>
8065
8066 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8067 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8068
532a6035
SP
80692014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8070
8071 [BZ #16639]
8072 * nscd/connections.c (nscd_init): Call do_exit.
8073 (start_threads): Call do_exit and notify_parent.
8074 (begin_drop_privileges): Call do_exit.
8075 (finish_drop_privileges): Likewise.
8076 * nscd/selinux.c (preserve_capabilities): Likewise.
8077 (install_real_capabilities): Likewise.
8078 (nscd_selinux_enabled): Likewise.
8079 (avc_create_thread): Likewise.
8080 (avc_alloc_lock): Likewise.
8081 (nscd_avc_init): Likewise.
8082 * nscd/nscd.c (parent_fd): New static variable.
8083 (main): Create a pipe between parent and child processes.
8084 Skip closing parent_fd.
8085 (monitor_child): New function.
8086 (do_exit): Likewise.
8087 (notify_parent): Likewise.
8088 * nscd/nscd.h (notify_parent): Likewise.
8089 (do_exit): Likewise.
8090
d6285c9f
CD
80912014-03-03 Carlos O'Donell <carlos@redhat.com>
8092
8093 * malloc/malloc.c (__libc_calloc): Revert last change.
8094
2b85d2a0
AZ
80952014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8096
8097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8098
c7debbdf
RS
80992014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8100
8101 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8103 implementation.
8104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8105 (__libc_ifunc_impl_list): Likewise.
8106 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8107 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8108 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8109 * string/strrchr.c: Define STRRCHR.
8110
235eed86
OB
81112014-02-28 Ondřej Bílka <neleai@seznam.cz>
8112
8113 * benchtest/bench-strtok.c (simple_strtok): Delete.
8114 (strtok_string): Use as benchmark.
8115 * string/strtok (STRTOK): New macro.
8116
8e25d1e7
CD
81172014-02-28 Carlos O'Donell <carlos@redhat.com>
8118
ef563f92
CD
8119 * manual/threads.texi: Add header and standard comments to all
8120 functions.
8121
8e25d1e7
CD
8122 * elf/dl-lookup.c (check_match): New function.
8123 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8124 (do_lookup_x): Remove nested function check_match. Use non-nested
8125 function check_match.
8126
ff71cc37
RM
81272014-02-28 Roland McGrath <roland@hack.frob.com>
8128
f08e9a26
RM
8129 * csu/Makefile (generated, before-compile): Use += rather than =.
8130 * catgets/Makefile (generated, generated-dirs): Likewise.
8131 * debug/Makefile (generated): Likewise.
8132 * dlfcn/Makefile (generated): Likewise.
8133 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8134 * iconvdata/Makefile (before-compile, generated): Likewise.
8135 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8136 * libio/Makefile (generated): Likewise.
8137 * malloc/Makefile (generated): Likewise.
8138 * manual/Makefile (generated, generated-dirs): Likewise.
8139 * misc/Makefile (generated): Likewise.
8140 * posix/Makefile (generated): Likewise.
8141 * resolv/Makefile (generated): Likewise.
8142 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8143 * timezone/Makefile (generated, generated-dirs): Likewise.
8144
ff71cc37
RM
8145 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8146
fe13a20c
AZ
81472014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8148
57f41c40
AS
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8150 power8 implementation.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8152 file: POWER8 llround ifunc implementation.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8154 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8156 POWER8 llround implementation.
8157
57f41c40
AS
8158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8159 power8 implementation.
8160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8161 file: POWER8 llrint ifunc implementation.
8162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8163 Add POWER8 implementation.
1ad8950a
AZ
8164 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8165 POWER8 llrint implementation.
8166
57f41c40
AS
8167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8168 power8 implementation.
8169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8170 file: POWER8 finite ifunc implementation.
8171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8172 Add POWER8 implementation.
cac626d6
AZ
8173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8174 Likewise.
8175 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8176 POWER8 finite implementation.
8177 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8178
57f41c40
AS
8179 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8180 power8 implementation.
8181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8182 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8184 POWER8 implementation.
8185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8186 Likewise.
57f41c40
AS
8187 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8188 isinf implementation.
4393fc11
AZ
8189 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8190
57f41c40
AS
8191 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8192 (INIT_ARCH): Add hwcap2 initialization.
8193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8194 power8 implementation.
8195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8196 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8198 POWER8 implementation.
8199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8200 Likewise.
57f41c40
AS
8201 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8202 isnan implementation.
487972ae
AZ
8203 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8204
7d92b787
JY
82052014-02-27 Joey Ye <joey.ye@arm.com>
8206
8207 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8208 (_FP_NANFRAC_Q): Set to zero.
8209
1cadc858
SP
82102014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8211
8212 [BZ #16623]
8213 * math/auto-libm-test-in: New test inputs.
8214 * math/auto-libm-test-out: Regenerate.
8215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8216 and DA.
8217 (__cos): Likewise.
8218 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8219
f8c17e79
JM
82202014-02-27 Joseph Myers <joseph@codesourcery.com>
8221
8222 * scripts/evaluate-test.sh: Take new argument indicating whether
8223 failure is expected.
8224 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8225 indicating whether failure is expected.
8226 * conform/Makefile (test-xfail-run-conformtest): New variable.
8227 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8228 level.
8229 * posix/Makefile (test-xfail-annexc): New variable.
8230 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8231
a5f891ac
JM
82322014-02-26 Joseph Myers <joseph@codesourcery.com>
8233
8234 * argp/Makefile: Include Makeconfig immediately after defining
8235 subdir.
8236 * assert/Makefile: Likewise.
8237 * benchtests/Makefile: Likewise.
8238 * catgets/Makefile: Likewise.
8239 * conform/Makefile: Likewise.
8240 * crypt/Makefile: Likewise.
8241 * csu/Makefile: Likewise.
8242 (all): Remove target.
8243 * ctype/Makefile: Include Makeconfig immediately after defining
8244 subdir.
8245 * debug/Makefile: Likewise.
8246 * dirent/Makefile: Likewise.
8247 * dlfcn/Makefile: Likewise.
8248 * gmon/Makefile: Likewise.
8249 * gnulib/Makefile: Likewise.
8250 * grp/Makefile: Likewise.
8251 * gshadow/Makefile: Likewise.
8252 * hesiod/Makefile: Likewise.
8253 * hurd/Makefile: Likewise.
8254 (all): Remove target.
8255 * iconvdata/Makefile: Include Makeconfig immediately after
8256 defining subdir.
8257 * inet/Makefile: Likewise.
8258 * intl/Makefile: Likewise.
8259 * io/Makefile: Likewise.
8260 * libio/Makefile: Likewise.
8261 (all): Remove target.
8262 * locale/Makefile: Include Makeconfig immediately after defining
8263 subdir.
8264 * login/Makefile: Likewise.
8265 * mach/Makefile: Likewise.
8266 (all): Remove target.
8267 * malloc/Makefile: Include Makeconfig immediately after defining
8268 subdir.
8269 (all): Remove target.
8270 * manual/Makefile: Include Makeconfig immediately after defining
8271 subdir.
8272 * math/Makefile: Likewise.
8273 * misc/Makefile: Likewise.
8274 * nis/Makefile: Likewise.
8275 * nss/Makefile: Likewise.
8276 * po/Makefile: Likewise.
8277 (all): Remove target.
8278 * posix/Makefile: Include Makeconfig immediately after defining
8279 subdir.
8280 * pwd/Makefile: Likewise.
8281 * resolv/Makefile: Likewise.
8282 * resource/Makefile: Likewise.
8283 * rt/Makefile: Likewise.
8284 * setjmp/Makefile: Likewise.
8285 * shadow/Makefile: Likewise.
8286 * signal/Makefile: Likewise.
8287 * socket/Makefile: Likewise.
8288 * soft-fp/Makefile: Likewise.
8289 * stdio-common/Makefile: Likewise.
8290 * stdlib/Makefile: Likewise.
8291 * streams/Makefile: Likewise.
8292 * string/Makefile: Likewise.
8293 * sunrpc/Makefile: Likewise.
8294 (all): Remove target.
8295 * sysvipc/Makefile: Include Makeconfig immediately after defining
8296 subdir.
8297 * termios/Makefile: Likewise.
8298 * time/Makefile: Likewise.
8299 * timezone/Makefile: Likewise.
8300 (all): Remove target.
8301 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8302 subdir.
8303 * wctype/Makefile: Likewise.
8304
5b456e9d
SE
83052014-02-26 Steve Ellcey <sellcey@mips.com>
8306
8307 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8308 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8309 (libc_feholdexcept_setround_mips): Ditto.
8310 (libc_feholdsetround): New.
8311 (libc_feholdsetroundf): New.
8312 (libc_feholdsetroundl): New.
8313 (libc_feupdateenv_test_mips): New.
8314 (libc_feupdateenv_test): New.
8315 (libc_feupdateenv_testf): New.
8316 (libc_feupdateenv_testl): New.
8317 (libc_feresetround): New.
8318 (libc_feresetroundf): New.
8319 (libc_feresetroundl): New.
8320 (libc_fetestexcept_mips): New.
8321 (libc_fetestexcept): New.
8322 (libc_fetestexceptf): New.
8323 (libc_fetestexceptl): New.
8324 (HAVE_RM_CTX): New.
8325 (libc_feholdexcept_setround_mips_ctx): New.
8326 (libc_feholdexcept_setround_ctx): New.
8327 (libc_feholdexcept_setroundf_ctx): New.
8328 (libc_feholdexcept_setroundl_ctx): New.
8329 (libc_fesetenv_mips_ctx): New.
8330 (libc_fesetenv_ctx): New.
8331 (libc_fesetenv_ctxf): New.
8332 (libc_fesetenv_ctxl): New.
8333 (libc_feupdateenv_mips_ctx): New.
8334 (libc_feupdateenv_ctx): New.
8335 (libc_feupdateenvf_ctx): New.
8336 (libc_feupdateenvl_ctx): New.
8337 (libc_feholdsetround_mips_ctx): New.
8338 (libc_feholdsetround_ctx): New.
8339 (libc_feholdsetroundf_ctx): New.
8340 (libc_feholdsetroundl_ctx): New.
8341 (libc_feresetround_mips_ctx): New.
8342 (libc_feresetround_ctx): New.
8343 (libc_feresetroundf_ctx): New.
8344 (libc_feresetroundl_ctx): New.
8345
085d0e35
CD
83462014-02-26 Carlos O'Donell <carlos@redhat.com>
8347
f067bf1f
CD
8348 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8349
085d0e35
CD
8350 * manual/ipc.texi: New file.
8351 * manual/Makefile (chapters): Add ipc.
8352 * manual/job.texi: Add "Inter-Process Communication" to next.
8353 * manual/process.texi: Add "Inter-Process Communication" to prev.
8354
86e58c08
AZ
83552014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8356
8357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8358
4248f0da
OB
83592014-02-26 Ondřej Bílka <neleai@seznam.cz>
8360
8361 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8362
cf822e3c
OB
8363 * manual/arith.texi: Fix spaces after sentences.
8364 * manual/charset.texi: Likewise.
8365 * manual/errno.texi: Likewise.
8366 * manual/install.texi: Likewise.
8367 * manual/llio.texi: Likewise.
8368 * manual/locale.texi: Likewise.
8369 * manual/maint.texi: Likewise.
8370 * manual/math.texi: Likewise.
8371 * manual/memory.texi: Likewise.
8372 * manual/message.texi: Likewise.
8373 * manual/probes.texi: Likewise.
8374 * manual/resource.texi: Likewise.
8375 * manual/signal.texi: Likewise.
8376 * manual/socket.texi: Likewise.
8377 * manual/stdio.texi: Likewise.
8378 * manual/string.texi: Likewise.
8379 * manual/time.texi: Likewise.
8380 * manual/users.texi: Likewise.
8381
ade40b10
CD
83822014-02-25 Carlos O'Donell <carlos@redhat.com>
8383
8384 [BZ #16632]
8385 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8386 _DEFAULT_SOURCE is defined.
8387
d0503676
CD
83882014-02-25 Ulrich Drepper <drepper@gmail.com>
8389 Carlos O'Donell <carlos@redhat.com>
8390
8391 [BZ #16613]
8392 * elf/dl-tls.c (_dl_count_modids): New function.
8393 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8394 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8395 audit library and increment generation counter.
8396 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8397 * elf/tst-audit9.c: New file.
8398 * elf/tst-auditmod9a.c: New file.
8399 * elf/tst-auditmod9b.c: New file.
8400 * elf/Makefile: Add rules to build and run tst-audit9.
8401
4cbf380c
FW
84022014-02-25 Florian Weimer <fweimer@redhat.com>
8403
8404 [BZ #15347]
8405 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8406
80a56cc3
WN
84072014-02-25 Will Newton <will.newton@linaro.org>
8408
8409 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8410 (__longjmp): Restore sp and lr before restoring callee
8411 saved registers. Add longjmp and longjmp_target
8412 SystemTap probe point.
8413 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8414 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8415 Define to zero to match jmpbuf layout.
8416 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8417 (__sigsetjmp): Save sp and lr before saving callee
8418 saved registers. Add setjmp SystemTap probe point.
8419
3ea0f74e
SL
84202014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8421
8422 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8423
b04acb26
AS
84242014-02-24 Andreas Schwab <schwab@suse.de>
8425
8426 [BZ #15804]
8427 * elf/pldd.c (wait_for_ptrace_stop): New function.
8428 (main): Call it after attaching.
8429
098ad55c
RM
84302014-02-22 Roland McGrath <roland@hack.frob.com>
8431
d4ec6ae1
RM
8432 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8433 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8434 Versions files is now verboten.
8435 * hurd/Versions (libc: GLIBC_2.0):
8436 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8437 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8438 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8439 * mach/Versions: Likewise.
8440
098ad55c
RM
8441 * csu/Versions: Remove unused %include.
8442 * resolv/Versions: Likewise.
8443
acd7f096
JM
84442014-02-21 Joseph Myers <joseph@codesourcery.com>
8445
f0881698
JM
8446 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8447 ($(objpfx)check-local-headers.out): Likewise.
8448 ($(objpfx)begin-end-check.out): Likewise.
8449 * Makerules (check-abi-%.out): Likewise.
8450 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8451 ($(objpfx)test2.cat): Likewise.
8452 ($(objpfx)de/libc.cat): Likewise.
8453 ($(objpfx)test-gencat.out): Likewise.
8454 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8455 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8456 ($(objpfx)noload-mem): Likewise.
8457 ($(objpfx)tst-pathopt.out): Likewise.
8458 ($(objpfx)tst-rtld-load-self.out): Likewise.
8459 ($(objpfx)tst-array1-cmp.out): Likewise.
8460 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8461 ($(objpfx)tst-array2-cmp.out): Likewise.
8462 ($(objpfx)tst-array3-cmp.out): Likewise.
8463 ($(objpfx)tst-array4-cmp.out): Likewise.
8464 ($(objpfx)tst-array5-cmp.out): Likewise.
8465 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8466 ($(objpfx)check-textrel.out): Likewise.
8467 ($(objpfx)check-execstack.out): Likewise.
8468 ($(objpfx)check-localplt.out): Likewise.
8469 ($(objpfx)order2-cmp.out): Likewise.
8470 ($(objpfx)tst-leaks1-mem): Likewise.
8471 ($(objpfx)tst-leaks1-static-mem): Likewise.
8472 ($(objpfx)tst-initorder-cmp.out): Likewise.
8473 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8474 ($(objpfx)tst-unused-dep.out): Likewise.
8475 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8476 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8477 * iconv/Makefile (test-iconvconfig): Likewise.
8478 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8479 ($(objpfx)iconv-test.out): Likewise.
8480 ($(objpfx)tst-tables.out): Likewise.
8481 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8482 ($(objpfx)tst-gettext.out): Likewise.
8483 ($(objpfx)tst-translit.out): Likewise.
8484 ($(objpfx)tst-gettext2.out): Likewise.
8485 ($(objpfx)tst-gettext4.out): Likewise.
8486 ($(objpfx)tst-gettext6.out): Likewise.
8487 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8488 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8489 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8490 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8491 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8492 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8493 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8494 ($(objpfx)wordexp-tst.out): Likewise.
8495 ($(objpfx)annexc.out): Likewise.
8496 ($(objpfx)tst-fnmatch-mem): Likewise.
8497 ($(objpfx)bug-regex2-mem): Likewise.
8498 ($(objpfx)bug-regex14-mem): Likewise.
8499 ($(objpfx)bug-regex21-mem): Likewise.
8500 ($(objpfx)bug-regex31-mem): Likewise.
8501 ($(objpfx)tst-vfork3-mem): Likewise.
8502 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8503 ($(objpfx)tst-pcre-mem): Likewise.
8504 ($(objpfx)tst-boost-mem): Likewise.
8505 ($(objpfx)tst-getconf.out): Likewise.
8506 ($(objpfx)bug-ga2-mem): Likewise.
8507 ($(objpfx)bug-glob2-mem): Likewise.
8508 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8509 ($(objpfx)mtrace-tst-leaks2): Likewise.
8510 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8511 ($(objpfx)tst-printf.out): Likewise.
8512 ($(objpfx)tst-setvbuf1.out): Likewise.
8513 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8514 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8515 ($(objpfx)tst-fmtmsg.out): Likewise.
8516 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8517 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8518
acd7f096
JM
8519 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8520 * bits/sigaction.h [__USE_MISC]: Likewise.
8521 * bits/waitstatus.h: Update #endif comments.
8522 * ctype/ctype.h: Likewise.
8523 * dirent/dirent.h: Likewise.
8524 [__USE_MISC]: Remove redundant conditionals.
8525 * grp/grp.h: Update #endif comments.
8526 [__USE_GNU]: Remove redundant conditionals.
8527 [__USE_MISC]: Likewise.
8528 * inet/netinet/in.h [__USE_GNU]: Likewise.
8529 * io/sys/stat.h [__USE_MISC]: Likewise.
8530 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8531 * libio/bits/stdio.h: Update #endif comments.
8532 [__USE_MISC]: Remove redundant conditionals.
8533 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8534 * libio/stdio.h: Update #endif comments.
8535 [__USE_MISC]: Remove redundant conditionals.
8536 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8537 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8538 * math/math.h: Update #else and #endif comments.
8539 [__USE_MISC]: Remove redundant conditionals.
8540 * misc/sys/uio.h: Update #endif comments.
8541 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8542 * posix/glob.h [__USE_MISC]: Likewise.
8543 * posix/sys/types.h: Update #endif comments.
8544 [__USE_MISC]: Remove redundant conditionals.
8545 * posix/sys/wait.h: Update #endif comments.
8546 [__USE_MISC]: Remove redundant conditionals.
8547 * posix/unistd.h: Update #endif comments.
8548 [__USE_MISC]: Remove redundant conditionals.
8549 * pwd/pwd.h [__USE_GNU]: Likewise.
8550 [__USE_MISC]: Likewise.
8551 * resolv/netdb.h [__USE_GNU]: Likewise.
8552 * signal/signal.h: Update #endif comments.
8553 [__USE_MISC]: Remove redundant conditionals.
8554 * stdlib/stdlib.h: Update #else and #endif comments.
8555 [__USE_MISC]: Remove redundant conditionals.
8556 [__USE_GNU]: Likewise.
8557 * string/bits/string2.h [__USE_MISC]: Likewise.
8558 * string/string.h: Update #endif comments.
8559 [__USE_MISC]: Remove redundant conditionals.
8560 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8561 Likewise.
8562 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8563 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8564 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8565 Likewise.
8566 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8567 Likewise.
8568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8569 comments.
8570 [__USE_MISC]: Remove redundant conditionals.
8571 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8572 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8573 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8574 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8575 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8576 Likewise.
8577 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8578 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8579 Likewise.
8580 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8582 Likewise.
8583 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8584 Likewise.
8585 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8586 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8587 Likewise.
8588 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8589 Likewise.
8590 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8591 * sysdeps/x86/bits/string.h: Update #endif comments.
8592 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8593 conditionals.
8594 * time/sys/time.h: Update #endif comments.
8595 * time/time.h: Likewise.
8596 [__USE_MISC]: Remove redundant conditionals.
8597
a5d82e4e
YG
85982014-02-21 Yury Gribov <y.gribov@samsung.com>
8599
8600 [BZ #16600]
8601 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8602
9a80491d
AS
86032014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8604
8605 * Versions.def (librt): Add GLIBC_2.17.
8606
105fa381
AC
86072014-02-21 Adam Conrad <adconrad@0c3.net>
8608
8609 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8610 synonym for _SYS_AUXV_H to allow direct inclusion.
8611 * sysdeps/sparc/bits/hwcap.h: Likewise.
8612 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8613 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8614 * sysdeps/sparc/sysdep.h: Likewise.
8615
b8cd1c4e
SP
86162014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8617
8618 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8619
bd939d23
RS
86202014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8621
8622 * benchtests/bench-strrchr.c: Print length instead of position.
8623
5d7b57ca
JM
86242014-02-20 Joseph Myers <joseph@codesourcery.com>
8625
bc688c10
JM
8626 [BZ #16611]
8627 * sysdeps/unix/sysv/linux/kernel-features.h
8628 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8629 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8630 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8631 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8632 Likewise.
8633 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8634 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8635 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8636 (__ASSUME_SENDMMSG): Define instead of using previous
8637 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8638 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8639 (__ASSUME_SENDMMSG_SYSCALL): Define.
8640 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8641 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8642 Likewise.
8643 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8644 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8645 Likewise.
8646 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8647 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8648 Likewise.
8649 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8650 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8651 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8652 [__ASSUME_SENDMMSG]: Change conditionals to
8653 [__ASSUME_SENDMMSG_SOCKETCALL].
8654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8655 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8656 Define.
8657 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8658 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8659 Likewise.
8660 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8661 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8662 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8663 [!__ASSUME_SENDMMSG]: Change conditional to
8664 [!__ASSUME_SENDMMSG_SOCKETCALL].
8665 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8666 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8667 Define.
8668
0e31b18c
JM
8669 [BZ #16610]
8670 * sysdeps/unix/sysv/linux/kernel-features.h
8671 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8672 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8673 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8674 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8675 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8676 [__i386__ || __sparc__]
8677 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8678 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8679 (__ASSUME_RECVMMSG): Define instead of using previous
8680 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8681 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8682 (__ASSUME_RECVMMSG_SYSCALL): Define.
8683 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8684 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8685 Likewise.
8686 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8687 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8688 Likewise.
8689 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8690 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8691 Likewise.
8692 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8693 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8694 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8695 [__ASSUME_RECVMMSG]: Change condition to
8696 [__ASSUME_RECVMMSG_SOCKETCALL].
8697 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8698 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8699 Define.
8700 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8701 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8702 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8703 Likewise.
8704 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8705 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8706 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8707 [!__ASSUME_RECVMMSG]: Change condition to
8708 [!__ASSUME_RECVMMSG_SOCKETCALL].
8709 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8710 (__ASSUME_RECVMMSG_SYSCALL): Define.
8711
dd481ccf
JM
8712 [BZ #16609]
8713 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8714 __powerpc__ || __s390__ || __sh__ || __sparc__]
8715 (__ASSUME_SOCKETCALL): Define.
8716 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8717 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8718 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8719 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8720 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8721 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8722 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8723 (__ASSUME_ACCEPT4): Define instead of using previous
8724 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8725 __powerpc__ || __sparc__ || __s390__)] condition.
8726 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8727 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8728 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8729 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8730 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8731 [!__ASSUME_ACCEPT4]: Change condition to
8732 [!__ASSUME_ACCEPT4_SOCKETCALL].
8733 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8734 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8735 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8736 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8737 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8738 __ASSUME_ACCEPT4_SYSCALL.
8739 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8740 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8741 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8742 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8743 __ASSUME_ACCEPT4_SYSCALL.
8744 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8745 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8746 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8747 [__ASSUME_ACCEPT4]: Change condition to
8748 [__ASSUME_ACCEPT4_SOCKETCALL].
8749 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8750 (__ASSUME_SOCKETCALL): Define.
8751 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8752 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8753 (__ASSUME_SOCKETCALL): Define.
8754 (__ASSUME_ACCEPT4): Remove.
8755 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8756 Define.
8757 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8758 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8759 Likewise.
8760 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8761 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8762
5d7b57ca
JM
8763 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8764 macro.
8765 (HWCAP_ARM_LPAE): Likewise.
8766 (HWCAP_ARM_EVTSTRM): Likewise.
8767 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8768 Add vpfd32, lpae and evtstrm.
8769 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8770 Increase to 22.
8771
63689d61
JM
87722014-02-19 Joseph Myers <joseph@codesourcery.com>
8773
8774 * math/auto-libm-test-in: Add tests of clog10.
8775 * math/auto-libm-test-out: Regenerated.
8776 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8777 * sysdeps/i386/fpu/libm-test-ulps: Update.
8778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8779
ab09bf61
AS
87802014-02-18 Andreas Schwab <schwab@suse.de>
8781
8782 [BZ #16574]
8783 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8784 Store non-zero if the second buffer was newly allocated.
8785 (send_dg): Likewise.
8786 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8787 to send_vc and send_dg.
8788 (res_nsend): Pass NULL for ansp2_malloced.
8789 * resolv/res_query.c (__libc_res_nquery): Add parameter
8790 answerp2_malloced and pass it down to __libc_res_nsend.
8791 (res_nquery): Pass additional NULL to __libc_res_nquery.
8792 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8793 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8794 second answer buffer if answerp2_malloced was set.
8795 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8796 (__libc_res_nquerydomain): Add parameter
8797 answerp2_malloced and pass it down to __libc_res_nquery.
8798 (res_nquerydomain): Pass additional NULL to
8799 __libc_res_nquerydomain.
8800 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8801 additional NULL to __libc_res_nsend and __libc_res_nquery.
8802 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8803 additional NULL to __libc_res_nsearch.
8804 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8805 parameter of __libc_res_nsearch to check for separately allocated
8806 second buffer.
8807 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8808 __libc_res_nquery.
8809 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8810 additional NULL to __libc_res_nquery.
8811 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8812 __libc_res_nsearch.
8813 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8814 * include/resolv.h: Update prototypes of __libc_res_nquery,
8815 __libc_res_nsearch, __libc_res_nsend.
8816
a4fb7861
JM
88172014-02-18 Joseph Myers <joseph@codesourcery.com>
8818
c6af2d89
JM
8819 * math/auto-libm-test-in: Add tests of fma.
8820 * math/auto-libm-test-out: Regenerated.
8821 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8822 (fma_towardzero_test_data): Likewise.
8823 (fma_downward_test_data): Likewise.
8824 (fma_upward_test_data): Likewise.
8825 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8826 mpc_mode.
8827 (rounding_modes): Add values for new field.
8828 (func_calc_method): Add value mpfr_fff_f.
8829 (func_calc_desc): Add mpfr_fff_f union field.
8830 (test_function): Add field exact_args.
8831 (FUNC): Add macro argument EXACT_ARGS.
8832 (FUNC_mpfr_f_f): Update call to FUNC.
8833 (FUNC_mpfr_f_f): Likewise.
8834 (FUNC_mpfr_ff_f): Likewise.
8835 (FUNC_mpfr_if_f): Likewise.
8836 (FUNC_mpc_c_f): Likewise.
8837 (FUNC_mpc_c_c): Likewise.
8838 (test_functions): Add fma. Update calls to FUNC.
8839 (handle_input_arg): Add argument exact_args.
8840 (add_test): Update call to handle_input_arg.
8841 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8842 (output_for_one_input_case): Update call to calc_generic_results.
8843 Recalculate exact zero results in each rounding mode.
8844
a4fb7861
JM
8845 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8846 non-negative before setting low bit.
8847 * math/auto-libm-test-in: Mark one asin test possibly having
8848 spurious underflow.
8849 * math/auto-libm-test-out: Regenerated.
8850 * sysdeps/i386/fpu/libm-test-ulps: Update.
8851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8852
ef114eaf
DH
88532014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8854
2b7f4f2c
SP
8855 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8856 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8857 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8858 * README: Add missing listing for microblaze*-*-linux-gnu.
8859
c70a4b1d
MF
88602014-02-16 Mike Frysinger <vapier@gentoo.org>
8861
8862 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8863 * sysdeps/unix/sysv/linux/ia64: Move directory from
8864 ports/sysdeps/unix/sysv/linux/ia64.
8865 * README: Update listing for ia64-*-linux-gnu.
8866
591aeaf7
TD
88672014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8868 Joseph Myers <joseph@codesourcery.com>
8869
8870 * Makeconfig (test-name): New variable.
8871 (evaluate-test): Likewise.
8872 * Makerules (do-test-clean): Remove .test-result files.
8873 (common-mostlyclean): Likewise.
8874 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8875 * scripts/evaluate-test.sh: New file.
8876
6e89caf1
JM
88772014-02-14 Joseph Myers <joseph@codesourcery.com>
8878
7f98f180
JM
8879 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8880 separate $(objpfx)tst-fopenloc-cmp.out and
8881 $(objpfx)tst-fopenloc-mem.out targets.
8882 (tests): Update dependencies.
8883 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8884 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8885 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8886 (tst-rxspencer-no-utf8-ARGS): New variable.
8887 (tst-rxspencer-no-utf8-ENV): Likewise.
8888 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8889 instead of $(objpfx)tst-rxspencer-mem.
8890 ($(objpfx)tst-rxspencer-mem): Change target to
8891 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8892 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8893 * posix/tst-rxspencer-no-utf8.c: New file.
8894
6e89caf1
JM
8895 * elf/Makefile ($(objpfx)order.out): Remove rule.
8896 [$(run-built-tests) = yes] (tests): Depend on
8897 $(objpfx)order-cmp.out.
8898 ($(objpfx)order-cmp.out): New rule.
8899 [$(run-built-tests) = yes] (tests): Depend on
8900 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8901 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8902 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8903 $(objpfx)tst-array5-static-cmp.out.
8904 ($(objpfx)tst-array1.out): Remove rule.
8905 ($(objpfx)tst-array1-cmp.out): New rule.
8906 ($(objpfx)tst-array1-static.out): Remove rule.
8907 ($(objpfx)tst-array1-static-cmp.out): New rule.
8908 ($(objpfx)tst-array2.out): Remove rule.
8909 ($(objpfx)tst-array2-cmp.out): New rule.
8910 ($(objpfx)tst-array3.out): Remove rule.
8911 ($(objpfx)tst-array3-cmp.out): New rule.
8912 ($(objpfx)tst-array4.out): Remove rule.
8913 ($(objpfx)tst-array4-cmp.out): New rule.
8914 ($(objpfx)tst-array5.out): Remove rule.
8915 ($(objpfx)tst-array5-cmp.out): New rule.
8916 ($(objpfx)tst-array5-static.out): Remove rule.
8917 ($(objpfx)tst-array5-static-cmp.out): New rule.
8918 [$(run-built-tests) = yes] (tests): Depend on
8919 $(objpfx)order2-cmp.out.
8920 ($(objpfx)order2.out): Remove rule.
8921 ($(objpfx)order2-cmp.out): New rule.
8922 ($(objpfx)tst-initorder.out): Remove rule.
8923 [$(run-built-tests) = yes] (tests): Depend on
8924 $(objpfx)tst-initorder-cmp.out.
8925 ($(objpfx)tst-initorder-cmp.out): New rule.
8926 ($(objpfx)tst-initorder2.out): Remove rule.
8927 [$(run-built-tests) = yes] (tests): Depend on
8928 $(objpfx)tst-initorder2-cmp.out.
8929 ($(objpfx)tst-initorder2-cmp.out): New rule.
8930 [$(run-built-tests) = yes] (tests): Depend on
8931 $(objpfx)tst-unused-dep-cmp.out.
8932 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8933 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8934 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8935 on $(objpfx)tst-setvbuf1-cmp.out.
8936 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8937 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8938 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8939 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8940 ($(objpfx)tst-svc.out): Remove rule.
8941 ($(objpfx)tst-svc-cmp.out): New rule.
8942
ed9a38e2
JM
89432014-02-13 Joseph Myers <joseph@codesourcery.com>
8944
8945 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8946 * ctype/ctype.h [__USE_MISC]: Likewise.
8947 * dirent/dirent.h [__USE_MISC]: Likewise.
8948 * grp/grp.h [__USE_MISC]: Likewise.
8949 * io/fcntl.h [__USE_MISC]: Likewise.
8950 * io/sys/stat.h [__USE_MISC]: Likewise.
8951 * libio/stdio.h [__USE_MISC]: Likewise.
8952 * posix/unistd.h [__USE_MISC]: Likewise.
8953 * pwd/pwd.h [__USE_MISC]: Likewise.
8954 * stdlib.h [__USE_MISC]: Likewise.
8955 * string/bits/string2.h [__USE_MISC]: Likewise.
8956 * string/string.h [__USE_MISC]: Likewise.
8957 * time/time.h [__USE_MISC]: Likewise.
8958
d6680619
AS
89592014-02-13 Andreas Schwab <schwab@suse.de>
8960
8961 [BZ #16574]
8962 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8963 second answer buffer if it was separately allocated.
8964
ace614b8
JM
89652014-02-12 Joseph Myers <joseph@codesourcery.com>
8966
743151ae
JM
8967 * sysdeps/mips/math-tests.h: Include <features.h>.
8968 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8969 (ROUNDING_TESTS_long_double): Do not define.
8970 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8971 (EXCEPTION_TESTS_long_double): Likewise.
8972 * sysdeps/mips/mips64/libm-test-ulps: Update.
8973
498afc54
JM
8974 * include/features.h (__USE_BSD): Remove macro definitions.
8975 (__USE_SVID): Likewise.
8976 (_BSD_SOURCE): Likewise.
8977 (_SVID_SOURCE): Likewise.
8978 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8979 from definition of _DEFAULT_SOURCE.
8980 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8981 [_DEFAULT_SOURCE].
8982 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8983 * bits/mman.h [__USE_BSD]: Likewise.
8984 * bits/termios.h [__USE_BSD]: Likewise.
8985 * bits/waitstatus.h [__USE_BSD]: Likewise.
8986 * ctype/ctype.h [__USE_SVID]: Likewise.
8987 * dirent/dirent.h [__USE_BSD]: Likewise.
8988 * grp/grp.h [__USE_SVID]: Likewise.
8989 [__USE_BSD]: Likewise.
8990 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8991 * io/fcntl.h [__USE_BSD]: Likewise.
8992 * io/ftw.h [__USE_BSD]: Likewise.
8993 * io/sys/stat.h [__USE_BSD]: Likewise.
8994 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8995 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8996 * libio/stdio.h [__USE_SVID]: Likewise.
8997 [__USE_BSD]: Likewise.
8998 * math/math.h [__USE_SVID]: Likewise.
8999 [__USE_BSD]: Likewise.
9000 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9001 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9002 * misc/search.h [__USE_SVID]: Likewise.
9003 * misc/sys/mman.h [__USE_BSD]: Likewise.
9004 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9005 * misc/sys/uio.h [__USE_BSD]: Likewise.
9006 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9007 * posix/glob.h [__USE_BSD]: Likewise.
9008 * posix/regex.h [__USE_BSD]: Likewise.
9009 * posix/sys/types.h [__USE_BSD]: Likewise.
9010 [__USE_SVID]: Likewise.
9011 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9012 * posix/sys/wait.h [__USE_BSD]: Likewise.
9013 [__USE_SVID]: Likewise.
9014 * posix/unistd.h [__USE_BSD]: Likewise.
9015 [__USE_SVID]: Likewise.
9016 * pwd/pwd.h [__USE_SVID]: Likewise.
9017 * resolv/netdb.h [__USE_BSD]: Likewise.
9018 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9019 * signal/signal.h [__USE_BSD]: Likewise.
9020 [__USE_SVID]: Likewise.
9021 * socket/sys/socket.h [__USE_BSD]: Likewise.
9022 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9023 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9024 [__USE_SVID]: Likewise.
9025 * string/bits/string2.h [__USE_BSD]: Likewise.
9026 [__USE_SVID]: Likewise.
9027 * string/bits/string3.h [__USE_BSD]: Likewise.
9028 * string/endian.h [__USE_BSD]: Likewise.
9029 * string/string.h [__USE_SVID]: Likewise.
9030 [__USE_BSD]: Likewise.
9031 * string/strings.h [__USE_BSD]: Likewise.
9032 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9033 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9034 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9035 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9036 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9037 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9038 Likewise.
9039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9040 Likewise.
9041 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9042 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9043 Likewise.
9044 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9045 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9046 Likewise.
9047 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9048 Likewise.
9049 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9050 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9052 Likewise.
9053 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9054 Likewise.
9055 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9056 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9057 * termios/termios.h [__USE_BSD]: Likewise.
9058 * time/sys/time.h [__USE_BSD]: Likewise.
9059 * time/time.h [__USE_BSD]: Likewise.
9060 [__USE_SVID]: Likewise.
9061
dd7b064c
JM
9062 * Makefile (subdir_targets): Remove subdir_lint.out.
9063
a2c4c199
JM
9064 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9065 (do-tst-printf): Likewise.
9066 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9067 $(objpfx)tst-printf.out.
9068
8756f740
JM
9069 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9070
1b6dd3f1
JM
9071 * Makerules (check-abi-%): Change target to
9072 $(objpfx)check-abi-%.out.
9073 (check-abi target): Update dependencies.
9074 (check-abi-pattern variable): Redirect output of diff to $@.
9075 (check-abi variable): Likewise.
9076 * elf/Makefile (check-abi): Update dependencies.
9077
ace614b8
JM
9078 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9079 unused.
9080 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9081 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9082 subnormal range.
9083 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9084 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9085 value has largest subnormal exponent.
9086 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9087 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9088 * sysdeps/aarch64/soft-fp/sfp-machine.h
9089 (_FP_TININESS_AFTER_ROUNDING): New macro.
9090 * sysdeps/alpha/soft-fp/sfp-machine.h
9091 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9092 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9093 Likewise.
9094 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9095 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9096 * sysdeps/mips/soft-fp/sfp-machine.h
9097 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9098 * sysdeps/powerpc/soft-fp/sfp-machine.h
9099 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9100 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9101 Likewise.
9102 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9103 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9104 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9105 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9106 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9107 Likewise.
9108
fbfdf9cb
DAS
91092014-02-12 Dylan Alex Simon <dylan@dylex.net>
9110
9111 [BZ #16545]
9112 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9113 model 1.
9114
68b7efaa
RH
91152014-02-12 Richard Henderson <rth@redhat.com>
9116
c70a4b1d 9117 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9118 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9119 * sysdeps/unix/sysv/linux/alpha: Move directory from
9120 ports/sysdeps/unix/sysv/linux/alpha.
9121 * README: Update listing for alpha-*-linux-gnu.
9122
cb4a2928
JM
91232014-02-11 Joseph Myers <joseph@codesourcery.com>
9124
c941736c
JM
9125 * include/features.h: Update comment documenting feature test
9126 macros.
9127 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9128 _DEFAULT_SOURCE.
9129 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9130 (_SVID_SOURCE): Likewise.
9131 (_DEFAULT_SOURCE): Update description of default features.
9132 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9133 with _GNU_SOURCE.
9134 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9135 (S_ISVTX): Likewise.
9136 * manual/math.texi (Mathematical Constants): Likewise.
9137 * manual/signal.texi (Interrupted Primitives): Likewise.
9138 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9139 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9140 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9141 Don't refer to _SVID_SOURCE in warning text.
9142
e8d8d7ec
JM
9143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9144
cb4a2928
JM
9145 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9146 already defined.
9147 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9148 * sysdeps/mips/dl-lookup.c: Remove.
9149 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9150
7e6424e3
AK
91512014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9152
9153 [BZ #16447]
9154 * math/auto-libm-test-in: Add testcase for expl.
9155 * math/auto-libm-test-out: Regenerate.
9156 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9157 calculation of unsafe.
9158 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9159
75eff3fe
MS
91602014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9161
9162 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9163 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9164 ports/sysdeps/unix/sysv/linux/aarch64.
9165 * README: Update listing for aarch64*-*-linux-gnu.
9166
d35f1e80
WN
91672014-02-11 Will Newton <will.newton@linaro.org>
9168
9169 * manual/probes.texi (Mathematical Function Probes): Use
9170 "triggered" instead of "hit".
9171
7b3436d4
WN
9172 * manual/probes.texi (Internal Probes): Add documentation
9173 of setjmp, longjmp and longjmp_target probes.
9174
b4f12ca3
WN
9175 * include/stap-probe.h: Add comment about probe argument
9176 format.
9177
c13a72b7
WN
9178 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9179 definition. (tr_where, tr_freehook, tr_mallochook,
9180 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9181
195b8165
DM
91822014-02-11 David S. Miller <davem@davemloft.net>
9183
9184 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9185 processing int_tests.
9186
2ad7600b
JM
91872014-02-10 Joseph Myers <joseph@codesourcery.com>
9188
9189 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9190 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9191 * sysdeps/unix/sysv/linux/mips: Move directory from
9192 ports/sysdeps/unix/sysv/linux/mips.
9193 * README: Update listing for mips-*-linux-gnu and
9194 mips64-*-linux-gnu.
9195
73588a72
AS
91962014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9197
9198 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9199 * sysdeps/unix/sysv/linux/m68k: Move directory from
9200 ports/sysdeps/unix/sysv/linux/m68k.
9201 * README: Update listing for m68k-*-linux-gnu.
9202
4372980f
CM
92032014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9204
9205 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9206 * sysdeps/unix/sysv/linux/generic: Move directory from
9207 ports/sysdeps/unix/sysv/linux/generic.
9208 * sysdeps/unix/sysv/linux/tile: Move directory from
9209 ports/sysdeps/unix/sysv/linux/tile.
9210 * README: Update listing for tile*-*-linux-gnu.
9211
a1ffb40e
OB
92122014-02-10 Ondřej Bílka <neleai@seznam.cz>
9213
57f41c40
AS
9214 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9215 __builtin_expect.
a1ffb40e
OB
9216 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9217 * catgets/open_catalog.c (__open_catalog): Likewise.
9218 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9219 * debug/confstr_chk.c: Likewise.
9220 * debug/fread_chk.c (__fread_chk): Likewise.
9221 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9222 * debug/getgroups_chk.c: Likewise.
9223 * debug/mbsnrtowcs_chk.c: Likewise.
9224 * debug/mbsrtowcs_chk.c: Likewise.
9225 * debug/mbstowcs_chk.c: Likewise.
9226 * debug/memcpy_chk.c: Likewise.
9227 * debug/memmove_chk.c: Likewise.
9228 * debug/mempcpy_chk.c: Likewise.
9229 * debug/memset_chk.c: Likewise.
9230 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9231 * debug/strcat_chk.c (__strcat_chk): Likewise.
9232 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9233 * debug/strncat_chk.c (__strncat_chk): Likewise.
9234 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9235 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9236 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9237 * debug/wcpncpy_chk.c: Likewise.
9238 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9239 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9240 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9241 * debug/wcsncpy_chk.c: Likewise.
9242 * debug/wcsnrtombs_chk.c: Likewise.
9243 * debug/wcsrtombs_chk.c: Likewise.
9244 * debug/wcstombs_chk.c: Likewise.
9245 * debug/wmemcpy_chk.c: Likewise.
9246 * debug/wmemmove_chk.c: Likewise.
9247 * debug/wmempcpy_chk.c: Likewise.
9248 * debug/wmemset_chk.c: Likewise.
9249 * dirent/scandirat.c (SCANDIRAT): Likewise.
9250 * dlfcn/dladdr1.c (dladdr1): Likewise.
9251 * dlfcn/dladdr.c (dladdr): Likewise.
9252 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9253 * dlfcn/dlerror.c (__dlerror): Likewise.
9254 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9255 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9256 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9257 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9258 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9259 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9260 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9261 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9262 Likewise.
9263 * elf/dl-conflict.c: Likewise.
9264 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9265 * elf/dl-dst.h: Likewise.
9266 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9267 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9268 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9269 * elf/dl-init.c (call_init, _dl_init): Likewise.
9270 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9271 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9272 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9273 Likewise.
a1ffb40e
OB
9274 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9275 Likewise.
9276 * elf/dl-minimal.c (__libc_memalign): Likewise.
9277 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9278 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9279 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9280 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9281 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9282 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9283 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9284 * elf/dl-writev.h (_dl_writev): Likewise.
9285 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9286 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9287 (dl_main): Likewise.
a1ffb40e
OB
9288 * elf/setup-vdso.h (setup_vdso): Likewise.
9289 * grp/compat-initgroups.c (compat_call): Likewise.
9290 * grp/fgetgrent.c (fgetgrent): Likewise.
9291 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9292 * grp/putgrent.c (putgrent): Likewise.
9293 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9294 Likewise.
9295 * hurd/hurdinit.c: Likewise.
9296 * iconvdata/8bit-gap.c (struct): Likewise.
9297 * iconvdata/ansi_x3.110.c : Likewise.
9298 * iconvdata/big5.c : Likewise.
9299 * iconvdata/big5hkscs.c : Likewise.
9300 * iconvdata/cp1255.c: Likewise.
9301 * iconvdata/cp1258.c : Likewise.
9302 * iconvdata/cp932.c : Likewise.
9303 * iconvdata/euc-cn.c: Likewise.
9304 * iconvdata/euc-jisx0213.c : Likewise.
9305 * iconvdata/euc-jp.c: Likewise.
9306 * iconvdata/euc-jp-ms.c : Likewise.
9307 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9308 * iconvdata/gb18030.c : Likewise.
9309 * iconvdata/gbbig5.c (const): Likewise.
9310 * iconvdata/gbgbk.c: Likewise.
9311 * iconvdata/gbk.c : Likewise.
9312 * iconvdata/ibm1364.c : Likewise.
9313 * iconvdata/ibm930.c : Likewise.
9314 * iconvdata/ibm932.c: Likewise.
9315 * iconvdata/ibm933.c : Likewise.
9316 * iconvdata/ibm935.c : Likewise.
9317 * iconvdata/ibm937.c : Likewise.
9318 * iconvdata/ibm939.c : Likewise.
9319 * iconvdata/ibm943.c: Likewise.
9320 * iconvdata/iso_11548-1.c: Likewise.
9321 * iconvdata/iso-2022-cn.c : Likewise.
9322 * iconvdata/iso-2022-cn-ext.c : Likewise.
9323 * iconvdata/iso-2022-jp-3.c: Likewise.
9324 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9325 * iconvdata/iso-2022-kr.c : Likewise.
9326 * iconvdata/iso646.c (gconv_end): Likewise.
9327 * iconvdata/iso_6937-2.c : Likewise.
9328 * iconvdata/iso_6937.c : Likewise.
9329 * iconvdata/iso8859-1.c: Likewise.
9330 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9331 * iconvdata/shift_jisx0213.c : Likewise.
9332 * iconvdata/sjis.c : Likewise.
9333 * iconvdata/t.61.c : Likewise.
9334 * iconvdata/tcvn5712-1.c : Likewise.
9335 * iconvdata/tscii.c: Likewise.
9336 * iconvdata/uhc.c : Likewise.
9337 * iconvdata/unicode.c (gconv_end): Likewise.
9338 * iconvdata/utf-16.c (gconv_end): Likewise.
9339 * iconvdata/utf-32.c (gconv_end): Likewise.
9340 * iconvdata/utf-7.c (base64): Likewise.
9341 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9342 * iconv/gconv_close.c (__gconv_close): Likewise.
9343 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9344 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9345 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9346 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9347 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9348 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9349 * iconv/iconv.c (iconv): Likewise.
9350 * iconv/iconv_close.c: Likewise.
9351 * iconv/loop.c (SINGLE): Likewise.
9352 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9353 * include/atomic.h: Likewise.
9354 * inet/inet6_option.c (option_alloc): Likewise.
9355 * intl/bindtextdom.c (set_binding_values): Likewise.
9356 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9357 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9358 * intl/localealias.c (read_alias_file): Likewise.
9359 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9360 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9361 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9362 * libio/fmemopen.c (fmemopen): Likewise.
9363 * libio/iofgets.c (_IO_fgets): Likewise.
9364 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9365 * libio/iofgetws.c (fgetws): Likewise.
9366 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9367 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9368 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9369 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9370 * locale/findlocale.c (_nl_find_locale): Likewise.
9371 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9372 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9373 Likewise.
9374 * locale/setlocale.c (setlocale): Likewise.
9375 * login/programs/pt_chown.c (main): Likewise.
9376 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9377 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9378 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9379 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9380 * math/e_exp2l.c: Likewise.
9381 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9382 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9383 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9384 * math/s_catan.c (__catan): Likewise.
9385 * math/s_catanf.c (__catanf): Likewise.
9386 * math/s_catanh.c (__catanh): Likewise.
9387 * math/s_catanhf.c (__catanhf): Likewise.
9388 * math/s_catanhl.c (__catanhl): Likewise.
9389 * math/s_catanl.c (__catanl): Likewise.
9390 * math/s_ccosh.c (__ccosh): Likewise.
9391 * math/s_ccoshf.c (__ccoshf): Likewise.
9392 * math/s_ccoshl.c (__ccoshl): Likewise.
9393 * math/s_cexp.c (__cexp): Likewise.
9394 * math/s_cexpf.c (__cexpf): Likewise.
9395 * math/s_cexpl.c (__cexpl): Likewise.
9396 * math/s_clog10.c (__clog10): Likewise.
9397 * math/s_clog10f.c (__clog10f): Likewise.
9398 * math/s_clog10l.c (__clog10l): Likewise.
9399 * math/s_clog.c (__clog): Likewise.
9400 * math/s_clogf.c (__clogf): Likewise.
9401 * math/s_clogl.c (__clogl): Likewise.
9402 * math/s_csin.c (__csin): Likewise.
9403 * math/s_csinf.c (__csinf): Likewise.
9404 * math/s_csinh.c (__csinh): Likewise.
9405 * math/s_csinhf.c (__csinhf): Likewise.
9406 * math/s_csinhl.c (__csinhl): Likewise.
9407 * math/s_csinl.c (__csinl): Likewise.
9408 * math/s_csqrt.c (__csqrt): Likewise.
9409 * math/s_csqrtf.c (__csqrtf): Likewise.
9410 * math/s_csqrtl.c (__csqrtl): Likewise.
9411 * math/s_ctan.c (__ctan): Likewise.
9412 * math/s_ctanf.c (__ctanf): Likewise.
9413 * math/s_ctanh.c (__ctanh): Likewise.
9414 * math/s_ctanhf.c (__ctanhf): Likewise.
9415 * math/s_ctanhl.c (__ctanhl): Likewise.
9416 * math/s_ctanl.c (__ctanl): Likewise.
9417 * math/w_pow.c: Likewise.
9418 * math/w_powf.c: Likewise.
9419 * math/w_powl.c: Likewise.
9420 * math/w_scalb.c (sysv_scalb): Likewise.
9421 * math/w_scalbf.c (sysv_scalbf): Likewise.
9422 * math/w_scalbl.c (sysv_scalbl): Likewise.
9423 * misc/error.c (error_tail): Likewise.
9424 * misc/pselect.c (__pselect): Likewise.
9425 * nis/nis_callback.c (__nis_create_callback): Likewise.
9426 * nis/nis_call.c (__nisfind_server): Likewise.
9427 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9428 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9429 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9430 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9431 * nis/nis_lookup.c (nis_lookup): Likewise.
9432 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9433 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9434 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9435 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9436 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9437 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9438 * nis/nss_compat/compat-initgroups.c (add_group)
9439 (internal_getgrent_r): Likewise.
9440 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9441 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9442 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9443 (internal_getspnam_r): Likewise.
9444 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9445 (_nss_nis_getaliasbyname_r): Likewise.
9446 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9447 (_nss_nis_getntohost_r): Likewise.
9448 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9449 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9450 (_nss_nis_getgrgid_r): Likewise.
9451 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9452 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9453 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9454 (_nss_nis_gethostbyname4_r): Likewise.
9455 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9456 (initgroups_netid): Likewise.
a1ffb40e 9457 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9458 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9459 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9460 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9461 (_nss_nis_getprotobynumber_r): Likewise.
9462 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9463 (_nss_nis_getsecretkey): Likewise.
9464 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9465 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9466 (_nss_nis_getpwuid_r): Likewise.
9467 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9468 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9469 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9470 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9471 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9472 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9473 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9474 Likewise.
57f41c40
AS
9475 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9476 (_nss_nisplus_getntohost_r): Likewise.
9477 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9478 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9479 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9480 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9481 Likewise.
57f41c40
AS
9482 * nis/nss_nisplus/nisplus-initgroups.c
9483 (_nss_nisplus_initgroups_dyn): Likewise.
9484 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9485 (_nss_nisplus_getnetbyaddr_r): Likewise.
9486 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9487 (_nss_nisplus_getprotobynumber_r): Likewise.
9488 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9489 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9490 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9491 Likewise.
57f41c40
AS
9492 * nis/nss_nisplus/nisplus-service.c
9493 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9494 (_nss_nisplus_getservbyport_r): Likewise.
9495 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9496 (_nss_nisplus_getspnam_r): Likewise.
9497 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9498 Likewise.
a1ffb40e
OB
9499 * nscd/aicache.c (addhstaiX): Likewise.
9500 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9501 * nscd/connections.c (register_traced_file, send_ro_fd)
9502 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9503 (main_loop_epoll): Likewise.
a1ffb40e
OB
9504 * nscd/grpcache.c (addgrbyX): Likewise.
9505 * nscd/hstcache.c (addhstbyX): Likewise.
9506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9507 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9508 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9509 (addinnetgrX): Likewise.
9510 * nscd/nscd-client.h (__nscd_acquire_maplock)
9511 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9512 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9513 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9514 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9515 Likewise.
9516 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9518 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9519 (__nscd_get_map_ref): Likewise.
a1ffb40e 9520 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9521 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9522 Likewise.
a1ffb40e
OB
9523 * nscd/pwdcache.c (addpwbyX): Likewise.
9524 * nscd/selinux.c (preserve_capabilities): Likewise.
9525 * nscd/servicescache.c (addservbyX): Likewise.
9526 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9527 * posix/fnmatch.c (fnmatch): Likewise.
9528 * posix/getopt.c (_getopt_internal_r): Likewise.
9529 * posix/glob.c (glob, glob_in_dir): Likewise.
9530 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9531 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9532 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9533 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9534 * resolv/res_init.c: Likewise.
9535 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9536 * resolv/res_query.c (__libc_res_nquery): Likewise.
9537 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9538 Likewise.
9539 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9540 * stdio-common/perror.c (perror): Likewise.
9541 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9542 * stdio-common/tmpnam.c (tmpnam): Likewise.
9543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9544 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9545 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9546 Likewise.
a1ffb40e
OB
9547 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9548 * stdlib/putenv.c (putenv): Likewise.
9549 * stdlib/setenv.c (__add_to_environ): Likewise.
9550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9551 * stdlib/strtol_l.c (INTERNAL): Likewise.
9552 * string/memmem.c (memmem): Likewise.
9553 * string/strerror.c (strerror): Likewise.
9554 * string/strnlen.c (__strnlen): Likewise.
9555 * string/test-memmem.c (simple_memmem): Likewise.
9556 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9557 * sunrpc/pm_getport.c (__get_socket): Likewise.
9558 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9559 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9560 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9561 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9562 Likewise.
9563 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9564 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9565 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9566 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9567 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9568 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9569 Likewise.
9570 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9571 Likewise.
a1ffb40e
OB
9572 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9573 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9574 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9575 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9576 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9578 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9579 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9580 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9581 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9582 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9583 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9584 Likewise.
9585 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9586 Likewise.
9587 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9588 Likewise.
9589 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9591 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9592 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9593 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9594 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9595 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9604 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9605 Likewise.
a1ffb40e
OB
9606 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9607 Likewise.
9608 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9609 Likewise.
9610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9611 Likewise.
9612 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9614 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9615 Likewise.
9616 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9617 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9618 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9619 * sysdeps/posix/sleep.c: Likewise.
9620 * sysdeps/posix/tempname.c: Likewise.
9621 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9622 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9623 Likewise.
57f41c40
AS
9624 * sysdeps/powerpc/powerpc32/dl-machine.h
9625 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9626 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9627 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9628 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9629 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9630 Likewise.
9631 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9632 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9633 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9634 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9635 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9636 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9637 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9638 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9639 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9640 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9642 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9643 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9645 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9646 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9647 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9648 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9649 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9650 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9651 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9652 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9654 Likewise.
9655 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9656 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9657 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9658 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9659 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9660 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9661 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9662 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9663 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9664 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9665 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9666 Likewise.
9667 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9668 (__posix_fallocate64_l64): Likewise.
9669 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9670 (posix_fallocate): Likewise.
57f41c40
AS
9671 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9672 Likewise.
a1ffb40e 9673 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9674 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9675 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9676 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9677 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9678 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9679 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9680 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9681 (__posix_fallocate64_l64): Likewise.
9682 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9683 Likewise.
9684 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9685 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9686 (__get_clockfreq): Likewise.
a1ffb40e
OB
9687 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9688 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9689 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9692 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9693 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9694 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9695 Likewise.
9696 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9697 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9698 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9700 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9701 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9702 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9703 Likewise.
9704 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9705 (posix_fallocate): Likewise.
9706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9707 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9708 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9709 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9710 (elf_machine_rela, elf_machine_rela_relative)
9711 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9712 * time/asctime.c (asctime_internal): Likewise.
9713 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9714 * time/tzset.c (__tzset_parse_tz): Likewise.
9715 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9716 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9717 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9718 * wcsmbs/wcsmbsload.h: Likewise.
9719
f3d338c9
OB
9720 [BZ #15894]
9721 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9722
57f41c40
AS
9723 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9724 (arena_get2): Remove THREAD_STATS conditionals.
9725 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9726 (__malloc_stats, int): Likewise.
bdfe308a 9727
d674667c
MF
97282014-02-08 Mike Frysinger <vapier@gentoo.org>
9729
9730 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9731 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9732
6349768c
MF
9733 * manual/setjmp.texi: Fix typos/grammar errors.
9734
0b7c7473
MF
9735 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9736 Only return early when n is <= 0. Delete unused return statement.
9737
ac8cc9e3
MF
9738 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9739 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9740 * debug/tst-longjmp_chk3.c: New file.
9741
c5bb8e23
MF
9742 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9743 (test_main): Replace code with set_fortify_handler call.
9744 * debug/test-strcpy_chk.c: Likewise.
9745 * debug/tst-chk1.c: Likewise.
9746 * debug/tst-longjmp_chk.c: Likewise.
9747 * test-skeleton.c: Include fcntl.h & paths.h
9748 (set_fortify_handler): Define.
9749
10444e42
MF
9750 * debug/tst-longjmp_chk.c: Add header comment and include
9751 ../test-skeleton.c.
9752 (do_test): Mark static.
9753 (TEST_FUNCTION): Define.
9754
1e805e8d
MF
9755 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9756 (IP_PMTUDISC_INTERFACE): Likewise.
9757 (IP_MULTICAST_IF): Likewise.
9758 (IP_MULTICAST_TTL): Likewise.
9759 (IP_MULTICAST_LOOP): Likewise.
9760 (IP_ADD_MEMBERSHIP): Likewise.
9761 (IP_DROP_MEMBERSHIP): Likewise.
9762 (IP_UNBLOCK_SOURCE): Likewise.
9763 (IP_BLOCK_SOURCE): Likewise.
9764 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9765 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9766 (IP_MSFILTER): Likewise.
9767 (MCAST_JOIN_GROUP): Likewise.
9768 (MCAST_BLOCK_SOURCE): Likewise.
9769 (MCAST_UNBLOCK_SOURCE): Likewise.
9770 (MCAST_LEAVE_GROUP): Likewise.
9771 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9772 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9773 (MCAST_MSFILTER): Likewise.
9774 (IP_MULTICAST_ALL): Likewise.
9775 (IP_UNICAST_IF): Likewise.
9776
73f79bb7
MF
9777 * timezone/Makefile: Delete $(have-ksh) check.
9778 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9779 * timezone/tzselect.ksh: Add +x mode bits.
9780
8da79b60
MF
9781 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9782 (ANON_INODE_FS_MAGIC): Likewise.
9783 (BDEVFS_MAGIC): Likewise.
9784 (BINFMTFS_MAGIC): Likewise.
9785 (BTRFS_TEST_MAGIC): Likewise.
9786 (CRAMFS_MAGIC_WEND): Likewise.
9787 (DEBUGFS_MAGIC): Likewise.
9788 (ECRYPTFS_SUPER_MAGIC): Likewise.
9789 (EXT3_SUPER_MAGIC): Likewise.
9790 (EXT4_SUPER_MAGIC): Likewise.
9791 (FUTEXFS_SUPER_MAGIC): Likewise.
9792 (HOSTFS_SUPER_MAGIC): Likewise.
9793 (HUGETLBFS_MAGIC): Likewise.
9794 (MINIX3_SUPER_MAGIC): Likewise.
9795 (MTD_INODE_FS_MAGIC): Likewise.
9796 (NILFS_SUPER_MAGIC): Likewise.
9797 (OPENPROM_SUPER_MAGIC): Likewise.
9798 (PIPEFS_MAGIC): Likewise.
9799 (PSTOREFS_MAGIC): Likewise.
9800 (QNX6_SUPER_MAGIC): Likewise.
9801 (RAMFS_MAGIC): Likewise.
9802 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9803 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9804 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9805 (SECURITYFS_MAGIC): Likewise.
9806 (SELINUX_MAGIC): Likewise.
9807 (SMACK_MAGIC): Likewise.
9808 (SOCKFS_MAGIC): Likewise.
9809 (SQUASHFS_MAGIC): Likewise.
9810 (STACK_END_MAGIC): Likewise.
9811 (TMPFS_MAGIC): Likewise.
9812 (USBDEVICE_SUPER_MAGIC): Likewise.
9813 (V9FS_MAGIC): Likewise.
9814 (XENFS_SUPER_MAGIC): Likewise.
9815 (CRAMFS_MAGIC): Fix typo in comment.
9816 (EXT2_SUPER_MAGIC): Update comment.
9817 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9818
464263cc
JM
98192014-02-08 Joseph Myers <joseph@codesourcery.com>
9820
c6bfe5c4
JM
9821 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9822 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9823 * sysdeps/unix/sysv/linux/arm: Move directory from
9824 ports/sysdeps/unix/sysv/linux/arm.
9825 * README: Update listing for arm-*-linux-gnueabi.
9826
464263cc
JM
9827 * README: Remove mention of am33.
9828
32749f6c
RM
98292014-02-07 Roland McGrath <roland@hack.frob.com>
9830
9831 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9832 than the comma operator, to avoid "rhs of comma has no effect"
9833 compiler warnings.
9834 (__sigfillset, __sigandset, __sigorset): Likewise.
9835 * include/signal.h (__sigemptyset): Likewise.
9836 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9837
d5b396c1
AM
98382014-02-07 Allan McRae <allan@archlinux.org>
9839
9840 * version.h (RELEASE): Set to "development".
9841 (VERSION): Set to "2.19.90"
9842 * NEWS: Add 2.20 section.
9843
3bfff2ed
CD
98442014-02-06 Carlos O'Donell <carlos@redhat.com>
9845
9846 [BZ #16529]
9847 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9848
ee7cc385
SP
98492014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9850
9851 * manual/contrib.texi: Update entry for Carlos O'Donell,
9852 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9853
f877c4f2
CD
98542014-02-05 Carlos O'Donell <carlos@rehdat.com>
9855
27e839f6
CD
9856 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9857
f877c4f2
CD
9858 * sysdeps/unix/sysv/linux/kernel-features.h
9859 [__LINUX_KERNEL_VERSION >= 0x020621]
9860 (__ASSUME_PROC_PID_TASK_COMM): Define.
9861
68159946
SP
98622014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9863
ba17cdbd
SP
9864 [BZ #16398]
9865 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9866 conversion when destination buffer does not have enough space.
9867 * libio/tst-ftell-partial-wide.c: New test case.
9868 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9869
68159946
SP
9870 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9871 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9872 Leonard and Allan McRae.
9873
2b528732
DM
98742014-02-04 David S. Miller <davem@davemloft.net>
9875
9876 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9877 32-bit.
9878
0ff82463
AZ
98792014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9880
57f41c40
AS
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9882 New file
c01603f7
AZ
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9884 New file
57f41c40
AS
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9886 New file.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9888 New file.
c01603f7
AZ
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9890 New file.
57f41c40
AS
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9892 New file.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9894 New file.
c01603f7
AZ
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9896 New file.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9898 New file.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9900 New file.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9902 New file.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9904 New file.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9906 New file.
9907
99082014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9909
0ff82463
AZ
9910 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9911 * shlib-versions: Likewise.
9912
1695c773
AZ
99132014-02-04 Roland McGrath <roland@hack.frob.com>
9914 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9915
9916 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9917 (abilist-pattern): New variable, set to %-le.abilist.
9918
9919 * Makerules (abilist-pattern): New variable.
9920 (vpath): Use $(abilist-pattern) in place of %.abilist.
9921 (check-abi-% pattern rule): Likewise.
9922 (check-abi, update-abi): Likewise.
9923
6c0ce4b4
EW
99242014-02-04 Eric Wong <normalperson@yhbt.net>
9925
9926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9927
481e3524
CD
99282014-02-03 Carlos O'Donell <carlos@redhat.com>
9929
9930 * manual/startup.texi: Add next, previous, and top entries for
9931 the `Program Arguments' and `Environment Variables' nodes.
9932
375592d3
AO
99332014-02-03 Alexandre Oliva <aoliva@redhat.com>
9934
9935 * manual/macros.texi: Add comments before MTASC-safety macros.
9936
f54838ba
AO
9937 * manual/users.texi: Document MTASC-safety properties.
9938
57f41c40
AS
9939 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9940 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9941 @deftypefun, and add @safety note.
9942 * manual/signal.texi: Move comments that analyze the above
9943 functions to their home place.
9944
fd3daba4
AM
99452014-02-03 Allan McRae <allan@archlinux.org>
9946
9947 * po/sl.po: Update Slovenian translation from translation project.
9948
597636d7
AO
99492014-02-02 Alexandre Oliva <aoliva@redhat.com>
9950
9951 * manual/time.texi (timegm): Add missing blank after @c.
9952 Reported by Joseph Myers <joseph@codesourcery.com>.
9953
ee196e3c
AO
99542014-02-01 Alexandre Oliva <aoliva@redhat.com>
9955
9956 * manual/check-safety.sh: New.
9957 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9958
f8d529d5
AO
9959 * manual/terminal.texi: Document MTASC-safety properties.
9960
de55fdf4
AO
9961 * manual/filesys.texi: Document MTASC-safety properties.
9962
c3299c08
AO
9963 * manual/errno.texi: Document MTASC-safety properties.
9964
06e90b14
AO
9965 * manual/intro.texi: Document safety identifiers and
9966 conditionals.
9967
1acd4371
AO
9968 * manual/string.texi (wcstok): Fix prototype.
9969 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9970
23e5b8cb
AO
9971 * manual/time.texi: Document MTASC-safety properties.
9972
11087373
AO
9973 * manual/string.texi: Document MTASC-safety properties.
9974
5da2c93d
AO
9975 * manual/threads.texi: Document MTASC-safety properties.
9976
171e9210
AO
9977 * manual/stdio.texi: Document MTASC-safety properties.
9978
d9e02532
AO
9979 * manual/syslog.texi: Document MTASC-safety properties.
9980
6af8bab7
AO
9981 * manual/sysinfo.texi: Document MTASC-safety properties.
9982
663b02d7
AO
9983 * manual/startup.texi: Document MTASC-safety properties.
9984
973f180b
AO
9985 * manual/socket.texi: Document MTASC-safety properties.
9986
8f3c25c8
AO
9987 * manual/signal.texi: Document MTASC-safety properties.
9988
542210fb
AO
99892014-01-31 Alexandre Oliva <aoliva@redhat.com>
9990
9991 * manual/setjmp.texi: Document MTASC-safety properties.
9992
433c45a2
AO
9993 * manual/search.texi: Document MTASC-safety properties.
9994
c8ce789c
AO
9995 * manual/resource.texi: Document MTASC-safety properties.
9996
19f5d29c
AO
9997 * manual/process.texi: Document MTASC-safety properties.
9998
e2dfb7f4
AO
9999 * manual/platform.texi: Document MTASC-safety properties.
10000
8c1413f5
AO
10001 * manual/pipe.texi: Document MTASC-safety properties.
10002
03483ada
AO
10003 * manual/pattern.texi: Document MTASC-safety properties.
10004
29e7e2df
AO
10005 * manual/message.texi: Document MTASC-safety properties.
10006
9f529d7c
AO
10007 [BZ #12751]
10008 * manual/memory.texi: Document MTASC-safety properties.
10009
27aaa791
AO
10010 * manual/math.texi: Document MTASC-safety properties.
10011
f2d58726
AO
10012 * manual/locale.texi: Document MTASC-safety properties.
10013
2cc3615c
AO
10014 * manual/llio.texi: Document MTASC-safety properties.
10015
d9f0ec97
AO
10016 * manual/libdl.texi: New.
10017
e7c4409a
AO
10018 * manual/lang.texi: Document MTASC-safety properties.
10019
27bdc63c
AO
10020 * manual/job.texi: Document MTASC-safety properties.
10021
a7b90ea9
AO
10022 * manual/getopt.texi: Document MTASC-safety properties.
10023
c49130e3
AO
10024 * manual/ctype.texi: Document MTASC-safety properties.
10025
0d23a5c1
MR
100262014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10027
10028 [BZ #16046]
10029 * csu/libc-tls.c (static_map): Remove variable.
10030 (__libc_setup_tls): Use main executable's link map for TLS data.
10031 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10032 casing for LM_ID_BASE and GL(dl_nns).
10033 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10034 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10035 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10036 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10037 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10038 member.
10039 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10040 l_phnum members.
10041
0037bb60
AO
100422014-01-30 Alexandre Oliva <aoliva@redhat.com>
10043
10044 * manual/debug.texi: Document MTASC-safety properties.
10045
409e00bd
L
100462014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10047
10048 [BZ #16510]
10049 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10050 of __x86_64__ when disabling x87 inline functions.
10051
86e60666
AO
100522014-01-29 Alexandre Oliva <aoliva@redhat.com>
10053
10054 * manual/charset.texi: Document MTASC-safety properties.
10055
76167637
AO
10056 * manual/crypt.texi: Document MTASC-safety properties.
10057
e567f2a0
AO
10058 * manual/conf.texi: Document MTASC-safety properties.
10059
b719dafd
AO
10060 * manual/arith.texi: Document MTASC-safety properties.
10061
4a16c662
AO
10062 * manual/argp.texi: Document MTASC-safety properties.
10063
0a57b83e
AO
10064 * manual/macros.texi: Introduce macros to document multi
10065 thread, asynchronous signal and asynchronous cancellation
10066 safety properties.
10067 * manual/intro.texi: Introduce the properties themselves.
10068
feab2397
KK
100692014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10070
10071 * sysdeps/sh/sh4/Makefile: New file.
10072
1c0d11bc
AS
100732014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10074
10075 * math/gen-libm-test.pl ($srcdir): New variable.
10076 ($auto_input): Use it.
10077
af37a8a3
SP
100782014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10079
d7b00f98
SP
10080 [BZ #16506]
10081 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10082 access beyond array bounds when parsing netgroups file.
10083
af37a8a3
SP
10084 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10085 the old buffer before realloc.
10086
0c00f062
AM
100872014-01-27 Allan McRae <allan@archlinux.org>
10088
10089 * po/fr.po: Update French translation from translation project.
10090
7d69a1b0
KK
100912014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10092
10093 * sysdeps/sh/libm-test-ulps: Regenerate.
10094
6e697ff7
DM
100952014-01-24 David S. Miller <davem@davemloft.net>
10096
10097 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10098
9cadb35c
KK
100992014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10100
10101 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10102 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10103
5d41dadf
SP
101042013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10105
10106 [BZ #16474]
10107 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10108 string pointers after reallocation.
10109
0bad441c
KK
101102014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10111
10112 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10113 __SH4A__ instead of __SH_FPU_ANY__.
10114
7007c661
KK
101152014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10116
10117 * sysdeps/sh/fpu_control.h: New file.
10118 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10119 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10120 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10121 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10122 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10123 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10124 * sysdeps/sh/sys/ucontext.h: Remove.
10125 * sysdeps/sh/sys: Remove directory.
10126
0f0c35e4
AK
101272014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10128
10129 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10130 s390/sys/ucontext.h.
10131 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10132 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10133
4959e284
L
101342014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10135
10136 [BZ #15605]
10137 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10138
d98720e0
AZ
101392014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10140
10141 [BZ#16431]
10142 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10143 Adjust the vDSO correctly for internal calls.
10144 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10145
91cbd0bc
AM
101462014-01-20 Allan McRae <allan@archlinux.org>
10147
10148 * po/ca.po: Update Catalan translation from translation project.
10149
7a02cfad
MF
101502014-01-16 Mike Frysinger <vapier@gentoo.org>
10151
10152 * sysdeps/s390/sotruss-lib.c: New file.
10153
736c304a
AZ
101542014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10155
10156 [BZ#16430]
6e077ee5 10157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10158 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10159 local calls issues by not having a PLT stub required for IFUNC calls.
10160 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10161
94d0cea0
JM
101622014-01-16 Joseph Myers <joseph@codesourcery.com>
10163
10164 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10165 * math/test-fpucw-static.c: Likewise.
10166
980cb518
SP
101672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10168
10169 [BZ #16453]
10170 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10171
2393fc01
AZ
101722014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10173
10174 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10175 implementation for powerpc.
10176
d359bcc2
OB
101772014-01-15 Ondřej Bílka <neleai@seznam.cz>
10178
10179 [BZ #14782]
10180 * sysdeps/posix/system.c (__libc_system): Do not enable
10181 asynchronous cancellation.
10182
7beb48cb
AK
101832014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10184
10185 [BZ #16427]
10186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10187 handling only for numbers special also in the IEEE case.
10188
c20d5bf5
AK
101892014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10190
10191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10192
e83bd4ee
AM
101932014-01-11 Allan McRae <allan@archlinux.org>
10194
76d0ea69
AM
10195 * po/bg.po: Update Bulgarian translation from translation project.
10196
e83bd4ee
AM
10197 * po/de.po: Update German translation from translation project.
10198
bc2ba20a
RM
101992014-01-10 Roland McGrath <roland@hack.frob.com>
10200
10201 * sysdeps/generic/gcc-compat.h: New file.
10202
649ecea2
SP
102032014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10204
10205 * benchtests/asin-inputs: Correct slow inputs.
10206 * benchtests/acos-inputs: Likewise.
10207
1b19c006
AM
102082014-01-10 Allan McRae <allan@archlinux.org>
10209
a46dab08
AM
10210 * po:sv.po: Update Swedish translation from translation project.
10211
421df74a
AM
10212 * po/vi.po: Update Vietnamese translation from translation project.
10213
d61c51a7
AM
10214 * po/eo.po: Update Esperanto translation from translation project.
10215
0339a319
AM
10216 * po/cs.po: Update Czech translation from translation project.
10217
94ad3e99
AM
10218 * po/nl.po: Update Dutch translation from translation project.
10219
e349ca71
AM
10220 * po/pl.po: Update Polish translation from translation project.
10221
ddf930c1
AM
10222 * po/ru.po: Update Russian translation from translation project.
10223
1b19c006
AM
10224 * po/uk.po: Update Ukrainian translation from translation project.
10225
9f236c49
BM
102262014-01-08 Brooks Moses <bmoses@google.com>
10227
10228 * elf/dl-load.c: Fix comment typo.
10229
cd6701cf
CD
102302014-01-08 Carlos O'Donell <carlos@redhat.com>
10231
10232 * po/header.pot: Rename to...
10233 * po/pot.header: ... this.
10234 * po/Makefile: Use pot.header.
10235
66671c84
YK
102362014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10237 Maxim Kuvyrkov <maxim@kugelworks.com>
10238
10239 [BZ #16394]
cd6701cf
CD
10240 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10241 SRC and DEST against LEN.
66671c84 10242
38f34581
AZ
102432014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10244
10245 [BZ #16414]
10246 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10247 implementation.
10248 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10249
102502014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10251
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10253
4c327f2a
JM
102542014-01-08 Joseph Myers <joseph@codesourcery.com>
10255
10256 [BZ #16408]
10257 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10258 for large positive arguments.
10259
b821f414
JM
102602014-01-07 Joseph Myers <joseph@codesourcery.com>
10261
1f0f2067
JM
10262 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10263
a5a326f6
JM
10264 * math/auto-libm-test-in: Mark various tests with
10265 xfail-rounding:ldbl-128ibm.
10266 * math/auto-libm-test-out: Regenerated.
10267
b821f414
JM
10268 [BZ #16407]
10269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10270 Increase overflow threshold.
10271
94c8a4bc
OB
102722014-01-07 Ondřej Bílka <neleai@seznam.cz>
10273
10274 [BZ #14286]
10275 * stdio-common/vfprintf.c: Check for integer overflow.
10276
87ded0c3
AK
102772014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10278
10279 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10280 the first argument and return value of __tls_get_addr_internal.
10281
c5eebdd0
AK
102822014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10283
10284 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10285 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10286
05d138ef
AK
102872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10288
10289 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10290 * sysdeps/s390/rtld-global-offsets.sym: New file.
10291 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10292 GLIBC_2.19 symbol.
10293 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10294 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10295 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10296 ... this.
10297 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10298 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10299 ... this.
10300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10301 Regenerate.
10302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10303 Regenerate.
10304 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10305 halfs of GPRs for high_gprs contexts.
10306 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10307 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10308 field.
10309 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10310 uc_flags field.
10311 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10312 64 bit versions:
10313 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10314 for high GPRs (uc_high_gprs) and for future extensions
10315 (__reserved).
10316 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10317 for future extensions (__reserved).
10318 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10319 64 bit versions:
10320 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10321 SC_HIGHGPRS offset definition.
10322 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10323 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10324
93a45ff1
AK
10325 * Versions.def: Add GLIBC_2.19 for libpthread.
10326 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10327 siglongjmp for libpthread with GLIBC_2.19 symver.
10328 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10329 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10330 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10331 * sysdeps/s390/__longjmp.c: New file.
10332 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10333 * sysdeps/s390/longjmp.c: New file.
10334 * sysdeps/s390/setjmp.S: New file.
10335 * sysdeps/s390/sigjmp.S: New file.
10336 * sysdeps/s390/v1-longjmp.c: New file.
10337 * sysdeps/s390/v1-setjmp.h: New file.
10338 * sysdeps/s390/v1-sigjmp.c: New file.
10339 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10340 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10341 GLIBC_2.19 version.
10342 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10343 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10344 versioned symbols for ____longjmp_chk.
10345 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10346 Likewise.
10347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10348 Regenerate.
10349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10350 Regenerate.
10351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10352 Regenerate.
10353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10354 Regenerate.
10355 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10356 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10357 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10358 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10359 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10360 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10361 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10362 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10363 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10364 * sysdeps/s390/rtld-__longjmp.c: New file.
10365 * sysdeps/s390/rtld-setjmp.S: New file.
10366
eb3fc44b
JM
103672014-01-06 Joseph Myers <joseph@codesourcery.com>
10368
10369 [BZ #16400]
10370 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10371 Return -__logl (x) for small positive arguments without evaluating
10372 a polynomial.
10373
9341dde4
MF
103742014-01-06 Mike Frysinger <vapier@gentoo.org>
10375
10376 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10377 Rename to ...
10378 (__ptrace_peeksiginfo_args): ... this.
10379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10382
4cff0293
AM
103832014-01-06 Allan McRae <allan@archlinux.org>
10384
10385 * inet/netinet/in.h: Fix typo in comment.
10386
75595dcf
AJ
103872014-01-05 Andreas Jaeger <aj@suse.de>
10388
10389 * sysdeps/i386/fpu/libm-test-ulps: Update.
10390
79c1e109
AM
103912014-01-05 Allan McRae <allan@archlinux.org>
10392
dd804818
AM
10393 * po/libc.pot: Regenerated.
10394
79c1e109
AM
10395 * malloc/memusagestat.c: Fix gettext call formatting.
10396
0c813d1f
SK
103972014-01-04 Sami Kerola <kerolasa@iki.fi>
10398
10399 * nscd/nscd.c: Improve usage() output.
10400
20f4a8d9
MF
104012014-01-04 Mike Frysinger <vapier@gentoo.org>
10402
10403 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10404 * sysdeps/unix/sysv/linux/configure: Regenerated.
10405 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10406 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10407
22562bb2
JM
104082014-01-03 Joseph Myers <joseph@codesourcery.com>
10409
10410 [BZ #16390]
10411 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10412 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10413
d7ad2d9b
AZ
104142014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10415
10416 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10417 extra tokens at end of #undef directive.
10418 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10419 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10420 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10421
7dd009d8
JM
104222014-01-03 Joseph Myers <joseph@codesourcery.com>
10423
24db925a
JM
10424 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10425
7dd009d8
JM
10426 * math/auto-libm-test-in: Mark various tests with
10427 xfail-rounding:ldbl-128ibm.
10428 * math/auto-libm-test-out: Regenerated.
10429
396e3ecf
JM
104302014-01-02 Joseph Myers <joseph@codesourcery.com>
10431
819e5d50
JM
10432 [BZ #16386]
10433 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10434 numbers with subnormal high part when calculating exponent.
10435
90b6a1e5
JM
10436 [BZ #16385]
10437 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10438 fabs.
10439
396e3ecf
JM
10440 [BZ #16384]
10441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10442 M_LN2l.
10443 (__ieee754_acoshl): Use __log1pl not __log1p.
10444
6c8dbf00
OB
104452013-01-02 Ondřej Bílka <neleai@seznam.cz>
10446
57f41c40
AS
10447 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10448 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10449 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10450 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10451 (reused_arena, arena_get2): Convert to GNU style.
10452 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10453 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10454 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10455 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10456 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10457 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10458 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10459 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10460 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10461 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10462 * malloc/malloc.h: Likewise.
57f41c40
AS
10463 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10464 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10465 * malloc/mcheck.h: Likewise.
57f41c40
AS
10466 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10467 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10468 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10469 * malloc/morecore.c (__default_morecore): Likewise.
10470 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10471 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10472 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10473 (print_and_abort): Likewise.
6c8dbf00
OB
10474 * malloc/obstack.h: Likewise.
10475 * malloc/set-freeres.c (__libc_freeres): Likewise.
10476 * malloc/tst-mallocstate.c (main): Likewise.
10477 * malloc/tst-mtrace.c (main): Likewise.
10478 * malloc/tst-realloc.c (do_test): Likewise.
10479
d4124212
SP
104802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10481
9a3c6a6f
SP
10482 [BZ #16366]
10483 * nscd/netgroupcache.c (do_notfound): New function.
10484 (addgetnetgrentX): Use it.
10485
d4124212
SP
10486 [BZ # 16365]
10487 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10488 NSS_STATUS_NOTFOUND.
10489
97b9a009
JM
104902014-01-01 Joseph Myers <joseph@codesourcery.com>
10491
10492 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10494
d4697bc9
AM
104952014-01-01 Allan McRae <allan@archlinux.org>
10496
ddb3687f
AM
10497 * scripts/update-copyrights: Update configure input file suffix.
10498
88726d48
AM
10499 * NEWS: Update copyright year.
10500 * catgets/gencat.c: Likewise.
10501 * csu/version.c: Likewise.
10502 * debug/catchsegv.sh: Likewise.
10503 * debug/pcprofiledump.c: Likewise.
10504 * debug/xtrace.sh: Likewise.
10505 * elf/ldconfig.c: Likewise.
10506 * elf/ldd.bash.in: Likewise.
10507 * elf/pldd.c: Likewise.
10508 * elf/sotruss.ksh: Likewise.
10509 * elf/sprof.c: Likewise.
10510 * iconv/iconv_prog.c: Likewise.
10511 * iconv/iconvconfig.c: Likewise.
10512 * locale/programs/locale.c: Likewise.
10513 * locale/programs/localedef.c: Likewise.
10514 * login/programs/pt_chown.c: Likewise.
10515 * malloc/memusage.sh: Likewise.
10516 * malloc/memusagestat.c: Likewise.
10517 * malloc/mtrace.pl: Likewise.
10518 * manual/libc.texinfo: Likewise.
10519 * nscd/nscd.c: Likewise.
10520 * nss/getent.c: Likewise.
10521 * nss/makedb.c: Likewise.
10522 * posix/getconf.c: Likewise.
10523 * scripts/test-installation.pl: Likewise.
10524
d4697bc9
AM
10525 * All files with FSF copyright notices: Update copyright dates
10526 using scripts/update-copyrights.
10527 * intl/plural.c: Regenerated.
10528 * locale/programs/charmap-kw.h: Likewise.
10529 * locale/programs/locfile-kw.h: Likewise.
10530
c8590f9d
MF
105312013-12-31 Mike Frysinger <vapier@gentoo.org>
10532
10533 * sysdeps/unix/sysv/linux/configure: Regenerated.
10534 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10535 the linux/fanotify.h header.
10536 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10537 HAVE_LINUX_FANOTIFY_H is defined.
10538
b19221b9
SP
105392013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10540
dd1d85e5
SP
10541 * benchtests/cos-inputs: New inputs.
10542 * benchtests/sin-inputs: Likewise.
10543
1acbb90f
SP
10544 * benchtests/atan-inputs: New inputs. Fix name of multiple
10545 precision fallback inputs.
10546
4c012ed3
SP
10547 * benchtests/atanh-inputs: New inputs.
10548 * benchtests/tanh-inputs: Likewise.
10549
eff98324
SP
10550 * benchtests/acosh-inputs: New inputs.
10551 * benchtests/asinh-inputs: Likewise.
10552
ce641152
SP
10553 * benchtests/cosh-inputs: New inputs.
10554 * benchtests/sinh-inputs: Likewise.
10555
b19221b9
SP
10556 * benchtests/acos-inputs: Add more inputs.
10557 * benchtests/asin-inputs: Likewise.
10558
030a4976 105592013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10560
030a4976 10561 [BZ #16375]
9dcc8f11
VS
10562 * manual/arith.texi: Fix spelling.
10563 * manual/charset.texi: Likewise.
10564 * manual/errno.texi: Likewise.
10565 * manual/filesys.texi: Likewise.
10566 * manual/lang.texi: Likewise.
10567 * manual/llio.texi: Likewise.
10568 * manual/locale.texi: Likewise.
10569 * manual/message.texi: Likewise.
10570 * manual/resource.texi: Likewise.
10571 * manual/search.texi: Likewise.
10572 * manual/setjmp.texi: Likewise.
10573 * manual/stdio.texi: Likewise.
10574 * manual/string.texi: Likewise.
10575 * manual/sysinfo.texi: Likewise.
10576 * manual/time.texi: Likewise.
10577
11520a57
CD
105782013-12-27 Carlos O'Donell <carlos@redhat.com>
10579
10580 * po/sl.po: New file.
10581
471103ae
MF
105822013-12-27 Mike Frysinger <vapier@gentoo.org>
10583
10584 * .gitignore: Add core/.gdbinit/.gdb_history.
10585
6c9642ed
AM
105862013-12-27 Allan McRae <allan@archlinux.org>
10587
10588 [BZ #16369]
10589 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10590 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10591
3f637079
BM
105922013-12-24 Brooks Moses <bmoses@google.com>
10593
10594 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10595 all compilers that claim C++98 compliance, not just GCC.
10596 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10597 Likewise.
10598
abc26e99
MK
105992013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10600
10601 * NEWS: Restore accidentally deleted bug-fix entries.
10602
362b47fe
MK
106032013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10604 Ondřej Bílka <neleai@seznam.cz>
10605
10606 [BZ #15073]
10607 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10608 have_lock.
362b47fe 10609
b9bcbbcb
OB
106102013-12-23 Ondřej Bílka <neleai@seznam.cz>
10611
10612 [BZ #12986]
10613 * manual/stdio.texi (String Input Conversions): Clarify that character
10614 classes are not supported.
10615
fb55fcd2
AZ
106162013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10617
10618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10619
ef7344f0
JM
106202013-12-22 Joseph Myers <joseph@codesourcery.com>
10621
4f40e4b3
JM
10622 [BZ #16337]
10623 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10624 Calculate results for small negative arguments directly rather
10625 than using reflection formula with special underflow handling.
10626
ef7344f0
JM
10627 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10628 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10629 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10630 (fchflags): Likewise.
10631 (revoke): Likewise.
10632 (setlogin): Likewise.
10633 (sigaltstack): Likewise.
10634 (wait4): Likewise.
10635 (sigblock): Remove.
10636 (sigsetmask): Likewise.
10637 (wait3): Likewise.
10638 (waitpid): Likewise.
10639 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10640 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10641 file.
10642 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10643 * sysdeps/unix/bsd/Makefile: ... here.
10644 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10645 * sysdeps/unix/bsd/Versions: ... here.
10646 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10647 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10648 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10649 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10650 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10651 * sysdeps/unix/bsd/sigblock.c: ... here.
10652 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10653 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10654 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10655 * sysdeps/unix/bsd/sigvec.c: ... here.
10656 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10657 * sysdeps/unix/bsd/tcdrain.c: ... here.
10658 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10659 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10660 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10661 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10662 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10663 * sysdeps/unix/bsd/wait.c: ... here.
10664 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10665 * sysdeps/unix/bsd/wait3.c: ... here.
10666 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10667 * sysdeps/unix/bsd/waitpid.c: ... here.
10668
5b0626b9
JM
106692013-12-21 Joseph Myers <joseph@codesourcery.com>
10670
10671 [BZ #16356]
10672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10673 round-to-nearest for [!USE_AS_EXPM1L].
10674 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10675 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10676 more tests of exp and exp10. Expect some exp10 tests to miss
10677 exceptions or fail in directed rounding modes.
10678 * math/auto-libm-test-out: Regenerated.
10679 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10680 (exp10_test_tonearest): New function.
10681 (exp10_towardzero_test_data): New array.
10682 (exp10_test_towardzero): New function.
10683 (exp10_downward_test_data): New array.
10684 (exp10_test_downward): New function.
10685 (exp10_upward_test_data): New array.
10686 (exp10_test_upward): New function.
10687 (main): Call the new functions.
10688 * sysdeps/i386/fpu/libm-test-ulps: Update.
10689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10690
7fda5682
JM
106912013-12-20 Joseph Myers <joseph@codesourcery.com>
10692
31e3a405
JM
10693 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10694 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10695 * math/auto-libm-test-out: Regenerated.
10696 * math/libm-test.inc (acosh_test_data): Add more tests.
10697 (atanh_test_data): Likewise.
10698 (ceil_test_data): Likewise.
10699 (copysign_test_data): Likewise.
10700 * sysdeps/i386/fpu/libm-test-ulps: Update.
10701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10702
85bff96a
JM
10703 * timezone/checktab.awk: Update from tzcode 2013i.
10704 * timezone/private.h: Likewise.
10705 * timezone/scheck.c: Likewise.
10706 * timezone/tzfile.h: Likewise.
10707 * timezone/tzselect.ksh: Likewise.
10708 * timezone/zdump.c: Likewise.
10709 * timezone/zic.c: Likewise.
10710
b7867a3b
JM
10711 * math/auto-libm-test-in: Add tests of cpow.
10712 * math/auto-libm-test-out: Regenerated.
10713 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10714 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10715 mpc_cc_c.
10716 (func_calc_desc): Add mpc_cc_c union field.
10717 (test_functions): Add cpow.
10718 (special_fill_2pi): New function.
10719 (special_real_inputs): Add 2pi.
10720 (calc_generic_results): Handle mpc_cc_c.
10721 * sysdeps/i386/fpu/libm-test-ulps: Update.
10722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10723
7fda5682
JM
10724 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10725 csqrt, ctan and ctanh.
10726 * math/auto-libm-test-out: Regenerated.
10727 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10728 (TEST_COND_x86): Likewise.
10729 (ccos_test_data): Use AUTO_TESTS_c_c.
10730 (ccosh_test_data): Likewise.
10731 (cexp_test_data): Likewise.
10732 (clog_test_data): Likewise.
10733 (csqrt_test_data): Likewise.
10734 (ctan_test_data): Likewise.
10735 (ctan_tonearest_test_data): Likewise.
10736 (ctan_towardzero_test_data): Likewise.
10737 (ctan_downward_test_data): Likewise.
10738 (ctan_upward_test_data): Likewise.
10739 (ctanh_test_data): Likewise.
10740 (ctanh_tonearest_test_data): Likewise.
10741 (ctanh_towardzero_test_data): Likewise.
10742 (ctanh_downward_test_data): Likewise.
10743 (ctanh_upward_test_data): Likewise.
10744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10745 mpc_c_c.
10746 (func_calc_desc): Add mpc_c_c union field.
10747 (FUNC_mpc_c_c): New macro.
10748 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10749 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10750 ctanh.
10751 (special_fill_min_subnorm_p120): New function.
10752 (special_real_inputs): Add min_subnorm_p120.
10753 (calc_generic_results): Handle mpc_c_c.
10754 * sysdeps/i386/fpu/libm-test-ulps: Update.
10755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10756
5ff8d60e
SP
107572013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10758
57f41c40
AS
10759 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10760 (do_sin_slow): New functions.
10761 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10762 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10763
84ba214c
SP
10764 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10765 Use M to change sign of result instead of X. Assume X is
10766 positive.
10767 (csloww1): Likewise.
10768 (__sin): Adjust.
10769 (__cos): Adjust.
10770
975195e4
SP
10771 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10772 arguments A and DA.
10773 (__sin): Adjust.
10774 (__cos): Likewise.
10775
5ff8d60e
SP
10776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10777 (__cos): Likewise.
10778 (sloww1): Don't adjust sign of DX.
10779 (csloww1): Likewise.
10780 (sloww2): Use X directly and don't adjust sign of DX.
10781 (csloww2): Likewise.
10782
eb983568
JM
107832013-12-19 Joseph Myers <joseph@codesourcery.com>
10784
64a17f1a
JM
10785 * math/auto-libm-test-in: Add tests of cabs and carg.
10786 * math/auto-libm-test-out: Regenerated.
10787 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10788 (carg_test_data): Likewise.
10789 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10790 mpc_c_f.
10791 (func_calc_desc): Add mpc_c_f union field.
10792 (test_functions): Add cabs and carg.
10793 (calc_generic_results): Handle mpc_c_f.
10794
eb983568
JM
10795 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10796 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10797 as a macro and a compat symbol.
10798 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10799 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10800 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10801 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10802 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10803 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10804 not use .hidden.
10805 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10806 Likewise.
10807 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10808 Likewise.
10809 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10810 Likewise.
10811 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10812 Likewise.
10813 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10814 Likewise.
10815 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10816 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10817 from GLIBC_2.3.2.
10818
6eeb678a
AZ
108192013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10820
10821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10822
6f6fc482
JM
108232013-12-19 Joseph Myers <joseph@codesourcery.com>
10824
21fea2e2
JM
10825 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10826 trailing whitespace removed.
10827 * scripts/config.guess: Update to version 2013-11-29.
10828 * scripts/config.sub: Update to version 2013-10-01.
10829
6f6fc482
JM
10830 * math/auto-libm-test-in: Add tests of sincos.
10831 * math/auto-libm-test-out: Regenerated.
10832 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10833 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10834 mpfr_f_11.
10835 (func_calc_desc): Add mpfr_f_11 union field.
10836 (test_functions): Add sincos.
10837 (calc_generic_results): Handle mpfr_f_11.
10838 * sysdeps/i386/fpu/libm-test-ulps: Update.
10839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10840
83f5c32d
AS
108412013-12-19 Andreas Schwab <schwab@suse.de>
10842
10843 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10844 CALL_MCOUNT.
10845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10846 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10847 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10848
c688b419
JM
108492013-12-19 Joseph Myers <joseph@codesourcery.com>
10850
335ee092
JM
10851 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10852 * sysdeps/i386/fpu/libm-test-ulps: Update.
10853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10854
f88acd39
JM
10855 [BZ #16293]
10856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10857 round-to-nearest mode when using frndint.
10858 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10859 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10860 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10861 Likewise.
10862 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10863 sinh test to fail.
10864 * math/auto-libm-test-out: Regenerated.
10865 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10866 (TEST_COND_x86): Likewise.
10867 (expm1_tonearest_test_data): New array.
10868 (expm1_test_tonearest): New function.
10869 (expm1_towardzero_test_data): New array.
10870 (expm1_test_towardzero): New function.
10871 (expm1_downward_test_data): New array.
10872 (expm1_test_downward): New function.
10873 (expm1_upward_test_data): New array.
10874 (expm1_test_upward): New function.
10875 (main): Run the new test functions.
10876 * sysdeps/i386/fpu/libm-test-ulps: Update.
10877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10878
c688b419
JM
10879 * include/features.h: Update comment documenting feature test
10880 macros. Mention _DEFAULT_SOURCE in comment.
10881 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10882 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10883 _BSD_SOURCE and _SVID_SOURCE.
10884 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10885 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10886 !_SVID_SOURCE]: Likewise.
10887 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10888 (__USE_POSIX_IMPLICITLY): Define.
10889 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10890 (_POSIX_SOURCE): Undefine and redefine.
10891 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10892 (_POSIX_C_SOURCE): Likewise.
10893 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10894 (Feature Test Macros): Update documentation of default features.
10895
9f6e964c
RS
108962013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10897
10898 * benchtests/Makefile: Add bench-strtok.
10899 * benchtests/bench-strtok.c: New file: strtok benchtest.
10900
ee0a148a
AM
109012013-12-19 Allan McRae <allan@archlinux.org>
10902
10903 * manual/install.texi: Suppress menu for plain text output.
10904 * INSTALL: Regenerated.
10905
b9ab448f
BM
109062013-12-18 Brooks Moses <bmoses@google.com>
10907
10908 [BZ #15846]
10909 * misc/getauxval.c: Include errno.h.
10910 (__getauxval): Set errno to ENOENT if the requested type is not
10911 found.
10912 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10913 don't declare with __attribute_const__.
10914 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10915 * manual/startup.texi: Document that getauxval sets errno.
10916
23776487
JM
109172013-12-18 Joseph Myers <joseph@codesourcery.com>
10918
f889953b
JM
10919 * math/auto-libm-test-in: Add tests of jn and yn.
10920 * math/auto-libm-test-out: Regenerated.
10921 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10922 (yn_test_data): Likewise.
10923 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10924 mpfr_if_f.
10925 (func_calc_desc): Add mpfr_if_f union field.
10926 (FUNC_mpfr_if_f): New macro.
10927 (test_functions): Add jn and yn.
10928 (calc_generic_results): Assert type of second input for
10929 mpfr_ff_f. Handle mpfr_if_f.
10930 (output_for_one_input_case): Disable all checking for arguments
10931 fitting floating-point types in case of an integer argument.
10932 * sysdeps/i386/fpu/libm-test-ulps: Update.
10933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10934
23776487
JM
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10936 Don't expect fegetround reference in libm.so.
10937
cb756c6d
MS
109382013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10939
10940 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10941 $(config-cflags-nofma).
10942
2dec468f
JM
109432013-12-18 Joseph Myers <joseph@codesourcery.com>
10944
5953eb3a
JM
10945 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10946 * math/auto-libm-test-out: Regenerated.
10947
2dec468f
JM
10948 [BZ #16338]
10949 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10950 to determine exponent and adjust argument to have exponent of -1.
10951 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10952 log2.
10953 * math/auto-libm-test-out: Regenerated.
10954 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10956
4d84e6ad
OB
109572013-12-18 Ondřej Bílka <neleai@seznam.cz>
10958
10959 * manual/probes.texi: Remove cases when per-thread arenas are
10960 disabled.
10961
1818483b
AS
109622013-12-18 Andreas Schwab <schwab@suse.de>
10963
10964 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10965 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10966 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10967 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10968 * sysdeps/i386/i686/multiarch/Makefile: Update.
10969 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10970
25de95bf
JM
109712013-12-17 Joseph Myers <joseph@codesourcery.com>
10972
10973 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10974 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10975
674762d9
PE
109762013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10977
ed27ed83 10978 [BZ #15968]
0748546f
PE
10979 Support TZ transition times < 00:00:00.
10980 This is needed for version-3 tz-format files; it supports time
10981 stamps past 2037 for America/Godthab (the only entry in the tz
10982 database for which this change is relevant).
10983 * manual/time.texi (TZ Variable): Document transition times
10984 from -167:59:59 through -00:00:01.
10985 * time/tzset.c (tz_rule): Time of day is now signed.
10986 (__tzset_parse_tz): Parse negative time of day.
10987
4480e934
PE
10988 Document TZ transition times >= 25:00:00.
10989 * manual/time.texi (TZ Variable): Document transition times from
10990 25:00:00 through 167:59:59. These are already supported, and this
10991 support will help with version-3 tz-format files.
10992
69947401
PE
10993 * manual/time.texi (TZ Variable): Modernize North America example
10994 to reflect current (i.e., 2007-and-later) daylight saving rules.
10995
674762d9
PE
10996 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10997
7011c262
JM
109982013-12-17 Joseph Myers <joseph@codesourcery.com>
10999
2fc6557e
JM
11000 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11001 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11004 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11005 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11006 * sysdeps/unix/bsd/clock.c: Likewise.
11007 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11008 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11009 * sysdeps/unix/bsd/init-posix.c: Likewise.
11010 * sysdeps/unix/bsd/poll.c: Likewise.
11011 * sysdeps/unix/bsd/ptsname.c: Likewise.
11012 * sysdeps/unix/bsd/seekdir.c: Likewise.
11013 * sysdeps/unix/bsd/setegid.c: Likewise.
11014 * sysdeps/unix/bsd/seteuid.c: Likewise.
11015 * sysdeps/unix/bsd/setgid.c: Likewise.
11016 * sysdeps/unix/bsd/setrgid.c: Likewise.
11017 * sysdeps/unix/bsd/setruid.c: Likewise.
11018 * sysdeps/unix/bsd/setsid.c: Likewise.
11019 * sysdeps/unix/bsd/setuid.c: Likewise.
11020 * sysdeps/unix/bsd/sigaction.c: Likewise.
11021 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11022 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11023 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11024 * sysdeps/unix/bsd/telldir.c: Likewise.
11025 * sysdeps/unix/bsd/times.c: Likewise.
11026 * sysdeps/unix/bsd/usleep.c: Likewise.
11027
029c7b25
JM
11028 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11029 ($(objpfx)libbsd-compat.a): Remove rule.
11030
7011c262
JM
11031 * include/features.h (__FAVOR_BSD): Do not define.
11032 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11033 features conflicting with POSIX.
11034 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11035 (_BSD_SOURCE): Remove description of not being a subset of other
11036 feature test macros.
11037 * manual/job.texi (getpgrp): Do not document BSD version.
11038 (getpgid): Do not document by reference to BSD getpgrp.
11039 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11040 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11041 * signal/signal.h [__FAVOR_BSD]: Likewise.
11042 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11043 instead of making contents conditional on [__FAVOR_BSD].
11044 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11045
affb6f78
AZ
110462013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11047
11048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11049
c88769dd
JM
110502013-12-17 Joseph Myers <joseph@codesourcery.com>
11051
6432a540
JM
11052 [BZ #16314]
11053 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11054 values below 2**-450, not 2**-500.
11055 * math/auto-libm-test-in: Don't allow spurious underflow from
11056 hypot.
11057 * math/auto-libm-test-out: Regenerated.
11058
c88769dd
JM
11059 [BZ #16316]
11060 [BZ #16330]
11061 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11062 values of ha and hb and sort them after adjusting subnormal
11063 arguments.
11064 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11065 Likewise.
11066 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11067 values of ea and eb and sort them after adjusting subnormal
11068 arguments.
11069 * math/auto-libm-test-in: Do not expect some hypot tests of
11070 subnormals to fail. Add more hypot tests.
11071 * math/auto-libm-test-out: Regenerated.
11072
29618f6b
KK
110732013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11074
11075 [BZ #13304]
11076 * sysdeps/sh/s_fma.c: New file.
11077 * sysdeps/sh/s_fmaf.c: New file.
11078 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11079 version.
11080 * sysdeps/sh/Implies: Add sh/soft-fp.
11081
eacfdfbf
RM
110822013-12-16 Roland McGrath <roland@hack.frob.com>
11083
11084 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11085 level of indirection to members `objname', `errstring', `malloced'.
11086 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11087 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11088 it as the __longjmp argument (just pass 1 instead).
11089 (_dl_catch_error): Initialize C with argument pointers and address of
11090 volatile local ERRCODE rather than copying values out of C at return.
11091
ff362e5b
JM
110922013-12-16 Joseph Myers <joseph@codesourcery.com>
11093
11094 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11095 * math/auto-libm-test-out: Regenerated.
11096 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11097 (hypot_test_data): Likewise.
11098 (pow_test_data): Likewise.
11099 (pow_tonearest_test_data): Likewise.
11100 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11101 mpfr_ff_f.
11102 (func_calc_desc): Add mpfr_ff_f union field.
11103 (FUNC_mpfr_ff_f): New macro.
11104 (test_functions): Add atan2, hypot and pow.
11105 (special_fill_min): New function.
11106 (special_fill_minus_min): Likewise.
11107 (special_fill_min_subnorm): Likewise.
11108 (special_fill_minus_min_subnorm): Likewise.
11109 (special_real_inputs): Add min, -min, min_subnorm and
11110 -min_subnorm.
11111 (calc_generic_results): Handle mpfr_ff_f.
11112 * sysdeps/i386/fpu/libm-test-ulps: Update.
11113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11114
5764c27f
WN
111152013-12-16 Will Newton <will.newton@linaro.org>
11116
11117 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11118 (Aligned Memory Blocks): Add documentation for aligned_alloc
11119 and suggest it as an alternative to posix_memalign.
11120 (Hooks for Malloc): Document __memalign_hook is also called
11121 for aligned_alloc. (Summary of Malloc): Add summary for
11122 aligned alloc. Document __memalign_hook is also called
11123 for aligned_alloc.
11124
0a096e44
WN
111252013-12-16 Will Newton <will.newton@linaro.org>
11126
11127 * manual/memory.texi (Malloc Examples): Clarify default
11128 alignment documentation. Suggest posix_memalign rather
11129 than memalign or valloc.
11130 (Aligned Memory Blocks): Remove suggestion to use memalign
11131 or valloc. Remove obsolete comment about BSD.
11132 Document memalign errno values and mark the function obsolete.
11133 Document posix_memalign returned error codes. Mark valloc
11134 as obsolete. (Hooks for Malloc): __memalign_hook is also
11135 called for posix_memalign and valloc.
11136 (Summary of Malloc): Add posix_memalign to function summary.
11137 __memalign_hook is also called for posix_memalign and valloc.
11138
8d561986
SP
111392013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11140
11141 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11142 TAYLOR_SIN.
11143 (__sin): Adjust.
11144 (__cos): Likewise.
11145 (sloww): Use mynumber union. Expand ternary operator into
11146 if-else statements.
11147 (cslow): use mynumber union.
11148
73616a74
AM
111492013-12-16 Allan McRae <allan@archlinux.org>
11150
9e8ac24b
AM
11151 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11152 * configure: Regenerated.
11153
6f8e37eb
AM
11154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11155
8894bad3
AM
11156 [BZ #14120]
11157 * configure.ac: Added --enable-maintainer-mode. Check for
11158 autoconf when enabled.
11159 * configure: Regenerated.
11160
73616a74
AM
11161 * nscd/nscd.service: New file.
11162 * nscd/nscd.tmpfiles: New file.
11163
584b18eb
OB
111642013-12-14 Ondřej Bílka <neleai@seznam.cz>
11165
11166 [BZ #12100]
11167 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11168 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11169 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11170 (strstr): Add __strstr_sse2_unaligned ifunc.
11171 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11172 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11173 (strcasestr): Remove __strcasestr_sse42 ifunc.
11174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11177
8a5c7897
KK
111782013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11179
11180 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11181 * sysdeps/sh/bits/fenv.h: ... here.
11182 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11183
fd712ef3
AZ
111842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11185
11186 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11187
42fcb46c
AZ
11188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11189 hypotf multiarch implementations.
11190 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11191 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11193 multiarch hypot for PPC64.
11194 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11195 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11197 multiarch hypotf for PPC64.
11198
83efded4
AZ
11199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11200 modff multiarch implementations.
11201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11204 multiarch modf for PPC64.
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11208 multiarch modff for PPC64.
11209
43e246d2
AZ
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11211 and logl multiarch implementations.
11212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11215 multiarch logb for PPC64.
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11219 multiarch logb for PPC64.
11220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11223 multiarch logb for PPC64.
11224
8fdad123
AZ
11225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11226 isinff multiarch implementation.
11227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11228 file.
11229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11231 multiarch isinf for PPC64.
11232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11233 file.
11234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11235 multiarch isinff for PPC64.
11236
1481d706
AZ
11237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11238 finitef multiarch implementation.
11239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11240 file.
11241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11243 multiarch finite for PPC64.
11244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11245 file.
11246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11247 multiarch finitef for PPC64.
11248
5ccd5fc8
AZ
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11250 lrint multiarch implementation.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11252 file.
11253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11255 multiarch llrint for PPC64.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11257 multiarch lrint for PPC64.
11258
2568f3fa
AZ
11259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11260 copysignf multiarch implementation.
11261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11262 file.
11263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11264 file.
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11266 multiarch copysign for PPC64.
11267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11268 multiarch copysignf for PPC64.
11269
1cb341fd
AZ
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11271 multiarch implementation.
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11273 file.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11275 file.
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11277 file.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11279 file.
11280 multiarch llround for PPC64.
11281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11282 multiarch trunc for PPC64.
11283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11284 multiarch truncf for PPC64.
11285
59a3e194
AZ
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11287 multiarch implementation.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11289 file.
11290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11291 file.
11292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11293 file.
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11295 file.
11296 multiarch llround for PPC64.
11297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11298 multiarch round for PPC64.
11299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11300 multiarch roundf for PPC64.
11301
357fd3b4
AZ
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11303 multiarch implementation.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11305 file.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11307 file.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11309 file.
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11311 file.
11312 multiarch llround for PPC64.
11313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11314 multiarch floor for PPC64.
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11316 multiarch floorf for PPC64.
11317
96770f12
AZ
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11319 multiarch implementation.
11320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11321 file.
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11323 file.
11324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11325 file.
11326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11327 file.
11328 multiarch llround for PPC64.
11329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11330 multiarch ceil for PPC64.
11331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11332 multiarch ceilf for PPC64.
11333
c3627f6e
AZ
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11335 multiarch implementation.
11336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11337 file.
11338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11339 file.
11340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11341 file.
11342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11343 multiarch llround for PPC64.
11344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11345 multiarch lround for PPC64.
11346
b2284ad7
AZ
11347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11348 multiarch implementation.
11349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11352 file.
11353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11356 multiarch isnan for PPC64.
11357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11358 multiarch isnanf for PPC64.
11359
69bbc63d
AZ
11360 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11361 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11362 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11363 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11364 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11366
c24517c9
AZ
11367 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11368 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11371
a52374e8
AZ
11372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11373 multiarch implementations.
11374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11375 (__libc_ifunc_impl_list): Likewise.
11376 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11377 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11378 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11379 multiarch stpcpy for PPC64.
11380
7f5ec113
AZ
11381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11382 multiarch implementations.
11383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11384 (__libc_ifunc_impl_list): Likewise.
11385 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11386 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11387 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11388 multiarch strcpy for PPC64.
11389
e28bcd42
AZ
11390 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11391 redefine function name.
11392 (_wordcopy_fwd_dest_aligned): Likewise.
11393 (_wordcopy_bwd_aligned): Likewise.
11394 (_wordcopy_bwd_dest_aligned): Likewise.
11395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11396 multiarch implementations.
11397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11398 (__libc_ifunc_impl_list): Likewise.
11399 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11400 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11401 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11402 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11403 multiarch wcscpy for PPC64.
11404
92cacfce
AZ
11405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11406 multiarch implementations.
11407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11408 (__libc_ifunc_impl_list): Likewise.
11409 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11410 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11411 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11412 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11413 multiarch wcscpy for PPC64.
11414
7b714620
AZ
11415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11416 multiarch implementations.
11417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11418 (__libc_ifunc_impl_list): Likewise.
11419 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11420 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11421 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11422 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11423 multiarch wcsrchr for PPC64.
11424
16fd2ae3
AZ
11425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11426 multiarch implementations.
11427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11428 (__libc_ifunc_impl_list): Likewise.
11429 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11430 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11431 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11432 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11433 multiarch wcschr for PPC64.
11434
9ee2969b
AZ
11435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11436 multiarch implementations.
11437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11438 (__libc_ifunc_impl_list): Likewise.
11439 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11440 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11441 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11442 multiarch strchrnul for PPC64.
11443
372dc060
AZ
11444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11445 implementations.
11446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11447 (__libc_ifunc_impl_list): Likewise.
11448 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11449 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11450 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11451 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11452 strchr for PPC64.
11453
24c2c3b9
AZ
11454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11455 implementations.
11456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11457 (__libc_ifunc_impl_list): Likewise.
11458 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11459 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11460 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11461 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11462 strncmp for PPC64.
11463
1c92d9a0
AZ
11464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11465 multiarch implementations.
11466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11467 (__libc_ifunc_impl_list): Likewise.
11468 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11469 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11470 strncasecmp for PPC64.
11471 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11472 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11473 multiarch strncasecmp_l for PPC64.
11474
17de3ee3
AZ
11475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11476 multiarch implementations.
11477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11478 (__libc_ifunc_impl_list): Likewise.
11479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11480 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11481 multiarch strcasecmp for PPC64.
11482 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11483 file.
11484 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11485 multiarch strcasecmp_l for PPC64.
11486
62982bf9
AZ
11487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11488 implementations.
11489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11490 (__libc_ifunc_impl_list): Likewise.
11491 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11492 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11493 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11494 strnlen for PPC64.
11495
a65f4904
AZ
11496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11497 implementations.
11498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11499 (__libc_ifunc_impl_list): Likewise.
11500 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11501 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11502 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11503 strlen for PPC64.
11504
1fd005ad
AZ
11505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11506 implementations.
11507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11508 (__libc_ifunc_impl_list): Likewise.
11509 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11510 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11511 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11512 rawmemrchr for PPC64.
11513
cd05ba91
AZ
11514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11515 implementation.
11516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11517 (__libc_ifunc_impl_list): Likewise.
11518 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11519 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11520 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11521 memrchr for PPC64.
11522
870f8676
AZ
11523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11524 implementation.
11525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11526 (__libc_ifunc_impl_list): Likewise.
11527 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11528 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11529 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11530 memchr for PPC64.
11531
f00be62b
AZ
11532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11533 implementation.
11534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11535 (__libc_ifunc_impl_list): Likewise.
11536 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11537 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11538 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11539 mempcpy for PPC64.
11540
8a29a3d0
AZ
11541 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11542 avoid cretion of __bzero symbol.
11543 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11544 Likewise.
11545 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11546 Likewise.
11547 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11548 Likewise.
11549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11550 multiarch implementations.
11551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11552 (__libc_ifunc_impl_list): Likewise.
11553 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11554 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11555 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11556 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11557 bzero for PPC32.
11558 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11559 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11560 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11561 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11562 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11563 memset for PPC64.
11564 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11565
07253fcf
AZ
11566 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11568 implementations.
11569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11570 (__libc_ifunc_impl_list): Likewise.
11571 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11572 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11573 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11574 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11575 memcmp for PPC64.
11576
b5beafbc
AZ
11577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11578 multiarch for POWER/PPC64.
11579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11580 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11581 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11582 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11583 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11584 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11585 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11586 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11587 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11588 memcpy for PPC64.
11589
5e6a4d4b
AZ
11590 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11591 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11592 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11593 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11594 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11595 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11596 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11597 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11598 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11599 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11600 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11601 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11602 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11603 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11604 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11612
ddfab6dc
KK
116132013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11614
11615 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11616
19b5525e
SP
116172013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11618
11619 * benchtests/Makefile (bench): Add exp2 and log2.
11620 (LDLIBS-bench-exp2): Add -lm.
11621 (LDLIBS-bench-log2): Likewise.
11622 * benchtests/exp2-inputs: New inputs file.
11623 * benchtests/log2-inputs: New inputs file.
11624 * benchtests/log-inputs: Add new inputs.
11625 * benchtests/tan-inputs: Likewise.
11626
196f7f5d
SP
116272013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11628
7a74607f
SP
11629 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11630 definition...
57f41c40
AS
11631 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11632 (csloww2): ... from here.
7a74607f 11633
196f7f5d
SP
11634 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11635 instead of structures.
11636 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11637 (POLYNOMIAL): Likewise.
11638 (TAYLOR_SLOW): Likewise.
11639 (__sin): Likewise.
11640 (__cos): Likewise.
11641 (slow1): Likewise.
11642 (slow2): Likewise.
11643 (sloww): Likewise.
11644 (sloww1); Likewise.
11645 (sloww2): Likewise.
11646 (bsloww1): Likewise.
11647 (bsloww2): Likewise.
11648 (cslow2): Likewise.
11649 (csloww): Likewise.
11650 (csloww1): Likewise.
11651 (csloww2): Likewise.
11652
0dfa665c
OB
116532013-12-10 Ondřej Bílka <neleai@seznam.cz>
11654
11655 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11656 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11657 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11658 * malloc/hooks.c (realloc_check): Likewise.
11659
5782a80f
OB
11660 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11661 * malloc/arena.c: Remove PER_THREAD conditional.
11662 [!PER_THREAD]: Remove code.
11663 (ptmalloc_unlock_all2): Likewise.
11664 (ptmalloc_init): Likewise.
11665 (_int_new_arena): Likewise.
11666 (arena_get2): Likewise.
11667 * malloc/hooks.c (__malloc_get_state): Likewise.
11668 (__malloc_set_state): Likewise.
11669 * malloc/malloc.c: Likewise.
11670 (struct malloc_state): Likewise.
11671 (struct malloc_par): Likewise.
11672 (__libc_realloc): Likewise.
11673 (__libc_mallopt): Likewise.
11674
aeb95445
AZ
116752013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11676
11677 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11678
e8349efd
OB
116792013-12-09 Ondřej Bílka <neleai@seznam.cz>
11680
11681 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11682 macro to a function. Check for zero perturb_byte.
11683 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11684
f3eeb3fc 11685 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11686 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11687 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11688 force_reg by atomic_forced_read.
11689 * malloc/arena.c (ptmalloc_init): Likewise.
11690 * malloc/hooks.c (top_check): Likewise.
11691
be2f9009
AZ
116922013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693
11694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11695
e7b914bd
MT
116962013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11697
11698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11699
9f0be4f8
JM
117002013-12-08 Joseph Myers <joseph@codesourcery.com>
11701
11702 * math/auto-libm-test-in: Add tests of lgamma.
11703 * math/auto-libm-test-out: Regenerated.
11704 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11705 (M_LOG_2_SQRT_PIl): Likewise.
11706 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11707 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11708 mpfr_f_f1.
11709 (func_calc_desc): Add mpfr_f_f1 union field.
11710 (ARGS1): New macro.
11711 (ARGS2): Likewise.
11712 (ARGS3): Likewise.
11713 (ARGS4): Likewise.
11714 (RET1): Likewise.
11715 (RET2): Likewise.
11716 (CALC): Likewise.
11717 (FUNC): Likewise.
11718 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11719 (test_functions): Add lgamma.
11720 (calc_generic_results): Handle mpfr_f_f1.
11721 * sysdeps/i386/fpu/libm-test-ulps: Update.
11722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11723
24eeafdb
AZ
117242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11725
11726 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11727 __mpn_add_n for PowerPC64/POWER7.
11728 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11729 __mpn_sub_n for PowerPC64/POWER7.
11730
4a2c0fd4
AZ
11731 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11732 __mpn_addmul_1 for PowerPC64.
11733 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11734 __mpn_submul_1 for PowerPC64.
11735 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11736 for PowerPC64.
11737 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11738 for PowerPC64.
11739
4b5b548c
FS
117402013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11741
11742 [BZ #15089]
11743 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11744
0a3ac0aa
AZ
117452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11746
11747 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11748
ccdc8438
AZ
11749 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11750 add multiarch folders.
11751 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11752 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11753 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11754 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11755 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11756 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11757 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11758 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11759 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11760 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11761 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11768
2e973d99
AZ
11769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11770 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11772 New file.
11773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11774 New file.
11775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11776 multiarch __ieee754_hypot for PowerPC32.
11777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11778 New file.
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11780 New file.
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11782 multiarch __ieee754_hypotf for PowerPC32.
11783
2d9470b2
AZ
11784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11785 long_double_symbol only if __logbl is defined.
11786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11787 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11789 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11791 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11792 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11793 path for implementation.
11794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11795 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11797 logb, and logbl multiarch implementations for PowerPC32.
11798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11799 file.
11800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11801 file.
11802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11803 multiarch logb for PowerPC32.
11804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11805 file.
11806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11807 file.
11808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11809 multiarch logbf for PowerPC32.
11810 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11812 file.
11813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11814 multiarch logbl implementation for PowerPC32.
11815
5212ffce
AZ
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11817 and modff multiarch implementations.
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11819 New file.
11820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11821 New file.
11822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11823 multiarch modf for PowerPC32.
11824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11825 New file.
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11827 New file.
11828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11829 multiarch modff for PowerPC32.
11830
79dccf31
AZ
11831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11832 and lrintf multiarch implementations.
11833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11834 New file.
11835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11836 New file.
11837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11838 multiarch lrint for PowerPC32.
11839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11840 file: multiarch lrintf for PowerPC32.
11841
deb66480
AZ
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11843 and lroundf multiarch implementations.
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11845 New file.
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11847 New file.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11849 New file.
11850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11851 multiarch lround for PowerPC32.
11852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11853 file: multiarch lroundf for PowerPC32.
11854
264b036b
AZ
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11856 copysign and copysignf multiarch implementations.
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11858 New file.
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11860 New file.
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11862 file: multiarch copysign for PowerPC32.
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11864 file: multiarch copysignf for PowerPC32.
11865
d47db6c9
AZ
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11867 and truncf multiarch implementations.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11869 New file.
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11871 file.
11872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11873 multiarch trunc for PowerPC32.
11874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11875 New file.
11876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11877 New file.
11878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11879 multiarch truncf for PowerPC32.
11880
ddb60b5a
AZ
11881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11882 and roundf multiarch implementations.
11883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11884 New file.
11885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11886 file.
11887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11888 multiarch round for PowerPC32.
11889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11890 New file.
11891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11892 New file.
11893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11894 multiarch roundf for PowerPC32.
11895
bedcf49b
AZ
11896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11897 and floorf multiarch implementations.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11899 New file.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11901 file.
11902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11903 multiarch floor for PowerPC32.
11904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11905 New file.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11907 New file.
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11909 multiarch floorf for PowerPC32.
11910
35ae5b40
AZ
11911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11912 and ceilf multiarch implementations.
11913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11914 New file.
11915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11916 file.
11917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11918 multiarch ceil for PowerPC32.
11919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11920 New file.
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11922 file.
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11924 multiarch ceilf for PowerPC32.
11925
ae1a4cd9
AZ
11926 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11927 is defined.
11928 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11929 FINITEF is defined.
11930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11931 and finitef multiarch implementations.
11932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11933 New file.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11935 file.
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11937 multiarch finite for PowerPC32.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11939 New file.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11941 file: multiarch finitef for PowerPC32.
11942
64fffd65
AZ
11943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11944 and isinff multiarch implementations.
11945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11946 file.
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11948 file.
11949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11950 multiarch isinf for PowerPC32.
11951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11952 New file.
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11954 multiarch isinff for PowerPC32.
11955
8e4e7ba2
AZ
11956 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11957 alias when __isnan is defined.
11958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11959 and isnanf multiarch implementations.
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11961 file.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11963 file.
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11965 file.
11966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11967 file.
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11969 multiarch isnan for PowerPC32.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11971 New file.
11972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11973 New file.
11974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11975 multiarch isnanf for PowerPC32.
11976
ddba588e
AZ
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11978 and sqrtf multiarch implementations.
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11980 file.
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11982 file.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11984 multiarch sqrt for PowerPC32.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11986 file.
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11988 file.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11990 multiarch sqrtf for PowerPC32.
11991
0f96a2f0
AZ
11992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11993 and llroundf multiarch implementations.
11994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11995 New file.
11996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11997 New file.
11998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11999 New file.
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12001 file: multiarch llround for PowerPC32.
12002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12003 file: multiarch llroundf for PowerPC32.
12004
c9b5d79e
AZ
12005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12006 multiarch PowerPC32 fpu implementations.
12007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12008 New file.
12009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12010 New file.
12011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12012 multiarch llrint for PowerPC32.
12013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12014 New file.
12015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12016 New file.
12017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12018 file.
12019
9cbb3aab
AZ
12020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12021
ea5a72f8
AZ
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12023 file.
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12025 file.
12026 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12027 file.
12028 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12029 multiarch wordcopy for PPC32.
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12031 wordcopy objects.
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12033 (__libc_ifunc_impl_list): Likewise.
12034 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12035 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12036 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12037 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12039 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12040
93be09e7
AZ
12041 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12043 file.
12044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12045 file.
12046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12047 file.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12049 multiarch wcscpy for PPC32.
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12051 multiarch objects.
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12053 (__libc_ifunc_impl_list): Likewise.
12054 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12055 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12056 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12057 sysdeps/powerpc/power6/wcscpy.c.
12058
bb04e529
AZ
12059 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12061 file.
12062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12063 file.
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12065 file.
12066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12067 multiarch wcsrchr for PPC32.
12068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12069 multiarch objects.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12071 (__libc_ifunc_impl_list): Likewise.
12072 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12073 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12074 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12075 sysdeps/powerpc/power6/wcsrchr.c.
12076
05b5cd1c
AZ
12077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12078 file.
12079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12080 file.
12081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12083 multiarch wcschr for PPc32.
12084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12085 multiarch objects.
12086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12087 (__libc_ifunc_impl_list): Likewise.
12088 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12089 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12090 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12091 sysdeps/powerpc/power6/wcschr.c.
12092
ba964147
AZ
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12095 file.
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12097 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12098 file: multiarch strchr for PPC32.
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12100 multiarch objects.
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12102 (__libc_ifunc_impl_list): Likewise.
12103
31c81aaa
AZ
12104 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12105 name.
12106 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12107 file.
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12109 file.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12111 multiarch strchrnul for PPC32.
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12113 multiarch objects.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12115 (__libc_ifunc_impl_list): Likewise.
12116
0d0607d9
AZ
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12118 file.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12120 multiarch strncasecmp for PPC32.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12122 file.
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12124 multiarch strncasecmp_l for PPC32.
12125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12126 strncasecmp multiarch objects.
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12128 (__libc_ifunc_impl_list): Likewise.
12129
4dfd5c86
AZ
12130 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12131 file.
12132 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12133 multiarch strncasecmp for PPC32.
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12135 New file.
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12137 multiarch strcasecmp_l for PPC32.
12138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12139 multiarch objects.
12140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12141 (__libc_ifunc_impl_list): Likewise.
12142
a19e01a3
AZ
12143 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12144 file.
12145 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12146 file.
12147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12148 multiarch strncmp for PPC32.
12149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12150 multiarch objects.
12151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12152 (__libc_ifunc_impl_list): Likewise.
12153
ae9cf7a2
AZ
12154 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12155 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12156 file.
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12158 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12160 multiarch objects.
12161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12162 (__libc_ifunc_impl_list): Likewise.
12163
3148bb7d
AZ
12164 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12165 file.
12166 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12167 file.
12168 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12170 multiarch objects.
12171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12172 (__libc_ifunc_impl_list): Likewise.
12173
7af8b946
AZ
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12175 file.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12177 file.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12179 multiarch rawmemchr for PPC32.
12180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12181 multiarch objects.
12182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12183 (__libc_ifunc_impl_list): Likewise.
12184
03a6aa6a
AZ
12185 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12186 file.
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12188 file.
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12190 file: memrchr multiarch for PPC32.
12191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12192 multiarch objects.
12193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12194 (__libc_ifunc_impl_list): Likewise.
12195
1c62e6d9
AZ
12196 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12197 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12198 file.
12199 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12200 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12201 multiarch memchr for PPC32.
12202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12203 multiarch objects.
12204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12205 (__libc_ifunc_impl_list): Likewise.
12206
87da8bdb
AZ
12207 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12209 file.
12210 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12211 file.
12212 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12213 file: multiarch mempcpy for PPC32.
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12215 multiarch objects.
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12217 (__libc_ifunc_impl_list): Likewise.
12218
20ed4714
AZ
12219 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12221 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12223 multiarch bzero for PPC32.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12225 file.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12227 file.
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12229 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12230 file: multiarch memset for PPC32.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12233 memset multiarch objects.
12234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12235 (__libc_ifunc_impl_list): Likewise.
12236
ab3e3a46
AZ
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12238 file.
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12241 memcmp for PPC32.
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12244 multiarch objects.
12245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12246 (__libc_ifunc_impl_list): Likewise.
12247
930de6f0
AZ
12248 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12250 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12251 file.
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12253 file.
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12255 file.
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12257 multiarch memcpy for PPC32.
12258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12259 multiarch objects.
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12261 (__libc_ifunc_impl_list): Likewise.
12262
4c628e00
AZ
12263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12264 support multiarch for POWER/PPC32.
12265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12266 Likewise.
12267 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12269 Implies file to make multiarch folder appers before the fpu and
12270 default folder for power4 configuration.
12271
f4479220
SP
122722013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12273
12274 * scripts/bench.pl: Append volatile keyword to type.
12275
8517800f
KK
122762013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12277
12278 * sysdeps/sh/sotruss-lib.c: New file.
12279 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12280
180138f1
AZ
122812013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12282
12283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12284
bbf37bdc
JM
122852013-12-05 Joseph Myers <joseph@codesourcery.com>
12286
e47cc4e0
JM
12287 [BZ #6810]
12288 * math/w_tgamma.c: Include <errno.h>.
12289 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12290 * math/w_tgammaf.c: Include <errno.h>.
12291 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12292 * math/w_tgammal.c: Include <errno.h>.
12293 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12294 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12295 underflow. Add more tgamma tests.
12296 * math/auto-libm-test-out: Regenerated.
12297 * sysdeps/i386/fpu/libm-test-ulps: Update.
12298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12299
bbf37bdc
JM
12300 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12301 sin, sinh, tan, tanh, tgamma, y0 and y1.
12302 * math/auto-libm-test-out: Regenerated.
12303 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12304 (TEST_COND_x86): Likewise.
12305 (M_E2l): Remove macro.
12306 (M_E3l): Likewise.
12307 (M_2_SQRT_PIl): Likewise.
12308 (M_SQRT_PIl): Likewise.
12309 (M_1_DIV_El): Likewise.
12310 (log_test_data): Use AUTO_TESTS_f_f.
12311 (log10_test_data): Likewise.
12312 (log1p_test_data): Likewise.
12313 (log2_test_data): Likewise.
12314 (sin_test_data): Likewise.
12315 (sin_tonearest_test_data): Likewise.
12316 (sin_towardzero_test_data): Likewise.
12317 (sin_downward_test_data): Likewise.
12318 (sin_upward_test_data): Likewise.
12319 (sinh_test_data): Likewise.
12320 (sinh_tonearest_test_data): Likewise.
12321 (sinh_towardzero_test_data): Likewise.
12322 (sinh_downward_test_data): Likewise.
12323 (sinh_upward_test_data): Likewise.
12324 (tan_test_data): Likewise.
12325 (tan_tonearest_test_data): Likewise.
12326 (tan_towardzero_test_data): Likewise.
12327 (tan_downward_test_data): Likewise.
12328 (tan_upward_test_data): Likewise.
12329 (tanh_test_data): Likewise.
12330 (tgamma_test_data): Likewise.
12331 (y0_test_data): Likewise.
12332 (y1_test_data): Likewise.
12333 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12334 (special_real_inputs): Add pi/4.
12335 * sysdeps/i386/fpu/libm-test-ulps: Update.
12336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12337
eb5ad6b9
AZ
123382013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12339
12340 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12341 "longjmp_target" static probes.
12342 (__longjmp): Rename to __longjmp_symbol.
12343 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12344 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12345 on which longjmp to generate.
12346 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12347 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12348 probe.
12349 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12350 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12351 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12352 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12353 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12354 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12356 __longjmp_symbol based on which __longjmp to generate.
12357 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12358 probe.
12359 (setjmp): Rename to setjmp_symbol.
12360 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12361 (_setjmp): Rename to _setjmp_symbol.
12362 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12363 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12364 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12365 which setjmp to generate.
12366 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12367 "longjmp_target" static probes.
12368
d136c6dc
SP
123692013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12370
9298ecba
SP
12371 * benchtests/README: Add note about output arguments.
12372 * benchtests/bench-sincos.c: Remove file.
12373 * benchtests/sincos-inputs: New file.
12374 * scripts/bench.pl: Identify output arguments and define
12375 static variables for them.
12376
232983e9
SP
12377 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12378
d136c6dc
SP
12379 [BZ #15941]
12380 * Makefile (INSTALL): Add install-plain.texi as the primary
12381 dependency.
12382 * manual/install-plain.texi: New file.
12383 * manual/install.texi: Include node directive only for
12384 non-plaintext output.
12385
699ff837
JM
123862013-12-04 Joseph Myers <joseph@codesourcery.com>
12387
ab07cea8
JM
12388 * stdlib/longlong.h: Update from GCC.
12389
699ff837
JM
12390 [BZ #6807]
12391 [BZ #15901]
12392 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12393 * math/w_j0f.c (y0f): Likewise.
12394 * math/w_j0l.c (__y0l): Likewise.
12395 * math/w_j1.c (y1): Likewise.
12396 * math/w_j1f.c (y1f): Likewise.
12397 * math/w_j1l.c (__y1l): Likewise
12398 * math/w_jn.c (yn): Likewise.
12399 * math/w_jnf.c (ynf): Likewise.
12400 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12401 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12402 value for Bessel function domain errors outside _SVID_ mode.
12403 Adjust sign of return value for yn (negative integer, 0).
12404 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12405 by zero in return for negative x and set sign appropriately for
12406 negative n.
12407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12408 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12409 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12410 expectations in error cases.
12411 (y1_test_data): Likewise.
12412 (yn_test_data): Likewise.
12413 * sysdeps/i386/fpu/libm-test-ulps: Update.
12414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12415
5b118558
UW
124162013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12417
12418 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12419 "64" to "64-v1". Add "64-v2".
12420 (abi-64-options): Rename to ...
12421 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12422 (abi-64-condition): Rename to ...
12423 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12424 (abi-64-ld-soname): Rename to ...
12425 (abi-64-v1-ld-soname): ... this.
12426 (abi-64-v2-options): Define.
12427 (abi-64-v2-condition): Likewise.
12428 (abi-64-v2-ld-soname): Likewise.
12429 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12434
61cd8fe4
UW
124352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12436 Alan Modra <amodra@gmail.com>
12437
12438 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12439 New versions for use with the ELFv2 ABI.
12440 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12441 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12442 declaration.
12443 (struct La_ppc64v2_retval): Likewise.
12444 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12445 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12446 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12447 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12448 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12449 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12450 Do not save or restore CR.
12451 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12452 (_dl_profile_resolve): Do no save or restore CR. Support extended
12453 return values for ELFv2 ABI. Fix location of FPR return registers.
12454 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12455 updated values for _CALL_ELF == 2.
12456 (La_regs, La_retval, int_retval): Likewise.
12457
8b8a692c
UW
124582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12459
12460 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12461 (FRAME_MIN_SIZE_PARM): Likewise.
12462 (FRAME_BACKCHAIN): Likewise.
12463 (FRAME_CR_SAVE): Likewise.
12464 (FRAME_LR_SAVE): Likewise.
12465 (FRAME_TOC_SAVE): Likewise.
12466 (FRAME_PARM_SAVE): Likewise.
12467 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12468 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12469 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12470 (call_mcount_parm_offset): New macro.
12471 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12472 (PROF): Use symbolic stack frame offsets.
12473 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12474 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12475 Redefine in terms of FRAME_MIN_SIZE.
12476 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12477 (_dl_profile_resolve): Likewise. Update comment.
12478 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12479 symbols stack frame offsets.
12480 (__sigsetjmp): Likewise.
12481 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12482 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12483 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12484 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12485
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12487 (FRAME_BACKCHAIN): Remove.
12488 (FRAME_CR_SAVE): Likewise.
12489 (FRAME_LR_SAVE): Likewise.
12490 (FRAME_COMPILER_DW): Likewise.
12491 (FRAME_LINKER_DW): Likewise.
12492 (FRAME_TOC_SAVE): Likewise.
12493 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12494 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12495 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12496 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12498 (CHECK_SP): Use symbolic stack frame offsets.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12500 zone" instead of caller's parameter save area for temp storage.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12502 Likewise. Also, use symbolic stack frame offsets.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12504 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12505 our own stack frame instead of the caller's.
12506 (__socket): Use symbolic stack frame offsets.
12507
122b66de
UW
125082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12509 Alan Modra <amodra@gmail.com>
12510
12511 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12512 Define.
57f41c40
AS
12513 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12514 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12515 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12516 New function.
12517 (elf_machine_fixup_plt): Call it.
12518 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12519 reloc arguments.
12520 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12521 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12522 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12523 r2 before calling target.
12524
696caf1d
UW
125252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12526 Alan Modra <amodra@gmail.com>
12527
12528 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12529 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12530 versions of macros to support ELFv2 ABI.
12531 (LOCALENTRY): New macro.
12532 (ENTRY, EALIGN): Use it.
12533 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12534 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12535 fall through into ENTRY entry point.
12536 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12537 Only define if _CALL_ELF != 2.
12538
12539 (elf_machine_matches_host): Verify ABI version matches.
12540 (RTLD_START): Use LOCALENTRY.
12541 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12542 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12543 (PLT_ENTRY_WORDS): New macro.
12544 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12545 (elf_machine_runtime_setup): Support ELFv2 ABI.
12546 (elf_machine_fixup_plt): Likewise.
12547 (elf_machine_plt_conflict): Likewise.
12548 (resolve_ifunc): Likewise.
12549 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12550 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12551 Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12553 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12555 (makecontext): Support ELFv2 ABI.
12556 * elf/elf.h (EF_PPC64_ABI): Define.
12557
d31beafa
UW
125582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12559
57f41c40
AS
12560 * sysdeps/powerpc/powerpc64/sysdep.h
12561 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12562 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12563 (ENTRY) [ASSEMBLER]: ... but instead here ...
12564 (EALIGN) [ASSEMBLER]: ... and here.
12565 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12566 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12567 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12568 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12569 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12571 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12572 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12574 Use PPC64_LOAD_FUNCPTR.
12575
b525166b
UW
12576 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12577
7ec07d9a
AM
125782013-12-04 Alan Modra <amodra@gmail.com>
12579
12580 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12581 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12582 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12583 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12584
12585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12586 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12587 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12588 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12589 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12590 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12591
5162e7dd
UW
125922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12593
12594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12595 (__makecontext): Fix incorrect CFI when backtracing out of
12596 context created via makecontext.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12598 (__setcontext): Fix incorrect CFI during switch to new context.
12599 (__novec_setcontext): Likewise.
12600
19e3372b
OB
126012013-12-04 Ondřej Bílka <neleai@seznam.cz>
12602
12603 [BZ #4772]
12604 * time/strptime_l.c (__strptime_internal): Allow modifiers
12605 in strptime.
12606 * time/tst-strptime.c (day_tests): Add testcase.
12607
ecaf142d
SP
126082013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12609
12610 * scripts/bench.pl: Skip over blank lines.
12611
fbf964ae
PE
126122013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12613
12614 [BZ #926]
12615 * manual/time.texi (Calendar Time): Clarify what timezone functions
12616 use.
12617
fa60a674
AZ
126182013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619
12620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12621
d674f0ef
OB
126222013-12-04 Ondřej Bílka <neleai@seznam.cz>
12623
12624 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12625 implementation.
12626 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12627 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12628 * debug/memset_chk.c (__memset_chk): Likewise.
12629 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12630 * debug/strncpy_chk.c: Likewise.
12631
17dea188
JM
126322013-12-03 Joseph Myers <joseph@codesourcery.com>
12633
749008ff
JM
12634 [BZ #15268]
12635 [BZ #15425]
12636 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12637 (__ieee754_exp): For possibly underflowing results, check size of
12638 result and force underflow exception if required.
12639 * math/auto-libm-test-in: Add more tests of exp.
12640 * math/auto-libm-test-out: Regenerated.
12641 * sysdeps/i386/fpu/libm-test-ulps: Update.
12642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12643
17dea188
JM
12644 [BZ #16283]
12645 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12646 * math/w_exp2f.c (__exp2f): Likewise.
12647 * math/w_exp2l.c (__exp2l): Likewise.
12648 * math/auto-libm-test-in: Do not allow missing errno on exp2
12649 underflow.
12650 * math/auto-libm-test-out: Regenerated.
12651
b20de2c3
OB
126522013-12-03 Ondřej Bílka <neleai@seznam.cz>
12653
12654 [BZ #16274]
12655 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12656 handle filename validation.
12657 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12658 (do_open): Delete.
12659
d8e2dbe3
JM
126602013-12-03 Joseph Myers <joseph@codesourcery.com>
12661
34e16df5
JM
12662 [BZ #6786]
12663 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12664 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12665 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12666 <float.h>.
12667 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12669 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12671 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12672 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12673 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12674 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12675 Add more erfc tests.
12676 * math/auto-libm-test-out: Regenerated.
12677 * sysdeps/i386/fpu/libm-test-ulps: Update.
12678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12679
d8e2dbe3
JM
12680 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12681 exp2, expm1, j0 and j1.
12682 * math/auto-libm-test-out: Regenerated.
12683 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12684 (erfc_test_data): Likewise.
12685 (exp_test_data): Likewise.
12686 (exp_tonearest_test_data): Likewise.
12687 (exp_towardzero_test_data): Likewise.
12688 (exp_downward_test_data): Likewise.
12689 (exp_upward_test_data): Likewise.
12690 (exp10_test_data): Likewise.
12691 (exp2_test_data): Likewise.
12692 (expm1_test_data): Likewise.
12693 (j0_test_data): Likewise.
12694 (j1_test_data): Likewise.
12695 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12696 (input_flag_type): Add flag_xfail_rounding.
12697 (input_flags): Add xfail-rounding.
12698 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12699 (output_for_one_input_case): Handle flag_xfail_rounding.
12700 * sysdeps/i386/fpu/libm-test-ulps: Update.
12701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702
18d14251
AJ
127032013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12704
3d2e6075 12705 [BZ #16289]
18d14251
AJ
12706 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12707 division by 0.
12708
520d437b
SP
127092013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
12711 [BZ #16195]
12712 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12713 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12714 (STAP_PROBE0): New macro.
12715 (STAP_PROBE1): Likewise.
12716 (STAP_PROBE2): Likewise.
12717 (STAP_PROBE3): Likewise.
12718 (STAP_PROBE4): Likewise.
12719
416e0145
OB
127202013-12-02 Ondřej Bílka <neleai@seznam.cz>
12721
12722 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12723
9d17796a
SE
127242013-12-02 Steve Ellcey <sellcey@mips.com>
12725
12726 * benchtests/Makefile (bench): Add sqrt.
12727 (LDLIBS-bench-sqrt): New.
12728 * benchtests/sqrt-input: New.
12729
f524d6a8
PS
127302013-12-02 Pavel Simerda <psimerda@redhat.com>
12731
639a0ef8
PS
12732 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12733 (GAIH_EAI): Likewise.
12734 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12735 (gaih_inet): Likewise.
12736 (getaddrinfo): Don't use GAIH_EAI.
12737
f524d6a8
PS
12738 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12739 (struct gaih): Remove definition.
12740
df3aedaf
SP
127412013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12742
12743 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12744 Use HERRNOP directly.
12745
1ab19dec
AZ
127462013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12747
b42ad38d 12748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12749
176b0c79
JM
127502013-11-30 Joseph Myers <joseph@codesourcery.com>
12751
12752 * math/gen-auto-libm-tests.c (test_functions): Add more
12753 single-argument functions.
12754 (special_fill_pi_2): New function.
12755 (special_fill_minus_pi_2): Likewise.
12756 (special_fill_pi_6): Likewise.
12757 (special_fill_minus_pi_6): Likewise.
12758 (special_fill_pi_3): Likewise.
12759 (special_fill_2pi_3): Likewise.
12760 (special_fill_e): Likewise.
12761 (special_fill_1_e): Likewise.
12762 (special_fill_e_minus_1): Likewise.
12763 (special_real_inputs): Add more special inputs.
12764 (output_for_one_input_case): Do not require ERANGE on underflow to
12765 zero if round-to-nearest result does not underflow to zero, unless
12766 exact results required.
12767 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12768 atan, atanh, cbrt, cos and cosh.
12769 * math/auto-libm-test-out: Regenerated.
12770 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12771 (acos_tonearest_test_data): Likewise.
12772 (acos_towardzero_test_data): Likewise.
12773 (acos_downward_test_data): Likewise.
12774 (acos_upward_test_data): Likewise.
12775 (acosh_test_data): Likewise.
12776 (asin_test_data): Likewise.
12777 (asin_tonearest_test_data): Likewise.
12778 (asin_towardzero_test_data): Likewise.
12779 (asin_upward_test_data): Likewise.
12780 (asinh_test_data): Likewise.
12781 (atan_test_data): Likewise.
12782 (atanh_test_data): Likewise.
12783 (cbrt_test_data): Likewise.
12784 (cos_test_data): Likewise.
12785 (cos_tonearest_test_data): Likewise.
12786 (cos_towardzero_test_data): Likewise.
12787 (cos_downward_test_data): Likewise.
12788 (cos_upward_test_data): Likewise.
12789 (cosh_test_data): Likewise.
12790 (cosh_tonearest_test_data): Likewise.
12791 (cosh_towardzero_test_data): Likewise.
12792 (cosh_downward_test_data): Likewise.
12793 (cosh_upward_test_data): Likewise.
12794 * sysdeps/i386/fpu/libm-test-ulps: Update.
12795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12796
ffb536d0
JM
127972013-11-29 Joseph Myers <joseph@codesourcery.com>
12798
2a77a467
JM
12799 [BZ #6787]
12800 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12801 * math/w_exp10f.c (__exp10f): Likewise.
12802 * math/w_exp10l.c (__exp10l): Likewise.
12803 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12804 errno settings in existing tests.
12805
ea3bc4e8
JM
12806 [BZ #14032]
12807 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12808 precision control set to double precision.
12809 * sysdeps/i386/fpu/w_sqrt.c: New file.
12810 * math/auto-libm-test-in: Add more tests.
12811 * math/auto-libm-test-out: Update.
12812
0712c9d8
JM
12813 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12814 (sqrt_test_tonearest): New function.
12815 (sqrt_towardzero_test_data): New variable.
12816 (sqrt_test_towardzero): New function.
12817 (sqrt_downward_test_data): New variable.
12818 (sqrt_test_downward): New function.
12819 (sqrt_upward_test_data): New variable.
12820 (sqrt_test_upward): New function.
12821 (main): Call the new functions.
12822
ffb536d0
JM
12823 * math/gen-auto-libm-tests.c: New file.
12824 * math/auto-libm-test-in: Likewise.
12825 * math/auto-libm-test-out: New generated file.
12826 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12827 variables.
12828 (%beautify): Add generated representations of zero.
12829 (top level): Set $auto_input and call parse_auto_input.
12830 (beautify): Remove trailing "f" from hex float constants.
12831 (parse_args): Handle XFAIL_TEST.
12832 (convert_condition): New function.
12833 (or_value): Likewise.
12834 (or_cond_value): Likewise.
12835 (generate_testfile): Handle AUTO_TESTS_* lines.
12836 (parse_auto_input): New function.
12837 * math/libm-test.inc (XFAIL_TEST): New macro.
12838 (ERRNO_UNCHANGED): Update value.
12839 (ERRNO_EDOM): Likewise.
12840 (ERRNO_ERANGE): Likewise.
12841 (IGNORE_RESULT): Likewise.
12842 (TEST_COND_flt_32): New macro.
12843 (TEST_COND_dbl_64): Likewise.
12844 (TEST_COND_ldbl_96_intel): Likewise.
12845 (TEST_COND_ldbl_96_m68k): Likewise.
12846 (TEST_COND_ldbl_128): Likewise.
12847 (TEST_COND_ldbl_128ibm): Likewise.
12848 (TEST_COND_long32): Likewise.
12849 (TEST_COND_long64): Likewise.
12850 (TEST_COND_before_rounding): Likewise.
12851 (TEST_COND_after_rounding): Likewise.
12852 (enable_test): Handle XFAIL_TEST flag.
12853 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12854 with finite results.
12855 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12856 auto-libm-test-out.
12857
acd98a8e
AK
128582013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12859 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12860
12861 [BZ #16214]
12862 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12863 __tls_get_addr_internal instead of __tls_get_offset in order to
12864 avoid GOT pointer dependency. Make rtld export
12865 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12866 __tls_get_addr since we are a __tls_get_offset platform.
12867 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12868 GOT pointer being set up before.
12869 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12870
3c1c46a6
JM
128712013-11-28 Joseph Myers <joseph@codesourcery.com>
12872
7475aef5
JM
12873 * manual/math.texi (Errors in Math Functions): Document accuracy
12874 goals.
12875
8bca7cd8
JM
12876 [BZ #15004]
12877 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12878 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12883 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12893
91a1f3fe
JM
12894 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12895 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12896 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12897 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12898 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12899 Likewise.
12900 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12901 Likewise.
12902 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12903 Likewise.
12904 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12905 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12906 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12907 atomic-feupdateenv and flt-rounds.
12908 * sysdeps/powerpc/nofpu/Versions (libc): Add
12909 __atomic_feholdexcept, __atomic_feclearexcept,
12910 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12911 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12912 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12913 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12914 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12915 here.
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12917 Update.
12918
c5df7609
JM
12919 * manual/arith.texi (FP Exceptions): Document that exceptions may
12920 not be raised when matherr is used.
12921 (Math Error Reporting): Document overflow in directed rounding
12922 modes. Document that errno may not be set when finite values are
12923 returned on overflow. Document intent to set errno on underflow
12924 only for underflow to zero.
12925
3c1c46a6
JM
12926 [BZ #16271]
12927 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12928 round-to-nearest then adjust result for other rounding modes.
12929 * include/fenv.h (fegetround): Use libm_hidden_proto.
12930 * math/fegetround.c (fegetround): Use libm_hidden_def.
12931 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12932 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12933 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12934 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12935 Likewise.
12936 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12937 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12938 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12939 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12940
5a4c6d53
SP
129412013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12942
12943 [BZ #16077]
12944 * nss/Versions (libnss_files): Add
12945 _nss_files_gethostbyname3_r.
12946 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12947 New function.
12948 (HOST_DB_LOOKUP): Remove macro.
12949 (_nss_files_gethostbyname_r): Implement function without the
12950 HOST_DB_LOOKUP macro.
12951 (_nss_files_gethostbyname2_r): Likewise.
12952
897b98ba
OB
129532013-11-28 Ondřej Bílka <neleai@seznam.cz>
12954
12955 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12956
6f476861
UB
129572013-11-26 Uros Bizjak <ubizjak@gmail.com>
12958
12959 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12960 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12961 warning.
12962
bd12ab55
AZ
129632013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12964
12965 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12966 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12967 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12968 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12969 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12970 __fe_nomask_env_priv and attribute_hidden.
12971 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12972 (libc_feupdateenv_test_ppc): Likewise.
12973 (libc_feresetround_ppc): Likewise.
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12975 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12976 compat_symbol macro.
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12978 (__fe_nomask_env): Likewise.
12979 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12980
52bb6543
OB
129812013-11-26 Ondřej Bílka <neleai@seznam.cz>
12982
12983 * string/Makefile: Remove ifunc tests.
12984 * string/test-string.h: Define TEST_IFUNC.
12985 * string/test-bcopy-ifunc.c: Remove.
12986 * string/test-bzero-ifunc.c: Likewise.
12987 * string/test-memccpy-ifunc.c: Likewise.
12988 * string/test-memchr-ifunc.c: Likewise.
12989 * string/test-memcmp-ifunc.c: Likewise.
12990 * string/test-memcpy-ifunc.c: Likewise.
12991 * string/test-memmem-ifunc.c: Likewise.
12992 * string/test-memmove-ifunc.c: Likewise.
12993 * string/test-mempcpy-ifunc.c: Likewise.
12994 * string/test-memrchr-ifunc.c: Likewise.
12995 * string/test-memset-ifunc.c: Likewise.
12996 * string/test-rawmemchr-ifunc.c: Likewise.
12997 * string/test-stpcpy-ifunc.c: Likewise.
12998 * string/test-stpncpy-ifunc.c: Likewise.
12999 * string/test-strcasecmp-ifunc.c: Likewise.
13000 * string/test-strcasestr-ifunc.c: Likewise.
13001 * string/test-strcat-ifunc.c: Likewise.
13002 * string/test-strchr-ifunc.c: Likewise.
13003 * string/test-strchrnul-ifunc.c: Likewise.
13004 * string/test-strcmp-ifunc.c: Likewise.
13005 * string/test-strcpy-ifunc.c: Likewise.
13006 * string/test-strcspn-ifunc.c: Likewise.
13007 * string/test-strlen-ifunc.c: Likewise.
13008 * string/test-strncasecmp-ifunc.c: Likewise.
13009 * string/test-strncat-ifunc.c: Likewise.
13010 * string/test-strncmp-ifunc.c: Likewise.
13011 * string/test-strncpy-ifunc.c: Likewise.
13012 * string/test-strnlen-ifunc.c: Likewise.
13013 * string/test-strpbrk-ifunc.c: Likewise.
13014 * string/test-strrchr-ifunc.c: Likewise.
13015 * string/test-strspn-ifunc.c: Likewise.
13016 * string/test-strstr-ifunc.c: Likewise.
13017
ab260039 130182013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13019
13020 * benchtests/Makefile: Remove ifunc tests.
13021 * benchtests/bench-string.h: Define TEST_IFUNC.
13022 * benchtests/bench-bcopy-ifunc.c: Remove.
13023 * benchtests/bench-bzero-ifunc.c: Likewise.
13024 * benchtests/bench-memccpy-ifunc.c: Likewise.
13025 * benchtests/bench-memchr-ifunc.c: Likewise.
13026 * benchtests/bench-memcmp-ifunc.c: Likewise.
13027 * benchtests/bench-memcpy-ifunc.c: Likewise.
13028 * benchtests/bench-memmem-ifunc.c: Likewise.
13029 * benchtests/bench-memmove-ifunc.c: Likewise.
13030 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13031 * benchtests/bench-memrchr-ifunc.c: Likewise.
13032 * benchtests/bench-memset-ifunc.c: Likewise.
13033 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13034 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13035 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13036 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13037 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13038 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13039 * benchtests/bench-strcat-ifunc.c: Likewise.
13040 * benchtests/bench-strchr-ifunc.c: Likewise.
13041 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13042 * benchtests/bench-strcmp-ifunc.c: Likewise.
13043 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13044 * benchtests/bench-strcpy-ifunc.c: Likewise.
13045 * benchtests/bench-strcspn-ifunc.c: Likewise.
13046 * benchtests/bench-strlen-ifunc.c: Likewise.
13047 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13048 * benchtests/bench-strncat-ifunc.c: Likewise.
13049 * benchtests/bench-strncmp-ifunc.c: Likewise.
13050 * benchtests/bench-strncpy-ifunc.c: Likewise.
13051 * benchtests/bench-strnlen-ifunc.c: Likewise.
13052 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13053 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13054 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13055 * benchtests/bench-strspn-ifunc.c: Likewise.
13056 * benchtests/bench-strstr-ifunc.c: Likewise.
13057
130582013-11-26 Ondřej Bílka <neleai@seznam.cz>
13059
ab260039
OB
13060 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13061
d1d9eaf4 130622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13063
d1d9eaf4
OB
13064 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13065 * rt/aio.h: Likewise.
13066 * sysdeps/gnu/bits/utmp.h: Likewise.
13067 * sysdeps/gnu/bits/utmpx.h: Likewise.
13068 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13069 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13070 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13071 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13072 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13073 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13074 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13075 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13076 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13077 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13078 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13079 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13080 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13083 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13084 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13085 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13086 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13087 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13088 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13089 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13090 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13091 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13092 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13094 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13095 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13096 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13097 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13098 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13099 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13100 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13101 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13102 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13103 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13104 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13105 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13107 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13108 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13109 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13110
a7624ed9
CD
131112013-11-25 Carlos O'Donell <carlos@redhat.com>
13112
13113 [BZ #16245]
13114 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13115 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13116
63cfe52b
JM
131172013-11-25 Joseph Myers <joseph@codesourcery.com>
13118
13119 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13120 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13121 Likewise.
13122
41e8926a
AZ
131232013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13124
13125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13126 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13127 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13128 (__fesetround): Remove define.
13129 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13130 rounding and exceptions handling.
13131 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13132 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13133 (__fe_nomask_env): Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13135 __fegetround instead of fegetround.
13136 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13138
6851bd4d
RM
131392013-11-21 Roland McGrath <roland@hack.frob.com>
13140
070906ff
RM
13141 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13142 it's there.
13143
6851bd4d
RM
13144 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13145
84ae135d
MI
131462013-11-21 Meador Inge <meadori@codesourcery.com>
13147
13148 [BZ #11157]
13149 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13150 (encrypt_r): Likewise.
13151 * malloc/obstack.h (obstack_free): Likewise.
13152 * posix/unistd.h (encrypt): Likewise.
13153
daf75146
GM
131542013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13155
13156 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13157 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13158 DL_CALL_DT_FINI() that call the functions directly.
13159 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13160 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13161 * elf/dl-fini.c: Likewise.
13162
10ad46bc
OB
131632013-11-20 Ondřej Bílka <neleai@seznam.cz>
13164
13165 * malloc/hooks.c (memalign_check): Add alignment rounding.
13166 * malloc/malloc.c (_mid_memalign): New function.
13167 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13168 Implement by calling _mid_memalign.
13169 * manual/probes.texi (Memory Allocation Probes): Remove
13170 memory_valloc_retry and memory_pvalloc_retry.
13171
f3fd2628
SP
131722013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13173
4712799f
SP
13174 * locale/programs/locarchive.c (open_archive): Add const
13175 qualifier to ARCHIVEFNAME and copy default fname to
13176 DEFAULT_FNAME.
13177
0417b20f
SP
13178 [BZ #15601]
13179 * libio/tst-widetext.input: Rename Oriya to Odia.
13180 * locale/iso-639.def: Likewise.
13181
f3fd2628
SP
13182 * manual/probes.texi (Mathematical Function Probes): Add
13183 documentation for sin, cos, asin and acos probes.
13184 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13185 (__sin32): Add slowasin probe.
13186 (__cos32): Add slowacos probe.
13187 (__mpsin): Add slowsin probe.
13188 (__mpcos): Add slowcos probe.
13189
73c1ce4f
JM
131902013-11-19 Joseph Myers <joseph@codesourcery.com>
13191
13192 [BZ #15483]
13193 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13194 thread-local __sim_exceptions_thread and global
13195 __sim_exceptions_global.
13196 (__sim_disabled_exceptions): Change to thread-local
13197 __sim_disabled_exceptions_thread and global
13198 __sim_disabled_exceptions_global.
13199 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13200 and global __sim_round_mode_global.
13201 (__simulate_exceptions): Use thread-local floating-point state and
13202 set global state from it as needed.
13203 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13204 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13205 __sim_round_mode_thread.
13206 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13207 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13208 and global __sim_exceptions_global.
13209 (__sim_disabled_exceptions): Change to thread-local
13210 __sim_disabled_exceptions_thread and global
13211 __sim_disabled_exceptions_global.
13212 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13213 and global __sim_round_mode_global.
13214 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13215 (SIM_SET_GLOBAL): Likewise.
13216 * sysdeps/powerpc/soft-fp/sfp-machine.h
13217 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13218 __sim_round_mode_thread.
13219 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13220 __sim_disabled_exceptions_thread.
13221 (__sim_exceptions): Change to __sim_exceptions_thread.
13222 (__sim_disabled_exceptions): Change to
13223 __sim_disabled_exceptions_thread.
13224 (__sim_round_mode): Change to __sim_round_mode_thread.
13225 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13226 thread-local floating-point state and set global state from it as
13227 needed.
13228 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13229 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13230 (__sim_disabled_exceptions): Remove extern declaration.
13231 (feenableexcept): Use thread-local floating-point state and set
13232 global state from it as needed.
13233 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13234 extern declaration.
13235 (__sim_disabled_exceptions): Likewise.
13236 (__sim_round_mode): Likewise.
13237 (__fegetenv): Use thread-local floating-point state.
13238 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13239 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13240 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13241 floating-point state and set global state from it as needed.
13242 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13243 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13244 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13245 Likewise.
13246 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13247 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13248 Likewise.
13249 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13250 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13251 Use __sim_round_mode_thread.
13252 * math/test-fenv-tls.c: New file.
13253 * math/Makefile (tests): Add test-fenv-tls.
13254 ($(objpfx)test-fenv-tls): Depend on
13255 $(common-objpfx)nptl/libpthread.so.
13256
b5449b12
AS
132572013-11-19 Andreas Schwab <schwab@suse.de>
13258
13259 * locale/programs/locale.c (show_info): Decode wordarray elements.
13260 * locale/categories.def (LC_MONETARY): Add element for
13261 _NL_MONETARY_CRNCYSTR.
13262 * locale/C-monetary.c (conversion_rate): New variable.
13263 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13264 element.
13265
e186536b
CM
132662013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13267
13268 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13269 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13270
5c349950
PP
132712013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13272
13273 * elf/Makefile (tst-auxv): New test.
13274 * elf/tst-auxv.c: New
13275 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13276
699df45b
JM
132772013-11-18 Joseph Myers <joseph@codesourcery.com>
13278
13279 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13280 (hidden_proto): Caller changed.
13281 (hidden_tls_proto): New macro.
13282 (libc_hidden_tls_proto): Likewise.
13283 (rtld_hidden_tls_proto): Likewise.
13284 (libm_hidden_tls_proto): Likewise.
13285 (libresolv_hidden_tls_proto): Likewise.
13286 (librt_hidden_tls_proto): Likewise.
13287 (libdl_hidden_tls_proto): Likewise.
13288 (libnss_files_hidden_tls_proto): Likewise.
13289 (libnsl_hidden_tls_proto): Likewise.
13290 (libnss_nisplus_hidden_tls_proto): Likewise.
13291 (libutil_hidden_tls_proto): Likewise.
13292
b7589107
OB
132932013-11-18 Ondřej Bílka <neleai@seznam.cz>
13294
13295 [BZ #10253]
13296 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13297 (decompose_rpath): Defer expansion to fillin_rpath.
13298 (_dl_init_paths): Pass linkmap to fillin_rpath.
13299
250c23bd
RS
133002013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13301
13302 * benchtests/Makefile: Add strsep.
13303 * benchtests/bench-strsep.c: New file: strsep benchtest.
13304 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13305
a7931fcf
AS
133062013-11-18 Andreas Schwab <schwab@suse.de>
13307
13308 * locale/programs/locale.c (show_info) [case byte]: Check for
13309 '\377' instead of '\177'.
13310 * locale/C-monetary.c (not_available): Always use "\377".
13311 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13312 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13313 detect unavailable sign_posn locale elements.
13314 * locale/localeconv.c (__localeconv): For grouping and
13315 mon_grouping handle "\177" and "\377" like no grouping.
13316 (INT_ELEM): New macro. Use it to set all numeric members.
13317 * locale/programs/ld-monetary.c (monetary_read)
13318 <tok_mon_grouping>: Normalize single -1 to the empty string.
13319 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13320 Likewise.
13321
728dab0e
OB
133222013-11-07 Ondřej Bílka <neleai@seznam.cz>
13323
13324 [BZ #16055]
13325 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13326 when we match (nil).
13327 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13328
66294491
JM
133292013-11-16 Joseph Myers <joseph@codesourcery.com>
13330
ce665817
JM
13331 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13332 (NO_TEST_INLINE): Update value.
13333 (ERRNO_UNCHANGED): Likewise.
13334 (ERRNO_EDOM): Likewise.
13335 (ERRNO_ERANGE): Likewise.
13336 (IGNORE_RESULT): Likewise.
13337 (check_float_internal): Check signs of NaN results if
13338 TEST_NAN_SIGN used.
13339 (check_complex): Pass TEST_NAN_SIGN flag through to second
13340 check_float_internal call.
13341 (copysign_test_data): Add tests with quiet NaNs as second
13342 argument. Use TEST_NAN_SIGN.
13343 (fabs_test_data): Add test of negative quiet NaN argument. Use
13344 TEST_NAN_SIGN.
13345 (signbit_test_data): Add tests of quiet NaN argument.
13346 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13347
ee1466a9
JM
13348 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13349 $ignore_result.
13350 (parse_args): Handle function results specified as IGNORE.
13351 * math/libm-test.inc (IGNORE_RESULT): New macro.
13352 (check_float_internal): Do not check numerical result if flag
13353 IGNORE_RESULT set.
13354 (check_complex): Pass through IGNORE_RESULT to second
13355 check_float_internal call.
13356 (check_int): Do not check numerical result if flag IGNORE_RESULT
13357 set.
13358 (check_long): Likewise.
13359 (check_bool): Likewise.
13360 (check_longlong): Likewise.
13361 (lrint_test_data): Add tests of infinite and NaN arguments.
13362 (lrint_tonearest_test_data): Likewise.
13363 (lrint_towardzero_test_data): Likewise.
13364 (lrint_downward_test_data): Likewise.
13365 (lrint_upward_test_data): Likewise.
13366 (llrint_test_data): Likewise.
13367 (llrint_tonearest_test_data): Likewise.
13368 (llrint_towardzero_test_data): Likewise.
13369 (llrint_downward_test_data): Likewise.
13370 (llrint_upward_test_data): Likewise.
13371 (lround_test_data): Likewise.
13372 (llround_test_data): Likewise.
13373
14407b7e
JM
13374 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13375 (ERRNO_UNCHANGED): Update value.
13376 (ERRNO_EDOM): Likewise.
13377 (ERRNO_ERANGE): Likewise.
13378 (NO_TEST_INLINE_FLOAT): New macro.
13379 (NO_TEST_INLINE_DOUBLE): Likewise.
13380 (enable_test): New function.
13381 (RUN_TEST_f_f): Check enable_test before running test.
13382 (RUN_TEST_2_f): Likewise.
13383 (RUN_TEST_fff_f): Likewise.
13384 (RUN_TEST_c_f): Likewise.
13385 (RUN_TEST_f_f1): Likewise.
13386 (RUN_TEST_fF_f1): Likewise.
13387 (RUN_TEST_fI_f1): Likewise.
13388 (RUN_TEST_ffI_f1): Likewise.
13389 (RUN_TEST_c_c): Likewise.
13390 (RUN_TEST_cc_c): Likewise.
13391 (RUN_TEST_f_i): Likewise.
13392 (RUN_TEST_f_i_tg): Likewise.
13393 (RUN_TEST_ff_i_tg): Likewise.
13394 (RUN_TEST_f_b): Likewise.
13395 (RUN_TEST_f_b_tg): Likewise.
13396 (RUN_TEST_f_l): Likewise.
13397 (RUN_TEST_f_L): Likewise.
13398 (RUN_TEST_fFF_11): Likewise.
13399 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13400 conditionals.
13401 (cosh_test_data): Likewise.
13402 (exp_test_data): Likewise.
13403 (expm1_test_data): Likewise.
13404 (hypot_test_data): Likewise.
13405 (pow_test_data): Likewise.
13406 (sinh_test_data): Likewise.
13407 (tanh_test_data): Likewise.
13408 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13409 flags argument.
13410
ca07f197
JM
13411 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13412 tests with quiet NaN input and output.
13413 (acosh_test_data): Likewise.
13414 (asin_test_data): Likewise.
13415 (asinh_test_data): Likewise.
13416 (atan_test_data): Likewise.
13417 (atanh_test_data): Likewise.
13418 (atan2_test_data): Likewise.
13419 (cbrt_test_data): Likewise.
13420 (cos_test_data): Likewise.
13421 (cosh_test_data): Likewise.
13422 (erf_test_data): Likewise.
13423 (erfc_test_data): Likewise.
13424 (exp_test_data): Likewise.
13425 (exp10_test_data): Likewise.
13426 (exp2_test_data): Likewise.
13427 (expm1_test_data): Likewise.
13428 (hypot_test_data): Likewise.
13429 (j0_test_data): Likewise.
13430 (j1_test_data): Likewise.
13431 (jn_test_data): Likewise.
13432 (lgamma_test_data): Likewise.
13433 (log_test_data): Likewise.
13434 (log10_test_data): Likewise.
13435 (log1p_test_data): Likewise.
13436 (log2_test_data): Likewise.
13437 (pow_test_data): Likewise.
13438 (scalb_test_data): Likewise.
13439 (sin_test_data): Likewise.
13440 (sincos_test_data): Likewise.
13441 (sinh_test_data): Likewise.
13442 (tan_test_data): Likewise.
13443 (tanh_test_data): Likewise.
13444 (tgamma_test_data): Likewise.
13445 (y0_test_data): Likewise.
13446 (y1_test_data): Likewise.
13447 (yn_test_data): Likewise.
13448
66294491
JM
13449 [BZ #16167]
13450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13451 argument being NaN and avoid computations with second argument in
13452 that case.
13453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13454 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13455 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13456
1820b143
CL
134572013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13458
13459 * locale/iso-639.def: Add Chitwani Tharu (the).
13460
714bd261
AS
134612013-11-14 Andreas Schwab <schwab@suse.de>
13462
13463 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13464 word instead of empty string.
13465
7ab44563
AZ
134662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13467
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13469 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13471 (__fe_nomask_env): Likewise.
13472
e8470ea2
SE
134732013-11-13 Steve Ellcey <sellcey@mips.com>
13474
13475 * benchtests/bench-timing.h: Include time.h.
13476
17c1d9f0
L
134772013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13478
13479 [BZ #15997]
13480 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13481 to 3.4.0 for x32.
13482 * sysdeps/unix/sysv/linux/configure: Regenerated.
13483
9310c284
JM
134842013-11-13 Joseph Myers <joseph@codesourcery.com>
13485
13486 [BZ #16151]
13487 * stdlib/strtod_l.c (round_and_return): Do not consider
13488 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13489 exponent one less than half the least subnormal exponent.
13490 * stdlib/test-strtod-round-data: Add more tests.
13491 * stdlib/tst-strtod-round.c (tests): Regenerated.
13492
7a2ad8cf
AZ
134932013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13494
13495 [BZ #14143]
13496 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13497 (__fe_mask_env): Likewise.
13498 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13499 libm_hidden_proto and add function prototype.
13500 (__fe_mask_env): Add function prototype.
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13502 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13504 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13506 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13507
50727aa7
MS
135082013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13509
b2f386c1 13510 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13511 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13512
a615be46
MS
135132013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13514
13515 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13516 of htab_find_slot().
13517
7ddace62
DM
135182013-11-11 David S. Miller <davem@davemloft.net>
13519
13520 [BZ #16150]
13521 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13522 symbol in the non-vis3 case in static builds.
13523 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13524 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13525 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13526 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13527
9182aa67
JK
135282013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13529
13530 [BZ #387]
13531 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13532 it is empty.
13533
450a2e2d
AZ
135342013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13535
b2f386c1
SP
13536 * benchtests/Makefile: Add bench-strtod.
13537 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13538
8ec3f656
AS
135392013-11-11 Andreas Schwab <schwab@suse.de>
13540
13541 [BZ #16153]
13542 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13543 terminating NUL in key length.
13544
76a9b998
AZ
135452013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13546
13547 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13548 Add artificial ODP entry for vDSO symbol for PPC64.
13549 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13550 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13551
e4368156
OB
135522013-11-07 Ondřej Bílka <neleai@seznam.cz>
13553
13554 [BZ #15374]
13555 * nss/getent.c (services_keys): Recognize services starting with digit.
13556
8d6bb57c
DM
135572013-11-06 David S. Miller <davem@davemloft.net>
13558
13559 [BZ #15985]
13560 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13561 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13562
e256c421
WN
135632013-11-06 Will Newton <will.newton@linaro.org>
13564
13565 * manual/memory.texi (Malloc Examples): Remove register
13566 keyword from examples.
13567
f6e12daa 135682013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13569
f6e12daa 13570 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13571
9d880655
AS
135722013-11-04 Joseph Myers <joseph@codesourcery.com>
13573
fd2f9486 13574 [BZ #6981]
9d880655
AS
13575 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13576 depending on [__GCC_IEC_559 > 0].
13577 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13578 depending on [__GCC_IEC_559_COMPLEX > 0].
13579
ae129d3c
CL
135802013-11-03 Chris Leonard <cjl@sugarlabs.org>
13581
13582 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13583 to iso-639.def.
13584
4a15c2a4 135852013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13586
13587 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13588
8b35e35d
OB
135892013-11-01 Ondřej Bílka <neleai@seznam.cz>
13590
13591 [BZ #16112]
13592 * malloc/malloc (malloc_info): Do not handle first bin as
13593 special case.
13594
1d70fd6c
CL
135952013-11-01 Chris Leonard <cjl@sugarlabs.org>
13596
13597 * locale/iso-639.def: Add Central Nahuatl (nhn).
13598
8c5c2600
BH
135992013-11-01 Bruno Haible <bruno@clisp.org>
13600
13601 [BZ #7003]
13602 * manual/math.texi (BSD Random): Specify range upper bound as
13603 in POSIX.
13604
da5579c2
CL
136052013-10-31 Chris Leonard <cjl@sugarlabs.org>
13606
13607 * locale/iso-639.def: Add Meadow Mari (mhr).
13608
5d30d853
OB
136092013-10-31 Ondřej Bílka <neleai@seznam.cz>
13610
13611 [BZ #14752], [BZ #15763]
13612 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13613 Validate name.
13614 * rt/tst_shm.c: Add test for escaping directory.
13615
a4966c61
AS
136162013-10-31 Andreas Schwab <schwab@suse.de>
13617
8a43e768 13618 [BZ #15917]
a4966c61
AS
13619 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13620 followed by 'x' as part of digit sequence.
13621 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13622
28d708c4
MAP
136232013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13624
13625 [BZ #16037]
13626 * configure.ac: allow GNU Make 4.0 and greater.
13627 * configure: Regenerated.
13628
a56ee40b
WN
136292013-10-30 Will Newton <will.newton@linaro.org>
13630
13631 [BZ #16038]
13632 * malloc/hooks.c (memalign_check): Limit alignment to the
13633 maximum representable power of two.
13634 * malloc/malloc.c (__libc_memalign): Likewise.
13635 * malloc/tst-memalign.c (do_test): Add test for very
13636 large alignment values.
13637 * malloc/tst-posix_memalign.c (do_test): Likewise.
13638
c6e4925d
OB
136392013-10-30 Ondřej Bílka <neleai@seznam.cz>
13640
13641 [BZ #11087]
13642 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13643 (munmap_chunk): Likewise.
13644 (mremap_chunk): Likewise.
13645
136462013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13647
8a43e768 13648 [BZ #15799]
bbea82f7
OB
13649 * stdlib/div.c (div): Remove obsolete code.
13650 * stdlib/ldiv.c (ldiv): Likewise.
13651 * stdlib/lldiv.c (lldiv): Likewise.
13652
977f4b31
SP
136532013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13654
13655 [BZ #16071]
13656 * nss/nss_files/files-XXX.c (get_contents_ret): New
13657 enumerator.
13658 (get_contents): New function.
13659 (internal_getent): Use it. Expand size of LINEBUFLEN.
13660
cb8a6dbd
MF
136612013-10-30 Mike Frysinger <vapier@gentoo.org>
13662
13663 * configure.in: Moved to ...
13664 * configure.ac: ... here. Change reference to configure.in
13665 to configure.ac.
13666 * sysdeps/arm/preconfigure.ac: ... here.
13667 configure.in to configure.ac.
13668 * sysdeps/gnu/configure.in: Moved to ...
13669 * sysdeps/gnu/configure.ac: ... here.
13670 * sysdeps/i386/configure.in: Moved to ...
13671 * sysdeps/i386/configure.ac: ... here.
13672 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13673 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13674 * sysdeps/mach/configure.in: Moved to ...
13675 * sysdeps/mach/configure.ac: ... here.
13676 * sysdeps/mach/hurd/configure.in: Moved to ...
13677 * sysdeps/mach/hurd/configure.ac: ... here.
13678 * sysdeps/powerpc/configure.in: Moved to ...
13679 * sysdeps/powerpc/configure.ac: ... here.
13680 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13681 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13682 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13683 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13684 * sysdeps/s390/s390-32/configure.in: Moved to ...
13685 * sysdeps/s390/s390-32/configure.ac: ... here.
13686 * sysdeps/s390/s390-64/configure.in: Moved to ...
13687 * sysdeps/s390/s390-64/configure.ac: ... here.
13688 * sysdeps/sh/configure.in: Moved to ...
13689 * sysdeps/sh/configure.ac: ... here.
13690 * sysdeps/sparc/configure.in: Moved to ...
13691 * sysdeps/sparc/configure.ac: ... here.
13692 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13693 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13694 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13695 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13696 * sysdeps/x86_64/configure.in: Moved to ...
13697 * sysdeps/x86_64/configure.ac: ... here.
13698 * sysdeps/x86_64/preconfigure.in: Moved to ...
13699 * sysdeps/x86_64/preconfigure.ac: ... here.
13700 * aclocal.m4: Change reference to configure.in to configure.ac.
13701 * config.h.in: Likewise.
13702 * manual/install.texi: Likewise.
13703 * manual/maint.texi: Likewise.
13704 * Makefile: Likewise.
13705 * malloc/Makefile: Likewise.
13706 * nscd/Makefile: Likewise.
13707 * Makeconfig: Change reference to configure.in and
13708 preconfigure.in to configure.ac and preconfigure.ac
13709 respectively.
13710 * INSTALL: Regenerated.
13711 * configure: Likewise.
13712 * sysdeps/gnu/configure: Likewise.
13713 * sysdeps/i386/configure: Likewise.
13714 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13715 * sysdeps/mach/configure: Likewise.
13716 * sysdeps/mach/hurd/configure: Likewise.
13717 * sysdeps/powerpc/configure: Likewise.
13718 * sysdeps/powerpc/powerpc32/configure: Likewise.
13719 * sysdeps/powerpc/powerpc64/configure: Likewise.
13720 * sysdeps/s390/s390-32/configure: Likewise.
13721 * sysdeps/s390/s390-64/configure: Likewise.
13722 * sysdeps/sh/configure: Likewise.
13723 * sysdeps/sparc/configure: Likewise.
13724 * sysdeps/unix/sysv/linux/configure: Likewise.
13725 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13726 * sysdeps/x86_64/configure: Likewise.
13727 * sysdeps/x86_64/preconfigure: Likewise.
13728
36a4953a
AS
137292013-10-29 Andreas Schwab <schwab@suse.de>
13730
13731 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13732
c79a1204
SP
137332013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13734
dfa1b402
SP
13735 * benchtests/pow-inputs: Add new inputs.
13736
54f73d9c
SP
13737 * benchtests/exp-inputs: Add new inputs.
13738
c79a1204
SP
13739 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13740 conditional check for return value.
13741 (__cos32): Likewise.
13742
67beb545 137432013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13744
13745 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13746 to provide a boost for large inputs with word alignment.
13747 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13748 implementation based on optimized PPC64 strcpy.
13749 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13750 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13751 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13752 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13753
151659f6
OB
137542013-10-25 Ondřej Bílka <neleai@seznam.cz>
13755
482a077e 13756 [BZ #2801]
151659f6
OB
13757 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13758
10b0f26b
OB
137592013-10-25 Ondřej Bílka <neleai@seznam.cz>
13760
13761 [BZ #14876]
13762 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13763 * time/tst-strptime.c (day_tests): Add testcase.
13764
ca42d35e
OB
137652013-10-25 Ondřej Bílka <neleai@seznam.cz>
13766
482a077e 13767 [BZ #14029]
ca42d35e
OB
13768 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13769
52e6d801
FB
137702013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13771
13772 [BZ #16074]
13773 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13774 MAP_FAILED on error.
13775
7cbcdb36
SP
137762013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13777
13778 [BZ #16072]
13779 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13780 heap for large requests.
13781
894f3f10
AM
137822013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13783
13784 [BZ #9954]
13785 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13786 result if the result has no associated interface.
13787 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13788 interface for all 127.X.Y.Z addresses.
13789
b85545a6
CL
137902013-10-24 Chris Leonard <cjl@sugarlabs.org>
13791
13792 * locale/iso-639.def: Add Ligurian (lij)
13793
d1f23d46
OB
137942013-10-21 Ondřej Bílka <neleai@seznam.cz>
13795
13796 [BZ #15825]
13797 * sunrpc/rpc_main.c: Document rpcgen -5.
13798
4db5b08f
MS
137992013-10-19 Michael Stahl <mstahl@redhat.com>
13800
13801 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13802
a471e96a
OB
138032013-10-19 Ondřej Bílka <neleai@seznam.cz>
13804
d1f23d46 13805 [BZ #10278]
a471e96a
OB
13806 * posix/glob.c: Match only directories when trailing slash is present.
13807 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13808 (main): Add testcase.
13809
45c30c61
OB
138102013-10-19 Ondřej Bílka <neleai@seznam.cz>
13811
13812 [BZ #15670]
13813 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13814
484c12fb
CD
138152013-10-18 Carlos O'Donell <carlos@redhat.com>
13816
3d7dc513
CD
13817 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13818 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13819 AUTH_DES and cindex for FIPS 140-2.
13820 (DES Encryption): Add cindex FIPS 46-3.
13821
484c12fb
CD
13822 * locale/locarchive.h (struct locarhandle): Add fname.
13823 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13824 if an optional argument was specified to --list-archive,
13825 otherwise NULL.
13826 * locale/programs/locarchive.c (show_archive_content): Take new
13827 argument fname and pass it via ah.fname to open_archive.
13828 * locale/programs/localedef.h: Update decl.
13829 (open_archive): If AH->fname is non-null, open that file
13830 rather than the default file name, and don't ignore ENOENT.
13831 (create_archive): Set AH.fname to NULL.
13832 (delete_locales_from_archive): Likewise.
13833 (add_locales_to_archive): Likewise.
13834 * locale/programs/locfile.c (write_all_categories): Likewise.
13835
3c8325fb
JM
138362013-10-18 Joseph Myers <joseph@codesourcery.com>
13837 Aldy Hernandez <aldyh@redhat.com>
13838
13839 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13840 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13841 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13842 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13843 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13844 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13845 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13846 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13847 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13848 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13849 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13850 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13851 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13852 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13853 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13854 Likewise.
13855 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13856 Likewise.
13857 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13858 Likewise.
13859 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13860 Likewise.
13861 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13862 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13863 Likewise.
13864 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13865 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13866 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13867 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13868 Likewise.
13869 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13870 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13871 * sysdeps/powerpc/preconfigure: Likewise.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13873 Likewise.
13874 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13875 Replace contents of file by #include of <fenv_libc.h>.
13876 * sysdeps/powerpc/soft-fp/sfp-machine.h
13877 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13878 and <sys/prctl.h>.
13879 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13881 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13883 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13884 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13888 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13889 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13892 Allow copysignl PLT reference to be missing.
13893
5abe0682
RS
138942013-10-18 Richard Sandiford <richard@codesourcery.com>
13895 Joseph Myers <joseph@codesourcery.com
13896
13897 [BZ #15948]
13898 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13899 single character.
13900 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13901
c7738d08
SP
139022013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13903
13904 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13905 * elf/tst-tls1.c: Likewise.
13906 * elf/tst-tls10.h: Likewise.
13907 * elf/tst-tls14.c: Likewise.
13908 * elf/tst-tls2.c: Likewise.
13909 * elf/tst-tls3.c: Likewise.
13910 * elf/tst-tls4.c: Likewise.
13911 * elf/tst-tls5.c: Likewise.
13912 * elf/tst-tls6.c: Likewise.
13913 * elf/tst-tls7.c: Likewise.
13914 * elf/tst-tls8.c: Likewise.
13915 * elf/tst-tls9.c: Likewise.
13916 * elf/tst-tlsmod1.c: Likewise.
13917 * elf/tst-tlsmod13.c: Likewise.
13918 * elf/tst-tlsmod13a.c: Likewise.
13919 * elf/tst-tlsmod14a.c: Likewise.
13920 * elf/tst-tlsmod16a.c: Likewise.
13921 * elf/tst-tlsmod16b.c: Likewise.
13922 * elf/tst-tlsmod2.c: Likewise.
13923 * elf/tst-tlsmod3.c: Likewise.
13924 * elf/tst-tlsmod4.c: Likewise.
13925 * elf/tst-tlsmod5.c: Likewise.
13926 * elf/tst-tlsmod6.c: Likewise.
13927
0bfcf2c7
OB
139282013-10-18 Ondřej Bílka <neleai@seznam.cz>
13929
13930 [BZ #12486]
13931 * malloc/malloc.c: remove checks for statistics.
13932
264aad1e
OB
139332013-10-17 Ondřej Bílka <neleai@seznam.cz>
13934
13935 [BZ #15277]
13936 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13937 * inet/tst-network.c: Add testcase.
13938
b957ced8
AS
139392013-10-17 Andreas Schwab <schwab@suse.de>
13940
13941 [BZ #15218]
13942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13943 to determine canonical name.
13944
c5d5d574
OB
139452013-10-17 Ondřej Bílka <neleai@seznam.cz>
13946
13947 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13948 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13971 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13972 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13973 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14005
e5c2c2d0
JM
140062013-10-17 Joseph Myers <joseph@codesourcery.com>
14007
14008 [BZ #16041]
14009 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14010 make result into a quiet NaN.
14011
51ca9e29
JM
140122013-10-16 Joseph Myers <joseph@codesourcery.com>
14013
14014 * soft-fp/adddf3.c: Fix horizontal whitespace.
14015 * soft-fp/addsf3.c: Likewise.
14016 * soft-fp/addtf3.c: Likewise.
14017 * soft-fp/divdf3.c: Likewise.
14018 * soft-fp/divsf3.c: Likewise.
14019 * soft-fp/divtf3.c: Likewise.
14020 * soft-fp/double.h: Likewise.
14021 * soft-fp/eqdf2.c: Likewise.
14022 * soft-fp/eqsf2.c: Likewise.
14023 * soft-fp/eqtf2.c: Likewise.
14024 * soft-fp/extenddftf2.c: Likewise.
14025 * soft-fp/extended.h: Likewise.
14026 * soft-fp/extendsfdf2.c: Likewise.
14027 * soft-fp/extendsftf2.c: Likewise.
14028 * soft-fp/extendxftf2.c: Likewise.
14029 * soft-fp/fixdfdi.c: Likewise.
14030 * soft-fp/fixdfsi.c: Likewise.
14031 * soft-fp/fixdfti.c: Likewise.
14032 * soft-fp/fixsfdi.c: Likewise.
14033 * soft-fp/fixsfsi.c: Likewise.
14034 * soft-fp/fixsfti.c: Likewise.
14035 * soft-fp/fixtfdi.c: Likewise.
14036 * soft-fp/fixtfsi.c: Likewise.
14037 * soft-fp/fixtfti.c: Likewise.
14038 * soft-fp/fixunsdfdi.c: Likewise.
14039 * soft-fp/fixunsdfsi.c: Likewise.
14040 * soft-fp/fixunsdfti.c: Likewise.
14041 * soft-fp/fixunssfdi.c: Likewise.
14042 * soft-fp/fixunssfsi.c: Likewise.
14043 * soft-fp/fixunssfti.c: Likewise.
14044 * soft-fp/fixunstfdi.c: Likewise.
14045 * soft-fp/fixunstfsi.c: Likewise.
14046 * soft-fp/fixunstfti.c: Likewise.
14047 * soft-fp/floatdidf.c: Likewise.
14048 * soft-fp/floatdisf.c: Likewise.
14049 * soft-fp/floatditf.c: Likewise.
14050 * soft-fp/floatsidf.c: Likewise.
14051 * soft-fp/floatsisf.c: Likewise.
14052 * soft-fp/floatsitf.c: Likewise.
14053 * soft-fp/floattidf.c: Likewise.
14054 * soft-fp/floattisf.c: Likewise.
14055 * soft-fp/floattitf.c: Likewise.
14056 * soft-fp/floatundidf.c: Likewise.
14057 * soft-fp/floatundisf.c: Likewise.
14058 * soft-fp/floatunditf.c: Likewise.
14059 * soft-fp/floatunsidf.c: Likewise.
14060 * soft-fp/floatunsisf.c: Likewise.
14061 * soft-fp/floatunsitf.c: Likewise.
14062 * soft-fp/floatuntidf.c: Likewise.
14063 * soft-fp/floatuntisf.c: Likewise.
14064 * soft-fp/floatuntitf.c: Likewise.
14065 * soft-fp/fmadf4.c: Likewise.
14066 * soft-fp/fmasf4.c: Likewise.
14067 * soft-fp/fmatf4.c: Likewise.
14068 * soft-fp/gedf2.c: Likewise.
14069 * soft-fp/gesf2.c: Likewise.
14070 * soft-fp/getf2.c: Likewise.
14071 * soft-fp/ledf2.c: Likewise.
14072 * soft-fp/lesf2.c: Likewise.
14073 * soft-fp/letf2.c: Likewise.
14074 * soft-fp/muldf3.c: Likewise.
14075 * soft-fp/mulsf3.c: Likewise.
14076 * soft-fp/multf3.c: Likewise.
14077 * soft-fp/negdf2.c: Likewise.
14078 * soft-fp/negsf2.c: Likewise.
14079 * soft-fp/negtf2.c: Likewise.
14080 * soft-fp/op-1.h: Likewise.
14081 * soft-fp/op-2.h: Likewise.
14082 * soft-fp/op-4.h: Likewise.
14083 * soft-fp/op-8.h: Likewise.
14084 * soft-fp/op-common.h: Likewise.
14085 * soft-fp/quad.h: Likewise.
14086 * soft-fp/single.h: Likewise.
14087 * soft-fp/soft-fp.h: Likewise.
14088 * soft-fp/sqrtdf2.c: Likewise.
14089 * soft-fp/sqrtsf2.c: Likewise.
14090 * soft-fp/sqrttf2.c: Likewise.
14091 * soft-fp/subdf3.c: Likewise.
14092 * soft-fp/subsf3.c: Likewise.
14093 * soft-fp/subtf3.c: Likewise.
14094 * soft-fp/truncdfsf2.c: Likewise.
14095 * soft-fp/trunctfdf2.c: Likewise.
14096 * soft-fp/trunctfsf2.c: Likewise.
14097 * soft-fp/trunctfxf2.c: Likewise.
14098 * soft-fp/unorddf2.c: Likewise.
14099 * soft-fp/unordsf2.c: Likewise.
14100 * soft-fp/unordtf2.c: Likewise.
14101
9ebb0332
JM
141022013-10-15 Joseph Myers <joseph@codesourcery.com>
14103
14104 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14105 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14106
4b1a6d8b
OB
141072013-10-15 Ondřej Bílka <neleai@seznam.cz>
14108
14109 * elf/dl-libc.c: Clear initfini list after freeing.
14110
1e145589
JM
141112013-10-14 Joseph Myers <joseph@codesourcery.com>
14112
14113 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14114 * soft-fp/addsf3.c: Likewise.
14115 * soft-fp/addtf3.c: Likewise.
14116 * soft-fp/divdf3.c: Likewise.
14117 * soft-fp/divsf3.c: Likewise.
14118 * soft-fp/divtf3.c: Likewise.
14119 * soft-fp/double.h: Likewise.
14120 * soft-fp/eqdf2.c: Likewise.
14121 * soft-fp/eqsf2.c: Likewise.
14122 * soft-fp/eqtf2.c: Likewise.
14123 * soft-fp/extenddftf2.c: Likewise.
14124 * soft-fp/extended.h: Likewise.
14125 * soft-fp/extendsfdf2.c: Likewise.
14126 * soft-fp/extendsftf2.c: Likewise.
14127 * soft-fp/extendxftf2.c: Likewise.
14128 * soft-fp/fixdfdi.c: Likewise.
14129 * soft-fp/fixdfsi.c: Likewise.
14130 * soft-fp/fixdfti.c: Likewise.
14131 * soft-fp/fixsfdi.c: Likewise.
14132 * soft-fp/fixsfsi.c: Likewise.
14133 * soft-fp/fixsfti.c: Likewise.
14134 * soft-fp/fixtfdi.c: Likewise.
14135 * soft-fp/fixtfsi.c: Likewise.
14136 * soft-fp/fixtfti.c: Likewise.
14137 * soft-fp/fixunsdfdi.c: Likewise.
14138 * soft-fp/fixunsdfsi.c: Likewise.
14139 * soft-fp/fixunsdfti.c: Likewise.
14140 * soft-fp/fixunssfdi.c: Likewise.
14141 * soft-fp/fixunssfsi.c: Likewise.
14142 * soft-fp/fixunssfti.c: Likewise.
14143 * soft-fp/fixunstfdi.c: Likewise.
14144 * soft-fp/fixunstfsi.c: Likewise.
14145 * soft-fp/fixunstfti.c: Likewise.
14146 * soft-fp/floatdidf.c: Likewise.
14147 * soft-fp/floatdisf.c: Likewise.
14148 * soft-fp/floatditf.c: Likewise.
14149 * soft-fp/floatsidf.c: Likewise.
14150 * soft-fp/floatsisf.c: Likewise.
14151 * soft-fp/floatsitf.c: Likewise.
14152 * soft-fp/floattidf.c: Likewise.
14153 * soft-fp/floattisf.c: Likewise.
14154 * soft-fp/floattitf.c: Likewise.
14155 * soft-fp/floatundidf.c: Likewise.
14156 * soft-fp/floatundisf.c: Likewise.
14157 * soft-fp/floatunsidf.c: Likewise.
14158 * soft-fp/floatunsisf.c: Likewise.
14159 * soft-fp/floatuntidf.c: Likewise.
14160 * soft-fp/floatuntisf.c: Likewise.
14161 * soft-fp/floatuntitf.c: Likewise.
14162 * soft-fp/fmadf4.c: Likewise.
14163 * soft-fp/fmasf4.c: Likewise.
14164 * soft-fp/fmatf4.c: Likewise.
14165 * soft-fp/gedf2.c: Likewise.
14166 * soft-fp/gesf2.c: Likewise.
14167 * soft-fp/getf2.c: Likewise.
14168 * soft-fp/ledf2.c: Likewise.
14169 * soft-fp/lesf2.c: Likewise.
14170 * soft-fp/letf2.c: Likewise.
14171 * soft-fp/muldf3.c: Likewise.
14172 * soft-fp/mulsf3.c: Likewise.
14173 * soft-fp/multf3.c: Likewise.
14174 * soft-fp/negdf2.c: Likewise.
14175 * soft-fp/negsf2.c: Likewise.
14176 * soft-fp/negtf2.c: Likewise.
14177 * soft-fp/op-1.h: Likewise.
14178 * soft-fp/op-2.h: Likewise.
14179 * soft-fp/op-4.h: Likewise.
14180 * soft-fp/op-8.h: Likewise.
14181 * soft-fp/op-common.h: Likewise.
14182 * soft-fp/quad.h: Likewise.
14183 * soft-fp/single.h: Likewise.
14184 * soft-fp/soft-fp.h: Likewise.
14185 * soft-fp/sqrtdf2.c: Likewise.
14186 * soft-fp/sqrtsf2.c: Likewise.
14187 * soft-fp/sqrttf2.c: Likewise.
14188 * soft-fp/subdf3.c: Likewise.
14189 * soft-fp/subsf3.c: Likewise.
14190 * soft-fp/subtf3.c: Likewise.
14191 * soft-fp/truncdfsf2.c: Likewise.
14192 * soft-fp/trunctfdf2.c: Likewise.
14193 * soft-fp/trunctfsf2.c: Likewise.
14194 * soft-fp/trunctfxf2.c: Likewise.
14195 * soft-fp/unorddf2.c: Likewise.
14196 * soft-fp/unordsf2.c: Likewise.
14197 * soft-fp/unordtf2.c: Likewise.
14198
17c48a60
OB
141992013-10-14 Ondřej Bílka <neleai@seznam.cz>
14200
14201 [BZ #15672]
14202 * misc/error.c (error_tail): Fix possible buffer overflow.
14203
cabba934
OB
142042013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14205
14206 [BZ #13028]
14207 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14208 address.
14209
94bf958a
PM
142102013-10-14 P. J. McDermott <pj@pehjota.net>
14211
14212 [BZ #832]
14213 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14214 testing pipefail option.
14215
71b4dea7
JM
142162013-10-12 Joseph Myers <joseph@codesourcery.com>
14217
14218 * soft-fp/double.h: Indent preprocessor directives inside #if.
14219 * soft-fp/extended.h: Likewise.
14220 * soft-fp/op-2.h: Likewise.
14221 * soft-fp/op-4.h: Likewise.
14222 * soft-fp/op-common.h: Likewise.
14223 * soft-fp/quad.h: Likewise.
14224 * soft-fp/single.h: Likewise.
14225 * soft-fp/soft-fp.h: Likewise.
14226
55602758
YC
142272013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14228
14229 * iconv/iconv_prog.c: Fix typos.
14230 * stdio-common/psiginfo-data.h: Likewise.
14231
9cd83302
RT
142322013-10-12 Reuben Thomas <rrt@sc3d.org>
14233
14234 [BZ #15764]
14235 * locale/setlocale.c: Fix typo.
14236
99fd9f47
JM
142372013-10-12 Joseph Myers <joseph@codesourcery.com>
14238
b7ea74f0
JM
14239 [BZ #16036]
14240 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14241 signaling NaN arguments.
14242 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14243 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14244
8a509447
JM
14245 [BZ #14910]
14246 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14247 unordered operands.
14248 * soft-fp/gesf2.c (__gesf2): Likewise.
14249 * soft-fp/getf2.c (__getf2): Likewise.
14250 * soft-fp/ledf2.c (__ledf2): Likewise.
14251 * soft-fp/lesf2.c (__lesf2): Likewise.
14252 * soft-fp/letf2.c (__letf2): Likewise.
14253
98998e9f
JM
14254 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14255 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14256 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14257 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14258 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14259 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14260 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14261 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14262 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14263 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14264 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14265 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14266 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14267 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14268 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14269 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14270 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14271 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14272 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14273 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14274 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14275 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14276 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14277 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14278 * soft-fp/floattidf.c (__floattidf): Likewise.
14279 * soft-fp/floattisf.c (__floattisf): Likewise.
14280 * soft-fp/floattitf.c (__floattitf): Likewise.
14281 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14282 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14283 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14284 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14285 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14286 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14287 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14288 * soft-fp/gesf2.c (__gesf2): Likewise.
14289 * soft-fp/getf2.c (__getf2): Likewise.
14290 * soft-fp/ledf2.c (__ledf2): Likewise.
14291 * soft-fp/lesf2.c (__lesf2): Likewise.
14292 * soft-fp/letf2.c (__letf2): Likewise.
14293
8edc4a11
JM
14294 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14295 Undefine and redefine.
14296 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14297 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14298 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14299 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14300 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14301 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14302 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14303 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14304 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14305 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14306 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14307 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14308 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14309 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14310 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14311
8399acaf
JM
14312 [BZ #16032]
14313 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14314 without decrementing exponent if mantissa >= that for the
14315 denominator, not >.
14316 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14317 denominator, not >. Decrement exponent in < case instead of
14318 incrementing in >= case.
14319 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14320 without decrementing exponent if mantissa >= that for the
14321 denominator, not >.
14322
99fd9f47
JM
14323 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14324 computing saturated result for unsigned overflow.
14325
10e1cf6b
SP
143262013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14327 Jeff Law <law@redhat.com>
14328
14329 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14330 (atan2Mp): Add systemtap probe marker.
14331 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14332 (__ieee754_log): Add systemtap probe marker.
14333 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14334 (atanMp): Add systemtap probe marker.
14335 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14336 (tanMp): Add systemtap probe marker.
14337 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14338 (__slowexp): Add systemtap probe marker.
14339 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14340 (__slowpow): Add systemtap probe marker.
14341 * manual/probes.texi: Document probes.
14342
3d110c7c
EB
143432013-10-11 Eric Biggers <ebiggers3@gmail.com>
14344
14345 [BZ #15362]
14346 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14347 written.
14348 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14349 written.
14350 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14351 written to buffer but not flushed.
14352 * libio/iofwrite_u.c: Likewise.
14353 * libio/iopadn.c: Return bytes returned even if EOF was
14354 encountered.
14355 * libio/iowpadn.c: Likewise.
14356 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14357 if _IO_padn does not write the whole buffer.
14358 [!COMPILE_WPRINTF] (PAD): Likewise.
14359
75b4202a
DM
143602013-10-10 David S. Miller <davem@davemloft.net>
14361
14362 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14363 directory block.
14364
6c6352e6
JM
143652013-10-10 Joseph Myers <joseph@codesourcery.com>
14366
33b853c3
JM
14367 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14368 instead of FSF address.
14369 * soft-fp/fixdfti.c: Likewise.
14370 * soft-fp/fixsfti.c: Likewise.
14371 * soft-fp/fixtfti.c: Likewise.
14372 * soft-fp/fixunsdfti.c: Likewise.
14373 * soft-fp/fixunssfti.c: Likewise.
14374 * soft-fp/fixunstfti.c: Likewise.
14375 * soft-fp/floattidf.c: Likewise.
14376 * soft-fp/floattisf.c: Likewise.
14377 * soft-fp/floattitf.c: Likewise.
14378 * soft-fp/floatuntidf.c: Likewise.
14379 * soft-fp/floatuntisf.c: Likewise.
14380 * soft-fp/floatuntitf.c: Likewise.
14381 * soft-fp/trunctfxf2.c: Likewise.
14382
6c6352e6
JM
14383 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14384 * soft-fp/fixdfti.c: Likewise.
14385 * soft-fp/fixsfti.c: Likewise.
14386 * soft-fp/fixtfti.c: Likewise.
14387 * soft-fp/fixunsdfti.c: Likewise.
14388 * soft-fp/fixunssfti.c: Likewise.
14389 * soft-fp/fixunstfti.c: Likewise.
14390 * soft-fp/floattidf.c: Likewise.
14391 * soft-fp/floattisf.c: Likewise.
14392 * soft-fp/floattitf.c: Likewise.
14393 * soft-fp/floatuntidf.c: Likewise.
14394 * soft-fp/floatuntisf.c: Likewise.
14395 * soft-fp/floatuntitf.c: Likewise.
14396 * soft-fp/trunctfxf2.c: Likewise.
14397
3bf78b71
DM
143982013-10-10 David S. Miller <davem@davemloft.net>
14399
14400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14401
6f10289e
JM
144022013-10-10 Joseph Myers <joseph@codsourcery.com>
14403
bd878fc0
JM
14404 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14405 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14406 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14407 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14408 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14409 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14410 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14411
6f10289e
JM
14412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14413 for NaNs before doing comparisons on argument.
14414 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14415 Likewise.
14416
321e2684
WN
144172013-10-10 Will Newton <will.newton@linaro.org>
14418
14419 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14420 passed to _int_memalign does not overflow.
14421
40fefba1
TR
144222013-10-10 Torvald Riegel <triegel@redhat.com>
14423
14424 * scripts/bench.pl: Add include-sources directive.
14425 * benchtests/README: Update documentation.
14426
2ae21ed2
JM
144272013-10-10 Joseph Myers <joseph@codesourcery.com>
14428
dcc2dd3f
JM
14429 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14430 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14431 instead of FP_INIT_ROUNDMODE.
14432 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14433 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14434
2ae21ed2
JM
14435 [BZ #16034]
14436 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14437 copy class of input value.
14438 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14439 not handle exceptions.
14440 * soft-fp/negsf2.c (__negsf2): Likewise.
14441 * soft-fp/negtf2.c (__negtf2): Likewise.
14442 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14443
cb8f9562
JM
144442013-10-09 Joseph Myers <joseph@codesourcery.com>
14445
14446 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14447 semicolon. From Linux kernel.
14448
5b60c59d
AB
144492013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14450
14451 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14452
b86835ca
YC
144532013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14454
14455 [BZ #156]
14456 * manual/socket.texi: Added statement about buffer
14457 for gethostbyname2_r.
14458
e7044ea7
OB
144592013-10-08 Ondřej Bílka <neleai@seznam.cz>
14460
14461 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14462 Use .p2align directive instead, throughout.
14463 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14464 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14465 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14468 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14469 * sysdeps/x86_64/strchr.S: Likewise.
14470 * sysdeps/x86_64/strrchr.S: Likewise.
14471
09544cbc
SP
144722013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14473
88576635
SP
14474 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14475
e7b2d1dd
SP
14476 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14477
09544cbc
SP
14478 * sysdeps/generic/math_private.h (__mpsin1): Remove
14479 declaration.
14480 (__mpcos1): Likewise.
14481 (__mpsin): New argument __range_reduce.
14482 (__mpcos): Likewise.
14483 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14484 (slow): Use __mpsin and __mpcos.
14485 (slow1): Likewise.
14486 (slow2): Likewise.
14487 (sloww): Likewise.
14488 (sloww1): Likewise.
14489 (sloww2): Likewise.
14490 (bsloww): Likewise.
14491 (bsloww1): Likewise.
14492 (bsloww2): Likewise.
14493 (cslow2): Likewise.
14494 (csloww): Likewise.
14495 (csloww1): Likewise.
14496 (csloww2): Likewise.
14497 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14498 range_reduce. Merge in __mpsin1.
14499 (__mpcos): Likewise.
14500 (__mpsin1): Remove.
14501 (__mpcos1): Likewise.
14502
7602d070
JM
145032013-10-07 Joseph Myers <joseph@codesourcery.com>
14504
14505 * locale/loadlocale.c (_nl_intern_locale_data): Use
14506 LOCFILE_ALIGNED_P.
14507 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14508 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14509 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14510 obstack data is appropriately aligned.
14511 (obstack_int32_grow_fast): Likewise.
14512 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14513 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14514 (add_locale_uint32_array): Likewise.
14515
a357259b
SP
145162013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14517
14518 * benchtests/Makefile: Remove ARGLIST and RET variables.
14519 ($(objpfx)bench-%.c): Pass only function name to the script.
14520 * benchtests/README: Update documentation.
14521 * benchtests/acos-inputs: Add new directives.
14522 * benchtests/acosh-inputs: Likewise.
14523 * benchtests/asin-inputs: Likewise.
14524 * benchtests/asinh-inputs: Likewise.
14525 * benchtests/atan-inputs: Likewise.
14526 * benchtests/atanh-inputs: Likewise.
14527 * benchtests/cos-inputs: Likewise.
14528 * benchtests/cosh-inputs: Likewise.
14529 * benchtests/exp-inputs: Likewise.
14530 * benchtests/log-inputs: Likewise.
14531 * benchtests/pow-inputs: Likewise.
14532 * benchtests/rint-inputs: Likewise.
14533 * benchtests/sin-inputs: Likewise.
14534 * benchtests/sinh-inputs: Likewise.
14535 * benchtests/tan-inputs: Likewise.
14536 * benchtests/tanh-inputs: Likewise.
14537 * scripts/bench.pl: Add support for new directives.
14538
9ec1b13d
AM
145392013-10-07 Alan Modra <amodra@gmail.com>
14540
14541 * README: Fix careless merge.
14542
8b7d57cd
AM
145432013-10-05 Alan Modra <amodra@gmail.com>
14544
14545 * NEWS: Mention powerpc64le support and bugs fixed.
14546 * README: Both big-endian and little-endian powerpc64 supported.
14547
7b7bab13
ST
145482013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14549
57f41c40
AS
14550 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14551 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14552 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14553 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14554
d39baad1
RA
145552013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14556
14557 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14558 match prototype.
14559
cd78f7e7
JM
145602013-10-04 Joseph Myers <joseph@codesourcery.com>
14561
29d73d86
JM
14562 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14563 Move -mhard-float appending from
14564 ports/sysdeps/powerpc/powerpc32/Makefile.
14565 [$(with-fp) = yes] (ASFLAGS): Likewise.
14566 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14567 * sysdeps/powerpc/nofpu: Move directory from
14568 ports/sysdeps/powerpc/nofpu.
14569 * sysdeps/powerpc/soft-fp: Move directory from
14570 ports/sysdeps/powerpc/soft-fp.
14571 * sysdeps/powerpc/powerpc32/405: Move directory from
14572 ports/sysdeps/powerpc/powerpc32/405.
14573 * sysdeps/powerpc/powerpc32/440: Move directory from
14574 ports/sysdeps/powerpc/powerpc32/440.
14575 * sysdeps/powerpc/powerpc32/464: Move directory from
14576 ports/sysdeps/powerpc/powerpc32/464.
14577 * sysdeps/powerpc/powerpc32/476: Move directory from
14578 ports/sysdeps/powerpc/powerpc32/476.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14580 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14582 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14584 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14586 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14588 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14589 * README: Update for powerpc-*-linux-gnu software floating point
14590 support in libc.
14591
e246b347
JM
14592 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14593 case to powerpc/powerpc32*.
14594 * sysdeps/unix/sysv/linux/configure: Regenerated.
14595
89c2003e
JM
14596 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14597 (_FPU_MASK_OM): Define as 0x04.
14598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14600 0x00c10080.
14601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14602 0x0000003c.
14603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14604
cd78f7e7
JM
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14606 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14607 getcontext_e500.
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14609 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14610 setcontext_e500.
14611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14612 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14613 and setcontext_e500.
14614
c755294d
CL
146152013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14616
14617 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14618
e16d221c
SP
146192013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14620
14621 * manual/threads.texi (Default Thread Attributes): Fix typo.
14622
215c7d43
WN
146232013-10-04 Will Newton <will.newton@linaro.org>
14624
14625 * malloc/Makefile: Add tst-memalign.
14626 * malloc/tst-memalign.c: New file.
14627
27d0461b
WN
14628 * malloc/tst-posix_memalign.c: Add comments.
14629 (do_test): Add comments and call free on all potentially
14630 allocated pointers. Add space after cast.
14631
1bc92709
WN
14632 * malloc/tst-pvalloc.c: Add comments.
14633 (do_test): Add comments and call free on all potentially
14634 allocated pointers. Remove duplicate check for NULL pointer.
14635 Add space after cast.
14636
66a9be9d
WN
14637 * malloc/tst-valloc.c: Add comments.
14638 (do_test): Add comments and call free on all potentially
14639 allocated pointers. Remove duplicate check for NULL pointer.
14640 Add space after cast.
14641
4cb81307
AM
146422013-10-04 Alan Modra <amodra@gmail.com>
14643
14644 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14645 Use stdint types in rather than __attribute__((mode())).
14646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14647
f8e3e9f3
AM
146482013-10-04 Alan Modra <amodra@gmail.com>
14649
14650 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14651 Correct handling of unaligned relocs for little-endian.
14652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14653
8f9ebb08
AM
146542013-10-04 Alan Modra <amodra@gmail.com>
14655
14656 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14657 * configure: Regenerate.
14658 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14659 * shlib-versions: Likewise.
14660
0edf96c2
AM
146612013-10-04 Alan Modra <amodra@gmail.com>
14662
14663 * string/tester.c (test_memrchr): Increment reported test cycle.
14664
e0f7a380
AM
146652013-10-04 Alan Modra <amodra@gmail.com>
14666
14667 * string/test-memcpy.c (do_one_test): When reporting errors, print
14668 string address and don't overrun end of string.
14669
466b0393
AM
146702013-10-04 Alan Modra <amodra@gmail.com>
14671
14672 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14673 insrdi. Make better use of reg selection to speed exit slightly.
14674 Schedule entry path a little better. Remove useless "are we done"
14675 checks on entry to main loop. Handle wrapping around zero address.
14676 Correct main loop count. Handle single left-over word from main
14677 loop inline rather than by using loop_small. Remove extra word
14678 case in loop_small caused by wrong loop count. Add little-endian
14679 support.
14680 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14681 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14682 cache hint.
14683 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14684 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14685 support. Avoid rlwimi.
14686 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14687
3be87c77
AM
146882013-10-04 Alan Modra <amodra@gmail.com>
14689
14690 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14691 insrdi. Formatting.
3be87c77
AM
14692 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14693 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14694 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14695 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14696 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14697 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14698
759cfef3
AM
146992013-10-04 Alan Modra <amodra@gmail.com>
14700
14701 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14702 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14703 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14704 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14705 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14706 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14707 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14708 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14709 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14710 use of regs. Use power7 mtocrf. Tidy function tails.
14711
fe6e95d7
AM
147122013-10-04 Alan Modra <amodra@gmail.com>
14713
14714 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14715 Formatting. Consistently use rXXX register defines or rN defines.
14716 Use early exit labels that avoid restoring unused non-volatile regs.
14717 Make cr field use more consistent with rWORDn compares. Rename
14718 regs used as shift registers for unaligned loop, using rN defines
14719 for short lifetime/multiple use regs.
14720 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14722 addi 1,1,64 to pop stack frame. Simplify return value code.
14723 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14724
664318c3
AM
147252013-10-04 Alan Modra <amodra@gmail.com>
14726
14727 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14728 support. Correct typos, formatting. Optimize tail. Use insrdi
14729 rather than rlwimi.
14730 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14731 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14732 little-endian support. Correct typos.
14733 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14734 rather than rlwimi.
14735 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14736 in loop and entry code to keep "and." results.
14737 (strchr): Add little-endian support. Comment. Move cntlzd
14738 earlier in tail.
14739 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14740
43b84013
AM
147412013-10-04 Alan Modra <amodra@gmail.com>
14742
14743 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14744 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14745 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14746 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14747
8a7413f9
AM
147482013-10-04 Alan Modra <amodra@gmail.com>
14749
14750 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14751 (rTMP): Define as r11.
14752 (strcmp): Add little-endian support. Optimise tail.
14753 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14754 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14755 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14756 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14757 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14760
33ee81de
AM
147612013-10-04 Alan Modra <amodra@gmail.com>
14762
14763 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14764 little-endian support. Remove unnecessary "are we done" tests.
14765 Handle "s" wrapping around zero and extremely large "size".
14766 Correct main loop count. Handle single left-over word from main
14767 loop inline rather than by using small_loop. Correct comments.
14768 Delete "zero" tail, use "end_max" instead.
14769 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14770
db9b4570
AM
147712013-10-04 Alan Modra <amodra@gmail.com>
14772
14773 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14774 support. Don't branch over align.
14775 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14776 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14777 support. Rearrange tmp reg use to suit. Comment.
14778 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14779
f7c399cf
AM
147802013-10-04 Alan Modra <amodra@gmail.com>
14781
14782 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14783
0b2c2ace
AM
147842013-10-04 Alan Modra <amodra@gmail.com>
14785
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14787 conditional form of branch and link when obtaining pc.
14788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14789
02f04a6c
AM
147902013-10-04 Alan Modra <amodra@gmail.com>
14791
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14793 HIWORD/LOWORD.
14794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14796
9b874b2f
AM
147972013-10-04 Alan Modra <amodra@gmail.com>
14798
14799 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14800 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14801 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14802 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14803 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14804 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14805 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14806 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14807 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14808 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14809
be1e5d31
AB
148102013-10-04 Anton Blanchard <anton@au1.ibm.com>
14811 Alistair Popple <alistair@ozlabs.au.ibm.com>
14812 Alan Modra <amodra@gmail.com>
14813
14814 [BZ #15723]
14815 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14816 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14817 _dl_hwcap access for little-endian.
14818 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14819 destroy vmx regs when saving unaligned.
14820 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14821 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14822 destroy vmx regs when saving unaligned.
14823
fef13a78
AM
148242013-10-04 Alan Modra <amodra@gmail.com>
14825
14826 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14827 Don't use a union to pack hi/low value.
14828
76a66d51
AB
148292013-10-04 Anton Blanchard <anton@au1.ibm.com>
14830
14831 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14832 for little-endian.
14833 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14835 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14836 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14837 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14838
6a31fe7f
AM
148392013-10-04 Alan Modra <amodra@gmail.com>
14840
14841 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14842 constants to usual value for .cst8 section, and remove redundant
14843 high address load.
14844 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14845 constant for 0x1p52. Load little-endian words of double from
14846 correct stack offsets.
14847
7b88401f
AM
148482013-10-04 Alan Modra <amodra@gmail.com>
14849
14850 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14851 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14852 words of double from correct stack offsets.
14853 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14854 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14855 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14857 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14858 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14859 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14860 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14861 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14862 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14865 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14866 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14867 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14868 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14869 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14870
9c008155
AM
148712013-10-04 Alan Modra <amodra@gmail.com>
14872
14873 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14874 64-bit int/double union.
14875 (_FPU_SETCW): Likewise.
14876 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14877 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14878
da13146d
AM
148792013-10-04 Alan Modra <amodra@gmail.com>
14880
14881 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14882 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14883
603e8410
AM
148842013-10-04 Alan Modra <amodra@gmail.com>
14885
14886 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14887 use vector int constants.
14888 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14889
4a28b3ca
AB
148902013-10-04 Anton Blanchard <anton@au1.ibm.com>
14891
14892 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14893 array with long long.
14894 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14895 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14896 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14897 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14898 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14899 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14900 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14901 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14902 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14903 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14904 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14905 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14906 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14907
2ca85d2b
AB
149082013-10-04 Anton Blanchard <anton@au1.ibm.com>
14909
14910 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14911 (__signbit): Likewise. Correct for little-endian.
14912 (__signbitl): Call __signbit.
14913 (lrint): Correct for little-endian.
14914 (lrintf): Call lrint.
14915
62a728ae
AM
149162013-10-04 Alan Modra <amodra@gmail.com>
14917
14918 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14919 union 32-bit int array member with 64-bit int array.
14920 (t515, tm256): Double rather than long double.
14921 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14922
32c301df
AM
149232013-10-04 Alan Modra <amodra@gmail.com>
14924
14925 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14926 Delete.
14927 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14929 version of math_ldbl.h.
14930
650ef4bd
AM
149312013-10-04 Alan Modra <amodra@gmail.com>
14932
14933 [BZ #15734], [BZ #15735]
14934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14935 all uses of ieee875 long double macros and unions. Simplify test
14936 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14937 ldbl_extract_mantissa value for ix,iy exponents. Properly
14938 normalize after ldbl_extract_mantissa, and don't add hidden bit
14939 already handled. Don't treat low word of ieee854 mantissa like
14940 low word of IBM long double and mask off bit when testing for
14941 zero.
14942 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14943 all uses of ieee875 long double macros and unions. Simplify tests
14944 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14945 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14946 two1022, instead use their values. Recognise that tests for large
14947 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14948 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14949 Rewrite all uses of ieee875 long double macros and unions. Simplify
14950 test for 0.0L and nan. Correct negation.
14951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14952 ieee875 long double macros and unions. Correct output for large
14953 magnitude x. Correct absolute value calculation.
14954 (__erfcl): Likewise.
14955 * math/libm-test.inc: Add tests for errors discovered in IBM long
14956 double versions of fmodl, remainderl, erfl and erfcl.
14957
765714ca
AM
149582013-10-04 Alan Modra <amodra@gmail.com>
14959
14960 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14961 all uses of ieee854 long double macros and unions. Simplify tests
14962 for long doubles that are fully specified by the high double.
14963 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14964 Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14966 Remove dead code too.
14967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14968 (__ieee754_ynl): Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14972 Remove dead code too.
14973 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14977 Simplify.
14978 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14979 Simplify.
14980 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14983 Comment on variable precision.
14984 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14986 Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14992
4ebd120c
AM
149932013-10-04 Alan Modra <amodra@gmail.com>
14994
14995 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14996 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14997 all uses of ieee854 long double macros and unions.
14998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15002 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15004 Likewise.
15005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15009 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15010 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15011 Simplify sign and nan test too.
15012 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15016 Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15019 Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15023 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15026
1b6adf88
AM
150272013-10-04 Alan Modra <amodra@gmail.com>
15028
15029 * stdio-common/printf_size.c (__printf_size): Don't use
15030 union ieee854_long_double in fpnum union.
15031 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15032 signbit macro to retrieve sign from long double.
15033 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15034 retrieve sign from long double.
15035 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15036 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15037 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15038 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15039 * math/test-misc.c (main): Don't use union ieee854_long_double.
15040
4cf69995
AM
150412013-10-04 Alan Modra <amodra@gmail.com>
15042
15043 [BZ #15680]
15044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15045 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15046 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15047 calculation. Remove unnecessary test for denormal exponent.
15048 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15049 Correct handling of denormals. Avoid undefined shift behaviour.
15050 Correct normalisation of low mantissa when low double is denormal.
15051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15052 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15053 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15054 Correct normalisation of low mantissa. Test for overflow of high
15055 mantissa and normalise.
15056 (ldbl_nearbyint): Use more readable constant for two52.
15057 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15058 (__mpn_construct_long_double): Fix test for overflow of high
15059 mantissa and correct normalisation. Avoid undefined shift.
15060
9605ca6c
AM
150612013-10-04 Alan Modra <amodra@gmail.com>
15062
15063 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15064 (union ibm_extended_long_double): Define as an array of ieee754_double.
15065 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15066 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15067 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15068 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15076
975569d0
JM
150772013-10-03 Joseph Myers <joseph@codesourcery.com>
15078
d3d23756
JM
15079 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15080 page size instead of calling getpagesize.
15081
975569d0
JM
15082 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15083 (LOCFILE_ALIGN_MASK): Likewise.
15084 (LOCFILE_ALIGN_UP): Likewise.
15085 (LOCFILE_ALIGNED_P): Likewise.
15086 * locale/programs/ld-collate.c (collate_output): Use the new
15087 macros instead of __alignof__ (int32_t).
15088 * locale/weight.h (findidx): Likewise.
15089
b1fe1f2b
OB
150902013-10-03 Ondřej Bílka <neleai@seznam.cz>
15091
15092 [BZ #431]
15093 * manual/string.texi: Fix strncat and wcsncat.
15094
5f855e35
BM
150952013-10-03 Brooks Moses <bmoses@google.com>
15096
15097 [BZ #15915]
15098 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15099 * Makerules: ...here, and adjust associated comments.
15100
3cef6009
WN
151012013-10-02 Will Newton <will.newton@linaro.org>
15102
15103 * malloc/Makefile: Add tst-pvalloc.
15104 * malloc/tst-pvalloc.c: New file.
15105
7815420b
WN
151062013-10-02 Will Newton <will.newton@linaro.org>
15107
15108 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15109 improve test coverage.
15110
4868b204
WN
151112013-10-02 Will Newton <will.newton@linaro.org>
15112
15113 * malloc/Makefile: Add tst-posix_memalign.
15114 * malloc/tst-posix_memalign.c: New file.
15115
29c793b3
EB
151162013-10-01 Eric Blake <eblake@redhat.com>
15117
15118 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15119 Use __THROWNL rather than __THROW on static functions.
15120
fd967522
PM
151212013-09-30 Petr Machata <pmachata@redhat.com>
15122
15123 * elf/elf.h (R_AARCH64_ABS16): New macro.
15124 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15125 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15126 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15127 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15128 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15129 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15130 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15131 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15132 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15133 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15134 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15135 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15136 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15137 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15138 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15139 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15140 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15141 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15142 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15143 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15144 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15145 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15146 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15147 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15148 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15149 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15150 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15151 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15152 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15153 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15154 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15155 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15156 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15157 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15158 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15159 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15160 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15161 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15162 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15163 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15164 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15165 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15166 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15167 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15168 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15169 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15170 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15171 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15172 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15173 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15174 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15175 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15176 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15177 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15178 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15179 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15180 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15181 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15182 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15183 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15184 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15185 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15186 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15187 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15188 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15189 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15190 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15191 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15192 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15193 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15194 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15195 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15196 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15197 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15198 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15199 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15200 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15201 (R_AARCH64_TLSDESC_LDR): Likewise.
15202 (R_AARCH64_TLSDESC_ADD): Likewise.
15203 (R_AARCH64_TLSDESC_CALL): Likewise.
15204
b2179107
AS
152052013-09-30 Andreas Schwab <schwab@suse.de>
15206
15207 [BZ #15048]
15208 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15209 the nss database lookup.
15210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15212
47f28d0a
MF
152132013-09-28 Mike Frysinger <vapier@gentoo.org>
15214
15215 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15216
152172013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15218
15219 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15220 ${Bash-specific parameter/pattern/string} parameter expansion.
15221 * sysdeps/unix/make-syscalls.sh: Likewise.
15222
f4518a17
KK
152232013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15224
15225 * sysdeps/sh/stackguard-macros.h: New file.
15226
dc1a95c7
OB
152272013-09-26 Ondřej Bílka <neleai@seznam.cz>
15228
15229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15231 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15232 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15233 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15234 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15235
5ebbff8f
AZ
152362013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15237
15238 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15239 Fix thread ID register.
15240
4fd2cf9f
JM
152412013-09-25 Joseph Myers <joseph@codesourcery.com>
15242
15243 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15244 [POSIX || UNIX98]: Require rather than permitting all symbols from
15245 <time.h>.
15246 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15247 element of struct sched_param.
15248 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15249 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15250 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15251 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15252 constant.
15253
12c22bc4
OL
152542013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15255
15256 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15257 argument calculation.
15258
a03d8ea7
JM
152592013-09-24 Joseph Myers <joseph@codesourcery.com>
15260
15261 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15262 Expect macro.
15263 [POSIX] (pthread_attr_t): Do not require type.
15264 [POSIX] (pthread_cond_t): Likewise.
15265 [POSIX] (pthread_condattr_t): Likewise.
15266 [POSIX] (pthread_key_t): Likewise.
15267 [POSIX] (pthread_mutex_t): Likewise.
15268 [POSIX] (pthread_mutexattr_t): Likewise.
15269 [POSIX] (pthread_once_t): Likewise.
15270 [POSIX] (pthread_t): Likewise.
15271 [POSIX-based standards] (pthread_atfork): Expect function.
15272
6055173a
JM
152732013-09-24 Joseph Myers <joseph@codesourcery.com>
15274 Richard Sandiford <richard@codesourcery.com>
15275
15276 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15277 (swap_endianness_p): New extern variable.
15278 (set_big_endian): New inline function.
15279 (maybe_swap_uint32): Likewise.
15280 (maybe_swap_uint32_array): Likewise.
15281 (maybe_swap_uint32_obstack): Likewise.
15282 * locale/programs/locfile.c: Include <stdbool.h>.
15283 (swap_endianness_p): New variable.
15284 (add_locale_uint32): Call maybe_swap_uint32.
15285 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15286 (write_locale_data): Call maybe_swap_uint32_array.
15287 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15288 maybe_swap_uint32.
15289 (obstack_int32_grow_fast): Likewise.
15290 (output_weightwc): Call maybe_swap_uint32_obstack.
15291 (collate_output): Likewise.
15292 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15293 (OPT_LITTLE_ENDIAN): Likewise.
15294 (options): Add --little-endian and --big-endian options.
15295 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15296 * locale/programs/locarchive.c: Include "locfile.h".
15297 (GET): New macro.
15298 (SET): Likewise.
15299 (INC): Likewise.
15300 (create_archive): Use the new macros to access fields of
15301 structures directly mapped from or written to locale archives.
15302 (oldlocrecentcmp): Likewise.
15303 (enlarge_archive): Likewise.
15304 (insert_name): Likewise.
15305 (add_alias): Likewise.
15306 (add_locale): Likewise.
15307 (delete_locales_from_archive): Likewise.
15308 (show_archive_content): Likewise.
15309 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15310 locale data.
15311
39bf0bb4
RM
153122013-09-24 Roland McGrath <roland@hack.frob.com>
15313
15314 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15315 http://www.gnu.org/doc/freemanuals.texi.
15316 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15317
f02eed10
WN
153182013-09-24 Will Newton <will.newton@linaro.org>
15319
15320 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15321 macro.
15322
a3a6c312
JM
153232013-09-23 Joseph Myers <joseph@codesourcery.com>
15324
15325 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15326 unsigned char.
15327
107375ac
MR
153282013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15329
15330 * manual/threads.texi (POSIX Threads): Fix a typo.
15331
141f3a77
SP
153322013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15333
303e567a
SP
15334 [BZ #14547]
15335 * string/tst-strcoll-overflow.c: New test case.
15336 * string/Makefile (xtests): Add tst-strcoll-overflow.
15337 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15338 cache if string sizes may cause integer overflow.
15339
141f3a77
SP
15340 [BZ #14547]
15341 * string/strcoll_l.c (coll_seq): New members rule, idx,
15342 save_idx and back_us.
15343 (get_next_seq_nocache): New function.
15344 (do_compare_nocache): New function.
15345 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15346 when malloc fails.
15347
c61b4d41
CD
153482013-09-23 Carlos O'Donell <carlos@redhat.com>
15349
0b1f8e35
CD
15350 [BZ #15754]
15351 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15352 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15353 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15354
c61b4d41
CD
15355 [BZ #15754]
15356 * elf/Makefile (tests): Add tst-ptrguard1.
15357 (tests-static): Add tst-ptrguard1-static.
15358 (tst-ptrguard1-ARGS): Define.
15359 (tst-ptrguard1-static-ARGS): Define.
15360 * elf/tst-ptrguard1.c: New file.
15361 * elf/tst-ptrguard1-static.c: New file.
15362 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15363 * sysdeps/i386/stackguard-macros.h: Likewise.
15364 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15365 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15366 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15367 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15368 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15369 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15370
153712013-09-23 Hector Marco <hecmargi@upv.es>
15372 Ismael Ripoll <iripoll@disca.upv.es>
15373 Carlos O'Donell <carlos@redhat.com>
15374
15375 [BZ #15754]
15376 * sysdeps/generic/stackguard-macros.h: Define
15377 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15378 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15379 Define __pointer_chk_guard_local.
15380 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15381 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15382
f5f4e7b4
VV
153832013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15384
15385 [BZ #15859]
15386 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15387
5bb43a43
AS
153882013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15389
15390 * include/string.h (__ffs): Declare as hidden.
15391 * string/ffs.c (__ffs): Define as hidden.
15392 * sysdeps/i386/ffs.c (__ffs): Likewise.
15393 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15394 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15395 * sysdeps/s390/ffs.c (__ffs): Likewise.
15396 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15397
3ea5be54
AO
153982013-09-20 Alexandre Oliva <aoliva@redhat.com>
15399
ffb89e53
AO
15400 * NEWS: Mention malloc probes.
15401
322dea08
AO
15402 * malloc/arena.c (new_heap): New memory_heap_new probe.
15403 (grow_heap): New memory_heap_more probe.
15404 (shrink_heap): New memory_heap_less probe.
15405 (heap_trim): New memory_heap_free probe.
15406 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15407 (systrim): New memory_sbrk_less probe.
15408 * manual/probes.texi: Document them.
15409
655673f3
AO
15410 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15411 * manual/probes.texi: Document it.
15412
35fed6f1
AO
15413 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15414 (__libc_realloc): Add memory_realloc_retry probe.
15415 (__libc_memalign): Add memory_memalign_retry probe.
15416 (__libc_valloc): Add memory_valloc_retry probe.
15417 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15418 (__libc_calloc): Add memory_calloc_retry probe.
15419 * manual/probes.texi: Document them.
15420
6999d38c
AO
15421 * malloc/arena.c (get_free_list): Add probe
15422 memory_arena_reuse_free_list.
15423 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15424 and memory_arena_reuse.
15425 (arena_get2) [!PER_THREAD]: Likewise.
15426 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15427 memory_arena_reuse_realloc.
15428 * manual/probes.texi: Document them.
15429
0653427f
AO
15430 * malloc/malloc.c (__libc_free): Add
15431 memory_mallopt_free_dyn_thresholds probe.
15432 (__libc_mallopt): Add multiple memory_mallopt probes.
15433 * manual/probes.texi: Document them.
15434
3ea5be54
AO
15435 * malloc/malloc.c: Include stap-probe.h.
15436 (__libc_mallopt): Add memory_mallopt probe.
15437 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15438 * manual/probes.texi: New.
15439 * manual/Makefile (chapters): Add probes.
15440 * manual/threads.texi: Set next node.
15441
e35696c3 154422013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15443
e35696c3
CL
15444 [BZ #15963, #13985]
15445 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15446 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15447 Add `Chinese' to `nan' entry name.
15448
4aafb73c
SP
154492013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15450
15451 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15452 (POLYNOMIAL): Likewise.
15453 (TAYLOR_SINCOS): Likewise.
15454 (TAYLOR_SLOW): Likewise.
15455 (__sin): Use TAYLOR_SINCOS.
15456 (__cos): Likewise.
15457 (slow): Use TAYLOR_SLOW.
15458 (sloww): Likewise.
15459 (bsloww): Likewise.
15460 (csloww): Likewise.
15461
d84f25c7
LD
154622013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15463
15464 * stdlib/strtod_l.c: Fix buffer overrun.
15465
5eea0404
SP
154662013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15467
7849ff93
SP
15468 * benchtests/Makefile (bench): Add sincos.
15469 * benchtests/bench-sincos.c: New file.
15470
cfa3c886
SP
15471 * math/libm-test.inc (cos_test_data): New test inputs.
15472 (sin_test_data): Likewise.
15473
b348e1e3
SP
15474 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15475 macro.
15476 (__sin): Use it.
15477 (__cos): Likewise.
15478 (slow1): Likewise.
15479 (slow2): Likewise.
15480 (sloww1): Likewise.
15481 (sloww2): Likewise.
15482 (bsloww1): Likewise.
15483 (bsloww2): Likewise.
15484 (cslow2): Likewise.
15485 (csloww1): Likewise.
15486 (csloww2): Likewise.
15487
6cce25f8
SP
15488 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15489 function.
15490 (__sin): Use it.
15491 (__cos): Likewise.
15492
5eea0404
SP
15493 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15494 gotos.
15495 (__cos): Likewise.
15496
9c21573c
MR
154972013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15498
15499 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15500 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15501 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15502 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15503 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15504 * elf/cache.c (print_entry): Handle the new cache flags.
15505
24d22e65
JM
155062013-09-18 Joseph Myers <joseph@codesourcery.com>
15507 Aldy Hernandez <aldyh@redhat.com>
15508
15509 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15510 Change condition to [_SOFT_FLOAT].
15511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15523 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15526 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15527 declaration.
15528
d13ef066
JM
155292013-09-18 Joseph Myers <joseph@codesourcery.com>
15530
2e071de0
JM
15531 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15532 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15533 (__longjmp): Use LOAD_GP to load saved GPRs.
15534 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15535 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15536 (__sigsetjmp): Use SAVE_GP to save GPRs.
15537
d13ef066
JM
15538 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15539 Do not append -msoft-float.
15540 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15541
97a0650b
SP
155422013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15543
15544 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15545
11ca09e9
JM
155462013-09-17 Joseph Myers <joseph@codesourcery.com>
15547
15548 [BZ #15966]
15549 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15550 (_FPU_GETCW): Use initial "__" on variable and field names but not
15551 on macro parameter name.
15552 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15553 parentheses around reference to macro parameter.
15554
08ffcf34
RS
155552013-09-13 Richard Sandiford <richard@codesourcery.com>
15556
15557 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15558 prototype.
15559 (ctype_startup): Use uint32_t in cast and sizeof for
15560 ctype->charnames.
15561
ae7080d3
JL
155622013-09-11 Jia Liu <proljc@gmail.com>
15563
15564 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15565 __daddr_t_defined.
15566 [__FreeBSD__]: Likewise.
15567
5905e7b3
OB
155682013-09-11 Ondřej Bílka <neleai@seznam.cz>
15569
15570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15571 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15572 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15573 (strchr): Remove __strchr_sse42 ifunc selection.
15574 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15575 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15576
b987c776
WN
155772013-09-11 Will Newton <will.newton@linaro.org>
15578
15579 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15580 parameter to RES. Remove hardcoded 1000 value.
15581 * benchtests/bench-skeleton.c (main): Pass RES parameter
15582 to TIMING_INIT and multiply result by 1000.
15583
ddf985af
AZ
155842013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15585
15586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15587
ffdd3181
AS
155882013-09-11 Andreas Schwab <schwab@suse.de>
15589
15590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15591 if not defined.
15592 (O_TMPFILE) [__USE_GNU]: Define.
15593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15594 Define.
15595
b73ed247
WN
155962013-09-11 Will Newton <will.newton@linaro.org>
15597
15598 [BZ #15857]
15599 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15600 does not overflow.
15601
55e17aad
WN
156022013-09-11 Will Newton <will.newton@linaro.org>
15603
15604 [BZ #15856]
15605 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15606 does not overflow.
15607
1159a193
WN
156082013-09-11 Will Newton <will.newton@linaro.org>
15609
15610 [BZ #15855]
15611 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15612 does not overflow.
15613
5905e7b3 156142013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15615
15616 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15617 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15618 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15621
cdfc721b
AM
156222013-09-10 Allan McRae <allan@archlinux.org>
15623
aa04af00
AM
15624 [BZ #15748]
15625 * manual/arith.texi (Parsing of Floats): Clarify
15626 cross-reference.
15627
cdfc721b
AM
15628 [BZ #15849]
15629 * manual/install.texi (Running make install): Mention
15630 --enable-pt-chown.
15631 * INSTALL: Regenerated.
15632
95e7cf29
MR
156332013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15634
15635 * csu/init-first.c (_init): Remove the !SHARED condition around
15636 FPU control word initialization.
15637 * elf/dl-support.c (_dl_fpu_control): New variable.
15638 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15639 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15640 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15641 * math/test-fpucw-static.c: New file.
15642 * math/test-fpucw-ieee.c: New file.
15643 * math/test-fpucw-ieee-static.c: New file.
15644 * math/Makefile (tests): Add `test-fpucw-ieee' and
15645 `$(tests-static)'.
15646 (tests-static): New variable.
15647 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15648 dependency to...
15649 [($(build-shared),yes)]
15650 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15651 ... this.
15652 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15653 New dependency.
15654
83e43bf0
AM
156552013-09-09 Allan McRae <allan@archlinux.org>
15656
a9f5ce09
AM
15657 [BZ #15939]
15658 * manual/string.texi (Collation Functions): Fix typo in
15659 strcoll example.
15660 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15661
34829bc2
AM
15662 [BZ #15893]
15663 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15664
3932737d
AM
15665 [BZ #15892]
15666 * libio/memstream.c (open_memstream): Fix memory leak.
15667 * libio/wmemstream.c (open_wmemstream): Likewise.
15668
83e43bf0
AM
15669 [BZ #15895]
15670 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15671
0c66b8e9
WN
156722013-09-09 Will Newton <will.newton@linaro.org>
15673
15674 * malloc/Makefile: Add tst-realloc to tests.
15675 * malloc/tst-realloc.c: New file.
15676
f6b00fd1
AM
156772013-09-09 Allan McRae <allan@archlinux.org>
15678
15679 [BZ #15844]
15680 * COPYING: Update from GNU website to fix FSF address.
15681 * COPYING.LIB: Likewise.
15682
eec55e16
DM
156832013-09-06 David S. Miller <davem@davemloft.net>
15684
15685 * po/zh_TW.po: Update Chinese (traditional) translation from
15686 translation project.
15687
1ecbb381
RS
156882013-09-06 Richard Sandiford <richard@codesourcery.com>
15689 Joseph Myers <joseph@codesourcery.com>
15690
15691 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15692 "localeinfo.h".
15693 (obstack_chunk_alloc): New macro.
15694 (obstack_chunk_free): Likewise.
15695 (record_offset): New function.
15696 (init_locale_data): Likewise.
15697 (align_locale_data): Likewise.
15698 (add_locale_empty): Likewise.
15699 (add_locale_raw_data): Likewise.
15700 (add_locale_raw_obstack): Likewise.
15701 (add_locale_string): Likewise.
15702 (add_locale_wstring): Likewise.
15703 (add_locale_uint32): Likewise.
15704 (add_locale_uint32_array): Likewise.
15705 (add_locale_char): Likewise.
15706 (start_locale_structure): Likewise.
15707 (end_locale_structure): Likewise.
15708 (start_locale_prelude): Likewise.
15709 (end_locale_prelude): Likewise.
15710 (write_locale_data): Take locale_file structure rather than an
15711 iovec.
15712 * locale/programs/locfile.h: Include "obstack.h".
15713 (struct locale_file): Change to store locale file contents instead
15714 of header.
15715 (init_locale_data): New prototype.
15716 (align_locale_data): Likewise.
15717 (add_locale_empty): Likewise.
15718 (add_locale_raw_data): Likewise.
15719 (add_locale_raw_obstack): Likewise.
15720 (add_locale_string): Likewise.
15721 (add_locale_wstring): Likewise.
15722 (add_locale_uint32): Likewise.
15723 (add_locale_uint32_array): Likewise.
15724 (add_locale_char): Likewise.
15725 (start_locale_structure): Likewise.
15726 (end_locale_structure): Likewise.
15727 (start_locale_prelude): Likewise.
15728 (end_locale_prelude): Likewise.
15729 (write_locale_data): Update prototype.
15730 * locale/programs/3level.h (struct TABLE): Remove result field.
15731 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15732 Use new locale_file interface.
15733 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15734 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15735 * locale/programs/ld-address.c (address_output): Use new
15736 locale_file interface.
15737 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15738 NO_ADD_LOCALE.
15739 (collate_finish): Don't call collseq_table_finalize.
15740 (collate_output): Use new locale_file interface.
15741 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15742 in file.
15743 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15744 (TABLE): Move defines earlier in file.
15745 (ELEMENT): Likewise.
15746 (DEFAULT): Likewise.
15747 (wctrans_table_add): Move macro and inline function earlier in
15748 file.
15749 (struct wctype_table): Move type earlier in file.
15750 (add_locale_wctype_table): New static prototype.
15751 (struct locale_ctype_t): Use logical types instead of struct iovec
15752 pointers for members.
15753 (ctype_output): Use new locale_file interface.
15754 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15755 new locale_file interface.
15756 (allocate_arrays): Update for use of new locale_file interface.
15757 * locale/programs/ld-identification.c (identification_output): Use
15758 new locale_file interface.
15759 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15760 * locale/programs/ld-messages.c (messages_output): Likewise.
15761 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15762 * locale/programs/ld-name.c (name_output): Likewise.
15763 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15764 * locale/programs/ld-paper.c (paper_output): Likewise.
15765 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15766 * locale/programs/ld-time.c (time_output): Likewise.
15767
e029e2e5
AZ
157682013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15769
15770 * benchtests/Makefile: Add memrchr benchmark.
15771 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15772 benchmark as memrchr.
15773 * benchtests/bench-memrchr-ifunc.c: New file.
15774 * benchtests/bench-memrchr.c: New file.
15775
bbf6e8e4
WN
157762013-09-06 Will Newton <will.newton@linaro.org>
15777
15778 * benchtests/Makefile (string-bench): Add memcpy.
15779
6c82a2f8
CD
157802013-09-05 Carlos O'Donell <carlos@redhat.com>
15781 Cong Wang <amwang@redhat.com>
15782
e732c5f0 15783 [BZ #15850]
6c82a2f8
CD
15784 * sysdeps/unix/sysv/linux/bits/in.h
15785 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15786 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15787 before __USE_KERNEL_IPV6_DEFS uses.
15788 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15789 IPPROTO_BEETPH.
15790 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15791 sockaddr_in6, or ipv6_mreq.
15792
5430fc65
AZ
157932013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15794
15795 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15796 memory access for final bytes in some large inputs.
15797 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15798
4660856c
AZ
157992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15800
15801 * string/test-memrchr.c: New file.
15802 * string/test-memrchr-ifunc.c: New file.
15803 * string/Makefile: Add new memrchr testcase.
15804
bb8ea713
MF
158052013-09-05 Mike Frysinger <vapier@gentoo.org>
15806
15807 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15808 fanotify_init returns EPERM.
15809
b92a20b5
JM
158102013-09-04 Joseph Myers <joseph@codesourcery.com>
15811
15812 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15813 errors.
15814 (top level): Treat second token from macro or constant entries for
15815 allowed headers as allowed.
15816 * include/complex.h: Condition internal declarations on
15817 [!_ISOMAC].
15818 * include/fenv.h: Condition include of <stdbool.h> and internal
15819 declarations on [!_ISOMAC].
7447ccd9
CL
15820
158212013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15822
3e181dda 15823 [BZ #15923]
7447ccd9
CL
15824 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15825
3f2e46a4
JM
158262013-09-04 Joseph Myers <joseph@codesourcery.com>
15827
15828 * configure.in (--enable-versioning): Remove configure option.
15829 (libc_cv_asm_symver_directive): Remove configure test.
15830 (libc_cv_ld_version_script_option): Likewise.
15831 (VERSIONING): Remove variable and AC_SUBST.
15832 (DO_VERSIONING): Remove AC_DEFINE.
15833 * configure: Regenerated.
15834 * config.h.in (DO_VERSIONING): Remove macro.
15835 * Makerules [$(versioning) = yes]: Change conditionals to
15836 [$(build-shared) = yes].
15837 * config.make.in (versioning): Remove variable.
15838 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15839 [$(build-shared) = yes].
15840 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15841 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15842 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15843 [$(build-shared) = yes].
15844 * extra-lib.mk [$(versioning) = yes]: Likewise.
15845 * hurd/Makefile [$(versioning) = yes]: Likewise.
15846 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15847 [SHARED].
15848 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15849 [SHARED].
15850 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15851 [SHARED && !NO_HIDDEN].
15852 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15853 [SHARED].
15854 [SHARED && DO_VERSIONING]: Likewise..
15855 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15856 [$(build-shared) = yes].
15857 * manual/install.texi (--disable-versioning): Remove
15858 documentation.
15859 * INSTALL: Regenerated.
15860 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15861 to [SHARED].
15862 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15863 [$(build-shared) = yes].
15864 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15865 * sysdeps/i386/i686/multiarch/strstr-c.c
15866 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15867 [SHARED && !NO_HIDDEN].
15868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15869 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15870 * sysdeps/powerpc/powerpc32/dl-machine.c
15871 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15872 * sysdeps/powerpc/powerpc32/sysdep.h
15873 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15874 to [SHARED && PIC && !NO_HIDDEN].
15875 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15876 conditional to [SHARED].
15877
44558701
WN
158782013-09-04 Will Newton <will.newton@linaro.org>
15879
15880 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15881 * benchtests/bench-string.h: Include bench-timing.h instead
15882 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15883 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15884 call to HP_TIMING_DIFF_INIT.
15885 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15886 instead of hp-timing.h macros.
15887 * benchtests/bench-memchr.c: Likewise.
15888 * benchtests/bench-memcmp.c: Likewise.
15889 * benchtests/bench-memcpy.c: Likewise.
15890 * benchtests/bench-memmem.c: Likewise.
15891 * benchtests/bench-memmove.c: Likewise.
15892 * benchtests/bench-memset.c: Likewise.
15893 * benchtests/bench-rawmemchr.c: Likewise.
15894 * benchtests/bench-strcasecmp.c: Likewise.
15895 * benchtests/bench-strcasestr.c: Likewise.
15896 * benchtests/bench-strcat.c: Likewise.
15897 * benchtests/bench-strchr.c: Likewise.
15898 * benchtests/bench-strcmp.c: Likewise.
15899 * benchtests/bench-strcpy.c: Likewise.
15900 * benchtests/bench-strcpy_chk.c: Likewise.
15901 * benchtests/bench-strlen.c: Likewise.
15902 * benchtests/bench-strncasecmp.c: Likewise.
15903 * benchtests/bench-strncat.c: Likewise.
15904 * benchtests/bench-strncmp.c: Likewise.
15905 * benchtests/bench-strncpy.c: Likewise.
15906 * benchtests/bench-strnlen.c: Likewise.
15907 * benchtests/bench-strpbrk.c: Likewise.
15908 * benchtests/bench-strrchr.c: Likewise.
15909 * benchtests/bench-strspn.c: Likewise.
15910 * benchtests/bench-strstr.c: Likewise.
15911
cae16d66
WN
159122013-09-04 Will Newton <will.newton@linaro.org>
15913
15914 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15915
ffa3cd7f
JM
159162013-09-03 Joseph Myers <joseph@codesourcery.com>
15917
15918 [BZ #15427]
15919 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15920 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15921 * math/libm-test.inc (lgamma_test_data): Add more tests.
15922 * sysdeps/i386/fpu/libm-test-ulps: Update.
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15924
8f02859f
OB
159252013-09-03 Ondřej Bílka <neleai@seznam.cz>
15926
15927 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15929 Add ifunc.
15930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15931 Add strcmp-sse2-unaligned
15932 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15933
18d43716
MF
159342013-09-02 Mike Frysinger <vapier@gentoo.org>
15935
15936 * Versions.def (libc): Add GLIBC_2.19.
15937
ac444012
MF
159382013-09-02 Mike Frysinger <vapier@gentoo.org>
15939
15940 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15941 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15942
b7835e32
JM
159432013-09-02 Joseph Myers <joseph@codesourcery.com>
15944
15945 [BZ #14155]
15946 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15947 intermediate calculations in recurrence.
15948 (__ieee754_ynf): Likewise.
15949 * math/libm-test.inc (jn_test_data): Do not allow spurious
15950 underflow exception. Add more tests.
15951 (yn_test_data): Add more tests.
15952 * sysdeps/i386/fpu/libm-test-ulps: Update.
15953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15954
8220f4f0
OB
159552013-09-02 Ondřej Bílka <neleai@seznam.cz>
15956
15957 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15958
f24a6d08
OB
159592013-08-30 Ondřej Bílka <neleai@seznam.cz>
15960
15961 * csu/init-first.c: Fix then/than typos.
15962 * locale/programs/ld-collate.c: Likewise.
15963 * locale/programs/linereader.h: Likewise.
15964 * manual/charset.texi: Likewise.
15965 * manual/filesys.texi: Likewise.
15966 * manual/stdio.texi: Likewise.
15967 * manual/string.texi: Likewise.
15968 * stdlib/fmtmsg.c: Likewise.
15969 * sysdeps/i386/stpncpy.S: Likewise.
15970 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15971 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15972 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15973 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15974
382466e0
OB
159752013-08-30 Ondřej Bílka <neleai@seznam.cz>
15976
15977 * elf/dl-open.c: Fix typos.
15978 * iconvdata/gbbig5.c: Likewise.
15979 * iconvdata/iso-2022-jp.c: Likewise.
15980 * iconv/gconv_int.h: Likewise.
15981 * iconv/loop.c: Likewise.
15982 * nis/rpcsvc/nis.h: Likewise.
15983 * resolv/ns_name.c: Likewise.
15984 * stdio-common/vfscanf.c: Likewise.
15985 * streams/stropts.h: Likewise.
15986 * sunrpc/rpc_thread.c: Likewise.
15987 * sysdeps/i386/strpbrk.S: Likewise.
15988 * sysdeps/ieee754/k_standard.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15991 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15992 * sysdeps/mach/hurd/profil.c: Likewise.
15993 * sysdeps/s390/dl-procinfo.h: Likewise.
15994 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15995 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15996 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15997 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15999
0186c6e9
OB
160002013-08-30 Ondřej Bílka <neleai@seznam.cz>
16001
16002 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16004
d4e16af1
OB
160052013-08-29 Ondřej Bílka <neleai@seznam.cz>
16006
16007 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16008 aix specific files.
16009 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16010 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16011 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16013 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16014 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16015 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16016 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16017
88335980
TS
160182013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16019 Roland McGrath <roland@hack.frob.com>
16020
16021 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16022 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16023
ed479b02
ST
160242013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16025
16026 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16027 __executable_start symbol instead of _start.
16028
f1cc4c86
TS
160292013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16030
d821f07c
TS
16031 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16032 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16033 Move macros to...
16034 * sysdeps/gnu/ldsodefs.h: ... this new file.
16035
c54290cf
TS
16036 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16037 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16038 instead of ELFOSABI_LINUX.
16039
0007fc9b 16040 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16041 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16042 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16043 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16044 Likewise.
16045 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16046 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16048 Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16050 (ibm_extended_long_double): Add ieee_nan member.
16051 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16052 (do_test): New function.
16053
f1cc4c86
TS
16054 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16055 TEST_TRUNC.
16056 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16057 functions, renamed from truncdfsf_test, trunctfsf_test,
16058 trunctfdf_test.
16059 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16060 functions.
16061 (do_test): Run all these.
16062
6f65e668
OB
160632013-08-29 Ondřej Bílka <neleai@seznam.cz>
16064
16065 * argp/argp-help.c: Fix typos.
16066 * argp/argp-parse.c: Likewise.
16067 * debug/backtracesyms.c: Likewise.
16068 * elf/elf.h: Likewise.
16069 * malloc/malloc.c: Likewise.
16070 * nis/nis_print.c: Likewise.
16071 * resolv/res_comp.c: Likewise.
16072 * stdlib/stdlib.h: Likewise.
16073 * sunrpc/clnt_tcp.c: Likewise.
16074 * sunrpc/clnt_udp.c: Likewise.
16075 * sunrpc/clnt_unix.c: Likewise.
16076 * sysdeps/unix/bsd/ptsname.c: Likewise.
16077 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16078 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16080 Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16082 Likewise.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16084 Likewise.
6f65e668
OB
16085 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16086
3a309239
SP
160872013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16088
16089 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16091
3b813b29
MF
160922013-08-27 Mike Frysinger <vapier@gentoo.org>
16093
16094 [BZ #15897]
16095 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16096 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16097 ($(objpfx)bug-dl-leaf): New rule.
16098 ($(objpfx)bug-dl-leaf.so): Likewise.
16099 ($(objpfx)bug-dl-leaf.out): Likewise.
16100 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16101 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16102 * dlfcn/bug-dl-leaf.c: New test.
16103 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16104 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16105 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16106 (dlclose): Likewise.
16107 (dlmopen): Likewise.
16108
8cc3269f
RM
161092013-08-27 Roland McGrath <roland@hack.frob.com>
16110
7f9d0034
RM
16111 * include/netdb.h [!_ISOMAC]:
16112 Don't include <tls.h>.
16113 (h_errno, __libc_h_errno): Move declaration and macros out of
16114 [_LIBC_REENTRANT].
16115
fb431262
RM
16116 * include/resolv.h [_RESOLV_H_]:
16117 Don't include <tls.h>.
16118 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16119 * resolv/res_libc.c: Don't include <tls.h>.
16120 (_res): Use __attribute__ ((nocommon)) in place of
16121 __attribute__ ((section (".bss"))).
16122
bd81123a
RM
16123 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16124 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16125
c4e42566
RM
16126 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16127
f890a59b
RM
16128 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16129 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16130
16131 * resolv/res_mkquery.c: Include <sys/time.h>.
16132
5d1f0a09
RM
16133 * inet/ifreq.c: Moved to ...
16134 * sysdeps/unix/ifreq.c: ... here.
16135 * inet/ifreq.c: New file, true stub version.
16136
6fcf28b3
RM
16137 * socket/sa_len.c: New file.
16138 * socket/Makefile (aux): Add it.
16139 * sysdeps/unix/sysv/linux/Makefile
16140 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16141 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16142 and #include <socket/sa_len.c>.
16143 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16144 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16145
e041fb8b
RM
16146 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16147 * bits/socket.h: ... here.
16148
8cc3269f
RM
16149 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16150 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16151 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16152
5d228a43
AS
161532013-08-27 Andreas Schwab <schwab@suse.de>
16154
45b8accc
AS
16155 [BZ #15736]
16156 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16157 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16158 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16159 * string/test-strcasecmp.c (test_main): Run tests in several
16160 locales.
16161 * string/test-strncasecmp.c (test_main): Likewise.
16162
5d228a43
AS
16163 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16164 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16165 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16167 (__strncasecmp_ssse3) [PIC]: Likewise.
16168
59d112a4
RM
161692013-08-26 Roland McGrath <roland@hack.frob.com>
16170
53234cc3
RM
16171 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16172
59d112a4
RM
16173 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16174 instead of explicitly declaring xdecrypt.
16175 * nis/nss_nis/nis-publickey.c: Likewise.
16176
595aba70
SP
161772013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16178
16179 [BZ #15890]
16180 * nscd/aicache.c: Include res_hconf.h.
16181 (addhstaiX): Initialize res_hconf.
16182
ffabd393
AS
161832013-08-26 Andreas Schwab <schwab@suse.de>
16184
16185 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16186 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16187
e0a69f5c
SP
161882013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16189
16190 * nscd/aicache.c (addhstaiX): Fix indentation.
16191
8c12f01d
MF
161922013-08-25 Mike Frysinger <vapier@gentoo.org>
16193
16194 * configure.ac: Quote $build_pt_chown test.
16195 * configure: Regenerated.
16196
8fe89494
JM
161972013-08-23 Joseph Myers <joseph@codesourcery.com>
16198
16199 [BZ #15532]
16200 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16201 * math/s_cexpf.c (__cexpf): Likewise.
16202 * math/s_cexpl.c (__cexpl): Likewise.
16203 * math/libm-test.inc (cexp_test_data): Correct expected return
16204 value for NaN + i0. Add another test.
16205
75b181d6
DM
162062013-08-22 David S. Miller <davem@davemloft.net>
16207
16208 * po/ca.po: Update Catalan translation from translation project.
936241e4 16209 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16210
acd06bb1
JM
162112013-08-21 Joseph Myers <joseph@codesourcery.com>
16212
16213 [BZ #15797]
16214 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16215 is infinite, not alongside NaN test.
16216 * math/s_fdimf.c (__fdimf): Likewise.
16217 * math/s_fdiml.c (__fdiml): Likewise.
16218 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16219 errno is unchanged.
16220
c0c3f78a
OB
162212013-08-21 Ondřej Bílka <neleai@seznam.cz>
16222
16223 * argp/argp-help.c: Fix typos.
16224 * crypt/speeds.c: Likewise.
16225 * csu/check_fds.c: Likewise.
16226 * elf/dl-load.c: Likewise.
16227 * elf/dl-open.c: Likewise.
16228 * elf/reldep3.c: Likewise.
16229 * elf/reldep.c: Likewise.
16230 * elf/sprof.c: Likewise.
16231 * iconv/iconv_charmap.c: Likewise.
16232 * iconv/skeleton.c: Likewise.
16233 * iconv/strtab.c: Likewise.
16234 * io/lockf64.c: Likewise.
16235 * libio/libioP.h: Likewise.
16236 * resolv/gai_notify.c: Likewise.
16237 * resolv/ns_name.c: Likewise.
16238 * resolv/ns_samedomain.c: Likewise.
16239 * resolv/res_send.c: Likewise.
16240 * stdlib/random.c: Likewise.
16241 * sunrpc/rpc/xdr.h: Likewise.
16242 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16243 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16244 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16245 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16246 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16247 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16250 * sysdeps/mach/hurd/check_fds.c: Likewise.
16251 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16252 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16253 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16255 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16256 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16257 * sysdeps/pthread/aio_notify.c: Likewise.
16258 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16259 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16261 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16262 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16263
46ed1038
LD
162642013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16265
16266 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16267 version if bit_Slow_SSE4_2 is set.
16268 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16270
d400dcac
AZ
162712013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16272
16273 [BZ #15867]
16274 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16275 trampoline stack frame information.
16276 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16277 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16278 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16279 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16280 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16281 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16282 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16283 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16284 sa_flags value.
16285 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16286 interrupting a syscall and set with option SA_SIGINFO.
16287
42c8fdd8
JM
162882013-08-20 Joseph Myers <joseph@codesourcery.com>
16289
c980f2f4
JM
16290 [BZ #15531]
16291 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16292 argument is infinite.
16293 * math/s_cprojf.c (__cprojf): Likewise.
16294 * math/s_cprojl.c (__cprojl): Likewise.
16295 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16296 * math/libm-test.inc (cproj_test_data): Add more tests.
16297
0716c4fc
JM
16298 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16299
42c8fdd8
JM
16300 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16301 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16302 size. Use __ffs to determine corresponding shift.
16303
b31469d0
JM
163042013-08-20 Joseph Myers <joseph@codesourcery.com>
16305 Roland McGrath <roland@hack.frob.com>
16306
16307 * Makefile (INSTALL): Remove trailing blank lines from output of
16308 makeinfo.
16309
4e39af6e
AK
163102013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16311
16312 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16313 Align 32 bit compat elf_greg to 8 bytes.
16314
f315524e
AA
163152013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16316
16317 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16318
1326ba1a
SP
163192013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16320
16321 * string/strcoll_l.c (coll_seq): New structure.
16322 (get_next_seq_cached): New function.
16323 (get_next_seq): New function.
16324 (do_compare): New function.
16325 (STRCOLL): Use GNU style definition. Simplify implementation
16326 by using get_next_seq, get_next_seq_cached and do_compare.
16327
91ce4085
FW
163282013-08-16 Florian Weimer <fweimer@redhat.com>
16329
16330 [BZ #14699]
16331 CVE-2013-4237
16332 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16333 member.
16334 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16335 member.
16336 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16337 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16338 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16339 conditional.
16340 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16341 GETDENTS_64BIT_ALIGNED.
16342 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16343 * manual/filesys.texi (Reading/Closing Directory): Document
16344 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16345 strongly.
16346 * manual/conf.texi (Limits for Files): Add portability note to
16347 NAME_MAX, PATH_MAX.
16348 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16349
ca0a6bc4
AS
163502013-08-13 Andreas Schwab <schwab@suse.de>
16351
16352 [BZ #15749]
16353 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16354 of fabs.
16355 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16356 LDBL_MAX_EXP >= 16384]: Add tests for it.
16357
6c1fd795
DM
163582013-08-12 David S. Miller <davem@davemloft.net>
16359
16360 * version.h (RELEASE): Set to "development".
16361 (VERSION): Set to "2.18.90".
16362 * NEWS: Add 2.19 section.
16363
31ad488d
DM
163642013-08-03 David S. Miller <davem@davemloft.net>
16365
16366 * po/ko.po: Update Korean translation from translation project.
16367
db24e684
DM
163682013-08-01 David S. Miller <davem@davemloft.net>
16369
16370 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16371 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16372 Bilka.
16373
f723285b
DM
163742013-07-30 David S. Miller <davem@davemloft.net>
16375
16376 * po/fr.po: Update French translation from translation project.
16377
3cbc52db
DM
163782013-07-28 David S. Miller <davem@davemloft.net>
16379
30bbc0cc
DM
16380 * po/cs.po: Update Czech translation from translation project.
16381
3cbc52db
DM
16382 * po/sv.po: Update Swedish translation from translation project.
16383
d492e6d0
DM
163842013-07-27 David S. Miller <davem@davemloft.net>
16385
f1a7f492
DM
16386 * po/eo.po: Update Esperanto translation from translation project.
16387
90e62a4a
DM
16388 * po/vi.po: Update Vietnamese translation from translation project.
16389
d492e6d0
DM
16390 * po/de.po: Update German translation from translation project.
16391
d4baa62d
DM
163922013-07-26 David S. Miller <davem@davemloft.net>
16393
641aa7b4
DM
16394 * po/bg.po: Update Bulgarian translation from translation project.
16395
d4baa62d
DM
16396 * po/nl.po: Update Dutch translation from translation project.
16397 * po/pl.po: Update Polish translation from translation project.
16398 * po/ru.po: Update Russian translation from translation project.
16399
61a9dcb9
DM
164002013-07-24 David S. Miller <davem@davemloft.net>
16401
16402 * po/libc.pot: Update.
16403
7b1f8b58
AZ
164042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16405
16406 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16407 variable page size.
16408 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16409 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16410 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16411
a8fc7a03
AK
164122013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16413
16414 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16415
e4608715
CD
164162013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16417 Andreas Schwab <schwab@suse.de>
16418 Roland McGrath <roland@hack.frob.com>
16419 Joseph Myers <joseph@codesourcery.com>
16420 Carlos O'Donell <carlos@redhat.com>
16421
16422 [BZ #15755]
16423 * config.h.in: Define HAVE_PT_CHOWN.
16424 * config.make.in (build-pt-chown): New variable.
16425 * configure.in (--enable-pt_chown): New configure option.
16426 * configure: Regenerate.
16427 * login/Makefile: Include Makeconfig. Build pt_chown only if
16428 build-pt-chown is enabled.
16429 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16430 pt_chown to fix pty ownership.
16431 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16432 CLOSE_ALL_FDS.
16433 * manual/install.texi (Configuring and compiling): Mention
16434 --enable-pt_chown. Add @findex for grantpt.
16435 * INSTALL: Regenerate.
16436
da2d62df
DM
164372013-07-20 David S. Miller <davem@davemloft.net>
16438
16439 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16440 difference between 32-bit and 64-bit.
16441
d7e06450
CD
164422013-07-15 Carlos O'Donell <carlos@redhat.com>
16443
16444 [BZ #15711]
16445 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16446 Avoid system header dependency with -ffreestanding.
16447 ($(objpfx)bits/syscall%d): Likewise.
16448
f959cfd7
DM
164492013-07-13 David S. Miller <davem@davemloft.net>
16450
16451 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16452 underflows from atanl/atan2l due to bug 15319.
16453 (casinh_test_data): Likewise.
16454
c61f8513
DM
164552013-07-07 David S. Miller <davem@davemloft.net>
16456
16457 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16458
72c90ed0
JA
164592013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16460
16461 * sysdeps/i386/fpu/libm-test-ulps: Update.
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16463
52dfbe13
SP
164642013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16465
16466 * configure.in (--enable-lock-elision): Fix message text.
16467 * INSTALL: Regenerate.
16468 * configure: Regenerate.
16469
3f169543
AZ
164702013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16471
16472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16473
521c6785
AJ
164742013-07-03 Andreas Jaeger <aj@suse.de>
16475
16476 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16477 define.
16478 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16479 (ptrace_peeksiginfo_args): Add.
16480 (__ptrace_peeksiginfo_flags): Add.
16481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16484
d2cc15cb
AM
164852013-07-03 Allan McRae <allan@archlinux.org>
16486
16487 * sysdeps/i386/fpu/libm-test-ulps: Update.
16488
3aaeeca7
DM
164892013-07-02 David S. Miller <davem@davemloft.net>
16490
16491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16492
5314ed1a
MT
164932013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16494
16495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16496
67338156
JM
164972013-07-02 Joseph Myers <joseph@codesourcery.com>
16498
16499 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16501
1717da59
AK
165022013-07-02 Andi Kleen <ak@linux.intel.com>
16503
16504 * config.h.in (ENABLE_LOCK_ELISION): Add.
16505 * configure.in (--enable-lock-elision): Add option.
16506 * manual/install.texi: Document --enable lock elision.
16507 * configure: Regenerate
16508 * INSTALL: Regenerate.
16509
1c81621c
L
165102013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16511
16512 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16513 SSE4.2 strcasecmp for libc.a.
16514 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16515
77f01ab5
JM
165162013-07-02 Joseph Myers <joseph@codesourcery.com>
16517
16518 [BZ #13304]
16519 * soft-fp/op-common.h (_FP_FMA): New macro.
16520 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16521 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16522 (_FP_MUL_MEAT_1_imm): ... here.
16523 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16524 (_FP_MUL_MEAT_1_wide): ... here.
16525 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16526 (_FP_MUL_MEAT_1_hard): ... here.
16527 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16528 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16529 (_FP_MUL_MEAT_2_wide): ... here.
16530 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16531 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16532 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16533 (_FP_MUL_MEAT_2_gmp): ... here.
16534 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16535 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16536 (_FP_MUL_MEAT_4_wide): ... here.
16537 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16538 (_FP_MUL_MEAT_4_gmp): ... here.
16539 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16540 (_FP_WFRACBITS_DW_S): Likewise.
16541 (_FP_WFRACXBITS_DW_S): Likewise.
16542 (_FP_HIGHBIT_DW_S): Likewise.
16543 (FP_FMA_S): Likewise.
16544 (_FP_FRAC_HIGH_DW_S): Likewise.
16545 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16546 (_FP_WFRACBITS_DW_D): Likewise.
16547 (_FP_WFRACXBITS_DW_D): Likewise.
16548 (_FP_HIGHBIT_DW_D): Likewise.
16549 (FP_FMA_D): Likewise.
16550 (_FP_FRAC_HIGH_DW_D): Likewise.
16551 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16552 (_FP_WFRACBITS_DW_E): Likewise.
16553 (_FP_WFRACXBITS_DW_E): Likewise.
16554 (_FP_HIGHBIT_DW_E): Likewise.
16555 (FP_FMA_E): Likewise.
16556 (_FP_FRAC_HIGH_DW_E): Likewise.
16557 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16558 (_FP_WFRACBITS_DW_Q): Likewise.
16559 (_FP_WFRACXBITS_DW_Q): Likewise.
16560 (_FP_HIGHBIT_DW_Q): Likewise.
16561 (FP_FMA_Q): Likewise.
16562 (_FP_FRAC_HIGH_DW_Q): Likewise.
16563 * soft-fp/fmasf4.c: New file.
16564 * soft-fp/fmadf4.c: Likewise.
16565 * soft-fp/fmatf4.c: Likewise.
16566
6308fd9a
LD
165672013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16568
16569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16570 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16571 Silvermont.
16572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16573 macro.
16574 (index_Slow_SSE4_2): Likewise.
16575 (index_Prefer_PMINUB_for_stringop): Likewise.
16576 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16577 bit_Slow_SSE4_2 is set.
16578 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16579 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16580
89cd9569
RA
165812013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16582
16583 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16584 rtld_global._dl_hwcap2.
16585 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16586 POWER8.
16587 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16588 POWER8 feature descriptions defined in _dl_hwcap2.
16589 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16590 string handling for POWER8 feature bits.
16591 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16592 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16593 _dl_powerpc_cap_flags.
16594 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16595 * sysdeps/powerpc/rtld-global-offsets.sym
16596 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16597 _dl_hwcap2 in the rtld_global_ro structure.
16598
1ae8bfe0
RA
165992013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16600
16601 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16602 hardware capabilities in support of AT_HWCAP2.
16603 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16604 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16605 GLRO(dl_hwcap2).
16606 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16607 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16608 explicitly the unknown a_type display mechanism is used.
16609 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16610 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16611 struct member.
16612 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16613 to macro prototype for AT_HWCAP2 support.
16614 * sysdeps/i386/dl-procinfo.h: Likewise.
16615 * sysdeps/s390/dl-procinfo.h: Likewise.
16616 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16617 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16618 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16619 return -1 for unknown a_type display fallback.
16620 * sysdeps/sparc/dl-procinfo.h: Likewise.
16621 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16622 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16623
8fbec010
JM
166242013-06-28 Joseph Myers <joseph@codesourcery.com>
16625
16626 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16627 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16628
0432680e
PY
166292013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16630
16631 [BZ #12492]
16632 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16633 mprotect making __stack_prot writable.
16634
ce61a2ad
NF
166352013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16636 Joseph Myers <joseph@codesourcery.com>
16637
16638 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16639 as being properly aligned.
16640
f91f1c0f
MR
166412013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16642
3d0f5d0c
MR
16643 * dlfcn/modstatic5.c: New file.
16644 * dlfcn/tststatic5.c: New file.
16645 * dlfcn/Makefile (tests): Add tststatic5.
16646 (tests-static): Likewise.
16647 (modules-names): Add modstatic5.
16648 (tststatic5-ENV): New variable.
16649 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16650
f91f1c0f
MR
16651 [BZ #15022]
16652 * elf/dl-support.c (_dl_main_map): New variable.
16653 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16654 (_dl_nns, _dl_load_adds): Set to 1.
16655 (_dl_initial_searchlist): Refer to _dl_main_map.
16656 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16657 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16658 call to _dl_get_origin.
16659 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16660 around call_map.
16661 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16662 * dlfcn/modstatic3.c: New file.
16663 * dlfcn/tststatic3.c: New file.
16664 * dlfcn/tststatic4.c: New file.
16665 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16666 (tests-static): Likewise.
16667 (modules-names): Add modstatic3.
16668 (tststatic3-ENV, tststatic4-ENV): New variables.
16669 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16670 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16671
cbe7d24b
JM
166722013-06-26 Joseph Myers <joseph@codesourcery.com>
16673
16674 * configure.in (CC): Require GCC version 4.4 or later.
16675 * configure: Regenerated.
16676 * manual/install.texi (Tools for Compilation): Update GCC version
16677 requirement.
16678 * INSTALL: Regenerated.
16679
11b8a0e1
LD
166802013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16681
16682 [BZ #15674]
bb5bb87c
L
16683 * string/test-memcmp.c (check2): New.
16684 (main): Call check2.
16685
11b8a0e1
LD
16686 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16687
b0037103
MR
166882013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16689
16690 [BZ #15022]
16691 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16692 over to...
16693 (dl_open_worker) [!SHARED]: ... here.
16694
c18c701d
RA
166952013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16696
16697 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16698
1d17fa5f
RH
166992013-06-25 Richard Henderson <rth@redhat.com>
16700
16701 * locale/programs/locarchive.c: Include <libc-internal.h>
16702
8fcb833a
JM
167032013-06-25 Joseph Myers <joseph@codesourcery.com>
16704
16705 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16706 trailing whitespace removed.
16707
17db6e8d
MF
167082013-06-24 Mike Frysinger <vapier@gentoo.org>
16709
16710 [BZ #10283]
17db6e8d
MF
16711 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16712 * locale/programs/locarchive.c: Include libc-mmap.h.
16713 (prepare_address_space): Take two new outputs (the mmap base and len).
16714 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16715 values.
16716 (create_archive): Declare new mmap base and len values for
16717 prepare_address_space, and store the result in ah.
16718 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16719 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16720 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16721 Declare new mmap base and len values for
16722 prepare_address_space, and store the result in new_ah.
16723 (open_archive): Declare new mmap base and len values for
16724 prepare_address_space, and store the result in ah.
16725 (close_archive): If ah->mmap_base is not NULL, use that and
16726 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16727 * sysdeps/generic/libc-mmap.h: New file.
16728
d605071e
MF
167292013-06-24 Mike Frysinger <vapier@gentoo.org>
16730
16731 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16732 (ALIGN_UP): Likewise.
16733 (PTR_ALIGN_DOWN): Likewise.
16734 (PTR_ALIGN_UP): Likewise.
16735
2f063a6e
RA
167362013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16737
16738 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16739 entry mapped to PPC_PLATFORM_POWER8.
16740 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16741 POWER8.
16742 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16743 (_dl_string_platform): Add case for exporting platform position for
16744 POWER8.
16745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16746 search path to sysdeps/powerpc/powerpc32/power8 directory.
16747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16748 search path to sysdeps/powerpc/powerpc64/power8 directory.
16749 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16750 power7 directories.
16751 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16752 power7 directories.
16753
a31ee4b3
SP
167542013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16755
a74ca98f
SP
16756 * INSTALL: Regenerate.
16757
a31ee4b3
SP
16758 * nscd/connections.c (nscd_init): Fix comment.
16759
695c378f
JM
167602013-06-22 Joseph Myers <joseph@codesourcery.com>
16761
d8412221
JM
16762 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16763
695c378f
JM
16764 [BZ #15667]
16765 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16766 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16767
d1d54715
MR
167682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16769
16770 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16771 DL_DST_REQ_STATIC.
16772 (DL_DST_REQ_STATIC): Remove macro.
16773
8fdda7af
JM
167742013-06-21 Joseph Myers <joseph@codesourcery.com>
16775
16776 [BZ #7006]
16777 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16778 with a shift of 0 bits.
16779
f3bc5e5a
MR
167802013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16781
16782 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16783 $(tststatic-ENV).
16784
be09e8c9
KK
167852013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16786
16787 [BZ #15655]
16788 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16789
85c2e611
AZ
167902013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16791
16792 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16793 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16794 accepts -fno-tree-loop-distribute-patterns.
16795 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16796 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16797 recursive call.
16798 * string/memset.c (memset): Likewise.
16799 * string/test-memmove.c (simple_memmove): Disable loop transformation
16800 to library calls.
16801 * string/test-memset.c (simple_memset): Likewise.
16802 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16803 * benchtests/bench-memset.c (simple_memset): Likewise.
16804 * configure: Regenerated.
16805
c91e0825
JM
168062013-06-20 Joseph Myers <joseph@codesourcery.com>
16807
b8c792af
JM
16808 * math/test-misc.c (main): Ignore fesetround failure when failures
16809 of subsequent rounding tests would be ignored.
16810
c91e0825
JM
16811 [BZ #15654]
16812 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16813 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16814 * math/fegetenv.c (__fegetenv): Return 0.
16815 * math/fegetexcept.c (fegetexcept): Return 0.
16816 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16817 FE_TONEAREST.
16818 * math/feholdexcpt.c (feholdexcept): Return 0.
16819 * math/fesetenv.c (__fesetenv): Return 0.
16820 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16821 argument FE_TONEAREST.
16822 * math/feupdateenv.c (__feupdateenv): Return 0.
16823 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16824
bfcacbde
RM
168252013-06-18 Roland McGrath <roland@hack.frob.com>
16826
16827 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16828 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16829 ($(objpfx)rtld-%.os rules): Use them.
16830
e55a9b25
AZ
168312013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16832
16833 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16834 fields.
16835
346d65b3
RM
168362013-06-17 Roland McGrath <roland@hack.frob.com>
16837
12086fb4
RM
16838 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16839 length of target pattern, then descending length of dependency pattern.
16840 * configure.in (AWK): Require gawk 3.1.2 or newer.
16841 * manual/install.texi (Tools for Compilation): Say that we do.
16842 * configure: Regenerated.
16843
346d65b3
RM
16844 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16845 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16846 * scripts/sysd-rules.awk: ... this new script.
16847 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16848 than a glob-style pattern.
16849
1a846317
JM
168502013-06-17 Joseph Myers <joseph@codesourcery.com>
16851
16852 * math/test-misc.c (main): Do not treat incorrectly rounded
16853 conversions as failure unless ROUNDING_TESTS passes.
16854
8fc75e6f
JM
168552013-06-15 Joseph Myers <joseph@codesourcery.com>
16856
3711a167
JM
16857 [BZ #15631]
16858 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16859 restore exception state around main square root computation, then
16860 check for inexactness explicitly.
16861
8fc75e6f
JM
16862 * math/libm-test.inc (fma_test_data): Add another test.
16863
61dd6208
SP
168642013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16865
adf23d2c
SP
16866 * manual/threads.texi (Non-POSIX Extensions): New document
16867 node. Document pthread_getattr_default_np and
16868 pthread_setattr_default_np.
16869
61dd6208
SP
16870 * Versions.def (libpthread): Add GLIBC_2.18.
16871 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16873 Likewise.
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16875 Likewise.
16876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16877 Likewise.
16878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16879 Likewise.
16880 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16881 Likewise.
16882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16883 Likewise.
16884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16885 Likewise.
16886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16887 Likewise.
16888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16889 Likewise.
16890
d086fc7b
LD
168912013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16892
16893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16894 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16895
747ef469
SP
168962013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16897 H.J. Lu <hjl.tools@gmail.com>
16898
16899 [BZ #15627]
16900 * sysdeps/x86_64/rtld-memset.c: Remove file.
16901 * sysdeps/x86_64/rtld-memset.S: New file.
16902
1b2feed2
JM
169032013-06-14 Joseph Myers <joseph@codesourcery.com>
16904
16905 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16906 (test_in_one_mode): Take arguments for whether the rounding mode
16907 is supported for each floating-point type.
16908 (do_test): Pass new arguments to test_in_one_mode using
16909 ROUNDING_TESTS.
16910
a58ad3f8
RM
169112013-06-13 Roland McGrath <roland@hack.frob.com>
16912
16913 * posix/tst-waitid.c (do_test): Distinguish different instances of
16914 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16915 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16916 before entering the kernel for waitpid.
16917
c204ab28
SP
169182013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16919
16920 * NEWS: Fix note on clock function precision. Text by Roland
16921 McGrath.
16922
f4a29fba
RM
169232013-06-13 Roland McGrath <roland@hack.frob.com>
16924
16925 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16926 it into place only when and if the sanity check passes.
16927
1f24b9ad
JM
169282013-06-13 Joseph Myers <joseph@codesourcery.com>
16929
16930 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16931 output for whether conversion result is exact. Take argument
16932 indicating whether type is IBM long double.
16933 (round_for_all): Change need_exact field to ibm_ld.
16934 * stdlib/tst-strtod-round.c (struct exactness): New type.
16935 (struct test): Change bool ld_ok field to struct exactness exact.
16936 (TEST): Update all definitions for change to field.
16937 (tests): Regenerate array contents.
16938 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16939 field value. Check for IBM long double here.
16940 (do_test): Update calls to test_in_one_mode.
16941
58206c68
SP
169422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16943
16944 [BZ #12515]
16945 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16946 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16947
2d6f4c5b 169482013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16949
16950 [BZ #15605]
16951 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16952 generated by the compiler on loop optimizations.
16953 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16954 general definitions.
16955
94f2c076
JM
169562013-06-12 Joseph Myers <joseph@codesourcery.com>
16957
16958 * math/bug-nextafter.c: Include <math-tests.h>.
16959 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16960 the relevant type.
16961 * math/bug-nexttoward.c: Include <math-tests.h>.
16962 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16963 the relevant type.
16964 * math/test-misc.c: Include <math-tests.h>.
16965 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16966 the relevant type.
16967
e0e50a0a
AJ
169682013-06-12 Andreas Jaeger <aj@suse.de>
16969
16970 * po/ia.po: Update Interlingua translation from translation
16971 project.
16972
25061094
SP
169732013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16974
16975 * include/fenv.h: Include stdbool.h.
16976 (struct rm_ctx): New structure.
16977 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16978 Define macro.
16979 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16980 (SET_RESTORE_ROUNDF): Likewise.
16981 (SET_RESTORE_ROUNDL): Likewise.
16982 (SET_RESTORE_ROUND_NOEX): Likewise.
16983 (SET_RESTORE_ROUND_NOEXF): Likewise.
16984 (SET_RESTORE_ROUND_NOEXL): Likewise.
16985 (SET_RESTORE_ROUND_53BIT): Likewise.
16986 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16987 (libc_feresetround_noexf_ctx): Likewise.
16988 (libc_feresetround_noexl_ctx): Likewise.
16989 (libc_feholdsetround_53bit_ctx): Likewise.
16990 (libc_feresetround_53bit_ctx): Likewise.
16991 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16992 (libc_feholdexcept_setround_sse_ctx): New function.
16993 (libc_fesetenv_sse_ctx): Likewise.
16994 (libc_feupdateenv_sse_ctx): Likewise.
16995 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16996 (libc_feholdexcept_setround_387_ctx): Likewise.
16997 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16998 (libc_feholdsetround_387_prec_ctx): Likewise.
16999 (libc_feholdsetround_387_ctx): Likewise.
17000 (libc_feholdsetround_387_53bit_ctx): Likewise.
17001 (libc_feholdsetround_sse_ctx): Likewise.
17002 (libc_feresetround_sse_ctx): Likewise.
17003 (libc_feresetround_387_ctx): Likewise.
17004 (libc_feupdateenv_387_ctx): Likewise.
17005 (libc_feholdexcept_setroundf_ctx): Define macro.
17006 (libc_fesetenvf_ctx): Likewise.
17007 (libc_feupdateenvf_ctx): Likewise.
17008 (libc_feholdsetroundf_ctx): Likewise.
17009 (libc_feresetroundf_ctx): Likewise.
17010 (libc_feholdexcept_setround_ctx): Likewise.
17011 (libc_fesetenv_ctx): Likewise.
17012 (libc_feupdateenv_ctx): Likewise.
17013 (libc_feholdsetround_ctx): Likewise.
17014 (libc_feresetround_ctx): Likewise.
17015 (libc_feholdexcept_setroundl_ctx): Likewise.
17016 (libc_feupdateenvl_ctx): Likewise.
17017 (libc_feholdsetroundl_ctx): Likewise.
17018 (libc_feresetroundl_ctx): Likewise.
17019 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17020 (libc_feresetround_53bit_ctx): Likewise.
17021
59b30555
SP
170222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17023
17024 * locale/iso-639.def: Convert to UTF-8.
17025
f1d73d30
JM
170262013-06-11 Joseph Myers <joseph@codesourcery.com>
17027
17028 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17029 (EXCEPTION_TESTS_double): Likewise.
17030 (EXCEPTION_TESTS_long_double): Likewise.
17031 (EXCEPTION_TESTS): Likewise.
17032 * math/libm-test.inc (test_exceptions): Only test exceptions if
17033 EXCEPTION_TESTS (FLOAT).
17034
94aca5e7
SP
170352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17036
17037 * benchtests/Makefile (string-bench): Add strcpy_chk and
17038 stpcpy_chk.
17039 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17040 * benchtests/bench-stpcpy_chk.c: New file.
17041 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17042 * benchtests/bench-strcpy_chk.c: New file.
17043 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17044 code.
17045 (do_test): Likewise.
17046
fac0c5f2
RA
170472013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17048
17049 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17050 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17051 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17052 with tabs where appropriate.
17053 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17054 dl-procinfo.h.
17055 [PPC_PLATFORM_PPC440]: Likewise.
17056 [PPC_PLATFORM_PPC464]: Likewise.
17057 [PPC_PLATFORM_PPC476]: Likewise.
17058 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17059 ppc464, and ppc476 platform strings merging from ports/
17060 dl-procinfo.h.
17061
f22bc486
AS
170622013-06-11 Andreas Schwab <schwab@suse.de>
17063
17064 [BZ #14991]
17065 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17066 (from_ucs4_idx): Regenerate.
17067 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17068 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17069 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17070 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17071 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17072 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17073 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17074 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17075 from FROM_LOOP and TO_LOOP specific macros.
17076 (BODY): Handle combining characters.
17077 * iconvdata/BIG5HKSCS.irreversible: Update.
17078 * iconvdata/BIG5HKSCS.precomposed: New file.
17079 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17080 characters.
17081 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17082
c1f75dc3
SP
170832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17084
4eacded2
SP
17085 * include/sys/time.h: Fix indentation and add copyright header.
17086
fec799f8
SP
17087 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17088 (do_test): Likewise.
17089 * string/test-memchr.c (do_one_test): Likewise.
17090 (do_test): Likewise.
17091 * string/test-memcmp.c (do_one_test): Likewise.
17092 (do_test): Likewise.
17093 * string/test-memcpy.c (do_one_test): Likewise.
17094 (do_test): Likewise.
17095 * string/test-memmem.c (do_one_test): Likewise.
17096 (do_test): Likewise.
17097 (do_random_tests): Likewise.
17098 * string/test-memmove.c (do_one_test): Likewise.
17099 (do_test): Likewise.
17100 * string/test-memset.c (do_one_test): Likewise.
17101 (do_test): Likewise.
17102 * string/test-rawmemchr.c (do_one_test): Likewise.
17103 (do_test): Likewise.
17104 * string/test-strcasecmp.c (do_one_test): Likewise.
17105 (do_test): Likewise.
17106 * string/test-strcasestr.c (do_one_test): Likewise.
17107 (do_test): Likewise.
17108 * string/test-strcat.c (do_one_test): Likewise.
17109 (do_test): Likewise.
17110 * string/test-strchr.c (do_one_test): Likewise.
17111 (do_test): Likewise.
17112 * string/test-strcmp.c (do_one_test): Likewise.
17113 (do_test): Likewise.
17114 * string/test-strcpy.c (do_one_test): Likewise.
17115 (do_test): Likewise.
17116 * string/test-string.h: Likewise.
17117 (test_init): Likewise.
17118 * string/test-strlen.c (do_one_test): Likewise.
17119 (do_test): Likewise.
17120 * string/test-strncasecmp.c (do_one_test): Likewise.
17121 (do_test): Likewise.
17122 * string/test-strncat.c (do_one_test): Likewise.
17123 (do_test): Likewise.
17124 * string/test-strncmp.c (do_one_test): Likewise.
17125 (do_test_limit): Likewise.
17126 (do_test): Likewise.
17127 * string/test-strncpy.c (do_one_test): Likewise.
17128 (do_test): Likewise.
17129 * string/test-strnlen.c (do_one_test): Likewise.
17130 (do_test): Likewise.
17131 * string/test-strpbrk.c (do_one_test): Likewise.
17132 (do_test): Likewise.
17133 * string/test-strrchr.c (do_one_test): Likewise.
17134 (do_test): Likewise.
17135 * string/test-strspn.c (do_one_test): Likewise.
17136 (do_test): Likewise.
17137 * string/test-strstr.c (do_one_test): Likewise.
17138 (do_test): Likewise.
17139
97020474
SP
17140 * benchtests/Makefile (string-bench): Add string benchmarks.
17141 * benchtests/bench-bcopy-ifunc.c: New file.
17142 * benchtests/bench-bcopy.c: New file.
17143 * benchtests/bench-bzero-ifunc.c: New file.
17144 * benchtests/bench-bzero.c: New file.
17145 * benchtests/bench-memccpy-ifunc.c: New file.
17146 * benchtests/bench-memccpy.c: New file.
17147 * benchtests/bench-memchr-ifunc.c: New file.
17148 * benchtests/bench-memchr.c: New file.
17149 * benchtests/bench-memcmp-ifunc.c: New file.
17150 * benchtests/bench-memcmp.c: New file.
17151 * benchtests/bench-memmem-ifunc.c: New file.
17152 * benchtests/bench-memmem.c: New file.
17153 * benchtests/bench-memmove-ifunc.c: New file.
17154 * benchtests/bench-memmove.c: New file.
17155 * benchtests/bench-mempcpy-ifunc.c: New file.
17156 * benchtests/bench-mempcpy.c: New file.
17157 * benchtests/bench-memset-ifunc.c: New file.
17158 * benchtests/bench-memset.c: New file.
17159 * benchtests/bench-rawmemchr-ifunc.c: New file.
17160 * benchtests/bench-rawmemchr.c: New file.
17161 * benchtests/bench-stpcpy-ifunc.c: New file.
17162 * benchtests/bench-stpcpy.c: New file.
17163 * benchtests/bench-stpncpy-ifunc.c: New file.
17164 * benchtests/bench-stpncpy.c: New file.
17165 * benchtests/bench-strcasecmp-ifunc.c: New file.
17166 * benchtests/bench-strcasecmp.c: New file.
17167 * benchtests/bench-strcasestr-ifunc.c: New file.
17168 * benchtests/bench-strcasestr.c: New file.
17169 * benchtests/bench-strcat-ifunc.c: New file.
17170 * benchtests/bench-strcat.c: New file.
17171 * benchtests/bench-strchr-ifunc.c: New file.
17172 * benchtests/bench-strchr.c: New file.
17173 * benchtests/bench-strchrnul-ifunc.c: New file.
17174 * benchtests/bench-strchrnul.c: New file.
17175 * benchtests/bench-strcmp-ifunc.c: New file.
17176 * benchtests/bench-strcmp.c: New file.
17177 * benchtests/bench-strcpy-ifunc.c: New file.
17178 * benchtests/bench-strcpy.c: New file.
17179 * benchtests/bench-strcspn-ifunc.c: New file.
17180 * benchtests/bench-strcspn.c: New file.
17181 * benchtests/bench-strlen-ifunc.c: New file.
17182 * benchtests/bench-strlen.c: New file.
17183 * benchtests/bench-strncasecmp-ifunc.c: New file.
17184 * benchtests/bench-strncasecmp.c: New file.
17185 * benchtests/bench-strncat-ifunc.c: New file.
17186 * benchtests/bench-strncat.c: New file.
17187 * benchtests/bench-strncmp-ifunc.c: New file.
17188 * benchtests/bench-strncmp.c: New file.
17189 * benchtests/bench-strncpy-ifunc.c: New file.
17190 * benchtests/bench-strncpy.c: New file.
17191 * benchtests/bench-strnlen-ifunc.c: New file.
17192 * benchtests/bench-strnlen.c: New file.
17193 * benchtests/bench-strpbrk-ifunc.c: New file.
17194 * benchtests/bench-strpbrk.c: New file.
17195 * benchtests/bench-strrchr-ifunc.c: New file.
17196 * benchtests/bench-strrchr.c: New file.
17197 * benchtests/bench-strspn-ifunc.c: New file.
17198 * benchtests/bench-strspn.c: New file.
17199 * benchtests/bench-strstr-ifunc.c: New file.
17200 * benchtests/bench-strstr.c: New file.
17201
c1f75dc3
SP
17202 * benchtests/Makefile: Disable parallel execution of targets.
17203 (string-bench): Add memcpy.
17204 (benchset): New variable to store a list of benchmark sets.
17205 (bench-func): Renamed from bench.
17206 (bench-set): New target.
17207 (bench): Depend on bench-func and bench-set.
17208 * benchtests/README: Add section on benchmark sets.
17209 * benchtests/bench-memcpy-ifunc.c: New file.
17210 * benchtests/bench-memcpy.c: New file.
17211 * benchtests/bench-string.h: New file.
17212
50fd745b
AS
172132013-06-11 Andreas Schwab <schwab@suse.de>
17214
17215 [BZ #15577]
17216 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17217 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17218 values in the triple.
17219 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17220 terminator in the group key.
17221
3ee7e9fe
AJ
172222013-06-11 Andreas Jaeger <aj@suse.de>
17223
17224 * po/zh_TW.po: Update Chinese (traditional) translation from
17225 translation project.
17226
89fb6835
SP
172272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17228
17229 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17230 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17231 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17232 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17233 (clock_getcpuclockid): Likewise.
17234 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17235 Add weak_alias and libc_hidden_def.
17236 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17237 * rt/clock_gettime.c (clock_gettime): Rename to
17238 __clock_gettime. Add weak_alias and libc_hidden_def.
17239 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17240 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17241 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17242 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17243 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17244 Likewise.
17245 * rt/clock_settime.c (clock_settime): Rename to
17246 __clock_settime. Add weak_alias and libc_hidden_def.
17247 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17248
0efa6f8b
JM
172492013-06-10 Joseph Myers <joseph@codesourcery.com>
17250
b8c61b4b
JM
17251 * mach/err_boot.sub: Remove trailing whitespace.
17252 * mach/err_ipc.sub: Likewise.
17253 * mach/err_mach.sub: Likewise.
17254
0efa6f8b
JM
17255 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17256 (ROUNDING_TESTS_double): Likewise.
17257 (ROUNDING_TESTS_long_double): Likewise.
17258 (ROUNDING_TESTS): Likewise.
17259 * math/libm-test.inc: Include <math-tests.h>.
17260 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17261 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17262 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17263 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17264
50b818bf
SP
172652013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17266
17267 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17268 of assigning.
17269
60d2f8f3
JM
172702013-06-08 Joseph Myers <joseph@codesourcery.com>
17271
4902d2c3
JM
17272 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17273 otherwise empty TRANS lines.
17274 * sysdeps/gnu/errlist.c: Regenerated.
17275
60d2f8f3
JM
17276 * catgets/gencat.c (error_print): Use (void) in function
17277 definition.
17278 * crypt/crypt_util.c (__init_des): Likewise.
17279 * crypt/speeds.c (Stop): Likewise.
17280 (main): Likewise.
17281 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17282 * inet/ruserpass.c (token): Likewise.
17283 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17284 * intl/localealias.c (extend_alias_table): Likewise.
17285 * intl/plural-exp.c (init_germanic_plural): Likewise.
17286 * libio/fcloseall.c (__fcloseall): Likewise.
17287 * libio/genops.c (_IO_flush_all): Likewise.
17288 (_IO_flush_all_linebuffered): Likewise.
17289 (_IO_cleanup): Likewise.
17290 (_IO_iter_begin): Likewise.
17291 (_IO_iter_end): Likewise.
17292 (_IO_list_lock): Likewise.
17293 (_IO_list_unlock): Likewise.
17294 (_IO_list_resetlock): Likewise.
17295 * libio/getchar.c (getchar): Likewise.
17296 * libio/getchar_u.c (getchar_unlocked): Likewise.
17297 * libio/getwchar.c (getwchar): Likewise.
17298 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17299 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17300 * login/getpt.c (__getpt): Likewise.
17301 * login/tst-utmp.c (main): Likewise.
17302 * malloc/hooks.c (__malloc_check_init): Likewise.
17303 * malloc/malloc.c (__malloc_stats): Likewise.
17304 * malloc/mtrace.c (tr_break): Likewise.
17305 (mtrace): Likewise.
17306 (muntrace): Likewise.
17307 * misc/fstab.c (endfsent): Likewise.
17308 * misc/getclktck.c (__getclktck): Likewise.
17309 * misc/getdtsz.c (__getdtablesize): Likewise.
17310 * misc/gethostid.c (gethostid): Likewise.
17311 * misc/getpagesize.c (__getpagesize): Likewise.
17312 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17313 (__get_nprocs): Likewise.
17314 (__get_phys_pages): Likewise.
17315 (__get_avphys_pages): Likewise.
17316 * misc/getttyent.c (getttyent): Likewise.
17317 (setttyent): Likewise.
17318 (endttyent): Likewise.
17319 * misc/getusershell.c (getusershell): Likewise.
17320 (endusershell): Likewise.
17321 (setusershell): Likewise.
17322 (initshells): Likewise.
17323 * misc/hsearch.c (__hdestroy): Likewise.
17324 * misc/sync.c (sync): Likewise.
17325 * misc/syslog.c (closelog_internal): Likewise.
17326 (closelog): Likewise.
17327 * misc/ttyslot.c (ttyslot): Likewise.
17328 * misc/vhangup.c (vhangup): Likewise.
17329 * posix/fork.c (__fork): Likewise.
17330 * posix/getegid.c (__getegid): Likewise.
17331 * posix/geteuid.c (__geteuid): Likewise.
17332 * posix/getgid.c (__getgid): Likewise.
17333 * posix/getpid.c (__getpid): Likewise.
17334 * posix/getppid.c (__getppid): Likewise.
17335 * posix/getuid.c (__getuid): Likewise.
17336 * posix/pause.c (pause): Likewise.
17337 * posix/setpgrp.c (setpgrp): Likewise.
17338 * posix/setsid.c (__setsid): Likewise.
17339 * posix/test-vfork.c (noop): Likewise.
17340 * resolv/gethnamaddr.c (_endhtent): Likewise.
17341 (_gethtent): Likewise.
17342 (ht_endhostent): Likewise.
17343 (gethostent): Likewise.
17344 (dns_service): Likewise.
17345 * stdlib/drand48.c (drand48): Likewise.
17346 * stdlib/lrand48.c (lrand48): Likewise.
17347 * stdlib/mrand48.c (mrand48): Likewise.
17348 * stdlib/rand.c (rand): Likewise.
17349 * stdlib/random.c (__random): Likewise.
17350 * stdlib/setenv.c (clearenv): Likewise.
17351 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17352 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17353 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17354 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17355 (__get_nprocs): Likewise.
17356 (__get_phys_pages): Likewise.
17357 (__get_avphys_pages): Likewise.
17358 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17359 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17360 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17361 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17362 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17363 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17364 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17365 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17366 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17367 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17368 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17369 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17370 * sysdeps/posix/clock.c (clock): Likewise.
17371 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17372 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17373 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17374 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17375 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17377 (__get_nprocs_conf): Likewise.
17378 (__get_phys_pages): Likewise.
17379 (__get_avphys_pages): Likewise.
17380 * time/clock.c (clock): Likewise.
17381 * time/tzset.c (__tzname_max): Likewise.
17382
2e09a79a
JM
173832013-06-07 Joseph Myers <joseph@codesourcery.com>
17384
17385 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17386 (__bswap_32): Do not use "register".
17387 * crypt/crypt.c (_ufc_doit_r): Likewise.
17388 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17389 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17390 * gmon/gmon.c (__monstartup): Likewise.
17391 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17392 * hurd/hurdmalloc.c (more_memory): Likewise.
17393 (malloc): Likewise.
17394 (free): Likewise.
17395 (realloc): Likewise.
17396 (malloc_fork_prepare): Likewise.
17397 (malloc_fork_parent): Likewise.
17398 (malloc_fork_child): Likewise.
17399 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17400 (_svcauth_des): Likewise.
17401 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17402 * inet/inet_net.c (inet_network): Likewise.
17403 * inet/inet_netof.c (inet_netof): Likewise.
17404 * inet/rcmd.c (__validuser2_sa): Likewise.
17405 * io/fts.c (fts_open): Likewise.
17406 (fts_load): Likewise.
17407 (fts_close): Likewise.
17408 (fts_read): Likewise.
17409 (fts_children): Likewise.
17410 (fts_build): Likewise.
17411 (fts_stat): Likewise.
17412 (fts_sort): Likewise.
17413 (fts_alloc): Likewise.
17414 (fts_lfree): Likewise.
17415 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17416 (_IO_file_xsgetn): Likewise.
17417 (_IO_file_xsgetn_mmap): Likewise.
17418 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17419 (_IO_cookie_write): Likewise.
17420 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17421 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17422 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17423 * malloc/obstack.c (_obstack_begin): Likewise.
17424 (_obstack_begin_1): Likewise.
17425 (_obstack_newchunk): Likewise.
17426 (_obstack_allocated_p): Likewise.
17427 (obstack_free): Likewise.
17428 (_obstack_memory_used): Likewise.
17429 * misc/getttyent.c (getttynam): Likewise.
17430 (getttyent): Likewise.
17431 (skip): Likewise.
17432 (value): Likewise.
17433 * misc/getusershell.c (initshells): Likewise.
17434 * misc/syslog.c (__vsyslog_chk): Likewise.
17435 * misc/ttyslot.c (ttyslot): Likewise.
17436 * nis/nis_hash.c (__nis_hash): Likewise.
17437 * posix/fnmatch_loop.c (FCT): Likewise.
17438 * posix/getconf.c (print_all): Likewise.
17439 (main): Likewise.
17440 * posix/getopt.c (exchange): Likewise.
17441 * posix/glob.c (globfree): Likewise.
17442 (prefix_array): Likewise.
17443 (__glob_pattern_type): Likewise.
17444 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17445 (NS_GET32): Likewise.
17446 (NS_PUT16): Likewise.
17447 (NS_PUT32): Likewise.
17448 * resolv/gethnamaddr.c (getanswer): Likewise.
17449 (gethostbyname2): Likewise.
17450 (gethostbyaddr): Likewise.
17451 (_gethtent): Likewise.
17452 (_gethtbyname2): Likewise.
17453 (_gethtbyaddr): Likewise.
17454 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17455 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17456 * resolv/res_init.c (__res_vinit): Likewise.
17457 (net_mask): Likewise.
17458 * resolv/res_mkquery.c (outchar): Likewise.
17459 (PRINT): Likewise.
17460 * stdio-common/printf_fp.c (outchar): Likewise.
17461 (PRINT): Likewise.
17462 * stdio-common/printf_fphex.c (outchar): Likewise.
17463 (PRINT): Likewise.
17464 * stdio-common/printf_size.c (outchar): Likewise.
17465 (PRINT): Likewise.
17466 * stdio-common/test_rdwr.c (main): Likewise.
17467 * stdio-common/tfformat.c (matches): Likewise.
17468 * stdio-common/vfprintf.c (outchar): Likewise.
17469 (printf_unknown): Likewise.
17470 (buffered_vfprintf): Likewise.
17471 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17472 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17473 (ReadFile): Likewise.
17474 * stdlib/qsort.c (SWAP): Likewise.
17475 (_quicksort): Likewise.
17476 * stdlib/setenv.c (__add_to_environ): Likewise.
17477 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17478 * stdlib/strtol_l.c (__strtol_l): Likewise.
17479 * stdlib/tst-strtod.c (main): Likewise.
17480 * stdlib/tst-strtol.c (main): Likewise.
17481 * stdlib/tst-strtoll.c (main): Likewise.
17482 * string/bits/string2.h (__strcmp_cc): Likewise.
17483 (__strcmp_cg): Likewise.
17484 (__strcspn_c1): Likewise.
17485 (__strcspn_c2): Likewise.
17486 (__strcspn_c3): Likewise.
17487 (__strspn_c1): Likewise.
17488 (__strspn_c2): Likewise.
17489 (__strspn_c3): Likewise.
17490 (__strsep_1c): Likewise.
17491 (__strsep_2c): Likewise.
17492 (__strsep_3c): Likewise.
17493 * string/memccpy.c (__memccpy): Likewise.
17494 * string/stpcpy.c (__stpcpy): Likewise.
17495 * string/strcmp.c (strcmp): Likewise.
17496 * string/strrchr.c (strrchr): Likewise.
17497 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17498 Likewise.
17499 * sysdeps/mach/hurd/getcwd.c
17500 (_hurd_canonicalize_directory_name_internal): Likewise.
17501 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17502 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17503 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17504 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17505 Likewise, in both definitions.
17506 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17507 definitions.
17508 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17509 64] (__bswap_64): Likewise.
17510 * time/test_time.c (main): Likewise.
17511 * time/tzfile.c (__tzfile_read): Likewise.
17512 (__tzfile_compute): Likewise.
17513 * time/tzset.c (__tzset_parse_tz): Likewise.
17514 (tzset_internal): Likewise.
17515 (compute_change): Likewise.
17516 * wcsmbs/wcscat.c (__wcscat): Likewise.
17517 * wcsmbs/wcschr.c (wcschr): Likewise.
17518 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17519 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17520 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17521 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17522 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17523 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17524 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17525 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17526 * wcsmbs/wmemset.c (wmemset): Likewise.
17527
9e54314b
JM
175282013-06-06 Joseph Myers <joseph@codesourcery.com>
17529
17530 * scripts/config.guess: Update to version 2013-05-16.
17531 * scripts/config.sub: Update to version 2013-04-24.
17532 * scripts/install-sh: Update to version 2011-11-20.07.
17533 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17534 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17535
350635a5
OB
175362013-06-06 Ondřej Bílka <neleai@seznam.cz>
17537
17538 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17539 * elf/sln.c: Likewise.
17540 * hurd/hurd/ioctl.h: Likewise.
17541 * hurd/hurdmalloc.c: Likewise.
17542 * hurd/xattr.c: Likewise.
17543 * include/shlib-compat.h: Likewise.
17544 * inet/ruserpass.c: Likewise.
17545 * libio/iofgets_u.c: Likewise.
17546 * libio/iofgetws_u.c: Likewise.
17547 * locale/programs/ld-identification.c: Likewise.
17548 * locale/programs/ld-time.c: Likewise.
17549 * mach/msg-destroy.c: Likewise.
17550 * nss/nss_files/files-netgrp.c: Likewise.
17551 * resolv/res_data.c: Likewise.
17552 * soft-fp/op-1.h: Likewise.
17553 * soft-fp/op-2.h: Likewise.
17554 * soft-fp/op-4.h: Likewise.
17555 * soft-fp/op-common.h: Likewise.
17556 * stdio-common/printf_fphex.c: Likewise.
17557 * stdlib/strtod_l.c: Likewise.
17558 * sunrpc/rpc/clnt.h: Likewise.
17559 * sysdeps/generic/framestate.c: Likewise.
17560 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17561 * sysdeps/i386/bsd-setjmp.S: Likewise.
17562 * sysdeps/i386/__longjmp.S: Likewise.
17563 * sysdeps/i386/setjmp.S: Likewise.
17564 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17565 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17581 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17582 * sysdeps/ieee754/support.c: Likewise.
17583 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17584 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17585 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17586 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17587 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17588 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17589 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17590 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17591 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17592 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17593 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17594 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17595 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17596 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17597 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17598 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17599 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17601
44a988af
OB
176022013-06-05 Ondřej Bílka <neleai@seznam.cz>
17603
25506f09 17604 * posix/transbug.c: Remove executable mode.
44a988af 17605
9c84384c
JM
176062013-06-05 Joseph Myers <joseph@codesourcery.com>
17607
17608 * crypt/speeds.c: Remove trailing whitespace.
17609 * dlfcn/default.c: Likewise.
17610 * elf/ifuncdep2.c: Likewise.
17611 * elf/ifuncmain1.c: Likewise.
17612 * elf/ifuncmain1vis.c: Likewise.
17613 * elf/testobj.h: Likewise.
17614 * elf/tst-stackguard1.c: Likewise.
17615 * gmon/sys/gmon.h: Likewise.
17616 * hurd/hurdmsg.c: Likewise.
17617 * hurd/new-fd.c: Likewise.
17618 * hurd/ports-get.c: Likewise.
17619 * iconvdata/ibm1008_420.c: Likewise.
17620 * inet/tst-getni1.c: Likewise.
17621 * inet/tst-getni2.c: Likewise.
17622 * libio/ioungetc.c: Likewise.
17623 * libio/wfiledoalloc.c: Likewise.
17624 * manual/libm-err-tab.pl: Likewise.
17625 * math/w_dremf.c: Likewise.
17626 * misc/ftruncate.c: Likewise.
17627 * posix/bug-glob2.c: Likewise.
17628 * posix/tst-pcre.c: Likewise.
17629 * posix/wait4.c: Likewise.
17630 * resolv/README: Likewise.
17631 * resolv/res_debug.h: Likewise.
17632 * resolv/tst-inet_ntop.c: Likewise.
17633 * setjmp/bug269-setjmp.c: Likewise.
17634 * soft-fp/extended.h: Likewise.
17635 * soft-fp/op-1.h: Likewise.
17636 * soft-fp/op-2.h: Likewise.
17637 * soft-fp/op-4.h: Likewise.
17638 * soft-fp/op-8.h: Likewise.
17639 * soft-fp/testit.c: Likewise.
17640 * stdio-common/bug16.c: Likewise.
17641 * stdlib/random.c: Likewise.
17642 * sunrpc/rpcsvc/rquota.x: Likewise.
17643 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17644 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17645 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17646 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17647 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17648 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17649 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17650 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17651 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17653 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17670 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17672 * sysdeps/ieee754/s_lib_version.c: Likewise.
17673 * sysdeps/mach/hurd/check_fds.c: Likewise.
17674 * sysdeps/mach/hurd/getsockname.c: Likewise.
17675 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17676 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17677 * sysdeps/powerpc/bits/link.h: Likewise.
17678 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17679 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17680 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17681 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17682 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17683 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17684 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17685 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17686 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17687 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17688 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17689 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17690 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17691 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17692 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17693 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17694 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17695 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17696 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17697 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17698 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17699 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17700 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17701 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17702 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17704 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17705 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17707 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17708 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17710 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17712 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17713 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17714 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17715 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17716 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17717 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17718 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17719 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17720 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17721 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17722 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17723 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17724 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17725 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17726 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17727 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17730 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17731 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17732 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17733 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17734 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17735 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17736 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17737 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17738 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17739 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17740 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17741 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17742 * sysdeps/powerpc/sysdep.h: Likewise.
17743 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17744 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17745 * sysdeps/sh/dl-trampoline.S: Likewise.
17746 * sysdeps/sh/memset.S: Likewise.
17747 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17748 * sysdeps/sh/strlen.S: Likewise.
17749 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17750 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17751 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17752 * sysdeps/sparc/sparc32/rem.S: Likewise.
17753 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17754 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17755 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17756 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17757 * sysdeps/sparc/sparc32/urem.S: Likewise.
17758 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17759 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17760 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17761 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17763 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17764 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17765 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17766 * sysdeps/unix/bsd/times.c: Likewise.
17767 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17768 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17773 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17774 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17775 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17776 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17777 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17778 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17779 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17780 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17781 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17782 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17783 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17784 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17785 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17786 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17787 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17788 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17789 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17790 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17791 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17792 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17793 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17794 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17795 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17796 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17797 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17798 * sysdeps/x86_64/strcspn.S: Likewise.
17799
869378a5
RA
178002013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17801
17802 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17803 generated file. Regenerate properly from gen-translit.pl.
17804 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17805 locale/C-translit.h.
17806
840e2943
AS
178072013-06-05 Andreas Schwab <schwab@suse.de>
17808
17809 [BZ #15100]
17810 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17811 week as 6 instead of -1.
17812 * time/tst-strptime.c (day_tests): Add test case.
17813
4c60cb0c
SP
178142013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17815
17816 * sysdeps/generic/math_private.h
17817 (libc_feholdexcept_setround_53bit): Replace with
17818 libc_feholdsetround_53bit.
17819 (libc_feupdateenv_53bit): Replace with
17820 libc_feresetround_53bit.
17821 (SET_RESTORE_ROUND_53BIT): Adjust.
17822
d180203e
SP
178232013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17824
96df079a
SP
17825 * string/test-strchrnul.c: Add copyright header.
17826
d180203e
SP
17827 * posix/tst-getaddrinfo4.c: Increase test timeout.
17828
8b0ccb2d
CD
178292013-06-03 Carlos O'Donell <carlos@redhat.com>
17830
17831 [BZ #15536]
17832 * math/libm-test.inc (MAX_EXP): Remove
17833 (MIN_EXP): Define.
17834 (ulp): Use MIN_EXP - MANT_DIG.
17835 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17836
3b3c4d40
CD
178372013-05-31 Carlos O'Donell <carlos@redhat.com>
17838
17839 * po/be.po: Revert last change.
17840 * po/zh_CN.po: Likewise.
17841 * po/header.pot: Likewise.
17842
fab7ce3f
JM
178432013-05-31 Joseph Myers <joseph@codesourcery.com>
17844
17845 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17846 link-libc-deps to empty as target-specific variable.
17847 * Makerules (link-libc-args): New variable.
17848 (libc-for-link): Likewise.
17849 (link-libc-deps): Likewise.
17850 (lib%.so): Depend on $(link-libc-deps). Link with
17851 $(link-libc-args).
17852 (build-module): Link with $(link-libc-args).
17853 (build-module-asneeded): Likewise.
17854 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17855 list of objects.
17856 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17857 target-specific variable.
17858 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17859 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17860 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17861 libc.
17862 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17863 libc and ld.so.
17864 ($(objpfx)libpcprofile.so): Likewise.
17865 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17866 libc_nonshared.a.
17867 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17868 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17869 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17870 $(link-libc-deps).
17871 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17872 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17873 * login/Makefile ($(objpfx)libutil.so): Likewise.
17874 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17875 * math/Makefile ($(objpfx)libm.so): Likewise.
17876 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17877 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17878 variable instead of depending directly on libc.
17879 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17880 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17881 $(link-libc-deps).
17882 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17883 libc.
17884 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17885 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17886 ($(objpfx)libanl.so): Likewise.
17887 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17888 ld.so.
17889 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17890 $(link-libc-deps).
17891 * sysdeps/i386/fpu/Makefile: Remove file.
17892 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17893 ($(objpfx)libm.so): Remove dependency on ld.so.
17894
eca5920c
PF
178952013-05-30 Patsy Franklin <pfrankli@redhat.com>
17896
17897 [BZ # 15553]
17898 * nis/yp_xdr.c (XDRMAXNAME): Define.
17899 (XDRMAXRECORD): Define.
17900 (xdr_domainname): Use XDRMAXNAME.
17901 (xdr_mapname): Likewise.
17902 (xdr_peername): Likewise.
17903 (xdr_keydat): Use XDRMAXRECORD.
17904 (xdr_valdat): Likewise.
17905
179062013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17907
17908 [BZ #14256]
17909 * manual/errno.texi (ESTALE): Update to account for more than
17910 just NFS file systems.
17911 * sysdeps/gnu/errlist.c: Regenerated.
17912
b9375348
SP
179132013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17914
17915 [BZ #15465]
17916 * elf/Makefile (tests): Add tst-null-argv.
17917 (modules-names): Add tst-null-argv-lib.
17918 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17919 (tst-null-argv-ENV): Set environment for tst-null-argv.
17920 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17921 (RTLD_PROGNAME): New macro.
17922 * elf/tst-null-argv.c: New test case.
17923 * elf/tst-null-argv-lib.c: Library for test case.
17924 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17925 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17926 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17927 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17928 * elf/dl-init.c (call_init): Likewise.
17929 (_dl_init): Likewise.
17930 * elf/dl-load.c (print_search_path): Likewise.
17931 (_dl_map_object): Likewise.
17932 * elf/dl-lookup.c (do_lookup_x): Likewise.
17933 (add_dependency): Likewise.
17934 (_dl_lookup_symbol_x): Likewise.
17935 (_dl_debug_bindings): Likewise.
17936 * elf/dl-open.c (_dl_show_scope): Likewise.
17937 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17938 * elf/dl-version.c (match_symbol): Likewise.
17939 (_dl_check_map_versions): Likewise.
17940 * elf/rtld.c (dl_main): Likewise.
17941 (print_unresolved): Use RTLD_PROGNAME.
17942 (print_missing_version): Likewise.
17943 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17944 (elf_machine_rela): Likewise.
17945 * sysdeps/powerpc/powerpc32/dl-machine.c
17946 (__process_machine_rela): Likewise.
17947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17948 Likewise.
17949 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17950 Likewise.
17951 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17952 Likewise.
17953 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17955 Likewise.
17956 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17957 Likewise.
17958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17959
8a9f20c8
CD
179602013-05-28 Carlos O'Donell <carlos@redhat.com>
17961
17962 * po/be.po: Add descriptive title.
17963 * po/zh_CN.po: Likewise.
17964 * po/header.pot: Likewise.
17965
0e60d68e
MF
179662013-05-28 Mike Frysinger <vapier@gentoo.org>
17967
17968 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17969 error message.
17970 (enlarge_archive): Likewise.
17971
56b672e9
BN
179722013-05-28 Ben North <ben@redfrontdoor.org>
17973
17974 * manual/arith.texi (frexp): It is the magnitude of the return
17975 value which lies in [0.5, 1), not the return value itself.
17976
5e056687
AZ
179772013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17978
17979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17980
2b66ef5d
TS
179812013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17982
528c2405
TS
17983 * stdio-common/bug26.c (main): Correct fscanf template.
17984
07b4c13d
TS
17985 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17986 declare _dl_skip_args.
17987
ec9dd97c
TS
17988 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17989 Don't declare.
17990
2b66ef5d
TS
17991 * manual/platform.texi: Add missing @end deftypefun.
17992
4f8dfe27
JM
179932013-05-24 Joseph Myers <joseph@codesourcery.com>
17994
0323d086
JM
17995 [BZ #15529]
17996 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17997 bit of mantissa of 2^16382.
17998 * math/libm-test.inc (hypot_test_data): Add more tests.
17999
dd4259b9
JM
18000 * math/libm-test.inc: Add drem and pow10 to list of tested
18001 functions.
18002 (pow10_test): New function.
18003 (drem_test): Likewise.
18004 (drem_test_tonearest): Likewise.
18005 (drem_test_towardzero): Likewise.
18006 (drem_test_downward): Likewise.
18007 (drem_test_upward): Likewise.
18008 (main): Call the new functions.
18009
4f8dfe27
JM
18010 * math/libm-test.inc (finite_test_data): Remove.
18011 (finite_test): Run tests from isfinite_test_data.
18012 (gamma_test_data): Remove.
18013 (gamma_test): Run tests from lgamma_test_data.
18014 * sysdeps/i386/fpu/libm-test-ulps: Update.
18015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18016
d116b7c4
AZ
180172013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18018
18019 * manual/platform.texi: Add PowerPC PPR function set documentation.
18020 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18021 implementation.
18022
e96e3767
CD
180232013-05-24 Carlos O'Donell <carlos@redhat.com>
18024
18025 * math/libm-test.inc (MAX_EXP): Define.
18026 (ULPDIFF): Define.
18027 (ulp): New function.
18028 (check_float_internal): Use ULPDIFF.
18029 (cpow_test): Disable failing test.
18030 (check_ulp): Test ulp() implemetnation.
18031 (main): Call check_ulp before starting tests.
18032
b679a606
JM
180332013-05-24 Joseph Myers <joseph@codesourcery.com>
18034
e8bdba36
JM
18035 * math/gen-libm-test.pl (generate_testfile): Do not handle
18036 START_DATA and END_DATA.
18037 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18038 END_DATA.
18039 (acos_tonearest_test_data): Likewise.
18040 (acos_towardzero_test_data): Likewise.
18041 (acos_downward_test_data): Likewise.
18042 (acos_upward_test_data): Likewise.
18043 (acosh_test_data): Likewise.
18044 (asin_test_data): Likewise.
18045 (asin_tonearest_test_data): Likewise.
18046 (asin_towardzero_test_data): Likewise.
18047 (asin_downward_test_data): Likewise.
18048 (asin_upward_test_data): Likewise.
18049 (asinh_test_data): Likewise.
18050 (atan_test_data): Likewise.
18051 (atanh_test_data): Likewise.
18052 (atan2_test_data): Likewise.
18053 (cabs_test_data): Likewise.
18054 (cacos_test_data): Likewise.
18055 (cacosh_test_data): Likewise.
18056 (carg_test_data): Likewise.
18057 (casin_test_data): Likewise.
18058 (casinh_test_data): Likewise.
18059 (catan_test_data): Likewise.
18060 (catanh_test_data): Likewise.
18061 (cbrt_test_data): Likewise.
18062 (ccos_test_data): Likewise.
18063 (ccosh_test_data): Likewise.
18064 (ceil_test_data): Likewise.
18065 (cexp_test_data): Likewise.
18066 (cimag_test_data): Likewise.
18067 (clog_test_data): Likewise.
18068 (clog10_test_data): Likewise.
18069 (conj_test_data): Likewise.
18070 (copysign_test_data): Likewise.
18071 (cos_test_data): Likewise.
18072 (cos_tonearest_test_data): Likewise.
18073 (cos_towardzero_test_data): Likewise.
18074 (cos_downward_test_data): Likewise.
18075 (cos_upward_test_data): Likewise.
18076 (cosh_test_data): Likewise.
18077 (cosh_tonearest_test_data): Likewise.
18078 (cosh_towardzero_test_data): Likewise.
18079 (cosh_downward_test_data): Likewise.
18080 (cosh_upward_test_data): Likewise.
18081 (cpow_test_data): Likewise.
18082 (cproj_test_data): Likewise.
18083 (creal_test_data): Likewise.
18084 (csin_test_data): Likewise.
18085 (csinh_test_data): Likewise.
18086 (csqrt_test_data): Likewise.
18087 (ctan_test_data): Likewise.
18088 (ctan_tonearest_test_data): Likewise.
18089 (ctan_towardzero_test_data): Likewise.
18090 (ctan_downward_test_data): Likewise.
18091 (ctan_upward_test_data): Likewise.
18092 (ctanh_test_data): Likewise.
18093 (ctanh_tonearest_test_data): Likewise.
18094 (ctanh_towardzero_test_data): Likewise.
18095 (ctanh_downward_test_data): Likewise.
18096 (ctanh_upward_test_data): Likewise.
18097 (erf_test_data): Likewise.
18098 (erfc_test_data): Likewise.
18099 (exp_test_data): Likewise.
18100 (exp_tonearest_test_data): Likewise.
18101 (exp_towardzero_test_data): Likewise.
18102 (exp_downward_test_data): Likewise.
18103 (exp_upward_test_data): Likewise.
18104 (exp10_test_data): Likewise.
18105 (exp2_test_data): Likewise.
18106 (expm1_test_data): Likewise.
18107 (fabs_test_data): Likewise.
18108 (fdim_test_data): Likewise.
18109 (finite_test_data): Likewise.
18110 (floor_test_data): Likewise.
18111 (fma_test_data): Likewise.
18112 (fma_towardzero_test_data): Likewise.
18113 (fma_downward_test_data): Likewise.
18114 (fma_upward_test_data): Likewise.
18115 (fmax_test_data): Likewise.
18116 (fmin_test_data): Likewise.
18117 (fmod_test_data): Likewise.
18118 (fpclassify_test_data): Likewise.
18119 (frexp_test_data): Likewise.
18120 (gamma_test_data): Likewise.
18121 (hypot_test_data): Likewise.
18122 (ilogb_test_data): Likewise.
18123 (isfinite_test_data): Likewise.
18124 (isgreater_test_data): Likewise.
18125 (isgreaterequal_test_data): Likewise.
18126 (isinf_test_data): Likewise.
18127 (isless_test_data): Likewise.
18128 (islessequal_test_data): Likewise.
18129 (islessgreater_test_data): Likewise.
18130 (isnan_test_data): Likewise.
18131 (isnormal_test_data): Likewise.
18132 (issignaling_test_data): Likewise.
18133 (isunordered_test_data): Likewise.
18134 (j0_test_data): Likewise.
18135 (j1_test_data): Likewise.
18136 (jn_test_data): Likewise.
18137 (ldexp_test_data): Likewise.
18138 (lgamma_test_data): Likewise.
18139 (lrint_test_data): Likewise.
18140 (lrint_tonearest_test_data): Likewise.
18141 (lrint_towardzero_test_data): Likewise.
18142 (lrint_downward_test_data): Likewise.
18143 (lrint_upward_test_data): Likewise.
18144 (llrint_test_data): Likewise.
18145 (llrint_tonearest_test_data): Likewise.
18146 (llrint_towardzero_test_data): Likewise.
18147 (llrint_downward_test_data): Likewise.
18148 (llrint_upward_test_data): Likewise.
18149 (log_test_data): Likewise.
18150 (log10_test_data): Likewise.
18151 (log1p_test_data): Likewise.
18152 (log2_test_data): Likewise.
18153 (logb_test_data): Likewise.
18154 (logb_downward_test_data): Likewise.
18155 (lround_test_data): Likewise.
18156 (llround_test_data): Likewise.
18157 (modf_test_data): Likewise.
18158 (nearbyint_test_data): Likewise.
18159 (nextafter_test_data): Likewise.
18160 (nexttoward_test_data): Likewise.
18161 (pow_test_data): Likewise.
18162 (pow_tonearest_test_data): Likewise.
18163 (pow_towardzero_test_data): Likewise.
18164 (pow_downward_test_data): Likewise.
18165 (pow_upward_test_data): Likewise.
18166 (remainder_test_data): Likewise.
18167 (remainder_tonearest_test_data): Likewise.
18168 (remainder_towardzero_test_data): Likewise.
18169 (remainder_downward_test_data): Likewise.
18170 (remainder_upward_test_data): Likewise.
18171 (remquo_test_data): Likewise.
18172 (rint_test_data): Likewise.
18173 (rint_tonearest_test_data): Likewise.
18174 (rint_towardzero_test_data): Likewise.
18175 (rint_downward_test_data): Likewise.
18176 (rint_upward_test_data): Likewise.
18177 (round_test_data): Likewise.
18178 (scalb_test_data): Likewise.
18179 (scalbn_test_data): Likewise.
18180 (scalbln_test_data): Likewise.
18181 (signbit_test_data): Likewise.
18182 (sin_test_data): Likewise.
18183 (sin_tonearest_test_data): Likewise.
18184 (sin_towardzero_test_data): Likewise.
18185 (sin_downward_test_data): Likewise.
18186 (sin_upward_test_data): Likewise.
18187 (sincos_test_data): Likewise.
18188 (sinh_test_data): Likewise.
18189 (sinh_tonearest_test_data): Likewise.
18190 (sinh_towardzero_test_data): Likewise.
18191 (sinh_downward_test_data): Likewise.
18192 (sinh_upward_test_data): Likewise.
18193 (sqrt_test_data): Likewise.
18194 (tan_test_data): Likewise.
18195 (tan_tonearest_test_data): Likewise.
18196 (tan_towardzero_test_data): Likewise.
18197 (tan_downward_test_data): Likewise.
18198 (tan_upward_test_data): Likewise.
18199 (tanh_test_data): Likewise.
18200 (tgamma_test_data): Likewise.
18201 (trunc_test_data): Likewise.
18202 (y0_test_data): Likewise.
18203 (y1_test_data): Likewise.
18204 (yn_test_data): Likewise.
18205 (significand_test_data): Likewise.
18206
b679a606
JM
18207 * math/gen-libm-test.pl (@functions): Remove variable.
18208 (generate_testfile): Don't handle START and END lines.
18209 * math/libm-test.inc (START): New macro.
18210 (END): Likewise.
18211 (END_COMPLEX): Likewise.
18212 (acos_test): Use END macro without arguments.
18213 (acos_test_tonearest): Likewise.
18214 (acos_test_towardzero): Likewise.
18215 (acos_test_downward): Likewise.
18216 (acos_test_upward): Likewise.
18217 (acosh_test): Likewise.
18218 (asin_test): Likewise.
18219 (asin_test_tonearest): Likewise.
18220 (asin_test_towardzero): Likewise.
18221 (asin_test_downward): Likewise.
18222 (asin_test_upward): Likewise.
18223 (asinh_test): Likewise.
18224 (atan_test): Likewise.
18225 (atanh_test): Likewise.
18226 (atan2_test): Likewise.
18227 (cabs_test): Likewise.
18228 (cacos_test): Use END_COMPLEX macro without arguments.
18229 (cacosh_test): Likewise.
18230 (carg_test): Use END macro without arguments.
18231 (casin_test): Use END_COMPLEX macro without arguments.
18232 (casinh_test): Likewise.
18233 (catan_test): Likewise.
18234 (catanh_test): Likewise.
18235 (cbrt_test): Use END macro without arguments.
18236 (ccos_test): Use END_COMPLEX macro without arguments.
18237 (ccosh_test): Likewise.
18238 (ceil_test): Use END macro without arguments.
18239 (cexp_test): Use END_COMPLEX macro without arguments.
18240 (cimag_test): Use END macro without arguments.
18241 (clog_test): Use END_COMPLEX macro without arguments.
18242 (clog10_test): Likewise.
18243 (conj_test): Likewise.
18244 (copysign_test): Use END macro without arguments.
18245 (cos_test): Likewise.
18246 (cos_test_tonearest): Likewise.
18247 (cos_test_towardzero): Likewise.
18248 (cos_test_downward): Likewise.
18249 (cos_test_upward): Likewise.
18250 (cosh_test): Likewise.
18251 (cosh_test_tonearest): Likewise.
18252 (cosh_test_towardzero): Likewise.
18253 (cosh_test_downward): Likewise.
18254 (cosh_test_upward): Likewise.
18255 (cpow_test): Use END_COMPLEX macro without arguments.
18256 (cproj_test): Likewise.
18257 (creal_test): Use END macro without arguments.
18258 (csin_test): Use END_COMPLEX macro without arguments.
18259 (csinh_test): Likewise.
18260 (csqrt_test): Likewise.
18261 (ctan_test): Likewise.
18262 (ctan_test_tonearest): Likewise.
18263 (ctan_test_towardzero): Likewise.
18264 (ctan_test_downward): Likewise.
18265 (ctan_test_upward): Likewise.
18266 (ctanh_test): Likewise.
18267 (ctanh_test_tonearest): Likewise.
18268 (ctanh_test_towardzero): Likewise.
18269 (ctanh_test_downward): Likewise.
18270 (ctanh_test_upward): Likewise.
18271 (erf_test): Use END macro without arguments.
18272 (erfc_test): Likewise.
18273 (exp_test): Likewise.
18274 (exp_test_tonearest): Likewise.
18275 (exp_test_towardzero): Likewise.
18276 (exp_test_downward): Likewise.
18277 (exp_test_upward): Likewise.
18278 (exp10_test): Likewise.
18279 (exp2_test): Likewise.
18280 (expm1_test): Likewise.
18281 (fabs_test): Likewise.
18282 (fdim_test): Likewise.
18283 (finite_test): Likewise.
18284 (floor_test): Likewise.
18285 (fma_test): Likewise.
18286 (fma_test_towardzero): Likewise.
18287 (fma_test_downward): Likewise.
18288 (fma_test_upward): Likewise.
18289 (fmax_test): Likewise.
18290 (fmin_test): Likewise.
18291 (fmod_test): Likewise.
18292 (fpclassify_test): Likewise.
18293 (frexp_test): Likewise.
18294 (gamma_test): Likewise.
18295 (hypot_test): Likewise.
18296 (ilogb_test): Likewise.
18297 (isfinite_test): Likewise.
18298 (isgreater_test): Likewise.
18299 (isgreaterequal_test): Likewise.
18300 (isinf_test): Likewise.
18301 (isless_test): Likewise.
18302 (islessequal_test): Likewise.
18303 (islessgreater_test): Likewise.
18304 (isnan_test): Likewise.
18305 (isnormal_test): Likewise.
18306 (issignaling_test): Likewise.
18307 (isunordered_test): Likewise.
18308 (j0_test): Likewise.
18309 (j1_test): Likewise.
18310 (jn_test): Likewise.
18311 (ldexp_test): Likewise.
18312 (lgamma_test): Likewise.
18313 (lrint_test): Likewise.
18314 (lrint_test_tonearest): Likewise.
18315 (lrint_test_towardzero): Likewise.
18316 (lrint_test_downward): Likewise.
18317 (lrint_test_upward): Likewise.
18318 (llrint_test): Likewise.
18319 (llrint_test_tonearest): Likewise.
18320 (llrint_test_towardzero): Likewise.
18321 (llrint_test_downward): Likewise.
18322 (llrint_test_upward): Likewise.
18323 (log_test): Likewise.
18324 (log10_test): Likewise.
18325 (log1p_test): Likewise.
18326 (log2_test): Likewise.
18327 (logb_test): Likewise.
18328 (logb_test_downward): Likewise.
18329 (lround_test): Likewise.
18330 (llround_test): Likewise.
18331 (modf_test): Likewise.
18332 (nearbyint_test): Likewise.
18333 (nextafter_test): Likewise.
18334 (nexttoward_test): Likewise.
18335 (pow_test): Likewise.
18336 (pow_test_tonearest): Likewise.
18337 (pow_test_towardzero): Likewise.
18338 (pow_test_downward): Likewise.
18339 (pow_test_upward): Likewise.
18340 (remainder_test): Likewise.
18341 (remainder_test_tonearest): Likewise.
18342 (remainder_test_towardzero): Likewise.
18343 (remainder_test_downward): Likewise.
18344 (remainder_test_upward): Likewise.
18345 (remquo_test): Likewise.
18346 (rint_test): Likewise.
18347 (rint_test_tonearest): Likewise.
18348 (rint_test_towardzero): Likewise.
18349 (rint_test_downward): Likewise.
18350 (rint_test_upward): Likewise.
18351 (round_test): Likewise.
18352 (scalb_test): Likewise.
18353 (scalbn_test): Likewise.
18354 (scalbln_test): Likewise.
18355 (signbit_test): Likewise.
18356 (sin_test): Likewise.
18357 (sin_test_tonearest): Likewise.
18358 (sin_test_towardzero): Likewise.
18359 (sin_test_downward): Likewise.
18360 (sin_test_upward): Likewise.
18361 (sincos_test): Likewise.
18362 (sinh_test): Likewise.
18363 (sinh_test_tonearest): Likewise.
18364 (sinh_test_towardzero): Likewise.
18365 (sinh_test_downward): Likewise.
18366 (sinh_test_upward): Likewise.
18367 (sqrt_test): Likewise.
18368 (tan_test): Likewise.
18369 (tan_test_tonearest): Likewise.
18370 (tan_test_towardzero): Likewise.
18371 (tan_test_downward): Likewise.
18372 (tan_test_upward): Likewise.
18373 (tanh_test): Likewise.
18374 (tgamma_test): Likewise.
18375 (trunc_test): Likewise.
18376 (y0_test): Likewise.
18377 (y1_test): Likewise.
18378 (yn_test): Likewise.
18379 (significand_test): Likewise.
18380
bae143d2
OB
183812013-05-24 Ondřej Bílka <neleai@seznam.cz>
18382
18383 [BZ #15381]
18384 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18385
9323d39b
EM
183862013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18387
d4ea44a0 18388 [BZ #14894]
9323d39b
EM
18389 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18390 __ppc_mdoio and __ppc_mdoom.
18391 * manual/platform.texi: Document new functions __ppc_yield,
18392 __ppc_mdoio and __ppc_mdoom.
18393
13e23af7
CD
183942013-05-22 Carlos O'Donell <carlos@redhat.com>
18395
18396 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18397 (main): Mention "tls" pseudo-hwcap is legacy.
18398 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18399
351fe550
JM
184002013-05-22 Joseph Myers <joseph@codesourcery.com>
18401
18402 * math/gen-libm-test.pl (parse_args): Output only string of
18403 arguments as text for test name, not full call or descriptions of
18404 tests for extra outputs.
18405 (generate_testfile): Do not pass function name to parse_args.
18406 Generate this_func variable from START.
18407 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18408 field to arg_str.
18409 (struct test_ff_f_data): Likewise.
18410 (test_ff_f_data_nexttoward): Likewise.
18411 (struct test_fi_f_data): Likewise.
18412 (struct test_fl_f_data): Likewise.
18413 (struct test_if_f_data): Likewise.
18414 (struct test_fff_f_data): Likewise.
18415 (struct test_c_f_data): Likewise.
18416 (struct test_f_f1_data): Likewise. Remove field extra_name.
18417 (struct test_fF_f1_data): Likewise.
18418 (struct test_ffI_f1_data): Likewise.
18419 (struct test_c_c_data): Rename test_name field to arg_str.
18420 (struct test_cc_c_data): Likewise.
18421 (struct test_f_i_data): Likewise.
18422 (struct test_ff_i_data): Likewise.
18423 (struct test_f_l_data): Likewise.
18424 (struct test_f_L_data): Likewise.
18425 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18426 and extra2_name.
18427 (COMMON_TEST_SETUP): New macro.
18428 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18429 (COMMON_TEST_CLEANUP): Likewise.
18430 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18431 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18432 macros.
18433 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18434 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18435 macros.
18436 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18437 (RUN_TEST_fff_f): Take argument string. Call new setup and
18438 cleanup macros.
18439 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18440 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18441 macros.
18442 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18443 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18444 macros.
18445 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18446 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18447 cleanup macros.
18448 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18449 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18450 cleanup macros.
18451 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18452 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18453 cleanup macros.
18454 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18455 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18456 macros.
18457 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18458 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18459 macros.
18460 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18461 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18462 macros.
18463 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18464 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18465 cleanup macros.
18466 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18467 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18468 cleanup macros.
18469 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18470 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18471 macros.
18472 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18473 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18474 cleanup macros.
18475 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18476 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18477 macros.
18478 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18479 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18480 macros.
18481 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18482 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18483 cleanup macros.
18484 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18485
85118d4d
EBM
184862013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18487
18488 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18489 to _sifields.sigfault.
18490 (si_addr_lsb): Define new macro.
18491 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18493 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18494
7a44c18f
CD
184952013-05-03 Carlos O'Donell <carlos at redhat.com>
18496
18497 [BZ #15441]
18498 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18499 returns -1.
18500 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18501 null return -1.
18502 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18503 loading the domain.
18504
b50a7181
JM
185052013-05-22 Joseph Myers <joseph@codesourcery.com>
18506
18507 * math/gen-libm-test.pl (parse_args): Do not include expected
18508 result in test name.
18509 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18511 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18512 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18513 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18515
051063c8
SP
185162013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18517
3ce9e010
SP
18518 * benchtests/Makefile: Sort function entries.
18519
051063c8
SP
18520 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18521 tanh, asinh, acosh, atanh.
18522 * benchtests/acos-inputs: New file.
18523 * benchtests/acosh-inputs: New file.
18524 * benchtests/asin-inputs: New file.
18525 * benchtests/asinh-inputs: New file.
18526 * benchtests/atanh-inputs: New file.
18527 * benchtests/cosh-inputs: New file.
18528 * benchtests/log-inputs: New file.
18529 * benchtests/sinh-inputs: New file.
18530 * benchtests/tanh-inputs: New file.
18531
47c22455
DL
185322013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18533
18534 [BZ #15339]
18535 * posix/tst-getaddrinfo4.c: New test.
18536 * posix/Makefile (tests): Add it.
18537
3d04f5db
SP
185382013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18539
18540 [BZ #15339]
18541 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18542 when no services were used.
18543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18544 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18545
d5dd6189
AS
185462013-05-21 Andreas Schwab <schwab@suse.de>
18547
18548 [BZ #15014]
18549 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18550 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18551 successful.
18552 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18553 redundant variable declarations and reallocation of buffer when
18554 parsing as IPv6 address. Always set NSS status when called from
18555 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18556 buffer too small. Correct computation of needed size.
18557 * nss/Makefile (tests): Add test-digits-dots.
18558 * nss/test-digits-dots.c: New test.
18559
fef94eab
SP
185602013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18561
18562 * benchtests/Makefile: Remove instructions for adding
18563 benchmark tests.
18564 * benchtests/README: New file to explain how to execute and
18565 enhance the benchmark tests.
18566
e39adf43
AS
185672013-05-21 Andreas Schwab <schwab@suse.de>
18568
18569 [BZ #15493]
18570 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18571 * setjmp/tst-sigsetjmp.c: New test.
18572
b2b671b6
OB
185732013-05-20 Ondřej Bílka <neleai@seznam.cz>
18574
18575 * sysdeps/x86_64/memset.S (memset): New implementation.
18576 (__bzero): Likewise.
18577 (__memset_tail): New function.
18578
2d48b41c
OB
185792013-05-20 Ondřej Bílka <neleai@seznam.cz>
18580
18581 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18582 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18583 __memcpy_sse2_unaligned ifunc selection.
18584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18585 Add memcpy-sse2-unaligned.S.
18586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18587 Add: __memcpy_sse2_unaligned.
18588
f16cc3eb
JM
185892013-05-19 Joseph Myers <joseph@codesourcery.com>
18590
3e694268
JM
18591 [BZ #15490]
18592 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18593 math_force_eval before restoring floating-point envrionment.
18594 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18595 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18596 Likewise.
18597 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18598 <math_private.h>.
18599 (__nearbyintl): Use math_force_eval before restoring
18600 floating-point environment.
18601 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18602
db62a907
JM
18603 * math/gen-libm-test.pl (special_functions): Remove.
18604 (parse_args): Don't handle TEST_extra. Handle functions with no
18605 return value.
18606 * math/libm-test.inc (struct test_sincos_data): Replace with
18607 struct test_fFF_11_data.
18608 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18609 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18610 (sincos_test_data): Change element type to struct
18611 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18612 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18613 RUN_TEST_LOOP_sincos.
18614 * math/README.libm-test: Don't mention special handling of
18615 individual functions.
18616 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18618 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18619 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18620 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18622
f16cc3eb
JM
18623 * math/gen-libm-test.pl (get_variable): Remove function.
18624 (parse_args): Don't show pointer parameters to call in test
18625 names. Use "extra output N" in test names for extra outputs
18626 rather than naming variables.
18627
3779b5b6
JM
186282013-05-18 Joseph Myers <joseph@codesourcery.com>
18629
2ee094ff
JM
18630 [BZ #15488]
18631 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18632 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18633 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18634 double tests.
18635 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18636 disable.
18637 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18638 check_long_double.
18639
3779b5b6
JM
18640 * math/gen-libm-test.pl (@tests): Remove variable.
18641 ($count): Likewise.
18642 (new_test): Remove function.
18643 (show_exceptions): New function.
18644 (special_functions): Use show_exceptions instead of new_test.
18645 (parse_args): Likewise.
18646 (generate_testfile): Pass only function name in generated call to
18647 print_max_error or print_complex_max_error.
18648 (get_ulps): Do not handle complex tests specially.
18649 (output_test): Rename to ...
18650 (get_all_ulps_for_test): ... this. Return a string rather than
18651 printing to a file. Require ulps to be present.
18652 (output_ulps): Generate arrays rather than #defines.
18653 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18654 (struct ulp_data): New type.
18655 (BUILD_COMPLEX_ULP): Remove macro.
18656 (compare_ulp_data): New function.
18657 (find_ulps): Likewise.
18658 (find_test_ulps): Likewise.
18659 (find_function_ulps): Likewise.
18660 (find_complex_function_ulps): Likewise.
18661 (print_max_error): Determine allowed ulps using
18662 find_function_ulps.
18663 (print_complex_max_error): Determine allowed ulps using
18664 find_complex_function_ulps.
18665 (check_float_internal): Determine max ulps using find_test_ulps.
18666 (check_float): Do not take max_ulp parameter. Update call to
18667 check_float_internal.
18668 (check_complex): Likewise.
18669 (check_int): Do not take max_ulp parameter.
18670 (check_long): Likewise.
18671 (check_bool): Likewise.
18672 (check_longlong): Likewise.
18673 (struct test_f_f_data): Remove max_ulp field.
18674 (struct test_ff_f_data): Likewise.
18675 (struct test_ff_f_data_nexttoward): Likewise.
18676 (struct test_fi_f_data): Likewise.
18677 (struct test_fl_f_data): Likewise.
18678 (struct test_if_f_data): Likewise.
18679 (struct test_fff_f_data): Likewise.
18680 (struct test_c_f_data): Likewise.
18681 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18682 (struct test_fF_f1_data): Likewise.
18683 (struct test_ffI_f1_data): Likewise.
18684 (struct test_c_c_data): Remove max_ulp field.
18685 (struct test_cc_c_data): Likewise.
18686 (struct test_f_i_data): Likewise.
18687 (struct test_ff_i_data): Likewise.
18688 (struct test_f_l_data): Likewise.
18689 (struct test_f_L_data): Likewise.
18690 (struct test_sincos_data): Likewise.
18691 (RUN_TEST_f_f): Do not handle ulps.
18692 (RUN_TEST_LOOP_f_f): Likewise.
18693 (RUN_TEST_2_f): Likewise.
18694 (RUN_TEST_LOOP_2_f): Likewise.
18695 (RUN_TEST_fff_f): Likewise.
18696 (RUN_TEST_LOOP_fff_f): Likewise.
18697 (RUN_TEST_c_f): Likewise.
18698 (RUN_TEST_LOOP_c_f): Likewise.
18699 (RUN_TEST_f_f1): Likewise.
18700 (RUN_TEST_LOOP_f_f1): Likewise.
18701 (RUN_TEST_fF_f1): Likewise.
18702 (RUN_TEST_LOOP_fF_f1): Likewise.
18703 (RUN_TEST_fI_f1): Likewise.
18704 (RUN_TEST_LOOP_fI_f1): Likewise.
18705 (RUN_TEST_ffI_f1): Likewise.
18706 (RUN_TEST_LOOP_ffI_f1): Likewise.
18707 (RUN_TEST_c_c): Likewise.
18708 (RUN_TEST_LOOP_c_c): Likewise.
18709 (RUN_TEST_cc_c): Likewise.
18710 (RUN_TEST_LOOP_cc_c): Likewise.
18711 (RUN_TEST_f_i): Likewise.
18712 (RUN_TEST_LOOP_f_i): Likewise.
18713 (RUN_TEST_f_i_tg): Likewise.
18714 (RUN_TEST_LOOP_f_i_tg): Likewise.
18715 (RUN_TEST_ff_i_tg): Likewise.
18716 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18717 (RUN_TEST_f_b): Likewise.
18718 (RUN_TEST_LOOP_f_b): Likewise.
18719 (RUN_TEST_f_b_tg): Likewise.
18720 (RUN_TEST_LOOP_f_b_tg): Likewise.
18721 (RUN_TEST_f_l): Likewise.
18722 (RUN_TEST_LOOP_f_l): Likewise.
18723 (RUN_TEST_f_L): Likewise.
18724 (RUN_TEST_LOOP_f_L): Likewise.
18725 (RUN_TEST_sincos): Likewise.
18726 (RUN_TEST_LOOP_sincos): Likewise.
18727
8269107f
JM
187282013-05-17 Joseph Myers <joseph@codesourcery.com>
18729
bb38759d
JM
18730 [BZ #15480]
18731 [BZ #15485]
18732 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18733 main case of finite arguments, set rounding mode to FE_TONEAREST
18734 and discard exceptions.
18735 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18736 exceptions.
18737 (remainder_tonearest_test_data): New variable.
18738 (remainder_test_tonearest): New function.
18739 (remainder_towardzero_test_data): New variable.
18740 (remainder_test_towardzero): New function.
18741 (remainder_downward_test_data): New variable.
18742 (remainder_test_downward): New function.
18743 (remainder_upward_test_data): New variable.
18744 (remainder_test_upward): New function.
18745 (main): Call the new test functions.
18746
a00bdcf0
JM
18747 * math/libm-test.inc (struct test_f_f1_data): Remove field
18748 extra_init.
18749 (struct test_fF_f1_data): Likewise.
18750 (struct test_ffI_f1_data): Likewise.
18751 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18752 based on value of EXTRA_EXPECTED.
18753 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18754 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18755 EXTRA_VAR based on value of EXTRA_EXPECTED.
18756 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18757 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18758 EXTRA_VAR based on value of EXTRA_EXPECTED.
18759 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18760 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18761 EXTRA_VAR based on value of EXTRA_EXPECTED.
18762 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18763 * math/gen-libm-test.pl (parse_args): Don't output initializers
18764 for extra output values.
18765
de407f79
JM
18766 * math/libm-test.inc (check_int): Expect result to be exactly
18767 equal to expected value and do not handle ulps.
18768 (check_long): Likewise.
18769 (check_longlong): Likewise.
18770
8269107f
JM
18771 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18772 exceptions.
18773 (cimag_test_data): Likewise.
18774 (conj_test_data): Likewise.
18775 (copysign_test_data): Likewise.
18776 (cproj_test_data): Likewise.
18777 (creal_test_data): Likewise.
18778 (fabs_test_data): Likewise.
18779 (fdim_test_data): Likewise.
18780 (finite_test_data): Likewise.
18781 (floor_test_data): Likewise.
18782 (fmax_test_data): Likewise.
18783 (fmin_test_data): Likewise.
18784 (fmod_test_data): Likewise.
18785 (fpclassify_test_data): Likewise.
18786 (frexp_test_data): Likewise.
18787 (ilogb_test_data): Likewise.
18788 (isfinite_test_data): Likewise.
18789 (isgreater_test_data): Likewise.
18790 (isgreaterequal_test_data): Likewise.
18791 (isinf_test_data): Likewise.
18792 (isless_test_data): Likewise.
18793 (islessequal_test_data): Likewise.
18794 (islessgreater_test_data): Likewise.
18795 (isnan_test_data): Likewise.
18796 (isnormal_test_data): Likewise.
18797 (issignaling_test_data): Likewise.
18798 (isunordered_test_data): Likewise.
18799 (ldexp_test_data): Likewise.
18800 (lrint_test_data): Likewise.
18801 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18802 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18803 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18804 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18805 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18806 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18807 test input.
18808 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18809 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18810 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18811 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18812 that test input.
18813 (lrint_downward_test_data): Test for "inexact" exceptions.
18814 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18815 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18816 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18817 test input.
18818 (lrint_upward_test_data): Test for "inexact" exceptions.
18819 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18820 test input.
18821 (llrint_test_data): Test for "inexact" exceptions.
18822 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18823 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18824 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18825 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18826 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18827 (llrint_downward_test_data): Test for "inexact" exceptions.
18828 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18829 (llrint_upward_test_data): Test for "inexact" exceptions.
18830 (logb_test_data): Likewise.
18831 (logb_downward_test_data): Likewise.
18832 (nextafter_test_data): Likewise.
18833 (nexttoward_test_data): Likewise.
18834 (remainder_test_data): Likewise.
18835 (remquo_test_data): Likewise.
18836 (scalbn_test_data): Likewise.
18837 (scalbln_test_data): Likewise.
18838 (signbit_test_data): Likewise.
18839 (sqrt_test_data): Likewise.
18840 (significand_test_data): Likewise.
18841
48a18de1
SP
188422013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18843
18844 [BZ #15424]
18845 * benchtests/bench-modf.c (struct args): Mark arg0 as
18846 volatile.
18847 * scripts/bench.pl: Mark members of struct args as volatile.
18848
13d3b41a
AZ
188492013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18850
68191c1d 18851 [BZ # 15497]
13d3b41a
AZ
18852 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18853 negative infinity on POWER6 or lower.
18854 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18855
2848b105
MR
188562013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18857
18858 [BZ #15442]
18859 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18860 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18861 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18862 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18863 (_FP_SETQNAN): New macro.
18864 (_FP_SETQNAN_SEMIRAW): Likewise.
18865 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18866 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18867 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18868 (FP_EXTEND): Use _FP_FRAC_SNANP.
18869 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18870 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18871 into account.
18872 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18873 New macro.
18874 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18875 Likewise.
18876
323e5cb7
JM
188772013-05-16 Joseph Myers <joseph@codesourcery.com>
18878
c58b274f
JM
18879 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18880 with DIVIDE_BY_ZERO_EXCEPTION.
18881 (gamma_test_data): Likewise.
18882 (lgamma_test_data): Likewise.
18883 (log_test_data): Likewise.
18884 (log10_test_data): Likewise.
18885 (log2_test_data): Likewise.
18886 (tgamma_test_data): Likewise.
18887
0ab34904
JM
18888 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18889 (acos_test_tonearest): Likewise.
18890 (acos_test_towardzero): Likewise.
18891 (acos_test_downward): Likewise.
18892 (acos_test_upward): Likewise.
18893 (acosh_test): Likewise.
18894 (asin_test): Likewise.
18895 (asin_test_tonearest): Likewise.
18896 (asin_test_towardzero): Likewise.
18897 (asin_test_downward): Likewise.
18898 (asin_test_upward): Likewise.
18899 (asinh_test): Likewise.
18900 (atan_test): Likewise.
18901 (atanh_test): Likewise.
18902 (atan2_test): Likewise.
18903 (cabs_test): Likewise.
18904 (cacos_test): Likewise.
18905 (cacosh_test): Likewise.
18906 (casin_test): Likewise.
18907 (casinh_test): Likewise.
18908 (catan_test): Likewise.
18909 (catanh_test): Likewise.
18910 (cbrt_test): Likewise.
18911 (ccos_test): Likewise.
18912 (ccosh_test): Likewise.
18913 (cexp_test): Likewise.
18914 (clog_test): Likewise.
18915 (clog10_test): Likewise.
18916 (cos_test): Likewise.
18917 (cos_test_tonearest): Likewise.
18918 (cos_test_towardzero): Likewise.
18919 (cos_test_downward): Likewise.
18920 (cos_test_upward): Likewise.
18921 (cosh_test): Likewise.
18922 (cosh_test_tonearest): Likewise.
18923 (cosh_test_towardzero): Likewise.
18924 (cosh_test_downward): Likewise.
18925 (cosh_test_upward): Likewise.
18926 (cpow_test): Likewise.
18927 (csin_test): Likewise.
18928 (csinh_test): Likewise.
18929 (csqrt_test): Likewise.
18930 (ctan_test): Likewise.
18931 (ctan_test_tonearest): Likewise.
18932 (ctan_test_towardzero): Likewise.
18933 (ctan_test_downward): Likewise.
18934 (ctan_test_upward): Likewise.
18935 (ctanh_test): Likewise.
18936 (ctanh_test_tonearest): Likewise.
18937 (ctanh_test_towardzero): Likewise.
18938 (ctanh_test_downward): Likewise.
18939 (ctanh_test_upward): Likewise.
18940 (erf_test): Likewise.
18941 (erfc_test): Likewise.
18942 (exp_test): Likewise.
18943 (exp_test_tonearest): Likewise.
18944 (exp_test_towardzero): Likewise.
18945 (exp_test_downward): Likewise.
18946 (exp_test_upward): Likewise.
18947 (exp10_test): Likewise.
18948 (exp2_test): Likewise.
18949 (expm1_test): Likewise.
18950 (fmod_test): Likewise.
18951 (gamma_test): Likewise.
18952 (hypot_test): Likewise.
18953 (j0_test): Likewise.
18954 (j1_test): Likewise.
18955 (jn_test): Likewise.
18956 (lgamma_test): Likewise.
18957 (log_test): Likewise.
18958 (log10_test): Likewise.
18959 (log1p_test): Likewise.
18960 (log2_test): Likewise.
18961 (logb_test_downward): Likewise.
18962 (pow_test): Likewise.
18963 (pow_test_tonearest): Likewise.
18964 (pow_test_towardzero): Likewise.
18965 (pow_test_downward): Likewise.
18966 (pow_test_upward): Likewise.
18967 (remainder_test): Likewise.
18968 (remquo_test): Likewise.
18969 (sin_test): Likewise.
18970 (sin_test_tonearest): Likewise.
18971 (sin_test_towardzero): Likewise.
18972 (sin_test_downward): Likewise.
18973 (sin_test_upward): Likewise.
18974 (sincos_test): Likewise.
18975 (sinh_test): Likewise.
18976 (sinh_test_tonearest): Likewise.
18977 (sinh_test_towardzero): Likewise.
18978 (sinh_test_downward): Likewise.
18979 (sinh_test_upward): Likewise.
18980 (sqrt_test): Likewise.
18981 (tan_test): Likewise.
18982 (tan_test_tonearest): Likewise.
18983 (tan_test_towardzero): Likewise.
18984 (tan_test_downward): Likewise.
18985 (tan_test_upward): Likewise.
18986 (tanh_test): Likewise.
18987 (tgamma_test): Likewise.
18988 (y0_test): Likewise.
18989 (y1_test): Likewise.
18990 (yn_test): Likewise.
18991
323e5cb7
JM
18992 * math/gen-libm-test.pl (adjust_arg): Remove function.
18993 (special_function): Remove argument $in_func. Only handle
18994 generating output for tables of tests, not inside functions.
18995 (parse_args): Likewise.
18996 (generate_testfile): Remove variable $in_func. Update call to
18997 parse_args.
18998 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18999 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19000 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19001 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19002 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19003 (MAX_VALUE_INIT): Rename macro to max_value.
19004 (MIN_VALUE_INIT): Rename macro to min_value.
19005 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19006 (plus_zero): Remove variable.
19007 (minus_zero): Likewise.
19008 (plus_infty): Likewise.
19009 (minus_infty): Likewise.
19010 (qnan_value): Likewise.
19011 (max_value): Likewise.
19012 (min_value): Likewise.
19013 (min_subnorm_value): Likewise.
19014
e054f494
RA
190152013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19016
19017 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19018 uint64_t or uint32_t usage.
19019 * crypt/sha256-block.c: Likewise.
19020 * crypt/sha256-crypt.c: Likewise.
19021 * crypt/sha256.c: Likewise.
19022 * crypt/sha512-block.c: Likewise.
19023 * crypt/sha512-crypt.c: Likewise.
19024 * crypt/sha512.c: Likewise.
19025 * debug/backtrace-tst.c: Likewise.
19026 * debug/pcprofiledump.c: Likewise.
19027 * elf/cache.c: Likewise.
19028 * elf/dl-cache.c: Likewise.
19029 * elf/dl-misc.c: Likewise.
19030 * elf/dl-profile.c: Likewise.
19031 * elf/dl-support.c: Likewise.
19032 * elf/ldconfig.c: Likewise.
19033 * elf/sprof.c: Likewise.
19034 * iconv/dummy-repertoire.c: Likewise.
19035 * iconv/iconv_charmap.c: Likewise.
19036 * iconv/skeleton.c: Likewise.
19037 * iconvdata/8bit-generic.c: Likewise.
19038 * iconvdata/cp737.h: Likewise.
19039 * iconvdata/cp775.h: Likewise.
19040 * iconvdata/ibm1008.h: Likewise.
19041 * iconvdata/ibm1025.h: Likewise.
19042 * iconvdata/ibm1046.h: Likewise.
19043 * iconvdata/ibm1097.h: Likewise.
19044 * iconvdata/ibm1112.h: Likewise.
19045 * iconvdata/ibm1122.h: Likewise.
19046 * iconvdata/ibm1123.h: Likewise.
19047 * iconvdata/ibm1124.h: Likewise.
19048 * iconvdata/ibm1129.h: Likewise.
19049 * iconvdata/ibm1130.h: Likewise.
19050 * iconvdata/ibm1132.h: Likewise.
19051 * iconvdata/ibm1133.h: Likewise.
19052 * iconvdata/ibm1137.h: Likewise.
19053 * iconvdata/ibm1140.h: Likewise.
19054 * iconvdata/ibm1141.h: Likewise.
19055 * iconvdata/ibm1142.h: Likewise.
19056 * iconvdata/ibm1143.h: Likewise.
19057 * iconvdata/ibm1144.h: Likewise.
19058 * iconvdata/ibm1145.h: Likewise.
19059 * iconvdata/ibm1146.h: Likewise.
19060 * iconvdata/ibm1147.h: Likewise.
19061 * iconvdata/ibm1148.h: Likewise.
19062 * iconvdata/ibm1149.h: Likewise.
19063 * iconvdata/ibm1153.h: Likewise.
19064 * iconvdata/ibm1154.h: Likewise.
19065 * iconvdata/ibm1155.h: Likewise.
19066 * iconvdata/ibm1156.h: Likewise.
19067 * iconvdata/ibm1157.h: Likewise.
19068 * iconvdata/ibm1158.h: Likewise.
19069 * iconvdata/ibm1160.h: Likewise.
19070 * iconvdata/ibm1161.h: Likewise.
19071 * iconvdata/ibm1162.h: Likewise.
19072 * iconvdata/ibm1163.h: Likewise.
19073 * iconvdata/ibm1164.h: Likewise.
19074 * iconvdata/ibm1166.h: Likewise.
19075 * iconvdata/ibm1167.h: Likewise.
19076 * iconvdata/ibm12712.h: Likewise.
19077 * iconvdata/ibm1390.h: Likewise.
19078 * iconvdata/ibm1399.h: Likewise.
19079 * iconvdata/ibm16804.h: Likewise.
19080 * iconvdata/ibm4517.h: Likewise.
19081 * iconvdata/ibm4899.h: Likewise.
19082 * iconvdata/ibm4909.h: Likewise.
19083 * iconvdata/ibm4971.h: Likewise.
19084 * iconvdata/ibm5347.h: Likewise.
19085 * iconvdata/ibm803.h: Likewise.
19086 * iconvdata/ibm856.h: Likewise.
19087 * iconvdata/ibm901.h: Likewise.
19088 * iconvdata/ibm902.h: Likewise.
19089 * iconvdata/ibm9030.h: Likewise.
19090 * iconvdata/ibm9066.h: Likewise.
19091 * iconvdata/ibm921.h: Likewise.
19092 * iconvdata/ibm922.h: Likewise.
19093 * iconvdata/ibm9448.h: Likewise.
19094 * iconvdata/isiri-3342.h: Likewise.
19095 * iconvdata/jis0201.h: Likewise.
19096 * include/link.h: Likewise.
19097 * include/netdb.h: Likewise.
19098 * inet/check_native.c: Likewise.
19099 * inet/check_pf.c: Likewise.
19100 * inet/getipv4sourcefilter.c: Likewise.
19101 * inet/getnameinfo.c: Likewise.
19102 * inet/getsourcefilter.c: Likewise.
19103 * inet/htonl.c: Likewise.
19104 * inet/setipv4sourcefilter.c: Likewise.
19105 * inet/setsourcefilter.c: Likewise.
19106 * inet/test-inet6_opt.c: Likewise.
19107 * inet/tst-network.c: Likewise.
19108 * locale/C-collate.c: Likewise.
19109 * locale/C-ctype.c: Likewise.
19110 * locale/C-time.c: Likewise.
19111 * locale/C-translit.h: Likewise.
19112 * locale/loadarchive.c: Likewise.
19113 * locale/programs/3level.h: Likewise.
19114 * locale/programs/charmap.c: Likewise.
19115 * locale/programs/charmap.h: Likewise.
19116 * locale/programs/ld-address.c: Likewise.
19117 * locale/programs/ld-collate.c: Likewise.
19118 * locale/programs/ld-ctype.c: Likewise.
19119 * locale/programs/ld-identification.c: Likewise.
19120 * locale/programs/ld-measurement.c: Likewise.
19121 * locale/programs/ld-messages.c: Likewise.
19122 * locale/programs/ld-monetary.c: Likewise.
19123 * locale/programs/ld-name.c: Likewise.
19124 * locale/programs/ld-numeric.c: Likewise.
19125 * locale/programs/ld-paper.c: Likewise.
19126 * locale/programs/ld-telephone.c: Likewise.
19127 * locale/programs/ld-time.c: Likewise.
19128 * locale/programs/linereader.c: Likewise.
19129 * locale/programs/locale.c: Likewise.
19130 * locale/programs/locarchive.c: Likewise.
19131 * locale/programs/locfile.h: Likewise.
19132 * locale/programs/repertoire.c: Likewise.
19133 * locale/programs/simple-hash.c: Likewise.
19134 * locale/programs/simple-hash.h: Likewise.
19135 * malloc/memusage.c: Likewise.
19136 * malloc/memusagestat.c: Likewise.
19137 * nis/nis_defaults.c: Likewise.
19138 * nis/nis_hash.c: Likewise.
19139 * nis/nis_print.c: Likewise.
19140 * nis/nis_xdr.c: Likewise.
19141 * nscd/connections.c: Likewise.
19142 * nscd/hstcache.c: Likewise.
19143 * nscd/nscd_gethst_r.c: Likewise.
19144 * nscd/nscd_getserv_r.c: Likewise.
19145 * nscd/nscd_helper.c: Likewise.
19146 * nscd/servicescache.c: Likewise.
19147 * nss/makedb.c: Likewise.
19148 * nss/nss_db/db-XXX.c: Likewise.
19149 * nss/nss_db/db-initgroups.c: Likewise.
19150 * nss/nss_db/db-netgrp.c: Likewise.
19151 * nss/nss_files/files-network.c: Likewise.
19152 * nss/nss_files/files-parse.c: Likewise.
19153 * posix/bug-regex5.c: Likewise.
19154 * posix/fnmatch_loop.c: Likewise.
19155 * posix/regcomp.c: Likewise.
19156 * posix/regexec.c: Likewise.
19157 * posix/tst-rfc3484-2.c: Likewise.
19158 * posix/tst-rfc3484-3.c: Likewise.
19159 * posix/tst-rfc3484.c: Likewise.
19160 * resolv/nss_dns/dns-canon.c: Likewise.
19161 * resolv/nss_dns/dns-network.c: Likewise.
19162 * resolv/res_init.c: Likewise.
19163 * resolv/res_mkquery.c: Likewise.
19164 * resolv/tst-aton.c: Likewise.
19165 * stdlib/cxa_atexit.c: Likewise.
19166 * stdlib/cxa_finalize.c: Likewise.
19167 * stdlib/gen-fpioconst.c: Likewise.
19168 * stdlib/strtol_l.c: Likewise.
19169 * string/tst-endian.c: Likewise.
19170 * sunrpc/auth_des.c: Likewise.
19171 * sunrpc/clnt_udp.c: Likewise.
19172 * sunrpc/rtime.c: Likewise.
19173 * sunrpc/svcauth_des.c: Likewise.
19174 * sunrpc/xdr.c: Likewise.
19175 * sunrpc/xdr_intXX_t.c: Likewise.
19176 * sunrpc/xdr_rec.c: Likewise.
19177 * sysdeps/generic/ldconfig.h: Likewise.
19178 * sysdeps/generic/ldsodefs.h: Likewise.
19179 * sysdeps/generic/memusage.h: Likewise.
19180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19190 * sysdeps/posix/getaddrinfo.c: Likewise.
19191 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19192 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19193 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19194 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19195 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19196 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19197 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19198 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19199 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19200 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19201 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19202 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19203 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19204 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19205 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19206 * sysdeps/x86_64/dl-tls.h: Likewise.
19207 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19208 * time/alt_digit.c: Likewise.
19209 * time/era.c: Likewise.
19210 * wcsmbs/tst-c16c32-1.c: Likewise.
19211
8c75f674
JM
192122013-05-16 Joseph Myers <joseph@codesourcery.com>
19213
19214 * math/libm-test.inc (struct test_sincos_data): New type.
19215 (RUN_TEST_LOOP_sincos): New macro.
19216 (sincos_test_data): New variable.
19217 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19218
e6e49e59
RH
192192013-05-16 Richard Henderson <rth@redhat.com>
19220
19221 * math/atest-exp2.c (LIMB64): New macro.
19222 (CONSTSZ): New macro.
19223 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19224 (hexdig): Move ...
19225 (print_mpn_fp): ... to function scope.
19226 (read_mpn_hex): Remove.
19227 (get_log2): Remove.
19228 (exp2_mpn): Use mp_log2.
19229 (main): Use mp_exp1.
19230
15c7c18d
JM
192312013-05-16 Joseph Myers <joseph@codesourcery.com>
19232
105a07df
JM
19233 * math/libm-test.inc: Remove comment about not testing "inexact"
19234 exceptions.
19235 (INEXACT_EXCEPTION): New macro.
19236 (NO_INEXACT_EXCEPTION): Likewise.
19237 (INVALID_EXCEPTION_OK): Update value.
19238 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19239 (OVERFLOW_EXCEPTION_OK): Likewise.
19240 (UNDERFLOW_EXCEPTION_OK): Likewise.
19241 (IGNORE_ZERO_INF_SIGN): Likewise.
19242 (ERRNO_UNCHANGED): Likewise.
19243 (ERRNO_EDOM): Likewise.
19244 (ERRNO_ERANGE): Likewise.
19245 (test_exceptions): Handle testing "inexact" exceptions.
19246 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19247 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19248 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19249 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19250 INEXACT_EXCEPTION.
19251 (rint_towardzero_test_data): Likewise.
19252 (rint_downward_test_data): Likewise.
19253 (rint_upward_test_data): Likewise.
19254
e9eee333
JM
19255 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19256 with OVERFLOW_EXCEPTION.
19257 (exp10_test_data): Likewise.
19258 (exp2_test_data): Likewise.
19259 (expm1_test_data): Likewise.
19260 (lgamma_test_data): Likewise.
19261 (pow_test_data): Likewise.
19262 (tgamma_test_data): Likewise.
19263 (yn_test_data): Remove duplicate test of overflow.
19264
1c38ff73
JM
19265 * math/libm-test.inc (struct test_cc_c_data): New type.
19266 (RUN_TEST_LOOP_cc_c): New macro.
19267 (cpow_test_data): New variable.
19268 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19269
15c7c18d
JM
19270 * math/libm-test.inc (struct test_f_L_data): New type.
19271 (RUN_TEST_LOOP_f_L): New macro.
19272 (llrint_test_data): New variable.
19273 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19274 (llrint_tonearest_test_data): New variable.
19275 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19276 (llrint_towardzero_test_data): New variable.
19277 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19278 (llrint_downward_test_data): New variable.
19279 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19280 (llrint_upward_test_data): New variable.
19281 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19282 (llround_test_data): New variable.
19283 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19284
f137ff13
PC
192852013-05-13 Peter Collingbourne <pcc@google.com>
19286
19287 * math/atest-exp2.c (get_log2): Remove const attribute.
19288
3608cb24
JM
192892013-05-15 Joseph Myers <joseph@codesourcery.com>
19290
19291 * math/libm-test.inc (struct test_f_l_data): New type.
19292 (RUN_TEST_LOOP_f_l): New macro.
19293 (lrint_test_data): New variable.
19294 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19295 (lrint_tonearest_test_data): New variable.
19296 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19297 (lrint_towardzero_test_data): New variable.
19298 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19299 (lrint_downward_test_data): New variable.
19300 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19301 (lrint_upward_test_data): New variable.
19302 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19303 (lround_test_data): New variable.
19304 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19305
39b1f617
PC
193062013-05-15 Peter Collingbourne <pcc@google.com>
19307
1deff3dc
PC
19308 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19309 (EXTRACT_WORDS64) Use where appropriate.
19310 (INSERT_WORDS64) Likewise.
19311
791f3ba0
PC
19312 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19313 constraints with x constraints.
19314 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19315
39b1f617
PC
19316 * malloc/obstack.c (_obstack_compat): Add initializer.
19317
12fba011
EM
193182013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19319
19320 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19321 si_trapno and add si_addr_lsb to _sifields.sigfault.
19322 (si_trapno): Remove macro.
19323 (si_addr_lsb): Define new macro.
19324 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19325
d369f531
JM
193262013-05-15 Joseph Myers <joseph@codesourcery.com>
19327
b861c6c4
JM
19328 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19329 instead of TEST_f_l.
19330 (llrint_test_tonearest): Likewise.
19331 (llrint_test_towardzero): Likewise.
19332 (llrint_test_downward): Likewise.
19333 (llrint_test_upward): Likewise.
19334 (llround_test): Likewise.
19335
7abeee12
JM
19336 * math/libm-test.inc (struct test_f_i_data): Add comment.
19337 (RUN_TEST_LOOP_f_b): New macro.
19338 (RUN_TEST_LOOP_f_b_tg): Likewise.
19339 (finite_test_data): New variable.
19340 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19341 (isfinite_test_data): New variable.
19342 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19343 (isinf_test_data): New variable.
19344 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19345 (isnan_test_data): New variable.
19346 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19347 (isnormal_test_data): New variable.
19348 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19349 (issignaling_test_data): New variable.
19350 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19351 (signbit_test_data): New variable.
19352 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19353
cbe8c4d3
JM
19354 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19355 with INVALID_EXCEPTION.
19356 (acosh_test_data): Likewise.
19357 (asin_test_data): Likewise.
19358 (atanh_test_data): Likewise.
19359 (fmod_test_data): Likewise.
19360 (log_test_data): Likewise.
19361 (log10_test_data): Likewise.
19362 (log2_test_data): Likewise.
19363 (pow_test_data): Likewise.
19364 (sqrt_test_data): Likewise.
19365 (y0_test_data): Likewise.
19366 (y1_test_data): Likewise.
19367 (yn_test_data): Likewise.
19368
5575c0e5
JM
19369 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19370 function contents.
19371
d369f531
JM
19372 * math/libm-test.inc (struct test_ff_i_data): New type.
19373 (RUN_TEST_LOOP_ff_i_tg): New macro.
19374 (isgreater_test_data): New variable.
19375 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19376 (isgreaterequal_test_data): New variable.
19377 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19378 (isless_test_data): New variable.
19379 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19380 (islessequal_test_data): New variable.
19381 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19382 (islessgreater_test_data): New variable.
19383 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19384 (isunordered_test_data): New variable.
19385 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19386
781fd748
DM
193872013-05-14 David S. Miller <davem@davemloft.net>
19388
19389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19390
87aa21df
JM
193912013-05-14 Joseph Myers <joseph@codesourcery.com>
19392
5e908270
JM
19393 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19394
f71172e5
JM
19395 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19396 extra_test to int.
19397 (struct test_f_i_data): Change type of max_ulp to int.
19398
8cfa635a
JM
19399 * math/libm-test.inc (test_ffI_f1_data): New type.
19400 (RUN_TEST_LOOP_ffI_f1): New macro.
19401 (remquo_test_data): New variable.
19402 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19403
2bcb36b2
JM
19404 * setjmp/tst-setjmp-fp.c: New file.
19405 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19406 (link-libm): New variable.
19407 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19408
acbd839a
JM
19409 * math/libm-test.inc (struct test_f_i_data): New type.
19410 (RUN_TEST_LOOP_f_i): New macro.
19411 (RUN_TEST_LOOP_f_i_tg): Likewise.
19412 (fpclassify_test_data): New variable.
19413 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19414 (ilogb_test_data): New variable.
19415 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19416
e414d745
JM
19417 * math/libm-test.inc (scalbln_test): Correct function name in END
19418 call.
19419
d9c2a0fd
JM
19420 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19421 (RUN_TEST_LOOP_fI_f1): New macro.
19422 (frexp_test_data): New variable.
19423 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19424
9dc9095d
JM
19425 * math/libm-test.inc (struct test_fF_f1_data): New type.
19426 (RUN_TEST_LOOP_fF_f1): New macro.
19427 (modf_test_data): New variable.
19428 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19429
87aa21df
JM
19430 * math/libm-test.inc (struct test_f_f1_data): New type.
19431 (RUN_TEST_LOOP_f_f1): New macro.
19432 (gamma_test_data): New variable.
19433 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19434 (lgamma_test_data): New variable.
19435 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19436
141af660
CD
194372013-05-13 Carlos O'Donell <carlos@redhat.com>
19438
19439 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19440 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19441 (main): Comment "tls" pseudo-hwcap.
19442
6d33265c
JM
194432013-05-13 Joseph Myers <joseph@codesourcery.com>
19444
68fc074c
JM
19445 * math/libm-test.inc (struct test_fl_f_data): New type.
19446 (RUN_TEST_LOOP_fl_f): New variable.
19447 (scalbln_test_data): New variable.
19448 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19449
243216e1
JM
19450 * math/libm-test.inc (struct test_fi_f_data): New type.
19451 (RUN_TEST_LOOP_fi_f): New macro.
19452 (ldexp_test_data): New variable.
19453 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19454 (scalbn_test_data): New variable.
19455 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19456
6a1992e2
JM
19457 * math/libm-test.inc (struct test_c_f_data): New type.
19458 (RUN_TEST_LOOP_c_f): New macro.
19459 (cabs_test_data): New variable.
19460 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19461 (carg_test_data): New variable.
19462 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19463 (cimag_test_data): New variable.
19464 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19465 (creal_test_data): New variable.
19466 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19467
0e400df5
JM
19468 * math/libm-test.inc (struct test_if_f_data): New type.
19469 (RUN_TEST_LOOP_if_f): New macro.
19470 (jn_test_data): New variable.
19471 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19472 (yn_test_data): New variable.
19473 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19474
6d33265c
JM
19475 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19476
f98ece5f
AZ
194772013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19478
19479 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19480 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19481
0f7d347b
SP
194822013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19483
43fe811b
SP
19484 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19485 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19486 (bench-deps): Add bench-timing.h.
19487 * benchtests-bench-skeleton.c: Include bench-timing.h.
19488 (main): Use TIMING_* macros instead of clock_gettime.
19489 * benchtests/bench-timing.h: New file.
19490
0f7d347b
SP
19491 [BZ #14582]
19492 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19493 Renamed from _LIB_VERSION.
19494 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19495
601a3a5f
JM
194962013-05-12 Joseph Myers <joseph@codesourcery.com>
19497
4f184d30
JM
19498 * math/libm-test.inc (struct test_fff_f_data): New type.
19499 (RUN_TEST_LOOP_fff_f): New macro.
19500 (fma_test_data): New variable.
19501 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19502 (fma_towardzero_test_data): New variable.
19503 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19504 (fma_downward_test_data): New variable.
19505 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19506 (fma_upward_test_data): New variable.
19507 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19508
08198877
JM
19509 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19510 (struct test_c_c_data): New type.
19511 (RUN_TEST_LOOP_c_c): New macro.
19512 (cacos_test_data): New variable.
19513 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19514 (cacosh_test_data): New variable.
19515 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19516 (casin_test_data): New variable.
19517 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19518 (casinh_test_data): New variable.
19519 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19520 (catan_test_data): New variable.
19521 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19522 (catanh_test_data): New variable.
19523 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19524 (ccos_test_data): New variable.
19525 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19526 (ccosh_test_data): New variable.
19527 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19528 (cexp_test_data): New variable.
19529 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19530 (clog_test_data): New variable.
19531 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19532 (clog10_test_data): New variable.
19533 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19534 (conj_test_data): New variable.
19535 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19536 (cproj_test_data): New variable.
19537 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19538 (csin_test_data): New variable.
19539 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19540 (csinh_test_data): New variable.
19541 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19542 (csqrt_test_data): New variable.
19543 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19544 (ctan_test_data): New variable.
19545 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19546 (ctan_tonearest_test_data): New variable.
19547 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19548 (ctan_towardzero_test_data): New variable.
19549 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19550 (ctan_downward_test_data): New variable.
19551 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19552 (ctan_upward_test_data): New variable.
19553 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19554 (ctanh_test_data): New variable.
19555 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19556 (ctanh_tonearest_test_data): New variable.
19557 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19558 (ctanh_towardzero_test_data): New variable.
19559 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19560 (ctanh_downward_test_data): New variable.
19561 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19562 (ctanh_upward_test_data): New variable.
19563 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19564 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19565 of BUILD_COMPLEX.
19566
601a3a5f
JM
19567 * math/libm-test.inc (struct test_ff_f_data): New type.
19568 (struct test_ff_f_data_nexttoward): Likewise.
19569 (RUN_TEST_LOOP_2_f): New macro.
19570 (RUN_TEST_LOOP_ff_f): Likewise.
19571 (atan2_test_data): New variable.
19572 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19573 (copysign_test_data): New variable.
19574 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19575 (fdim_test_data): New variable.
19576 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19577 (fmax_test_data): New variable.
19578 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19579 (fmin_test_data): New variable.
19580 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19581 (fmod_test_data): New variable.
19582 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19583 (hypot_test_data): New variable.
19584 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19585 (nextafter_test_data): New variable.
19586 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19587 (nexttoward_test_data): New variable.
19588 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19589 (pow_test_data): New variable.
19590 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19591 (pow_tonearest_test_data): New variable.
19592 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19593 (pow_towardzero_test_data): New variable.
19594 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19595 (pow_downward_test_data): New variable.
19596 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19597 (pow_upward_test_data): New variable.
19598 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19599 (remainder_test_data): New variable.
19600 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19601 (scalb_test_data): New variable.
19602 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19603 * sysdeps/i386/fpu/libm-test-ulps: Update.
19604
74c57478
JM
196052013-05-11 Joseph Myers <joseph@codesourcery.com>
19606
8329e4da
JM
19607 * math/libm-test.inc (fma_test): Use max_value instead of local
19608 variable fltmax.
19609 (nextafter_test): Likewise.
19610
74c57478
JM
19611 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19612 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19613 (acos_downward_test_data): New variable.
19614 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19615 (acos_upward_test_data): New variable.
19616 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19617 (acosh_test_data): New variable.
19618 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19619 (asin_test_data): New variable.
19620 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19621 (asin_tonearest_test_data): New variable.
19622 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19623 (asin_towardzero_test_data): New variable.
19624 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19625 (asin_downward_test_data): New variable.
19626 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19627 (asin_upward_test_data): New variable.
19628 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19629 (asinh_test_data): New variable.
19630 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19631 (atan_test_data): New variable.
19632 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19633 (atanh_test_data): New variable.
19634 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19635 (cbrt_test_data): New variable.
19636 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19637 (ceil_test_data): New variable.
19638 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19639 (cos_test_data): New variable.
19640 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19641 (cos_tonearest_test_data): New variable.
19642 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19643 (cos_towardzero_test_data): New variable.
19644 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19645 (cos_downward_test_data): New variable.
19646 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19647 (cos_upward_test_data): New variable.
19648 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19649 (cosh_test_data): New variable.
19650 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19651 (cosh_tonearest_test_data): New variable.
19652 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19653 (cosh_towardzero_test_data): New variable.
19654 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19655 (cosh_downward_test_data): New variable.
19656 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19657 (cosh_upward_test_data): New variable.
19658 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19659 (erf_test_data): New variable.
19660 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19661 (erfc_test_data): New variable.
19662 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19663 (exp_test_data): New variable.
19664 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19665 (exp_tonearest_test_data): New variable.
19666 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19667 (exp_towardzero_test_data): New variable.
19668 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19669 (exp_downward_test_data): New variable.
19670 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19671 (exp_upward_test_data): New variable.
19672 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19673 (exp10_test_data): New variable.
19674 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19675 (exp2_test_data): New variable.
19676 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19677 (expm1_test_data): New variable.
19678 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19679 (fabs_test_data): New variable.
19680 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19681 (floor_test_data): New variable.
19682 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19683 (j0_test_data): New variable.
19684 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19685 (j1_test_data): New variable.
19686 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19687 (log_test_data): New variable.
19688 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19689 (log10_test_data): New variable.
19690 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19691 (log1p_test_data): New variable.
19692 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19693 (log2_test_data): New variable.
19694 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19695 (logb_test_data): New variable.
19696 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19697 (logb_downward_test_data): New variable.
19698 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19699 (nearbyint_test_data): New variable.
19700 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19701 (rint_test_data): New variable.
19702 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19703 (rint_tonearest_test_data): New variable.
19704 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19705 (rint_towardzero_test_data): New variable.
19706 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19707 (rint_downward_test_data): New variable.
19708 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19709 (rint_upward_test_data): New variable.
19710 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19711 (round_test_data): New variable.
19712 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19713 (sin_test_data): New variable.
19714 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19715 (sin_tonearest_test_data): New variable.
19716 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19717 (sin_towardzero_test_data): New variable.
19718 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19719 (sin_downward_test_data): New variable.
19720 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19721 (sin_upward_test_data): New variable.
19722 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19723 (sinh_test_data): New variable.
19724 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19725 (sinh_tonearest_test_data): New variable.
19726 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19727 (sinh_towardzero_test_data): New variable.
19728 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19729 (sinh_downward_test_data): New variable.
19730 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19731 (sinh_upward_test_data): New variable.
19732 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19733 (sqrt_test_data): New variable.
19734 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19735 (tan_test_data): New variable.
19736 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19737 (tan_tonearest_test_data): New variable.
19738 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19739 (tan_towardzero_test_data): New variable.
19740 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19741 (tan_downward_test_data): New variable.
19742 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19743 (tan_upward_test_data): New variable.
19744 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19745 (tanh_test_data): New variable.
19746 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19747 (tgamma_test_data): New variable.
19748 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19749 (trunc_test_data): New variable.
19750 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19751 (y0_test_data): New variable.
19752 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19753 (y1_test_data): New variable.
19754 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19755 (significand_test_data): New variable.
19756 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19757
7187d844
CG
197582013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19759
19760 [BZ #12387]
19761 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19762
f63fae73
PT
197632013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19764
19765 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19766
8a67a4b3
AJ
197672013-05-10 Andreas Jaeger <aj@suse.de>
19768
19769 [BZ #15448]
19770 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19771 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19772
51df539d
JM
197732013-05-10 Joseph Myers <joseph@codesourcery.com>
19774
19775 * math/gen-libm-test.pl (adjust_arg): New function.
19776 (special_functions): Handle generating output in both functions
19777 and arrays.
19778 (parse_args): Likewise.
19779 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19780 $in_func argument to parse_args.
19781 * math/libm-test.inc (struct test_f_f_data): New type.
19782 (IF_ROUND_INIT_): New macro.
19783 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19784 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19785 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19786 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19787 (ROUND_RESTORE_): Likewise.
19788 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19789 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19790 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19791 (ROUND_RESTORE_FE_UPWARD): Likewise.
19792 (RUN_TEST_LOOP_f_f): New macro.
19793 (acos_test_data): New variable.
19794 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19795 (acos_tonearest_test_data): New variable.
19796 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19797
5c637fe5
SP
197982013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19799
19800 * benchtests/bench-skeleton.c (startup): Fix coding style.
19801
ab2b9461
JM
198022013-05-10 Joseph Myers <joseph@codesourcery.com>
19803
19804 [BZ #6809]
19805 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19806 negative infinity argument.
19807 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19808 negative infinity argument.
19809 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19810 negative infinity argument.
19811 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19812 domain errors.
19813
4c0fe6fe
FW
198142013-05-10 Florian Weimer <fweimer@redhat.com>
19815
19816 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19817 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19818 * iconv/iconv_prog.c (main): Likewise.
19819 * locale/programs/charmap-dir.c (charmap_readdir)
19820 (fopen_uncompressed): Likewise.
19821 * locale/programs/locfile.c (siblings_uncached)
19822 (write_locale_data): Use lstat64 instead of lstat.
19823 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19824 stat.
19825
a3375d29
AJ
198262013-05-10 Andreas Jaeger <aj@suse.de>
19827
19828 [BZ #15395]
19829 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19830 localization.
19831 Include <locale.h>.
19832
36129722
CD
198332013-05-09 Carlos O'Donell <carlos@redhat.com>
19834
19835 * elf/dl-close.c (_dl_close_worker): Add comments.
19836
faa7f811
JM
198372013-05-09 Joseph Myers <joseph@codesourcery.com>
19838
ed41ffef
JM
19839 [BZ #15359]
19840 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19841 high part of pi/2.
19842 (__ieee754_rem_pio2l): Update comments.
19843
d0213cd0
JM
19844 [BZ #15429]
19845 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19846 high part of pi/2.
19847 (__ieee754_rem_pio2l): Update comments.
19848
0d3e777a
JM
19849 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19850 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19851
24f56066
JM
19852 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19853 M_PI_4l.
19854
faa7f811
JM
19855 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19856 (M_PI_34_LOG10El): Likewise.
19857 (M_PI2_LOG10El): Likewise.
19858 (M_PI4_LOG10El): Likewise.
19859 (M_PI_LOG10El): Likewise.
19860
e9a5e0fd
AZ
198612013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19862
19863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19864
d8cd06db
JM
198652013-05-08 Joseph Myers <joseph@codesourcery.com>
19866
a0d9f9d7
JM
19867 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19868 (MINUS_ZERO_INIT): Likewise.
19869 (PLUS_INFTY_INIT): Likewise.
19870 (MINUS_INFTY_INIT): Likewise.
19871 (QNAN_VALUE_INIT): Likewise.
19872 (MAX_VALUE_INIT): Likewise.
19873 (MIN_VALUE_INIT): Likewise.
19874 (MIN_SUBNORM_VALUE_INIT): Likewise.
19875 (plus_zero): Initialize with PLUS_ZERO_INIT.
19876 (minus_zero): Initialize with MINUS_ZERO_INIT.
19877 (plus_infty): Initialize with PLUS_INFTY_INIT.
19878 (minus_infty): Initialize with MINUS_INFTY_INIT.
19879 (qnan_value): Initialize with QNAN_VALUE_INIT.
19880 (max_value): Initialize with MAX_VALUE_INIT.
19881 (min_value): Initialize with MIN_VALUE_INIT.
19882 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19883
ae08db3b
JM
19884 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19885 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19886 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19887 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19888
f44bf14a
JM
19889 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19890 (RUN_TEST_2_f): Likewise.
19891 (RUN_TEST_ff_f): Likewise.
19892 (RUN_TEST_fi_f): Likewise.
19893 (RUN_TEST_fl_f): Likewise.
19894 (RUN_TEST_fff_f): Likewise.
19895 (RUN_TEST_c_f): Likewise.
19896 (RUN_TEST_f_f1): Likewise.
19897 (RUN_TEST_fF_f1): Likewise.
19898 (RUN_TEST_fI_f1): Likewise.
19899 (RUN_TEST_ffI_f1): Likewise.
19900 (RUN_TEST_c_c): Likewise.
19901 (RUN_TEST_cc_c): Likewise.
19902 (RUN_TEST_f_i): Likewise.
19903 (RUN_TEST_f_i_tg): Likewise.
19904 (RUN_TEST_ff_i_tg): Likewise.
19905 (RUN_TEST_f_b): Likewise.
19906 (RUN_TEST_f_b_tg): Likewise.
19907 (RUN_TEST_f_l): Likewise.
19908 (RUN_TEST_f_L): Likewise.
19909 (RUN_TEST_sincos): Likewise.
19910 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19911 whether to show exceptions. Do not include ");\n" in return
19912 value.
19913 (special_functions): Output call to RUN_TEST_sincos instead of
19914 check_float calls. Update calls to new_test.
19915 (parse_args): Output call to single RUN_TEST_* macro instead of
19916 check_* calls and other assignments. Update calls to new_test.
19917
d8cd06db
JM
19918 [BZ #2546]
19919 [BZ #2560]
19920 [BZ #5159]
19921 [BZ #15426]
19922 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19923 input to result for tgamma overflow.
19924 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19925 (gamma_coeff): New variable.
19926 (NCOEFF): New macro.
19927 (gamma_positive): New function.
19928 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19929 underflow here. Use gamma_positive instead of exp (lgamma) for
19930 other arguments.
19931 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19932 (gamma_coeff): New variable.
19933 (NCOEFF): New macro.
19934 (gammaf_positive): New function.
19935 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19936 underflow here. Use gamma_positive instead of exp (lgamma) for
19937 other arguments.
19938 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19939 (gamma_coeff): New variable.
19940 (NCOEFF): New macro.
19941 (gammal_positive): New function.
19942 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19943 underflow here. Use gamma_positive instead of exp (lgamma) for
19944 other arguments.
19945 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19946 (gamma_coeff): New variable.
19947 (NCOEFF): New macro.
19948 (gammal_positive): New function.
19949 (__ieee754_gammal_r): Handle positive infinity, overflow and
19950 underflow here. Handle NaN the same as positive infinity. Remove
19951 check x < 0xffffffff for negative integers. Use gamma_positive
19952 instead of exp (lgamma) for other arguments.
19953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19954 (gamma_coeff): New variable.
19955 (NCOEFF): New macro.
19956 (gammal_positive): New function.
19957 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19958 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19959 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19960 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19961 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19962 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19963 * sysdeps/generic/math_private.h (__gamma_productf): New
19964 prototype.
19965 (__gamma_product): Likewise.
19966 (__gamma_productl): Likewise.
19967 * math/Makefile (libm-calls): Add gamma_product.
19968 * math/libm-test.inc (tgamma_test): Add more tests.
19969 * sysdeps/i386/fpu/libm-test-ulps: Update.
19970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19971
bb7cf681
OB
199722013-05-08 Ondřej Bílka <neleai@seznam.cz>
19973
19974 * benchtests/bench-skeleton.c (main): Preheat CPU.
19975
ba853947
AJ
199762013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19977
19978 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19979
8347c74c
RM
199802013-05-07 Roland McGrath <roland@hack.frob.com>
19981
19982 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19983 and _dl_skip_args_internal.
19984
e8dd4791
CD
199852013-05-07 Carlos O'Donell <carlos@redhat.com>
19986
19987 * manual/message.texi (Message Translation): Talk about users.
19988 Message to key mapping impacts design.
19989
c7405830
RM
199902013-05-06 Roland McGrath <roland@hack.frob.com>
19991
a9173057
RM
19992 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19993
976e2f03
RM
19994 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19995
9723ffc5
RM
19996 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19997 * sysdeps/wordsize-64/glob64.c: ... here.
19998
962e6658
RM
19999 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20000 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20001 New macros.
20002
ee586a6d
RM
20003 * debug/getlogin_r_chk.c: Moved to ...
20004 * login/getlogin_r_chk.c: ... here.
20005 * debug/Makefile (routines): Move getlogin_r_chk to ...
20006 * login/Makefile (routines): ... here.
20007 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20008 * login/Versions (libc: GLIBC_2.4): ... here.
20009
355f9165
RM
20010 * io/poll.c (__poll): Renamed from poll.
20011 Add libc_hidden_def.
20012 (poll): Define as weak alias.
20013
bd9ffde6
RM
20014 * debug/ptsname_r_chk.c: Moved to ...
20015 * login/ptsname_r_chk.c: ... here.
20016 * debug/Makefile (routines): Move ptsname_r_chk to ...
20017 * login/Makefile (routines): ... here.
20018 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20019 * login/Versions (libc: GLIBC_2.4): ... here.
20020
8fb16a04
RM
20021 * posix/getlogin.c: Moved to ...
20022 * login/getlogin.c: ... here.
20023 * posix/getlogin_r.c: Moved to ...
20024 * login/getlogin_r.c: ... here.
20025 * posix/getlogin_r.c: Moved to ...
20026 * login/getlogin_r.c: ... here.
20027 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20028 * login/Makefile (routines): ... here.
20029 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20030 * login/Versions (libc: GLIBC_2.0): ... here.
20031
b99b892f
RM
20032 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20033 (setrlimit): Define as weak alias.
20034
c7405830
RM
20035 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20036 Call __ names for open, ftruncate, and close.
20037 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20038 (truncate): Define as weak alias.
20039
5bf96de5
JM
200402013-05-06 Joseph Myers <joseph@codesourcery.com>
20041
9ea3513c
JM
20042 * math/gen-libm-test.pl (parse_args): Initialize x before each
20043 test of frexp, modf and remquo.
20044
5bf96de5
JM
20045 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20046 test signgam value.
20047
16e616a7
AZ
200482013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20049
20050 [BZ #15418]
20051 [BZ #15419]
20052 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20053 internal tests.
20054 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20055
d5e82754
RM
200562013-05-06 Roland McGrath <roland@hack.frob.com>
20057
20058 * elf/dl-writev.h: New file.
20059 * elf/dl-misc.c: Include it.
20060 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20061 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20062
a7548d41
JM
200632013-05-04 Joseph Myers <joseph@codesourcery.com>
20064
b7dab1e4
JM
20065 * math/libm-test.inc (noXFails): Remove variable.
20066 (noXPasses): Likewise.
20067 (BUILD_COMPLEX_INT): Remove macro.
20068 (print_screen): Remove xfail argument.
20069 (print_screen_max_error): Likewise.
20070 (update_stats): Likewise.
20071 (print_max_error): Likewise. Update calls to other affected
20072 functions.
20073 (print_complex_max_error): Likewise.
20074 (test_single_exception): Update calls to print_screen.
20075 (test_single_errno): Likewise.
20076 (check_float_internal): Remove xfail argument. Update calls to
20077 other affected functions.
20078 (check_float): Likewise.
20079 (check_complex): Likewise.
20080 (check_int): Likewise.
20081 (check_long): Likewise.
20082 (check_bool): Likewise.
20083 (check_longlong): Likewise.
20084 (main): Don't print noXFails and noXPasses.
20085 * math/gen-libm-test.pl (top level): Don't mention expected
20086 failure handling in comment.
20087 (new_test): Don't handle expected failures.
20088 (parse_args): Don't mention expected failure handling in comment.
20089 (generate_testfile): Don't handle expected failures.
20090 (parse_ulps): Likewise.
20091 (print_ulps_file): Likewise.
20092 (get_failure): Remove function.
20093 (output_test): Don't handle expected failures.
20094 * make/README.libm-test: Don't mention expected failure handling.
20095
a7548d41
JM
20096 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20097 (minus_zero): Likewise.
20098 (plus_infty): Likewise.
20099 (minus_infty): Likewise.
20100 (qnan_value): Likewise.
20101 (max_value): Likewise.
20102 (min_value): Likewise.
20103 (min_subnorm_value): Likewise.
20104 (initialize): Do not initialize those variables dynamically.
20105
60bfd54c
RM
201062013-05-03 Roland McGrath <roland@hack.frob.com>
20107
cc0e6ed8
RM
20108 * io/open.c (__open_2): Moved to ...
20109 * io/open_2.c: ... this new file.
20110 * io/open64.c (__open64_2): Moved to ...
20111 * io/open64_2.c: ... this new file.
20112 * io/openat.c (__openat_2): Moved to ...
20113 * io/openat_2.c: ... this new file.
20114 * io/openat64.c (__openat64_2): Moved to ...
20115 * io/openat64_2.c: ... this new file.
20116 * io/Makefile (routines): Add them.
20117 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20118 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20119 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20120 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20121 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20122 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20123 (__openat64): Add hidden_ver.
20124 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20125 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20126
60bfd54c
RM
20127 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20128 Separately conditionalize setting of GLRO(dl_sysinfo) so
20129 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20130 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20131
83e7640f
AZ
201322013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20133
20134 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20136 definition.
20137 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20138 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20139 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20140 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20141 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20142
d5dc2af3
JM
201432013-05-03 Joseph Myers <joseph@codesourcery.com>
20144
c31a5b1e
JM
20145 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20146 test signgam value.
20147
d5dc2af3
JM
20148 * math/libm-test.inc (hypot_test): Do not use
20149 IGNORE_ZERO_INF_SIGN.
20150
164fd39d
AJ
201512013-05-03 Andreas Jaeger <aj@suse.de>
20152
20153 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20154 Linux 3.9.
20155 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20156 (PF_MAX): Adjust for VSOCK change.
20157
8237f48c
AZ
201582013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20159
20160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20161
9df02941
CD
201622013-05-02 Carlos O'Donell <carlos@redhat.com>
20163
20164 [BZ #15264]
20165 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20166 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20167 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20168
d422395e
DM
201692013-05-02 David S. Miller <davem@davemloft.net>
20170
20171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20172
a07c5731
OB
201732013-05-01 Ondřej Bílka <neleai@seznam.cz>
20174
20175 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20176
1324e37f
RM
201772013-05-01 Roland McGrath <roland@hack.frob.com>
20178
20179 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20180
0695940b
RS
201812013-05-01 Richard Smith <richard@metafoo.co.uk>
20182
bb5f27ad 20183 [BZ #14952]
0695940b
RS
20184 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20185 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20186 Use __attribute__ ((__gnu_inline__)).
20187 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20188 Don't use __attribute__ ((__gnu_inline__)).
20189
10de07f5
JM
201902013-05-01 Joseph Myers <joseph@codesourcery.com>
20191
20192 [BZ #15423]
20193 * math/s_catan.c (__catan): Handle small real or imaginary part of
20194 input specially to avoid spurious underflow.
20195 * math/s_catanf.c (__catanf): Likewise.
20196 * math/s_catanh.c (__catanh): Likewise.
20197 * math/s_catanhf.c (__catanhf): Likewise.
20198 * math/s_catanhl.c (__catanhl): Likewise.
20199 * math/s_catanl.c (__catanl): Likewise.
20200 * math/libm-test.inc (catan_test): Add more tests.
20201 (catanh_test): Likewise.
20202 * sysdeps/i386/fpu/libm-test-ulps: Update.
20203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20204
cb4d5414
AZ
202052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20206
20207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20208
caf84319
JM
202092013-04-30 Joseph Myers <joseph@codesourcery.com>
20210
20211 [BZ #15416]
20212 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20213 accurately for denominator in atan2.
20214 * math/s_catanf.c (__catanf): Likewise.
20215 * math/s_catanh.c (__catanh): Likewise.
20216 * math/s_catanhf.c (__catanhf): Likewise.
20217 * math/s_catanhl.c (__catanhl): Likewise.
20218 * math/s_catanl.c (__catanl): Likewise.
20219 * math/libm-test.inc (catan_test): Add more tests.
20220 (catanh_test): Likewise.
20221 * sysdeps/i386/fpu/libm-test-ulps: Update.
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20223
d569c6ee
SP
202242013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20225
6dbe713d
SP
20226 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20227
f0ee064b
SP
20228 * benchtests/Makefile (bench): Remove slow benchmarks.
20229 * benchtests/atan-inputs: Add slow benchmark inputs.
20230 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20231 (BENCH_FUNC): Accept variant offset.
20232 (VARIANT): Define.
20233 * benchtests/bench-skeleton.c (main): Run benchmark for each
20234 variant.
20235 * benchtests/cos-inputs: Add slow benchmark inputs.
20236 * benchtests/exp-inputs: Likewise.
20237 * benchtests/pow-inputs: Likewise.
20238 * benchtests/sin-inputs: Likewise.
20239 * benchtests/slowatan-inputs: Remove.
20240 * benchtests/slowatan.c: Remove.
20241 * benchtests/slowcos-inputs: Remove.
20242 * benchtests/slowcos.c: Remove.
20243 * benchtests/slowexp-inputs: Remove.
20244 * benchtests/slowexp.c: Remove.
20245 * benchtests/slowpow-inputs: Remove.
20246 * benchtests/slowpow.c: Remove.
20247 * benchtests/slowsin-inputs: Remove.
20248 * benchtests/slowsin.c: Remove.
20249 * benchtests/slowtan-inputs: Remove.
20250 * benchtests/slowtan.c: Remove.
20251 * benchtests/tan-inputs: Add slow benchmark inputs.
20252 * scripts/bench.pl: Parse comments and directives.
20253
d569c6ee
SP
20254 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20255 in CPPFLAGS.
20256 ($(objpfx)bench-%.c): Remove *-ITER.
20257 * benchtests/bench-modf.c: Remove definition of ITER.
20258 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20259 (main): Loop for DURATION seconds instead of fixed number of
20260 iterations.
20261 * scripts/bench.pl: Don't expect iterations in parameters.
20262
a6a242fe
RM
202632013-04-29 Roland McGrath <roland@hack.frob.com>
20264
20265 * io/fchdir.c (__fchdir): Renamed from fchdir.
20266 (fchdir): Define as weak alias.
20267
f2da7793
JM
202682013-04-29 Joseph Myers <joseph@codesourcery.com>
20269
20270 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20271 (ERRNO_EDOM): Likewise.
20272 (ERRNO_ERANGE): Likewise.
20273 (noErrnoTests): New variable.
20274 (init_max_error): Set errno to 0.
20275 (test_single_errno): New function.
20276 (test_errno): Likewise.
20277 (check_float_internal): Call test_errno. Set errno to 0.
20278 (check_complex): Refer to errno tests in comment.
20279 (check_int): Call test_errno. Set errno to 0.
20280 (check_long): Likewise.
20281 (check_bool): Likewise.
20282 (check_longlong): Likewise.
20283 (cos_test): Use ERRNO_* flags for errno tests instead of
20284 check_int.
20285 (expm1_test): Likewise.
20286 (fmod_test): Likewise.
20287 (ilogb_test): Likewise.
20288 (lgamma_test): Likewise.
20289 (pow_test): Likewise.
20290 (remainder_test): Likewise.
20291 (sin_test): Likewise.
20292 (tan_test): Likewise.
20293 (yn_test): Likewise.
20294 (initialize): Set errno to 0.
20295 (main): Print number of errno tests.
20296 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20297
b1a36ceb
AJ
202982013-04-29 Andreas Jaeger <aj@suse.de>
20299
c3ed8088
AJ
20300 [BZ #15084]
20301 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20302 and RES_USEVC.
20303
f1a24198
AJ
20304 [BZ #15085]
20305 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20306 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20307 unimplemented.
20308
9ce3b2cb
AJ
20309 [BZ #15380]
20310 * stdlib/random.c (__initstate): Return NULL if
20311 __initstate fails.
20312
f1a24198 20313 [BZ #15086]
b1a36ceb
AJ
20314 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20315 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20316 RES_SNGLKUPREOP.
20317
7e7b6f36
AZ
203182013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20319
20320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20321
4d14f449
JM
203222013-04-29 Joseph Myers <joseph@codesourcery.com>
20323
20324 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20325 of individual tests.
20326 (casin_test): Likewise.
20327 (casinh_test): Likewise.
20328
5b4217d7
JM
203292013-04-27 Joseph Myers <joseph@codesourcery.com>
20330
20331 [BZ #15409]
20332 * math/s_catan.c (__catan): Handle arguments with large real or
20333 imaginary part separately without squaring.
20334 * math/s_catanf.c (__catanf): Likewise.
20335 * math/s_catanh.c (__catanh): Likewise.
20336 * math/s_catanhf.c (__catanhf): Likewise.
20337 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20338 and redefine.
20339 (__catanhl): Handle arguments with large real or imaginary part
20340 separately without squaring.
20341 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20342 and redefine.
20343 (__catanl): Handle arguments with large real or imaginary part
20344 separately without squaring.
20345 * math/libm-test.inc (catan_test): Add more tests.
20346 (catanh_test): Likewise.
20347 * sysdeps/i386/fpu/libm-test-ulps: Update.
20348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20349
4220c3ef
AJ
203502013-04-27 Andreas Jaeger <aj@suse.de>
20351
20352 [BZ #15007]
20353 * stdlib/stdlib.h: Update guards for qecvt.
20354 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20355 <stdlib.h>.
20356
4721b2d1
AM
203572013-04-27 Allan McRae <allan@archlinux.org>
20358
20359 * sysdeps/i386/fpu/libm-test-ulps: Update.
20360
f0302940
JM
203612013-04-26 Joseph Myers <joseph@codesourcery.com>
20362
9457fd95
JM
20363 [BZ #15406]
20364 * math/s_catan.c: Include <float.h>.
20365 (__catan): Ensure underflow exception occurs for underflowed
20366 result.
20367 * math/s_catanf.c: Include <float.h>.
20368 (__catanf): Ensure underflow exception occurs for underflowed
20369 result.
20370 * math/s_catanh.c: Include <float.h>.
20371 (__catanh): Ensure underflow exception occurs for underflowed
20372 result.
20373 * math/s_catanhf.c: Include <float.h>.
20374 (__catanhf): Ensure underflow exception occurs for underflowed
20375 result.
20376 * math/s_catanhl.c: Include <float.h>.
20377 (__catanhl): Ensure underflow exception occurs for underflowed
20378 result.
20379 * math/s_catanl.c: Include <float.h>.
20380 (__catanl): Ensure underflow exception occurs for underflowed
20381 result.
20382 * math/libm-test.inc (catan_test): Add more tests.
20383 (catanh_test): Likewise.
20384
f0302940
JM
20385 [BZ #15405]
20386 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20387 underflowed result.
20388 * math/s_ccoshf.c (__ccoshf): Likewise.
20389 * math/s_ccoshl.c (__ccoshl): Likewise.
20390 * math/s_csin.c (__csin): Likewise.
20391 * math/s_csinf.c (__csinf): Likewise.
20392 * math/s_csinh.c (__csinh): Likewise.
20393 * math/s_csinhf.c (__csinhf): Likewise.
20394 * math/s_csinhl.c (__csinhl): Likewise.
20395 * math/s_csinl.c (__csinl): Likewise.
20396 * math/libm-test.inc (ccos_test): Add more tests.
20397 (ccosh_test): Likewise.
20398 (csin_test): Likewise.
20399 (csinh_test): Likewise.
20400
aa630f59
AZ
204012013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20402
20403 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20404 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20405 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20406 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20407 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20408 powerpc/power5+/fpu folders.
20409 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20410
20411
1b835983
MT
204122013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20413
20414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20415
73709b26
JM
204162013-04-25 Joseph Myers <joseph@codesourcery.com>
20417
20418 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20419 additions to variable.
20420 [$(config-machine) = x86_64] (modules-names): Likewise.
20421 ($(objpfx)tst-audit3): Remove dependency.
20422 ($(objpfx)tst-audit3.out): Likewise.
20423 ($(objpfx)tst-audit4): Likewise.
20424 ($(objpfx)tst-audit4.out): Likewise.
20425 ($(objpfx)tst-audit5): Likewise.
20426 ($(objpfx)tst-audit5.out): Likewise.
20427 ($(objpfx)tst-audit6): Likewise.
20428 ($(objpfx)tst-audit6.out): Likewise.
20429 ($(objpfx)tst-audit7): Likewise.
20430 ($(objpfx)tst-audit7.out): Likewise.
20431 (tst-audit3-ENV): Remove variable.
20432 (tst-audit4-ENV): Likewise.
20433 (tst-audit5-ENV): Likewise.
20434 (tst-audit6-ENV): Likewise.
20435 (tst-audit7-ENV): Likewise.
20436 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20437 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20438 addition to variable.
20439 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20440 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20441 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20442 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20443 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20444 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20445 tst-audit3, tst-audit4 and tst-audit5.
20446 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20447 tst-audit6 and tst-audit7.
20448 [$(subdir) = elf] (modules-names): Add audit modules for those
20449 tests.
20450 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20451 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20452 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20453 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20454 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20455 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20456 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20457 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20458 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20459 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20460 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20461 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20462 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20463 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20464 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20465 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20466 Likewise.
20467 [$(subdir) = elf && $(config-cflags-avx) = yes]
20468 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20469 [$(subdir) = elf && $(config-cflags-avx) = yes]
20470 (CFLAGS-tst-auditmod4a.c): Likewise.
20471 [$(subdir) = elf && $(config-cflags-avx) = yes]
20472 (CFLAGS-tst-auditmod4b.c): Likewise.
20473 [$(subdir) = elf && $(config-cflags-avx) = yes]
20474 (CFLAGS-tst-auditmod6b.c): Likewise.
20475 [$(subdir) = elf && $(config-cflags-avx) = yes]
20476 (CFLAGS-tst-auditmod6c.c): Likewise.
20477 [$(subdir) = elf && $(config-cflags-avx) = yes]
20478 (CFLAGS-tst-auditmod7b.c): Likewise.
20479 * elf/tst-audit3.c: Move to ...
20480 * sysdeps/x86_64/tst-audit3.c: ... here.
20481 * elf/tst-audit4.c: Move to ...
20482 * sysdeps/x86_64/tst-audit4.c: ... here.
20483 * elf/tst-audit5.c: Move to ...
20484 * sysdeps/x86_64/tst-audit5.c: ... here.
20485 * elf/tst-audit6.c: Move to ...
20486 * sysdeps/x86_64/tst-audit6.c: ... here.
20487 * elf/tst-audit7.c: Move to ...
20488 * sysdeps/x86_64/tst-audit7.c: ... here.
20489 * elf/tst-auditmod3a.c: Move to ...
20490 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20491 * elf/tst-auditmod3b.c: Move to ...
20492 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20493 * elf/tst-auditmod4a.c: Move to ...
20494 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20495 * elf/tst-auditmod4b.c: Move to ...
20496 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20497 * elf/tst-auditmod5a.c: Move to ...
20498 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20499 * elf/tst-auditmod5b.c: Move to ...
20500 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20501 * elf/tst-auditmod6a.c: Move to ...
20502 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20503 * elf/tst-auditmod6b.c: Move to ...
20504 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20505 * elf/tst-auditmod6c.c: Move to ...
20506 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20507 * elf/tst-auditmod7a.c: Move to ...
20508 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20509 * elf/tst-auditmod7b.c: Move to ...
20510 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20511
1ef74943
PP
205122013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20513
20514 [BZ #15366]
20515 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20516 define unconditionally.
20517 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20518 define unconditionally.
20519 (INT8_C, INT16_C, etc.): Likewise.
20520
93fd48c5
MR
205212013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20522
ae9552cf
MR
20523 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20524 __ehdr_start with hidden visibility.
20525
93fd48c5
MR
20526 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20527
418601aa
CD
205282013-04-24 Carlos O'Donell <carlos@redhat.com>
20529
20530 * math/libm-test.inc (cos_test): Use accurate hex constants.
20531 (sincost_test): Likewise.
20532
2f38fbfe
JM
205332013-04-24 Joseph Myers <joseph@codesourcery.com>
20534
5e221800
JM
20535 * math/libm-test.inc (catan_test): Add more tests.
20536 (catanh_test): Likewise.
20537
77f143fd
JM
20538 * math/s_catanf.c (__catanf): Use suffixed floating-point
20539 constants.
20540 * math/s_catanhf.c (__catanhf): Likewise.
20541 * math/s_catanhl.c (__catanhl): Likewise.
20542 * math/s_catanl.c (__catanl): Likewise.
20543
2f38fbfe
JM
20544 [BZ #15394]
20545 * math/s_catan.c (__catan): Calculate imaginary part of result
20546 with log1p not log unless computing log of number close to 0.
20547 * math/s_catanf.c (__catanf): Likewise.
20548 * math/s_catanl.c (__catanl): Likewise.
20549 * math/s_catanh.c (__catanh): Calculate real part of result with
20550 log1p not log unless computing log of number close to 0.
20551 * math/s_catanhf.c (__catanhf): Likewise.
20552 * math/s_catanhl.c (__catanhl): Likewise.
20553 * math/libm-test.inc (catan_test): Add more tests.
20554 (catanh_test): Likewise.
20555 * sysdeps/i386/fpu/libm-test-ulps: Update.
20556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20557
45d69176
SP
205582013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20559
20560 * benchtests/Makefile: Mention files in which fast and slow
20561 paths of math functions are implemented.
20562
87f51853
RM
205632013-04-23 Roland McGrath <roland@hack.frob.com>
20564
20565 * sysdeps/posix/timespec_get.c: New file.
20566
3c026539
AZ
205672013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20568
20569 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20570 POWER.
20571 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20572 for POWER.
20573 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20574 powerpc/power5/fpu folders.
20575 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20576 * benchtests/Makefile: Add modf testcase.
20577 * benchtests/bench-modf.c: New file: Benchmark test for mo
20578
ff491d14
SP
205792013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20580
20581 [BZ #14888]
20582 * time/Makefile (tests): Add tst-strptime-whitespace.
20583 * time/strptime_l.c (get_number): Use ISSPACE.
20584 (__strptime_internal): Likewise.
20585 * time/tst-strptime-whitespace.c: New test case.
20586
7ed3f4e8
AS
205872013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20588
20589 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20590 member.
20591 (_nss_files_init): Set it here.
20592
5c95f7b6
HC
205932013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20594
20595 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20596 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20597 unsigned.
20598
d34c9158
JBG
205992013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20600
20601 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20602
2169712d
SP
206032013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20604
20605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20606 size just once.
20607
29c5de99
DM
206082013-04-21 David S. Miller <davem@davemloft.net>
20609
20610 * po/ru.po: Update Russion translation from translation project.
20611
ccdad15d
AC
206122013-04-17 Adam Conrad <adconrad@0c3.net>
20613
20614 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20615 and setfsgid.
20616
0f122b8d
CD
206172013-04-17 Carlos O'Donell <carlos@redhat.com>
20618
5c5b07da 20619 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20620 * configure: Regenerate.
5c5b07da 20621 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20622 Add example to error message.
20623 * sysdeps/i386/configure: Regenerate.
20624
037714dd
SP
206252013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20626
20627 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20628 slowtan.
20629 * benchtests/cos-inputs: New file.
20630 * benchtests/slowcos-inputs: New file.
20631 * benchtests/slowcos.c: New file.
20632 * benchtests/slowtan-inputs: New file.
20633 * benchtests/slowtan.c: New file.
20634 * benchtests/tan-inputs: New file.
20635
e913141d
RM
206362013-04-16 Roland McGrath <roland@hack.frob.com>
20637
20638 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20639 considered kosher.
20640
a2964074
SP
206412013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20642
4856bcd2
SP
20643 * benchtests/Makefile: Include cppflags-iterator.mk to add
20644 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20645
a2964074
SP
20646 * Makefile.in (bench-clean): New target.
20647 * benchtests/Makefile (bench-clean): Likewise.
20648
9fbf9aca
DH
206492013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20650
20651 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20652
207d1e2a
TS
206532013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20654
20655 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20656
306dfba9
AS
206572013-04-15 Andreas Schwab <schwab@suse.de>
20658
20659 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20661 * nscd/pwdcache.c (cache_addpw): Likewise.
20662 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20663 more than recsize.
20664
206a6699
SP
206652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20666
20667 * benchtests/Makefile (bench): Write all output to
20668 bench-out.tmp together.
20669
0582f6b3
AS
206702013-04-15 Andreas Schwab <schwab@suse.de>
20671
20672 * nscd/nscd.c (main): Don't fork again after closing files.
20673
acb4325f
SP
206742013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20675
5cb26d0a
SP
20676 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20677
acb4325f
SP
20678 * benchtests/Rules (bench-deps): Collect dependencies into a
20679 single variable. Add Makefile to dependencies.
20680 ($(objpfx)bench-%.c): Depend on bench-deps.
20681
47792506
RM
206822013-04-12 Roland McGrath <roland@hack.frob.com>
20683 Xavier Roche <roche+kml2@exalead.com>
20684
20685 [BZ #15361]
20686 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20687 just that it's a file descriptor.
20688 * manual/llio.texi (Synchronizing AIO Operations): Update description
20689 for EBADF error from aio_fsync.
20690
8fc1bee5
SP
206912013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20692
20693 * Rules (bench): Move target definition...
20694 * benchtests/Makefile: ... here.
20695
aba5e333
CD
206962013-04-11 Carlos O'Donell <carlos@redhat.com>
20697
20698 * math/libm-test.inc (cos_test): Fix PI/2 test.
20699 (sincos_test): Likewise.
20700 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20701 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20702
273cdee8
AS
207032013-04-11 Andreas Schwab <schwab@suse.de>
20704
6ecec3b6
AS
20705 [BZ #13988]
20706 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20707 accept exponent character only when digits were seen.
20708 * stdio-common/Makefile (tests): Add bug26.
20709 * stdio-common/bug26.c: New file.
20710
273cdee8
AS
20711 [BZ #14293]
20712 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20713 non-freeable.
20714
8da491f5
SP
207152013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20716
01dc6df9
SP
20717 * Makeconfig (rtld-prefix): Define built linker prefix.
20718 * Rules (run-bench): Use it.
20719 * math/Makefile (run-regen-ulps): Likewise.
20720
8da491f5
SP
20721 * Rules (bench): Remove eval.
20722
abe7f530
SP
207232013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20724 Roland McGrath <roland@hack.frob.com>
20725 Ondrej Bilka <neleai@seznam.cz>
20726
20727 [BZ #15346]
20728 * time/getdate.c: Include ctype.h and alloca.h.
20729 (__getdate_r): Trim leading and trailing spaces of input.
20730 * time/tst-getdate.c (tests): Add tests with leading and
20731 trailing spaces.
20732
61c23e62
RM
207332013-04-08 Roland McGrath <roland@hack.frob.com>
20734
20735 [BZ #14280]
20736 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20737 when computing value.
20738
7208a313
CD
207392013-04-06 Carlos O'Donell <carlos@redhat.com>
20740
085b2d41
CD
20741 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20742 Use testrun.sh to run libm tests.
20743
7208a313
CD
20744 [BZ #15309]
20745 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20746
872c0acd
MM
207472013-04-06 Marko Myllynen <myllynen@redhat.com>
20748
20749 [BZ #15264]
20750 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20751
26510bdd
CD
207522013-04-06 Carlos O'Donell <carlos@redhat.com>
20753
20754 * Makefile.in (regen-ulps): New target.
20755 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20756 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20757 [ifneq (no,$(PERL)] (regen-ulps): New target.
20758 [ifeq (no,$(PERL)] (regen-ulps): New target.
20759 * math/libm-test.inc (ulps_file_name): Define.
20760 (output_dir): New variable.
20761 (options): Add "output-dir" option.
20762 (parse_opt): Handle 'o' case.
20763 (main): If output_dir is non-NULL use it as a prefix
20764 otherwise use "".
20765 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20766
a01f19c8
CD
207672013-04-06 Carlos O'Donell <carlos@redhat.com>
20768
20769 [BZ #10060, #10062]
20770 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20771 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20772 fail configure if __sync_val_compare_and_swap is not inlined.
20773 * sysdeps/i386/configure: Regenerate.
20774 * configure.in: Build for i686 when configured for i386.
20775 * configure: Regenerate.
20776 * README: Remove i386 reference.
20777
b7a329a5
CD
207782013-04-06 Carlos O'Donell <carlos@redhat.com>
20779
20780 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20781 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20782
bf0f50df
TS
207832013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20784
ee091edf
TS
20785 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20786 (lmsnanval): New variables.
20787 (F): Add conversion tests.
20788 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20789 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20790
a8b792d6
TS
20791 * stdio-common/tstdiomisc.c (F): Properly collect individual
20792 tests' results.
20793
a1cbf437
TS
20794 [BZ #14686, #15336]
20795 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20796 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20797 Instead, use input NaN values or generate a qNaN by arithmetic
20798 operation. Also fix bugs to comply with the standard.
20799 * math/libm-test.inc (remainder_test): Add more tests.
20800
8b43a0c9
TS
20801 [BZ #15335, #15342]
20802 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20804 input NaN values or generate a qNaN by arithmetic operation.
20805
d91da4ce
TS
20806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20807 unreachable code.
20808
bf0f50df
TS
20809 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20810 definitions.
20811
05e166c8
JM
208122013-04-03 Joseph Myers <joseph@codesourcery.com>
20813
20814 [BZ #14478]
20815 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20816 underflowed result.
20817 * math/s_cexpf.c (__cexpf): Likewise.
20818 * math/s_cexpl.c (__cexpl): Likewise.
20819 * math/libm-test.inc (cexp_test): Add more tests.
20820
1cef1b19
AS
208212013-04-03 Andreas Schwab <schwab@suse.de>
20822
20823 [BZ #15330]
20824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20825 order arrays from heap if bigger than alloca cutoff.
20826
74d87055
TS
208272013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20828
20829 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20830 (SNAN_TESTS_double): Refer to GCC PR56831.
20831 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20832 GCC PR56828.
20833
d755bba4
SP
208342013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20835
90d5d5bb
SP
20836 * Rules (bench): Move bench.out after the run is complete.
20837
73e0cd5d
SP
20838 * Rules (bench): Echo currently running benchmark.
20839
64aabd4b
SP
20840 * benchtests/Makefile (bench): Add atan and slowatan.
20841 * benchtests/atan-inputs: New file.
20842 * benchtests/slowatan-inputs: New file.
20843 * benchtests/slowatan.c: New file.
20844
c871eccd
SP
20845 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20846 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20847 its value.
20848
d755bba4
SP
20849 [BZ #15305]
20850 * sysdeps/unix/sysv/linux/kernel-features.h
20851 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20852 __ASSUME_XFS_RESTRICTED_CHOWN.
20853 * sysdeps/unix/sysv/linux/pathconf.c
20854 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20855 Save and restore errno.
20856
52ce4860
JM
208572013-04-02 Joseph Myers <joseph@codesourcery.com>
20858
20859 [BZ #15327]
20860 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20861 arguments using __kernel_casinh.
20862 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20863 arguments using __kernel_casinhf.
20864 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20865 arguments using __kernel_casinhl.
20866 * math/libm-test.inc (cacosh_test): Add more tests.
20867 * sysdeps/i386/fpu/libm-test-ulps: Update.
20868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20869
81f311c2
SP
208702013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20871
e7906a47
SP
20872 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20874
92e3664b
SP
20875 * bench/Makefile (bench): Add sin and slowsin.
20876 * benchtests/sin-inputs: New file.
20877 * benchtests/slowsin-inputs: New file.
20878 * benchtests/slowsin.c: New file.
20879
81f311c2
SP
20880 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20881 (bench): Add slowexp and slowpow.
20882 (exp-ITER): Increase iterations.
20883 (pow-ITER): Likewise.
20884 * benchtests/exp-inputs: Change input.
20885 * benchtests/pow-inputs: Likewise.
20886 * benchtests/slowexp-inputs: New file.
20887 * benchtests/slowexp.c: New file.
20888 * benchtests/slowpow-inputs: New file.
20889 * benchtests/slowpow.c: New file.
20890
ab0f1aa9
AZ
208912013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20892
20893 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20894 instructions.
20895 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20896 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20897 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20898 * benchtests/Makefile: Add rint benchtest.
20899 * benchtests/rint-inputs: Input for rint benchtest.
20900
57267616
TS
209012013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20902
20903 * Versions.def (libm): Add GLIBC_2.18.
20904 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20905 hidden libm prototypes.
20906 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20907 * math/Makefile (libm-calls): Add s_issignaling.
20908 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20909 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20910 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20911 declaration.
20912 * math/math.h [__USE_GNU] (issignaling): New macro.
20913 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20914 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20915 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20916 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20919 * manual/arith.texi (issignaling): New section.
20920 * manual/libm-err-tab.pl (@all_functions): Update comment.
20921 * math/gen-libm-test.pl (parse_args): Apply special handling for
20922 issignaling.
20923 * math/libm-test.inc (print_float, issignaling_test): New
20924 functions.
20925 (check_float_internal): Add issignaling checks.
20926 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20927 default definition.
20928 * sysdeps/powerpc/math-tests.h: New file.
20929 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20930 tests.
20931 * math/test-snan.c (TEST_FUNC): Likewise.
20932
6142896d
DM
209332013-03-30 David S. Miller <davem@davemloft.net>
20934
20935 * po/de.po: Update from translation team.
20936
ccc8cadf
JM
209372013-03-30 Joseph Myers <joseph@codesourcery.com>
20938
20939 [BZ #10357]
20940 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20941 imaginary part less than 1.0 and real part less than 0.5
20942 specially.
20943 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20944 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20945 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20946 (cacos_test): Add more tests.
20947 (casin_test): Likewise.
20948 (casinh_test): Likewise.
20949 * sysdeps/i386/fpu/libm-test-ulps: Update.
20950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20951
0f6a8d4b
SP
209522013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20953
0d1029de
SP
20954 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20955 ONE with its value.
20956
c2d94018
SP
20957 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20958 (__pow_mp): Replace ONE and MONE with their values.
20959 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20960 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20962 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20963 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20964 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20965
27ec37f1
SP
20966 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20967
a64d7e0e
SP
20968 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20969 (__pow_mp): Replace ZERO and MZERO with their values.
20970 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20972 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20974 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20975 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20976 (__sqr): Likewise.
20977
d26dd3eb
SP
20978 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20979
0f6a8d4b
SP
20980 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20981
e57b0c61
RM
209822013-03-28 Roland McGrath <roland@hack.frob.com>
20983
20984 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20985 Declare with __attribute__ ((weak)).
20986 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20987 Call __call_tls_dtors only if it's not NULL.
20988
356b3480
RM
209892013-03-28 Roland McGrath <roland@hack.frob.com>
20990
288f7d79
RM
20991 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20992 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20993 magic __ehdr_start linker symbol if it's defined.
20994 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20995 them up here if it was already done.
20996
dc0a0263
RM
20997 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20998 (_dl_aux_init): Use const in cast when setting it.
20999 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21000 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21001 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21002
3d3436ae
RM
21003 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21004 Declare them here.
21005 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21006 * csu/libc-tls.c: Nor here.
21007 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21008
356b3480
RM
21009 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21010 (__libc_message): Never call vsyslog.
21011
b0f1246a
AM
210122013-03-28 Alan Modra <amodra@gmail.com>
21013
21014 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21015 Define as empty.
21016 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21017 Likewise.
21018
fbbe2b9a
AZ
210192013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21020
21021 [BZ #15214]
21022 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21023 underflow.
21024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21025
1728ab37
SP
210262013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21027
7a86be6e
SP
21028 [BZ #15304]
21029 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21030 Don't add gid passed as argument.
21031
1728ab37
SP
21032 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21033
3a7182a1
JM
210342013-03-27 Joseph Myers <joseph@codesourcery.com>
21035
21036 [BZ #15307]
21037 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21038 imaginary part between 1.0 and 1.5 and real part less than 0.5
21039 specially.
21040 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21041 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21042 * math/libm-test.inc (cacos_test): Add more tests.
21043 (casin_test): Likewise.
21044 (casinh_test): Likewise.
21045 * sysdeps/i386/fpu/libm-test-ulps: Update.
21046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21047
6f2e90e7
SP
210482013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
5739f705
SP
21050 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21051 constants.
21052 (norm): Likewise.
21053 (denorm): Likewise.
21054 (__dbl_mp): Likewise.
21055 (add_magnitudes): Likewise.
21056 (sub_magnitudes): Likewise.
21057 (__add): Likewise.
21058 (__sub): Likewise.
21059 (__mul): Likewise.
21060 (__sqr): Likewise.
21061 (__inv): Likewise.
21062 (__dvd): Likewise.
21063
e375e83d
SP
21064 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21065 commented code.
21066 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21067 (__dubcos): Likewise.
21068 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21069 (__ieee754_acos): Likewise.
21070 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21071 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21072 (__exp1): Likewise.
21073 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21075 (log1): Likewise.
21076 (my_log2): Likewise.
21077 (checkint): Likewise.
21078 * sysdeps/ieee754/dbl-64/e_remainder.c
21079 (__ieee754_remainder): Likewise.
21080 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21082 (bsloww): Likewise.
21083 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21084
6f2e90e7
SP
21085 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21086 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21087 MANTISSA_STORE_T to store computations on mantissa. Use
21088 macros for rounding and division.
21089 (denorm): Likewise.
21090 (__dbl_mp): Likewise.
21091 (add_magnitudes): Likewise.
21092 (sub_magnitudes): Likewise.
21093 (__mul): Likewise.
21094 (__sqr): Likewise.
21095 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21096 powers of two in terms of TWOPOW macro.
21097 (mp_no): Make type of mantissa as MANTISSA_T.
21098 [!RADIXI]: Define RADIXI.
21099 [!TWO52]: Define TWO52.
21100 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21101
fce14d4e
AZ
211022013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21103
21104 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21105 llroundl symbol when building for PPC32.
21106
9ad027fb
MW
211072013-03-24 Mark H Weaver <mhw@netris.org>
21108
21109 * manual/arith.texi (Normalization Functions): Fix prototypes for
21110 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21111
e42a38dd
AZ
211122013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21113
21114 [BZ #13889]
21115 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21116 high value to check if expl overflow.
21117 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21118 to check for underflow and overflow.
21119 * math/libm-test.inc: Add exp test.
21120
2e0fb521
DL
211212013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21122
21123 [BZ #11120]
21124 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21125 with NOT_IN_libc.
21126
b5784d95
AZ
211272013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21128
21129 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21130 symbol.
21131
5aa4a1a1
TS
211322013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21133
bdef0be7
TS
21134 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21135 wrap blocks consisting of several statements.
21136
5aa4a1a1
TS
21137 * sysdeps/generic/math-tests.h: New file.
21138 * sysdeps/i386/fpu/math-tests.h: Likewise.
21139 * math/test-snan.c: Include it.
21140 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21141
98c48fe5
JM
211422013-03-21 Joseph Myers <joseph@codesourcery.com>
21143
21144 [BZ #15285]
21145 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21146 (__ieee754_j0l): Do not improve calculations using cos of twice
21147 input for inputs above LDBL_MAX / 2.0L.
21148 (__ieee754_y0l): Likewise.
21149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21150 (__ieee754_j1l): Do not improve calculations using cos of twice
21151 input for inputs above LDBL_MAX / 2.0L.
21152 (__ieee754_y1l): Likewise.
21153 * math/libm-test.inc (j0_test): Add another test.
21154 (j1_test): Likewise.
21155 (y0_test): Likewise.
21156 (y1_test): Likewise.
21157 * sysdeps/i386/fpu/libm-test-ulps: Update.
21158
3775a8bc
SP
211592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21160
21161 * Rules ($(objpfx)bench-%.c): Include code from a C source
21162 file.
21163
0a1b2ae6
JM
211642013-03-21 Joseph Myers <joseph@codesourcery.com>
21165
21166 [BZ #15287]
21167 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21168 imaginary part 1.0 and real part less than 0.5 specially.
21169 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21170 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21171 * math/libm-test.inc (cacos_test): Add more tests.
21172 (casin_test): Likewise.
21173 (casinh_test): Likewise.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21176
b33d4ce4
SP
211772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21178
21179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21180 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21181
bef0b507
JM
211822013-03-20 Joseph Myers <joseph@codesourcery.com>
21183
21184 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21185 * config.make.in (config-cflags-sse4): Remove variable.
21186 (config-cflags-avx): Likewise.
21187 (config-cflags-sse2avx): Likewise.
21188 (config-cflags-novzeroupper): Likewise.
21189 (config-asflags-i686): Likewise.
21190 (have-mfma4): Likewise.
21191 (have-as-vis3): Likewise.
21192 (MIG): Likewise.
21193 * configure.in (MIG): Do not AC_SUBST.
21194 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21195 (libc_cv_cc_sse4): Do not AC_SUBST.
21196 (libc_cv_cc_avx): Likewise.
21197 (libc_cv_cc_sse2avx): Likewise.
21198 (libc_cv_cc_novzeroupper): Likewise.
21199 (libc_cv_cc_fma4): Likewise.
21200 (libc_cv_as_i686): Likewise.
21201 (libc_cv_sparc_as_vis3): Likewise.
21202 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21203 LIBC_CONFIG_VAR.
21204 (config-asflags-i686): Likewise.
21205 (config-cflags-avx): Likewise.
21206 (config-cflags-sse2avx): Likewise.
21207 (have-mfma4): Likewise.
21208 (config-cflags-novzeroupper): Likewise.
21209 * sysdeps/mach/configure.in (MIG): Likewise.
21210 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21211 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21212 LIBC_CONFIG_VAR.
21213 (config-cflags-avx): Likewise.
21214 (config-cflags-sse2avx): Likewise.
21215 (have-mfma4): Likewise.
21216 (config-cflags-novzeroupper): Likewise.
21217 * configure: Regenerated.
21218 * sysdeps/i386/configure: Likewise.
21219 * sysdeps/mach/configure: Likewise.
21220 * sysdeps/sparc/configure: Likewise.
21221 * sysdeps/x86_64/configure: Likewise.
21222
912cc4b3
RM
212232013-03-20 Roland McGrath <roland@hack.frob.com>
21224
21225 [BZ #14812]
21226 * locale/programs/localedef.c (options): Put N_ translation marker
21227 on argument names, not just descriptions.
21228
04eed2b0
MS
212292013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21230
21231 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21232
a065ceff
OB
212332013-03-20 Ondřej Bílka <neleai@seznam.cz>
21234
9bb2a810 21235 [BZ #14176]
a065ceff
OB
21236 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21237
a600e5ce
RM
212382013-03-19 Roland McGrath <roland@hack.frob.com>
21239
21240 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21241 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21242 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21243 [!BEFORE_ABORT] (before_abort): New function.
21244 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21245 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21246 (writev_for_fatal): New function.
21247 (WRITEV_FOR_FATAL): New macro; call that.
21248 (backtrace_and_maps): New function.
21249 (BEFORE_ABORT): New macro; call that.
21250 (struct str_list): Type removed.
21251 (__libc_message, __libc_fatal): Functions removed.
21252 Include <sysdeps/posix/libc_fatal.c> instead.
21253
6b18bea6
JM
212542013-03-19 Joseph Myers <joseph@codesourcery.com>
21255
21256 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21257 constants.
21258 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21259 double constants.
21260
aaa8cb4b
AS
212612013-03-19 Andreas Schwab <schwab@suse.de>
21262
44673770
AS
21263 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21264 * sysdeps/gnu/configure: Regenerate.
21265
aaa8cb4b
AS
21266 * configure.in: Substitute libc_cv_rtlddir.
21267 * configure: Regenerate.
21268 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21269 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21270 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21271 * elf/Makefile (install-others, CFLAGS-interp.c)
21272 (ldso_install, common-ldd-rewrite): Likewise.
21273 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21274 $(inst_slibdir)/$(rtld-installed-name).
21275 * scripts/rellns-sh: Add -p option.
21276 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21277 for source.
21278
d3cfc668
SP
212792013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21280
21281 * manual/nptl.texi: Renamed to ...
21282 * manual/threads.texi: ... this.
21283 * manual/Makefile (chapters): Update.
21284
0e2b9cdd
RM
212852013-03-18 Roland McGrath <roland@hack.frob.com>
21286
21287 [BZ #14812]
21288 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21289 on argument names, not just descriptions.
0e2b9cdd
RM
21290 * malloc/memusagestat.c (options): Likewise.
21291 * nss/getent.c (options): Likewise.
63270c24
RM
21292
212932013-03-18 Benno Schulenberg <bensberg@justemail.net>
21294
21295 [BZ #14812]
21296 * iconv/iconv_prog.c (options): Put N_ translation marker
21297 on argument names, not just descriptions.
21298 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21299
b2e1393c
OB
213002013-03-18 Ondrej Bilka <neleai@seznam.cz>
21301
21302 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21303 implementation which is faster on all x86_64 architectures.
21304 Tested on AMD, Intel Nehalem, SNB, IVB.
21305 * sysdeps/x86_64/strnlen.S: Likewise.
21306
21307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21308 Remove all multiarch strlen and strnlen versions.
21309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21310 Remove strlen and strnlen related parts.
21311
21312 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21313 Inline strlen part.
21314 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21315
21316 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21317 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21318 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21319 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21320 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21321 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21322
ec4ff04d
CD
213232013-03-17 Carlos O'Donell <carlos@redhat.com>
21324
21325 * manual/memory.texi (Malloc Tunable Parameters):
21326 Sort parameters alphabetically. Add comments for missing entries.
21327
cd18e90a
DM
213282013-03-17 David S. Miller <davem@davemloft.net>
21329
21330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21331
2a185d32
JM
213322013-03-16 Joseph Myers <joseph@codesourcery.com>
21333
d2f9799e
JM
21334 [BZ #15283]
21335 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21336 for arguments at most half maximum finite value.
21337 * math/libm-test.inc (j0_test): Add more tests.
21338 (j1_test): Likewise.
21339 (y0_test): Likewise.
21340 (y1_test): Likewise.
21341 * sysdeps/i386/fpu/libm-test-ulps: Update.
21342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21343
2a185d32
JM
21344 [BZ #14155]
21345 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21346 1 / x and functions P and Q for arguments above 0x1p256L.
21347 (__ieee754_y0l): Likewise.
21348 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21349 (__ieee754_y1l): Likewise.
21350 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21351 (j1_test): Likewise.
21352 (y0_test): Likewise.
21353 (y1_test): Likewise.
21354
6cbec759
TS
213552013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21356
21357 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21358 variable.
21359
bc16e260
RM
213602013-03-15 Roland McGrath <roland@hack.frob.com>
21361
aefc9b8c
RM
21362 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21363 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21364 zero since it's initialized to EXEC_PAGESIZE.
21365
bc16e260
RM
21366 * sysdeps/unix/sysv/linux/ldsodefs.h
21367 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21368 * sysdeps/generic/ldsodefs.h: ... here.
21369
a57da955
TS
213702013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21371
af00a34d
TS
21372 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21373
495ded2c
TS
21374 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21375 math/test-snan.c.
21376 * math/test-snan.c: Renamed from
21377 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21378 * math/Makefile (tests): Add test-snan.
21379 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21380 test-powerpc-snan.
21381
777b0332
TS
21382 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21383 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21384 functions.
21385 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21386 __builtin_nan family of functions.
21387 * math/libm-test.inc (initialize): Initialize qnan_value with
21388 __builtin_nan family of functions.
21389 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21390 Remove variables.
21391 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21392 Remove functions.
21393 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21394 storage class. Initialize qNaN_var and sNaN_var with
21395 __builtin_nan and __builtin_nans families of functions,
21396 respectively.
21397
64d063b8
TS
21398 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21399 (sqrt_test): Remove duplicate test with qNaN input.
21400 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21401 (round_test, signbit_test, significand_test): Note missing +/-Inf
21402 as well as qNaN tests.
21403
67e971f1
TS
21404 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21405 qNaN_var. Fix a few strings, too.
21406 * math/libm-test.inc (nan_value): Rename to qnan_value.
21407 * math/gen-libm-test.pl (%beautify): Adjust to that.
21408 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21409 * math/test-misc.c (main): Likewise.
21410 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21411 to __qnan_bytes, and __qnan_union, respectively.
21412 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21413 Likewise.
21414 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21415 and lqnanval, respectively.
21416 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21417 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21418 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21419 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21420
64487e12
TS
21421 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21422 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21423 doubles.
21424
e015e27b
TS
21425 * math/test-misc.c (main): Fix copy'n'pastos.
21426 * misc/tst-efgcvt.c (special): Likewise.
21427
a57da955
TS
21428 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21429 Remove declarations.
21430
1e380345
SP
214312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21432
21433 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21434 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21435 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21436 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21437
ef26eece
AZ
214382013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21439
21440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21441 macro to return vdso values correctly in IFUNC implementations.
21442 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21443 Optimization by using IFUNC.
21444
8cfdb7e0
SP
214452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21446 Richard Henderson <rth@redhat.com>
21447 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21448
21449 * Makefile.in (bench): New target.
21450 * NEWS: Mention the benchmark framework.
21451 * Rules (bench): Likewise.
21452 (binaries-bench): Generate binaries for functions to
21453 benchmark.
21454 * benchtests/Makefile: New makefile for benchmark tests.
21455 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21456 programs.
21457 * benchtests/exp-inputs: New input file for EXP function.
21458 * benchtests/pow-inputs: New input file for POW function.
21459 * scripts/bench.pl: New script to generate source files for
21460 benchmark programs.
21461
bcda9880
SP
214622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21463
d22ca8cd
SP
21464 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21466 computations on mantissa. Use macros for rounding and
21467 division.
21468 (denorm): Likewise.
21469 (__dbl_mp): Likewise.
21470 (add_magnitudes): Likewise.
21471 (sub_magnitudes): Likewise.
21472 (__mul): Likewise.
21473 (__sqr): Likewise.
21474 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21475 powers of two in terms of TWOPOW macro.
21476 (mp_no): Make type of mantissa as MANTISSA_T.
21477 [!RADIXI]: Define RADIXI.
21478 [!TWO52]: Define TWO52.
21479 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21480
bcda9880
SP
21481 * manual/nptl.texi (cindex): Modify threads to pthreads.
21482
06d5adfb
JM
214832013-03-15 Joseph Myers <joseph@codesourcery.com>
21484
21485 * sysdeps/x86_64/preconfigure: Regenerated.
21486
41c7328e
JM
214872013-03-14 Joseph Myers <joseph@codesourcery.com>
21488
21489 [BZ #14155]
21490 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21491 0x1p28 and above.
21492 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21493 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21494 0x1p28 and above.
21495 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21496 * math/libm-test.inc (j0_test): Do not allow one spurious
21497 underflow exception.
21498 (y1_test): Likewise.
21499
e25cfa60
SP
215002013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21501
0409959c
SP
21502 * manual/Makefile (chapters): Add nptl.
21503 * manual/debug.texi (Debugging Support): Add link to Threads
21504 chapter.
21505 * manual/nptl.texi: New file.
21506
e25cfa60
SP
21507 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21508
58a1335e
PB
215092013-03-14 Petr Baudis <pasky@ucw.cz>
21510
21511 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21512 for non-NULL pointer before the memory validity test. Pointed
21513 out by Holger Brunck <holger.brunck@keymile.com>.
21514
9dc7c64f
AS
215152013-03-13 Andreas Schwab <schwab@suse.de>
21516
21517 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21518 instead of .os.
21519
54206aa6
JM
215202013-03-13 Joseph Myers <joseph@codesourcery.com>
21521
21522 * timezone/zic.c: Update from tzcode 2013b.
21523
e98cdb38
CD
215242013-03-12 Carlos O'Donell <carlos@redhat.com>
21525
21526 * manual/install.texi (Configuring and compiling):
21527 Mention i686 and i586.
21528 * INSTALL: Regenerate.
21529
9967e003
RM
215302013-03-12 Roland McGrath <roland@hack.frob.com>
21531
21532 * sysdeps/init_array/elf-init.c: New file.
21533 * csu/elf-init.c
21534 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21535 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21536
21537 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21538 __gmon_start__ as global, but as static with a .preinit_array pointer.
21539 * sysdeps/init_array/gmon-start.c: New file. Use that.
21540 * sysdeps/init_array/crti.S: New file, empty except for comments.
21541 * sysdeps/init_array/crtn.S: Likewise.
21542
e6b5a293 215432013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21544
21545 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21546 definining bcopy.
80f844c9
OB
21547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21548 Remove Prefer_SSE_for_memop.
21549 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21550 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21551 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21553 memset-x86-64.
80f844c9 21554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21555 Remove bzero, memset ifunc support.
80f844c9
OB
21556 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21557 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21558 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21559 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21560
fb6b0fcb
AS
215612013-03-11 Andreas Schwab <schwab@suse.de>
21562
21563 [BZ #15234]
21564 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21565 by SHLIB_COMPAT.
21566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21567 (GLIBC_2.16): Remove pthread_atfork.
21568
3e6bd4b1
PP
215692013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21570
21571 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21572 (ptestcases.h): Likewise.
21573
222d7f00
RM
215742013-03-08 Roland McGrath <roland@hack.frob.com>
21575
21576 * Makeconfig ($(common-objpfx)config.status): Depend on
21577 sysdeps/*/preconfigure{,.in} too.
21578
1ba4f030
JM
215792013-03-08 Joseph Myers <joseph@codesourcery.com>
21580
a222d91a
JM
21581 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21582 (__free_hook): Use void * instead of __malloc_ptr_t.
21583 (__malloc_hook): Likewise.
21584 (__realloc_hook): Likewise.
21585 (__memalign_hook): Likewise.
21586 (__after_morecore_hook): Likewise.
21587 * malloc/arena.c (save_malloc_hook): Likewise.
21588 (save_free_hook): Likewise.
21589 * malloc/hooks.c (malloc_hook_ini): Likewise.
21590 (realloc_hook_ini): Likewise.
21591 (memalign_hook_ini): Likewise.
21592 * malloc/malloc.c (malloc_hook_ini): Likewise.
21593 (realloc_hook_ini): Likewise.
21594 (memalign_hook_ini): Likewise.
21595 (__free_hook): Likewise.
21596 (__malloc_hook): Likewise.
21597 (__realloc_hook): Likewise.
21598 (__memalign_hook): Likewise.
21599 (__libc_malloc): Likewise.
21600 (__libc_free): Likewise.
21601 (__libc_realloc): Likewise.
21602 (__libc_memalign): Likewise.
21603 (__libc_valloc): Likewise.
21604 (__libc_pvalloc): Likewise.
21605 (__libc_calloc): Likewise.
21606 (__posix_memalign): Likewise.
21607 * malloc/morecore.c (__sbrk): Likewise.
21608 (__default_morecore): Likewise.
21609
5cc45e10
JM
21610 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21611
dd54b864
JM
21612 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21613 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21614 __malloc_ptrdiff_t.
21615
1ba4f030
JM
21616 * malloc/malloc.h (__malloc_size_t): Remove macro.
21617 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21618 __malloc_size_t.
21619 (old_memalign_hook): Likewise.
21620 (old_realloc_hook): Likewise.
21621 (struct hdr): Likewise.
21622 (flood): Likewise.
21623 (mallochook): Likewise.
21624 (memalignhook): Likewise.
21625 (reallochook): Likewise.
21626 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21627 (tr_old_realloc_hook): Likewise.
21628 (tr_old_memalign_hook): Likewise.
21629 (tr_mallochook): Likewise.
21630 (tr_reallochook): Likewise.
21631 (tr_memalignhook): Likewise.
21632
edf66e57
AZ
216332013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21634
21635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21636 default_ldbl_pack and using as default implementation.
21637 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21638 implementation.
21639 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21640 redundant definition.
21641 (ldbl_insert_mantissa): Likewise.
21642 (ldbl_canonicalize): Likewise.
21643 (ldbl_nearbyint): Likewise.
21644 (ldbl_pack): Rename to ldbl_pack_ppc.
21645 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21646 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21647 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21648
6d9145d8
SP
216492013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21650
21651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21652 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21653 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21654 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21656 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21657 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21658 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21659
4dd4e157
AJ
216602013-03-07 Andreas Jaeger <aj@suse.de>
21661
21662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21663 bits/mman-linux.h.
21664
adbb8027
SP
216652013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21666
ce544b5b
SP
21667 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21668 Include mpa.h and declare __MPEXP.
21669 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21670 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21671 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21672 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21673 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21674 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21675 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21676
4cc149fd
SP
21677 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21678 (__slowpow): Use long double EXPL and LOGL functions to
21679 compute POW.
21680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21681 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21682 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21684 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21685 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21686
e6ebd4a7
SP
21687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21688 intermediate variable to calculate exponent.
21689 (__sqr): Likewise.
21690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21691 Likewise.
21692 (__sqr): Likewise.
21693
82a9811d
SP
21694 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21695 [!NO__SQR]: Define __sqr.
21696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21697 and NO__SQR. Remove all code except __mul and __sqr. Include
21698 sysdeps/ieee754/dbl-64/mpa.c.
21699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21700
adbb8027
SP
21701 [BZ #12723]
21702 * posix/Makefile (tests): Add tst-pathconf.
21703 * posix/tst-pathconf.c: New test case.
21704 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21705 _PC_PIPE_BUF.
21706 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21707
39120df9
PF
217082013-03-06 Patsy Franklin <pfrankli@redhat.com>
21709
21710 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21711
67525cb8
AJ
217122013-03-06 Andreas Jaeger <aj@suse.de>
21713
664a9ce4
AJ
21714 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21715 definition via __MAP_ANONYMOUS.
21716
8e39047d
AJ
21717 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21718 it's not part of Linux headers.
21719
67525cb8
AJ
21720 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21721 (MAP_HUGE_MASK): Define.
21722
21723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21724 Define.
21725 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21727 Define.
21728 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21729 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21730 Define.
21731 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21733 Define.
21734 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21735
21736 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21737 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21738 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21739 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21740 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21741 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21742
21743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21744 Handle f2fs.
21745
21746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21747 Handle f2fs and efivarfs.
21748
21749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21750 f2fs.
21751
21752 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21753 (EFIVARFS_MAGIC): Add.
21754 (F2FS_LINK_MAX): Add.
21755
e1b42695
PP
217562013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21757
21758 * stdio-common/vfprintf.c: Replace __builtin_expect with
21759 __glibc_unlikely.
21760
2d67d91a
JM
217612013-03-06 Joseph Myers <joseph@codesourcery.com>
21762
21763 [BZ #13550]
21764 * sysdeps/generic/bp-sym.h: Remove file.
21765 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21766 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21767 <bp-sym.h> and <bp-asm.h>.
21768 (__longjmp): Don't use BP_SYM.
21769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21770 and <bp-asm.h>.
21771 (memcpy): Don't use BP_SYM.
21772 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21773 <bp-sym.h> and <bp-asm.h>.
21774 (memcpy): Don't use BP_SYM.
21775 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21776 <bp-asm.h>.
21777 (memcpy): Don't use BP_SYM.
21778 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21779 <bp-asm.h>.
21780 (memset): Don't use BP_SYM.
21781 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21782 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21783 (__bzero): Don't use BP_SYM.
21784 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21785 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21786 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21787 <bp-sym.h> and <bp-asm.h>.
21788 (memcmp): Don't use BP_SYM. Remove comment about bounded
21789 pointers.
21790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21791 <bp-sym.h> and <bp-asm.h>.
21792 (memcpy): Don't use BP_SYM.
21793 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21794 <bp-sym.h> and <bp-asm.h>.
21795 (memset): Don't use BP_SYM.
21796 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21797 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21798 (__bzero): Don't use BP_SYM.
21799 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21800 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21801 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21802 <bp-sym.h> and <bp-asm.h>.
21803 (strncmp): Don't use BP_SYM. Remove comment about bounded
21804 pointers.
21805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21806 <bp-sym.h> and <bp-asm.h>.
21807 (memcpy): Don't use BP_SYM.
21808 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21809 <bp-sym.h> and <bp-asm.h>.
21810 (memset): Don't use BP_SYM.
21811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21813 (__bzero): Don't use BP_SYM.
21814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21817 <bp-sym.h> and <bp-asm.h>.
21818 (__memchr): Don't use BP_SYM.
21819 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21820 <bp-sym.h> and <bp-asm.h>.
21821 (memcmp): Don't use BP_SYM. Remove comment about bounded
21822 pointers.
21823 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21824 <bp-sym.h> and <bp-asm.h>.
21825 (memcpy): Don't use BP_SYM.
21826 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21827 <bp-sym.h> and <bp-asm.h>.
21828 (__mempcpy): Don't use BP_SYM.
21829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21830 <bp-sym.h> and <bp-asm.h>.
21831 (__memrchr): Don't use BP_SYM.
21832 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21833 <bp-sym.h> and <bp-asm.h>.
21834 (memset): Don't use BP_SYM.
21835 (__bzero): Likewise.
21836 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21837 <bp-sym.h> and <bp-asm.h>.
21838 (__rawmemchr): Don't use BP_SYM.
21839 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21840 <bp-sym.h> and <bp-asm.h>.
21841 (__STRCMP): Don't use BP_SYM.
21842 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21843 <bp-sym.h> and <bp-asm.h>.
21844 (strchr): Don't use BP_SYM.
21845 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21846 <bp-sym.h> and <bp-asm.h>.
21847 (__strchrnul): Don't use BP_SYM.
21848 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21849 <bp-sym.h> and <bp-asm.h>.
21850 (strlen): Don't use BP_SYM.
21851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21852 <bp-sym.h> and <bp-asm.h>.
21853 (strncmp): Don't use BP_SYM. Remove comment about bounded
21854 pointers.
21855 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21856 <bp-sym.h> and <bp-asm.h>.
21857 (__strnlen): Don't use BP_SYM.
21858 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21859 <bp-sym.h> and <bp-asm.h>.
21860 (__GI__setjmp): Don't use BP_SYM.
21861 (_setjmp): Likewise.
21862 (__sigsetjmp): Likewise.
21863 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21864 (L(start_addresses)): Don't use BP_SYM.
21865 (_start): Likewise.
21866 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21867 <bp-asm.h>.
21868 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21869 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21870 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21871 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21872 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21873 <bp-asm.h>.
21874 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21875 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21876 about bounded pointers.
21877 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21878 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21879 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21880 <bp-asm.h>.
21881 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21882 about bounded pointers. Remove GKM FIXME comments.
21883 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21884 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21885 <bp-asm.h>.
21886 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21887 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21888 Remove GKM FIXME comments.
21889 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21890 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21891 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21892 <bp-asm.h>.
21893 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21894 about bounded pointers. Remove GKM FIXME comment.
21895 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21896 and <bp-asm.h>.
21897 (strncmp): Don't use BP_SYM. Remove comment about bounded
21898 pointers.
21899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21900 <bp-sym.h> and <bp-asm.h>.
21901 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21903 <bp-sym.h> and <bp-asm.h>.
21904 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21905 comment.
21906
cdcf361f
PP
219072013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21908
21909 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21910 call free(NULL).
21911
3c4a2b15
DM
219122013-03-05 David S. Miller <davem@davemloft.net>
21913
21914 * po/es.po: Update from translation team.
21915
cdcf361f 219162013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21917
21918 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21919 <bits/mman-linux.h>.
21920 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21921 is fine.
21922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21923 <bits/mman-linux.h> to end of file.
21924 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21925 is fine.
21926 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21927 <bits/mman-linux.h> to end of file.
21928 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21929 is fine.
21930 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21931 <bits/mman-linux.h> to end of file.
21932
21933 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21934 (MCL_CURRENT, MCL_FUTURE): Define here.
21935
5f67c04f
AK
219362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21937
8a4473cc 21938 [BZ #15232]
5f67c04f
AK
21939 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21940 attribute_hidden.
21941 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21942
c3e94a95
AK
219432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21944
21945 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21946 fourth parameter needed for rt_sigprocmask syscall.
21947 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21948 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21949 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21950 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21951 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21952 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21953
cfb6382a
JM
219542013-03-04 Joseph Myers <joseph@codesourcery.com>
21955
21956 [BZ #13550]
21957 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21958 comment about bounded pointers.
21959 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21960 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21961
539d8e01
AJ
219622013-03-04 Andreas Jaeger <aj@suse.de>
21963
21964 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21965 common definitions.
21966
21967 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21968 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21969 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21973
2e167a70 219742013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21975
21976 [BZ #15055]
21977 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21978 __ieee754_sqrl instead of __sqrl.
21979
68508633
JM
219802013-03-01 Joseph Myers <joseph@codesourcery.com>
21981
21982 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21983 * sysdeps/powerpc/fpu_control.h: ... here.
21984 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21985 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21986 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21987 * sysdeps/powerpc/bits/mathinline.h: ... here.
21988
7775448e
RM
219892013-03-01 Roland McGrath <roland@hack.frob.com>
21990
21991 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21992 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21993 to just [NEED_DL_SYSINFO_DSO].
21994 * elf/dl-support.c: Likewise.
21995 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21996 * elf/rtld.c (dl_main): Likewise.
21997 * elf/setup-vdso.h (setup_vdso): Likewise.
21998 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21999 * sysdeps/unix/sysv/linux/dl-sysdep.c
22000 (_dl_discover_osversion): Likewise.
22001
4e9b5995
CD
220022013-03-01 Carlos O'Donell <carlos@redhat.com>
22003
22004 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22005 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22006
e23872c8
SP
220072013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22008
e5c74c63
SP
22009 * NEWS: Mention libm performance improvements and non-x86 PI
22010 futex support.
22011
e23872c8
SP
22012 * csu/libc-start.c (__pthread_initialize_minimal): Change
22013 function arguments.
22014 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22015
b5510883
JM
220162013-02-28 Joseph Myers <joseph@codesourcery.com>
22017
22018 [BZ #13550]
22019 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22020 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22021 <bp-sym.h> and <bp-asm.h>.
22022 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22023 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22024 and <bp-asm.h>.
22025 (memcpy): Don't use BP_SYM.
22026 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22027 <bp-asm.h>.
22028 (__mpn_add_n): Don't use BP_SYM.
22029 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22030 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22031 and <bp-asm.h>.
22032 (__mpn_addmul_1): Don't use BP_SYM.
22033 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22035 <bp-sym.h>.
22036 (_setjmp): Don't use BP_SYM.
22037 (__novmx_setjmp): Likewise.
22038 (__GI__setjmp): Likewise.
22039 (__vmx_setjmp): Likewise.
22040 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22041 <bp-sym.h>.
22042 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22043 (__bzero): Don't use BP_SYM.
22044 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22045 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22046 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22047 <bp-sym.h> and <bp-asm.h>.
22048 (memcpy): Don't use BP_SYM.
22049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22050 <bp-sym.h> and <bp-asm.h>.
22051 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22052 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22053 <bp-sym.h> and <bp-asm.h>.
22054 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22055 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22056 <bp-asm.h>.
22057 (__mpn_lshift): Don't use BP_SYM.
22058 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22059 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22060 <bp-asm.h>.
22061 (memset): Don't use BP_SYM.
22062 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22063 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22064 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22065 <bp-asm.h>.
22066 (__mpn_mul_1): Don't use BP_SYM.
22067 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22069 <bp-sym.h> and <bp-asm.h>.
22070 (memcmp): Don't use BP_SYM.
22071 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22072 <bp-sym.h> and <bp-asm.h>.
22073 (memcpy): Don't use BP_SYM.
22074 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22075 <bp-sym.h> and <bp-asm.h>.
22076 (memset): Don't use BP_SYM.
22077 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22078 <bp-sym.h> and <bp-asm.h>.
22079 (strncmp): Don't use BP_SYM.
22080 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22081 <bp-sym.h> and <bp-asm.h>.
22082 (memcpy): Don't use BP_SYM.
22083 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22084 <bp-sym.h> and <bp-asm.h>.
22085 (memset): Don't use BP_SYM.
22086 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22087 <bp-sym.h> and <bp-asm.h>.
22088 (__memchr): Don't use BP_SYM.
22089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22090 <bp-sym.h> and <bp-asm.h>.
22091 (memcmp): Don't use BP_SYM.
22092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22093 <bp-sym.h> and <bp-asm.h>.
22094 (memcpy): Don't use BP_SYM.
22095 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22096 <bp-sym.h> and <bp-asm.h>.
22097 (__mempcpy): Don't use BP_SYM.
22098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22099 <bp-sym.h> and <bp-asm.h>.
22100 (__memrchr): Don't use BP_SYM.
22101 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22102 <bp-sym.h> and <bp-asm.h>.
22103 (memset): Don't use BP_SYM.
22104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22105 <bp-sym.h> and <bp-asm.h>.
22106 (__rawmemchr): Don't use BP_SYM.
22107 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22108 <bp-sym.h> and <bp-asm.h>.
22109 (__STRCMP): Don't use BP_SYM.
22110 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22111 <bp-sym.h> and <bp-asm.h>.
22112 (strchr): Don't use BP_SYM.
22113 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22114 <bp-sym.h> and <bp-asm.h>.
22115 (__strchrnul): Don't use BP_SYM.
22116 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22117 <bp-sym.h> and <bp-asm.h>.
22118 (strlen): Don't use BP_SYM.
22119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22120 <bp-sym.h> and <bp-asm.h>.
22121 (strncmp): Don't use BP_SYM.
22122 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22123 <bp-sym.h> and <bp-asm.h>.
22124 (__strnlen): Don't use BP_SYM.
22125 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22126 <bp-asm.h>.
22127 (__mpn_rshift): Don't use BP_SYM.
22128 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22129 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22130 <bp-sym.h> and <bp-asm.h>.
22131 (__sigsetjmp): Don't use BP_SYM.
22132 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22133 (L(start_addresses)): Don't use BP_SYM.
22134 (_start): Likewise.
22135 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22136 <bp-asm.h>.
22137 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22138 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22139 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22140 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22141 <bp-asm.h>.
22142 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22143 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22144 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22145 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22146 <bp-asm.h>.
22147 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22148 comments.
22149 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22150 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22151 <bp-asm.h>.
22152 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22153 FIXME comments.
22154 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22155 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22156 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22157 <bp-asm.h>.
22158 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22159 comment.
22160 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22161 and <bp-asm.h>.
22162 (strncmp): Don't use BP_SYM,
22163 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22164 <bp-asm.h>.
22165 (__mpn_sub_n): Don't use BP_SYM.
22166 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22167 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22168 and <bp-asm.h>.
22169 (__mpn_submul_1): Don't use BP_SYM.
22170 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22172 <bp-sym.h> and <bp-asm.h>.
22173 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22175 <bp-sym.h> and <bp-asm.h>.
22176 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22177 comment.
22178
8d19fe64
SP
221792013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22180
22181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22182 Use ZK to minimize writes to Z.
22183 (sub_magnitudes): Simplify code a bit.
22184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22185 Use ZK to minimize writes to Z.
22186 (sub_magnitudes): Simplify code a bit.
22187
85bd816a
RM
221882013-02-27 Roland McGrath <roland@hack.frob.com>
22189
22190 * csu/gmon-start.c: Add special exception to license text.
22191
b5977bf2
RH
221922013-02-27 Richard Henderson <rth@redhat.com>
22193
22194 * scripts/config.guess: Update from config.git.
22195 * scripts/config.sub: Likewise.
22196
11d6e2f2
SP
221972013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22198
09c14ed2
SP
22199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22200
a688864e
SP
22201 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22202
6295157a
SP
22203 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22204
b8de2202
SP
22205 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22206
11d6e2f2
SP
22207 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22208
7e80ddb8
RM
222092013-02-26 Roland McGrath <roland@hack.frob.com>
22210
22211 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22212 [$(build-shared = yes].
7e80ddb8 22213
7da6d9ed
SP
222142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22215
45f05884
SP
22216 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22217 (__mul): Reduce iterations for calculating mantissa.
22218
2236d359
SP
22219 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22220 MPTWO.
22221 (__mpranred): Likewise.
22222
7da6d9ed
SP
22223 [BZ #15160]
22224 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22225 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22226
b7688c42
PE
222272013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22228
22229 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22230 Define __attribute__.
22231
53a5c423
SP
222322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22233
22234 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22235 unused.
22236 * posix/regex_internal.h (__attribute): Remove.
22237 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22238 (re_string_context_at): Likewise.
22239 (bitset_not): Use __attribute__ and mark function as possibly
22240 unused.
22241 (bitset_merge): Likewise.
22242 (bitset_mask): Likewise.
22243 (re_string_char_size_at): Likewise.
22244 (re_string_wchar_at): Likewise.
22245 (re_string_elem_size_at): Likewise.
22246
60f5a8b5
SP
222472013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22248
2a983a2e
SP
22249 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22250 code.
22251 (cc32): Likewise.
22252
e69804d1
SP
22253 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22254 (__acr): Likewise.
22255 (__cpy): Likewise.
22256 (norm): Likewise.
22257 (denorm): Likewise.
22258 (__dbl_mp): Likewise.
22259 (add_magnitudes): Likewise.
22260 (sub_magnitudes): Likewise.
22261 (__mul): Likewise.
22262 (__inv): Likewise.
22263
2f22a1e8
SP
22264 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22265 style.
22266
8930ddc7
SP
22267 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22268 style.
22269
dc60cb11
SP
22270 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22271 code.
22272
60f5a8b5
SP
22273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22274 up changes with default code.
22275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22276 Likewise.
22277
b4d1fd33
AM
222782013-02-24 Allan McRae <allan@archlinux.org>
22279
faf6f8bc
AM
22280 * manual/socket.texi (The Internet Namespace): Order menu items
22281 to match that in the file.
22282
b4d1fd33
AM
22283 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22284 node listing of the info page menu.
22285
2366713d
JM
222862013-02-21 Joseph Myers <joseph@codesourcery.com>
22287
22288 [BZ #13550]
22289 * sysdeps/i386/bp-asm.h: Remove file.
22290 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22291 (PARMS): Do not use macros from bp-asm.h.
22292 (S1): Likewise.
22293 (S2): Likewise.
22294 (SIZE): Likewise.
22295 (__mpn_add_n): Do not use BP_SYM
22296 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22297 "bp-asm.h".
22298 (PARMS): Do not use macros from bp-asm.h.
22299 (S1): Likewise.
22300 (SIZE): Likewise.
22301 (__mpn_addmul_1): Do not use BP_SYM
22302 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22303 "bp-asm.h".
22304 (PARMS): Do not use macros from bp-asm.h.
22305 (SIGMSK): Likewise.
22306 (_setjmp): Likewise. Do not use BP_SYM.
22307 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22308 "bp-asm.h".
22309 (PARMS): Do not use macros from bp-asm.h.
22310 (SIGMSK): Likewise.
22311 (setjmp): Likewise. Do not use BP_SYM.
22312 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22313 "bp-asm.h".
22314 (PARMS): Do not use macros from bp-asm.h.
22315 (__frexp): Do not use BP_SYM.
22316 (frexp): Likewise.
22317 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22318 "bp-asm.h".
22319 (PARMS): Do not use macros from bp-asm.h.
22320 (__frexpf): Do not use BP_SYM.
22321 (frexpf): Likewise.
22322 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22323 "bp-asm.h".
22324 (PARMS): Do not use macros from bp-asm.h.
22325 (__frexpl): Do not use BP_SYM.
22326 (frexpl): Likewise.
22327 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22328 "bp-asm.h".
22329 (PARMS): Do not use macros from bp-asm.h.
22330 (__remquo): Do not use BP_SYM.
22331 (remquo): Likewise.
22332 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22333 "bp-asm.h".
22334 (PARMS): Do not use macros from bp-asm.h.
22335 (__remquof): Do not use BP_SYM.
22336 (remquof): Likewise.
22337 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22338 "bp-asm.h".
22339 (PARMS): Do not use macros from bp-asm.h.
22340 (__remquol): Do not use BP_SYM.
22341 (remquol): Likewise.
22342 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22343 "bp-asm.h".
22344 (PARMS): Do not use macros from bp-asm.h.
22345 (DEST): Likewise.
22346 (SRC): Likewise.
22347 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22348 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22349 "bp-asm.h".
22350 (PARMS): Do not use macros from bp-asm.h.
22351 (strlen): Do not use BP_SYM.
22352 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22353 "bp-asm.h".
22354 (PARMS): Do not use macros from bp-asm.h.
22355 (S1): Likewise.
22356 (S2): Likewise.
22357 (SIZE): Likewise.
22358 (__mpn_add_n): Do not use BP_SYM.
22359 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22360 "bp-asm.h".
22361 (PARMS): Do not use macros from bp-asm.h.
22362 (S1): Likewise.
22363 (SIZE): Likewise.
22364 (__mpn_addmul_1): Do not use BP_SYM.
22365 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22366 weak_alias.
22367 (bzero): Likewise.
22368 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22369 "bp-asm.h".
22370 (PARMS): Do not use macros from bp-asm.h.
22371 (S): Likewise.
22372 (SIZE): Likewise.
22373 (__mpn_lshift): Do not use BP_SYM.
22374 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22375 "bp-asm.h".
22376 (PARMS): Do not use macros from bp-asm.h.
22377 (DEST): Likewise.
22378 (SRC): Likewise.
22379 (LEN): Likewise.
22380 (memcpy): Likewise. Do not use BP_SYM.
22381 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22382 libc_hidden_def and weak_alias.
22383 (mempcpy): Do not use BP_SYM in weak_alias.
22384 * sysdeps/i386/i586/memset.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 (LEN): Likewise.
22389 [!BZERO_P] (CHR): Likewise.
22390 (memset): Likewise. Do not use BP_SYM.
22391 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22392 "bp-asm.h".
22393 (PARMS): Do not use macros from bp-asm.h.
22394 (S1): Likewise.
22395 (SIZE): Likewise.
22396 (__mpn_mul_1): Do not use BP_SYM.
22397 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22398 "bp-asm.h".
22399 (PARMS): Do not use macros from bp-asm.h.
22400 (S): Likewise.
22401 (SIZE): Likewise.
22402 (__mpn_rshift): Do not use BP_SYM.
22403 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22404 "bp-asm.h".
22405 (PARMS): Do not use macros from bp-asm.h.
22406 (STR): Likewise.
22407 (CHR): Likewise.
22408 (strchr): Likewise. Do not use BP_SYM.
22409 (index): Do not use BP_SYM in weak_alias.
22410 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22411 "bp-asm.h".
22412 (PARMS): Do not use macros from bp-asm.h.
22413 (DEST): Likewise.
22414 (SRC): Likewise.
22415 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22416 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22417 "bp-asm.h".
22418 (PARMS): Do not use macros from bp-asm.h.
22419 (strlen): Do not use BP_SYM.
22420 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22421 "bp-asm.h".
22422 (PARMS): Do not use macros from bp-asm.h.
22423 (S1): Likewise.
22424 (S2): Likewise.
22425 (SIZE): Likewise.
22426 (__mpn_sub_n): Do not use BP_SYM.
22427 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22428 "bp-asm.h".
22429 (PARMS): Do not use macros from bp-asm.h.
22430 (S1): Likewise.
22431 (SIZE): Likewise.
22432 (__mpn_submul_1): Do not use BP_SYM.
22433 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22434 "bp-asm.h".
22435 (PARMS): Do not use macros from bp-asm.h.
22436 (S1): Likewise.
22437 (S2): Likewise.
22438 (SIZE): Likewise.
22439 (__mpn_add_n): Do not use BP_SYM.
22440 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22441 weak_alias.
22442 (bzero): Likewise.
22443 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22444 "bp-asm.h".
22445 (PARMS): Do not use macros from bp-asm.h.
22446 (BLK2): Likewise.
22447 (LEN): Likewise.
22448 (memcmp): Do not use BP_SYM.
22449 (bcmp): Do not use BP_SYM in weak_alias.
22450 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22451 "bp-asm.h".
22452 (PARMS): Do not use macros from bp-asm.h.
22453 (DEST): Likewise.
22454 (SRC): Likewise.
22455 (LEN): Likewise.
22456 (memcpy): Likewise. Do not use BP_SYM.
22457 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22458 "bp-asm.h".
22459 (PARMS): Do not use macros from bp-asm.h.
22460 (DEST): Likewise.
22461 (SRC): Likewise.
22462 (LEN): Likewise.
22463 (memmove): Likewise. Do not use BP_SYM.
22464 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22465 "bp-asm.h".
22466 (PARMS): Do not use macros from bp-asm.h.
22467 (DEST): Likewise.
22468 (SRC): Likewise.
22469 (LEN): Likewise.
22470 (__mempcpy): Likewise. Do not use BP_SYM.
22471 (mempcpy): Do not use BP_SYM in weak_alias.
22472 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22473 "bp-asm.h".
22474 (PARMS): Do not use macros from bp-asm.h.
22475 (DEST): Likewise.
22476 (LEN): Likewise.
22477 [!BZERO_P] (CHR): Likewise.
22478 (memset): Likewise. Do not use BP_SYM.
22479 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22480 "bp-asm.h".
22481 (PARMS): Do not use macros from bp-asm.h.
22482 (STR2): Likewise.
22483 (strcmp): Do not use BP_SYM.
22484 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22485 "bp-asm.h".
22486 (PARMS): Do not use macros from bp-asm.h.
22487 (STR): Likewise.
22488 (DELIM): Likewise.
22489 [USE_AS_STRTOK_R] (SAVE): Likewise.
22490 (FUNCTION): Likewise. Do not use BP_SYM.
22491 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22492 aliases.
22493 (strtok_r): Likewise.
22494 (__GI___strtok_r): Likewise.
22495 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22496 (PARMS): Do not use macros from bp-asm.h.
22497 (S): Likewise.
22498 (SIZE): Likewise.
22499 (__mpn_lshift): Do not use BP_SYM.
22500 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22501 (PARMS): Do not use macros from bp-asm.h.
22502 (STR): Likewise.
22503 (CHR): Likewise.
22504 (__memchr): Do not use BP_SYM.
22505 (memchr): Do not use BP_SYM in weak_alias.
22506 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22507 (PARMS): Do not use macros from bp-asm.h.
22508 (BLK2): Likewise.
22509 (LEN): Likewise.
22510 (memcmp): Do not use BP_SYM.
22511 (bcmp): Do not use BP_SYM in weak_alias.
22512 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22513 (PARMS): Do not use macros from bp-asm.h.
22514 (S1): Likewise.
22515 (SIZE): Likewise.
22516 (__mpn_mul_1): Do not use BP_SYM.
22517 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22518 "bp-asm.h".
22519 (PARMS): Do not use macros from bp-asm.h.
22520 (STR): Likewise.
22521 (CHR): Likewise.
22522 (__rawmemchr): Do not use BP_SYM.
22523 (rawmemchr): Do not use BP_SYM in weak_alias.
22524 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22525 (PARMS): Do not use macros from bp-asm.h.
22526 (S): Likewise.
22527 (SIZE): Likewise.
22528 (__mpn_rshift): Do not use BP_SYM.
22529 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22530 (PARMS): Do not use macros from bp-asm.h.
22531 (SIGMSK): Likewise.
22532 (__sigsetjmp): Likewise. Do not use BP_SYM.
22533 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22534 (_start): Do not use BP_SYM.
22535 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22536 (PARMS): Do not use macros from bp-asm.h.
22537 (DEST): Likewise.
22538 (SRC): Likewise.
22539 (__stpcpy): Likewise. Do not use BP_SYM.
22540 (stpcpy): Do not use BP_SYM in weak_alias.
22541 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22542 "bp-asm.h".
22543 (PARMS): Do not use macros from bp-asm.h.
22544 (DEST): Likewise.
22545 (SRC): Likewise.
22546 (LEN): Likewise.
22547 (__stpncpy): Likewise. Do not use BP_SYM.
22548 (stpncpy): Do not use BP_SYM in weak_alias.
22549 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22550 (PARMS): Do not use macros from bp-asm.h.
22551 (STR): Likewise.
22552 (CHR): Likewise.
22553 (strchr): Likewise. Do not use BP_SYM.
22554 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22555 "bp-asm.h".
22556 (PARMS): Do not use macros from bp-asm.h.
22557 (STR): Likewise.
22558 (CHR): Likewise.
22559 (__strchrnul): Likewise. Do not use BP_SYM.
22560 (strchrnul): Do not use BP_SYM in weak_alias.
22561 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22562 "bp-asm.h".
22563 (PARMS): Do not use macros from bp-asm.h.
22564 (STOP): Likewise.
22565 (strcspn): Do not use BP_SYM.
22566 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22567 "bp-asm.h".
22568 (PARMS): Do not use macros from bp-asm.h.
22569 (STR): Likewise.
22570 (STOP): Likewise.
22571 (strpbrk): Likewise. Do not use BP_SYM.
22572 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22573 "bp-asm.h".
22574 (PARMS): Do not use macros from bp-asm.h.
22575 (STR): Likewise.
22576 (CHR): Likewise.
22577 (strrchr): Likewise. Do not use BP_SYM.
22578 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22579 (PARMS): Do not use macros from bp-asm.h.
22580 (SKIP): Likewise.
22581 (strspn): Do not use BP_SYM.
22582 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22583 (PARMS): Do not use macros from bp-asm.h.
22584 (STR): Likewise.
22585 (DELIM): Likewise.
22586 (SAVE): Likewise.
22587 (FUNCTION): Likewise. Do not use BP_SYM.
22588 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22589 aliases.
22590 (strtok_r): Likewise.
22591 (__GI___strtok_r): Likewise.
22592 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22593 (PARMS): Do not use macros from bp-asm.h.
22594 (S1): Likewise.
22595 (S2): Likewise.
22596 (SIZE): Likewise.
22597 (__mpn_sub_n): Do not use BP_SYM.
22598 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22599 "bp-asm.h".
22600 (PARMS): Do not use macros from bp-asm.h.
22601 (S1): Likewise.
22602 (SIZE): Likewise.
22603 (__mpn_submul_1): Do not use BP_SYM.
22604 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22605 <bp-sym.h>.
22606 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22607 and <bp-asm.h>.
22608 (PARMS): Do not use macros from bp-asm.h.
22609 (FLAGS): Likewise.
22610 (PTID): Likewise.
22611 (TLS): Likewise.
22612 (CTID): Likewise.
22613 (__clone): Do not use BP_SYM.
22614 (clone): Do not use BP_SYM in weak_alias.
22615 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22616 and <bp-asm.h>.
22617 (PARMS): Do not use macros from bp-asm.h.
22618 (LEN): Likewise.
22619 (__mmap64): Do not use BP_SYM.
22620 (mmap64): Do not use BP_SYM in weak_alias.
22621 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22622 <bp-sym.h> and <bp-asm.h>.
22623 (PARMS): Do not use macros from bp-asm.h.
22624 (__posix_fadvise64_l64): Do not use BP_SYM.
22625 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22626 (PARMS): Do not use macros from bp-asm.h.
22627 (NSOPS): Likewise.
22628 (semtimedop): Do not use BP_SYM.
22629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22630 and <bp-asm.h>.
22631
582a3cff
AM
226322013-02-21 Allan McRae <allan@archlinux.org>
22633
22634 * manual/message.texi (Charset conversion in gettext):
22635 Move @end statement to beginning of line.
22636
bab8a695
SP
226372013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22638
80945231
SP
22639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22640 static.
22641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22642 Likewise.
22643
bab8a695
SP
22644 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22645 (denorm): Likewise.
22646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22648
e21d7aa7
AK
226492013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22650
22651 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22652 tail-call to the resolved function if pltexit isn't needed.
22653
4c7a4263
SP
226542013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22655
22656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22657 or Y being zero as being unlikely.
22658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22659 Likewise.
22660
41f49342
CD
226612013-02-20 Carlos O'Donell <carlos@redhat.com>
22662
22663 * manual/nss.texi (System Databases and Name Service Switch):
22664 Remove frobnicate @pxref.
22665
50022a93
TS
226662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22667
22668 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22669 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22670
08cbd996
PM
226712013-02-20 Petr Machata <pmachata@redhat.com>
22672
22673 * elf/elf.h (R_ARM_TARGET1): New macro.
22674 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22675 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22676 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22677 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22678 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22679 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22680 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22681 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22682 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22683 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22684 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22685 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22686 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22687 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22688 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22689 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22690 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22691 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22692 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22693 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22694 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22695 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22696 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22697 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22698 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22699 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22700 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22701 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22702 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22703 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22704 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22705 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22706 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22707 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22708 (R_ARM_THM_GOT_BREL12): Likewise.
22709 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22710 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22711 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22712 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22713 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22714 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22715 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22716 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22717 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22718
c7b275d6
TS
227192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22720
22721 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22722 __attribute_used__ to __attribute__ ((unused)).
22723
20cd7fb3
SP
227242013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22725
22726 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22727 powerpc mpa.c.
22728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22729 comment formatting.
22730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22731
92945b52
JM
227322013-02-19 Joseph Myers <joseph@codesourcery.com>
22733
22734 [BZ #13550]
22735 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22736 Remove macro.
22737 (ENTER): Remove both macro definitions.
22738 (LEAVE): Likewise.
22739 (CHECK_BOUNDS_LOW): Likewise.
22740 (CHECK_BOUNDS_HIGH): Likewise.
22741 (CHECK_BOUNDS_BOTH): Likewise.
22742 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22743 (RETURN_BOUNDED_POINTER): Likewise.
22744 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22745 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22746 (POP_ERRNO_LOCATION_RETURN): Likewise.
22747 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22748 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22749 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22750 macros.
22751 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22752 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22753 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22754 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22755 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22756 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22757 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22758 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22759 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22760 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22761 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22762 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22763 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22764 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22765 removed macros.
22766 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22767 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22768 macros.
22769 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22770 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22771 * sysdeps/i386/i586/memset.S (memset): Likewise.
22772 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22773 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22775 macros.
22776 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22777 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22778 Change uses of L(2) to L(out).
22779 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22780 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22781 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22782 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22783 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22784 removed macros.
22785 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22786 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22787 macros.
22788 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22789 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22790 (RETURN): Do not use macro LEAVE.
22791 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22792 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22793 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22794 * sysdeps/i386/i686/memset.S (memset): Likewise.
22795 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22796 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22797 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22798 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22799 Likewise.
22800 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22801 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22802 L(1_2) and L(1_3) into L(1).
22803 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22804 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22805 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22806 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22807 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22808 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22809 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22810 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22811 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22812 macros.
22813 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22814 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22815 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22816 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22817 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22818 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22819 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22820 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22821 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22822 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22823 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22824 * sysdeps/i386/strspn.S (strspn): Likewise.
22825 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22826 conditional code.
22827 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22828 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22829 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22830 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22831 L(1_3) into L(1_1).
22832 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22833 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22834 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22835 macros.
22836 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22837
2389741a
JJ
228382013-02-19 Jakub Jelinek <jakub@redhat.com>
22839
22840 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22841 macro.
22842
2016b3cd
SP
228432013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22844
e4f22324
SP
22845 * math/atest-exp.c (exp_mpn): Remove ROUND.
22846 * math/atest-exp2.c (exp_mpn): Likewise.
22847 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22848
2016b3cd
SP
22849 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22850 * stdlib/tst-tls-atexit-lib.c: Likewise.
22851 * stdlib/tst-tls-atexit.c: Likewise.
22852
4be9b544
MF
228532013-02-18 Mike Frysinger <vapier@gentoo.org>
22854
22855 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22856 and __attribute_alloc_size__.
22857
2f62b9ee
MF
228582013-02-18 Mike Frysinger <vapier@gentoo.org>
22859
22860 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22861 __attribute_alloc_size__.
22862 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22863 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22864
6ff444c4
MF
228652013-02-18 Mike Frysinger <vapier@gentoo.org>
22866
22867 * include/programs/xmalloc.h: New file.
22868 * catgets/gencat.c: Include it.
22869 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22870 * elf/pldd.c: Likewise.
22871 * iconv/iconv_charmap.c: Likewise.
22872 * iconv/iconvconfig.c: Likewise.
22873 * iconv/strtab.c: Likewise.
22874 * locale/programs/locale.c: Likewise.
22875 * locale/programs/localedef.h: Likewise.
22876 * locale/programs/simple-hash.c: Likewise.
22877 * nscd/nscd.h: Likewise.
22878 * nss/makedb.c: Likewise.
22879 * sysdeps/generic/ldconfig.h: Likewise.
22880
be179c8a
SP
228812013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22882
ba384f6e
SP
22883 * Versions.def: Add GLIBC_2.18.
22884 * include/link.h (struct link_map): New member l_tls_dtor_count.
22885 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22886 (__call_tls_dtors): Likewise.
22887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22888 __cxa_thread_atexit_impl.
22889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22890 Likewise.
22891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22892 Likewise.
22893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22894 Likewise.
22895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22896 Likewise.
22897 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22899 Likewise.
22900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22901 Likewise.
22902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22904 Likewise.
22905 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22906 (tests): Add test case tst-tls-atexit.
22907 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22908 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22909 (GLIBC_PRIVATE): Add __call_tls_dtors.
22910 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22911 for libstdc++.
22912 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22913 * stdlib/tst-tls-atexit.c: New test case.
22914 * stdlib/tst-tls-atexit-lib.c: New test case.
22915
ffaa74cf 22916 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22917
be179c8a
SP
22918 * elf/Versions (ld): Add _dl_find_dso_for_object.
22919 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22920 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22921 (dl_open_worker): Use _dl_find_dso_for_object.
22922 * elf/dl-sym.c (do_sym): Likewise.
22923 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22924
f78b5caa
AK
229252013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22926
22927 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22928 Syntactic changes only.
22929 (_dl_runtime_profile): Do a tail-call to the resolved function.
22930
29691210
JM
229312013-02-17 Joseph Myers <joseph@codesourcery.com>
22932
22933 [BZ #13550]
22934 * sysdeps/x86_64/bp-asm.h: Remove file.
22935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22936 <bp-sym.h> and <bp-asm.h>.
22937 (__clone): Do not use BP_SYM.
22938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22939 <bp-sym.h> and <bp-asm.h>.
22940 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22941 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22942 "bp-asm.h".
22943 (_setjmp): Do not use BP_SYM.
22944 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22945 "bp-asm.h".
22946 (setjmp): Do not use BP_SYM.
22947 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22948 libc_hidden_def.
22949 (mempcpy): Do not use BP_SYM in weak_alias.
22950 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22951 "bp-asm.h".
22952 (strchr): Do not use BP_SYM.
22953 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22954 "bp-asm.h".
22955 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22956 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22957 (_start): Do not use BP_SYM.
22958 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22959 "bp-asm.h".
22960 (strcat): Do not use BP_SYM.
22961 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22962 "bp-asm.h".
22963 (STRCMP): Do not use BP_SYM.
22964 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22965 "bp-asm.h".
22966 (STRCPY): Do not use BP_SYM.
22967 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22968 "bp-asm.h".
22969 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22970 "bp-asm.h".
22971 (FUNCTION): Do not use BP_SYM.
22972 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22973 weak_alias.
22974 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22975
f238fd19
AJ
229762013-02-17 Andreas Jaeger <aj@suse.de>
22977
22978 * time/Versions: Sort entries.
22979 * string/Versions: Likewise.
22980 * resolv/Versions: Likewise.
22981 * posix/Versions: Likewise.
22982 * iconv/Versions: Likewise.
22983 * elf/Versions: Likewise.
22984 * wcsmbs/Versions: Likewise.
22985
bd07f23c 229862013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22987
22af19f9
SP
22988 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22989 loop termination condition.
22990
4709fe76
SP
22991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22992 variable to calculate EZ.
22993 (__sqr): Likewise.
2d0e0f29
SP
22994
22995 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22996 the lower precision input.
22997
daaa7713
JM
229982013-02-15 Joseph Myers <joseph@codesourcery.com>
22999
23000 [BZ #13550]
23001 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23002 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23003 (run-via-rtld-prefix): Do not handle %-bp tests.
23004 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23005 (all-object-suffixes): Remove .ob.
23006 (bppfx): Remove variable.
23007 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23008 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23009 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23010 [$(build-bounded) = yes] (libtype.ob): Likewise.
23011 * Makerules (elide-routines.ob): Remove variable.
23012 (do-tests-clean): Do not handle *-bp.out.
23013 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23014 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23015 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23016 (tests): Do not include $(tests-bp.out).
23017 (xtests): Do not include $(xtests-bp.out).
23018 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23019 [$(build-bounded) = yes] ($(addprefix
23020 $(objpfx),$(binaries-bounded))): Remove rule.
23021 ($(objpfx)%-bp.out): Remove rule.
23022 * config.make.in (build-bounded): Remove variable.
23023 * crypt/Makefile [$(build-bounded) = yes]
23024 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23025 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23026 append to variable.
23027 [$(build-bounded) = yes] (install-lib): Likewise.
23028 [$(build-bounded) = yes] (generated): Likewise.
23029 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23030 Remove rule.
23031 * intl/Makefile [$(build-bounded) = yes]
23032 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23033 * math/Makefile [$(build-bounded) = yes]
23034 ($(tests:%=$(objpfx)%-bp): Likewise.
23035 * misc/Makefile [$(build-bounded) = yes]
23036 ($(objpfx)tst-tsearch-bp): Likewise.
23037 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23038 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23039 Remove dependency.
23040 * string/Makefile (o-objects.ob): Remove variable.
23041 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23042 (CFLAGS-.ob): Remove variable.
23043 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23044 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23045 both definitions of variable.
23046 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23047 (ASFLAGS-.ob): Remove variable.
23048
e97ed6dd
JM
230492013-02-14 Joseph Myers <joseph@codesourcery.com>
23050
2bdd4ca6
JM
23051 [BZ #13550]
23052 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23053 Remove __BOUNDED_POINTERS__ from condition.
23054 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23055 * string/bits/string2.h [!__NO_STRING_INLINES &&
23056 !__BOUNDED_POINTERS__]: Likewise.
23057 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23058 Likewise.
23059 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23060 Remove conditional code.
23061 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23062 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23063 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23064 condition.
23065
e97ed6dd
JM
23066 [BZ #13550]
23067 * csu/libc-start.c: Do not include <bp-sym.h>.
23068 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23069 * elf/dl-open.c: Do not include <bp-sym.h>.
23070 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23071 * math/fegetenv.c: Do not include <bp-sym.h>.
23072 (fegetenv): Do not use BP_SYM in versioned symbols.
23073 * nptl/sysdeps/pthread/bits/libc-lockP.h
23074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23075 <bp-sym.h>.
23076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23077 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23079 (__pthread_mutex_destroy): Likewise.
23080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23081 (__pthread_mutex_lock): Likewise.
23082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23083 (__pthread_mutex_trylock): Likewise.
23084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23085 (__pthread_mutex_unlock): Likewise.
23086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23087 (__pthread_mutexattr_init): Likewise.
23088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23089 (__pthread_mutexattr_destroy): Likewise.
23090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23091 (__pthread_mutexattr_settype): Likewise.
23092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23093 (__pthread_rwlock_init): Likewise.
23094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23095 (__pthread_rwlock_destroy): Likewise.
23096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23097 (__pthread_rwlock_rdlock): Likewise.
23098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23099 (__pthread_rwlock_tryrdlock): Likewise.
23100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23101 (__pthread_rwlock_wrlock): Likewise.
23102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23103 (__pthread_rwlock_trywrlock): Likewise.
23104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23105 (__pthread_rwlock_unlock): Likewise.
23106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23107 (__pthread_key_create): Likewise.
23108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23109 (__pthread_setspecific): Likewise.
23110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23111 (__pthread_getspecific): Likewise.
23112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23113 Likewise.
23114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23115 (_pthread_cleanup_push_defer): Likewise.
23116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23117 (_pthread_cleanup_pop_restore): Likewise.
23118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23119 (pthread_setcancelstate): Likewise.
23120 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23121 <bp-sym.h>.
23122 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23123 (memchr): Do not use BP_SYM in weak_alias.
23124 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23125 (fegetenv): Do not use BP_SYM in versioned symbols.
23126 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23127 (fesetenv): Do not use BP_SYM in versioned symbols.
23128 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23129 (feupdateenv): Do not use BP_SYM in versioned symbols.
23130 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23131 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23132 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23133 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23134 (open64): Do not use BP_SYM in weak_alias.
23135 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23136 (fegetenv): Do not use BP_SYM in versioned symbols.
23137 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23138 (fesetenv): Do not use BP_SYM in versioned symbols.
23139 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23140 (feupdateenv): Do not use BP_SYM in versioned symbols.
23141 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23142 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23143 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23144 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23145 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23146 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23147 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23148 <bp-sym.h>.
23149 (__libc_start_main): Do not use BP_SYM.
23150
d6752ccd
SP
231512013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23152
cb57ce60
SP
23153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23154 redundant return line.
23155 (norm): Likewise.
23156 (denorm): Likewise.
23157 (dbl_mp): Likewise.
23158 (sub_magnitudes): Likewise.
23159 (__add): Likewise.
23160 (__sub): Likewise.
23161 (__mul): Likewise.
23162 (__inv): Likewise.
23163 (__dvd): Likewise.
23164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
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
f414520d
SP
23175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23176 instead of __mul.
23177 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23178 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23179 (cc32): Likewise.
23180
d6752ccd
SP
23181 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23182 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23184 of __mul for squares.
23185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23186 function
23187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23188 Likewise.
23189 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23190 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23191
70d9946a
JM
231922013-02-13 Joseph Myers <joseph@codesourcery.com>
23193
23194 [BZ #13550]
23195 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23196 code.
23197 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23198 prototype or function definition. Rename ubp_* variables and
23199 parameters. Remove argv definitions conditional on
23200 [__BOUNDED_POINTERS__].
23201 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23202 * elf/dl-runtime.c (_dl_fixup): Likewise.
23203 * include/set-hooks.h (RUN_HOOK): Likewise.
23204 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23205 definition.
23206 * string/strcpy.c (strcpy): Do not use __unbounded.
23207 * sysdeps/generic/frame.h (struct layout): Likewise.
23208 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23209 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23210 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23211 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23212 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23213 (__backtrace): Likewise.
23214 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23215 use __ptrvalue.
23216 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23218 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23219 Likewise.
23220 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23221 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23222 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23223 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23224 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23225 Do not use __unbounded.
23226 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23227 Rename __unboundedrlimits parameter to rlimits in prototype.
23228 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23229 Do not use __unbounded.
23230 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23231 not use __ptrvalue.
23232 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23233 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23234 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23236 __ptrvalue or __unbounded.
23237 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23238 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23239 use __unbounded.
23240 (__new_msgctl): Do not use __ptrvalue.
23241 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23242 __unbounded.
23243 (__libc_msgrcv): Do not use __ptrvalue.
23244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23245 startup_info): Do not use __unbounded.
23246 (__libc_start_main): Likewise. Rename ubp_* variables and
23247 parameters. Remove argv definitions conditional on
23248 [__BOUNDED_POINTERS__].
23249 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23250 __ptrvalue.
23251 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23252 use __unbounded.
23253 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23254 or __ptrvalue.
23255 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23256 use __unbounded.
23257 (__new_shmctl): Do not use __ptrvalue.
23258 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23259 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23260 Likewise.
23261 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23263 (__libc_sigaction): Likewise.
23264 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23265 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23266 Likewise.
23267 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23268
cc7834d6
OB
232692013-02-13 Ondřej Bílka <neleai@seznam.cz>
23270
ffb1ec7b 23271 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23272
23273 * string/mempcpy.c: Implement by calling memcpy.
23274
bdf02814
SP
232752013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23276
c2af38aa
SP
23277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23278
4e92d59e
SP
23279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23280 evaluation.
23281
909279a5
SP
23282 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23283 values in the mantissa.
23284
bdf02814
SP
23285 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23286 minimize writes to Z.
23287 (sub_magnitudes): Simplify code a bit.
23288
cd525923
RM
232892013-02-12 Roland McGrath <roland@hack.frob.com>
23290
23291 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23292 from the message. The linker prefixes all warnings with that already.
23293
7e2f0d2d
AS
232942013-02-12 Andreas Schwab <schwab@suse.de>
23295
a445af0b
AS
23296 [BZ #15078]
23297 * posix/regexec.c (extend_buffers): Add parameter min_len.
23298 (check_matching): Pass minimum needed length.
23299 (clean_state_log_if_needed): Likewise.
23300 (get_subexp): Likewise.
23301 * posix/Makefile (tests): Add bug-regex34.
23302 (bug-regex34-ENV): Define.
23303 * posix/bug-regex34.c: New file.
23304
7e2f0d2d
AS
23305 [BZ #11561]
23306 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23307 elements compare against the byte sequence of it, not its name.
23308 * posix/Makefile (tests): Add bug-regex35.
23309 (bug-regex35-ENV): Define.
23310 * posix/bug-regex35.c: New file.
23311
a175b684
TV
233122013-02-11 Tom de Vries <tom@codesourcery.com>
23313
23314 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23315 comment.
23316 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23317 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23318 (CHECK_EOL): Add undef.
23319
310998fe 233202013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23321
23322 * bits/stdlib-bsearch.h: New file.
23323 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23324 * stdlib/stdlib.h: Likewise.
41eda41d 23325
8ded91fb
RM
233262013-02-11 Roland McGrath <roland@hack.frob.com>
23327
23328 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23329 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23330 declaration.
23331 * manual/search.texi (Array Search Function): Add missing const in
23332 lfind prototype.
23333 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23334 declaration to use rlim_t.
23335 (Basic Scheduling Functions): Remove erroneous const from
23336 sched_getparam prototype. Remove erroneous * from
23337 sched_get_priority_max and sched_get_priority_min prototypes.
23338 (Resource Usage): Fix summary @comment on vtimes to refer to
23339 sys/vtimes.h rather than vtimes.h.
23340 Add missing *s in vtimes prototype.
23341 (Limits on Resources): Fix ulimit prototype to return long int.
23342 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23343 prototypes to use long int rather than double.
23344 (BSD Random): Fix initstate and setstate to use char *, not void *.
23345 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23346 prototype to make second argument 'struct aiocb64 *const[]'.
23347 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23348 (Status of AIO Operations): Remove erroneous const in aio_return and
23349 aio_return64 prototypes.
23350 (Synchronizing I/O): Fix sync prototype to return void.
23351 * manual/startup.texi (Suboptions): Remove an erroneous const in
23352 getsubopt prototype.
23353 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23354 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23355 use size_t rather than int.
23356 (Scanning All Users): Likewise for getpwent_r.
23357 (Setting Groups): Add missing const to setgroups prototype.
23358 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23359 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23360 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23361 'const void *' rather than 'const char *'.
23362 (Host Address Functions): Likewise for inet_ntop.
23363 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23364 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23365 ssize_t for return value.
23366 (Sending Data): Likewise for send, sendto, sendmsg.
23367 (Socket Option Functions): Add a missing const in setsockopt prototype.
23368 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23369 use wchar_t for the argument.
23370 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23371 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23372 take no arguments.
23373 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23374 double/float/long double for second argument.
23375 Fix return types of significand, significandf, significandl.
23376 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23377 argument in fchmod prototype.
23378 (File Owner): Use uid_t and gid_t in fchown prototype.
23379 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23380 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23381 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23382 use 'const struct dirent **' as argument types to CMP function pointer
23383 argument.
23384 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23385 (File Times): Fix summary magic @comment for struct utimbuf and utime
23386 to refer to utime.h, not time.h.
23387 * manual/string.texi (Argz Functions): Add missing const in
23388 argz_extract and argz_next prototypes.
23389 (Finding Tokens in a String): Likewise for basename.
23390 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23391 (Copying and Concatenation): Fix typo in wmemmove prototype.
23392 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23393 (Signal Stack): Remove erroneous const in sigstack prototype.
23394 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23395 prototype.
23396 (Simple Calendar Time): Likewise for stime.
23397 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23398 prototype.
23399 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23400 say sys/sysctl.h instead.
23401 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23402 and vsyslog prototypes.
23403
fe77fe6d
TV
234042013-02-11 Tom de Vries <tom@codesourcery.com>
23405
23406 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23407 Remove.
23408
3a09b620
RM
234092013-02-11 Roland McGrath <roland@hack.frob.com>
23410
23411 * misc/sys/mman.h: Fix typo in mremap comment.
23412
550a0b89
RM
234132013-02-08 Roland McGrath <roland@hack.frob.com>
23414
23415 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23416 the '\0' terminator.
23417
a2da1673
JM
234182013-02-08 Joseph Myers <joseph@codesourcery.com>
23419
23420 [BZ #13550]
23421 * debug/segfault.c: Don't include <bp-checks.h>.
23422 * sysdeps/generic/bp-checks.h: Remove file.
23423 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23424 (__GETDENTS): Don't use CHECK_N.
23425 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23426 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23427 (__getgroups): Don't use CHECK_N.
23428 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23429 (setgroups): Don't use CHECK_N.
23430 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23431 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23432 (__libc_msgrcv): Don't use CHECK_N.
23433 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23434 (__libc_msgsnd): Don't use CHECK_N.
23435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23436 <bp-checks.h>.
23437 (__libc_pread): Don't use CHECK_N.
23438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23439 include <bp-checks.h>.
23440 (__libc_pread64): Don't use CHECK_N.
23441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23442 include <bp-checks.h>.
23443 (__libc_pwrite): Don't use CHECK_N.
23444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23445 include <bp-checks.h>.
23446 (__libc_pwrite64): Don't use CHECK_N.
23447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23448 <bp-checks.h>.
23449 (__libc_pread): Don't use CHECK_N.
23450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23451 include <bp-checks.h>.
23452 (__libc_pread64): Don't use CHECK_N.
23453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23454 include <bp-checks.h>.
23455 (__libc_pwrite): Don't use CHECK_N.
23456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23457 include <bp-checks.h>.
23458 (__libc_pwrite64): Don't use CHECK_N.
23459 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23460 (do_pread): Don't use CHECK_N.
23461 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23462 (do_pread64): Don't use CHECK_N.
23463 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23464 (do_pwrite): Don't use CHECK_N.
23465 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23466 (do_pwrite64): Don't use CHECK_N.
23467 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23468 (__libc_readv): Don't use CHECK_N.
23469 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23470 (semop): Don't use CHECK_N.
23471 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23472 <bp-checks.h>.
23473 (semtimedop): Don't use CHECK_N.
23474 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23475 (__libc_pread): Don't use CHECK_N.
23476 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23477 <bp-checks.h>.
23478 (__libc_pread64): Don't use CHECK_N.
23479 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23480 <bp-checks.h>.
23481 (__libc_pwrite): Don't use CHECK_N.
23482 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23483 <bp-checks.h>.
23484 (__libc_pwrite64): Don't use CHECK_N.
23485 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23486 <bp-checks.h>.
23487 (__libc_msgrcv): Don't use CHECK_N.
23488 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23489 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23490 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23491 (__libc_writev): Don't use CHECK_N.
23492
b84660a8
RM
234932013-02-08 Roland McGrath <roland@hack.frob.com>
23494
7f3e75f8
RM
23495 * string/strcpy.c: Removed unused variable.
23496
b84660a8
RM
23497 * Makeconfig (+sysdep-includes): Define with := rather than =.
23498 Use an existing include/ subdir of each sysdeps dir before it.
23499
471514d3
CD
235002013-02-08 Carlos O'Donell <carlos@redhat.com>
23501
23502 * nscd/connection.c (register_traced_file): Comment function.
23503 [HAVE_INOTIFY] (union __inev): Define.
23504 [HAVE_INOTIFY] (inotify_check_files): New function.
23505 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23506 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23507 clear_db_cache.
23508 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23509
b2d3c3be
CD
235102013-02-08 Carlos O'Donell <carlos@redhat.com>
23511
23512 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23513 loaded if not already and that a failure is permanent.
23514
b39949d2
CD
235152013-02-08 Carlos O'Donell <carlos@redhat.com>
23516
ddacd1db 23517 [BZ #15006]
b39949d2
CD
23518 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23519 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23520
b2c9eff4
JM
235212013-02-08 Joseph Myers <joseph@codesourcery.com>
23522
f3aae3f3
JM
23523 [BZ #13550]
23524 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23525 (CHECK_1_NULL_OK): Likewise.
23526 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23527 (__fxstat): Do not use CHECK_1.
23528 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23529 <bp-checks.h>.
23530 (___fxstat64): Do not use CHECK_1.
23531 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23532 <bp-checks.h>.
23533 (__fxstatat): Do not use CHECK_1.
23534 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23535 <bp-checks.h>.
23536 (__fxstatat64): Do not use CHECK_1.
23537 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23538 <bp-checks.h>.
23539 (__fxstat): Do not use CHECK_1.
23540 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23541 <bp-checks.h>.
23542 (__fxstatat): Do not use CHECK_1.
23543 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23544 <bp-checks.h>.
23545 (__getresgid): Do not use CHECK_1.
23546 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23547 <bp-checks.h>.
23548 (__getresuid): Do not use CHECK_1.
23549 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23550 <bp-checks.h>.
23551 (__lxstat): Do not use CHECK_1.
23552 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23553 <bp-checks.h>.
23554 (__old_msgctl): Do not use CHECK_1.
23555 (__new_msgctl): Likewise.
23556 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23557 <bp-checks.h>.
23558 (__new_setrlimit): Do not use CHECK_1.
23559 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23560 <bp-checks.h>.
23561 (__old_shmctl): Do not use CHECK_1.
23562 (__new_shmctl): Likewise.
23563 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23564 <bp-checks.h>.
23565 (__xstat): Do not use CHECK_1.
23566 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23567 (__lxstat): Do not use CHECK_1.
23568 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23569 <bp-checks.h>.
23570 (___lxstat64): Do not use CHECK_1.
23571 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23572 (__old_msgctl): Do not use CHECK_1.
23573 (__new_msgctl): Likewise.
23574 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23575 <bp-checks.h>.
23576 (__gettimeofday): Do not use CHECK_1.
23577 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23578 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23579 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23580 <bp-checks.h>.
23581 (__gettimeofday): Do not use CHECK_1.
23582 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23583 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23584 (__new_shmctl): Do not use CHECK_1.
23585 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23586 <bp-checks.h>.
23587 (do_sigtimedwait): Do not use CHECK_1.
23588 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23589 <bp-checks.h>.
23590 (do_sigwaitinfo): Do not use CHECK_1.
23591 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23592 <bp-checks.h>.
23593 (msgctl): Do not use CHECK_1.
23594 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23595 <bp-checks.h>.
23596 (shmctl): Do not use CHECK_1.
23597 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23598 (ustat): Do not use CHECK_1.
23599 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23600 <bp-checks.h>.
23601 (__fxstat): Do not use CHECK_1.
23602 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23603 <bp-checks.h>.
23604 (__fxstatat): Do not use CHECK_1.
23605 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23606 <bp-checks.h>.
23607 (__lxstat): Do not use CHECK_1.
23608 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23609 <bp-checks.h>.
23610 (__xstat): Do not use CHECK_1.
23611 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23612 (__xstat): Do not use CHECK_1.
23613 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23614 (___xstat64): Do not use CHECK_1.
23615
b2c9eff4
JM
23616 [BZ #13550]
23617 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23618 definitions.
23619 (CHECK_BOUNDS_HIGH): Likewise.
23620 * string/strcpy.c: Do not include <bp-checks.h>.
23621 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23622
f1d70dad
RM
236232013-02-07 Roland McGrath <roland@hack.frob.com>
23624
23625 * nscd/nscd-client.h (__nscd_drop_map_ref):
23626 Add __attribute__ ((unused)).
23627 * nis/nss-nisplus.h (niserr2nss): Likewise.
23628
23629 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23630 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23631
23632 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23633 Remove inline keyword.
23634 * include/rounding-mode.h (round_away): Likewise.
23635 * libio/wfileops.c (adjust_wide_data): Likewise.
23636 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23637 (__m128i_strloadu_tolower): Likewise.
23638 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23639 (__m128i_strloadu_tolower): Likewise.
23640 * time/mktime.c (ydhms_diff): Likewise.
23641 * locale/elem-hash.h (elem_hash): Likewise.
23642 * locale/setlocale.c (setdata): Likewise.
23643 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23644 (re_string_wchar_at): Likewise.
23645 (bitset_not, bitset_merge, bitset_mask): Likewise.
23646 [!(__GNUC__ > 3)] (inline): Remove macro.
23647 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23648 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23649 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23650 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23651 * string/memcmp.c (memcmp_bytes): Likewise.
23652 * locale/programs/locarchive.c (compute_hashval): Likewise.
23653 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23654 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23655 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23656 * nss/getent.c (print_rpc, print_protocols): Likewise.
23657 (print_passwd, print_group, print_aliases): Likewise.
23658 * nis/nss-nisplus.h (niserr2nss): Likewise.
23659 * nscd/connections.c (restart_p): Likewise.
23660 Change return type to bool.
23661
eab55bfb
RM
236622013-02-05 Roland McGrath <roland@hack.frob.com>
23663
7bd642f5
RM
23664 * Makeconfig (all-Depend-files): Add existing
23665 $(sorted-subdirs:=/Depend) files.
23666 (all-subdirs): Remove nss.
23667 * sysdeps/unix/inet/Subdirs: Add it here instead.
23668 * hesiod/Depend: New file.
23669
573c29b2
RM
23670 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23671 instead of calling alloca.
23672
b2e25af0
RM
23673 * io/lseek.c (__lseek): Rename to __libc_lseek.
23674 Define __lseek as an alias.
23675
eab55bfb
RM
23676 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23677
9a0d1941
CD
236782013-02-04 Carlos O'Donell <carlos@redhat.com>
23679
23680 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23681 else clause and remove check for non-standard endianness.
23682
b83bbec4
DM
236832013-02-04 David S. Miller <davem@davemloft.net>
23684
23685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23686
6277fdab
JM
236872013-02-04 Joseph Myers <joseph@codesourcery.com>
23688
23689 [BZ #13550]
23690 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23691 (__ubp_memchr): Remove prototype.
23692 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23693 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23694 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23695 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23696 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23697 Remove alias.
23698 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23699 (__ubp_memchr): Likewise.
23700 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23701 (__ubp_memchr): Likewise.
23702 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23703 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23704 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23705 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23706 CHECK_STRING.
23707 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23708 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23709 (__getcwd): Do not use CHECK_STRING.
23710 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23711 <bp-checks.h>.
23712 (__real_chown): Do not use CHECK_STRING.
23713 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23714 <bp-checks.h>.
23715 (fchownat): Do not use CHECK_STRING.
23716 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23717 CHECK_STRING.
23718 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23719 <bp-checks.h>.
23720 (__lchown): Do not use CHECK_STRING.
23721 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23722 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23723 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23724 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23726 include <bp-checks.h>.
23727 (truncate64): Do not use CHECK_STRING.
23728 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23729 <bp-checks.h>.
23730 (__real_chown): Do not use CHECK_STRING.
23731 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23732 <bp-checks.h>.
23733 (__lchown): Do not use CHECK_STRING.
23734 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23735 <bp-checks.h>.
23736 (__chown): Do not use CHECK_STRING.
23737 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23738 <bp-checks.h>.
23739 (truncate64): Do not use CHECK_STRING.
23740 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23741 Likewise.
23742 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23743 (__xmknod): Do not use CHECK_STRING.
23744 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23745 <bp-checks.h>.
23746 (__xmknodat): Do not use CHECK_STRING.
23747 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23748 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23749
903ae060
AS
237502013-02-04 Andreas Schwab <schwab@suse.de>
23751
23752 [BZ #14142]
23753 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23754 * include/netdb.h: Likewise for h_errno.
23755 * elf/tst-stackguard1.c: Include <tls.h>.
23756
542f9466
JK
237572013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23758
23759 * elf/link.h (struct link_map): Extend the l_addr comment.
23760 * include/link.h (struct link_map): Likewise.
23761
e782a927
JM
237622013-02-01 Joseph Myers <joseph@codesourcery.com>
23763
23764 [BZ #13550]
23765 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23766 (BOUNDED_1): Remove macro.
23767 * debug/backtrace.c: Don't include <bp-checks.h>.
23768 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23769 (__backtrace): Likewise.
23770 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23771 <bp-checks.h>.
23772 (__backtrace): Don't use BOUNDED_1.
23773 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23774 <bp-checks.h>.
23775 (__backtrace): Don't use BOUNDED_1.
23776 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23777 (__backtrace): Don't use BOUNDED_1.
23778 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23779 (shmat): Don't use BOUNDED_N.
23780
8cf28c5e
JM
237812013-01-31 Joseph Myers <joseph@codesourcery.com>
23782
3a7ac8a0
JM
23783 [BZ #13550]
23784 * sysdeps/generic/bp-start.h: Remove file.
23785 * csu/libc-start.c: Don't include <bp-start.h>.
23786 (LIBC_START_MAIN): Set up __environ directly instead of using
23787 INIT_ARGV_and_ENVIRON.
23788 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23789 <bp-start.h>.
23790
f3499f95
JM
23791 [BZ #13550]
23792 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23793 definitions.
23794 (CHECK_FCNTL): Likewise.
23795 (CHECK_N_PAGES): Likewise.
23796
32a45bea
JM
23797 [BZ #13550]
23798 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23799 definitions.
23800 (CHECK_SIGSET_NULL_OK): Likewise.
23801 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23802 <bp-checks.h>.
23803 (sigpending): Don't use CHECK_SIGSET.
23804 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23805 <bp-checks.h>.
23806 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23807 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23808 <bp-checks.h>.
23809 (do_sigsuspend): Don't use CHECK_SIGSET.
23810 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23811 use CHECK_SIGSET.
23812 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23813 (do_sigwait): Don't use CHECK_SIGSET.
23814 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23815 use CHECK_SIGSET.
23816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23817 include <bp-checks.h>.
23818 (sigpending): Don't use CHECK_SIGSET.
23819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23820 include <bp-checks.h>.
23821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23822 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23823 <bp-checks.h>.
23824 (sigpending): Don't use CHECK_SIGSET.
23825 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23826 <bp-checks.h>.
23827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23828
2e8a5c8c
JM
23829 [BZ #13550]
23830 * sysdeps/generic/bp-semctl.h: Remove file.
23831 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23832 <bp-checks.h> and <bp-semctl.h>.
23833 (__old_semctl): Don't use CHECK_SEMCTL.
23834 (__new_semctl): Likewise.
23835 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23836 and <bp-semctl.h>.
23837 (__old_semctl): Don't use CHECK_SEMCTL.
23838 (__new_semctl): Likewise.
23839 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23840 <bp-checks.h> and <bp-semctl.h>.
23841 (__old_semctl): Don't use CHECK_SEMCTL.
23842 (__new_semctl): Likewise.
23843 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23844 <bp-checks.h> and <bp-semctl.h>.
23845 (semctl): Don't use CHECK_SEMCTL.
23846
c2d54929
JM
23847 [BZ #13550]
23848 * Makerules (elide-bp-thunks): Remove variable.
23849 (elide-routines.oS): Don't use $(elide-bp-thunks).
23850 (elide-routines.os): Likewise.
23851 (elide-routines.o): Likewise.
23852 (elide-routines.op): Likewise.
23853 (elide-routines.og): Likewise.
23854 (objects): Don't use $(bp-thunks).
23855 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23856 include.
23857 (common-generated): Do not add s-proto-bp.d.
23858 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23859 (int): Likewise.
23860 (typ): Likewise.
23861 Do not generate makefile rules for bounded-pointer thunks.
23862 * sysdeps/generic/bp-thunks.h: Remove file.
23863 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23864 * sysdeps/unix/s-proto-bp.S: Likewise.
23865
8cf28c5e
JM
23866 [BZ #15062]
23867 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23868 parts of result separately when argument is not close to line from
23869 -i to i and one part of argument is small.
23870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23872 * math/libm-test.inc (cacos_test): Add more tests.
23873 (casin_test): Likewise.
23874 (casinh_test): Likewise.
23875 * sysdeps/i386/fpu/libm-test-ulps: Update.
23876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23877
c4e33b8d
DM
238782013-01-31 David S. Miller <davem@davemloft.net>
23879
23880 * po/de.po: Update from translation team.
23881
3b60b421
MK
238822013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23883
23884 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23885
bb931195
TS
238862013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23887
b5a5da23
TS
23888 * configure.in (_AC_PROG_CC_C89): New definition.
23889 * configure: Regenerate.
23890
bb931195
TS
23891 * configure.in (AC_PROG_CPP): New definition.
23892 * configure: Regenerate.
23893
8c53a12c
JM
238942013-01-23 Joseph Myers <joseph@codesourcery.com>
23895
23896 * debug/tst-backtrace.h: New file.
23897 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23898 (ret): Remove variable.
23899 (x): Likewise.
23900 (FAIL): Remove macro.
23901 (NO_INLINE): Likewise.
23902 (fn1): Use match function instead of strstr.
23903 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23904 (ret): Remove variable.
23905 (x): Likewise.
23906 (FAIL): Remove macro.
23907 (NO_INLINE): Likewise.
23908 (fn): Use match function instead of strstr.
23909 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23910 (ret): Remove variable.
23911 (x): Likewise.
23912 (FAIL): Remove macro.
23913 (NO_INLINE): Likewise.
23914 (handle_signal): Use match function instead of strstr.
23915 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23916 (ret): Remove variable.
23917 (x): Likewise.
23918 (FAIL): Remove macro.
23919 (NO_INLINE): Likewise.
23920 (handle_signal): Use match function instead of strstr.
23921
4858fa2a
RM
239222013-01-23 Roland McGrath <roland@hack.frob.com>
23923
23924 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23925
bae8e7f5
DM
239262013-01-23 David S. Miller <davem@davemloft.net>
23927
23928 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23929 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23930 argument of CAS if possible.
23931 * sysdeps/sparc/sparc64/bits/atomic.h
23932 (__arch_compare_and_exchange_val_32_acq): Likewise.
23933 (__arch_compare_and_exchange_val_64_acq): Likewise.
23934
9cbbc4ae
PT
239352013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23936
23937 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23938 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23939 Include <limits.h>.
67b3f58c 23940 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23941
5655a0b5
AC
239422013-01-23 Adam Conrad <adconrad@0c3.net>
23943
23944 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23945 (LDFLAGS-tst-array5): Likewise.
23946
052aff95
JM
239472013-01-23 Joseph Myers <joseph@codesourcery.com>
23948
23949 [BZ #15036]
23950 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23951 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23952 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23953 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23954
7c1e01aa
DM
239552013-01-21 David S. Miller <davem@davemloft.net>
23956
23957 * sysdeps/sparc/backtrace.c: New file.
23958 * sysdeps/sparc/sparc32/backtrace.h: New file.
23959 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23960 * sysdeps/sparc/sparc64/backtrace.h: New file.
23961 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23962 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23963 -funwind-tables.
23964
ab087e0a
AS
239652013-01-21 Andreas Schwab <schwab@suse.de>
23966
23967 [BZ #15020]
23968 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23969 closed its stdout.
23970
ed689c2f
AS
239712013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23972
23973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23974 "mpa2.h".
23975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23976
31d470ac
JM
239772013-01-18 Joseph Myers <joseph@codesourcery.com>
23978 Mark Mitchell <mark@codesourcery.com>
23979 Tom de Vries <tom@codesourcery.com>
23980 Paul Pluzhnikov <ppluzhnikov@google.com>
23981
23982 * debug/tst-backtrace2.c: New file.
23983 * debug/tst-backtrace3.c: Likewise.
23984 * debug/tst-backtrace4.c: Likewise.
23985 * debug/tst-backtrace5.c: Likewise.
23986 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23987 (CFLAGS-tst-backtrace3.c): Likewise.
23988 (CFLAGS-tst-backtrace4.c): Likewise.
23989 (CFLAGS-tst-backtrace5.c): Likewise.
23990 (LDFLAGS-tst-backtrace2): Likewise.
23991 (LDFLAGS-tst-backtrace3): Likewise.
23992 (LDFLAGS-tst-backtrace4): Likewise.
23993 (LDFLAGS-tst-backtrace5): Likewise.
23994 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23995 tst-backtrace4 and tst-backtrace5.
23996
90567f30 239972013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23998 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23999
24000 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24001 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24002 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24003 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24005 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24006 "+r" and remove output regs list as redundant. Add explicit inline
24007 asm to specify register of return val to work around compiler codegen
24008 bug. Remove (int) cast on return value. Add return type parameter to
24009 use in macro so that this macro does not truncate return value for
24010 64-bit values.
24011 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24012 pass to INTERNAL_VSYSCALL_NCS.
24013 (INLINE_VSYSCALL): Add 'long int' as return type to
24014 INTERNAL_VSYSCALL_NCS macro invocation.
24015 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24016 INTERNAL_VSYSCALL_NCS macro invocation.
24017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24018
d3b9ea61
SP
240192013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24020
0b57daeb
SP
24021 [BZ #14496]
24022 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24023 Fix application of SIMD FP exception mask.
24024
caa99d06
SP
24025 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24026 mp_no from a power of two.
24027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24028 __mpexp_twomm1. Use __pow_mp.
24029
d3b9ea61
SP
24030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24031 multiplication.
24032
1dbaee3c
DM
240332013-01-17 David S. Miller <davem@davemloft.net>
24034
24035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24036
728d7b43
JM
240372013-01-17 Joseph Myers <joseph@codesourcery.com>
24038
24039 [BZ #15023]
24040 * include/complex.h: Condition contents on [!_COMPLEX_H].
24041 (__kernel_casinhf): New prototype.
24042 (__kernel_casinh): Likewise.
24043 (__kernel_casinhl): Likewise.
24044 * math/Makefile (libm_calls): Add k_casinh.
24045 * math/k_casinh.c: New file.
24046 * math/k_casinhf.c: Likewise.
24047 * math/k_casinhl.c: Likewise.
24048 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24049 finite nonzero arguments.
24050 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24051 finite nonzero arguments.
24052 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24053 finite nonzero arguments.
24054 * math/s_casinh.c: Do not include <float.h>.
24055 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24056 * math/s_casinhf.c: Do not include <float.h>.
24057 (__casinhf): Move code for finite nonzero arguments to
24058 k_casinhf.c.
24059 * math/s_casinhl.c: Do not include <float.h>.
24060 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24061 redefine.
24062 (__casinhl): Move code for finite nonzero arguments to
24063 k_casinhl.c.
24064 * math/libm-test.inc (cacos_test): Add more tests.
24065 * sysdeps/i386/fpu/libm-test-ulps: Update.
24066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24067
2a26ef3a
PT
240682013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24069
24070 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24071 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24072 [!HAVE_MREMAP]: Remove [defined linux] case.
24073 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24074
a897655d
SP
240752013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24076
24077 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24078
881ebe89 240792013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24080
24081 * elf/elf.h (R_386_SIZE32): New relocation.
24082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24083 R_386_SIZE32.
24084 (elf_machine_rela): Likewise.
24085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24086 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24087
59981e9b
JM
240882013-01-17 Joseph Myers <joseph@codesourcery.com>
24089
24090 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24091 (FP_FAST_FMA): Do not define.
24092 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24093 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24094 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24095 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24096 !_SOFT_FLOAT]: Likewise.
24097 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24098 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24099 value.
24100 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24101 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24102 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24103 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24104 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24105 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24106 file.
24107
cfa8054f
AS
241082013-01-16 Andreas Schwab <schwab@suse.de>
24109
24110 [BZ #14327]
24111 * include/stdlib.h (__mktemp): Add declaration.
24112 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24113 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24114
dd930cc5
SP
241152013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24116
881ebe89
SP
24117 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24118 definitions.
24119 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24120 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24121 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24122 definitions here.
24123 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24124 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24125 definitions.
24126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24127 and ONE.
24128 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24129 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24130 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24131 definitions.
24132 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24133 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24134 definitions.
24135 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24136
dd930cc5
SP
24137 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24138
c19a9f89
DM
241392013-01-15 David S. Miller <davem@davemloft.net>
24140
1aa61767
DM
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24142 trunc{,f} to libm-sysdep_routes.
24143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24145 file.
24146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24148 file.
24149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24150 file.
24151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24153 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24154 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24155 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24156 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24157 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24158 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24159
c42d5e98
DM
24160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24161 nearbyint{,f} to libm-sysdep_routes.
24162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24164 New file.
24165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24166 file.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24168 New file.
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24170 file.
24171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24174 file.
24175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24176 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24177 file.
24178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24179 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24180 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24181
c19a9f89
DM
24182 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24183 libc_feholdexcept and libc_fesetenv.
24184
357679d2
MF
241852013-01-15 Mike Frysinger <vapier@gentoo.org>
24186
24187 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24188
65a82e3d
DM
241892013-01-14 David S. Miller <davem@davemloft.net>
24190
8b954ab9
DM
24191 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24192 (SPARC_ASM_VIS2_IFUNC): Likewise.
24193 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24195 use of 'siam' instruction.
24196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24197 Likewise.
24198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24199 Likewise.
24200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24201 Likewise.
24202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24207 file.
24208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24209 file.
24210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24211 file.
24212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24213 file.
24214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24219 new VIS2 routines.
24220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24223 Likewise.
24224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24229 routines to libm-sysdep_routines.
24230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24231
65a82e3d
DM
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24233 fdim/fdimf to libm-sysdep_routines.
24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24235 file.
24236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24238 file.
24239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24242 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24243 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24244 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24245 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24246
e34ab705
SP
242472013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24248
2a91b573
SP
24249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24250 to optimize copies.
24251
1066a534
SP
24252 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24255
e34ab705
SP
24256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24257 local variable MPTWO.
24258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24259 Likewise.
24260
aba5e596
MF
242612013-01-13 Mike Frysinger <vapier@gentoo.org>
24262
24263 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24264 GLOB_NOESCAPE.
24265
e557e9e5
MF
242662013-01-13 Mike Frysinger <vapier@gentoo.org>
24267
24268 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24269
0428cec9
MF
242702013-01-13 Mike Frysinger <vapier@gentoo.org>
24271
24272 * manual/pattern.texi (glob_t): Document gl_flags.
24273 (glob64_t): Likewise.
24274
8794a964
DM
242752013-01-11 David S. Miller <davem@davemloft.net>
24276
66438c3f
RM
24277 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24278 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24279 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24280 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24281 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24282 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24283 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24284 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24285 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24286 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24287 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24288 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24289 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24290
4ae4244d
DM
24291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24292 sparc V9 rather than using V8 code.
24293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24295
8794a964
DM
24296 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24297 Move to...
24298 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24299 Here.
24300
6270516e
RM
243012013-01-11 Roland McGrath <roland@hack.frob.com>
24302
24303 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24304 not in the main loop.
24305 * configure: Regenerated.
24306
6a57d931
JM
243072013-01-11 Joseph Myers <joseph@codesourcery.com>
24308
24309 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24310 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24311 to just #else.
24312 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24313 [!__GLIBC_HAVE_LONG_LONG] case.
24314 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24315 condition to just #else.
24316 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24317 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24318 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24319 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24320 unconditional.
24321 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24322 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24323 #elif condition to just #else.
24324 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24325 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24326 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24327 #elif condition to just #else.
24328
0e8529e9
SE
243292013-01-11 Steve Ellcey <sellcey@mips.com>
24330
24331 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24332 (EF_MIPS_ARCH_64): Fix value.
24333 (EF_MIPS_ARCH_32R2): New.
24334 (EF_MIPS_ARCH_64R2): New.
24335
740b3dbe
L
243362013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24337
24338 * Makeconfig (+link-pie-before-libc): New.
24339 (+link-pie-after-libc): Likewise.
24340 (+link-pie-tests): Likewise.
24341 (+link-pie): Rewritten.
24342 (link-before-libc): Remove $(config-LDFLAGS).
24343 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24344 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24345 (config-LDFLAGS): Renamed to ...
24346 (rtld-LDFLAGS): This.
24347 (rtld-tests-LDFLAGS): New macro.
24348 (link-libc-rpath-link): Likewise.
24349 (link-libc-tests-rpath-link): Likewise.
24350 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24351 (link-libc): Prepand $(link-libc-rpath-link).
24352 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24353 (test-program-prefix): New macro.
24354 (test-via-rtld-prefix): Likewise.
24355 (test-program-cmd): Likewise.
24356 (host-test-program-cmd): Likewise.
24357 * Makefile ($(common-objpfx)testrun.sh): Replace
24358 $(run-program-prefix) with $(test-program-prefix).
24359 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24360 $(rtld-LDFLAGS).
24361 ($(common-objpfx)shlib.lds): Likewise.
24362 (build-module-helper): Likewise.
24363 ($(common-objpfx)format.lds): Likewise.
24364 * Rules (binaries-pie-tests): New.
24365 (binaries-pie-notests): Likewise.
24366 (binaries-pie): Rewritten.
24367 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24368 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24369 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24370 (make-test-out): Replace $(host-built-program-cmd) with
24371 $(host-test-program-cmd).
24372 * config.make.in (build-hardcoded-path-in-tests): New variable.
24373 * configure.in (--enable-hardcoded-path-in-tests): New configure
24374 option.
24375 (hardcoded_path_in_tests): New AC_SUBST.
24376 * configure: Regenerated.
24377 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24378 $(built-program-cmd) with $(test-program-cmd).
24379 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24380 (test_program_cmd): This.
24381 * elf/Makefile ($(objpfx)order.out): Run test with
24382 $(test-program-prefix).
24383 ($(objpfx)order2.out): Likewise.
24384 ($(objpfx)tst-initorder.out): Likewise.
24385 ($(objpfx)tst-initorder2.out): Likewise.
24386 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24387 $(test-program-cmd).
24388 ($(objpfx)tst-array1-static.out): Likewise.
24389 ($(objpfx)tst-array2.out): Likewise.
24390 ($(objpfx)tst-array3.out): Likewise.
24391 ($(objpfx)tst-array4.out): Likewise.
24392 ($(objpfx)tst-array5.out): Likewise.
24393 ($(objpfx)tst-array5-static.out): Likewise.
24394 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24395 $(test-program-cmd).
24396 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24397 $(run-program-prefix) with $(test-program-prefix).
24398 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24399 (test_program_prefix): This.
24400 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24401 $(run-program-prefix) with $(test-program-prefix).
24402 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24403 (test_program_prefix): This.
24404 * iconvdata/tst-tables.sh: Likewise.
24405 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24406 $(run-program-prefix) with $(test-program-prefix).
24407 ($(objpfx)tst-translit.out): Likewise.
24408 ($(objpfx)tst-gettext2.out): Likewise.
24409 ($(objpfx)tst-gettext4.out): Likewise.
24410 ($(objpfx)tst-gettext6.out): Likewise.
24411 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24412 (test_program_prefix): This.
24413 * intl/tst-gettext2.sh: Likewise.
24414 * intl/tst-gettext4.sh Likewise.
24415 * intl/tst-gettext6.sh: Likewise.
24416 * intl/tst-translit.sh: Likewise.
24417 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24418 with $(test-program-cmd).
24419 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24420 $(run-program-prefix) with $(test-program-prefix).
24421 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24422 (test_program_prefix): This.
24423 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24424 $(run-program-prefix) with $(test-program-prefix).
24425 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24426 (test_program_prefix): This.
24427 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24428 * posix/Makefile ($(objpfx)globtest.out): Replace
24429 $(run-via-rtld-prefix) and $(test-wrapper) with
24430 $(test-program-prefix) and $(test-via-rtld-prefix).
24431 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24432 $(test-program-prefix).
24433 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24434 $(host-test-program-cmd).
24435 (tst-spawn-ARGS): Likewise.
24436 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24437 $(test-program-prefix).
24438 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24439 (test_via_rtld_prefix): This.
24440 (test_wrapper): Renamed to ...
24441 (test_program_prefix): This.
24442 (run_program_prefix): Replaced by test_program_prefix.
24443 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24444 (test_program_prefix): This.
24445 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24446 with $(host-test-program-cmd).
24447 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24448 $(run-program-prefix) with $(test-program-prefix).
24449 ($(objpfx)tst-printf.out): Likewise.
24450 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24451 $(test-program-cmd).
24452 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24453 (test_program_prefix): This.
24454 * stdio-common/tst-unbputc.sh: Likewise.
24455 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24456 $(run-program-prefix) with $(test-program-prefix).
24457 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24458 (test_program_prefix): This.
24459 * string/Makefile ($(objpfx)tst-svc.out): Replace
24460 $(built-program-cmd) with $(test-program-cmd).
24461
c6fe55cf
AJ
244622013-01-11 Andreas Jaeger <aj@suse.de>
24463
24464 [BZ #15003]
24465 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24466 value. Sync with Linux 3.7.
24467
9e6919c8
DM
244682013-01-10 David S. Miller <davem@davemloft.net>
24469
24470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24471 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24472 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24473
1c9f1a02
RM
244742013-01-10 Roland McGrath <roland@hack.frob.com>
24475
24476 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24477 never set.
24478 * configure: Regenerated.
24479
b9de2dde
DM
244802013-01-10 David S. Miller <davem@davemloft.net>
24481
24482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24483 sparc V9 rather than using V8 code.
24484 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24485 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24486
e7f68ef4
RM
244872013-01-10 Roland McGrath <roland@hack.frob.com>
24488
24489 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24490 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24491 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24492 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24493 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24494 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24495 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24496 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24497 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24498 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24499 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24500 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24501 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24502 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24503 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24504 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24505 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24506 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24507 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24508 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24509 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24510 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24511 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24512 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24513 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24514 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24515 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24516
5a47cc9c
DM
245172013-01-10 David S. Miller <davem@davemloft.net>
24518
24519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24520
4cf8f209
L
245212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24522
24523 * posix/Makefile (tests-static): New variable.
24524 (tests): Add $(tests-static).
24525 (tst-exec-static-ARGS): New variable.
24526 (tst-spawn-static-ARGS): Likewise.
24527 * posix/tst-exec-static.c: New file.
24528 * posix/tst-spawn-static.c: Likewise.
24529 * posix/tst-exec.c: Support run directly.
24530 * posix/tst-spawn.c: Likewise.
24531
fed0faa1
JM
245322013-01-10 Joseph Myers <joseph@codesourcery.com>
24533
828beb13
JM
24534 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24535 long.
24536 * math/bits/mathcalls.h (llrint): Likewise.
24537 (llround): Likewise.
24538 * stdlib/stdlib.h (struct drand48_data): Likewise.
24539 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24540 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24541 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24542 Likewise.
24543 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24544 Likewise.
24545 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24546 (elf_greg_t): Likewise.
24547 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24548 (__jmp_buf): Likewise.
24549 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24550 definitions.
24551 (llrint): Likewise, for all definitions.
24552 (llrintl): Likewise.
24553
fed0faa1
JM
24554 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24555 Remove [__GNUC__] condition.
24556 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24557 condition to just [__USE_ISOC99].
24558 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24559
1a20cb20
L
245602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24561
24562 [BZ #14200]
24563 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24564 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24565 defined.
24566 (_POSIX_V6_ILP32_OFF32): Likewise.
24567 (_XBS5_ILP32_OFF32): Likewise.
24568 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24569 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24570
751b85f7
SP
245712013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24572
7490eb81
SP
24573 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24574
751b85f7
SP
24575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24576 doubles __mpexp_twomm1. Adjust usage.
24577 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24578 Remove.
24579
988197f0
AS
245802013-01-10 Andreas Schwab <schwab@suse.de>
24581
24582 [BZ #14964]
24583 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24584 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24585
e83d7298
DM
245862013-01-09 David S. Miller <davem@davemloft.net>
24587
034ed64b 24588 [BZ #15003]
57f41c40
AS
24589 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24590 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24591 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24592 (TCP_FASTOPEN): Define.
e83d7298
DM
24593 (tcp_repair_opt): New structure.
24594 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24595 enum values.
57f41c40
AS
24596 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24597 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24598 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24599 (tcp_cookie_transactions): New structure.
24600
d5e0b9bd
AB
246012013-01-09 Anton Blanchard <anton@samba.org>
24602
24603 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24604 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24606 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24607
0c07e3ea
JM
246082013-01-09 Joseph Myers <joseph@codesourcery.com>
24609
24610 * include/features.h (__USE_ANSI): Remove.
24611
232f7002
RM
246122013-01-09 Roland McGrath <roland@hack.frob.com>
24613
ad98e30c
RM
24614 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24615
232f7002
RM
24616 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24617
950c99ca
SP
246182013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24619
b5792741
SP
24620 * sysdeps/s390/fpu/libm-test-ulps: Update.
24621
47cf2278
SP
24622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24623
950c99ca
SP
24624 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24625 (__acr): Likewise.
24626 (__cpy): Likewise.
24627 (norm): Likewise.
24628 (denorm): Likewise.
24629 (__mp_dbl): Likewise.
24630 (__dbl_mp): Likewise.
24631 (add_magnitudes): Likewise.
24632 (sub_magnitudes): Likewise.
24633 (__add): Likewise.
24634 (__sub): Likewise.
24635 (__mul): Likewise.
24636 (__inv): Likewise.
24637 (__dvd): Likewise.
24638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24639 (__acr): Likewise.
24640 (__cpy): Likewise.
24641 (norm): Likewise.
24642 (denorm): Likewise.
24643 (__mp_dbl): Likewise.
24644 (__dbl_mp): Likewise.
24645 (add_magnitudes): Likewise.
24646 (sub_magnitudes): Likewise.
24647 (__add): Likewise.
24648 (__sub): Likewise.
24649 (__mul): Likewise.
24650 (__inv): Likewise.
24651 (__dvd): Likewise.
24652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24653 (__acr): Likewise.
24654 (__cpy): Likewise.
24655 (norm): Likewise.
24656 (denorm): Likewise.
24657 (__mp_dbl): Likewise.
24658 (__dbl_mp): Likewise.
24659 (add_magnitudes): Likewise.
24660 (sub_magnitudes): Likewise.
24661 (__add): Likewise.
24662 (__sub): Likewise.
24663 (__mul): Likewise.
24664 (__inv): Likewise.
24665 (__dvd): Likewise.
24666
eede9df9
JM
246672013-01-08 Joseph Myers <joseph@codesourcery.com>
24668
24669 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24670 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24671 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24672 2 && __USE_EXTERN_INLINES]: Likewise.
24673
c40ea3d9
AJ
246742013-01-08 Andreas Jaeger <aj@suse.de>
24675
24676 [BZ# 14985]
24677 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24678 Remove.
24679 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24680 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24681
2ccdea26
AB
246822013-01-07 Anton Blanchard <anton@samba.org>
24683
24684 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24685 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24686 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24687 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24688 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24690 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24693 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24694 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24695 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24696 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24697 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24698 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24699 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24700 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24702 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24705 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24707 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24708 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24709 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24710 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24711 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24713 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24714 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24716 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24717 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24718 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24719 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24720 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24722 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24723 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24725 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24726 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24727
a9708fed
JM
247282013-01-07 Joseph Myers <joseph@codesourcery.com>
24729
375607b9
JM
24730 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24731 (__MALLOC_PMT): Likewise.
24732 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24733 [__GNUC__], only on [_LIBC].
24734 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24735 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24736 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24737 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24738 forward declaration.
24739 (realloc_hook_ini): Likewise.
24740 (memalign_hook_ini): Likewise.
24741 (__libc_memalign): Do not use __MALLOC_PMT in variable
24742 declaration.
24743 (__libc_valloc): Likewise.
24744 (__libc_pvalloc): Likewise.
24745 (__libc_calloc): Likewise.
24746 (__posix_memalign): Likewise.
24747
a9708fed
JM
24748 [BZ #14996]
24749 * math/s_casinh.c: Include <float.h>.
24750 (__casinh): Do not do computation with squaring and square root
24751 for large arguments.
24752 * math/s_casinhf.c: Include <float.h>.
24753 (__casinhf): Do not do computation with squaring and square root
24754 for large arguments.
24755 * math/s_casinhl.c: Include <float.h>.
24756 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24757 (__casinhl): Do not do computation with squaring and square root
24758 for large arguments.
24759 * math/libm-test.inc (casin_test): Add more tests.
24760 (casinh_test): Likewise.
24761 * sysdeps/i386/fpu/libm-test-ulps: Update.
24762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24763
afec409a
L
247642013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24765
24766 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24767 (__x86_64_raw_data_cache_size): Likewise.
24768 (__x86_64_data_cache_size_half): Likewise.
24769 (__x86_64_raw_data_cache_size_half): Likewise.
24770 (__x86_64_shared_cache_size): Likewise.
24771 (__x86_64_raw_shared_cache_size): Likewise.
24772 (__x86_64_shared_cache_size_half): Likewise.
24773 (__x86_64_raw_shared_cache_size_half): Likewise.
24774 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24775 to ...
24776 (__x86_data_cache_size): This.
24777 (__x86_64_raw_data_cache_size): Renamed to ...
24778 (__x86_raw_data_cache_size): This.
24779 (__x86_64_data_cache_size_half): Renamed to ...
24780 (__x86_data_cache_size_half): This.
24781 (__x86_64_raw_data_cache_size_half): Renamed to ...
24782 (__x86_raw_data_cache_size_half): This.
24783 (__x86_64_shared_cache_size): Renamed to ...
24784 (__x86_shared_cache_size): This.
24785 (__x86_64_raw_shared_cache_size): Renamed to ...
24786 (__x86_raw_shared_cache_size): This.
24787 (__x86_64_shared_cache_size_half): Renamed to ...
24788 (__x86_shared_cache_size_half): This.
24789 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24790 (__x86_raw_shared_cache_size_half): This.
24791 * sysdeps/x86_64/memcpy.S: Updated.
24792 * sysdeps/x86_64/memset.S: Likewise.
24793 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24796
0b3986d0
DM
247972013-01-04 David S. Miller <davem@davemloft.net>
24798
24799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24800
e47686e9
AS
248012013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24802
d643bac1
AS
24803 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24804 1 to avoid redefinition warning.
24805 (__USE_GNU): Don't define.
24806 (init_signaling_nan): Protoize.
24807
e47686e9
AS
24808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24809
b18decba
SP
248102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24811
fffb407f
SP
24812 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24814 (__cpymn): Likewise.
24815 (norm): Remove commented code.
24816 (denorm): Likewise.
24817 (__mp_dbl): Likewise.
24818 (__inv): Likewise.
24819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24820 (__cpymn): Likewise.
24821 (norm): Remove commented code.
24822 (denorm): Likewise.
24823 (__mp_dbl): Likewise.
24824 (__inv): Likewise.
24825
b18decba
SP
24826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24827 mp_no value for 1.0 and 2.0.
24828 (norm): Use RADIXI instead of radixi.d.
24829 (denorm): Likewise.
24830 (__mul): Use 0.0 instead of zero.d.
24831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24832 mp_no value for 1.0 and 2.0.
24833 (norm): Use RADIXI instead of radixi.d.
24834 (denorm): Likewise.
24835 (__mul): Use 0.0 instead of zero.d.
24836
cdc1c96f
JM
248372013-01-04 Joseph Myers <joseph@codesourcery.com>
24838
24839 [BZ #14994]
24840 * math/s_casinh.c (__casinh): Reduce finite argument to first
24841 quadrant then set signs of results at the end.
24842 * math/s_casinhf.c (__casinhf): Likewise.
24843 * math/s_casinhl.c (__casinhl): Likewise.
24844 * math/libm-test.inc (casin_test): Add more tests.
24845 (casinh_test): Likewise.
24846 * sysdeps/i386/fpu/libm-test-ulps: Update.
24847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24848
302913e1
SP
248492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24850
6420d207
SP
24851 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24852
a9e48ab4
SP
24853 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24854
b7837264
SP
24855 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24856 declarations.
24857 (denorm): Likewise.
24858 (__mp_dbl): Likewise.
24859 (__inv): Likewise.
24860
f8af25d2
SP
24861 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24862 and adjust the header comment.
24863
302913e1
SP
24864 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24865 variable name from declaration.
24866
5d7dd1ca
L
248672013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24868
24869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24870 Initialize COMMON_CPUID_INDEX_7 element.
24871 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24872 (CPUID_RTM): Likewise.
24873 (HAS_RTM): Likewise.
24874 (COMMON_CPUID_INDEX_7): New enum.
24875
2f5f40f4
AS
248762013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24877
24878 [BZ #14981]
24879 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24880 size is zero, record memory as freed.
24881
4056f4a0
AJ
248822013-01-03 Andreas Jaeger <aj@suse.de>
24883
24884 * po/ia.po: Add new Interlingua translation.
24885
ab15736f 248862012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24887
24888 * locale/programs/localedef.c: Fix description of '--posix' flag.
24889
568035b7
JM
248902013-01-02 Joseph Myers <joseph@codesourcery.com>
24891
e6898b8d
JM
24892 * NEWS: Update dates in second copyright notice.
24893 * README: Update copyright dates in example.
24894 * manual/libc.texinfo: Update copyright dates.
24895 * scripts/test-installation.pl: Update copyright date in --version
24896 output.
24897
0e2f9562
JM
24898 * hurd/ctty-input.c: Fix copyright notice formatting.
24899 * hurd/ctty-output.c: Likewise.
24900 * hurd/dtable.c: Likewise.
24901 * hurd/hurd-raise.c: Likewise.
24902 * hurd/hurdprio.c: Likewise.
24903 * hurd/msgportdemux.c: Likewise.
24904 * misc/sys/file.h: Likewise.
24905 * misc/sys/ioctl.h: Likewise.
24906 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24907 * sysdeps/mach/hurd/chdir.c: Likewise.
24908 * sysdeps/mach/hurd/fchdir.c: Likewise.
24909 * sysdeps/mach/hurd/rename.c: Likewise.
24910 * sysdeps/mach/hurd/rmdir.c: Likewise.
24911 * sysdeps/mach/hurd/seekdir.c: Likewise.
24912 * sysdeps/mach/hurd/setsid.c: Likewise.
24913 * sysdeps/posix/wait3.c: Likewise.
24914
568035b7
JM
24915 * All files with FSF copyright notices: Update copyright dates
24916 using scripts/update-copyrights.
24917 * intl/plural.c: Regenerated.
24918 * locale/programs/charmap-kw.h: Likewise.
24919 * locale/programs/locfile-kw.h: Likewise.
24920
da08f647
SP
249212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24922
0f5477af
SP
24923 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24924 four values.
24925
44e0d4c2
SP
24926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24927 calculation loop and add branch prediction.
24928
4d55b4e5
SP
24929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24930 check access beyond bounds of m1np.
24931
da08f647
SP
24932 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24933 MPTWO.
24934 (__inv): Remove local variable MPTWO to use the global
24935 constant.
24936 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24938 variable MPTWO.
24939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24940 MP3HALFS static const.
24941
8e051029
DM
249422013-01-01 David S. Miller <davem@davemloft.net>
24943
24944 * po/ca.po: Update from translation team.
24945
f4cf5f2d
JM
249462013-01-01 Joseph Myers <joseph@codesourcery.com>
24947
24948 * scripts/update-copyrights: New file.
24949 * Makeconfig: Reformat copyright notice.
24950 * ctype/ctype.h: Likewise.
24951 * debug/swprintf_chk.c: Likewise.
24952 * elf/dl-cache.c: Likewise.
24953 * elf/dl-debug.c: Likewise.
24954 * elf/dl-object.c: Likewise.
24955 * grp/initgroups.c: Likewise.
24956 * hurd/Makefile: Likewise.
24957 * hurd/hurd/signal.h: Likewise.
24958 * hurd/hurdfault.c: Likewise.
24959 * hurd/hurdioctl.c: Likewise.
24960 * hurd/hurdlookup.c: Likewise.
24961 * hurd/intr-msg.c: Likewise.
24962 * iconv/gconv_open.c: Likewise.
24963 * libio/swprintf.c: Likewise.
24964 * locale/lc-ctype.c: Likewise.
24965 * locale/nl_langinfo.c: Likewise.
24966 * mach/Machrules: Likewise.
24967 * mach/Makefile: Likewise.
24968 * malloc/obstack.h: Likewise.
24969 * manual/Makefile: Likewise.
24970 * manual/tsort.awk: Likewise.
24971 * misc/bits/stab.def: Likewise.
24972 * nis/nis_print_group_entry.c: Likewise.
24973 * nis/nis_table.c: Likewise.
24974 * nis/nss_compat/compat-pwd.c: Likewise.
24975 * nis/nss_compat/compat-spwd.c: Likewise.
24976 * po/Makefile: Likewise.
24977 * posix/fnmatch.c: Likewise.
24978 * posix/regex.h: Likewise.
24979 * resolv/Makefile: Likewise.
24980 * resolv/nss_dns/dns-network.c: Likewise.
24981 * resolv/res_hconf.c: Likewise.
24982 * scripts/gen-sorted.awk: Likewise.
24983 * soft-fp/soft-fp.h: Likewise.
24984 * stdio-common/printf.h: Likewise.
24985 * stdlib/monetary.h: Likewise.
24986 * stdlib/random.c: Likewise.
24987 * stdlib/random_r.c: Likewise.
24988 * sysdeps/generic/Makefile: Likewise.
24989 * sysdeps/gnu/Makefile: Likewise.
24990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25014 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25017 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25018 * sysdeps/mach/hurd/errnos.awk: Likewise.
25019 * sysdeps/mach/hurd/fork.c: Likewise.
25020 * sysdeps/mach/hurd/getcwd.c: Likewise.
25021 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25022 * sysdeps/mach/hurd/mmap.c: Likewise.
25023 * sysdeps/mach/hurd/utimes.c: Likewise.
25024 * sysdeps/mach/hurd/xmknod.c: Likewise.
25025 * sysdeps/posix/profil.c: Likewise.
25026 * sysdeps/posix/readdir_r.c: Likewise.
25027 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25028 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25029 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25032 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25033 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25036 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25038 * sysdeps/pthread/lio_listio.c: Likewise.
25039 * sysdeps/sparc/dl-procinfo.h: Likewise.
25040 * sysdeps/unix/i386/sysdep.S: Likewise.
25041 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25042 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25043 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25044 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25046 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25047 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25048 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25049 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25050 * sysdeps/wordsize-32/divdi3.c: Likewise.
25051 * time/sys/time.h: Likewise.
25052 * wcsmbs/Makefile: Likewise.
25053
0549fbba
DM
250542013-01-01 David S. Miller <davem@davemloft.net>
25055
a141f1a7
DM
25056 * po/fr.po: Update from translation team.
25057
0549fbba
DM
25058 * catgets/gencat.c: Update copyright year.
25059 * csu/version.c: Likewise.
25060 * debug/catchsegv.sh: Likewise.
25061 * debug/pcprofiledump.c: Likewise.
25062 * debug/xtrace.sh: Likewise.
25063 * elf/ldconfig.c: Likewise.
25064 * elf/ldd.bash.in: Likewise.
25065 * elf/pldd.c: Likewise.
25066 * elf/sotruss.ksh: Likewise.
25067 * elf/sprof.c: Likewise.
25068 * iconv/iconv_prog.c: Likewise.
25069 * iconv/iconvconfig.c: Likewise.
25070 * locale/programs/locale.c: Likewise.
25071 * locale/programs/localedef.c: Likewise.
25072 * login/programs/pt_chown.c: Likewise.
25073 * malloc/memusage.sh: Likewise.
25074 * malloc/memusagestat.c: Likewise.
25075 * malloc/mtrace.pl: Likewise.
25076 * nscd/nscd.c: Likewise.
25077 * nss/getent.c: Likewise.
25078 * nss/makedb.c: Likewise.
25079 * posix/getconf.c: Likewise.
25080
18ea052c
SP
250812012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25082
25083 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25084 numbers.
25085
9c89fca6
MF
250862012-12-30 Mike Frysinger <vapier@gentoo.org>
25087
25088 * math/bits/mathcalls.h (modf): Use __nonnull.
25089
085ec079
SP
250902012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25091
25092 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25093 (split): Use macro CN instead of the bare value.
25094 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25095 could be used.
25096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25097 instead of the bare value.
25098 (power1): Likewise.
25099
6d9f97e1
SP
251002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25101
d63f73be
SP
25102 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25103 __ATAN_TWOM.
25104 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25105
6d9f97e1
SP
25106 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25107 their values.
25108 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25109 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25110 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25111 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25112
4c4febf5
AJ
251132012-12-28 Andreas Jaeger <aj@suse.de>
25114
af5843ef
AJ
25115 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25116 values are from Linux 3.7.
25117
4c4febf5
AJ
25118 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25119 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25120
99136f82
SP
251212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25122
2f216c3c 25123 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25124 TRUE case.
25125
99136f82
SP
25126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25127 (norm): Likewise.
25128 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25129 variables with preprocessor constants.
25130 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25131 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25132 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25133
7fffbdff
BH
251342012-12-27 Bruno Haible <bruno@clisp.org>
25135
25136 [BZ #14317]
25137 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25138 only if needed.
25139
b76eb5f0
SP
251402012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25141
31a7fe5c
SP
25142 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25143 and use variable directly.
25144 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25145
b76eb5f0
SP
25146 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25147 MPONE.
25148 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25150 variable MPONE.
25151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25153 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25154 include directive. Remove local variable MPONE.
25155 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25156 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25157 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25158
2c8bfe7d
DM
251592012-12-25 David S. Miller <davem@davemloft.net>
25160
25161 * version.h (RELEASE): Set to "development".
25162 (VERSION): Set to "2.17.90".
25163 * NEWS: Add 2.18 section.
25164
147d03b0
DM
251652012-12-21 David S. Miller <davem@davemloft.net>
25166
25167 * po/hr.po: Update from translation team.
25168
a8ebb2b9
AK
251692012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25170
25171 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25172
95b4f1b6
SE
251732012-12-19 Steve Ellcey <sellcey@mips.com>
25174
b2d94007 25175 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25176
cedb2a90
MS
251772012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25178
25179 * manual/contrib.texi (Contributors): Spelling correction.
25180
bbf527d6
DM
251812012-12-15 David S. Miller <davem@davemloft.net>
25182
25183 * po/ru.po: Update from translation team.
25184
bc38c906
DM
251852012-12-13 David S. Miller <davem@davemloft.net>
25186
85429b1a
DM
25187 * NEWS: Mention IFUNC testsuite enhancements.
25188
d283e353
DM
25189 * po/pl.po: Update from translation team.
25190 * po/bg.po: Likewise.
25191
bc38c906
DM
25192 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25193 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25194
a181b0d7
DM
251952012-12-11 David S. Miller <davem@davemloft.net>
25196
4641d57e
DM
25197 * po/sv.po: Update from translation team.
25198
f7bc6495
DM
25199 * po/vi.po: Update from translation team.
25200
6fc9048f
DM
25201 * po/cs.po: Update from translation team.
25202
a181b0d7
DM
25203 * po/de.po: Update from translation team.
25204 * po/eo.po: Likewise.
25205 * po/nl.po: Likewise.
25206
f70bfe80
SP
252072012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25208
3c8b4190
SP
25209 [BZ #14246]
25210 * manual/argp.texi (Argp Helper Functions): Move node to follow
25211 Argp Parsing State.
25212
f70bfe80
SP
25213 [BZ #14872]
25214 * manual/conf.texi (Limits on File System Capacity): Mention if
25215 terminating null is included in the max size.
25216
188f0adf
AJ
252172012-12-10 Andreas Jaeger <aj@suse.de>
25218
25219 * po/cs.po: Update from translation team.
25220
56e7d3ad
SP
252212012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25222
25223 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25224 void pointer and cast to uintptr_t.
25225 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25226 path.
25227 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25228 * sysdeps/s390/s390-64/memset.S: Likewise.
25229
76f2d2ea 252302012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25231
25232 [BZ #14833]
25233 * menual/message.texi (Message Translation): Fix typos.
25234 (Helper programs for gettext): Likewise.
25235
67cbf9a2
AS
252362012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25237
25238 [BZ #14898]
25239 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25240 Change to -1.
25241
682d0e9a
DM
252422012-12-07 David S. Miller <davem@davemloft.net>
25243
25244 * po/libc.pot: Update.
25245
573cd484
RH
252462012-12-07 Richard Henderson <rth@redhat.com>
25247
7e9da188 25248 [BZ #10114]
573cd484
RH
25249 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25250 normal/normal case to before the switch.
25251 (_FP_DIV): Likewise.
25252
e933a943
MF
252532012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25254 Mike Frysinger <vapier@gentoo.org>
25255
25256 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25257 check for __NR_fadvise64_64.
25258
82123268
CM
252592012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25260
25261 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25262 0, not just to plain "0" as a statement.
25263 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25264 with cw.
25265
d9814526
JM
252662012-12-06 Joseph Myers <joseph@codesourcery.com>
25267
25268 * NEWS: Use sourceware.org in Bugzilla URL.
25269
7728c574
SP
252702012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25271
f16946dd
SP
25272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25273 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25274
5704bbcb
SP
25275 * stdio-common/tst-put-error.c (do_test): Add newline to the
25276 padded test to ensure flush.
25277
17aa0516
JL
252782012-12-05 Jeff Law <law@redhat.com>
25279
25280 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25281
363313b5
JM
252822012-12-05 Joseph Myers <joseph@codesourcery.com>
25283
effbd42a
JM
25284 * README: Don't refer to ports add-on as distributed separately.
25285 Mention AArch64 in list of systems supported in the ports add-on.
25286
87600365
JM
25287 * LICENSES: Add more non-FSF copyright and license notices.
25288
a0d7066a
JM
25289 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25290 ((unused)).
25291
66ca5a5b
JM
25292 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25293
363313b5
JM
25294 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25295 10000 as width of padded output.
25296
b37984ad
JM
252972012-12-04 Joseph Myers <joseph@codesourcery.com>
25298
9003570a
JM
25299 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25300
b37984ad
JM
25301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25302 variable LX with __attribute__ ((unused)).
25303 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25304 Likewise.
25305 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25306 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25307 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25308 with __attribute__ ((unused)).
25309
c8df52ec
DM
253102012-12-04 David S. Miller <davem@abraco.davemloft.net>
25311
25312 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25313
b3b099af
JM
253142012-12-04 Joseph Myers <joseph@codesourcery.com>
25315
c33aa6e3
JM
25316 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25317 (CFLAGS-nldbl-acos.c): New variable.
25318 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25319 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25320 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25321 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25322 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25323 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25324 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25325 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25326 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25327 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25328 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25329 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25330 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25331 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25332 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25333 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25334 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25335 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25336 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25337 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25338 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25339 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25340 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25341 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25342 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25343 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25344 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25345 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25346 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25347 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25348 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25349 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25350 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25351 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25352 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25353 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25354 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25355 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25356 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25357 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25358 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25359 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25360 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25361 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25362 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25363 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25364 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25365 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25366 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25367 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25368 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25369 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25370 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25371 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25372 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25373 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25374 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25375 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25376 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25377 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25378 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25379 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25380 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25381 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25382 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25383 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25384 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25385 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25386 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25387 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25388 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25389 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25390 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25391 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25392 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25393 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25394 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25395 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25396 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25397 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25398 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25399 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25400 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25401 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25402 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25403 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25404 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25405 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25406 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25407 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25408 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25409 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25410 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25415
20f0018d
JM
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25417 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25418
b3b099af
JM
25419 [BZ #14914]
25420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25421 whole low double instead of just low 47 bits when splitting values
25422 into two parts.
25423
029264d1
AM
254242012-12-03 Allan McRae <allan@archlinux.org>
25425
25426 * manual/stdio.texi (Predefined Printf Handlers): Remove
25427 @hsep and @vsep usage.
25428
c9d6789e
MF
254292012-12-03 Mike Frysinger <vapier@gentoo.org>
25430
25431 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25432 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25433
4b7634a5
JL
254342012-12-03 Jeff Law <law@redhat.com>
25435
25436 * time/sys/time.h (settimeofday): Do not mark TV argument
25437 as __nonnull.
25438
eb6cbd24
MF
254392012-12-01 Mike Frysinger <vapier@gentoo.org>
25440
25441 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25442 when currently writing and seek to current position when not.
25443 * libio/Makefile (tests): Remove bug-fclose1.
25444 * libio/bug-fclose1.c: Delete.
25445
f638872a
JM
254462012-12-01 Joseph Myers <joseph@codesourcery.com>
25447
25448 * manual/arith.texi (feenableexcept): Fix typo.
25449 (fedisableexcept): Likewise.
25450
48085d14
RM
254512012-11-30 Roland McGrath <roland@hack.frob.com>
25452
25453 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25454 second, differently-typed declaration, rather than a cast.
25455
1a538b9f
SP
254562012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25457
25458 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25459 * include/rpc/svc.h: ... here.
25460
d07f2ff1 254612012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25462
25463 [BZ #13013]
25464 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25465 depending n and resplen2 to catch cases where answer
25466 equals answerp2.
25467
c93ec1f0
CD
254682012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25469
25470 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25471 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25472
37db69de
MF
254732012-11-29 Mike Frysinger <vapier@gentoo.org>
25474
25475 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25476
e10c4e4f
RM
254772012-11-29 Roland McGrath <roland@hack.frob.com>
25478
25479 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25480
2af1b328
JL
254812012-11-28 Jeff Law <law@redhat.com>
25482
25483 [BZ #13761]
25484 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25485 dataset_temporary. Track alloca usage into alloca_used.
25486 If dataset is large allocate and release it via malloc/free.
25487
111db5b1
FW
254882012-06-04 Florian Weimer <fweimer@redhat.com>
25489
f06cc227 25490 [BZ #14197]
111db5b1
FW
25491 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25492
dd694abd
DM
254932012-11-28 David S. Miller <davem@davemloft.net>
25494
25495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25496
9984dd01
JM
254972012-11-28 Joseph Myers <joseph@codesourcery.com>
25498
25499 [BZ #14803]
25500 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25501 of pi/2 rounded to nearest to 64 bits.
25502 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25503 nearest to 64 bits.
25504 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25505 bits.
25506
14bc93a9
JL
255072012-11-28 Jeff Law <law@redhat.com>
25508 Martin Osvald <mosvald@redhat.com>
25509
25510 [BZ #14889]
25511 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25512 * sunrpc/svc.c: Include time.h.
25513 (__svc_accept_failed): New function.
25514 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25515 any reason other than EINTR, call __svc_accept_failed.
25516 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25517 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25518
e3c6aa3a
AS
255192012-11-28 Andreas Schwab <schwab@suse.de>
25520
25521 * scripts/abilist.awk: Also handle indirect functions in .opd
25522 section.
25523
1bead169
JM
255242012-11-28 Joseph Myers <joseph@codesourcery.com>
25525
25526 [BZ #13881]
25527 * sysdeps/x86/fpu/powl_helper.c: New file.
25528 * sysdeps/x86/fpu/Makefile: Likewise.
25529 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25530 (p3): New object.
25531 (__ieee754_powl): Use __powl_helper for finite arguments except
25532 integer exponents below 8.
25533 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25534 (p3): New object.
25535 (__ieee754_powl): Use __powl_helper for finite arguments except
25536 integer exponents below 8.
25537 * math/libm-test.inc (pow_test): Add more tests and enable some
25538 previously disabled tests.
25539 * sysdeps/i386/fpu/libm-test-ulps: Update.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25541
0817d63d
SP
255422012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25543 Carlos O'Donell <carlos_odonell@mentor.com>
25544
25545 * nss/makedb.c (is_prime): Assert that input is odd and greater
25546 than 4. Note that fact in a comment too.
25547 (next_prime): Add 4 to input.
25548
de2fd463
SP
255492012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25550
25551 [BZ #11741]
25552 * libio/Makefile (tests): Add test case tst-fwrite-error.
25553 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25554 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25555 * libio/tst-fwrite-error.c: New test case.
25556
c515fb51
L
255572012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25558
25559 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25560 before casting to void *.
25561 * include/libc-internal.h (__pointer_type): New macro.
25562 (__integer_if_pointer_type_sub): Likewise.
25563 (__integer_if_pointer_type): Likewise.
25564 (cast_to_integer): Likewise.
25565 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25566 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25567 before casting to atomic64_t.
25568 (atomic_exchange_acq): Likewise.
25569 (__arch_exchange_and_add_body): Likewise.
25570 (__arch_add_body): Likewise.
25571 (atomic_add_negative): Likewise.
25572 (atomic_add_zero): Likewise.
25573
4cf77aa9
JM
255742012-11-26 Joseph Myers <joseph@codesourcery.com>
25575
25576 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25577 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25578 (add_fdes): Likewise.
25579 (linear_search_fdes): Likewise.
25580 (binary_search_unencoded_fdes): Likewise.
25581
d260b3b4
AS
255822012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25583
25584 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25585
67060746
AC
255862012-11-24 Adam Conrad <adconrad@0c3.net>
25587
25588 * configure.in: Autodetect C++ header directories.
25589 * configure: Regenerated.
25590
800938a1
MF
255912012-11-23 Mike Frysinger <vapier@gentoo.org>
25592
25593 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25594
4e6e34e6
AS
255952012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25596
25597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25598
7c7feb47
JM
255992012-11-22 Joseph Myers <joseph@codesourcery.com>
25600
7184dcdf
JM
25601 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25602 LDBL_MANT_DIG == 106]: Disable some tests.
25603 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25604 Likewise.
25605 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25606 Likewise.
25607
0a42601f
JM
25608 [BZ #14871]
25609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25610 input for small inputs. Return +/- pi/2 for large inputs.
25611 * math/libm-test.inc (atan_test): Add more tests.
25612
79c9b9fe
JM
25613 * sysdeps/generic/unwind-dw2-fde-glibc.c
25614 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25615 __attribute__ ((unused)).
25616
c60d3bf2
JM
25617 [BZ #14645]
25618 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25619 x * y if x and y are nonzero and z is zero.
25620
ef1e0867
JM
25621 [BZ #14811]
25622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25623 nonzero exponents with absolute value below 0x1p-117 to +/-
25624 0x1p-117.
25625
1468ded3
JM
25626 [BZ #14869]
25627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25628 up arguments below 2**-450, not just those below 2**-500.
25629 * math/libm-test.inc (hypot_test): Add another test.
25630
8e27e3cc
JM
25631 [BZ #14868]
25632 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25633 Return a+b for ratio over 2**120, not 2**60.
25634 * math/libm-test.inc (hypot_test): Add another test.
25635
c9c0279b
JM
25636 * math/libm-test.inc (clog_test): Use
25637 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25638 (clog10_test): Likewise.
25639
7c7feb47
JM
25640 [BZ #6778]
25641 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25642
fff1530e
AS
256432012-11-22 Andreas Schwab <schwab@suse.de>
25644
25645 * sysdeps/i386/fpu/libm-test-ulps: Update.
25646
94558d30
PT
256472012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25648
25649 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25650 printf output with newline.
25651
7e1be741
L
256522012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25653
6bfea974
L
25654 [BZ #14865]
25655 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25656 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25657 -z nodlopen, -z initfirst and -z execstack support.
25658 * configure: Regenerated.
25659
7e1be741
L
25660 * elf/elf.h (DF_1_NODIRECT): New macro.
25661 (DF_1_IGNMULDEF): Likewise.
25662 (DF_1_NOKSYMS): Likewise.
25663 (DF_1_NOHDR): Likewise.
25664 (DF_1_EDITED): Likewise.
25665 (DF_1_NORELOC): Likewise.
25666 (DF_1_SYMINTPOSE): Likewise.
25667 (DF_1_GLOBAUDIT): Likewise.
25668 (DF_1_SINGLETON): Likewise.
25669 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25670 DT_1_SUPPORTED_MASK bits.
25671 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25672
105ce2ce
CD
256732012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25674
25675 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25676
123be9de
TS
256772012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25678
d072f3f7
TS
25679 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25680 macro.
25681
123be9de
TS
25682 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25683 (sendmmsg): Move declarations...
25684 * socket/sys/socket.h: ... here.
25685 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25686 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25687 include it from...
25688 * socket/recvmmsg.c: ... this new file.
25689 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25690 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25691 definition of __sendmmsg hidden.
25692 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25693 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25694 Move ENOSYS stub into and include it from...
25695 * socket/sendmmsg.c: ... this new file.
25696 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25697 (sysdep_routines): Move recvmmsg and sendmmsg...
25698 * socket/Makefile (routines): ... here.
25699 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25700 (GLIBC_PRIVATE): Add __sendmmsg.
25701 * include/sys/socket.h (__sendmmsg): Add declarations.
25702 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25703 sendmmsg.
25704
cf9a5d18
JM
257052012-11-20 Joseph Myers <joseph@codesourcery.com>
25706
25707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25708 variable I1 with __attribute__ ((unused)).
25709 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25710
ecd4caf9
JM
257112012-11-19 Joseph Myers <joseph@codesourcery.com>
25712
be14d48f
JM
25713 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25714 DUMMY variables with __attribute__ ((unused)).
25715
ecd4caf9
JM
25716 * bits/byteswap.h: Include <bits/types.h>.
25717 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25718
986cab95
PT
257192012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25720
25721 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25722 string_t. Do not manually set errno.
25723 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25724 length with __strnlen. Make sure to both set errno and return it on
25725 failure.
25726
6d33cc9d
DM
257272012-11-19 David S. Miller <davem@davemloft.net>
25728
25729 With help from Joseph Myers.
25730 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25731 very large arguments properly.
25732 * math/libm-test.inc (atan_test): New tests.
25733 (atan2_test): New tests.
25734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25736
ee663277
JM
257372012-11-19 Joseph Myers <joseph@codesourcery.com>
25738
877f2d8e
JM
25739 [BZ #14856]
25740 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25741 Define to 3.
25742
116fc08a
JM
25743 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25744 [POSIX] (EADDRNOTAVAIL): Likewise.
25745 [POSIX] (EAFNOSUPPORT): Likewise.
25746 [POSIX] (EALREADY): Likewise.
25747 [POSIX] (ECONNABORTED): Likewise.
25748 [POSIX] (ECONNREFUSED): Likewise.
25749 [POSIX] (ECONNRESET): Likewise.
25750 [POSIX] (EDESTADDRREQ): Likewise.
25751 [POSIX] (EDQUOT): Likewise.
25752 [POSIX] (EHOSTUNREACH): Likewise.
25753 [POSIX] (EIDRM): Likewise.
25754 [POSIX] (EISCONN): Likewise.
25755 [POSIX] (ELOOP): Likewise.
25756 [POSIX] (EMULTIHOP): Likewise.
25757 [POSIX] (ENETDOWN): Likewise.
25758 [POSIX] (ENETUNREACH): Likewise.
25759 [POSIX] (ENOBUFS): Likewise.
25760 [POSIX] (ENODATA): Likewise.
25761 [POSIX] (ENOLINK): Likewise.
25762 [POSIX] (ENOMSG): Likewise.
25763 [POSIX] (ENOPROTOOPT): Likewise.
25764 [POSIX] (ENOSR): Likewise.
25765 [POSIX] (ENOSTR): Likewise.
25766 [POSIX] (ENOTCONN): Likewise.
25767 [POSIX] (ENOTSOCK): Likewise.
25768 [POSIX] (EOPNOTSUPP): Likewise.
25769 [POSIX] (EOVERFLOW): Likewise.
25770 [POSIX] (EPROTO): Likewise.
25771 [POSIX] (EPROTONOSUPPORT): Likewise.
25772 [POSIX] (EPROTOTYPE): Likewise.
25773 [POSIX] (ESTALE): Likewise.
25774 [POSIX] (ETIME): Likewise.
25775 [POSIX] (ETXTBSY): Likewise.
25776 [POSIX] (EWOULDBLOCK): Likewise.
25777 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25778 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25779 [POSIX] (SEEK_CUR): Likewise.
25780 [POSIX] (SEEK_END): Likewise.
25781 [POSIX || UNIX98] (mode_t): Do not require.
25782 [POSIX] (off_t): Likewise.
25783 [POSIX] (pid_t): Likewise.
25784 [POSIX] (sys/stat.h): Do not allow header.
25785 [POSIX] (unistd.h): Likewise.
25786 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25787 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25788 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25789 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25790 require.
25791 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25792 sigevent): Specify elements.
25793 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25794 entry.
25795 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25796 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25797
a483863f
JM
25798 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25799 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25800 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25801 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25802 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25803 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25804 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25805 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25806 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25807 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25808 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25809 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25810 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25812 Likewise.
25813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25814 Likewise.
25815 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25816 Likewise.
25817 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25818 Likewise.
25819 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25820 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25821 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25822 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25823 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25824 Specify lower bound on value.
25825 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25826 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25827 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25828 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25829 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25830 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25831 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25832 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25833 value.
25834 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25835 as optional.
25836 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25837 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25838 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25839 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25840 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25841 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25842 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25843 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25844 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25845 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25846 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25847 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25848 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25849 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25850 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25851 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25852 entry.
25853 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25854 optional.
25855 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25856 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25857 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25858 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25859 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25860 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25861 Likewise.
25862 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25863 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25864 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25865 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25866 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25867 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25868 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25869 as optional.
25870 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25871 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25872 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25873 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25874 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25875 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25876 specify as optional.
25877 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25878 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25879 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25880 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25881 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25882 [XPG3] (NL_LANGMAX): Likewise.
25883 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25884 [POSIX || XPG3] (NL_NMAX): Likewise.
25885 [POSIX || XPG3] (NL_SETMAX): Likewise.
25886 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25887 [XPG3] (NZERO): Likewise.
25888 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25889 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25890 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25891 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25892 (REG_ERANGE): Expect.
25893 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25894 optional-constant.
25895 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25896 Use (void) in prototype.
25897 [POSIX] (*_t): Allow.
25898 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25899 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25900 (WRDE_BADVAL): Expect.
25901
5ba924e3
JM
25902 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25903 expect.
25904 [XPG3 || XPG4] (O_RSYNC): Likewise.
25905 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25906 Likewise.
25907 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25908 [XPG3 || XPG4] (sigqueue): Likewise.
25909 [XPG3 || XPG4] (sigtimedwait): Likewise.
25910 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25911 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25912 [XPG3 || XPG4] (vsnprintf): Likewise.
25913 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25914 Likewise.
25915 [XPG3 || XPG4] (blksize_t): Likewise.
25916 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25917 Likewise.
25918 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25919 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25920 [XPG3 || XPG4] (struct itimerspec): Likewise.
25921 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25922 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25923 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25924 [XPG3 || XPG4] (clockid_t): Likewise.
25925 [XPG3 || XPG4] (timer_t): Likewise.
25926 [XPG3 || XPG4] (clock_getres): Likewise.
25927 [XPG3 || XPG4] (clock_gettime): Likewise.
25928 [XPG3 || XPG4] (clock_settime): Likewise.
25929 [XPG3 || XPG4] (nanosleep): Likewise.
25930 [XPG3 || XPG4] (timer_create): Likewise.
25931 [XPG3 || XPG4] (timer_delete): Likewise.
25932 [XPG3 || XPG4] (timer_gettime): Likewise.
25933 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25934 [XPG3 || XPG4] (timer_settime): Likewise.
25935 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25936 [XPG3 || XPG4] (getlogin_r): Likewise.
25937 [XPG3 || XPG4] (pread): Likewise.
25938 [XPG3 || XPG4] (pthread_atfork): Likewise.
25939 [XPG3 || XPG4] (pwrite): Likewise.
25940
ee663277
JM
25941 [BZ #14835]
25942 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25943 <bits/siginfo.h>.
25944
942caa16
PT
259452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25946
e19af380
PT
25947 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25948 finalizing MALLSTREAM.
25949
942caa16
PT
25950 * sysdeps/mach/hurd/syncfs.c: New file.
25951
cfde9b46
SP
259522012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25953
25954 [BZ #14719]
25955 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25956 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25957 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25958 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25959 (_nss_dns_gethostbyname4_r): Likewise.
25960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25961 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25962
f6da27e5
PH
259632012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25964
25965 [BZ #13763]
25966 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25967
6665d4a2
SM
259682012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25969
1f51ee92
SM
25970 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25971 * elf/cache.c (print_entry): Print ",AArch64" for
25972 FLAG_AARCH64_LIB64
25973
6665d4a2
SM
25974 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25975 * elf/cache.c (print_entry): Print ",hard-float" for
25976 FLAG_ARM_LIBHF.
25977
05b227bd
DM
259782012-11-18 David S. Miller <davem@davemloft.net>
25979
25980 With help from Joseph Myers.
25981 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25982 cutoff to 2**-13.
25983 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25984 cutoff to 2**-25.
25985 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25986 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25987 small.
25988 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25989 * math/libm-test.inc (y0_test): New tests.
25990 (y1_test): New tests.
25991 * sysdeps/i386/fpu/libm-test-ulps: Update.
25992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25994
786b0b67
AS
259952012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25996
25997 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25998 64-bit targets.
25999 * configure: Regenerated.
26000
8e18b86d
DM
260012012-11-17 David S. Miller <davem@davemloft.net>
26002
26003 [BZ #14811]
26004 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26005 nonzero exponents with absolute value below 0x1p-128 to +/-
26006 0x1p-128.
26007
531f1ae0
JM
260082012-11-17 Joseph Myers <joseph@codesourcery.com>
26009
12df29e2
JM
26010 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26011
150dc1a0
JM
26012 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26013
531f1ae0
JM
26014 * posix/getconf-speclist.c: New file.
26015 * posix/posix-envs.def: Likewise.
26016 * posix/confstr.c (START_ENV_GROUP): New macro.
26017 (END_ENV_GROUP): Likewise.
26018 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26019 (KNOWN_PRESENT_ENV_STRING): Likewise.
26020 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26021 (UNKNOWN_ENVIRONMENT): Likewise.
26022 (confstr): Include posix-envs.def instead of handling
26023 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26024 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26025 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26026 (END_ENV_GROUP): Likewise.
26027 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26028 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26029 (UNKNOWN_ENVIRONMENT): Likewise.
26030 (__sysconf): Include posix-envs.def instead of handling associated
26031 cases directly here.
26032 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26033 preprocessing getconf-speclist.c rather than running getconf or
26034 generating empty file.
26035
a93f9cbc
PT
260362012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26037
26038 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26039
d64d9f87
AL
260402012-11-16 Andrej Lajovic <natrij@gmail.com>
26041
26042 [BZ #14672]
26043 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26044
447885eb
DM
260452012-11-16 David S. Miller <davem@davemloft.net>
26046
26047 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26048 smaller than LDBL_EPSILON/2.0L, just return xm1.
26049
bcbf9830
L
260502012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26051
26052 * elf/tst-array1.c (init): Set constructor priority to 1000.
26053 (fini): Set destructor priority to 1000.
26054 * elf/tst-array2dep.c: Likewise.
26055
2b766585
SP
260562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26057
26058 [BZ #11741]
26059 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26060 (_IO_new_file_xsputn): Also return EOF if none of the input
26061 data was written when overflow failed.
26062 * libio/iopadn.c (_IO_padn): Likewise.
26063 * libio/iowpadn.c (_IO_wpadn): Likewise.
26064 * stdio-common/tst-put-error.c: Add copyright notice.
26065 (do_test): Add case for printing padded string.
26066 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26067 _IO_padn returned error.
26068 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26069 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26070 return EOF.
26071
b1848fde
SP
260722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26073
26074 * libio/libioP.h: Add comment note that the references to C++
26075 bits are now obsolete.
26076
2fd89785
MS
260772012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26078
26079 * math/libm-test.inc (check_complex): Use asprintf.
26080
e3ea5409
JM
260812012-11-14 Joseph Myers <joseph@codesourcery.com>
26082
26083 * debug/pcprofiledump.c (print_version): Update copyright year.
26084 * malloc/memusagestat.c (print_version): Likewise.
26085
2e64d265
L
260862012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26087
26088 [BZ #14831]
26089 * elf/Makefile (tests): Add tst-audit8.
26090 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26091 ($(objpfx)tst-audit8.out): New target.
26092 (tst-audit8-ENV): New variable.
26093 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26094 audit if l_reloc_result is NULL.
26095 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26096 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26097 * elf/tst-audit8.c: New file.
26098
c485e4d2
MS
260992012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26100
26101 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26102 * misc/Makefile (CFLAGS-select.c): Define.
26103 * posix/Makefile (CFLAGS-pause.c): Define.
26104
3a0d900a
DM
261052012-11-13 David S. Miller <davem@davemloft.net>
26106
26107 * crypt/Makefile: Move test targets after toplevel Rules
26108 inclusion. Grab any necessary sysdep routines when linking.
26109 * crypt/md5.c (md5_process_block): Remove define, we will always
26110 name it __md5_process_block.
26111 (md5_finish_ctx): Update md5_process_block call.
26112 (md5_stream): Likewise.
26113 (md5_process_bytes): Likewise.
26114 (md5_process_block): Rename to __md5_process_block and move to ...
26115 * crypt/md5-block.c: ... here.
26116 * crypt/sha256.c (sha256_process_block): Move to ...
26117 * crypt/sha256-block.c: ... here.
26118 * crypt/sha512.c (sha512_process_block): Move to ...
26119 * crypt/sha512-block.c: ... here.
26120 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26121 path.
26122 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26123 * sysdeps/sparc/sparc64/multiarch/Makefile
26124 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26125 crypt subdir.
26126 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26127 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26128 multiarch changes.
26129 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26130 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26131 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26132 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26133 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26134 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26135 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26136 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26137 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26138 file.
26139 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26140 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26141 file.
26142 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26143
8ca89318
JM
261442012-11-13 Joseph Myers <joseph@codesourcery.com>
26145
e27d476a
JM
26146 * timezone/tzselect.ksh: Update from tzcode git revision
26147 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26148 * timezone/zdump.c: Likewise.
26149 * timezone/zic.c: Likewise.
26150 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26151 in TZVERSION setting, not $(PKGVERSION).
26152 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26153 REPORT_BUGS_TO settings.
26154
8ca89318
JM
26155 [BZ #14838]
26156 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26157 macro.
26158
47594329
MS
261592012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26160
26161 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26162 detection to immediately after _FP_ROUND().
26163 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26164 bits are 0.
26165
640ac3f1
DM
261662012-11-11 David S. Miller <davem@davemloft.net>
26167
26168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26169 inttypes.h
26170 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26171 __close rather than their public counterparts.
26172
3d2577bb
JM
261732012-11-10 Joseph Myers <joseph@codesourcery.com>
26174
26175 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26176 file.
26177 [UNIX98] (sem_timedwait): Do not expect.
26178 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26179 [XPG4 || UNIX98] (sockatmark): Do not expect.
26180 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26181 (clock_getcpuclockid): Do not expect.
26182 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26183 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26184 Do not expect.
26185 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26186 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26187 [UNIX98] (vwscanf): Likewise.
26188 [UNIX98] (vswscanf): Likewise.
26189
fb1ae1ee
JM
261902012-11-09 Joseph Myers <joseph@codesourcery.com>
26191
9ec6f8bd
JM
26192 * timezone/version.h: Remove file.
26193 * timezone/README: Do not refer to version.h.
26194 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26195 $(objpfx)version.h.
26196 ($(objpfx)zdump.o): Likewise.
c3f81911 26197 ($(objpfx)version.h): New target.
9ec6f8bd 26198
0aa8f8a1
JM
26199 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26200 2012i.
26201 * timezone/README: Don't mention modification to tzselect.ksh.
26202 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26203 work on unmodified tzselect.ksh. Substitute version numbers in
26204 tzselect.ksh.
26205
4e87147f
JM
26206 * Makefile (format-me): Remove.
26207 (INSTALL): Adjust indentation. Use commands directly instead of
26208 using $(format-me).
26209
8b748aed
JM
26210 * aclocal.m4 (ACX_PKGVERSION): New macro.
26211 (ACX_BUGURL): Likewise.
26212 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26213 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26214 (REPORT_BUGS_TO): Likewise.
26215 * configure: Regenerated.
26216 * config.h.in (PKGVERSION): New macro.
26217 (REPORT_BUGS_TO): Likewise.
26218 * config.make.in (PKGVERSION): New variable.
26219 (PKGVERSION_TEXI): Likewise.
26220 (REPORT_BUGS_TO): Likewise.
26221 (REPORT_BUGS_TEXI): Likewise.
26222 * Makefile (format-me): Use -I$(common-objpfx)manual.
26223 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26224 ($(common-objpfx)manual/%): New target.
26225 (manual/%): Remove target.
26226 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26227 (print_version): Use PKGVERSION.
26228 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26229 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26230 and REPORT_BUGS_TO.
26231 ($(objpfx)xtrace): Likewise.
26232 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26233 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26234 (print_version): Use PKGVERSION.
26235 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26236 (do_version): Use PKGVERSION.
26237 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26238 REPORT_BUGS_TO.
26239 (common-ldd-rewrite): Likewise.
26240 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26241 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26242 (print_version): Use PKGVERSION.
26243 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26244 * elf/pldd.c (argp_program_bug_address): Remove variable.
26245 (more_help): New function.
26246 (argp): Use more_help.
26247 (print_version): Use PKGVERSION.
26248 * elf/sln.c (main): Use PKGVERSION.
26249 (usage): Use REPORT_BUGS_TO.
26250 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26251 (top level): Use PKGVERSION.
26252 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26253 (print_version): Use PKGVERSION.
26254 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26255 (print_version): Use PKGVERSION.
26256 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26257 (print_version): Use PKGVERSION.
26258 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26259 (print_version): Use PKGVERSION.
26260 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26261 (print_version): Use PKGVERSION.
26262 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26263 (print_version): Use PKGVERSION.
26264 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26265 and BUGURL.
26266 ($(objpfx)memusage): Likewise.
26267 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26268 (do_version): Use PKGVERSION.
26269 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26270 (print_version): Use PKGVERSION.
26271 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26272 ($PKGVERSION): New variable.
26273 ($REPORT_BUGS_TO): Likewise.
26274 (usage): Use $REPORT_BUGS_TO.
26275 (top level): Use $PKGVERSION.
26276 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26277 ($(objpfx)pkgvers.texi): New rule.
26278 ($(objpfx)stamp-pkgvers): Likewise.
26279 * manual/install.texi: Include pkgvers.texi.
26280 (--with-pkgversion): Document new configure option.
26281 (--with-bugurl): Likewise.
26282 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26283 than necessarily for this particular distribution. Use
26284 REPORT_BUGS_TO for where to report bugs.
26285 * INSTALL: Regenerated.
26286 * manual/libc.texinfo: Include pkgvers.texi.
26287 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26288 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26289 (print_version): Use PKGVERSION.
26290 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26291 (print_version): Use PKGVERSION.
26292 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26293 (print_version): Use PKGVERSION.
26294 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26295 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26296 macro.
26297 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26298 (print_version): Use PKGVERSION.
26299 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26300 (print_version): Use PKGVERSION.
26301 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26302 and PKGVERSION.
26303
92e4b6a9
JM
26304 * timezone/checktab.awk: Update from tzcode 2012i.
26305 * timezone/ialloc.c: Likewise.
26306 * timezone/private.h: Likewise.
26307 * timezone/scheck.c: Likewise.
26308 * timezone/tzfile.h: Likewise.
26309 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26310 (TZVERSION): Hardcode tzcode version number.
26311 * timezone/zdump.c: Update from tzcode 2012i.
26312 * timezone/zic.c: Likewise.
26313 * timezone/version.h: New file.
26314 * timezone/README: Describe version.h. Update upstream location.
26315
9bde902c
JM
26316 [BZ #14824]
26317 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26318 (mktemp): Enable declaration.
26319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26323 Likewise.
26324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26325 Likewise.
26326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26327 Likewise.
26328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26329 Likewise.
26330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26331 Likewise.
26332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26333 Likewise.
26334
fb1ae1ee
JM
26335 [BZ #14821]
26336 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26337 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26338 for copies of such integer values.
26339 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26340 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26341
2c1adbcb
AJ
263422012-11-09 Andreas Jaeger <aj@suse.de>
26343
26344 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26345 definitions and declarations that are provided by
26346 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26347
d0f8457e
AK
263482012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26349
3a235abb 26350 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26351 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26352 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26353 definition.
26354
57241e26
MS
263552012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26356
26357 * elf/elf.h: Update comment before AArch64 relocations.
26358
60e8270d
DM
263592012-11-07 David S. Miller <davem@davemloft.net>
26360
26361 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26362 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26363 (__start_context): Declare.
26364 (__makecontext_ret): Delete.
26365 (__makecontext): Hook up __start_context instead of
26366 __makecontext_ret.
26367 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26368 (sysdep_routines): Add __start_context when in stdlib.
26369
0fbb0fbc
JM
263702012-11-07 Joseph Myers <joseph@codesourcery.com>
26371
26372 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26373 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26374 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26375 hardcoded "nm".
26376 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26377 (READELF): New variable. Use it instead of hardcoded "readelf".
26378
eb48db7e
L
263792012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26380
26381 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26382 * sysdeps/x86/Makefile: Here.
26383 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26384 * sysdeps/x86/tst-xmmymm.sh: This.
26385
05bcf62a
JM
263862012-11-07 Joseph Myers <joseph@codesourcery.com>
26387
c4b6cf53
JM
26388 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26389 expectations.
26390 [UNIX98] (pthread_barrier_t): Do not expect.
26391 [UNIX98] (pthread_barrierattr_t): Likewise.
26392 [UNIX98] (pthread_spinlock_t): Likewise.
26393 [UNIX98] (pthread_barrier_destroy): Likewise.
26394 [UNIX98] (pthread_barrier_init): Likewise.
26395 [UNIX98] (pthread_barrier_wait): Likewise.
26396 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26397 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26398 [UNIX98] (pthread_barrierattr_init): Likewise.
26399 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26400 [UNIX98] (pthread_getcpuclockid): Likewise.
26401 [UNIX98] (pthread_mutex_timedlock): Likewise.
26402 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26403 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26404 [UNIX98] (pthread_sigmask): Likewise.
26405 [UNIX98] (pthread_spin_destroy): Likewise.
26406 [UNIX98] (pthread_spin_init): Likewise.
26407 [UNIX98] (pthread_spin_lock): Likewise.
26408 [UNIX98] (pthread_spin_trylock): Likewise.
26409 [UNIX98] (pthread_spin_unlock): Likewise.
26410 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26411 Do not expect.
26412 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26413 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26414 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26415 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26416 [XPG3 || XPG4] (pthread_key_t): Likewise.
26417 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26418 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26419 [XPG3 || XPG4] (pthread_once_t): Likewise.
26420 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26421 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26422 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26423 [XPG3 || XPG4] (pthread_t): Likewise.
26424
cbe6e120
JM
26425 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26426 not expect.
26427 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26428
1b126443
JM
26429 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26430 Change function return type to int.
26431
b961a573
JM
26432 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26433 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26434 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26435 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26436 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26437 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26438 [!POSIX] (posix_madvise): Likewise.
26439 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26440 && !UNIX98].
26441 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26442 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26443 (mode_t): Likewise.
26444 (posix_mem_offset): Likewise.
26445 (posix_typed_mem_get_info): Likewise.
26446 (posix_typed_mem_open): Likewise.
26447
9e188909
JM
26448 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26449 Change condition to [XOPEN2K8].
26450
05bcf62a
JM
26451 * conform/conformtest.pl: Preprocess allow-header data with -x c
26452 instead of from stdin.
26453 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26454 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26455 [C99-based standards] (cerfc): Likewise.
26456 [C99-based standards] (cexp2): Likewise.
26457 [C99-based standards] (cexpm1): Likewise.
26458 [C99-based standards] (clog10): Likewise.
26459 [C99-based standards] (clog1p): Likewise.
26460 [C99-based standards] (clog2): Likewise.
26461 [C99-based standards] (clgamma): Likewise.
26462 [C99-based standards] (ctgamma): Likewise.
26463 [C99-based standards] (cerff): Likewise.
26464 [C99-based standards] (cerfcf): Likewise.
26465 [C99-based standards] (cexp2f): Likewise.
26466 [C99-based standards] (cexpm1f): Likewise.
26467 [C99-based standards] (clog10f): Likewise.
26468 [C99-based standards] (clog1pf): Likewise.
26469 [C99-based standards] (clog2f): Likewise.
26470 [C99-based standards] (clgammaf): Likewise.
26471 [C99-based standards] (ctgammaf): Likewise.
26472 [C99-based standards] (cerfl): Likewise.
26473 [C99-based standards] (cerfcl): Likewise.
26474 [C99-based standards] (cexp2l): Likewise.
26475 [C99-based standards] (cexpm1l): Likewise.
26476 [C99-based standards] (clog10l): Likewise.
26477 [C99-based standards] (clog1pl): Likewise.
26478 [C99-based standards] (clog2l): Likewise.
26479 [C99-based standards] (clgammal): Likewise.
26480 [C99-based standards] (ctgammal): Likewise.
26481 * conform/data/inttypes.h-data [C99-based standards]: Include
26482 stdint.h-data. Remove all expectations for stdint.h contents.
26483 [C99-based standards] (PRI*): Do not allow.
26484 [C99-based standards] (SCN*): Likewise.
26485 [C99-based standards] (*_t): Likewise.
26486 [C99-based-standards] (PRId8): Expect macro.
26487 [C99-based-standards] (PRIi8): Likewise.
26488 [C99-based-standards] (PRIo8): Likewise.
26489 [C99-based-standards] (PRIu8): Likewise.
26490 [C99-based-standards] (PRIx8): Likewise.
26491 [C99-based-standards] (PRIX8): Likewise.
26492 [C99-based-standards] (SCNd8): Likewise.
26493 [C99-based-standards] (SCNi8): Likewise.
26494 [C99-based-standards] (SCNo8): Likewise.
26495 [C99-based-standards] (SCNu8): Likewise.
26496 [C99-based-standards] (SCNx8): Likewise.
26497 [C99-based-standards] (PRIdLEAST8): Likewise.
26498 [C99-based-standards] (PRIiLEAST8): Likewise.
26499 [C99-based-standards] (PRIoLEAST8): Likewise.
26500 [C99-based-standards] (PRIuLEAST8): Likewise.
26501 [C99-based-standards] (PRIxLEAST8): Likewise.
26502 [C99-based-standards] (PRIXLEAST8): Likewise.
26503 [C99-based-standards] (SCNdLEAST8): Likewise.
26504 [C99-based-standards] (SCNiLEAST8): Likewise.
26505 [C99-based-standards] (SCNoLEAST8): Likewise.
26506 [C99-based-standards] (SCNuLEAST8): Likewise.
26507 [C99-based-standards] (SCNxLEAST8): Likewise.
26508 [C99-based-standards] (PRIdFAST8): Likewise.
26509 [C99-based-standards] (PRIiFAST8): Likewise.
26510 [C99-based-standards] (PRIoFAST8): Likewise.
26511 [C99-based-standards] (PRIuFAST8): Likewise.
26512 [C99-based-standards] (PRIxFAST8): Likewise.
26513 [C99-based-standards] (PRIXFAST8): Likewise.
26514 [C99-based-standards] (SCNdFAST8): Likewise.
26515 [C99-based-standards] (SCNiFAST8): Likewise.
26516 [C99-based-standards] (SCNoFAST8): Likewise.
26517 [C99-based-standards] (SCNuFAST8): Likewise.
26518 [C99-based-standards] (SCNxFAST8): Likewise.
26519 [C99-based-standards] (PRId16): Likewise.
26520 [C99-based-standards] (PRIi16): Likewise.
26521 [C99-based-standards] (PRIo16): Likewise.
26522 [C99-based-standards] (PRIu16): Likewise.
26523 [C99-based-standards] (PRIx16): Likewise.
26524 [C99-based-standards] (PRIX16): Likewise.
26525 [C99-based-standards] (SCNd16): Likewise.
26526 [C99-based-standards] (SCNi16): Likewise.
26527 [C99-based-standards] (SCNo16): Likewise.
26528 [C99-based-standards] (SCNu16): Likewise.
26529 [C99-based-standards] (SCNx16): Likewise.
26530 [C99-based-standards] (PRIdLEAST16): Likewise.
26531 [C99-based-standards] (PRIiLEAST16): Likewise.
26532 [C99-based-standards] (PRIoLEAST16): Likewise.
26533 [C99-based-standards] (PRIuLEAST16): Likewise.
26534 [C99-based-standards] (PRIxLEAST16): Likewise.
26535 [C99-based-standards] (PRIXLEAST16): Likewise.
26536 [C99-based-standards] (SCNdLEAST16): Likewise.
26537 [C99-based-standards] (SCNiLEAST16): Likewise.
26538 [C99-based-standards] (SCNoLEAST16): Likewise.
26539 [C99-based-standards] (SCNuLEAST16): Likewise.
26540 [C99-based-standards] (SCNxLEAST16): Likewise.
26541 [C99-based-standards] (PRIdFAST16): Likewise.
26542 [C99-based-standards] (PRIiFAST16): Likewise.
26543 [C99-based-standards] (PRIoFAST16): Likewise.
26544 [C99-based-standards] (PRIuFAST16): Likewise.
26545 [C99-based-standards] (PRIxFAST16): Likewise.
26546 [C99-based-standards] (PRIXFAST16): Likewise.
26547 [C99-based-standards] (SCNdFAST16): Likewise.
26548 [C99-based-standards] (SCNiFAST16): Likewise.
26549 [C99-based-standards] (SCNoFAST16): Likewise.
26550 [C99-based-standards] (SCNuFAST16): Likewise.
26551 [C99-based-standards] (SCNxFAST16): Likewise.
26552 [C99-based-standards] (PRId32): Likewise.
26553 [C99-based-standards] (PRIi32): Likewise.
26554 [C99-based-standards] (PRIo32): Likewise.
26555 [C99-based-standards] (PRIu32): Likewise.
26556 [C99-based-standards] (PRIx32): Likewise.
26557 [C99-based-standards] (PRIX32): Likewise.
26558 [C99-based-standards] (SCNd32): Likewise.
26559 [C99-based-standards] (SCNi32): Likewise.
26560 [C99-based-standards] (SCNo32): Likewise.
26561 [C99-based-standards] (SCNu32): Likewise.
26562 [C99-based-standards] (SCNx32): Likewise.
26563 [C99-based-standards] (PRIdLEAST32): Likewise.
26564 [C99-based-standards] (PRIiLEAST32): Likewise.
26565 [C99-based-standards] (PRIoLEAST32): Likewise.
26566 [C99-based-standards] (PRIuLEAST32): Likewise.
26567 [C99-based-standards] (PRIxLEAST32): Likewise.
26568 [C99-based-standards] (PRIXLEAST32): Likewise.
26569 [C99-based-standards] (SCNdLEAST32): Likewise.
26570 [C99-based-standards] (SCNiLEAST32): Likewise.
26571 [C99-based-standards] (SCNoLEAST32): Likewise.
26572 [C99-based-standards] (SCNuLEAST32): Likewise.
26573 [C99-based-standards] (SCNxLEAST32): Likewise.
26574 [C99-based-standards] (PRIdFAST32): Likewise.
26575 [C99-based-standards] (PRIiFAST32): Likewise.
26576 [C99-based-standards] (PRIoFAST32): Likewise.
26577 [C99-based-standards] (PRIuFAST32): Likewise.
26578 [C99-based-standards] (PRIxFAST32): Likewise.
26579 [C99-based-standards] (PRIXFAST32): Likewise.
26580 [C99-based-standards] (SCNdFAST32): Likewise.
26581 [C99-based-standards] (SCNiFAST32): Likewise.
26582 [C99-based-standards] (SCNoFAST32): Likewise.
26583 [C99-based-standards] (SCNuFAST32): Likewise.
26584 [C99-based-standards] (SCNxFAST32): Likewise.
26585 [C99-based-standards] (PRId64): Likewise.
26586 [C99-based-standards] (PRIi64): Likewise.
26587 [C99-based-standards] (PRIo64): Likewise.
26588 [C99-based-standards] (PRIu64): Likewise.
26589 [C99-based-standards] (PRIx64): Likewise.
26590 [C99-based-standards] (PRIX64): Likewise.
26591 [C99-based-standards] (SCNd64): Likewise.
26592 [C99-based-standards] (SCNi64): Likewise.
26593 [C99-based-standards] (SCNo64): Likewise.
26594 [C99-based-standards] (SCNu64): Likewise.
26595 [C99-based-standards] (SCNx64): Likewise.
26596 [C99-based-standards] (PRIdLEAST64): Likewise.
26597 [C99-based-standards] (PRIiLEAST64): Likewise.
26598 [C99-based-standards] (PRIoLEAST64): Likewise.
26599 [C99-based-standards] (PRIuLEAST64): Likewise.
26600 [C99-based-standards] (PRIxLEAST64): Likewise.
26601 [C99-based-standards] (PRIXLEAST64): Likewise.
26602 [C99-based-standards] (SCNdLEAST64): Likewise.
26603 [C99-based-standards] (SCNiLEAST64): Likewise.
26604 [C99-based-standards] (SCNoLEAST64): Likewise.
26605 [C99-based-standards] (SCNuLEAST64): Likewise.
26606 [C99-based-standards] (SCNxLEAST64): Likewise.
26607 [C99-based-standards] (PRIdFAST64): Likewise.
26608 [C99-based-standards] (PRIiFAST64): Likewise.
26609 [C99-based-standards] (PRIoFAST64): Likewise.
26610 [C99-based-standards] (PRIuFAST64): Likewise.
26611 [C99-based-standards] (PRIxFAST64): Likewise.
26612 [C99-based-standards] (PRIXFAST64): Likewise.
26613 [C99-based-standards] (SCNdFAST64): Likewise.
26614 [C99-based-standards] (SCNiFAST64): Likewise.
26615 [C99-based-standards] (SCNoFAST64): Likewise.
26616 [C99-based-standards] (SCNuFAST64): Likewise.
26617 [C99-based-standards] (SCNxFAST64): Likewise.
26618 [C99-based-standards] (PRIdMAX): Likewise.
26619 [C99-based-standards] (PRIiMAX): Likewise.
26620 [C99-based-standards] (PRIoMAX): Likewise.
26621 [C99-based-standards] (PRIuMAX): Likewise.
26622 [C99-based-standards] (PRIxMAX): Likewise.
26623 [C99-based-standards] (PRIXMAX): Likewise.
26624 [C99-based-standards] (SCNdMAX): Likewise.
26625 [C99-based-standards] (SCNiMAX): Likewise.
26626 [C99-based-standards] (SCNoMAX): Likewise.
26627 [C99-based-standards] (SCNuMAX): Likewise.
26628 [C99-based-standards] (SCNxMAX): Likewise.
26629 [C99-based-standards] (PRIdPTR): Likewise.
26630 [C99-based-standards] (PRIiPTR): Likewise.
26631 [C99-based-standards] (PRIoPTR): Likewise.
26632 [C99-based-standards] (PRIuPTR): Likewise.
26633 [C99-based-standards] (PRIxPTR): Likewise.
26634 [C99-based-standards] (PRIXPTR): Likewise.
26635 [C99-based-standards] (SCNdPTR): Likewise.
26636 [C99-based-standards] (SCNiPTR): Likewise.
26637 [C99-based-standards] (SCNoPTR): Likewise.
26638 [C99-based-standards] (SCNuPTR): Likewise.
26639 [C99-based-standards] (SCNxPTR): Likewise.
26640 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26641 allow.
26642 * conform/data/stdint.h-data: Update comments to clarify
26643 requirements.
26644 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26645 type.
26646 [C99-based standards] (INT8_MAX): Likewise.
26647 [C99-based standards] (INT16_MIN): Likewise.
26648 [C99-based standards] (INT16_MAX): Likewise.
26649 [C99-based standards] (INT32_MIN): Likewise.
26650 [C99-based standards] (INT32_MAX): Likewise.
26651 [C99-based standards] (INT64_MIN): Likewise.
26652 [C99-based standards] (INT64_MAX): Likewise.
26653 [C99-based standards] (UINT8_MAX): Likewise.
26654 [C99-based standards] (UINT16_MAX): Likewise.
26655 [C99-based standards] (UINT32_MAX): Likewise.
26656 [C99-based standards] (UINT64_MAX): Likewise.
26657 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26658 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26659 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26660 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26661 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26662 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26663 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26664 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26665 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26666 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26667 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26668 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26669 [C99-based standards] (INT_FAST8_MIN): Likewise.
26670 [C99-based standards] (INT_FAST8_MAX): Likewise.
26671 [C99-based standards] (INT_FAST16_MIN): Likewise.
26672 [C99-based standards] (INT_FAST16_MAX): Likewise.
26673 [C99-based standards] (INT_FAST32_MIN): Likewise.
26674 [C99-based standards] (INT_FAST32_MAX): Likewise.
26675 [C99-based standards] (INT_FAST64_MIN): Likewise.
26676 [C99-based standards] (INT_FAST64_MAX): Likewise.
26677 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26678 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26679 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26680 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26681 [C99-based standards] (INTPTR_MIN): Likewise.
26682 [C99-based standards] (INTPTR_MAX): Likewise.
26683 [C99-based standards] (UINTPTR_MAX): Likewise.
26684 [C99-based standards] (INTMAX_MIN): Likewise.
26685 [C99-based standards] (INTMAX_MAX): Likewise.
26686 [C99-based standards] (UINTMAX_MAX): Likewise.
26687 [C99-based standards] (PTRDIFF_MIN): Likewise.
26688 [C99-based standards] (PTRDIFF_MAX): Likewise.
26689 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26690 [C99-based standards] (SIZE_MAX): Likewise.
26691 [C99-based standards] (WCHAR_MAX): Likewise.
26692 [C99-based standards] (WINT_MAX): Likewise.
26693 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26694 constraint on value.
26695 [C99-based standards] (WCHAR_MIN): Likewise.
26696 [C99-based standards] (WINT_MIN): Likewise.
26697 [C99-based standards] (*_t): Allow.
26698 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26699 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26700 Include math.h-data and complex.h-data. Remove all expectations
26701 of math.h and complex.h contents.
26702 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26703 at end of line.
26704 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26705 (struct tm): Expect tag.
26706 [C99-based-standards] (wcstof): Expect function.
26707 [C99-based-standards] (wcstold): Likewise.
26708 [C99-based-standards] (wcstoll): Likewise.
26709 [C99-based-standards] (wcstoull): Likewise.
26710 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26711 macro-int-constant. Specify type.
26712 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26713 constraint on value.
26714 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26715 Specify type.
26716 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26717 Specify value.
26718 [ISO C standards]: Do not allow headers.
26719 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26720 wcs[abcdefghijklmnopqrstuvwxyz]*.
26721 [ISO C standards] (*_t): Do not allow.
26722 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26723 Expect function.
26724 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26725 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26726 Specify type.
26727 [ISO C standards]: Do not allow headers.
26728 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26729 is[abcdefghijklmnopqrstuvwxyz]*.
26730 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26731 to[abcdefghijklmnopqrstuvwxyz]*.
26732 [ISO C standards] (*_t): Do not allow.
26733 * conform/data/stdalign.h-data: New file.
26734 * conform/data/stdbool.h-data: Likewise.
26735 * conform/data/stdnoreturn.h-data: Likewise.
26736
7514feb8
RM
267372012-11-07 Roland McGrath <roland@hack.frob.com>
26738
26739 [BZ #14815]
26740 * manual/filesys.texi (Directory Entries): Typo fix.
26741 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26742
19b2ecfc
MS
267432012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26744
26745 * elf/elf.h (EM_AARCH64): New macro.
26746 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26747 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26748 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26749 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26750 (R_AARCH64_TLSDESC): Likewise.
26751 (NT_ARM_TLS): Likewise.
26752 (NT_ARM_HW_BREAK): Likewise.
26753 (NT_ARM_HW_WATCH): Likewise.
26754
60e235ee
JM
267552012-11-07 Joseph Myers <joseph@codesourcery.com>
26756
26757 [BZ #14811]
26758 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26759 (__ieee754_powl): Saturate nonzero exponents with absolute value
26760 below 0x1p-79 to +/- 0x1p-79.
26761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26762 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26763 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26764 nonzero exponents with absolute value below 0x1p-32 to +/-
26765 0x1p-32.
26766 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26767 (__ieee754_powl): Saturate nonzero exponents with absolute value
26768 below 0x1p-79 to +/- 0x1p-79.
26769 * math/libm-test.inc (pow_test): Add more tests.
26770
0ab234b7
AK
267712012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26772
26773 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26774 _dl_s390_cap_flags with kernel. Increase string length.
26775 (_dl_s390_platforms): Add z196 and zEC12.
26776
45832f74
JM
267772012-11-07 Joseph Myers <joseph@codesourcery.com>
26778
26779 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26780 Change XOPEN21K to XOPEN2K.
26781
19218757
MK
267822012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26783
26784 * string/memmove.c: Use memcpy when possible.
26785
c5f45721
AJ
267862012-11-06 Andreas Jaeger <aj@suse.de>
26787
26788 * po/eo.po: Update from translation team.
26789
82477c28
JM
267902012-11-06 Joseph Myers <joseph@codesourcery.com>
26791
26792 [BZ #14793]
26793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26794 exponent and small x and y exponents, scale x or y up. Increase
26795 by 2 the exponent used in scaling up.
26796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26798 * math/libm-test.inc (fma_test): Add more tests.
26799 (fma_test_towardzero): Likewise.
26800 (fma_test_downward): Likewise.
26801 (fma_test_upward): Likewise.
26802
99252c8c
JM
268032012-11-05 Joseph Myers <joseph@codesourcery.com>
26804
acfa885f
JM
26805 [BZ #14805]
26806 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26807 fenv_t *.
26808
99252c8c
JM
26809 [BZ #14801]
26810 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26811 namespace for names of struct fields.
26812 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26813 fenv_t fields.
26814 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26815 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26816
d6d98dea
ST
268172012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26818
26819 [BZ #3665]
26820 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26821
e10bb107
TS
268222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26823
26824 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26825 PTR_DEMANGLE.
26826
26827 [BZ #5246]
26828 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26829 PTR_DEMANGLE.
26830
a0c2940d
JM
268312012-11-04 Joseph Myers <joseph@codesourcery.com>
26832
26833 [BZ #14797]
26834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26835 definitely overflow as x * y not x * y + z.
26836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26837 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26838 * math/libm-test.inc (fma_test): Add more tests.
26839 (fma_test_towardzero): Likewise.
26840 (fma_test_downward): Likewise.
26841 (fma_test_upward): Likewise.
26842
b830319d
TS
268432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26844
26845 [BZ #157]
26846
26847 * include/stub-tag.h: Remove file.
26848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26849 '#include' of it.
26850 * manual/maint.texi (Porting): Don't reference it.
26851 * Makerules ($(objpfx)stubs): Likewise.
26852 * dirent/closedir.c: Don't include <stub-tag.h>.
26853 * dirent/dirfd.c: Likewise.
26854 * dirent/fdopendir.c: Likewise.
26855 * dirent/getdents.c: Likewise.
26856 * dirent/getdents64.c: Likewise.
26857 * dirent/opendir.c: Likewise.
26858 * dirent/readdir.c: Likewise.
26859 * dirent/readdir64.c: Likewise.
26860 * dirent/readdir64_r.c: Likewise.
26861 * dirent/readdir_r.c: Likewise.
26862 * dirent/rewinddir.c: Likewise.
26863 * dirent/seekdir.c: Likewise.
26864 * dirent/telldir.c: Likewise.
26865 * gmon/profil.c: Likewise.
26866 * grp/setgroups.c: Likewise.
26867 * inet/if_index.c: Likewise.
26868 * io/access.c: Likewise.
26869 * io/chdir.c: Likewise.
26870 * io/chmod.c: Likewise.
26871 * io/chown.c: Likewise.
26872 * io/close.c: Likewise.
26873 * io/dup.c: Likewise.
26874 * io/dup2.c: Likewise.
26875 * io/dup3.c: Likewise.
26876 * io/euidaccess.c: Likewise.
26877 * io/faccessat.c: Likewise.
26878 * io/fchdir.c: Likewise.
26879 * io/fchmod.c: Likewise.
26880 * io/fchmodat.c: Likewise.
26881 * io/fchown.c: Likewise.
26882 * io/fchownat.c: Likewise.
26883 * io/fcntl.c: Likewise.
26884 * io/flock.c: Likewise.
26885 * io/fstatfs.c: Likewise.
26886 * io/fstatfs64.c: Likewise.
26887 * io/fstatvfs.c: Likewise.
26888 * io/fstatvfs64.c: Likewise.
26889 * io/futimens.c: Likewise.
26890 * io/fxstat.c: Likewise.
26891 * io/fxstat64.c: Likewise.
26892 * io/fxstatat.c: Likewise.
26893 * io/fxstatat64.c: Likewise.
26894 * io/getcwd.c: Likewise.
26895 * io/isatty.c: Likewise.
26896 * io/lchmod.c: Likewise.
26897 * io/lchown.c: Likewise.
26898 * io/link.c: Likewise.
26899 * io/linkat.c: Likewise.
26900 * io/lseek.c: Likewise.
26901 * io/lseek64.c: Likewise.
26902 * io/lxstat64.c: Likewise.
26903 * io/mkdir.c: Likewise.
26904 * io/mkdirat.c: Likewise.
26905 * io/mkfifo.c: Likewise.
26906 * io/mkfifoat.c: Likewise.
26907 * io/open.c: Likewise.
26908 * io/open64.c: Likewise.
26909 * io/openat.c: Likewise.
26910 * io/openat64.c: Likewise.
26911 * io/pipe.c: Likewise.
26912 * io/pipe2.c: Likewise.
26913 * io/poll.c: Likewise.
26914 * io/posix_fadvise.c: Likewise.
26915 * io/posix_fadvise64.c: Likewise.
26916 * io/posix_fallocate.c: Likewise.
26917 * io/posix_fallocate64.c: Likewise.
26918 * io/read.c: Likewise.
26919 * io/readlink.c: Likewise.
26920 * io/readlinkat.c: Likewise.
26921 * io/rmdir.c: Likewise.
26922 * io/sendfile.c: Likewise.
26923 * io/sendfile64.c: Likewise.
26924 * io/statfs.c: Likewise.
26925 * io/statfs64.c: Likewise.
26926 * io/statvfs.c: Likewise.
26927 * io/statvfs64.c: Likewise.
26928 * io/symlink.c: Likewise.
26929 * io/symlinkat.c: Likewise.
26930 * io/ttyname.c: Likewise.
26931 * io/ttyname_r.c: Likewise.
26932 * io/umask.c: Likewise.
26933 * io/unlink.c: Likewise.
26934 * io/unlinkat.c: Likewise.
26935 * io/utime.c: Likewise.
26936 * io/utimensat.c: Likewise.
26937 * io/write.c: Likewise.
26938 * io/xmknod.c: Likewise.
26939 * io/xmknodat.c: Likewise.
26940 * io/xstat.c: Likewise.
26941 * io/xstat64.c: Likewise.
26942 * login/getpt.c: Likewise.
26943 * login/grantpt.c: Likewise.
26944 * login/unlockpt.c: Likewise.
26945 * math/e_acoshl.c: Likewise.
26946 * math/e_acosl.c: Likewise.
26947 * math/e_asinl.c: Likewise.
26948 * math/e_atan2l.c: Likewise.
26949 * math/e_atanhl.c: Likewise.
26950 * math/e_coshl.c: Likewise.
26951 * math/e_expl.c: Likewise.
26952 * math/e_fmodl.c: Likewise.
26953 * math/e_gammal_r.c: Likewise.
26954 * math/e_hypotl.c: Likewise.
26955 * math/e_j0l.c: Likewise.
26956 * math/e_j1l.c: Likewise.
26957 * math/e_jnl.c: Likewise.
26958 * math/e_lgammal_r.c: Likewise.
26959 * math/e_log10l.c: Likewise.
26960 * math/e_log2l.c: Likewise.
26961 * math/e_logl.c: Likewise.
26962 * math/e_powl.c: Likewise.
26963 * math/e_rem_pio2l.c: Likewise.
26964 * math/e_sinhl.c: Likewise.
26965 * math/e_sqrtl.c: Likewise.
26966 * math/fclrexcpt.c: Likewise.
26967 * math/fedisblxcpt.c: Likewise.
26968 * math/feenablxcpt.c: Likewise.
26969 * math/fegetenv.c: Likewise.
26970 * math/fegetexcept.c: Likewise.
26971 * math/fegetround.c: Likewise.
26972 * math/feholdexcpt.c: Likewise.
26973 * math/fesetenv.c: Likewise.
26974 * math/fesetround.c: Likewise.
26975 * math/feupdateenv.c: Likewise.
26976 * math/fgetexcptflg.c: Likewise.
26977 * math/fraiseexcpt.c: Likewise.
26978 * math/fsetexcptflg.c: Likewise.
26979 * math/ftestexcept.c: Likewise.
26980 * math/k_cosl.c: Likewise.
26981 * math/k_rem_pio2l.c: Likewise.
26982 * math/k_sinl.c: Likewise.
26983 * math/k_tanl.c: Likewise.
26984 * math/s_asinhl.c: Likewise.
26985 * math/s_atanl.c: Likewise.
26986 * math/s_cbrtl.c: Likewise.
26987 * math/s_erfl.c: Likewise.
26988 * math/s_expm1l.c: Likewise.
26989 * math/s_log1pl.c: Likewise.
26990 * math/s_tanhl.c: Likewise.
26991 * misc/acct.c: Likewise.
26992 * misc/brk.c: Likewise.
26993 * misc/chflags.c: Likewise.
26994 * misc/chroot.c: Likewise.
26995 * misc/fchflags.c: Likewise.
26996 * misc/fgetxattr.c: Likewise.
26997 * misc/flistxattr.c: Likewise.
26998 * misc/fremovexattr.c: Likewise.
26999 * misc/fsetxattr.c: Likewise.
27000 * misc/fsync.c: Likewise.
27001 * misc/ftruncate.c: Likewise.
27002 * misc/futimes.c: Likewise.
27003 * misc/futimesat.c: Likewise.
27004 * misc/getdomain.c: Likewise.
27005 * misc/getdtsz.c: Likewise.
27006 * misc/gethostid.c: Likewise.
27007 * misc/gethostname.c: Likewise.
27008 * misc/getloadavg.c: Likewise.
27009 * misc/getpagesize.c: Likewise.
27010 * misc/getsysstats.c: Likewise.
27011 * misc/getxattr.c: Likewise.
27012 * misc/gtty.c: Likewise.
27013 * misc/ioctl.c: Likewise.
27014 * misc/lgetxattr.c: Likewise.
27015 * misc/listxattr.c: Likewise.
27016 * misc/llistxattr.c: Likewise.
27017 * misc/lremovexattr.c: Likewise.
27018 * misc/lsetxattr.c: Likewise.
27019 * misc/lutimes.c: Likewise.
27020 * misc/madvise.c: Likewise.
27021 * misc/mincore.c: Likewise.
27022 * misc/mlock.c: Likewise.
27023 * misc/mlockall.c: Likewise.
27024 * misc/mmap.c: Likewise.
27025 * misc/mprotect.c: Likewise.
27026 * misc/msync.c: Likewise.
27027 * misc/munlock.c: Likewise.
27028 * misc/munlockall.c: Likewise.
27029 * misc/munmap.c: Likewise.
27030 * misc/preadv.c: Likewise.
27031 * misc/preadv64.c: Likewise.
27032 * misc/ptrace.c: Likewise.
27033 * misc/pwritev.c: Likewise.
27034 * misc/pwritev64.c: Likewise.
27035 * misc/readv.c: Likewise.
27036 * misc/reboot.c: Likewise.
27037 * misc/remap_file_pages.c: Likewise.
27038 * misc/removexattr.c: Likewise.
27039 * misc/revoke.c: Likewise.
27040 * misc/select.c: Likewise.
27041 * misc/setdomain.c: Likewise.
27042 * misc/setegid.c: Likewise.
27043 * misc/seteuid.c: Likewise.
27044 * misc/sethostid.c: Likewise.
27045 * misc/sethostname.c: Likewise.
27046 * misc/setregid.c: Likewise.
27047 * misc/setreuid.c: Likewise.
27048 * misc/setxattr.c: Likewise.
27049 * misc/sstk.c: Likewise.
27050 * misc/stty.c: Likewise.
27051 * misc/swapoff.c: Likewise.
27052 * misc/swapon.c: Likewise.
27053 * misc/sync.c: Likewise.
27054 * misc/syncfs.c: Likewise.
27055 * misc/syscall.c: Likewise.
27056 * misc/truncate.c: Likewise.
27057 * misc/ualarm.c: Likewise.
27058 * misc/usleep.c: Likewise.
27059 * misc/ustat.c: Likewise.
27060 * misc/utimes.c: Likewise.
27061 * misc/vhangup.c: Likewise.
27062 * misc/writev.c: Likewise.
27063 * posix/_exit.c: Likewise.
27064 * posix/alarm.c: Likewise.
27065 * posix/execve.c: Likewise.
27066 * posix/fexecve.c: Likewise.
27067 * posix/fork.c: Likewise.
27068 * posix/fpathconf.c: Likewise.
27069 * posix/getaddrinfo.c: Likewise.
27070 * posix/getegid.c: Likewise.
27071 * posix/geteuid.c: Likewise.
27072 * posix/getgid.c: Likewise.
27073 * posix/getgroups.c: Likewise.
27074 * posix/getlogin.c: Likewise.
27075 * posix/getlogin_r.c: Likewise.
27076 * posix/getpgid.c: Likewise.
27077 * posix/getpid.c: Likewise.
27078 * posix/getppid.c: Likewise.
27079 * posix/getresgid.c: Likewise.
27080 * posix/getresuid.c: Likewise.
27081 * posix/getsid.c: Likewise.
27082 * posix/getuid.c: Likewise.
27083 * posix/glob64.c: Likewise.
27084 * posix/nanosleep.c: Likewise.
27085 * posix/pathconf.c: Likewise.
27086 * posix/pause.c: Likewise.
27087 * posix/posix_madvise.c: Likewise.
27088 * posix/pread.c: Likewise.
27089 * posix/pread64.c: Likewise.
27090 * posix/pwrite.c: Likewise.
27091 * posix/pwrite64.c: Likewise.
27092 * posix/sched_getaffinity.c: Likewise.
27093 * posix/sched_getp.c: Likewise.
27094 * posix/sched_gets.c: Likewise.
27095 * posix/sched_primax.c: Likewise.
27096 * posix/sched_primin.c: Likewise.
27097 * posix/sched_rr_gi.c: Likewise.
27098 * posix/sched_setaffinity.c: Likewise.
27099 * posix/sched_setp.c: Likewise.
27100 * posix/sched_sets.c: Likewise.
27101 * posix/sched_yield.c: Likewise.
27102 * posix/setgid.c: Likewise.
27103 * posix/setlogin.c: Likewise.
27104 * posix/setpgid.c: Likewise.
27105 * posix/setresgid.c: Likewise.
27106 * posix/setresuid.c: Likewise.
27107 * posix/setsid.c: Likewise.
27108 * posix/setuid.c: Likewise.
27109 * posix/sleep.c: Likewise.
27110 * posix/spawni.c: Likewise.
27111 * posix/sysconf.c: Likewise.
27112 * posix/times.c: Likewise.
27113 * posix/wait.c: Likewise.
27114 * posix/wait3.c: Likewise.
27115 * posix/wait4.c: Likewise.
27116 * posix/waitpid.c: Likewise.
27117 * resolv/gai_sigqueue.c: Likewise.
27118 * resource/getpriority.c: Likewise.
27119 * resource/getrlimit.c: Likewise.
27120 * resource/getrusage.c: Likewise.
27121 * resource/nice.c: Likewise.
27122 * resource/setpriority.c: Likewise.
27123 * resource/setrlimit.c: Likewise.
27124 * resource/ulimit.c: Likewise.
27125 * rt/aio_cancel.c: Likewise.
27126 * rt/aio_fsync.c: Likewise.
27127 * rt/aio_read.c: Likewise.
27128 * rt/aio_sigqueue.c: Likewise.
27129 * rt/aio_suspend.c: Likewise.
27130 * rt/aio_write.c: Likewise.
27131 * rt/clock_getres.c: Likewise.
27132 * rt/clock_gettime.c: Likewise.
27133 * rt/clock_nanosleep.c: Likewise.
27134 * rt/clock_settime.c: Likewise.
27135 * rt/lio_listio.c: Likewise.
27136 * rt/mq_close.c: Likewise.
27137 * rt/mq_getattr.c: Likewise.
27138 * rt/mq_notify.c: Likewise.
27139 * rt/mq_open.c: Likewise.
27140 * rt/mq_receive.c: Likewise.
27141 * rt/mq_send.c: Likewise.
27142 * rt/mq_setattr.c: Likewise.
27143 * rt/mq_timedreceive.c: Likewise.
27144 * rt/mq_timedsend.c: Likewise.
27145 * rt/mq_unlink.c: Likewise.
27146 * rt/shm_open.c: Likewise.
27147 * rt/shm_unlink.c: Likewise.
27148 * rt/timer_create.c: Likewise.
27149 * rt/timer_delete.c: Likewise.
27150 * rt/timer_getoverr.c: Likewise.
27151 * rt/timer_gettime.c: Likewise.
27152 * rt/timer_settime.c: Likewise.
27153 * setjmp/__longjmp.c: Likewise.
27154 * setjmp/setjmp.c: Likewise.
27155 * signal/kill.c: Likewise.
27156 * signal/killpg.c: Likewise.
27157 * signal/raise.c: Likewise.
27158 * signal/sigaction.c: Likewise.
27159 * signal/sigaltstack.c: Likewise.
27160 * signal/sigblock.c: Likewise.
27161 * signal/sigignore.c: Likewise.
27162 * signal/sigintr.c: Likewise.
27163 * signal/signal.c: Likewise.
27164 * signal/sigpause.c: Likewise.
27165 * signal/sigpending.c: Likewise.
27166 * signal/sigqueue.c: Likewise.
27167 * signal/sigreturn.c: Likewise.
27168 * signal/sigset.c: Likewise.
27169 * signal/sigsetmask.c: Likewise.
27170 * signal/sigstack.c: Likewise.
27171 * signal/sigsuspend.c: Likewise.
27172 * signal/sigtimedwait.c: Likewise.
27173 * signal/sigvec.c: Likewise.
27174 * signal/sigwait.c: Likewise.
27175 * signal/sigwaitinfo.c: Likewise.
27176 * signal/sysv_signal.c: Likewise.
27177 * socket/accept.c: Likewise.
27178 * socket/accept4.c: Likewise.
27179 * socket/bind.c: Likewise.
27180 * socket/connect.c: Likewise.
27181 * socket/getpeername.c: Likewise.
27182 * socket/getsockname.c: Likewise.
27183 * socket/getsockopt.c: Likewise.
27184 * socket/isfdtype.c: Likewise.
27185 * socket/listen.c: Likewise.
27186 * socket/recv.c: Likewise.
27187 * socket/recvfrom.c: Likewise.
27188 * socket/recvmsg.c: Likewise.
27189 * socket/send.c: Likewise.
27190 * socket/sendmsg.c: Likewise.
27191 * socket/sendto.c: Likewise.
27192 * socket/setsockopt.c: Likewise.
27193 * socket/shutdown.c: Likewise.
27194 * socket/sockatmark.c: Likewise.
27195 * socket/socket.c: Likewise.
27196 * socket/socketpair.c: Likewise.
27197 * stdio-common/ctermid.c: Likewise.
27198 * stdio-common/cuserid.c: Likewise.
27199 * stdio-common/remove.c: Likewise.
27200 * stdio-common/rename.c: Likewise.
27201 * stdio-common/renameat.c: Likewise.
27202 * stdio-common/tempname.c: Likewise.
27203 * stdlib/getcontext.c: Likewise.
27204 * stdlib/makecontext.c: Likewise.
27205 * stdlib/setcontext.c: Likewise.
27206 * stdlib/swapcontext.c: Likewise.
27207 * stdlib/system.c: Likewise.
27208 * streams/fattach.c: Likewise.
27209 * streams/fdetach.c: Likewise.
27210 * streams/getmsg.c: Likewise.
27211 * streams/getpmsg.c: Likewise.
27212 * streams/putmsg.c: Likewise.
27213 * streams/putpmsg.c: Likewise.
27214 * sysdeps/unix/bsd/getpt.c: Likewise.
27215 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27216 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27217 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27219 Likewise.
27220 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27221 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27222 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27223 * sysvipc/msgctl.c: Likewise.
27224 * sysvipc/msgget.c: Likewise.
27225 * sysvipc/msgrcv.c: Likewise.
27226 * sysvipc/msgsnd.c: Likewise.
27227 * sysvipc/semctl.c: Likewise.
27228 * sysvipc/semget.c: Likewise.
27229 * sysvipc/semop.c: Likewise.
27230 * sysvipc/semtimedop.c: Likewise.
27231 * sysvipc/shmat.c: Likewise.
27232 * sysvipc/shmctl.c: Likewise.
27233 * sysvipc/shmdt.c: Likewise.
27234 * sysvipc/shmget.c: Likewise.
27235 * termios/tcdrain.c: Likewise.
27236 * termios/tcflow.c: Likewise.
27237 * termios/tcflush.c: Likewise.
27238 * termios/tcgetattr.c: Likewise.
27239 * termios/tcgetpgrp.c: Likewise.
27240 * termios/tcsendbrk.c: Likewise.
27241 * termios/tcsetattr.c: Likewise.
27242 * termios/tcsetpgrp.c: Likewise.
27243 * time/adjtime.c: Likewise.
27244 * time/clock.c: Likewise.
27245 * time/getitimer.c: Likewise.
27246 * time/gettimeofday.c: Likewise.
27247 * time/setitimer.c: Likewise.
27248 * time/settimeofday.c: Likewise.
27249 * time/stime.c: Likewise.
27250 * time/time.c: Likewise.
27251
272522012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27253
a20492cf
PT
27254 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27255 /usr/old/bin.
27256
72e182e3
PT
27257 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27258 instead of spaces.
27259 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27260
fbeafede
JM
272612012-11-03 Joseph Myers <joseph@codesourcery.com>
27262
5b5b04d6
JM
27263 [BZ #14796]
27264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27265 FE_TONEAREST before applying Dekker multiplication and Knuth
27266 addition. Clear inexact exceptions and check for exact zero
27267 results afterwards.
27268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27269 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27271 * math/libm-test.inc (fma_test): Add more tests.
27272 (fma_test_towardzero): Likewise.
27273 (fma_test_downward): Likewise.
27274 (fma_test_upward): Likewise.
27275 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27276 function.
27277 (libc_fesetround): New macro.
27278 (libc_fesetroundf): Likewise.
27279 (libc_fesetroundl): Likewise.
27280 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27281 function.
27282 (libc_fesetround_387): Likewise.
27283 (libc_fesetroundf): New macro.
27284 (libc_fesetround): Likewise.
27285 (libc_fesetroundl): Likewise.
27286 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27287 function.
27288 (libc_fesetroundf): New macro.
27289 (libc_fesetround): Likewise.
27290 (libc_fesetroundl): Likewise.
27291 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27292 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27293 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27294 libm_hidden_ver.
27295 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27296 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27297 libm_hidden_def.
27298 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27299 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27300 libm_hidden_ver.
27301 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27302 libm_hidden_def.
27303
fbeafede
JM
27304 [BZ #3439]
27305 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27306 integer constant usable in #if and use that to give value to enum
27307 constant.
27308 (FE_DIVBYZERO): Likewise.
27309 (FE_UNDERFLOW): Likewise.
27310 (FE_OVERFLOW): Likewise.
27311 (FE_INVALID): Likewise.
27312 (FE_INVALID_SNAN): Likewise.
27313 (FE_INVALID_ISI): Likewise.
27314 (FE_INVALID_IDI): Likewise.
27315 (FE_INVALID_ZDZ): Likewise.
27316 (FE_INVALID_IMZ): Likewise.
27317 (FE_INVALID_COMPARE): Likewise.
27318 (FE_INVALID_SOFTWARE): Likewise.
27319 (FE_INVALID_SQRT): Likewise.
27320 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27321 (FE_TONEAREST): Likewise.
27322 (FE_TOWARDZERO): Likewise.
27323 (FE_UPWARD): Likewise.
27324 (FE_DOWNWARD): Likewise.
27325 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27326 (FE_DIVBYZERO): Likewise.
27327 (FE_OVERFLOW): Likewise.
27328 (FE_UNDERFLOW): Likewise.
27329 (FE_INEXACT): Likewise.
27330 (FE_TONEAREST): Likewise.
27331 (FE_DOWNWARD): Likewise.
27332 (FE_UPWARD): Likewise.
27333 (FE_TOWARDZERO): Likewise.
27334 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27335 (FE_UNDERFLOW): Likewise.
27336 (FE_OVERFLOW): Likewise.
27337 (FE_DIVBYZERO): Likewise.
27338 (FE_INVALID): Likewise.
27339 (FE_TONEAREST): Likewise.
27340 (FE_TOWARDZERO): Likewise.
27341 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27342 (FE_OVERFLOW): Likewise.
27343 (FE_UNDERFLOW): Likewise.
27344 (FE_DIVBYZERO): Likewise.
27345 (FE_INEXACT): Likewise.
27346 (FE_TONEAREST): Likewise.
27347 (FE_TOWARDZERO): Likewise.
27348 (FE_UPWARD): Likewise.
27349 (FE_DOWNWARD): Likewise.
27350 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27351 (FE_DIVBYZERO): Likewise.
27352 (FE_OVERFLOW): Likewise.
27353 (FE_UNDERFLOW): Likewise.
27354 (FE_INEXACT): Likewise.
27355 (FE_TONEAREST): Likewise.
27356 (FE_DOWNWARD): Likewise.
27357 (FE_UPWARD): Likewise.
27358 (FE_TOWARDZERO): Likewise.
27359
105ca950
CM
273602012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27361
27362 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27363
a542b389
AS
273642012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27365
27366 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27367 commands. Quote $PWD.
27368 (blacklist_exports): Don't use remove_newlines. Replace "declare
27369 -x" by "export".
27370 (remove_newlines): Remove.
27371
f62c8abc
L
273722012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27373
27374 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27375 * stdlib/stdlib.h (atof): Moved to ...
27376 * include/bits/stdlib-float.h: Here. New file.
27377 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27378 * stdlib/bits/stdlib-float.h: New file.
27379 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27380 -mno-sse -mno-mmx.
27381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27382 <xmmintrin.h>.
27383
0155d5b2
JM
273842012-11-02 Joseph Myers <joseph@codesourcery.com>
27385
a68d0680
JM
27386 * conform/conformtest.pl (@headers): Add fenv.h.
27387 * conform/data/fenv.h-data: New file.
27388 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27389 include of <math/fenv.h>.
27390
caf7f573
JM
27391 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27392 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27393 && !UNIX98]. Enables tests for XOPEN2K8.
27394 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27395 POSIX2008]: Likewise.
27396
6c073ad6
JM
27397 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27398 (struct rusage): Do not expect type or its members.
27399
0155d5b2
JM
27400 [BZ #3439]
27401 * math/math.h (FP_NAN): Define macro to integer constant usable in
27402 #if and use that to give value to enum constant.
27403 (FP_INFINITE): Likewise.
27404 (FP_ZERO): Likewise.
27405 (FP_SUBNORMAL): Likewise.
27406 (FP_NORMAL): Likewise.
27407
b5dcacb4
AS
274082012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27409
27410 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27411 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27412 arguments.
27413
f7934be8
RM
274142012-11-02 Roland McGrath <roland@hack.frob.com>
27415
27416 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27417 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27418 autoconf-time if not.
27419 * configure.in: Remove AC_PREREQ.
27420
d7d08bde
TMQMF
274212012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27422
27423 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27424 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27425 of the internal implementation.
27426
dcdae19a
JM
274272012-11-02 Joseph Myers <joseph@codesourcery.com>
27428
27429 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27430 except include of <misc/sys/syslog.h>.
27431
d6cffd3e
AS
274322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27433
27434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27435 function returns with a NULL context exit with zero.
27436
b3563932
TMQMF
274372012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27438
27439 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27440
b288a93d
L
274412012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27442
27443 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27444 (run_program_cmd): This.
27445 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27446 (tst_langinfo): New variable. Use it.
27447
a2421a68
SAS
274482012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27449
27450 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27451 floating point opcodes.
27452
6f796e1b
TS
274532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27454
7402596b
TS
27455 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27456 variable.
27457
d0d4f868
TS
27458 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27459
6f796e1b
TS
27460 * sysdeps/mach/hurd/powerpc: Remove directory.
27461 * sysdeps/mach/powerpc: Likewise.
27462
4da224a2
AS
274632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27464
27465 * scripts/check-local-headers.sh: Ignore c++ headers.
27466
341dd673
TS
274672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27468
27469 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27470 __libc_cleanup_region_start argument.
27471
473611b2
JM
274722012-11-01 Joseph Myers <joseph@codesourcery.com>
27473
27474 [BZ #14784]
27475 [BZ #14785]
27476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27477 x * y using scaling, not as x * y + z.
27478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27480 * math/libm-test.inc (fma_test): Add more tests.
27481 (fma_test_towardzero): Likewise.
27482 (fma_test_downward): Likewise.
27483 (fma_test_upward): Likewise.
27484
4078da3d
TS
274852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27486
27487 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27488
903252aa
JM
274892012-10-31 Joseph Myers <joseph@codesourcery.com>
27490
27491 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27492 New variable.
27493
cbc818d0
TS
274942012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27495
27496 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27497
5a03cb1e
AS
274982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27499
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27501 Fix sort order.
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27503 Likewise.
27504
90aff2ff
TMQMF
275052012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27506
27507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27508 Fix the order of the list for glibc 2.17.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27510 Likewise.
27511
1818fcb7
AS
275122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27513
27514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27515
ef82f4da
JM
275162012-10-31 Joseph Myers <joseph@codesourcery.com>
27517
16a0e2ec
JM
27518 [BZ #14610]
27519 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27520 for low part of x being zero before using __atanl (y).
27521 * math/libm-test.inc (atan2_test): Add another test.
27522
0eb69512
JM
27523 * manual/install.texi (Configuring and compiling): Document
27524 general use of test-wrapper and test-wrapper-env.
27525 * INSTALL: Regenerated.
27526
ef82f4da
JM
27527 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27528 (__fma): Do not extract and scale down low bits on after-rounding
27529 systems when result rounded to normal precision would have normal
27530 exponent.
27531 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27532 (__fmal): Do not extract and scale down low bits on after-rounding
27533 systems when result rounded to normal precision would have normal
27534 exponent.
27535 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27536 (__fmal): Do not extract and scale down low bits on after-rounding
27537 systems when result rounded to normal precision would have normal
27538 exponent.
27539 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27540 macro.
27541 (fma_test): Add more tests.
27542 (fma_test_towardzero): Likewise.
27543 (fma_test_downward): Likewise.
27544 (fma_test_upward): Likewise.
27545
954ef0d9
L
275462012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27547
27548 * sysdeps/i386/tininess.h: Renamed to ...
27549 * sysdeps/x86/tininess.h: This.
27550 * sysdeps/x86_64/tininess.h: Removed.
27551
df61ffb2
JM
275522012-10-30 Joseph Myers <joseph@codesourcery.com>
27553
27554 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27555 input. Use $(build-program-cmd).
27556 ($(objpfx)tst-array1-static.out): Likewise.
27557 ($(objpfx)tst-array2.out): Likewise.
27558 ($(objpfx)tst-array3.out): Likewise.
27559 ($(objpfx)tst-array4.out): Likewise.
27560 ($(objpfx)tst-array5.out): Likewise.
27561 ($(objpfx)tst-array5-static.out): Likewise.
27562
01767843
CM
275632012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27564
47cc1490
CM
27565 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27566 if defined.
27567
01767843
CM
27568 * nss/nsswitch.h (nss_interface_function): Provide new
27569 macro for use with NSS functions.
27570 * grp/initgroups.c: Use new macro.
27571 * nss/getXXbyYY.c: Likewise.
27572 * nss/getXXbyYY_r.c: Likewise.
27573 * nss/getXXent.c: Likewise.
27574 * nss/getXXent_r.c: Likewise.
27575 * sysdeps/posix/getaddrinfo.c: Likewise.
27576
8321aa97
AJ
275772012-10-30 Andreas Jaeger <aj@suse.de>
27578
27579 * po/ru.po: Update Russion translation from translation project.
27580
2a27fd6d
JM
275812012-10-30 Joseph Myers <joseph@codesourcery.com>
27582
8627a232
JM
27583 [BZ #14152]
27584 [BZ #14783]
27585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27586 result and shift together with sticky bit instead of replicating
27587 round-to-nearest rounding.
27588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27590 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27591 missing underflow exceptions.
27592 (fma_test_towardzero): Add more tests.
27593 (fma_test_downward): Likewise.
27594 (fma_test_upward): Likewise.
27595
2a27fd6d
JM
27596 [BZ #14047]
27597 * sysdeps/generic/tininess.h: New file.
27598 * sysdeps/i386/tininess.h: Likewise.
27599 * sysdeps/sh/tininess.h: Likewise.
27600 * sysdeps/x86_64/tininess.h: Likewise.
27601 * stdlib/tst-strtod-underflow.c: Likewise.
27602 * stdlib/tst-tininess.c: Likewise.
27603 * stdlib/strtod_l.c: Include <tininess.h>.
27604 (round_and_return): Do not set errno for exact underflow cases.
27605 Force an underflow exception when setting errno for underflow.
27606 Determine underflow based on rounding to normal precision if
27607 TININESS_AFTER_ROUNDING.
27608 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27609 ERANGE for exact underflow cases.
27610 * stdlib/Makefile (tests): Add tst-tininess and
27611 tst-strtod-underflow.
27612 ($(objpfx)tst-tininess): Use $(link-libm).
27613 ($(objpfx)tst-strtod-underflow): Likewise.
27614
e7170363
AJ
276152012-10-30 Andreas Jaeger <aj@suse.de>
27616
e5088dc6
AJ
27617 [BZ#14767]
27618 * elf/Makefile (tests): Remove conditional for have-initfini-array
27619 since this is now always required and the variable does not exist
27620 anymore.
27621 (tests-static): Likewise.
27622 (modules-names): Likewise.
27623
e7170363 27624 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27625
27626 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27627 merged with constructor/destructor.
27628 (init_array): Likewise.
27629 * elf/tst-array2dep.c (fini_array): Likewise.
27630 (init_array): Likewise.
27631
60457d8a
MF
276322012-10-29 Mike Frysinger <vapier@gentoo.org>
27633
27634 * manual/message.texi: Delete @cartouche tags.
27635
8bece752
PT
276362012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27637
94ce799f
PT
27638 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27639 EOPNOTSUPP.
27640 * sysdeps/mach/hurd/fsync.c: Likewise.
27641
8bece752
PT
27642 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27643 [_POSIX_REALTIME_SIGNALS]: Change condition to
27644 [_POSIX_REALTIME_SIGNALS > 0].
27645
86ebe6b1
AJ
276462012-10-27 Andreas Jaeger <aj@suse.de>
27647
27648 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27649 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27651 [__WORDSIZE != 64]: Likewise.
27652
54399c08
L
276532012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27654
27655 * iconvdata/tst-table.sh: Remove ${SHELL}.
27656 * iconvdata/tst-tables.sh: Likewise.
27657
e2211bed
DM
276582012-10-25 David S. Miller <davem@davemloft.net>
27659
27660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27661 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27662 of strtoull.
27663
f303f97c
DM
27664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27665 ifunc-impl-list.c
27666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27667 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27668 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27669 file.
27670
1e9d84cd
RM
276712012-10-25 Roland McGrath <roland@hack.frob.com>
27672
27673 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27674 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27675 __getdirentries.
27676
df381762
JM
276772012-10-25 Joseph Myers <joseph@codesourcery.com>
27678 Jim Blandy <jimb@codesourcery.com>
27679
27680 * scripts/cross-test-ssh.sh: New file.
27681 * manual/install.texi (Configuring and compiling): Document use of
27682 cross-test-ssh.sh.
27683 * INSTALL: Regenerated.
27684
bff64913
PT
276852012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27686
27687 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27688 EOPNOTSUPP.
27689
25fe8932
JM
276902012-10-25 Joseph Myers <joseph@codesourcery.com>
27691
27692 * Makeconfig (run-program-prefix): Fix comment.
27693
cc1290d0
JM
276942012-10-24 Joseph Myers <joseph@codesourcery.com>
27695 Jim Blandy <jimb@codesourcery.com>
27696
27697 * Makeconfig (test-wrapper): New variable,
27698 (test-wrapper-env): Likewise.
27699 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27700 (run-built-tests): Define to yes.
27701 (run-program-prefix): Use $(test-wrapper).
27702 (built-program-cmd): Likewise.
27703 * Rules (make-test-out): Use $(test-wrapper-env) and
27704 $(host-built-program-cmd).
27705 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27706 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27707 tst-pathopt.sh.
27708 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27709 $(test-wrapper-env) to tst-rtld-load-self.sh.
27710 ($(objpfx)order2.out): Use $(test-wrapper).
27711 ($(objpfx)tst-initorder.out): Likewise.
27712 ($(objpfx)tst-initorder2.out): Likewise.
27713 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27714 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27715 (test_wrapper_env): New variable. Use it to run ld.so.
27716 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27717 Use it to run ld.so.
27718 (test_wrapper_env): Likewise.
27719 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27720 $(test-wrapper) to run-iconv-test.sh.
27721 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27722 (ICONV): Use $test_wrapper.
27723 * posix/Makefile ($(objpfx)globtest.out): Pass
27724 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27725 globtest.sh, not $(run-program-prefix).
27726 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27727 (test_wrapper): Likewise.
27728 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27729 set together with run_via_rtld_prefix.
27730 (run_program_prefix): Define in terms of test_wrapper and
27731 run_via_rtld_prefix.
27732
6e6249d0
RM
277332012-10-24 Roland McGrath <roland@hack.frob.com>
27734
27735 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27736 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27737 Targets removed.
27738
27739 [BZ #14743]
27740 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27741 Declare __clock_getres, __clock_gettime, __clock_settime,
27742 __clock_nanosleep, and __clock_getcpuclockid.
27743 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27744 Remove librt_hidden_def (clock_gettime).
27745 * sysdeps/unix/clock_gettime.c: Likewise.
27746 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27747 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27748 * rt/clock_getres.c: Define __clock_getres as an alias.
27749 * sysdeps/posix/clock_getres.c: Likewise.
27750 * rt/clock_settime.c: Define __clock_settime as an alias.
27751 * sysdeps/unix/clock_settime.c: Likewise.
27752 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27753 * sysdeps/unix/clock_nanosleep.c: Likewise.
27754 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27755 * rt/clock-compat.c: New file.
27756 * rt/Makefile (librt-routines): Add clock-compat and move
27757 $(clock-routines) to ...
27758 (routines): ... here, new variable.
27759 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27760 Don't add get_clockfreq here.
27761 * rt/Versions (libc: GLIBC_2.17): New version set.
27762 Add clock_* symbols here.
27763 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27765 (GLIBC_2.17): Add clock_* symbols.
27766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27770 Likewise.
27771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27772 Likewise.
27773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27777 * NEWS: Mention the move.
27778
27779 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27780 Use __open, __read, __close rather than their public counterparts.
27781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27782 (__get_clockfreq_via_cpuinfo): Likewise.
27783 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27784 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27785
27786 * config.h.in (HAVE_IFUNC): New #undef.
27787 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27788 was successful.
27789 * configure: Regenerated.
27790
0cae3f4b
MF
277912012-10-24 Mike Frysinger <vapier@gentoo.org>
27792
27793 * configure.in: Move READELF check to start of file.
27794 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27795 libc_cv_asm_gnu_indirect_function in the process.
27796 * configure: Regenerated.
27797
8175a253
MF
277982012-10-24 Mike Frysinger <vapier@gentoo.org>
27799
27800 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27801 send the output to /dev/null.
27802 (libc_cv_cc_with_libunwind): Likewise.
27803 (libc_cv_as_noexecstack): Likewise.
27804 * configure: Regenerate.
27805
0708a7d1
JM
278062012-10-24 Joseph Myers <joseph@codesourcery.com>
27807
10b40d85
JM
27808 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27809
0708a7d1
JM
27810 * posix/globtest.sh (TMPDIR): Do not set.
27811 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27812 (testout): Likewise.
27813
9fddec1a
AJ
278142012-10-24 Andreas Jaeger <aj@suse.de>
27815
3a8db22f
AJ
27816 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27817 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27818 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27819 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27820 posix_fadvise64, posix_fallocate64.
27821
9fddec1a
AJ
27822 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27823 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27824 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27825 Likewise.
27826 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27827 Likewise.
27828 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27829
27830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27831 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27832 <bits/fcntl-linux.h>.
27833 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27834
27835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27836 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27837 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27838 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27839 [__WORDSIZE != 64]: Likewise.
27840
ebfd1bbd
JM
278412012-10-23 Joseph Myers <joseph@codesourcery.com>
27842
03ac099f
JM
27843 * Makeconfig (run-built-tests): New variable.
27844 * Rules [$(cross-compiling) = yes]: Change condition to
27845 [$(run-built-tests) = no].
27846 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27847 to [$(run-built-tests) = yes].
27848 * elf/Makefile [$(cross-compiling) = no]: Likewise
27849 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27850 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27851 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27852 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27853 * io/Makefile [$(cross-compiling) = no]: Likewise.
27854 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27855 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27856 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27857 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27858 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27859 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27860 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27861 * string/Makefile [$(cross-compiling) = no]: Likewise.
27862
ebfd1bbd
JM
27863 * posix/Makefile ($(objpfx)globtest.out): Pass
27864 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27865 $(rtld-installed-name).
27866 * posix/globtest.sh (elf_objpfx): Remove variable.
27867 (rtld_installed_name): Likewise.
27868 (library_path): Likewise.
27869 (run_program_prefix): New variable. Use for running globtest
27870 binary.
27871
166bca24
JB
278722012-10-23 Jim Blandy <jimb@codesourcery.com>
27873 Joseph Myers <joseph@codesourcery.com>
27874
27875 * Makeconfig (host-built-program-cmd): New variable.
27876 * elf/Makefile (tst-stackguard1-ARGS): Use
27877 $(host-built-program-cmd).
27878 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27879 (tst-spawn-ARGS): Likewise.
27880 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27881
88866099
JM
278822012-10-23 Joseph Myers <joseph@codesourcery.com>
27883 Jim Blandy <jimb@codesourcery.com>
27884
27885 * Makeconfig (run-via-rtld-prefix): New variable.
27886 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27887 (built-program-cmd): Likewise.
27888
b4b4c296
AJ
278892012-10-22 Andreas Jaeger <aj@suse.de>
27890
27891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27892 __O_RSYNC if it exists, otherwise to O_SYNC.
27893
6fb54a22
JB
278942012-10-22 Jim Blandy <jimb@codesourcery.com>
27895 Joseph Myers <joseph@codesourcery.com>
27896
27897 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27898 /dev/null.
27899 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27900 from /dev/null
27901 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27902 /dev/null.
27903
481b90b9
AJ
279042012-10-22 Andreas Jaeger <aj@suse.de>
27905
2a0e2669
AJ
27906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27907 Define always.
27908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27909
76e38f9a
AJ
27910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27911 bits/fcntl-linux.h.
27912
7cd37b43
AJ
27913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27914 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27915
481b90b9
AJ
27916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27917 to __O_LARGEFILE.
27918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27919 to __O_LARGEFILE.
27920
aba75984
JB
279212012-10-21 Jim Blandy <jimb@codesourcery.com>
27922 Joseph Myers <joseph@codesourcery.com>
27923
27924 * config.make.in (NM): New variable.
27925
88d4247f
AJ
279262012-10-21 Andreas Jaeger <aj@suse.de>
27927
27928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27929 definitions and declarations that are provided by
27930 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27931
f2eed205
L
279322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 [BZ #14683]
27935 * elf/Makefile (tests-static): Add tst-leaks1-static.
27936 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27937 ($(objpfx)tst-leaks1-static): New rule.
27938 ($(objpfx)tst-leaks1-static-mem): Likewise.
27939 (tst-leaks1-static-ENV): New macro.
27940 * elf/dl-open.c (dl_open_worker): Check the main application
27941 only if SHARED is defined.
27942 * elf/tst-leaks1-static.c: New file.
27943
335e6931
AJ
279442012-10-20 Andreas Jaeger <aj@suse.de>
27945
27946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27947 generic values for Linux.
27948 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27949 and declarations that are provided by <bits/fcntl-linux.h> and
27950 include <bits/fcntl-linux.h>.
27951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27953
ac5c94d3
RM
279542012-10-20 Roland McGrath <roland@hack.frob.com>
27955
27956 * io/fcntl.h: Move include of <bits/types.h> to the top and
27957 include it unconditionally.
27958
de54b33a
L
279592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27960
228cfb01
L
27961 * wcsmbs/Makefile (tests-ifunc): New variable.
27962 (tests): Add $(tests-ifunc).
27963 * wcsmbs/test-wcschr-ifunc.c: New file.
27964 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27965 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27966 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27967 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27968 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27969
69f07e5f
L
27970 * string/Makefile (tests-ifunc): New variable.
27971 (tests): Add $(tests-ifunc).
27972 * string/test-memccpy.c (TEST_NAME): New macro.
27973 * string/test-memchr.c (TEST_NAME): Likewise.
27974 * string/test-memcmp.c (TEST_NAME): Likewise.
27975 * string/test-memcpy.c (TEST_NAME): Likewise.
27976 * string/test-memmem.c (TEST_NAME): Likewise.
27977 * string/test-memmove.c (TEST_NAME): Likewise.
27978 * string/test-memset.c (TEST_NAME): Likewise.
27979 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27980 * string/test-stpcpy.c (TEST_NAME): Likewise.
27981 * string/test-stpncpy.c (TEST_NAME): Likewise.
27982 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27983 * string/test-strcasestr.c (TEST_NAME): Likewise.
27984 * string/test-strcat.c (TEST_NAME): Likewise.
27985 * string/test-strchr.c (TEST_NAME): Likewise.
27986 * string/test-strcmp.c(TEST_NAME): Likewise.
27987 * string/test-strcpy.c (TEST_NAME): Likewise.
27988 * string/test-strcspn.c (TEST_NAME): Likewise.
27989 * string/test-strlen.c (TEST_NAME): Likewise.
27990 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27991 * string/test-strncmp.c (TEST_NAME): Likewise.
27992 * string/test-strncpy.c (TEST_NAME): Likewise.
27993 * string/test-strnlen.c (TEST_NAME): Likewise.
27994 * string/test-strpbrk.c (TEST_NAME): Likewise.
27995 * string/test-strrchr.c (TEST_NAME): Likewise.
27996 * string/test-strspn.c (TEST_NAME): Likewise.
27997 * string/test-strstr.c (TEST_NAME): Likewise.
27998 * string/test-bcopy-ifunc.c: New file.
27999 * string/test-bzero-ifunc.c: Likewise.
28000 * string/test-memccpy-ifunc.c: Likewise.
28001 * string/test-memchr-ifunc.c: Likewise.
28002 * string/test-memcmp-ifunc.c: Likewise.
28003 * string/test-memcpy-ifunc.c: Likewise.
28004 * string/test-memmem-ifunc.c: Likewise.
28005 * string/test-memmove-ifunc.c: Likewise.
28006 * string/test-mempcpy-ifunc.c: Likewise.
28007 * string/test-memset-ifunc.c: Likewise.
28008 * string/test-rawmemchr-ifunc.c: Likewise.
28009 * string/test-stpcpy-ifunc.c: Likewise.
28010 * string/test-stpncpy-ifunc.c: Likewise.
28011 * string/test-strcasecmp-ifunc.c: Likewise.
28012 * string/test-strcasestr-ifunc.c: Likewise.
28013 * string/test-strcat-ifunc.c: Likewise.
28014 * string/test-strchr-ifunc.c: Likewise.
28015 * string/test-strchrnul-ifunc.c: Likewise.
28016 * string/test-strcmp-ifunc.c: Likewise.
28017 * string/test-strcpy-ifunc.c: Likewise.
28018 * string/test-strcspn-ifunc.c: Likewise.
28019 * string/test-strlen-ifunc.c: Likewise.
28020 * string/test-strncasecmp-ifunc.c: Likewise.
28021 * string/test-strncat-ifunc.c: Likewise.
28022 * string/test-strncmp-ifunc.c: Likewise.
28023 * string/test-strncpy-ifunc.c: Likewise.
28024 * string/test-strnlen-ifunc.c: Likewise.
28025 * string/test-strpbrk-ifunc.c: Likewise.
28026 * string/test-strrchr-ifunc.c: Likewise.
28027 * string/test-strspn-ifunc.c: Likewise.
28028 * string/test-strstr-ifunc.c: Likewise.
28029
de54b33a
L
28030 * debug/Makefile (tests-ifunc): New variable.
28031 (tests): Add $(tests-ifunc).
28032 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28033 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28034 * debug/test-stpcpy_chk-ifunc.c: New file.
28035 * debug/test-strcpy_chk-ifunc.c: Likewise.
28036
88481c16
SP
280372012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28038
28039 [BZ #13601]
28040 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28041 header is not read in.
28042
135948bd
JM
280432012-10-19 Joseph Myers <joseph@codesourcery.com>
28044
89f1c388
JM
28045 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28046 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28047 directly. Pass built executable to script as
28048 $(built-program-cmd).
28049 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28050 $testprogram without using LD_LIBRARY_PATH and $ldso.
28051
e40a0d21
JM
28052 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28053 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28054 $(rtld-installed-name).
28055 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28056 (rtld_installed_name): Likewise.
28057 (library_path): Likewise.
28058 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28059 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28060 $(run-program-prefix) to tst-tables.sh.
28061 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28062 it to run tst-table-from and tst-table-to.
28063 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28064 Pass it to tst-table.sh.
28065 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28066 $(run-program-prefix) to tst-gettext.sh.
28067 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28068 tst-translit.sh.
28069 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28070 tst-gettext2.sh.
28071 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28072 to run tst-gettext.
28073 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28074 to run tst-gettext2.
28075 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28076 to run tst-translit.
28077 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28078 $(run-program-prefix) to tst-mtrace.sh.
28079 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28080 to run tst-mtrace.
28081 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28082 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28083 $(rtld-installed-name).
28084 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28085 (rtld_installed_name): Likewise.
28086 (run_program_prefix): New variable. Use it to run wordexp-test.
28087
728e272a
JM
28088 * Makeconfig (ARCH): Remove all definitions.
28089 (machine): Likewise.
28090 [ARCH]: Remove conditional code.
28091 [!objdir]: Give error.
28092 [!objdir] (objpfx): Remove.
28093 [!objdir] (common-objpfx): Likewise.
28094 [!objdir] (common-objdir): Likewise.
28095 * configure.in (config_makefile): Remove. Hardcode Makefile in
28096 AC_CONFIG_FILES call.
28097 * configure: Regenerated.
28098
d528cdcf
JM
28099 [BZ #13888]
28100 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28101 or TMPDIR.
28102 (testout): Likewise.
28103
135948bd
JM
28104 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28105 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28106 $(rtld-installed-name).
28107 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28108 (rtld_installed_name): Likwise.
28109 (runit): Remove function.
28110 (run_getconf): New variable, Use it for running getconf binary.
28111
38c78296
L
281122012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28113
28114 [BZ #14716]
28115 * string/test-memmem.c (check_result): New function.
28116 (do_one_test): Use it.
28117 (check1): New function.
28118 (test_main): Use it.
28119
d077f65f
MT
281202012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28121
28122 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28123
ced52c71
JM
281242012-10-18 Joseph Myers <joseph@codesourcery.com>
28125
28126 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28127 (_G_LSEEK64): Likewise.
28128 (_G_MMAP64): Likewise.
28129 (_G_FSTAT64): Likewise.
28130 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28131 (_G_LSEEK64): Likewise.
28132 (_G_MMAP64): Likewise.
28133 (_G_FSTAT64): Likewise.
28134 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28135 unconditional. Call __mmap64 directly.
28136 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28137 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28138 __lseek64 directly.
28139 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28140 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28141 __mmap64 directly.
28142 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28143 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28144 __lseek64 directly.
28145 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28146 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28147 __lseek64 directly.
28148 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28149 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28150 __lseek64 directly.
28151 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28152 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28153 __fxstat64 directly.
28154 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28155 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28156 unconditional.
28157 (freopen64) [!_G_OPEN64]: Remove conditional code.
28158 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28159 unconditional.
28160 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28161 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28162 unconditional.
28163 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28164 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28165 unconditional.
28166 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28167 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28168 unconditional.
28169 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28170 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28171 unconditional.
28172 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28173 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28174 unconditional.
28175 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28176 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28177 unconditional.
28178 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28179
b741de23
SP
281802012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28181
28182 [BZ #12140]
28183 * manual/memory.texi (Malloc Tunable Parameters): Add note
28184 about free list pointers overwriting some perturb bytes.
28185 Wording suggested by Roland McGrath.
28186
f9b9d9c9
JM
281872012-10-17 Joseph Myers <joseph@codesourcery.com>
28188
28189 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28190 (lgamma_test): Likewise.
28191 (tgamma_test): Likewise.
28192
172a631a
FW
281932012-10-16 Florian Weimer <fweimer@redhat.com>
28194
28195 [BZ #14700]
28196 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28197 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28198
e9f37252
MK
281992012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28200
28201 * NEWS: Mention BZ #14716.
28202 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28203 when removing AVAILABLE1_USES_J macro.
28204
d394eb74
L
282052012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28206
28207 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28208 (__bswap_64): __uint64_t for unsigned 64-bit int.
28209
ca38dc17
AS
282102012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28211
28212 * include/string.h (memmem): Declare libc hidden alias.
28213 * string/memmem.c (memmem): Define libc hidden alias.
28214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28215 __read, __close instead of open, read, close.
28216
9a387d1f
L
282172012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28218
ac49ecaf
L
28219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28220 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28221 global and hidden.
28222 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28223 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28224 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28225 Likewise.
28226 (__rawmemchr_sse2): Likewise.
28227 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28228 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28229 (__strchr_sse2): Likewise.
28230 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28231 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28232 (__strcasecmp_sse2): Likewise.
28233 (__strncasecmp_sse2): Likewise.
28234 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28235 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28236 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28237 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28238 (__strrchr_sse2): Likewise.
28239 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28240 ifunc-impl-list.c.
28241 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28242 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28243 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28244 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28245 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28246 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28247 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28248 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28249 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28250 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28251 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28253 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28254 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28255 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28256 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28257 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28258 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28259 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28260 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28261 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28262 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28263 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28264 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28265 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28266 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28267 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28268 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28269 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28270 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28271
b090e8ea
L
28272 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28273 global and hidden.
28274 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28275 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28276 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28277 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28278 Likewise.
28279 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28280 Likewise.
28281 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28282 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28283 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28284 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28285 ifunc-impl-list.c.
28286 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28287 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28288 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28289 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28290 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28291 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28292 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28293 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28294 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28295 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28296 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28297 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28298 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28299 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28300 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28301 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28302 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28303 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28304 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28305 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28307 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28308 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28309 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28311 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28312 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28313 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28314 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28315 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28316 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28317 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28318 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28319 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28326 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28327
11dd4af6
L
28328 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28329 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28330 * include/ifunc-impl-list.h: New file.
28331 * misc/ifunc-impl-list.c: Likewise.
28332 * misc/Makefile (routines): Add ifunc-impl-list.
28333 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28334 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28335 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28336 TEST_NAME]: New variables.
11dd4af6
L
28337 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28338 are defined.
28339 (test_init): Call __libc_ifunc_impl_list to initialize
28340 func_list if TEST_IFUNC and TEST_NAME are defined.
28341
9a387d1f
L
28342 * string/Makefile (strop-tests): Add bcopy and bzero.
28343 * string/test-bcopy.c: New file.
28344 * string/test-bzero.c: Likewise.
28345 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28346 defined.
28347 * string/test-memset.c: Support bzero test if TEST_BZERO is
28348 defined.
28349 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28350 __libc_memmove.
28351 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28352 __libc_memset.
28353 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28354 of memset.
28355
472371b9
JM
283562012-10-10 Joseph Myers <joseph@codesourcery.com>
28357
1e4a9536
JM
28358 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28359 * configure: Regenerated.
28360
d173d12e
JM
28361 * Makeconfig (+link-static-before-libc): Don't include
28362 $(link-static-libc).
28363
472371b9
JM
28364 * libio/libio.h (_IO_pos_t): Remove.
28365
89a3ad0b
AO
283662012-10-10 Alexandre Oliva <aoliva@redhat.com>
28367
28368 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28369 McGrath.
28370
e7451425
AO
283712012-10-10 Alexandre Oliva <aoliva@redhat.com>
28372
28373 * crypt/crypt-entry.c: Include fips-private.h.
28374 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28375 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28376 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28377 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28378
4ba74a35
AO
283792012-10-10 Alexandre Oliva <aoliva@redhat.com>
28380
28381 * crypt/crypt-private.h: Include stdbool.h.
28382 (_ufc_setup_salt_r): Return bool.
28383 * crypt/crypt-entry.c: Include errno.h.
28384 (__crypt_r): Return NULL with EINVAL for bad salt.
28385 * crypt/crypt_util.c (bad_for_salt): New.
28386 (_ufc_setup_salt_r): Check that salt is long enough and within
28387 the specified alphabet.
28388 * crypt/badsalttest.c: New file.
28389 * crypt/Makefile (tests): Add it.
28390 ($(objpfx)badsalttest): New.
28391
f96f1242
MK
283922012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28393
28394 * NEWS: Add entry for BZ #14602.
28395
0e8e0c1c
JM
283962012-10-09 Joseph Myers <joseph@codesourcery.com>
28397
28398 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28399 type-generic.
28400 * math/libm-test.inc: Update comment listing what functions and
28401 macros are tested.
28402 (isgreater_test): New function.
28403 (isgreaterequal_test): Likewise.
28404 (isless_test): Likewise.
28405 (islessequal_test): Likewise.
28406 (islessgreater_test): Likewise.
28407 (isunordered_test): Likewise.
28408 (main): Call the new functions.
28409
273edc5e
RM
284102012-10-09 Roland McGrath <roland@hack.frob.com>
28411
b8493de0
RM
28412 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28413 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28414 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28415 * sysdeps/i386/configure: Regenerated.
28416 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28417 * sysdeps/mach/configure: Regenerated.
28418 * sysdeps/mach/hurd/configure: Regenerated.
28419 * sysdeps/powerpc/configure: Regenerated.
28420 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28421 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28422 * sysdeps/s390/s390-32/configure: Regenerated.
28423 * sysdeps/s390/s390-64/configure: Regenerated.
28424 * sysdeps/sh/configure: Regenerated.
28425 * sysdeps/sparc/configure: Regenerated.
28426 * sysdeps/unix/sysv/linux/configure: Regenerated.
28427 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28428 * sysdeps/x86_64/configure: Regenerated.
28429
273edc5e
RM
28430 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28431 defined. Don't check if MAP is NULL.
28432
c8450f70
JM
284332012-10-09 Joseph Myers <joseph@codesourcery.com>
28434
28435 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28436 (_G_stat64): Likewise.
28437 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28438 (_G_stat64): Likewise.
28439 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28440 instead of struct _G_stat64.
28441 * libio/fileops.c (mmap_remap_check): Likewise.
28442 (decide_maybe_mmap): Likewise.
28443 (_IO_new_file_seekoff): Likewise.
28444 (_IO_file_stat): Likewise.
28445 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28446 _G_off64_t.
28447 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28448 instead of struct _G_stat64.
28449 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28450
57e605ba
MK
284512012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28452
28453 [BZ #14602]
28454 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28455 Replace with ...
28456 (CHECK_EOL): New macro.
28457 (two_way_short_needle): Check beginning of haystack for EOL. Use
28458 CHECK_EOL.
28459 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28460 Replace with CHECK_EOL.
28461 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28462 Replace with CHECK_EOL.
28463
ef1bb361
JM
284642012-10-08 Joseph Myers <joseph@codesourcery.com>
28465
28466 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28467 type-generic.
28468 * math/libm-test.inc: Update comment listing what functions and
28469 macros are tested.
28470 (finite_test): New function.
28471 (isinf_test): Likewise.
28472 (isnan_test): Likewise.
28473 (fpclassify_test): Test subnormal input.
28474 (isfinite_test): Likewise.
28475 (isnormal_test): Likewise.
28476 (main): Call the new functions.
28477
55f11534
JN
284782012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28479
28480 [BZ #14660]
28481 * Makerules (%.dynsym): Force C locale when running
28482 $(OBJDUMP) --dynamic-syms.
28483
1ab29350
AS
284842012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28485
28486 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28487 <stdint.h>.
28488
f1ecb7ef
DM
284892012-10-06 David S. Miller <davem@davemloft.net>
28490
28491 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28492 upper 32-bits of the length value in %o2 since we use branch-on-register
28493 tests which consider the entire 64-bit register.
28494
5d41d91a
L
284952012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28496
28497 * string/test-strstr.c (check2): Add a test for page boundary.
28498
3baddb72
DM
284992012-10-05 David S. Miller <davem@davemloft.net>
28500
28501 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28502 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28503 file.
28504 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28505 sysdep_routines.
28506 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28507 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28508 and bzero when HWCAP_SPARC_CRYPTO is present.
28509
9cee5585
L
285102012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28511
d7e0dab9
L
28512 [BZ #14602]
28513 * string/test-strstr.c (check2): New function.
28514 (test_main): Call check2.
28515
03759f47
L
28516 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28517 and bug-strchr1.
28518 * string/bug-strcasestr1.c (do_test): Moved to ...
28519 * string/test-strcasestr.c (check1): Here. New function.
28520 (do_one_test): Break out result checking code into ...
28521 (check_result): This. New function.
28522 (do_one_test): Call check_result.
28523 (test_main): Call check1.
28524 * string/bug-strchr1.c (do_test): Moved to ...
28525 * string/test-strchr.c (check1): Here. New function.
28526 (do_one_test): Break out result checking code into ...
28527 (check_result): This. New function.
28528 (do_one_test): Call check_result.
28529 (test_main): Call check1.
28530 * string/bug-strstr1.c (main): Moved to ...
046f153e 28531 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28532 (do_one_test): Break out result checking code into ...
28533 (check_result): This. New function.
28534 (do_one_test): Call check_result.
28535 (test_main): Call check1.
28536 * string/bug-strcasestr1.c: Removed.
28537 * string/bug-strchr1.c: Likewise.
28538 * string/bug-strstr1.c: Likewise.
28539
53cea63e
L
28540 * elf/Makefile (dl-routines): Add hwcaps.
28541 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28542 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28543 (_dl_important_hwcaps): Moved to ...
28544 * elf/dl-hwcaps.c: Here. New file.
28545 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28546
9cee5585 28547 [BZ #14557]
bb859b06
L
28548 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28549 if IS_IN_rtld isn't defined.
28550
9cee5585
L
28551 * elf/dl-support.c (_dl_sysinfo_map): New.
28552 Include "get-dynamic-info.h" and "setup-vdso.h".
28553 (_dl_non_dynamic_init): Call setup_vdso.
28554 * elf/dynamic-link.h: Don't include <assert.h>.
28555 (elf_get_dynamic_info): Moved to ...
28556 * elf/get-dynamic-info.h: Here. New file.
28557 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28558 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28559 * elf/setup-vdso.h: Here. New file.
28560 * elf/rtld.c: Include "setup-vdso.h".
28561 (dl_main): Call setup_vdso.
28562
23c31b76
JM
285632012-10-05 Joseph Myers <joseph@codesourcery.com>
28564
28234b07
JM
28565 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28566 creal in comment listing functions tested. List finite, isinf,
28567 isnan, isless, islessequal, isgreater, isgreaterequal,
28568 islessgreater, isunordered, lgamma_r and pow10 as functions and
28569 macros not tested. Mention which functions not tested are aliases
28570 for other functions. Fix typo. Note that signs of NaNs are not
28571 tested.
28572
23c31b76
JM
28573 * scripts/config.guess: Update from config.git.
28574 * scripts/config.sub: Likewise.
28575
9043e228
RM
285762012-10-04 Roland McGrath <roland@hack.frob.com>
28577
28578 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28579 * misc/madvise.c (madvise): Renamed to __madvise.
28580 Make madvise a weak alias.
28581 * include/sys/mman.h: Declare __madvise.
28582 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28583 * sysdeps/unix/syscalls.list
28584 (madvise): Make __madvise the strong name, and madvise a weak alias.
28585 * sysdeps/unix/sysv/linux/syscalls.list
28586 (madvise, mmap): Remove redundant entries.
28587 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28588 * malloc/malloc.c (mtrim): Likewise.
28589 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28590
f57f8055
RM
285912012-10-03 Roland McGrath <roland@hack.frob.com>
28592
28593 * sysdeps/mach/hurd/dl-cache.c: File removed.
28594 * config.h.in (USE_LDCONFIG): New #undef.
28595 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28596 * configure: Regenerated.
28597 * elf/Makefile (dl-routines): Add dl-cache only under
28598 [$(use-ldconfig) = yes].
28599 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28600 cache on [USE_LDCONFIG].
28601 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28602 [USE_LDCONFIG].
28603 * elf/rtld.c (dl_main): Likewise.
28604
5bb0c10a
PT
286052012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28606
28607 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28608 _SC_LEVEL4_CACHE_LINESIZE.
28609
010188c6
RM
286102012-10-03 Roland McGrath <roland@hack.frob.com>
28611
28612 * sysdeps/unix/bsd/confstr.h: File removed.
28613
b6c5ec07
AO
286142012-10-02 Alexandre Oliva <aoliva@redhat.com>
28615
28616 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28617 sys/sdt-config.h.
28618
408223d4
RM
286192012-10-02 Roland McGrath <roland@hack.frob.com>
28620
28621 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28622 Make 'mapoff' field ElfW(Off) rather than off_t.
28623
bb9510dc
DL
286242012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28625
fc997c6e
DL
28626 * nscd/Makefile: Remove nscd-cflags and all its users.
28627 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28628 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28629
bb9510dc
DL
28630 [BZ #10631]
28631 * malloc.c (malloc_printerr): Clarify error message.
28632
05699367
L
286332012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28634
28635 [BZ #14648]
28636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28637 Set bit_FMA_Usable if FMA is supported.
28638 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28639 macro.
28640 (bit_FMA4_Usable): Updated.
28641 (index_FMA_Usable): New macro.
28642 (CPUID_FMA): Likewise
28643 (HAS_FMA): Defined with bit_FMA_Usable.
28644
51367701
RM
286452012-10-01 Roland McGrath <roland@hack.frob.com>
28646
28647 * bits/types.h (__swblk_t): Type removed.
28648 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28649 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28651 (__SWBLK_T_TYPE): Likewise.
28652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28653 (__SWBLK_T_TYPE): Likewise.
28654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28655 (__SWBLK_T_TYPE): Likewise.
28656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28657 (__SWBLK_T_TYPE): Likewise.
28658
4d57bf63 286592012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28660 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28661
28662 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28663 (xdr_mapname): Use YPMAXMAP as maxsize.
28664 (xdr_peername): Use YPMAXPEER as maxsize.
28665 (xdr_keydat): Use YPAXRECORD as maxsize.
28666 (xdr_valdat): Use YPMAXRECORD as maxsize.
28667
93c65d43
RM
286682012-10-01 Roland McGrath <roland@hack.frob.com>
28669
497a03d6
RM
28670 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28671
93c65d43
RM
28672 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28673 * csu/init-first.c: ... here.
28674 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28675 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28676 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28677 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28678 * sysdeps/i386/init-first.c: File removed.
28679 * sysdeps/sh/init-first.c: File removed.
28680
bec749fd
JM
286812012-10-01 Joseph Myers <joseph@codesourcery.com>
28682
28683 [BZ #14645]
28684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28685 if x * y might underflow to zero and z is zero.
28686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28688 * math/libm-test.inc (min_subnorm_value): New variable.
28689 (fma_test): Add more tests.
28690 (fma_test_towardzero): Likewise.
28691 (fma_test_downward): Likewise
28692 (fma_test_upward): Likewise.
28693 (initialize): Set min_subnorm_value.
28694
8ec5b013
JM
286952012-09-29 Joseph Myers <joseph@codesourcery.com>
28696
28697 [BZ #14638]
28698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28699 0 + 0.
28700 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28701 mode for addition resulting in exact zero.
28702 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28704 exact 0 + 0.
28705 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28706 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28707 * math/libm-test.inc (fma_test): Add more tests.
28708 (fma_test_towardzero): New function.
28709 (fma_test_downward): Likewise.
28710 (fma_test_upward): Likewise.
28711 (main): Call the new functions.
28712
b1fa802e
DM
287132012-09-28 David S. Miller <davem@davemloft.net>
28714
28715 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28716
d3b9fd9e
RM
287172012-09-28 Roland McGrath <roland@hack.frob.com>
28718
ea4d37b3
RM
28719 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28720 instead of SIGALRM.
28721
ac51c949
RM
28722 * sysdeps/gnu/_G_config.h: Moved to ...
28723 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28724 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28725 * sysdeps/generic/_G_config.h: ... here.
28726
28c195f7
RM
28727 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28728
848917f9
RM
28729 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28730
6bacf05b
RM
28731 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28732 Conditionalize target on [libnss_test1.so-version].
28733
91363dbb
RM
28734 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28735
cc87f7d8
RM
28736 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28737 (elfobjdir): Move out of conditionals.
28738
b1c608fe
RM
28739 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28740 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28741 (__nss_lookup_function): Conditionalize label remove_from_tree on
28742 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28743
1d9a6d96
DM
287442012-09-28 David S. Miller <davem@davemloft.net>
28745
28746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28747 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28748 file.
28749 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28750 sysdep_routines.
28751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28753 when HWCAP_SPARC_CRYPTO is present.
28754
72581615
PT
287552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28756
28757 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28758
715a900c
JL
287592012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28760
28761 [BZ #6530]
28762 * stdio-common/vfprintf.c (process_string_arg): Revert
28763 2000-07-22 change.
28764
287652011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28766
28767 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28768 for testcase.
28769 * stdio-common/tst-sprintf.c: Include <locale.h>
28770 (main): Test sprintf's handling of incomplete multibyte
28771 characters.
28772
9bac1d86
L
287732012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28774
28775 * elf/dl-runtime.c (VERSYMIDX): Removed.
28776 * elf/dl-version.c (VERSYMIDX): Likewise.
28777 * elf/do-rel.h (VERSYMIDX): Likewise.
28778 (VALIDX): Likewise.
28779 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28780 * elf/rtld.c (VALIDX): Likewise.
28781 (ADDRIDX): Likewise.
9bac1d86
L
28782 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28783 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28784 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28785 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28786 (VALIDX): Likewise.
28787 (ADDRIDX): Likewise.
9bac1d86 28788
b31606c0
PT
287892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28790
28791 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28792
11541177
JL
287932012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28794
28795 [BZ #11438]
28796 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28797 to global scope.
28798 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28799 addresses are in the same scope as 192.0.2/24.
28800 * posix/gai.conf: Document new scope table defaults.
28801
adb26fae
SP
288022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28803
28804 [BZ #5298]
28805 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28806 for ftell. Compute offsets from write pointers instead.
28807 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28808
4573c6b0
SP
288092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28810
28811 [BZ #14543]
28812 * libio/Makefile (tests): New test case tst-fseek.
28813 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28814 combination works in wide mode.
28815 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28816 state when the external buffer state changes.
28817
aa9bbfe6
DM
288182012-09-27 David S. Miller <davem@davemloft.net>
28819
28820 [BZ #14376]
28821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28822 pass reloc->r_addend in as the 'high' argument to
28823 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28824
784421e7
DM
28825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28826
c39bc8b8
PT
288272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28828
28829 * rt/tst-aio2.c: Include <pthread.h>.
28830 * rt/tst-aio3.c: Likewise.
28831
1ccc2399
SE
288322012-09-27 Steve Ellcey <sellcey@mips.com>
28833
28834 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28835
31ed4153
L
288362012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28837
25f5f885
L
28838 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28839 contents on [SHARED].
31ed4153 28840
b7bfe116
MP
288412012-09-26 Marek Polacek <polacek@redhat.com>
28842
28843 [BZ #14530]
28844 [BZ #13741]
28845 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28846 for C++ and GCC <4.3 as well as for non GCC compilers.
28847
43c4edba
MT
288482012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28849
28850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28851
6a1bf82f
RM
288522012-09-25 Roland McGrath <roland@hack.frob.com>
28853
28854 * Makefile.in (all, install): Declare with .PHONY.
28855 Reported by Michael Hope <michael.hope@linaro.org>.
28856
8ad11b9a
TMQMF
288572012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28858
28859 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28860 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28861 system header.
28862 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28863 Likewise.
28864 (sydep_routines): Add the new and the internal functions.
28865 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28866 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28868 (GLIBC_2.17): Add the new function.
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28870 (GLIBC_2.17): Likewise.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28872 (GLIBC_2.17): Likewise.
28873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28874 (GLIBC_2.17): Likewise.
28875 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28876
7e2fca8d
AM
288772012-09-25 Alan Modra <amodra@gmail.com>
28878
28879 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28880 Add release barrier before setting once_control to say
28881 initialisation is done. Add hints on lwarx. Use macro in
28882 place of isync.
28883 (clear_once_control): Add release barrier.
28884
b87c4b24
JM
288852012-09-25 Joseph Myers <joseph@codesourcery.com>
28886
d032e0d2
JM
28887 [BZ #13629]
28888 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28889 specially.
28890 * math/s_clog10.c (__clog10): Likewise.
28891 * math/s_clog10f.c (__clog10f): Likewise.
28892 * math/s_clog10l.c (__clog10l): Likewise.
28893 * math/s_clogf.c (__clogf): Likewise.
28894 * math/s_clogl.c (__clogl): Likewise.
28895 * math/Makefile (libm-calls): Add x2y2m1.
28896 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28897 (__x2y2m1): Likewise.
28898 (__x2y2m1l): Likewise.
28899 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28900 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28901 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28903 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28904 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28905 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28906 * sysdeps/i386/fpu/libm-test-ulps: Update.
28907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28908
b87c4b24
JM
28909 [BZ #14621]
28910 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28911 int as type of variable DEPTH.
28912 (glob): Use size_t instead of int as type of variables NEWCOUNT
28913 and OLD_PATHC.
28914
6d3bf199
LD
289152012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28916
22bf5c17
LD
28917 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28918 Add s_sincosf-sse2.
28919 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28920 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28921 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28922 macros for using routine as __sincosf_ia32.
28923 Use macro for function declaration and weak_alias.
28924 * sysdeps/i386/fpu/libm-test-ulps: Update.
28925
28926 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28928
28929 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28930 subnormal argument.
28931 * math/s_cexpf.c (__cexpf): Likewise.
28932 * math/s_csinf.c (__csinf): Likewise.
28933 * math/s_csinhf.c (__csinhf): Likewise.
28934 * math/s_ctanf.c (__ctanf): Likewise.
28935 * math/s_ctanhf.c (__ctanhf): Likewise.
28936 * math/s_ccosh.c (__ccoshf): Likewise.
28937 * math/s_cexp.c (__cexpl): Likewise.
28938 * math/s_csin.c (__csin): Likewise.
28939 * math/s_csinh.c (__csinh): Likewise.
28940 * math/s_ctan.c (__ctan): Likewise.
28941 * math/s_ctanh.c (ctanh): Likewise.
28942 * math/s_ccoshl.c (__ccoshl): Likewise.
28943 * math/s_cexpl.c (__cexpl): Likewise.
28944 * math/s_csinl.c (__csinl): Likewise.
28945 * math/s_csinhl.c (__csinhl): Likewise.
28946 * math/s_ctanl.c (__ctanl): Likewise.
28947 * math/s_ctanhl.c (__ctanhl): Likewise.
28948
203e5603
JM
289492012-09-25 Joseph Myers <joseph@codesourcery.com>
28950
28951 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28952 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28953 (_IO_off_t): Define to __off_t, not _G_off_t.
28954 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28955 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28956 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28957 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28958 type of __dummy and __dummy2 fields.
28959 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28960 (_G_ssize_t): Likewise.
28961 (_G_off_t): Likewise.
28962 (_G_pid_t): Likewise.
28963 (_G_uid_t): Likewise.
28964 (_G_wchar_t): Likewise.
28965 (_G_wint_t): Likewise.
28966 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28967 (_G_ssize_t): Likewise.
28968 (_G_off_t): Likewise.
28969 (_G_pid_t): Likewise.
28970 (_G_uid_t): Likewise.
28971 (_G_wchar_t): Likewise.
28972 (_G_wint_t): Likewise.
28973 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28974 (_G_ssize_t): Likewise.
28975 (_G_off_t): Likewise.
28976 (_G_pid_t): Likewise.
28977 (_G_uid_t): Likewise.
28978 (_G_wchar_t): Likewise.
28979 (_G_wint_t): Likewise.
28980
9fab36eb
SP
289812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28982
28983 * malloc/arena.c: Include malloc-sysdep.h.
28984 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28985 is sufficient to shrink the heap or an unmap is needed.
28986 * sysdeps/generic/malloc-sysdep.h: New file. Define
28987 new function check_may_shrink_heap.
28988 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28989 new function check_may_shrink_heap.
28990
2b4f00d1
SP
289912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28992
28993 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28994 comments.
28995
9a9028b1
DL
289962012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28997
57c69bef
DL
28998 * catgets/test-gencat.sh: Add "set -e".
28999 * elf/tst-pathopt.sh: Likewise.
29000 * grp/tst_fgetgrent.sh: Likewise.
29001 * iconvdata/run-iconv-test.sh: Likewise.
29002 * intl/tst-gettext.sh: Likewise.
29003 * intl/tst-gettext2.sh: Likewise.
29004 * intl/tst-gettext4.sh: Likewise.
29005 * intl/tst-gettext6.sh: Likewise.
29006 * intl/tst-translit.sh: Likewise.
29007 * io/ftwtest-sh: Likewise.
29008 * libio/test-freopen.sh: Likewise.
29009 * malloc/tst-mtrace.sh: Likewise.
29010 * posix/globtest.sh: Likewise.
29011 * posix/tst-getconf.sh: Likewise.
29012 * posix/wordexp-tst.sh: Likewise.
29013 * stdio-common/tst-printf.sh: Likewise.
29014 * stdio-common/tst-unbputc.sh: Likewise.
29015 * stdlib/tst-fmtmsg.sh: Likewise.
29016 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29017 * catgets/Makefile: Do not specify -e option when running
29018 testsuite shell scripts.
29019 * elf/Makefile: Likewise.
29020 * grp/Makefile: Likewise.
29021 * iconvdata/Makefile: Likewise.
29022 * intl/Makefile: Likewise.
29023 * io/Makefile: Likewise.
29024 * libio/Makefile: Likewise.
29025 * malloc/Makefile: Likewise.
29026 * posix/Makefile: Likewise.
29027 * stdio-common/Makefile: Likewise.
29028 * stdlib/Makefile: Likewise.
29029 * sysdeps/x86_64/Makefile: Likewise.
29030
9a9028b1
DL
29031 * io/ftwtest-sh: Add copyright header.
29032 * posix/globtest.sh: Likewise.
29033 * posix/tst-getconf.sh: Likewise.
29034 * posix/wordexp-tst.sh: Likewise.
29035 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29036
ced6f16e
L
290372012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29038
94b32c39
L
29039 [BZ #13679]
29040 * Makeconfig (+link): Defined as $(+link-static) if
29041 $(build-shared) isn't yes.
29042 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29043 isn't yes.
29044 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29045
189e935b
L
29046 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29047
ced6f16e
L
29048 [BZ #14562]
29049 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29050 new chunk size with MALLOC_ALIGN_MASK.
29051
a9f8e53a
JM
290522012-09-24 Joseph Myers <joseph@codesourcery.com>
29053
29054 [BZ #5044]
29055 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29056 <rounding-mode.h>.
29057 (__printf_fphex): Determine rounding using get_rounding_mode and
29058 round_away.
29059 * stdio-common/tst-printf-round.c (struct hex_test): New
29060 structure.
29061 (hex_tests): New variable.
29062 (test_hex_in_one_mode): New function.
29063 (do_test): Also run tests for hex float output.
29064
43153109
JM
290652012-09-21 Joseph Myers <joseph@codesourcery.com>
29066
29067 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29068 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29069 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29070 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29071 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29072 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29073 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29074 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29075
8a26625d
JM
290762012-09-20 Joseph Myers <joseph@codesourcery.com>
29077
29078 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29079 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29080 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29081 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29082
f3fd569c
DL
290832012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29084
29085 [BZ #14579]
29086 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29087 mode only.
29088 * elf/tst-rtld-load-self.sh: New test.
29089 * elf/Makefile: Run it.
29090
63bbedd4
JM
290912012-09-18 Joseph Myers <joseph@codesourcery.com>
29092
29093 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29094 (tst-writev-ENV): Remove.
29095 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29096
626f8b6a
CM
290972012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29098
29099 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29100
b7aaa4d6
JM
291012012-09-17 Joseph Myers <joseph@codesourcery.com>
29102
29103 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29104 unconditional.
29105 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29106 Likewise.
29107 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29108 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29109 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29110 Likewise.
29111
65513990
L
291122012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29113
29114 [BZ #14587]
29115 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29116 * config.make.in (have-cpp-asm-debuginfo): Removed.
29117 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29118 * configure: Regenerated.
29119
784761be
JM
291202012-09-14 Joseph Myers <joseph@codesourcery.com>
29121
29122 [BZ #5044]
29123 * stdio-common/printf_fp.c: Include <stdbool.h> and
29124 <rounding-mode.h>.
29125 (___printf_fp): Determine rounding using get_rounding_mode and
29126 round_away.
29127 * stdio-common/tst-printf-round.c: New file.
29128 * stdio-common/Makefile (tests): Add tst-printf-round.
29129 (link-libm): New variable.
29130 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29131
9503345f
L
291322012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29133
29134 [BZ #14576]
29135 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29136 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29137 Likewise.
29138 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29139 Likewise.
29140
ad35fc00
JM
291412012-09-13 Joseph Myers <joseph@codesourcery.com>
29142
29143 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29144 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29145 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29146 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29147
6c9b0f68
JM
291482012-09-12 Joseph Myers <joseph@codesourcery.com>
29149
29150 [BZ #14518]
29151 * include/rounding-mode.h: New file.
29152 * sysdeps/generic/get-rounding-mode.h: Likewise.
29153 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29154 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29155 (MAX_VALUE): New macro.
29156 (MIN_VALUE): Likewise.
29157 (overflow_value): New function.
29158 (underflow_value): Likewise.
29159 (round_and_return): Use overflow_value and underflow_value to
29160 determine return values in overflow and underflow cases. Use
29161 round_away to determine rounding depending on rounding mode.
29162 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29163 determine return values in overflow and underflow cases.
29164 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29165 (struct test_results): New structure.
29166 (struct test): Use struct test_results to store expected results
29167 for all rounding modes.
29168 (TEST): Include expected results for all rounding modes.
29169 (test_in_one_mode): New function.
29170 (do_test): Use test_in_one_mode to compute and check results.
29171 Check results for all rounding modes.
29172 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29173 $(link-libm).
29174
19fcedd5
AM
291752012-12-09 Allan McRae <allan@archlinux.org>
29176
1e9d84cd 29177 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29178
8bbfd2f1
JM
291792012-09-11 Joseph Myers <joseph@codesourcery.com>
29180
29181 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29182 (_G_int32_t): Likewise.
29183 (_G_uint16_t): Likewise.
29184 (_G_uint32_t): Likewise.
29185 (_G_HAVE_BOOL): Likewise.
29186 (_G_HAVE_ATEXIT): Likewise.
29187 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29188 (_G_HAVE_IO_FILE_OPEN): Likewise.
29189 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29190 (_G_int32_t): Likewise.
29191 (_G_uint16_t): Likewise.
29192 (_G_uint32_t): Likewise.
29193 (_G_HAVE_BOOL): Likewise.
29194 (_G_HAVE_ATEXIT): Likewise.
29195 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29196 (_G_HAVE_IO_FILE_OPEN): Likewise.
29197 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29198 (_G_int32_t): Likewise.
29199 (_G_uint16_t): Likewise.
29200 (_G_uint32_t): Likewise.
29201 (_G_HAVE_BOOL): Likewise.
29202 (_G_HAVE_ATEXIT): Likewise.
29203 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29204 (_G_HAVE_IO_FILE_OPEN): Likewise.
29205
b1dc5912
L
292062012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29207
29208 * csu/libc-tls.c: Update copyright years.
29209
0e886ef9
JM
292102012-09-10 Joseph Myers <joseph@codesourcery.com>
29211
28361c5e
JM
29212 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29213 [!_G_USING_THUNKS]: Remove conditional code.
29214 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29215 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29216
0e886ef9
JM
29217 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29218 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29219 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29220 (_G_VTABLE_LABEL_PREFIX): Likewise.
29221 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29222 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29223 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29224 (_G_VTABLE_LABEL_PREFIX): Likewise.
29225 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29226 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29227 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29228 (_G_VTABLE_LABEL_PREFIX): Likewise.
29229 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29230
bcba7aa2
L
292312012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29232
29233 * libio/Makefile: Include ../Makeconfig before tests.
29234 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29235 only if $(build-shared) is yes.
29236
06585ee8
L
29237 * iconv/gconv_db.c: Update copyright years.
29238
80ccd52c
LD
292392012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29240
29241 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29242 unwind info if defined PIC. Fix special cases description.
29243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29244
29245 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29246 DP_HI_MASK entry.
29247 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29248
691bc9c1
L
292492012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29250
3d9b46b3
L
29251 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29252
de2139a9
L
29253 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29254 is NULL.
29255
5ca78dd0
L
29256 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29257 (LDLIBS-tst-chk4): This.
29258 (LDFLAGS-tst-chk5): Renamed to ...
29259 (LDLIBS-tst-chk5): This.
29260 (LDFLAGS-tst-chk6): Renamed to ...
29261 (LDLIBS-tst-chk6): This.
29262 (LDFLAGS-tst-lfschk4): Renamed to ...
29263 (LDLIBS-tst-lfschk4): This.
29264 (LDFLAGS-tst-lfschk5): Renamed to ...
29265 (LDLIBS-tst-lfschk5): This.
29266 (LDFLAGS-tst-lfschk6): Renamed to ...
29267 (LDLIBS-tst-lfschk6): This.
29268
691bc9c1
L
29269 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29270 on $(common-objpfx)soversions.mk.
29271
65cafb1c
JM
292722012-09-07 Joseph Myers <joseph@codesourcery.com>
29273
29274 [BZ #10014]
29275 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29276 example host name.
29277
c78ab094
SP
292782012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29279
29280 * malloc/arena.c (arena_get_retry): New function that gets
29281 another arena for the caller to try its request on.
29282 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29283 current arena cannot fulfill the request.
29284 (__libc_memalign): Likewise.
29285 (__libc_memalign): Likewise.
29286 (__libc_pvalloc): Likewise.
29287 (__libc_calloc): Likewise.
29288
01f49f59
JT
292892012-09-05 John Tobey <john.tobey@gmail.com>
29290
29291 [BZ #13542]
29292 * manual/arith.texi (Operations on Complex): Fix description
29293 of carg branch cut.
29294
4c23fed5
JM
292952012-09-06 Joseph Myers <joseph@codesourcery.com>
29296
1d3c8572
JM
29297 [BZ #10014]
29298 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29299 host name.
29300
4c23fed5
JM
29301 [BZ #10038]
29302 * manual/memory.texi (Memory): Make order of menu items match
29303 order of sections.
29304
04570aaa
L
293052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29306
29307 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29308 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29309 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29310
b80af2f4
L
293112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29312
29313 * csu/libc-tls.c (static_dtv): Renamed to ...
29314 (_dl_static_dtv): This. Make it global.
29315 (_dl_initial_dtv): Removed.
29316 (__libc_setup_tls): Updated.
29317 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29318 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29319 DL_INITIAL_DTV.
29320
2abe9f15
PM
293212012-09-06 Petr Machata <pmachata@redhat.com>
29322
29323 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29324 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29325 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29326 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29327
0948c3af
L
293282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29329
29330 [BZ #14545]
29331 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29332 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29333 freeing dtv[-1].
29334
a5055ad1
L
293352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29336
29337 [BZ #14544]
29338 * Makeconfig (link-static-before-libc): Replace $(+prector)
29339 with $(+prectorT).
29340 (link-static-after-libc): Replace $(+postctor) with
29341 $(+postctorT).
29342 (link-bounded): Replace $(+prector)/$(+postctor) with
29343 $(+prectorT)/$(+postctorT).
29344 (+prectorT): New macro.
29345 (+postctorT): Likewise.
29346
ed8c2ecd
JM
293472012-09-06 Joseph Myers <joseph@codesourcery.com>
29348
29349 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29350 (round_str): Handle values above the maximum for IBM long double
29351 as inexact.
29352 * stdlib/tst-strtod-round.c (tests): Regenerated.
29353
14c996c8
AK
293542012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29355
29356 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29357 assembler flag.
29358 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29359 zarch_nohighgprs around the zarch optimized routines.
29360 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29361 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29363 for zarch.
29364
430d6ce6
DM
293652012-09-05 David S. Miller <davem@davemloft.net>
29366
29367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29368
57f41c40
AS
29369 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29370 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29371 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29372 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29373 entries.
29374
24d4e01b
AO
293752012-09-05 Alexandre Oliva <aoliva@redhat.com>
29376
29377 * malloc/arena.c: Fold copyright years.
29378 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29379
61d58174
AO
293802012-09-05 Alexandre Oliva <aoliva@redhat.com>
29381
29382 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29383
20196a5e
AO
293842012-09-05 Alexandre Oliva <aoliva@redhat.com>
29385
29386 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29387
5c447383
AO
293882012-09-05 Alexandre Oliva <aoliva@redhat.com>
29389
29390 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29391 change internal state upon failure.
29392
fad64255
AO
293932012-09-05 Alexandre Oliva <aoliva@redhat.com>
29394
29395 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29396 * malloc/memusage.c (mmap): Likewise.
29397 (mmap64, mremap): Likewise. Adjust name in comment.
29398
1ffb8c90
SP
293992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29400
29401 * libio/fileops.c: Fix typos in comments.
29402 * libio/oldfileops.c: Likewise.
29403 * libio/wfileops.c: Likewise.
29404
6ef9cc37
SP
294052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29406
29407 [BZ #1349]
29408 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29409 (tst-malloc-usable-ENV): Set environment for test case.
29410 * malloc/hooks.c (malloc_check_get_size): New function to get
29411 requested size.
29412 * malloc/malloc.c (musable): Use malloc_check_get_size.
29413 * malloc/tst-malloc-usable.c: New test case.
29414
4d038ae3
AS
294152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29416
29417 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29418
c4e85184
AM
294192012-09-05 Allan McRae <allan@archlinux.org>
29420
b9dafc56 29421 [BZ #13966]
c4e85184
AM
29422 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29423 determine header location.
29424 * configure: Regenerated.
29425
e1343020
AS
294262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29427
29428 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29429 float format.
29430 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29431 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29432 format.
e1343020
AS
29433 (test): Regenerate.
29434
0a9f1987
DM
294352012-09-04 David S. Miller <davem@davemloft.net>
29436
29437 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29438 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29439 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29440
29237804
FW
294412012-09-04 Florian Weimer <fweimer@redhat.com>
29442
29443 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29444 failures.
29445
edb3cb88
FW
29446 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29447
60160d83
JM
294482012-09-04 Joseph Myers <joseph@codesourcery.com>
29449
29450 [BZ #9914]
29451 * libio/iogetdelim.c: Include <limits.h>.
29452 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29453 + len + 1 would overflow.
29454
bcd6c8dc
AJ
294552012-09-03 Andreas Jaeger <aj@suse.de>
29456
29457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29458 * sysdeps/i386/fpu/libm-test-ulps: Update.
29459
4ffffbd2
LD
294602012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29461
29462 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29463 Add s_sinf-sse2, s_conf-sse2.
29464
29465 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29466 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29467 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29468 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29469
29470 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29471 for using routine as __sinf_ia32.
29472 Use macro for function declaration and weak_alias.
29473 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29474 for using routine as __cosf_ia32.
29475 Use macro for function declaration and weak_alias.
29476
29477 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29478 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29479
29480 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29481 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29483
29484 * math/libm-test.inc (cos_test): Add more test cases.
29485 (sin_test): Likewise.
29486 (sincos_test): Likewise.
29487
511fa286
AK
294882012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29489
29490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29491 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29492 hidden.
29493 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29494
5f30cfec
L
294952012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29496
29497 [BZ #14538]
29498 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29499 first element of the GOT.
29500 (elf_machine_load_address): Return the difference between
29501 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29502
0786794f
AM
295032012-09-01 Allan McRae <allan@archlinux.org>
29504
5f30cfec
L
29505 [BZ #13412]
29506 * configure.in (AWK): Require gawk version 3.0 or later.
29507 * configure: Regenerated.
0786794f 29508
26889eac
JM
295092012-09-01 Joseph Myers <joseph@codesourcery.com>
29510
29511 * sysdeps/unix/sysv/linux/kernel-features.h
29512 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29514 [__NR_clock_getres]: Make code unconditional.
29515 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29516 (clock_getcpuclockid): Remove code left unreachable by removal of
29517 conditionals.
29518 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29519 code unconditional.
29520 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29521 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29522 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29523 Make code unconditional.
29524 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29525 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29526 * sysdeps/unix/sysv/linux/clock_settime.c
29527 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29528 conditional code.
29529 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29530 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29531
d22e28b0
L
295322012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29533
29534 [BZ #14476]
29535 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29536 scripts/test-installation.pl.
29537
29538 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29539 and $ld_so_version if it is set.
29540
050af9c4
SP
295412012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29542
29543 [BZ #14516]
29544 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29545 failure if reading from procfs failed.
29546 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29547
ad845c0b
JM
295482012-08-27 Joseph Myers <joseph@codesourcery.com>
29549
29550 * sysdeps/unix/sysv/linux/kernel-features.h
29551 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29552 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29553 Remove conditional code.
29554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29555 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29556 Remove conditional code.
29557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29558 * sysdeps/unix/sysv/linux/i386/fxstat.c
29559 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29561 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29562 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29564 * sysdeps/unix/sysv/linux/i386/lxstat.c
29565 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29567 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29568 Remove conditional code.
29569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29570 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29571 Remove conditional code.
29572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29573 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29574 <kernel-features.h>.
29575 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29576 Remove.
29577 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29578 Remove conditional code.
29579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29580 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29581 Remove conditional.
29582
5dbf56af
MF
295832012-08-27 Mike Frysinger <vapier@gentoo.org>
29584
29585 [BZ #5400]
29586 * NEWS: Add fixed bug number.
29587
d6e70f43
JM
295882012-08-27 Joseph Myers <joseph@codesourcery.com>
29589
7efb4737
JM
29590 [BZ #14519]
29591 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29592 underflowing exponent in case of negative sign.
29593 * stdlib/tst-strtod-round-data: Add more tests.
29594 * stdlib/tst-strtod-round.c (tests): Regenerated.
29595
af92131a
JM
29596 [BZ #3479]
29597 * stdlib/strtod_l.c (NDIG): Remove.
29598 (HEXNDIG): Likewise.
29599 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29600 smallest representable value.
29601 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29602 lie within an exact representation of 1/2 ulp of the result.
29603 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29604 unconditionally.
29605 (TENS_P9_IDX): Define unconditionally.
29606 (TENS_P9_SIZE): Likewise.
29607 (TENS_P10_IDX): Likewise.
29608 (TENS_P10_SIZE): Likewise.
29609 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29610 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29611 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29612 entries for 10^2^13 and 10^2^14.
29613 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29614 (TENS_P13_IDX): Define.
29615 (TENS_P13_SIZE): Likewise.
29616 (TENS_P14_IDX): Likewise.
29617 (TENS_P14_SIZE): Likewise.
29618 (_fpioconst_pow10): Change array size to
29619 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29620 unconditional.
29621 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29622 1024]: Add entries for 10^2^13 and 10^2^14.
29623 [LAST_POW10 > _LAST_POW10]: Remove #error.
29624 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29625 (_fpioconst_pow10): Change array size to
29626 FPIOCONST_POW10_ARRAY_SIZE.
29627 * stdlib/gen-fpioconst.c: New file.
29628 * stdlib/gen-tst-strtod-round.c: Likewise.
29629 * stdlib/tst-strtod-round-data: Likewise.
29630 * stdlib/tst-strtod-round.c: Likewise.
29631 * stdlib/Makefile (tests): Add tst-strtod-round.
29632
d6e70f43
JM
29633 [BZ #14459]
29634 * stdlib/strtod_l.c: Include <stdint.h>.
29635 (NDEBUG): Do not define.
29636 (round_and_return): Change EXPONENT parameter to type intmax_t.
29637 Rearrange calculations to avoid internal overflow possibilities.
29638 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29639 Rearrange calculations to avoid internal overflow possibilities.
29640 Assert that number fits inside MPNSIZE limbs.
29641 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29642 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29643 calculations and add assertions to avoid internal overflow
29644 possibilities. Add casts to avoid signed/unsigned operations.
29645 * stdlib/tst-strtod-overflow.c: New file.
29646 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29647
1f529f7d
MP
296482012-08-25 Marek Polacek <polacek@redhat.com>
29649
29650 * time/time.h: Fix some typos in comments.
29651
59a629f1
RM
296522012-08-23 Roland McGrath <roland@hack.frob.com>
29653
29654 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29655 * posix/tst-rfc3484-2.c: Likewise.
29656 * posix/tst-rfc3484-3.c: Likewise.
29657
d3bafbc9
SM
296582012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29659
29660 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29661 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29662
4efcc022
JM
296632012-08-23 Joseph Myers <joseph@codesourcery.com>
29664
29665 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29666 #include of fxstatat64.c.
29667
3cc3ef96
RM
296682012-08-22 Roland McGrath <roland@hack.frob.com>
29669
f04e2132
RM
29670 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29671 * shadow/getspent_r.c: Likewise.
29672 * shadow/getspnam.c: Likewise.
29673 * shadow/getspnam_r.c: Likewise.
29674 * gshadow/getsgent.c: Likewise.
29675 * gshadow/getsgent_r.c: Likewise.
29676 * gshadow/getsgnam.c: Likewise.
29677 * gshadow/getsgnam_r.c: Likewise.
29678 * inet/getnetbyad.c: Likewise.
29679 * inet/getnetbyad_r.c: Likewise.
29680 * inet/getnetbynm.c: Likewise.
29681 * inet/getnetbynm_r.c: Likewise.
29682 * inet/getnetent.c: Likewise.
29683 * inet/getnetent_r.c: Likewise.
29684 * inet/getproto.c: Likewise.
29685 * inet/getproto_r.c: Likewise.
29686 * inet/getprtent.c: Likewise.
29687 * inet/getprtent_r.c: Likewise.
29688 * inet/getprtname.c: Likewise.
29689 * inet/getprtname_r.c: Likewise.
29690 * inet/getrpcbyname.c: Likewise.
29691 * inet/getrpcbyname_r.c: Likewise.
29692 * inet/getrpcbynumber.c: Likewise.
29693 * inet/getrpcbynumber_r.c: Likewise.
29694 * inet/getrpcent.c: Likewise.
29695 * inet/getrpcent_r.c: Likewise.
29696 * inet/getaliasent.c: Likewise.
29697 * inet/getaliasent_r.c: Likewise.
29698 * inet/getaliasname.c: Likewise.
29699 * inet/getaliasname_r.c: Likewise.
29700 * nscd/getgrgid_r.c: Likewise.
29701 * nscd/getgrnam_r.c: Likewise.
29702 * nscd/gethstbyad_r.c: Likewise.
29703 * nscd/gethstbynm3_r.c: Likewise.
29704 * nscd/getpwnam_r.c: Likewise.
29705 * nscd/getpwuid_r.c: Likewise.
29706 * nscd/getsrvbynm_r.c: Likewise.
29707 * nscd/getsrvbypt_r.c: Likewise.
29708 * nscd/gai.c: Likewise.
29709
c53d909c
RM
29710 * configure.in (build_nscd): New substituted variable, set
29711 by --disable-build-nscd and defaults to $use_nscd.
29712 * configure: Regenerated.
29713 * config.make.in (build-nscd): New substituted variable.
29714 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29715 Change conditional to require [$(build-nscd) = yes] as well.
29716 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29717
3cc3ef96
RM
29718 [BZ# 13696]
29719 * configure.in (use_nscd): New substituted variable, set by
29720 --disable-nscd. If enabled, define USE_NSCD.
29721 * configure: Regenerated.
29722 * config.h.in: Add USE_NSCD.
29723 * config.make.in (use-nscd): New substituted variable.
29724 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29725 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29726 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29727 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29728 (CFLAGS-getgrnam_r.c): Likewise.
29729 (CFLAGS-initgroups.c): Likewise.
29730 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29731 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29732 Variables removed.
29733 * inet/getnetgrent_r.c
29734 (nscd_setnetgrent): New function, broken out of ...
29735 (setnetgrent): ... here. Call it.
29736 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29737 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29738 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29739 * nscd/Makefile (routines, aux): Move definitions after include of
29740 Makeconfig. Conditionalize on [$(use-nscd) != no].
29741 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29742 Conditionalize on [USE_NSCD].
29743 (is_nscd, nscd_init_cb): Likewise.
29744 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29745 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29746 * nss/nss_db/db-init.c: Likewise.
29747 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29748 [USE_NSCD].
29749 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29750 (make_request): Use it.
29751 (cache_valid_p): New function.
29752 (__check_pf): Use it.
29753 * NEWS: Add item for --disable-nscd.
29754
07e51550
DL
297552012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29756
29757 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29758 to support sed >= 4.2.1-20-ga9bf076.
29759 * configure: Regenerated.
29760
35a5b08b
RM
297612012-08-22 Roland McGrath <roland@hack.frob.com>
29762
29763 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29764 Conditionalize whole body on [IREL].
29765
8479f23a
JL
297662012-08-22 Jeff Law <law@redhat.com>
29767
29768 [BZ #14505]
29769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29770 if the family is PF_UNSPEC.
29771
48da0b21
MF
297722012-08-22 Mike Frysinger <vapier@gentoo.org>
29773
29774 * Makerules (lib-version): Rename from V.
29775 (install-lib-nosubdir): Change V to lib-version.
29776
15d0da8c
WS
297772012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29778
29779 [BZ #14252]
29780 * powerpc32/power6/wcschr.c: New file.
29781 * powerpc32/power6/wcscpy.c: New file.
29782 * powerpc32/power6/wcsrchr.c: New file.
29783 * powerpc64/power6/wcschr.c: New file.
29784 * powerpc64/power6/wcscpy.c: New file.
29785 * powerpc64/power6/wcsrchr.c: New file.
29786
bcca0895
MK
297872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29788
29789 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29790 (two_way_short_needle): Use it.
5a4aaa33
RM
29791 * string/strstr.c (AVAILABLE1_USES_J): Define.
29792 * string/strcasestr.c: Likewise.
99677e57
MK
29793
29794 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29795 array references.
29796 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29797
400726de
MK
29798 [BZ #11607]
29799 * NEWS: Add an entry.
29800 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29801 define their defaults.
29802 (two_way_short_needle): Detect end-of-string on-the-fly.
29803 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29804 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29805 * string/bug-strcasestr1.c: New test.
29806 * string/Makefile: Run it.
29807
20a71f2c
MK
298082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29809
29810 [BZ #11607]
29811 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29812 the first character.
29813
21ad0558
RM
298142012-08-21 Roland McGrath <roland@hack.frob.com>
29815
29816 * csu/elf-init.c (__libc_csu_irel): Function removed.
29817 * csu/libc-start.c (apply_irel): New function.
29818 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29819
0e1d9911
JM
298202012-08-21 Joseph Myers <joseph@codesourcery.com>
29821
29822 * sysdeps/unix/sysv/linux/kernel-features.h
29823 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29825 <kernel-features.h>.
29826 [__NR_fadvise64_64]: Make code unconditional.
29827 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29828 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29829 !__NR_fadvise64_64)]: Likewise.
29830 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29831 !__NR_fadvise64_64))]: Likewise.
29832 [__NR_fadvise64]: Make code unconditional.
29833 [!__NR_fadvise64]: Remove conditional code.
29834 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29835 <kernel-features.h>.
29836 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29837 unconditional.
29838 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29839 conditional code.
29840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29841 not include <kernel-features.h>.
29842 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29843 unconditional.
29844 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29845 conditional code.
29846 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29847 include <kernel-features.h>.
29848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29849 unconditional.
29850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29851 conditional code.
29852
14a50c9d
WS
298532012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29854
29855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29856 slight instruction rearrangements per scrollpipe analysis.
29857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29858
c0f4faf0
RM
298592012-08-20 Roland McGrath <roland@hack.frob.com>
29860
696da859
RM
29861 * manual/syslog.texi (syslog; vsyslog, closelog):
29862 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29863 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29864
c0f4faf0
RM
29865 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29866 DSOCAPS to match condition on defining it.
29867
348363b2
JM
298682012-08-20 Joseph Myers <joseph@codesourcery.com>
29869
a35cbf28
JM
29870 * sysdeps/unix/sysv/linux/kernel-features.h
29871 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29873 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29874 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29876 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29877 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29879 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29880 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29881
445f7ecd
JM
29882 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29883 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29884
348363b2
JM
29885 * sysdeps/unix/sysv/linux/kernel-features.h
29886 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29887 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29888 unconditional.
29889 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29890 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29891 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29892 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29893 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29894 Make code unconditional.
29895 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29896 (__mmap64) [!__NR_mmap2]: Likewise.
29897 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29898 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29899 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29900 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29901 [__NR_mmap2]: Make code unconditional.
29902 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29903 (__mmap64) [!__NR_mmap2]: Likewise.
29904
bc5bc0e5
AK
299052012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29906
29907 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29908
88d506de
AJ
299092012-08-18 Andreas Jaeger <aj@suse.de>
29910
29911 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29912
493387d2
MF
299132012-08-18 Mike Frysinger <vapier@gentoo.org>
29914
29915 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29916 * include/unistd.h (__have_sock_cloexec): Likewise.
29917 (__have_pipe2): Likewise.
29918 (__have_dup3): Likewise.
29919
a277af22
MF
299202012-08-18 Mike Frysinger <vapier@gentoo.org>
29921
29922 [BZ #9685]
29923 * include/unistd.h (__have_pipe2): Change define into an extern int.
29924 (__have_dup3): Likewise.
29925 * socket/have_sock_cloexec.c: Include fcntl.h.
29926 (__have_pipe2): New variable.
29927 (__have_dup3): Likewise.
29928
fdab8fd3
MF
299292012-08-17 Mike Frysinger <vapier@gentoo.org>
29930
29931 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29932
31035e80
MP
299332012-08-17 Marek Polacek <polacek@redhat.com>
29934
29935 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29936 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29937
3bd9e993
RM
299382012-08-17 Roland McGrath <roland@hack.frob.com>
29939
c91c505f
RM
29940 * configure.in: Add AC_SUBST for sysheaders.
29941 * configure: Regenerated.
29942 * config.make.in (sysheaders): New substituted variable.
29943
7c6f9d53
RM
29944 * sysdeps/unix/mkfifo.c: Moved ...
29945 * sysdeps/posix/mkfifo.c: ... here.
29946 * sysdeps/unix/mkfifoat.c: Moved ...
29947 * sysdeps/posix/mkfifoat.c: ... here.
29948
29949 * sysdeps/unix/utime.c: Moved ...
29950 * sysdeps/posix/utime.c: ... here.
29951
29952 * sysdeps/unix/time.c: Moved ...
29953 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29954 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29955 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29956
29957 * sysdeps/unix/nice.c: Moved ...
29958 * sysdeps/posix/nice.c: ... here.
29959
29960 * sysdeps/unix/alarm.c: Moved ...
29961 * sysdeps/posix/alarm.c: ... here.
29962
3bd9e993
RM
29963 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29964
d1f09384
JL
299652012-08-17 Jeff Law <law@redhat.com>
29966
29967 * intl/Makefile (codeset_mo): New variable.
29968 ($(codeset_mo)): New target.
29969 (tst-codeset.out): Depend on that. Remove explicit rule.
29970 (tst-gettext3.out, tst-gettext5.out): Likewise.
29971 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29972 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29973 * intl/tst-codeset.sh: Remove.
29974 * intl/tst-gettext3.sh: Likewise.
29975 * intl/tst-gettext5.sh: Likewise.
29976
2ae1ae5c
RM
299772012-08-17 Roland McGrath <roland@hack.frob.com>
29978
c31fdb83
RM
29979 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29980 * sysdeps/unix/syscalls.list: ... here.
29981
a0844057
RM
29982 * sysdeps/posix/getaddrinfo.c
29983 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29984 (gaiconf_init, gaiconf_reload): Use them.
29985 [!_STATBUF_ST_NSEC]
29986 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29987 Define using time_t rather than struct timespec.
29988
750c1f2a
RM
29989 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29990 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29991 Macros removed.
29992 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29993 [!NO_THREADS].
29994 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29995 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29996 Likewise.
29997
2ae1ae5c
RM
29998 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29999 __libc_cleanup_push argument.
30000
e66a42f5
RM
30001 * bits/param.h: New file.
30002 * misc/sys/param.h: New file.
30003 * include/sys/param.h: New file.
30004 * misc/Makefile (headers): Add bits/param.h.
30005 * sysdeps/generic/sys/param.h: File removed.
30006 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30007 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30008 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30009 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30010
b7c08a66
RM
30011 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30012 last change.
30013
b2e1c562
RM
30014 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30015 [_IO_MTSAFE_IO].
30016 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30017 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30018 New macros.
30019
c75ccd4c
RM
30020 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30021 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30022 rather than -D_IO_MTSAFE_IO conditionally.
30023 * stdio-common/Makefile (CPPFLAGS): Likewise.
30024 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30025 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30026 Use $(libio-mtsafe).
30027 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30028 of -D_IO_MTSAFE_IO.
30029 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30030 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30031 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30032 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30033 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30034 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30035 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30036 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30037 (CFLAGS-fread_u_chk.c): Likewise.
30038 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30039 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30040 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30041 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30042 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30043 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30044 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30045 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30046 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30047
30048 * libio/Makefile: Test [$(libc-reentrant) = yes]
30049 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30050
30051 * Makeconfig
30052 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30053 * sysdeps/pthread/configure: File removed.
30054 * sysdeps/pthread/Makeconfig: New file.
30055 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30056 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30057
d9195db8
GB
300582012-08-16 Gary Benson <gbenson@redhat.com>
30059
30060 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30061 unmapping the first object in a namespace.
30062
86466cd9
RM
300632012-08-16 Roland McGrath <roland@hack.frob.com>
30064
30065 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30066 (__internal_setnetgrent): ... this. Add internal_function to
30067 definition. Add libc_hidden_def.
30068 (setnetgrent): Update caller.
30069 (internal_endnetgrent): Renamed to ...
30070 (__internal_endnetgrent): ... this. Add internal_function to
30071 definition. Add libc_hidden_def.
30072 (endnetgrent): Update caller.
30073 (internal_getnetgrent_r): Renamed to ...
30074 (__internal_getnetgrent_r): ... this. Add internal_function to
30075 definition. Add libc_hidden_def.
30076 (__getnetgrent_r): Update caller.
30077 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30078
c3c8283c
JM
300792012-08-16 Joseph Myers <joseph@codesourcery.com>
30080
30081 * stdlib/longlong.h: Update from GCC.
30082
db1ee0a8
RM
300832012-08-16 Roland McGrath <roland@hack.frob.com>
30084
30085 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30086 on _QL, which is set by umul_ppmm but never used.
30087 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30088 variables, which are set by GMP macros but never used.
30089 * stdio-common/_itowa.c (_itowa): Likewise.
30090 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30091 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30092
30f69637
CD
300932012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30094
30095 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30096 struct La_sh_regs is not constant.
30097 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30098 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30099 and struct La_sparc64_regs are not constant.
30100
93a78ac4
JM
301012012-08-16 Joseph Myers <joseph@codesourcery.com>
30102
30103 * sysdeps/unix/sysv/linux/kernel-features.h
30104 (__ASSUME_POSIX_TIMERS): Remove.
30105 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30107 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30108 Make code unconditional.
30109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30110 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30111 Make code unconditional.
30112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30113 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30114 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30115 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30116 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30117 Make code unconditional.
30118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30119 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30120 (__libc_missing_posix_timers): Remove.
30121
dd924cd7
RM
301222012-08-15 Roland McGrath <roland@hack.frob.com>
30123
4b4f2771
RM
30124 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30125 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30126
601c888b
RM
30127 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30128
176790a7
RM
30129 * elf/dl-sym.c: Include <stdlib.h>.
30130
329bc018
RM
30131 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30132 constants, which avoids warnings in 32-bit builds.
30133
e04e272d
RM
30134 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30135 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30136
952bf94a
RM
30137 * misc/lseek.c: File moved to ...
30138 * io/lseek.c: ... here.
30139
7c99b50a
RM
30140 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30141
dd924cd7
RM
30142 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30143 shifting LEN more than 31 bits at once.
30144
b3f479a8
LD
301452012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30146
30147 [BZ #14195]
8c4ae0d4
RM
30148 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30149 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30150 * string/test-strncasecmp.c (check1): Renamed to...
30151 (bz12205): ...this.
30152 (bz14195): Add new testcase for two empty input strings and N > 0.
30153 (test_main): Call new testcase, adapt for renamed function.
30154
9c55864e
AJ
301552012-08-15 Andreas Jaeger <aj@suse.de>
30156
30157 [BZ #14090]
30158 * crypt/md5test2.c: New test, based on test supplied by Serge
30159 Belyshev <belyshev@depni.sinp.msu.ru>.
30160 * crypt/Makefile (xtests): Add md5test-giant..
30161 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30162
02dcb6c5
PE
301632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30164
30165 [BZ #14090]
30166 * crypt/md5.c (md5_process_block): Don't assume the buffer
30167 length is less than 2**32.
30168 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30169 length is less than 2**64.
30170
a3f95dcc
RM
301712012-08-15 Roland McGrath <roland@hack.frob.com>
30172
be75d758
RM
30173 * string/str-two-way.h: Include <sys/param.h>.
30174 (MAX): Macro removed.
30175
7312ca90
RM
30176 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30177 Move #define and #undef of memmove to just before and after
30178 including <string.h>.
30179
9a0a5486
RM
30180 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30181 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30182 and after including <string.h>. Move declarations of
30183 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30184 to before #include "string/memmove.c".
30185
67cc348d
RM
30186 * include/dirent.h: Declare __getdirentries.
30187
a3f95dcc
RM
30188 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30189 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30190
ca98e171
MF
301912012-08-14 Mike Frysinger <vapier@gentoo.org>
30192
30193 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30194 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30195 * sysdeps/i386/configure: Regenerated.
30196 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30197 STABS_CURRENT_FILE, and STABS_FUN.
30198 (END): Remove call to STABS_FUN_END.
30199 (STABS_CURRENT_FILE1): Delete.
30200 (STABS_CURRENT_FILE): Likewise.
30201 (STABS_FUN): Likewise.
30202 (STABS_FUN_END): Likewise.
30203 (STABS_FUN2): Likewise.
30204 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30205 * sysdeps/x86_64/configure: Regenerated.
30206
5908bf46
RM
302072012-08-14 Roland McGrath <roland@hack.frob.com>
30208
30209 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30210 * elf/dl-lookup.c: Likewise.
5908bf46 30211
f2c05b9e
JM
302122012-08-14 Joseph Myers <joseph@codesourcery.com>
30213
30214 * sysdeps/unix/sysv/linux/kernel-features.h
30215 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30216 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30217 unconditionally.
30218 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30219 unconditionally.
30220 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30221 condition on __ASSUME_CLONE_THREAD_FLAGS.
30222
e11f5155
AJ
302232012-08-14 Andreas Jaeger <aj@suse.de>
30224
30225 * sysdeps/i386/fpu/libm-test-ulps: Update.
30226
51a9ba86
MK
302272012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30228
2fdd4f78
AJ
30229 * include/atomic.h (atomic_exchange_and_add): Split into ...
30230 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30231 New atomic macros.
51a9ba86 30232
ba6cba9e
MT
302332012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30234
30235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30236
42443a47
JL
302372012-08-13 Jeff Law <law@redhat.com>
30238
30239 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30240 null byte in the output string.
30241
121dce05
JM
302422012-08-10 Joseph Myers <joseph@codesourcery.com>
30243
30244 * sysdeps/unix/sysv/linux/kernel-features.h
30245 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30246 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30247 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30248 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30249 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30250 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30251 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30252
bf51f568
JL
302532012-08-09 Jeff Law <law@redhat.com>
30254
30255 [BZ #13939]
30256 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30257 When avoid_arena is set, don't retry in the that arena. Pick the
30258 next one, whatever it might be.
30259 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30260 (arena_lock): Pass in new parameter to arena_get2.
30261 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30262 arena_get2.
30263 (__libc_malloc): Unify retrying after main arena failure with
30264 __libc_memalign version.
30265 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30266
f85fa270
L
302672012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30268
30269 [BZ #14166]
30270 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30271 to __redirect_strstr.
30272 (__strstr_sse42): Use typeof __redirect_strstr.
30273 (__strstr_ia32): Likewise.
30274 (__libc_strstr): New prototype.
30275 (strstr): Renamed to ...
30276 (__libc_strstr): This.
30277 (strstr): New strong alias of __libc_strstr.
30278 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30279 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30280 __redirect_time.
30281 Include <time.h>.
30282 (__libc_time): New prototype.
30283 (time_ifunc): Replace time with __libc_time.
30284 (time): New strong alias and hidden definition of __libc_time.
30285 (__GI_time): Remove strong alias.
30286 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30287 Include <stddef.h>.
30288 (memmove): Redefined to __redirect_memmove.
30289 (__memmove_sse2): Use typeof __redirect_memmove.
30290 (__memmove_ssse3): Likewise.
30291 (__memmove_ssse3_back): Likewise.
30292 (__libc_memmove): New prototype.
30293 (memmove): Renamed to ...
30294 (__libc_memmove): This.
30295 (memmove): New strong alias of __libc_memmove.
30296
33b4a91e
MS
302972012-08-08 Mark Salter <msalter@redhat.com>
30298
30299 * elf/elf.h
30300 (R_MN10300_TLS_GD): Define.
30301 (R_MN10300_TLS_LD): Likewise.
30302 (R_MN10300_TLS_LDO): Likewise.
30303 (R_MN10300_TLS_GOTIE): Likewise.
30304 (R_MN10300_TLS_IE): Likewise.
30305 (R_MN10300_TLS_LE): Likewise.
30306 (R_MN10300_TLS_DTPMOD): Likewise.
30307 (R_MN10300_TLS_DTPOFF): Likewise.
30308 (R_MN10300_TLS_TPOFF): Likewise.
30309 (R_MN10300_SYM_DIFF): Likewise.
30310 (R_MN10300_ALIGN): Likewise.
30311 (R_MN10300_NUM): Update.
30312
b36137f1
JM
303132012-08-08 Joseph Myers <joseph@codesourcery.com>
30314
30315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30316 Remove.
30317
cdd915fd
RM
303182012-08-08 Roland McGrath <roland@hack.frob.com>
30319
a2433aac
RM
30320 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30321
cdd915fd
RM
30322 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30323 sysdeps/unix -> sysdeps/posix move.
30324 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30325
bf9b740a
AM
303262012-08-07 Allan McRae <allan@archlinux.org>
30327
30328 [BZ #14303]
30329 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30330 (SUNOS_CPP): Likewise.
30331 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30332 not found.
30333 (open_input): Call CPP using execvp.
30334
93df14ee
JM
303352012-08-07 Joseph Myers <joseph@codesourcery.com>
30336
30337 * sysdeps/unix/sysv/linux/kernel-features.h
30338 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30339 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30340 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30341 (__ASSUME_WAITID_SYSCALL): Likewise.
30342 * sysdeps/unix/sysv/linux/dl-execstack.c
30343 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30344 code unconditional.
30345 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30346 conditional code.
30347 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30348 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30349 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30350 code.
30351 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30352 unconditional.
30353 [__ASSUME_WAITID_SYSCALL]: Likewise.
30354 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30355
d34689de
RM
303562012-08-07 Roland McGrath <roland@hack.frob.com>
30357
a281decc
RM
30358 * sysdeps/unix/closedir.c: Renamed to ...
30359 * sysdeps/posix/closedir.c: ... here.
30360 * sysdeps/unix/dirfd.c: Renamed to ...
30361 * sysdeps/posix/dirfd.c: ... here.
30362 * sysdeps/unix/dirstream.h: Renamed to ...
30363 * sysdeps/posix/dirstream.h: ... here.
30364 * sysdeps/unix/fdopendir.c: Renamed to ...
30365 * sysdeps/posix/fdopendir.c: ... here.
30366 * sysdeps/unix/opendir.c: Renamed to ...
30367 * sysdeps/posix/opendir.c: ... here.
30368 * sysdeps/unix/readdir.c: Renamed to ...
30369 * sysdeps/posix/readdir.c: ... here.
30370 * sysdeps/unix/readdir_r.c: Renamed to ...
30371 * sysdeps/posix/readdir_r.c: ... here.
30372 * sysdeps/unix/rewinddir.c: Renamed to ...
30373 * sysdeps/posix/rewinddir.c: ... here.
30374 * sysdeps/unix/seekdir.c: Renamed to ...
30375 * sysdeps/posix/seekdir.c: ... here.
30376 * sysdeps/unix/telldir.c: Renamed to ...
30377 * sysdeps/posix/telldir.c: ... here.
30378 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30379 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30380 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30381 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30382
22895b47
RM
30383 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30384 * bits/fcntl.h: ... here.
30385
707a53b6
RM
30386 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30387 not 0.
30388 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30389 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30390 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30391 (struct flock): Move l_start, l_len to the beginning.
30392 Use __pid_t for l_pid.
30393 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30394 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30395 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30396 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30397 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30398 [__USE_LARGEFILE64] (struct flock64): New type.
30399 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30400
f0bd3e25
RM
30401 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30402 * bits/dirent.h: ... here.
30403
d34689de
RM
30404 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30405 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30406
6dad2c06
JM
304072012-08-07 Joseph Myers <joseph@codesourcery.com>
30408
30409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30410 Change from 2.6.0 to 2.6.16.
30411 * sysdeps/unix/sysv/linux/configure: Regenerated.
30412 * sysdeps/unix/sysv/linux/kernel-features.h
30413 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30414 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30415 version.
30416 (__ASSUME_UTIMES): Likewise.
30417 (__ASSUME_CLONE_STOPPED): Remove.
30418 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30419 architectures, not kernel version.
30420 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30421 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30422 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30423 (__ASSUME_WAITID_SYSCALL): Likewise.
30424 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30425 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30426 * README: State 2.6.16 as minimum Linux kernel version. Do not
30427 refer to older versions.
30428
03af9520
RM
304292012-08-06 Roland McGrath <roland@hack.frob.com>
30430
8e49df1d
RM
30431 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30432 Define alphasort64 as an alias.
30433 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30434 Define versionsort64 as an alias.
30435 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30436 Define scandir64 as an alias.
30437 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30438 Define scandirat64 as an alias.
30439 * dirent/alphasort64.c (alphasort64):
30440 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30441 * dirent/versionsort64.c: Likewise.
30442 * dirent/scandir64.c: Likewise.
30443 * dirent/scandirat64.c: Likewise.
30444 * sysdeps/wordsize-64/alphasort.c: File removed.
30445 * sysdeps/wordsize-64/alphasort64.c: File removed.
30446 * sysdeps/wordsize-64/scandir.c: File removed.
30447 * sysdeps/wordsize-64/scandir64.c: File removed.
30448 * sysdeps/wordsize-64/scandirat.c: File removed.
30449 * sysdeps/wordsize-64/scandirat64.c: File removed.
30450 * sysdeps/wordsize-64/versionsort.c: File removed.
30451 * sysdeps/wordsize-64/versionsort64.c: File removed.
30452 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30453 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30454 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30455 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30456 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30457 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30458 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30459 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30460
30461 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30463 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30464 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30465 [defined __arch64__ || defined __sparcv9]
30466 (__INO_T_MATCHES_INO64_T): New macro.
30467 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30468 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30469 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30470 * sysdeps/unix/sysv/linux/bits/dirent.h
30471 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30472 (_DIRENT_MATCHES_DIRENT64): New macro.
30473
03af9520
RM
30474 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30475 Define lockf64 as an alias.
30476 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30477 Define fseeko64 as an alias.
30478 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30479 Define ftello64 as an alias.
30480 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30481 Define _IO_fgetpos64 and fgetpos64 as aliases.
30482 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30483 Define _IO_fsetpos64 and fsetpos64 as aliases.
30484 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30485 Conditionalize body on this.
30486 * libio/fseeko64.c: Likewise.
30487 * libio/ftello64.c: Likewise.
30488 * libio/iofgetpos64.c: Likewise.
30489 * libio/iofsetpos64.c: Likewise.
30490 * sysdeps/wordsize-64/lockf.c: File removed.
30491 * sysdeps/wordsize-64/lockf64.c: File removed.
30492 * sysdeps/wordsize-64/fseeko.c: File removed.
30493 * sysdeps/wordsize-64/fseeko64.c: File removed.
30494 * sysdeps/wordsize-64/ftello.c: File removed.
30495 * sysdeps/wordsize-64/ftello64.c: File removed.
30496 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30497 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30498 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30499 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30500 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30502 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30503 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30504 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30505 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30506 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30508 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30509 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30510
30511 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30513 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30515 [defined __arch64__ || defined __sparcv9]
30516 (__OFF_T_MATCHES_OFF64_T): New macro.
30517 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30518 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30520 (__OFF_T_MATCHES_OFF64_T): New macro.
30521
c5757acd
L
305222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30523
30524 * stdlib/secure-getenv.c (__secure_getenv): Replace
30525 GLIBC_2_16 with GLIBC_2_17.
30526
3a31811e
L
305272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30528
30529 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30530 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30531
faa2bccb
DM
305322012-08-03 David S. Miller <davem@davemloft.net>
30533
30534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30535
85fe1997
JM
305362012-08-03 Joseph Myers <joseph@codesourcery.com>
30537
30538 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30539 Remove.
30540 (__ASSUME_CORRECT_SI_PID): Likewise.
30541 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30542 (__ASSUME_TMPFS_NAME): Likewise.
30543 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30544 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30545 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30546 (HAVE_AUX_SECURE): Make definition unconditional.
30547 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30548 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30549
4f75b7a0
RM
305502012-08-03 Roland McGrath <roland@hack.frob.com>
30551
30552 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30553 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30554 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30555 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30556 __eloop_threshold instead of SYMLOOP_MAX.
30557
30558 * sysdeps/generic/eloop-threshold.h: New file.
30559 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30560 of MAXSYMLINKS.
30561 * elf/chroot_canon.c (chroot_canon): Likewise.
30562
7aab07e4
JM
305632012-08-03 Joseph Myers <joseph@codesourcery.com>
30564
30565 [BZ #13717]
30566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30567 Change to 2.6.0 everywhere.
30568 * sysdeps/unix/sysv/linux/configure: Regenerated.
30569 * sysdeps/unix/sysv/linux/kernel-features.h
30570 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30571 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30572 kernel versions.
30573 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30574 (__ASSUME_FUTEX_REQUEUE): Remove.
30575 (__ASSUME_STATFS64): Define unconditionally.
30576 (__ASSUME_AT_SECURE): Likewise.
30577 (__ASSUME_CORRECT_SI_PID): Likewise.
30578 (__ASSUME_TGKILL): Define without depending on kernel version for
30579 i386.
30580 (__ASSUME_UTIMES): Likewise.
30581 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30582 kernel version.
30583 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30584 (__ASSUME_TMPFS_NAME): Likewise.
30585 * README: Update reference to Linux kernel versions.
30586
b67e9372
MP
305872012-08-02 Marek Polacek <polacek@redhat.com>
30588
1f529f7d 30589 [BZ# 14150]
b67e9372
MP
30590 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30591 libc_cv_asm_type_prefix with %.
30592 * configure: Regenerated.
d2441631
RM
30593 * include/libc-symbols.h: Remove comment about
30594 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30595 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30596 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30597 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30598 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30599 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30600 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30601 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30602 * elf/tst-unique2mod1.c: Likewise.
30603 * elf/tst-unique1mod2.c: Likewise.
30604 * elf/tst-unique1mod1.c: Likewise.
30605 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30606 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30607 Replace ASM_TYPE_DIRECTIVE with .type.
30608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30609 * sysdeps/i386/sysdep.h: Likewise.
30610 * sysdeps/x86_64/sysdep.h: Likewise.
30611 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30613 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30614 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30615 * sysdeps/powerpc/powerpc32/sysdep.h:
30616 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30617 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30618 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30619 * sysdeps/i386/fpu/e_powf.S: Likewise.
30620 * sysdeps/i386/fpu/e_expl.S: Likewise.
30621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30622 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30623 * sysdeps/i386/fpu/e_pow.S: Likewise.
30624 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30625 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30626 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30627 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30628 * sysdeps/i386/fpu/e_log2.S: Likewise.
30629 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30630 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30631 * sysdeps/i386/fpu/e_powl.S: Likewise.
30632 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30633 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30634 * sysdeps/i386/fpu/e_logl.S: Likewise.
30635 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30636 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30637 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30638 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30639 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30640 * sysdeps/i386/fpu/e_log.S: Likewise.
30641 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30642 * sysdeps/i386/fpu/e_logf.S: Likewise.
30643 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30644 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30645 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30646 * sysdeps/i386/fpu/e_log10.S: Likewise.
30647 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30649 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30650 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30651 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30653 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30654 * sysdeps/i386/i686/strtok.S: Likewise.
30655 * sysdeps/i386/i386-mcount.S: Likewise.
30656 * sysdeps/i386/strtok.S: Likewise.
30657 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30658 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30660 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30661 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30663 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30664 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30665 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30666 * sysdeps/x86_64/_mcount.S: Likewise.
30667 * sysdeps/x86_64/strtok.S: Likewise.
30668 * sysdeps/sh/_mcount.S: Likewise.
30669
2747bf9a
RM
306702012-08-01 Roland McGrath <roland@hack.frob.com>
30671
30672 * libio/iofopen.c: Include <fcntl.h>.
30673 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30674 (_IO_fopen64, fopen64): Define as aliases.
30675 * libio/iofopen64.c: Include <fcntl.h>.
30676 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30677 Conditionalize body on this.
30678 * sysdeps/wordsize-64/iofopen.c: File removed.
30679 * sysdeps/wordsize-64/iofopen64.c: File removed.
30680
3fb791b8
MP
306812012-08-01 Marek Polacek <polacek@redhat.com>
30682
30683 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30684 Use dlfcn directly instead of a variable.
30685 (binfmt-subdir): Do not define.
30686 (dlfcn): Likewise.
30687
a9f1039f
JM
306882012-08-01 Joseph Myers <joseph@codesourcery.com>
30689
23bddc06
JM
30690 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30691 Remove all definitions.
30692 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30693 <kernel-features.h>.
30694 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30695 (miss_F_GETOWN_EX): Remove all definitions.
30696 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30697 macro definition.
30698 [!__ASSUME_FCNTL64]: Remove conditional code.
30699 [__ASSUME_FCNTL64]: Make code unconditional.
30700 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30701 <kernel-features.h>.
30702 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30703 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30704 (lockf64) [__NR_fcntl64]: Make code unconditional.
30705 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30706
a9f1039f
JM
30707 * sysdeps/unix/sysv/linux/kernel-features.h
30708 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30709 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30710 Make code unconditional.
30711 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30712 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30714 [__NR_vfork]: Make code unconditional.
30715 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30716 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30718 [__NR_vfork]: Make code unconditional.
30719 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30720 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30721
09c0ee5f
RM
307222012-08-01 Roland McGrath <roland@hack.frob.com>
30723
48aec5b9
RM
30724 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30725 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30726
cd97c966
RM
30727 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30728 Define mkstemp64 as an alias.
3f55550c
RM
30729 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30730 Define mkstemps64 as an alias.
cd97c966
RM
30731 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30732 Define mkostemp64 as an alias.
b8625cfc
RM
30733 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30734 Define mkostemps64 as an alias.
cd97c966
RM
30735 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30736 Conditionalize body on this.
30737 * misc/mkostemp64.c: Likewise.
b8625cfc 30738 * misc/mkostemps64.c: Likewise.
3f55550c 30739 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30740 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30741 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30742 * sysdeps/wordsize-64/mkostemp.c: File removed.
30743 * sysdeps/wordsize-64/mkstemp.c: File removed.
30744 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30745 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30746 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30747 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30748
09c0ee5f
RM
30749 [BZ #14138]
30750 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30751 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30752 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30753 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30754
30755 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30756 compat_symbol macros from <shlib-compat.h> rather than the underlying
30757 default_symbol_version and symbol_version macros, so that DEFAULT
30758 lines in shlib-versions are respected.
30759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30760
7e66ee51
FW
307612012-08-01 Florian Weimer <fweimer@redhat.com>
30762
30763 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30764 Declare with warn_unused_result.
30765 (setgid, setregid, setegid, setresgid): Likewise.
30766 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30767 Likewise.
30768 * WUR-REPORT: Remove set*id functions.
30769
d2a54255
PT
307702012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30771
30772 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30773
7ecdb005
RM
307742012-07-31 Roland McGrath <roland@hack.frob.com>
30775
b4180a5e 30776 [BZ #10191]
789bd351
RM
30777 * include/sys/socket.h (__libc_accept, __libc_accept4):
30778 Add attribute_hidden.
30779 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30780
40ce302d
RM
30781 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30782 use of PTR_MANGLE.
30783 * inet/getnetgrent_r.c (setup): Likewise.
30784
7ecdb005
RM
30785 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30786
e2eabb2c
DM
307872012-07-31 David S. Miller <davem@davemloft.net>
30788
30789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30790
d0419dbf
JM
307912012-07-31 Joseph Myers <joseph@codesourcery.com>
30792
30793 [BZ #13629]
30794 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30795 value between 1.0 and 2.0 and smaller part has absolute value less
30796 than 1.0.
30797 * math/s_clog10.c (__clog10): Likewise.
30798 * math/s_clog10f.c (__clog10f): Likewise.
30799 * math/s_clog10l.c (__clog10l): Likewise.
30800 * math/s_clogf.c (__clogf): Likewise.
30801 * math/s_clogl.c (__clogl): Likewise.
30802 * math/libm-test.inc (clog_test): Add more tests.
30803 (clog10_test): Likewise.
30804 * sysdeps/i386/fpu/libm-test-ulps: Update.
30805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30806
2bc13872
FW
308072012-07-31 Florian Weimer <fweimer@redhat.com>
30808
30809 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30810 Exit with zero in case no suitable GID is found, and write a
30811 message to standard error.
30812
bea9b193
RM
308132012-07-30 Roland McGrath <roland@hack.frob.com>
30814
30815 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30816 rather than to 1.
30817 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30818 (MAXPATHLEN): Removed.
30819 (NOGROUP, NODEV): New macros.
30820 (setbit, clrbit, isset, isclr): New macros.
30821 (howmany, roundup, powerof2): New macros.
30822 (DEV_BSIZE): New macro.
30823
30824 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30825 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30826
30827 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30828 definition on [!__NO_LONG_DOUBLE_MATH].
30829
30830 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30831 PTR_MANGLE and PTR_DEMANGLE.
30832
30833 * socket/accept4.c (accept4): Rename to __libc_accept4.
30834 Define accept4 as a weak alias.
30835
30836 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30837 on [_DIRENT_HAVE_D_TYPE].
30838 * io/ftw.c (ftw_dir): Likewise.
30839
30840 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30841
30842 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30843
30844 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30845 Use the BSD numbers rather than the arbitrary ones we had.
30846 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30847 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30848 (SIGXCPU, SIGXFSZ): New macros.
30849 (_NSIG): Now 32.
30850
30851 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30852 initializer on [_LIBC_REENTRANT].
30853
30854 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30855 definitions inside [_POSIX_MAPPED_FILES].
30856
30857 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30858
30859 * dirent/opendir.c: Include <fcntl.h>.
30860
30861 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30862 (__libc_getspecific): Likewise.
30863 (__libc_key_create): Likewise.
30864
30865 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30866 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30867 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30868 (tmpfile64): Define as alias.
30869 * sysdeps/wordsize-64/tmpfile.c: File removed.
30870 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30871 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30873
30874 * stdio-common/vfscanf.c: Include <stdbool.h>.
30875 * nss/makedb.c: Likewise.
30876 * stdio-common/_i18n_number.h: Likewise.
30877 * argp/argp-help.c: Likewise.
30878 * posix/wordexp.c: Likewise.
30879 * sysdeps/posix/spawni.c: Likewise.
30880 * nss/nss_files/files-initgroups.c: Likewise.
30881 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30882 * nss/nss_files/files-initgroups.c: Likewise.
30883 * nss/nss_db/db-netgrp.c: Likewise.
30884 * nss/nss_db/db-initgroups.c: Likewise.
30885 * io/fchmodat.c: Include <sys/stat.h>.
30886
30887 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30888 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30889
30890 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30891 [HAVE_MMAP].
30892
30893 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30894 Add multiple inclusion protection.
30895
e5abc686
DM
308962012-07-27 David S. Miller <davem@davemloft.net>
30897
30898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30899
815e6fa3
GB
309002012-07-27 Gary Benson <gbenson@redhat.com>
30901
30902 [BZ #14298]
30903 * elf/rtld.c: Include <stap-probe.h>.
30904 (dl_main): Added static probes "init_start" and "init_complete".
30905 * elf/dl-load.c: Include <stap-probe.h>.
30906 (lose): Take new parameter "nsid".
30907 Added static probe "map_failed".
30908 (_dl_map_object_from_fd): Pass namespace id to lose.
30909 Added static probe "map_start".
30910 (open_verify): Pass namespace id to lose.
30911 * elf/dl-open.c: Include <stap-probe.h>.
30912 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30913 and "reloc_complete".
30914 * elf/dl-close.c: Include <stap-probe.h>.
30915 (_dl_close_worker): Added static probes "unmap_start" and
30916 "unmap_complete".
30917 * elf/rtld-debugger-interface.txt: New file documenting the above.
30918
9f98c16c
RM
309192012-07-26 Roland McGrath <roland@hack.frob.com>
30920
30921 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30922 rather than a string variable.
30923 * sunrpc/rpc_main.c (h_output): Likewise.
30924 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30925
f3c22df3
PT
309262012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30927
30928 * inet/check_native.c: New file.
30929
3129cfc6
JM
309302012-07-26 Joseph Myers <joseph@codesourcery.com>
30931
da865e95
JM
30932 [BZ #13629]
30933 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30934 if larger part has absolute value 1.0.
30935 * math/s_clog10.c (__clog10): Likewise.
30936 * math/s_clog10f.c (__clog10f): Likewise.
30937 * math/s_clog10l.c (__clog10l): Likewise.
30938 * math/s_clogf.c (__clogf): Likewise.
30939 * math/s_clogl.c (__clogl): Likewise.
30940 * math/libm-test.inc (clog_test): Add more tests.
30941 (clog10_test): Likewise.
30942 * sysdeps/i386/fpu/libm-test-ulps: Update.
30943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30944
3129cfc6
JM
30945 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30946 (pltexit): Likewise.
30947 (La_regs): Likewise.
30948 (La_retval): Likewise.
30949 (int_retval): Likewise.
30950 Update #error for removed macros to refer only to definitions in
30951 tst-audit.h.
30952 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30953 macro.
30954 (pltexit): Likewise.
30955 (La_regs): Likewise.
30956 (La_retval): Likewise.
30957 (int_retval): Likewise.
30958 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30959 macro.
30960 (pltexit): Likewise.
30961 (La_regs): Likewise.
30962 (La_retval): Likewise.
30963 (int_retval): Likewise.
30964 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30965 macro.
30966 (pltexit): Likewise.
30967 (La_regs): Likewise.
30968 (La_retval): Likewise.
30969 (int_retval): Likewise.
30970 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30971 macro.
30972 (pltexit): Likewise.
30973 (La_regs): Likewise.
30974 (La_retval): Likewise.
30975 (int_retval): Likewise.
30976 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30977 macro.
30978 (pltexit): Likewise.
30979 (La_regs): Likewise.
30980 (La_retval): Likewise.
30981 (int_retval): Likewise.
30982 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30983 macro.
30984 (pltexit): Likewise.
30985 (La_regs): Likewise.
30986 (La_retval): Likewise.
30987 (int_retval): Likewise.
30988 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30989 macro definitions in tst-audit.h.
30990 * sysdeps/i386/tst-audit.h: New file.
30991 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30992 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30993 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30994 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30995 * sysdeps/sh/tst-audit.h: Likewise.
30996 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30997 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30998 * sysdeps/x86_64/tst-audit.h: Likewise.
30999
bfc07087
AJ
310002012-07-26 Andreas Jaeger <aj@suse.de>
31001
b1b2aaf8
AJ
31002 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31003 ptrace.
31004
31005 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31006 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31007 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31008 PTRACE_O_MASK.
31009 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31010 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31011 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31012
bfc07087
AJ
31013 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31014 value.
31015
31016 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31017 _sigsys.
31018 (si_call_addr, si_syscall, si_arch): Define new macro.
31019 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31020 _sigsys.
31021 (si_call_addr, si_syscall, si_arch): Define new marcro.
31022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31023 _sigsys.
31024 (si_call_addr, si_syscall, si_arch): Define new macro.
31025 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31026 _sigsys.
31027 (si_call_addr, si_syscall, si_arch): Define new macro.
31028
89b4b02f
JM
310292012-07-25 Joseph Myers <joseph@codesourcery.com>
31030
31031 [BZ #13717]
31032 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31033 Change to 2.4.21 where previously 2.4.1.
31034 * sysdeps/unix/sysv/linux/configure: Regenerated.
31035 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31036 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31037 Linux kernel version.
31038 (__ASSUME_STD_AUXV): Remove.
31039 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31040 kernel version.
31041 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31042 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31043 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31044 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31045 (__ASSUME_NETLINK_SUPPORT): Likewise.
31046 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31047 (__no_netlink_support): Remove conditional definition.
31048 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31049 Remove.
31050 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31051 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31052 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31053 (if_nameindex_ioctl): Remove.
31054 (if_nameindex_netlink): Do not handle __no_netlink_support.
31055 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31056 code.
31057 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31058 Remove conditional code.
31059 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31060 code.
31061 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31062 unconditional.
31063 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31064 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31065 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31066 Remove.
31067 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31068 [!__ASSUME_STD_AUXV]: Remove conditional code.
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31070 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31071 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31073 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31074 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31075 code.
31076 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31078 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31079 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31080 conditional code.
31081 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31083 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31084 code.
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31086 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31087 conditional code.
31088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31089 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31090 code unconditional.
31091 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31092 conditional code.
31093 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31094 unconditional.
31095 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31096 conditional code.
31097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31098 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31099 unconditional.
31100 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31101 conditional code.
31102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31103 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31104 code unconditional.
31105 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31106 conditional code.
31107 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31108 unconditional.
31109 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31110 conditional code.
31111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31112 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31113 code unconditional.
31114 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31115 conditional code.
31116 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31117 unconditional.
31118 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31119 conditional code.
31120
842a39cd
AS
311212012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31122
31123 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31124 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31125 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31126 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31127 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31128 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31129 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31130 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31131 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31132 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31133 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31134 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31135 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31136 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31137 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31138 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31140 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31141 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31143 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31144 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31145 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31146
84b3fd84
FW
311472012-07-25 Florian Weimer <fweimer@redhat.com>
31148
31149 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31150 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31151 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31152 Introduce __libc_secure_getenv.
0c7936d5
FW
31153 * stdlib/Versions (2.17): Add secure_getenv
31154 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31155 * stdlib/secure-getenv.c: Rename __secure_getenv to
31156 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31157 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31158 * stdlib/tst-secure-getenv.c: New.
31159 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31160 * manual/startup.texi (Environment Access): Document
31161 secure_getenv.
84b3fd84
FW
31162 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31163 __libc_secure_getenv.
31164 * inet/ruserpass.c (ruserpass): Likewise.
31165 * malloc/mtrace.c (mtrace): Likewise.
31166 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31167 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31168 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31169 * sysdeps/posix/tempname.c: Likewise. Evaluate
31170 HAVE_SECURE_GETENV.
31171 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31172 __secure_getenv to __libc_secure_getenv.
84b3fd84 31173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31175 Likewise.
31176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31177 Likewise.
31178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31185
56e49b71
JM
311862012-07-25 Joseph Myers <joseph@codesourcery.com>
31187
31188 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31189 (struct La_i86_retval): Likewise.
31190 (struct La_x86_64_regs): Likewise.
31191 (struct La_x86_64_retval): Likewise.
31192 (struct La_x32_regs): Likewise.
31193 (struct La_x32_retval): Likewise.
31194 (struct La_ppc32_regs): Likewise.
31195 (struct La_ppc32_retval): Likewise.
31196 (struct La_ppc64_regs): Likewise.
31197 (struct La_ppc64_retval): Likewise.
31198 (struct La_sh_regs): Likewise.
31199 (struct La_sh_retval): Likewise.
31200 (struct La_s390_32_regs): Likewise.
31201 (struct La_s390_32_retval): Likewise.
31202 (struct La_s390_64_regs): Likewise.
31203 (struct La_s390_64_retval): Likewise.
31204 (struct La_sparc32_regs): Likewise.
31205 (struct La_sparc32_retval): Likewise.
31206 (struct La_sparc64_regs): Likewise.
31207 (struct La_sparc64_retval): Likewise.
31208 (struct audit_ifaces): Remove architecture-specific pltenter and
31209 pltexit members.
31210 * sysdeps/i386/ldsodefs.h: New file.
31211 * sysdeps/powerpc/ldsodefs.h: Likewise.
31212 * sysdeps/s390/ldsodefs.h: Likewise.
31213 * sysdeps/sh/ldsodefs.h: Likewise.
31214 * sysdeps/sparc/ldsodefs.h: Likewise.
31215 * sysdeps/x86_64/ldsodefs.h: Likewise.
31216
354691b7
MP
312172012-07-25 Marek Polacek <polacek@redhat.com>
31218
31219 [BZ #6808]
31220 * math/libm-test.inc (yn_test): Add another test.
31221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31222 to ERANGE when the result is +-Inf.
31223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31224 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31225 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31226 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31227
bf9e2071
JM
312282012-07-24 Joseph Myers <joseph@codesourcery.com>
31229
31230 * conform/data/time.h-data (NULL): Use macro-constant. Require
31231 equal to 0.
31232 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31233 clock_t.
31234 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31235
57633811
TS
312362012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31237
31238 * configure.in <sysdeps resolving>: Correct printing
31239 Implies_before.
31240 * configure: Regenerate.
31241
c23c33b0
TS
312422012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31243
31244 * math/w_ilogb.c: Include <limits.h>.
31245 * math/w_ilogbl.c: Likewise.
31246
b5982523
JM
312472012-07-20 Joseph Myers <joseph@codesourcery.com>
31248
31249 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31250 va_copy. Document allowing for unavailable va_copy only as
31251 pre-C99 compatibility.
31252 * manual/string.texi (Copying and Concatenation): Use va_copy
31253 instead of __va_copy in concat example.
31254
ac4ea442
PT
312552012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31256
31257 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31258 (__sendto): Use create_address_port. Initialize APORT and deallocate
31259 it if not null.
31260
f98eafbd
PT
31261 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31262 with O_NOLINK passed to __file_name_lookup.
31263
898c7aab
PT
31264 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31265 with O_NOLINK passed to __file_name_lookup.
31266
0ced335a
PT
31267 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31268 negative N or less than NGIDS.
31269
b3404dbd
PT
31270 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31271 type to string_t. Set ERANGE as errno and return it if NAME is not big
31272 enough. Use memcpy instead of strncpy.
31273
0f48659e
JM
312742012-07-20 Joseph Myers <joseph@codesourcery.com>
31275
31276 * elf/Makefile (check-data): Remove.
31277 (localplt.data): New vpath directive.
31278 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31279 instead of $(check-data).
31280 * scripts/data/localplt-generic.data: Move to ...
31281 * sysdeps/generic/localplt.data: ... here.
31282 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31283 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31284 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31286 ... here.
31287 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31289 ... here.
31290 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31292 ... here.
31293 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31295 ... here.
31296 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31298 ... here.
31299 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31301 ... here.
31302
d37cbdaa
AZ
313032012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31304
31305 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31306 PPC32 and PPC64 files.
31307 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31308 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31309
46f85fc2
AK
313102012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31311
31312 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31313 __makecontext_ret to ...
31314 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31315 ... here and call exit if uc_link is NULL. New file.
31316 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31317 __makecontext_ret.S.
31318 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31319 __makecontext_ret to ...
31320 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31321 ... here and call exit if uc_link is NULL. New file.
31322 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31323 __makecontext_ret.S.
31324
08f43f9b
AK
313252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31326
31327 * elf/elf.h (R_390_IRELATIVE): New definition.
31328 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31329 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31330 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31331 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31332 (elf_machine_lazy_rel): Likewise.
31333 * sysdeps/s390/dl-irel.h: New file.
31334 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31335 * sysdeps/s390/s390-64/memset.S: New asm code.
31336 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31337 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31338 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31339 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31340 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31341 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31342 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31343 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31344 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31345 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31346 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31347 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31348 * sysdeps/s390/s390-32/memset.S: New asm code.
31349 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31350
3b05db33
MP
313512012-07-17 Marek Polacek <polacek@redhat.com>
31352
31353 [BZ #14349]
31354 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31355 * sysdeps/s390/s390-64/configure.in: Likewise.
31356 * sysdeps/sparc/configure.in: Likewise.
31357 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31358 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31359 * sysdeps/i386/configure.in: Likewise.
31360 * sysdeps/x86_64/configure.in: Likewise.
31361 * sysdeps/sh/configure.in: Likewise.
31362 * sysdeps/s390/s390-32/configure: Regenerated.
31363 * sysdeps/s390/s390-64/configure: Likewise.
31364 * sysdeps/x86_64/configure: Likewise.
31365 * sysdeps/sh/configure: Likewise.
31366 * sysdeps/powerpc/powerpc64/configure: Likewise.
31367 * sysdeps/powerpc/powerpc32/configure: Likewise.
31368 * sysdeps/sparc/configure: Likwise.
31369 * sysdeps/i386/configure: Likewise.
31370
a66877c6
MP
31371 * elf/dl-open.c: Comment fixes.
31372
cfc82fd8
JM
313732012-07-17 Joseph Myers <joseph@codesourcery.com>
31374
bd29910a
JM
31375 * Makefile [CXX] (check-data): Remove.
31376 [CXX] (c++-types.data): New vpath directive.
31377 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31378 vpath. Do not allow for C++ type data being missing.
31379 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31380 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31381 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31382 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31383 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31384 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31385 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31387 ... here.
31388 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31390 ... here.
31391 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31393 ... here.
31394 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31396 ... here.
31397 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31399 ... here.
31400 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31402 ... here.
31403 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31405 ... here.
31406 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31408
cfc82fd8
JM
31409 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31410 definitions to architecture-specific files.
31411 (TLS_IE): Likewise.
31412 (TLS_LD): Likewise.
31413 (TLS_GD): Likewise.
31414 * sysdeps/i386/tls-macros.h: New file.
31415 * sysdeps/powerpc/tls-macros.h: Likewise.
31416 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31417 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31418 * sysdeps/sh/tls-macros.h: Likewise.
31419 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31420 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31421 * sysdeps/x86_64/tls-macros.h: Likewise.
31422
f7db3170
TS
314232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31424
07cbfc23
TS
31425 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31426 zero value for regular exit case.
31427
f7db3170
TS
31428 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31429 (__start_context): Preserve zero value for regular exit case.
31430
dc97c227
TS
314312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31432 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31433
31434 * manual/setjmp.texi (setcontext): Clarify normal process
31435 termination when uc_link is the null pointer.
31436 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31437 exit call.
31438
d0cd7d02
AS
314392012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31440
31441 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31442 preprocessor. Test for each exception mask separately.
31443
dd318934
AJ
314442012-07-16 Andreas Jaeger <aj@suse.de>
31445
31446 * po/ru.po: Update from translation team.
31447
8048311a
JM
314482012-07-15 Joseph Myers <joseph@codesourcery.com>
31449
31450 * conform/data/string.h-data (NULL): Use macro-constant. Require
31451 equal to 0.
31452 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31453 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31454 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31455 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31457
b637d46e
AJ
314582012-07-13 Andreas Jaeger <aj@suse.de>
31459
31460 * po/fr.po: Update from translation team.
31461
541428fe
MP
314622012-07-12 Marek Polacek <polacek@redhat.com>
31463
31464 [BZ #14173]
31465 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31466 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31467 loop condition.
31468
ec332e94
JM
314692012-07-12 Joseph Myers <joseph@codesourcery.com>
31470
31471 [BZ #13717]
31472 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31473 Change to 2.4.1 where previously 2.4.0.
31474 * sysdeps/unix/sysv/linux/configure: Regenerated.
31475 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31476 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31477 version.
31478 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31479 (__ASSUME_AT_CLKTCK): Remove.
31480 (__ASSUME_AT_PAGESIZE): Likewise.
31481 (__ASSUME_AT_XID): Likewise.
31482 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31483 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31484 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31485 unconditionally.
31486 (HAVE_AUX_PAGESIZE): Likewise.
31487 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31488 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31489 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31490
7b6e99be
JB
314912012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31492
31493 [BZ #14307]
31494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31495 the temporary buffer used to invoke __gethostbyname2_r,
31496 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31497 host_data / struct gaih_addrtuple.
31498 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31499 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31500 header file nss/nsswitch.h.
31501 * nss/nsswitch.h (global scope): Add definition of implementation
31502 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31503 resolv/nss_dns/dns-host.c).
31504
608404eb
AJ
315052012-07-11 Andreas Jaeger <aj@suse.de>
31506
31507 * po/fr.po: Update from translation team.
31508
71220aca
AJ
31509 * po/sv.po: Update from translation team
31510 * po/fr.po: Another update from translation team.
31511
28cfe843
AZ
315122012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31513
31514 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31515 for subnormals or multiply small sinh result by itself.
31516 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31518
6b90f981
DM
315192012-07-11 David S. Miller <davem@davemloft.net>
31520
31521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31522
c6825772
AS
315232012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31524
31525 [BZ #14347]
31526 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31527 (INTERNAL_MARK): Shift it here.
31528
7b8e0d49
MP
315292012-07-10 Marek Polacek <polacek@redhat.com>
31530
31531 [BZ #14151]
31532 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31533 libc_cv_asm_global_directive with .globl.
31534 * configure: Regenerated.
31535 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31536 with .globl.
31537 * sysdeps/i386/configure: Regenerated.
31538 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31539 with .globl.
31540 * sysdeps/x86_64/configure: Regenerated.
31541 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31542 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31543 * elf/tst-unique2mod2.c: Likewise.
31544 * elf/tst-unique2mod1.c: Likewise.
31545 * elf/tst-unique1mod2.c: Likewise.
31546 * elf/tst-unique1mod1.c: Likewise.
31547 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31548 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31550 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31551 * sysdeps/mach/sysdep.h: Likewise.
31552 * sysdeps/i386/sysdep.h: Likewise.
31553 * sysdeps/i386/i386-mcount.S: Likewise.
31554 * sysdeps/x86_64/_mcount.S: Likewise.
31555 * sysdeps/x86_64/sysdep.h: Likewise.
31556 * sysdeps/sh/_mcount.S: Likewise.
31557 * sysdeps/sh/sysdep.h: Likewise.
31558 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31559 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31560 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31561 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31562 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31563 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31564 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31565 * locale/localeinfo.h: Likewise.
31566 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31567 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31568
6c55cda3
RM
315692012-07-09 Roland McGrath <roland@hack.frob.com>
31570
31571 [BZ #14336]
31572 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31573 system".
31574 * manual/message.texi (The Uniforum approach): Likewise.
31575 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31576 (glibc iconv Implementation): Likewise.
31577
638a572e
JM
315782012-07-09 Joseph Myers <joseph@codesourcery.com>
31579
31580 [BZ #14337]
31581 * math/s_clog.c (__clog): Avoid scaling a value down where that
31582 could result in underflow.
31583 * math/s_clog10.c (__clog10): Likewise.
31584 * math/s_clog10f.c (__clog10f): Likewise.
31585 * math/s_clog10l.c (__clog10l): Likewise.
31586 * math/s_clogf.c (__clogf): Likewise.
31587 * math/s_clogl.c (__clogl): Likewise.
31588 * math/libm-test.inc (clog_test): Add more tests.
31589 (clog10_test): Likewise.
31590 * sysdeps/i386/fpu/libm-test-ulps: Update.
31591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31592
261f4859
AS
315932012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31594
0abaf3e4
AS
31595 [BZ #14283]
31596 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31597 by 7 not 8 to examine high bit of fractional part.
31598
261f4859
AS
31599 [BZ #14042]
31600 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31601 for call to __mcount_internal.
31602 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31603 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31604 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31605
f17ac40d
JM
316062012-07-06 Joseph Myers <joseph@codesourcery.com>
31607
9ad63c23
JM
31608 [BZ #14154]
31609 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31610 approximation for values within 0x1p-13f of an odd multiple of
31611 pi/4.
31612 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31613 exception. Add more tests.
31614 * sysdeps/i386/fpu/libm-test-ulps: Update.
31615
f17ac40d
JM
31616 [BZ #6778]
31617 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31618 inputs and return -1 for them. Do not check for +Inf in case not
31619 reachable for +Inf.
31620 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31621 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31623 and return -1 for them. Do not check for +Inf in case not
31624 reachable for +Inf.
31625 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31626 define.
31627 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31628 and return -1 for them. Do not check for +Inf in case not
31629 reachable for +Inf.
31630 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31631 spurious underflow.
31632 * sysdeps/i386/fpu/libm-test-ulps: Update.
31633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31634
fb21f89b
MF
316352012-07-06 Mike Frysinger <vapier@gentoo.org>
31636
31637 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31638
cdfe2c5e
JM
316392012-07-05 Joseph Myers <joseph@codesourcery.com>
31640
31641 [BZ #14157]
31642 [BZ #14331]
31643 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31644 could result in spurious underflow. Scale down values above
31645 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31646 * math/s_csqrtf.c (__csqrtf): Likewise.
31647 * math/s_csqrtl.c (__csqrtl): Likewise.
31648 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31649 spurious underflow.
31650 * sysdeps/i386/fpu/libm-test-ulps: Update.
31651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31652
70d35b67
AS
316532012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31654
704bc459
AS
31655 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31656 xopen-msg.sed.
31657 * catgets/xopen-msg.awk: New file.
31658 * catgets/xopen-msg.sed: Removed.
31659
70d35b67
AS
31660 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31661 po2text.sed.
31662 * intl/po2test.awk: New file.
31663 * intl/po2test.sed: Removed.
31664
ca61cf32
JM
316652012-07-04 Joseph Myers <joseph@codesourcery.com>
31666
31667 [BZ #14328]
31668 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31669 or multiply small sinh result by itself.
31670 * math/s_ctanf.c (__ctanf): Likewise.
31671 * math/s_ctanh.c (__ctanh): Likewise.
31672 * math/s_ctanhf.c (__ctanhf): Likewise.
31673 * math/s_ctanhl.c (__ctanhl): Likewise.
31674 * math/s_ctanl.c (__ctanl): Likewise.
31675 * math/libm-test.inc (ctan_test_tonearest): New function.
31676 (ctan_test_towardzero): Likewise.
31677 (ctan_test_downward): Likewise.
31678 (ctan_test_upward): Likewise.
31679 (ctanh_test_tonearest): Likewise.
31680 (ctanh_test_towardzero): Likewise.
31681 (ctanh_test_downward): Likewise.
31682 (ctanh_test_upward): Likewise.
31683 (main): Call these new functions.
31684 * sysdeps/i386/fpu/libm-test-ulps: Update.
31685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31686
ca48a46a
MF
316872012-07-03 Mike Frysinger <vapier@gentoo.org>
31688
31689 * .gitignore: Delete /ports entry.
31690
9d63d37d
AJ
316912012-07-03 Andreas Jaeger <aj@suse.de>
31692
31693 * po/bg.po: Update from translation team.
31694 * po/cs.po: Likewise.
31695 * po/de.po: Likewise.
31696 * po/hr.po: Likewise.
31697 * po/nl.pl: Likewise.
31698 * po/pl.po: Likewise.
31699 * po/vi.po: Likewise.
31700
370ca3d2
JM
317012012-07-03 Joseph Myers <joseph@codesourcery.com>
31702
95f5a9a8
JM
31703 * Makeconfig [!+link] (+link-before-libc): New variable.
31704 [!+link] (+link-after-libc): Likewise.
31705 [!+link] (+link-tests): Likewise.
31706 [!+link] (+link): Define in terms of $(+link-before-libc) and
31707 $(+link-after-libc).
31708 [!+link-static] (+link-static-before-libc): New variable.
31709 [!+link-static] (+link-static-after-libc): Likewise.
31710 [!+link-static] (+link-static-tests): Likewise.
31711 [!+link-static] (+link-static): Define in terms of
31712 $(+link-static-before-libc) and $(+link-static-after-libc).
31713 [build-shared] (link-libc-before-gnulib): New variable.
31714 [build-shared] (link-libc-tests): Likewise.
31715 [build-shared] (link-libc): Define in terms of
31716 $(link-libc-before-gnulib).
31717 [!build-shared] (link-libc-tests): New variable.
31718 (link-libc-static-tests): New variable.
31719 [!gnulib] (gnulib-arch): New variable.
31720 [!gnulib] (gnulib-tests): Likewise.
31721 [!gnulib] (static-gnulib-arch): Likewise.
31722 [!gnulib] (static-gnulib-tests): Likewise.
31723 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31724 Define with "=" instead of ":=".
31725 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31726 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31727 * Rules (binaries-all-notests): New variable.
31728 (binaries-all-tests): Likewise.
31729 (binaries-static-notests): Likewise.
31730 (binaries-static-tests): Likewise.
31731 (binaries-all): Define using $(binaries-all-notests) and
31732 $(binaries-all-tests).
31733 (binaries-static): Define using $(binaries-static-notests) and
31734 $(binaries-static-tests).
31735 (binaries-shared-tests): New variable.
31736 (binaries-shared-notests): Likewise.
31737 (binaries-shared): Remove variable.
31738 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31739 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31740 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31741 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31742 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31743 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31744 * elf/Makefile (sln-modules): New variable.
31745 (extra-objs): Add $(sln-modules:=.o).
31746 (ldconfig-modules): Add static-stubs.
31747 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31748 * elf/static-stubs.c: New file.
31749
7a845b2c
JM
31750 [BZ #14283]
31751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31752 by 7 not 8 to examine high bit of fractional part. Use volatile
31753 variables when splitting into final array of floats if
31754 __FLT_EVAL_METHOD__ != 0.
31755 * math/libm-test.inc (cos_test): Add another test.
31756 (sin_test): Likewise.
31757 * sysdeps/i386/fpu/libm-test-ulps: Update.
31758
e2283f38
JM
31759 [BZ #14273]
31760 * math/libm-test.inc (cosh_test): Add more tests.
31761
370ca3d2
JM
31762 * version.h (RELEASE): Set to "development".
31763 (VERSION): Set to "2.16.90".
31764
ee9247c3
CD
317652012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31766
31767 * NEWS: Update copyright. Remove last-updated date.
31768 Mention math library bug fixes and timezone data changes.
31769 * README: Mention GNU/Hurd, x32, and HPPA support status.
31770
4648c381
TS
317712012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31772
31773 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31774
aac78a43
AJ
317752012-06-27 Andreas Jaeger <aj@suse.de>
31776
31777 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31778
ed3dbfad
AJ
317792012-06-25 Andreas Jaeger <aj@suse.de>
31780
31781 * sysdeps/s390/fpu/libm-test-ulps: Update.
31782
4d0ee855
AS
317832012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31784 Thomas Schwinge <thomas@codesourcery.com>
31785
31786 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31787 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31789 fanotify_mark.
31790
af1bce34
TS
317912012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31792
a9fa33ba
TS
31793 * sysdeps/mach/start.c: Remove file.
31794 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31795 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31796 * sysdeps/sh/init-first.c: Likewise.
31797
58f902b8
TS
31798 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31799 registers for frame unwinding purposes, add CFI directives.
31800 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31801 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31802 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31803 Likewise.
31804
1518f58b
TS
31805 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31806 __fortify_fail returning.
31807 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31808
db9b5059
TS
31809 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31810 sysdeps/sh/____longjmp_chk.S.
31811 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31812 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31813 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31814 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31815
967705fe
TS
31816 * sysdeps/sh/abort-instr.h: New file.
31817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31818 process in case exit returns.
31819
a9def8c4
TS
31820 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31821 initialize the GOT register before use.
31822
2a649725
TS
31823 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31824 calculation of ARGC > 4.
31825
af1bce34
TS
31826 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31827 meaningful names to some local labels.
31828
d230f50a
KK
318292012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31830 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31831
31832 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31833 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31834 (__arch_compare_and_exchange_val_16_acq): Likewise.
31835 (__arch_compare_and_exchange_val_32_acq): Likewise.
31836 (atomic_exchange_and_add): Fix gUSA sequence.
31837 (atomic_add): Likewise.
31838 (atomic_add_negative): Likewise.
31839 (atomic_add_zero): Likewise.
31840 (atomic_bit_test_set): Likewise.
31841
0479b305
AS
318422012-06-22 Andreas Schwab <schwab@redhat.com>
31843
31844 [BZ #13579]
31845 * include/link.h (struct link_map): Add l_free_initfini.
31846 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31847 l_initfini.
31848 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31849 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31850 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31851 set.
31852
0e3933b9
CD
318532012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31854
31855 * configure.in: Use AC_LANG_SOURCE.
31856 * configure: Regenerate.
31857
4248b1b1
RM
318582012-06-22 Roland McGrath <roland@hack.frob.com>
31859
31860 * configure.in (libc_cv_localstatedir): New substituted variable.
31861 * configure: Regenerated.
31862 * config.make.in (localstatedir): New variable, substituted from
31863 libc_cv_localstatedir.
31864 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31865 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31866 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31867 * sysdeps/gnu/configure: Regenerated.
31868
006dd861
JL
318692012-06-21 Jeff Law <law@redhat.com>
31870
31871 [BZ #14277]
31872 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31873 free. Simplify list management for _LIBC case.
31874
79662d42
JM
318752012-06-21 Joseph Myers <joseph@codesourcery.com>
31876
b7abb4bf
JM
31877 [BZ #14273]
31878 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31879 Clear sign bit of 64-bit integer value before comparing against
31880 overflow value.
31881
79662d42
JM
31882 * sysdeps/mach/configure: Regenerated.
31883
1f150908
L
318842012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31885
31886 [BZ #14278]
31887 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31888
28363bbf
JL
318892012-06-21 Jeff Law <law@redhat.com>
31890
31891 [BZ #13882]
31892 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31893 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31895 * elf/dl-open.c (dl_open_worker): Likewise.
31896
09615db4
CD
318972012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31898
31899 * scripts/list-sources.sh: Scan PORTS for translations.
31900 * po/libc.pot: Regenerated.
31901
2174c6dd
AJ
319022012-06-21 Andreas Jaeger <aj@suse.de>
31903
31904 [BZ #12194]
31905 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31906 warning.
31907 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31908 * bits/byteswap-16.h (__bswap_16): Likewise.
31909 * bits/byteswap.h (__bswap_constant_16): Likewise.
31910
3ee947b1
L
319112012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31912
31913 [BZ #14117]
a2f34833
L
31914 * sysdeps/i386/fpu_control.h: Removed.
31915 * sysdeps/x86_64/fpu_control.h: Moved to ...
31916 * sysdeps/x86/fpu_control.h: Here.
31917
3ee947b1
L
31918 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31919 (_FPU_SETCW): Likewise.
31920
ed1825f8
L
319212012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31922
25f1282a
L
31923 [BZ #14117]
31924 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31925 * sysdeps/x86/fpu/bits/mathinline.h: This.
31926 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31927
ed1825f8
L
31928 [BZ #14050]
31929 [BZ #14117]
31930 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31931 functions if __x86_64__ is defined.
31932
36d54b74
CLT
319332012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31934
31935 * string/endian.h: Add !__ASSEMBLER__ condition for including
31936 conversion interfaces.
31937
10285c21
JM
319382012-06-15 Joseph Myers <joseph@codesourcery.com>
31939
31940 [BZ #14241]
31941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31942 of ABS(x) in calculating zero to negative powers other than odd
31943 integers.
31944 * math/libm-test.inc (pow_test): Add more tests.
31945
06c5abbd
AJ
319462012-06-15 Andreas Jaeger <aj@suse.de>
31947
31948 * manual/contrib.texi (Contributors): Update entry of Liubov
31949 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31950 Machado Filho.
31951
a3aeac40
CH
319522012-06-15 Cyril Hrubis <metan@ucw.cz>
31953
31954 * string/string.h: Add __wur to GNU version of strerror_r.
31955
49bdf4c1
L
319562012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31957
31958 [BZ #14229]
31959 * string/Makefile (tests): Add tst-strtok_r.
31960 * string/tst-strtok_r.c: New file.
31961 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31962 RAX_LP/RDX_LP on SAVE_PTR.
31963
834f9b8d
RM
319642012-06-14 Roland McGrath <roland@hack.frob.com>
31965
31966 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31967
75fa1921
JM
319682012-06-14 Joseph Myers <joseph@codesourcery.com>
31969
31970 * libm_test.inc (csqrt_test): Allow more spurious underflow
31971 exceptions.
31972 (j0_test): Likewise.
31973 (j1_test): Likewise.
31974 (y0_test): Likewise.
31975 (y1_test): Likewise.
31976
771766df
CD
319772012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31978
31979 * po/Makefile (libc.pot): Use UTF-8 charset.
31980
ceb9e56b
PP
319812012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31982
31983 [BZ #14210]
31984 Suppress sign-conversion warning from FD_SET.
31985 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31986 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31987 not unsigned long int.
31988 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31989
ddb28975
L
319902012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31991
31992 [BZ #14050]
31993 [BZ #14117]
31994 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31995 __extern_always_inline instead of __extern_inline.
31996 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31997 (__signbit): Likewise.
31998 (__signbitl): Support C++ namespace.
31999 (lrintf): New inline function.
32000 (lrint): Likewise.
32001 (llrintf): Likewise.
32002 (llrint): Likewise.
32003 (fmaxf): Likewise.
32004 (fmax): Likewise.
32005 (fminf): Likewise.
32006 (fmin): Likewise.
32007 (rint): Likewise.
32008 (rintf): Likewise.
32009 (ceil): Likewise.
32010 (ceilf): Likewise.
32011 (floor): Likewise.
32012 (floorf): Likewise.
32013 (nearbyint): Likewise.
32014 (nearbyintf): Likewise.
32015
d7b4fb26
TS
320162012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32017
32018 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32019 non-default versions.
32020
eb55f5c2
RM
320212012-06-11 Roland McGrath <roland@hack.frob.com>
32022
32023 [BZ #14218]
32024 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32025
366af02c
TS
320262012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32027
99ff6e5c
TS
32028 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32029 (FE_UPWARD, FE_DOWNWARD): Don't define.
32030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32031 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32032
366af02c
TS
32033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32034 reading it.
32035 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32036 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32037
793ea851
KK
320382012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32039
32040 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32042 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32043 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32044
a728a38f
L
320452012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32046
32047 [BZ #14117]
c08010c7
L
32048 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32049 * sysdeps/i386/fpu/Implies: New file.
32050 * sysdeps/x86_64/fpu/Implies: Likewise.
32051 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32052 * sysdeps/x86/fpu/bits/fenv.h: This.
32053
a728a38f
L
32054 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32055 __SSE_MATH__.
32056
6e230d11
SP
320572012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32058
32059 [BZ #14134]
32060 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32061 character 0xffff that matches the last element of the
32062 conversion table.
32063
1b671feb
AZ
320642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32065
32066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32067 fmodl commit.
32068
6043738b
AZ
320692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32070
32071 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32072 values higher than 25.6283.
32073
34ae0b32
AZ
320742012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32075
32076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32077 subnormal exponent extraction and add some __builtin_expect.
32078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32079 Fix for subnormal mantissa calculation.
32080
1214ec8f
MF
320812012-06-04 Mike Frysinger <vapier@gentoo.org>
32082
32083 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32084 cpu2 is -1 and errno is not ENOSYS.
32085
f3d1f93c
L
320862012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32087
32088 [BZ #14117]
0e4a3cd7
L
32089 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32090 * sysdeps/x86/bits/string.h: This.
32091 * sysdeps/x86_64/bits/string.h: Removed.
32092
6704c645
L
32093 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32094 if not compiling for x86-64, but compiling for >= i486.
32095
48495318
L
32096 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32097 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32098
14adcbfc
L
32099 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32100 New macro from Linux kernel 3.4.0.
32101 (FP_XSTATE_MAGIC2): Likewise.
32102 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32103 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32104 (struct _fpx_sw_bytes): New struct.
32105 (struct _xsave_hdr): Likewise.
32106 (struct _ymmh_state): Likewise.
32107 (struct _xstate): Likewise.
32108
68e408ab
L
32109 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32110 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32111 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32112 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32113 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32114 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32115
f3d1f93c
L
32116 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32117 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32118 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32119 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32120 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32121 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32122
d9dc34cd
TMQMF
321232012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32124
32125 [BZ #13743]
32126 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32127 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32128 (sysdep_headers): Include sys/platform/ppc.h.
32129 * sysdeps/powerpc/test-gettimebase.c: Test for
32130 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32131 * manual/Makefile (appendices): Include platform.texi.
32132 * manual/contrib.texi (Contributors): Update @node pointers.
32133 * manual/maint.texi (Maintenance): Likewise.
32134 (Platform): New node.
32135 * manual/platform.texi: New file. Document the new features.
32136
4af3879c
SP
321372012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32138 Jakub Jelinek <jakub@redhat.com>
32139
32140 [BZ #14188]
32141 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32142 where __builtin_expect is unavailable.
32143
2fd6ff13
DM
321442012-06-03 David S. Miller <davem@davemloft.net>
32145
32146 * stdlib/longlong.h: Updated from GCC.
32147
173f7220
AS
321482012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32149
32150 [BZ #14042]
32151 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32152 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32153 __mcount_internal.
32154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32155 (GLIBC_2.16): Likewise.
32156
f34a1c6f
L
321572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32158
32159 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32160
88a4576f
JM
321612012-06-01 Joseph Myers <joseph@codesourcery.com>
32162
ea32bcdd
JM
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32164 (default-abi): New variable.
32165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32166 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32167 variable.
32168 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32169 Likewise.
32170 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32171 Likewise.
32172 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32173 Likewise.
32174
88a4576f
JM
32175 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32176 definition. Document in comment.
32177
402fe938
DM
321782012-06-01 David S. Miller <davem@davemloft.net>
32179
32180 * stdlib/longlong.h: Updated from GCC.
32181
3553723f
L
321822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32183
32184 [BZ #14117]
3bd872c4
L
32185 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32186 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32187 sys/debugreg.h sys/io.h here.
32188 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32189 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32190 sys/io.h.
32191 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32192 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32193 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32194 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32195 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32196 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32197
3553723f
L
32198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32199 Define only if __x86_64__ is defined.
32200
4842e4fe
JM
322012012-06-01 Joseph Myers <joseph@codesourcery.com>
32202
c5bfe3d5
JM
32203 [BZ #14048]
32204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32205 Use int64_t for variable i.
32206 * math/libm-test.inc (fmod_test): Add more tests.
32207
4842e4fe
JM
32208 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32209 z computation is not scheduled after fetestexcept.
32210 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32211 Use math_force_eval instead of asm to ensure calculation scheduled
32212 before exception test.
32213 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32214 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32215
efb73488
AJ
322162012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32217
32218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32219 computation is not scheduled after fetestexcept.
32220
29bcce7c
L
322212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32222
32223 [BZ #14117]
32224 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32225 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32226
73a68f94
AZ
322272012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32228
32229 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32230 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32231
67b6df78
L
322322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32233
edf2933a 32234 [BZ #14117]
ebc64a18
L
32235 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32236 <bits/wordsize.h>.
32237 (__WCHAR_MIN): Support __WORDSIZE == 64.
32238 (__WCHAR_MAX): Likewise.
32239
edf2933a
L
32240 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32242
57c6cf40
L
32243 [BZ #14183]
32244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32245 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32246
67b6df78 32247 [BZ #14117]
8eb6281e
L
32248 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32249 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32250
aac639f4
L
32251 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32252 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32253
67b6df78
L
32254 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32255 Defined to 1 if __x86_64__ isn't defined.
32256 (_STAT_VER_LINUX_OLD): New.
32257 (st_atime): Remove duplicate.
32258 (st_mtime): Likewise.
32259 (st_ctime): Likewise.
32260
1c2cfe81
DM
322612012-05-31 David S. Miller <davem@davemloft.net>
32262
32263 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32264 entries.
32265
5be8418c
AS
322662012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32267
e7725326
AS
32268 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32269 gen-libm-test.pl.
32270
5be8418c
AS
32271 [BZ #14132]
32272 * elf/dl-reloc.c: Include <_itoa.h>.
32273 (_dl_reloc_bad_type): Remove use of INTUSE.
32274 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32275 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32276 * stdio-common/psiginfo.c (psiginfo): Likewise.
32277 * stdio-common/psignal.c (psignal): Likewise.
32278 * string/strsignal.c (strsignal): Likewise.
32279 * include/signal.h (_sys_siglist): Declare hidden proto.
32280 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32281 INTVARDEF with libc_hidden_data_def.
32282 * stdio-common/itoa-udigits.c: Likewise.
32283 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32284 (_itoa_lower_digits_internal): Remove declaration.
32285 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32286 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32287 (_sys_sigabbrev_internal): Remove aliases.
32288 (_sys_siglist): Define hidden alias.
32289
507352f1
MT
322902012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32291
32292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32293 bits/sysctl.h.
32294
42bbb1c3
L
322952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32296
32297 [BZ #14117]
6bd784b6
L
32298 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32299 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32300
8bca20f0
L
32301 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32302 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32303 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32304 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32305 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32306 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32307
f9e890a9
L
32308 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32309 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32310 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32311
471101a1
L
32312 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32313 with __addr.
32314 (insw): Likewise.
32315 (insl): Likewise.
32316 (outsb): Likewise.
32317 (outsw): Likewise.
32318 (outsl): Likewise.
32319
6451c862
L
32320 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32321 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32322 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32323
a254b8c9
L
32324 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32325 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32326 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32327 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32328 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32329 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32330
b8dfdd92
L
32331 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32332 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32333
578cd270
L
32334 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32335 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32336
de662f5f
L
32337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32338 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32339 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32340
25653439
L
32341 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32342 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32343 to ...
32344 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32345
6bad24a0
L
32346 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32347 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32348 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32349
42bbb1c3
L
32350 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32351 for x86-64.
32352 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32353
2d10d547
JM
323542012-05-31 Joseph Myers <joseph@codesourcery.com>
32355
32356 * math/math.h (M_El): Use two more decimal places.
32357 (M_LOG2El): Likewise.
32358 (M_LOG10El): Likewise.
32359 (M_LN2l): Likewise.
32360 (M_LN10l): Likewise.
32361 (M_PIl): Likewise.
32362 (M_PI_2l): Likewise.
32363 (M_PI_4l): Likewise.
32364 (M_1_PIl): Likewise.
32365 (M_2_PIl): Likewise.
32366 (M_2_SQRTPIl): Likewise.
32367 (M_SQRT2l): Likewise.
32368 (M_SQRT1_2l): Likewise.
32369
f230c29b
DM
323702012-05-31 David S. Miller <davem@davemloft.net>
32371
32372 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32373 values between float registers.
32374 * sysdeps/sparc/sparc64/memset.S: Likewise.
32375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32376
fed806c3
MF
323772012-05-31 Mike Frysinger <vapier@gentoo.org>
32378
32379 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32380 -D_FORTIFY_SOURCE=1.
32381 (CPPFLAGS-tst-longjmp_chk.c): Define.
32382 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32383 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32384 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32385 CFLAGS-tst-wchar-h.c.
32386
30917259
MP
323872012-05-31 Marek Polacek <polacek@redhat.com>
32388
32389 [BZ #14132]
32390 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32391 __endmntent_internal): Remove declaration.
32392 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32393 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32394 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32395
1c58d5dc
DM
323962012-05-30 David S. Miller <davem@davemloft.net>
32397
32398 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32399 (___Q_simulate_exceptions): Use real FP ops rather than writing
32400 into the %fsr.
32401 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32402 Likewise.
32403
7dc00e0d
L
324042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32405
32406 [BZ #14117]
0bd53985
L
32407 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32408 * sysdeps/x86/bits/xtitypes.h: This.
32409
3a257e66
L
32410 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32411 * sysdeps/x86/bits/wordsize.h: This.
32412
62f62904
L
32413 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32414 * sysdeps/x86/bits/huge_vall.h: This.
32415
404fe9d9
L
32416 * sysdeps/i386/bits/select.h: Removed.
32417 * sysdeps/x86_64/bits/select.h: Renamed to ...
32418 * sysdeps/x86/bits/select.h: This.
32419
d48d0446
L
32420 * sysdeps/i386/bits/setjmp.h: Removed.
32421 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32422 * sysdeps/x86/bits/setjmp.h: This.
32423
7dc00e0d
L
32424 * sysdeps/i386/bits/mathdef.h: Removed.
32425 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32426 * sysdeps/x86/bits/mathdef.h: This.
32427
03277f8f
AS
324282012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32429
32430 [BZ #14132]
32431 * include/sys/socket.h (__connect_internal)
32432 (__libc_sa_len_internal): Remove declaration.
32433 (__connect, __libc_sa_len): Declare hidden_proto.
32434 (SA_LEN): Remove use of INTUSE.
32435 * socket/connect.c: Add libc_hidden_def.
32436 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32437 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32438 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32439 alias.
32440 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32441 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32442 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32443 of adding _internal alias.
32444
13764867
L
324452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32446
32447 [BZ #14117]
6bd97696
L
32448 * sysdeps/i386/bits/link.h: Removed.
32449 * sysdeps/i386/bits/linkmap.h: Likewise.
32450 * sysdeps/x86_64/bits/link.h: Renamed to ...
32451 * sysdeps/x86/bits/link.h: This.
32452 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32453 * sysdeps/x86/bits/linkmap.h: This.
32454
f726f0bb
L
32455 * sysdeps/i386/bits/endian.h: Removed.
32456 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32457 * sysdeps/x86/bits/endian.h: This.
32458
13764867
L
32459 * sysdeps/i386/bits/byteswap.h: Removed.
32460 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32461 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32462 * sysdeps/x86/bits/byteswap.h: This.
32463 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32464 * sysdeps/x86/bits/byteswap-16.h: This.
32465 * sysdeps/i386/Implies: Add x86.
32466 * sysdeps/x86_64/Implies: Likewise.
32467
ae251b0b
DM
324682012-05-30 David S. Miller <davem@davemloft.net>
32469
32470 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32471 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32472 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32473 (FP_TRAPPING_EXCEPTIONS): Define.
32474 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32475 (FP_TRAPPING_EXCEPTIONS): Define.
32476 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32477 subnormals only when inexact has been signalled or underflow
32478 exceptions are enabled.
32479 (_FP_PACK_CANONICAL): Likewise.
32480
d5c90867
L
324812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32482
32483 [BZ #14183]
32484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32485 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32486
63f1549e
RH
324872012-05-30 Richard Henderson <rth@twiddle.net>
32488
8d8f2279
RH
32489 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32490 with #ifndef NOT_IN_libc.
32491
63f1549e
RH
32492 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32493 marked to avoid plt entry.
32494
0ab0291b
L
324952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32496
32497 [BZ #14112]
32498 * Makeconfig (default-abi): New macro.
32499 (abi-includes): Likewise.
32500 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32501 $(abi-$(default-abi)-lib-soname) for soname if defined.
32502 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32503 abi-variants.
32504 * Makefile (installed-stubs): Likewise.
32505 * include/stubs-biarch.h: Removed.
32506 * scripts/lib-names.awk: Only handle one library at a time.
32507 * scripts/soversions.awk: Remove WORDSIZE support.
32508 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32509 entries.
32510 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32511 Removed.
32512 (syscall-list-default-condition): Likewise.
32513 (syscall-list-default-condition): Likewise.
32514 (syscall-list-includes): Likewise.
32515 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32516 syscall-list-* with abi-*. Handle undefined abi-variants.
32517 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32518 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32519 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32520 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32521 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32522 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32523 Removed.
32524 (syscall-list-32-options): Likewise.
32525 (syscall-list-32-condition): Likewise.
32526 (syscall-list-64-options): Likewise.
32527 (syscall-list-64-condition): Likewise.
32528 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32529 macro.
32530 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32531 Renamed to ...
32532 (abi-*): This.
32533 (abi-64-ld-soname): New macro.
32534 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32535 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32536 Renamed to ...
32537 (abi-*): This.
32538 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32539 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32540
4da0431d
JM
325412012-05-30 Joseph Myers <joseph@codesourcery.com>
32542
3a85279c
JM
32543 * sysdeps/unix/sysv/linux/kernel-features.h
32544 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32545 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32546 include <kernel-features.h>.
32547 [!__NR_ftruncate64]: Remove conditional code.
32548 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32549 [__NR_ftruncate64]: Make code unconditional.
32550 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32551 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32552 include <kernel-features.h>.
32553 [!__NR_ftruncate64]: Remove conditional code.
32554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32555 [__NR_ftruncate64]: Make code unconditional.
32556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32558 include <kernel-features.h>.
32559 [!__NR_ftruncate64]: Remove conditional code.
32560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32561 [__NR_ftruncate64]: Make code unconditional.
32562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32564 include <kernel-features.h>.
32565 [!__NR_ftruncate64]: Remove conditional code.
32566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32567 [__NR_ftruncate64]: Make code unconditional.
32568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32569
4da0431d
JM
32570 * configure.in (libc_cv_fpie): Weaken to a compile test using
32571 LIBC_TRY_CC_OPTION.
32572 * configure: Regenerated.
32573
11ef492c
AK
325742012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32575
32576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32580 Refreshed.
32581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32587 Refreshed.
32588
d66ef399
DM
325892012-05-27 David S. Miller <davem@davemloft.net>
32590
32591 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32592 (___Q_zero): New.
32593 (__Q_simulate_exceptions): Return void. Change to simulate
32594 exceptions by writing into the %fsr.
32595 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32596 (__Qp_handle_exceptions): Likewise.
32597 (numbers): Delete.
32598 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32599 __Qp_handle_exceptions.
32600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32601 __Qp_handle_exceptions.
32602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32603 as unused and give dummy FP_RND_NEAREST initializer.
32604 (FP_INHIBIT_RESULTS): Define.
32605 (___Q_simulate_exceptions): Update declaration.
32606 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32607 formatting.
32608 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32609 as unused and give dummy FP_RND_NEAREST initializer.
32610 (__Qp_handle_exceptions): Update declaration.
32611 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32612 formatting.
32613
04fb54b5
TS
326142012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32615
32616 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32617 the temporary FPU control word.
32618 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32619 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32620 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32621 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32622 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32623 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32624 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32625 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32626 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32627 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32628 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32629
3f99608f
KK
326302012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32631
32632 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32633 fields.
32634
65a4de4e
CLT
326352012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32636
32637 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32638 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32639 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32640 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32641 Likewise.
32642 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32643 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32644 Likewise.
32645
15749d40
UD
326462012-05-27 Ulrich Drepper <drepper@gmail.com>
32647
32648 * po/h.po: Update from translation team.
32649
25dbcb27
AS
326502012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32651
3d3f8e55
AS
32652 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32653
25dbcb27
AS
32654 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32655 handling of denormals.
32656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32657 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32658 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32659 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32663 Likewise.
32664
7ad47a80 326652012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32666
32667 [BZ #14152]
32668 * math/libm-test.inc (fma_test): Don't always expect underflow
32669 exception.
32670
9c6ea9fa
SP
326712012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32672
32673 [BZ #12416]
32674 * elf/tst-execstack.c: Include stackinfo.h.
32675 (do_test): Adjust test case to ensure that pthread_getattr_np
32676 behaviour remains the same after marking stack executable.
32677
a8239222
JM
326782012-05-25 Joseph Myers <joseph@codesourcery.com>
32679
32680 * sysdeps/unix/sysv/linux/kernel-features.h
32681 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32682 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32683 kernel-features.h.
32684 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32685 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32686 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32687 kernel-features.h.
32688 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32689 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32690
918b5606
L
326912012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32692
32693 * configure.in: Define the default includes to being none.
32694 * configure: Regenerated.
32695
3a097cc7
RM
326962012-05-25 Roland McGrath <roland@hack.frob.com>
32697
8422c9a5
RM
32698 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32699 * sysdeps/x86_64/setjmp.S: Likewise.
32700 * sysdeps/i386/bsd-setjmp.S: Likewise.
32701 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32702 * sysdeps/i386/setjmp.S: Likewise.
32703 * sysdeps/i386/__longjmp.S: Likewise.
32704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32705 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32706
3a097cc7
RM
32707 * include/stap-probe.h: New file.
32708 * configure.in: Handle --enable-systemtap.
32709 * configure: Regenerated.
32710 * config.h.in (USE_STAP_PROBE): New #undef.
32711 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32712 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32713 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32714
21708942
JM
327152012-05-25 Joseph Myers <joseph@codesourcery.com>
32716
32717 [BZ #13717]
32718 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32719 to 2.4.0 where earlier.
32720 * sysdeps/unix/sysv/linux/configure: Regenerated.
32721 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32722 <kernel-features.h>.
32723 [__ASSUME_32BITUIDS]: Make code unconditional.
32724 [!__ASSUME_32BITUIDS]: Remove conditional code.
32725 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32726 <kernel-features.h>.
32727 [__ASSUME_32BITUIDS]: Make code unconditional.
32728 [!__ASSUME_32BITUIDS]: Remove conditional code.
32729 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32730 [__ASSUME_32BITUIDS]: Make code unconditional.
32731 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32732 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32733 <kernel-features.h>.
32734 [__ASSUME_32BITUIDS]: Make code unconditional.
32735 [!__ASSUME_32BITUIDS]: Remove conditional code.
32736 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32737 <kernel-features.h>.
32738 [__ASSUME_32BITUIDS]: Make code unconditional.
32739 [!__ASSUME_32BITUIDS]: Remove conditional code.
32740 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32741 <kernel-features.h>.
32742 [__ASSUME_32BITUIDS]: Make code unconditional.
32743 [!__ASSUME_32BITUIDS]: Remove conditional code.
32744 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32745 <kernel-features.h>.
32746 [__ASSUME_32BITUIDS]: Make code unconditional.
32747 [!__ASSUME_32BITUIDS]: Remove conditional code.
32748 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32749 <kernel-features.h>.
32750 [__ASSUME_32BITUIDS]: Make code unconditional.
32751 [!__ASSUME_32BITUIDS]: Remove conditional code.
32752 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32753 <kernel-features.h>.
32754 [__ASSUME_32BITUIDS]: Make code unconditional.
32755 [!__ASSUME_32BITUIDS]: Remove conditional code.
32756 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32757 <kernel-features.h>.
32758 [__ASSUME_32BITUIDS]: Make code unconditional.
32759 [!__ASSUME_32BITUIDS]: Remove conditional code.
32760 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32761 <kernel-features.h>.
32762 [__ASSUME_32BITUIDS]: Make code unconditional.
32763 [!__ASSUME_32BITUIDS]: Remove conditional code.
32764 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32765 <kernel-features.h>.
32766 [__ASSUME_32BITUIDS]: Make code unconditional.
32767 [!__ASSUME_32BITUIDS]: Remove conditional code.
32768 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32769 <kernel-features.h>.
32770 [__ASSUME_32BITUIDS]: Make code unconditional.
32771 [!__ASSUME_32BITUIDS]: Remove conditional code.
32772 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32773 <kernel-features.h>.
32774 [__NR_setresgid] (__setresgid): Do not declare.
32775 [__ASSUME_32BITUIDS]: Make code unconditional.
32776 [!__ASSUME_32BITUIDS]: Remove conditional code.
32777 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32778 <kernel-features.h>.
32779 [__NR_setresuid] (__setresuid): Do not declare.
32780 [__ASSUME_32BITUIDS]: Make code unconditional.
32781 [!__ASSUME_32BITUIDS]: Remove conditional code.
32782 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32783 <kernel-features.h>.
32784 [__ASSUME_32BITUIDS]: Make code unconditional.
32785 [!__ASSUME_32BITUIDS]: Remove conditional code.
32786 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32787 <kernel-features.h>.
32788 [__ASSUME_32BITUIDS]: Make code unconditional.
32789 [!__ASSUME_32BITUIDS]: Remove conditional code.
32790 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32791 <kernel-features.h>.
32792 [__ASSUME_32BITUIDS]: Make code unconditional.
32793 [!__ASSUME_32BITUIDS]: Remove conditional code.
32794 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32795 <kernel-features.h>.
32796 [__ASSUME_32BITUIDS]: Make code unconditional.
32797 [!__ASSUME_32BITUIDS]: Remove conditional code.
32798 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32799 <kernel-features.h>.
32800 [__ASSUME_32BITUIDS]: Make code unconditional.
32801 [!__ASSUME_32BITUIDS]: Remove conditional code.
32802 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32803 <kernel-features.h>.
32804 [__ASSUME_32BITUIDS]: Make code unconditional.
32805 [!__ASSUME_32BITUIDS]: Remove conditional code.
32806 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32807 <kernel-features.h>.
32808 [__ASSUME_32BITUIDS]: Make code unconditional.
32809 [!__ASSUME_32BITUIDS]: Remove conditional code.
32810 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32811 <kernel-features.h>.
32812 [__ASSUME_32BITUIDS]: Make code unconditional.
32813 [!__ASSUME_32BITUIDS]: Remove conditional code.
32814 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32815 <kernel-features.h>.
32816 [__ASSUME_32BITUIDS]: Make code unconditional.
32817 [!__ASSUME_32BITUIDS]: Remove conditional code.
32818 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32819 <kernel-features.h>.
32820 [__ASSUME_32BITUIDS]: Make code unconditional.
32821 [!__ASSUME_32BITUIDS]: Remove conditional code.
32822 * sysdeps/unix/sysv/linux/kernel-features.h
32823 (__ASSUME_SETRESUID_SYSCALL): Remove.
32824 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32825 (__ASSUME_32BITUIDS): Likewise.
32826 (__ASSUME_LDT_WORKS): Likewise.
32827 (__ASSUME_O_DIRECTORY): Likewise.
32828 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32829 architecture but not kernel version.
32830 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32831 (__ASSUME_MMAP2_SYSCALL): Likewise.
32832 (__ASSUME_STAT64_SYSCALL): Likewise.
32833 (__ASSUME_IPC64): Likewise.
32834 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32835 <kernel-features.h>.
32836 [__ASSUME_32BITUIDS]: Make code unconditional.
32837 [!__ASSUME_32BITUIDS]: Remove conditional code.
32838 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32839 <kernel-features.h>.
32840 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32841 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32842 132096]: Remove conditional code.
32843 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32844 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32845 <kernel-features.h>.
32846 [__ASSUME_32BITUIDS]: Make code unconditional.
32847 [!__ASSUME_32BITUIDS]: Remove conditional code.
32848 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32849 <kernel-features.h>.
32850 [__ASSUME_32BITUIDS]: Make code unconditional.
32851 [!__ASSUME_32BITUIDS]: Remove conditional code.
32852 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32853 <kernel-features.h>.
32854 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32855 unconditional.
32856 (__setresgid): Do not declare.
32857 [__ASSUME_32BITUIDS]: Make code unconditional.
32858 [!__ASSUME_32BITUIDS]: Remove conditional code.
32859 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32860 <kernel-features.h>.
32861 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32862 unconditional.
32863 (__setresuid): Do not declare.
32864 [__ASSUME_32BITUIDS]: Make code unconditional.
32865 [!__ASSUME_32BITUIDS]: Remove conditional code.
32866 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32867 <kernel-features.h>.
32868 [__ASSUME_32BITUIDS]: Make code unconditional.
32869 [!__ASSUME_32BITUIDS]: Remove conditional code.
32870 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32871 <kernel-features.h>.
32872 [__ASSUME_32BITUIDS]: Make code unconditional.
32873 [!__ASSUME_32BITUIDS]: Remove conditional code.
32874
a386f1cc
RH
328752012-05-25 Richard Henderson <rth@twiddle.net>
32876
32877 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32878 dl_hwcap to ifunc resolver.
32879 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32880 elf_ifunc_invoke.
32881 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32882 dl_hwcap to ifunc resolver.
32883 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32884
b6550497
JM
328852012-05-24 Joseph Myers <joseph@codesourcery.com>
32886
32887 [BZ #14153]
32888 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32889 for |x| <= 2**-26, not 2**-57.
32890 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32891 exception.
32892
b0bc23a1
JL
328932012-05-24 Jeff Law <law@redhat.com>
32894
32895 * stdio-common/Makefile (tests): Add bug25.
32896 * stdio-common/bug25.c: New test.
32897
347c92e9
L
328982012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32899
32900 [BZ #13576]
32901 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32902 multiple of MALLOC_ALIGNMENT in size.
32903 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32904
6bcc8b3f
JM
329052012-05-24 Joseph Myers <joseph@codesourcery.com>
32906
32907 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32908 Require >= 256.
32909 (FILENAME_MAX): Use macro-int-constant.
32910 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32911 (_IOFBF): Use macro-int-constant.
32912 (_IOLBF): Likewise.
32913 (_IONBF): Likewise.
32914 (SEEK_CUR): Likewise.
32915 (SEEK_END): Likewise.
32916 (SEEK_SET): Likewise.
32917 (TMP_MAX): Likewise.
32918 (EOF): Use macro-int-constant. Require < 0.
32919 (NULL): Use macro-constant. Require == 0.
32920 (stdin): Require type to be FILE *.
32921 (stdout): Likewise.
32922 (stderr): Likewise.
32923 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32924 macro-int-constant.
32925 (EXIT_SUCCESS): Likewise.
32926 (NULL): Use macro-constant. Require == 0.
32927 (RAND_MAX): Use macro-int-constant.
32928 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32929 [C99-based standards] (strtof): Require function.
32930 [C99-based standards] (strtold): Likewise.
32931 [C99-based standards] (strtoll): Likewise.
32932 [C99-based standards] (strtoull): Likewise.
32933 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32934 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32935 [ISO || ISO99 || ISO11] (math.h): Likewise.
32936 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32937 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32938 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32939
d18ea0c5
AS
329402012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32941
32942 [BZ #14132]
56d25bb8
AS
32943 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32944 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32945 * intl/dgettext.c (DCGETTEXT): Likewise.
32946 * intl/gettext.c (DCGETTEXT): Likewise.
32947 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32948 * posix/regex_internal.h (gettext): Likewise.
32949 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32950 Remove declaration.
32951 * include/argz.h (__argz_count_internal)
32952 (__argz_stringify_internal): Remove declaration.
32953 (__argz_count, __argz_stringify): Declare hidden proto.
32954 * intl/dcgettext.c: Remove use of INTDEF.
32955 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32956 * string/argz-stringify.c: Likewise.
32957 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32958 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32959 Declare hidden proto.
d18ea0c5
AS
32960 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32961 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32962 Declare hidden proto.
32963 * include/stdio.h (__asprintf_internal): Don't declare.
32964 (__asprintf): Don't define as macro. Declare hidden proto.
32965 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32966 (__fsetlocking): Declare hidden proto.
32967 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32968 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32969 hidden proto.
32970 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32971 (_IO_setlinebuf): Remove use of INTUSE.
32972 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32973 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32974 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32975 Remove declaration.
32976 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32977 (_IO_do_flush): Remove use of INTUSE.
32978 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32979 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32980 (_IO_adjust_column, _IO_least_wmarker)
32981 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32982 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32983 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32984 (_IO_default_doallocate, _IO_wdefault_doallocate)
32985 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32986 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32987 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32988 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32989 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32990 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32991 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32992 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32993 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32994 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32995 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32996 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32997 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32998 proto.
32999 (_IO_flush_all_internal, _IO_adjust_column_internal)
33000 (_IO_default_uflow_internal, _IO_default_finish_internal)
33001 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33002 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33003 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33004 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33005 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33006 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33007 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33008 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33009 (_IO_file_close_internal, _IO_file_close_it_internal)
33010 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33011 (_IO_file_init_internal, _IO_file_attach_internal)
33012 (_IO_file_fopen_internal, _IO_file_read_internal)
33013 (_IO_file_sync_internal, _IO_file_seek_internal)
33014 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33015 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33016 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33017 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33018 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33019 (_IO_list_all_internal, _IO_link_in_internal)
33020 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33021 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33022 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33023 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33024 (_IO_do_write_internal, _IO_padn_internal)
33025 (_IO_getline_info_internal, _IO_getline_internal)
33026 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33027 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33028 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33029 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33030 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33031 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33032 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33033 with libc_hidden_ver, remove use of INTUSE.
33034 * libio/genops.c: Likewise.
33035 * libio/freopen.c: Likewise.
33036 * libio/freopen64.c: Likewise.
33037 * libio/iofclose.c: Likewise.
33038 * libio/iofdopen.c: Likewise.
33039 * libio/iofflush.c: Likewise.
33040 * libio/iofflush_u.c: Likewise.
33041 * libio/iofgets.c: Likewise.
33042 * libio/iofgets_u.c: Likewise.
33043 * libio/iofopen.c: Likewise.
33044 * libio/iofopncook.c: Likewise.
33045 * libio/iofread.c: Likewise.
33046 * libio/iofread_u.c: Likewise.
33047 * libio/ioftell.c: Likewise.
33048 * libio/iofwrite.c: Likewise.
33049 * libio/iogetline.c: Likewise.
33050 * libio/iogets.c: Likewise.
33051 * libio/iogetwline.c: Likewise.
33052 * libio/iopadn.c: Likewise.
33053 * libio/iopopen.c: Likewise.
33054 * libio/ioseekoff.c: Likewise.
33055 * libio/ioseekpos.c: Likewise.
33056 * libio/iosetbuffer.c: Likewise.
33057 * libio/iosetvbuf.c: Likewise.
33058 * libio/ioungetc.c: Likewise.
33059 * libio/ioungetwc.c: Likewise.
33060 * libio/iovdprintf.c: Likewise.
33061 * libio/iovsprintf.c: Likewise.
33062 * libio/iovsscanf.c: Likewise.
33063 * libio/memstream.c: Likewise.
33064 * libio/obprintf.c: Likewise.
33065 * libio/oldfileops.c: Likewise.
33066 * libio/oldiofclose.c: Likewise.
33067 * libio/oldiofdopen.c: Likewise.
33068 * libio/oldiofopen.c: Likewise.
33069 * libio/oldiopopen.c: Likewise.
33070 * libio/oldstdfiles.c: Likewise.
33071 * libio/putc.c: Likewise.
33072 * libio/setbuf.c: Likewise.
33073 * libio/setlinebuf.c: Likewise.
33074 * libio/stdfiles.c: Likewise.
33075 * libio/strops.c: Likewise.
33076 * libio/vasprintf.c: Likewise.
33077 * libio/vscanf.c: Likewise.
33078 * libio/vsnprintf.c: Likewise.
33079 * libio/vswprintf.c: Likewise.
33080 * libio/wfiledoalloc.c: Likewise.
33081 * libio/wfileops.c: Likewise.
33082 * libio/wgenops.c: Likewise.
33083 * libio/wmemstream.c: Likewise.
33084 * libio/wstrops.c: Likewise.
33085 * libio/__fpurge.c: Likewise.
33086 * libio/__fsetlocking.c: Likewise.
33087 * assert/assert.c: Likewise.
33088 * debug/fgets_chk.c: Likewise.
33089 * debug/fgets_u_chk.c: Likewise.
33090 * debug/fread_chk.c: Likewise.
33091 * debug/fread_u_chk.c: Likewise.
33092 * debug/gets_chk.c: Likewise.
33093 * debug/obprintf_chk.c: Likewise.
33094 * debug/vasprintf_chk.c: Likewise.
33095 * debug/vdprintf_chk.c: Likewise.
33096 * debug/vsnprintf_chk.c: Likewise.
33097 * debug/vsprintf_chk.c: Likewise.
33098 * malloc/mtrace.c: Likewise.
33099 * misc/error.c: Likewise.
33100 * misc/syslog.c: Likewise.
33101 * stdio-common/asprintf.c: Likewise.
33102 * stdio-common/fxprintf.c: Likewise.
33103 * stdio-common/getw.c: Likewise.
33104 * stdio-common/isoc99_fscanf.c: Likewise.
33105 * stdio-common/isoc99_scanf.c: Likewise.
33106 * stdio-common/isoc99_vfscanf.c: Likewise.
33107 * stdio-common/isoc99_vscanf.c: Likewise.
33108 * stdio-common/isoc99_vsscanf.c: Likewise.
33109 * stdio-common/printf-prs.c: Likewise.
33110 * stdio-common/printf_fp.c: Likewise.
33111 * stdio-common/printf_fphex.c: Likewise.
33112 * stdio-common/printf_size.c: Likewise.
33113 * stdio-common/putw.c: Likewise.
33114 * stdio-common/scanf.c: Likewise.
33115 * stdio-common/sprintf.c: Likewise.
33116 * stdio-common/tmpfile.c: Likewise.
33117 * stdio-common/vfprintf.c: Likewise.
33118 * stdio-common/vfscanf.c: Likewise.
33119 * stdlib/strfmon_l.c: Likewise.
33120 * sunrpc/openchild.c: Likewise.
33121 * sunrpc/xdr_stdio.c: Likewise.
33122 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33123 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33124
d6c33fda
RM
331252012-05-24 Roland McGrath <roland@hack.frob.com>
33126
c1487492
RM
33127 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33128
33129 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33130 in the third column, to generate for the shared library an IFUNC
33131 that uses _dl_vdso_vsym.
33132 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33133 * Makeconfig (object-suffixes-noshared): New variable.
33134
33135 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33136 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33137 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33138 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33139
d6c33fda
RM
33140 [BZ #14132]
33141 * include/sys/time.h (__gettimeofday): Remove macro.
33142 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33143 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33144 Remove INTDEF.
33145 (__gettimeofday): Add libc_hidden_def.
33146 (gettimeofday): Add libc_hidden_weak.
33147 * sysdeps/mach/gettimeofday.c: Likewise.
33148 * sysdeps/posix/gettimeofday.c: Likewise.
33149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33150 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33152 (__gettimeofday_internal): Remove strong_alias.
33153 (__gettimeofday): Add libc_hidden_def.
33154 (gettimeofday): Add libc_hidden_weak.
33155 * sysdeps/unix/syscalls.list (gettimeofday):
33156 Remove __gettimeofday_internal alias.
33157
b5a2bbe6
L
331582012-05-24 Daniel Jacobowitz <drow@false.org>
33159 H.J. Lu <hongjiu.lu@intel.com>
33160
33161 [BZ #12495]
33162 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33163 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33164 (largebin_index_32_big): New.
33165 (largebin_index): Use it for 16-byte alignment.
33166 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33167 correction with front_misalign.
33168
cfba4fda
L
331692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33170
7f907421
L
33171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33173 Likewise.
33174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33175 Likewise.
33176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33177 Likewise.
33178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33179 Likewise.
33180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33181 Likewise.
33182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33183 Likewise.
33184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33185 Likewise.
33186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33187 Likewise.
33188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33189 Likewise.
33190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33191 Likewise.
33192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33193 Likewise.
33194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33195 Likewise.
33196
cfba4fda
L
33197 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33198 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33199
80bad0cc
JM
332002012-05-24 Joseph Myers <joseph@codesourcery.com>
33201
7a25eb06
JM
33202 [BZ #10846]
33203 [BZ #14036]
33204 * math/libm-test.inc (exp_test): Add test from bug 14036.
33205 (pow_test): Add test from bug 10846.
33206
795405f9
JM
33207 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33208 and other flags.
33209 (special_function): Do not include flags in test name.
33210 (parse_args): Likewise.
33211 * sysdeps/i386/fpu/libm-test-ulps: Update.
33212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33213 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33214 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33216
80bad0cc
JM
33217 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33218 exceptions.
33219 * math/libm-test.inc ("Philosophy"): Update comment about
33220 exception testing.
33221 (UNDERFLOW_EXCEPTION): New macro.
33222 (UNDERFLOW_EXCEPTION_OK): Likewise.
33223 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33224 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33225 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33226 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33227 (INVALID_EXCEPTION_OK): Update value.
33228 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33229 (OVERFLOW_EXCEPTION_OK): Likewise.
33230 (IGNORE_ZERO_INF_SIGN): Likewise.
33231 (test_exceptions): Handle underflow exceptions.
33232 (acos_test): Update for underflow exception expectations.
33233 (cexp_test): Likewise.
33234 (clog_test): Likewise.
33235 (clog10_test): Likewise.
33236 (csqrt_test): Likewise.
33237 (ctan_test): Likewise.
33238 (ctanh_test): Likewise.
33239 (exp_test): Likewise.
33240 (exp10_test): Likewise.
33241 (exp2_test): Likewise.
33242 (expm1_test): Likewise.
33243 (fma_test): Likewise.
33244 (j0_test): Likewise.
33245 (jn_test): Likewise.
33246 (nexttoward_test): Likewise.
33247 (pow_test): Likewise.
33248 (scalbn_test): Likewise.
33249 (scalbln_test): Likewise.
33250 (tan_test): Likewise.
33251 (y1_test): Likewise.
33252 * sysdeps/i386/fpu/libm-test-ulps: Update.
33253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33254
9e0e3d0b
DM
332552012-05-23 David S. Miller <davem@davemloft.net>
33256
33257 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33258 (__libc_sigaction): Remove unused local variables.
33259
ccd0a08f
L
332602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33261
33262 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33263
62bdf9a6
PE
332642012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33265
f8591f80
PE
33266 mktime: avoid signed integer overflow
33267 * time/mktime.c (__mktime_internal): Do not mishandle the case
33268 where diff == INT_MIN.
33269
94c7d826
PE
33270 mktime: simplify computation of average
33271 * time/mktime.c (ranged_convert): Use new time_t_avg function
33272 instead of rolling our own (probably-slower) code.
33273
ce73d683
PE
33274 mktime: do not assume signed right shift propagates sign bit
33275 * time/mktime.c (isdst_differ): New static function.
33276 (__mktime_internal): No need to normalize tm_isdst now.
33277 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33278 tm_isdst values.
33279
72a22e59
PE
33280 mktime: merge another wrapv change from gnulib
33281 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33282 from some compilers.
33283
68605433
PE
33284 mktime: remove incorrect attempt at unusual arithmetics
33285 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33286 The code didn't really work on such machines anyway.
33287 (TYPE_MINIMUM): Assume two's complement.
33288 (twos_complement_arithmetic): Verify that long_int and time_t
33289 are two's complement (or unsigned, in the latter case).
33290
03cf7fe3
PE
33291 mktime: check signed shifts on long_int and time_t, too
33292 * time/mktime.c (SHR): Check that shifts work as desired
33293 on the types long_int and time_t too, as SHR is used on
33294 such types.
33295
f04dfbc2
PE
33296 mktime: do not assume 'long' is wide enough
33297 * time/mktime.c (verify): Move decl up.
33298 (long_int): New type.
33299 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33300 to remove assumption in the code that 'long' is wide enough to
33301 store year values. This assumption is not true on x32 and on
33302 some non-glibc platforms.
33303
62bdf9a6
PE
33304 mktime: merge wrapv change from gnulib
33305 * time/mktime.c (WRAPV): New macro.
33306 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33307 (guess_time_tm, __mktime_internal): Do not assume that signed
33308 integer overflow wraps around; modern compilers generate code
33309 where this assumption is no longer valid.
33310
5e292e4f
L
333112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33312
33313 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33314 Replace "jmp L(pseudo_end)" with "ret".
33315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33316 Likewise.
33317
8caf8c87
AJ
333182012-05-23 Andreas Jaeger <aj@suse.de>
33319
33320 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33321 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33322
1a09dc56
AJ
333232012-05-23 Andreas Jaeger <aj@suse.de>
33324 Maximilian Attems <max@stro.at>
33325
33326 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33327 New macros.
33328
1c87aba0
L
333292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33330
33331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33332 code so that pseudo_end is just ret and the stack pointer is
33333 correct also for static library in error case.
33334
40e45bd5
JM
333352012-05-23 Joseph Myers <joseph@codesourcery.com>
33336
c2670533
JM
33337 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33338 move to syscalls.list.
33339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33343
40e45bd5
JM
33344 * manual/install.texi (Running make install): Do not mention Linux
33345 kernel version for which pt_chown is not needed.
33346 (Linux): Do not mention problems with nscd with 2.0 kernels.
33347 * INSTALL: Regenerated.
33348
be08eda5
AJ
333492012-05-23 Andreas Jaeger <aj@suse.de>
33350
33351 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33352 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33353 macro.
33354 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33356 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33357 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33358 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33359 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33360 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33362 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33364 * sysdeps/unix/sysv/linux/bits/in.h
33365 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33366
a6a056bb
RM
333672012-05-22 Roland McGrath <roland@hack.frob.com>
33368
33369 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33370 (PREPARE_VERSION): Just use assert instead, it will be elided
33371 under [NDEBUG] anyway.
33372
c9009328
L
333732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33374
33375 * sysdeps/unix/sysv/linux/Makefile: Include
33376 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33377 (sysdep_routines): Remove sysctl.
c9009328
L
33378 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33379 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33380 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33381 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33382 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33383
73338355
AJ
333842012-05-22 Andreas Jaeger <aj@suse.de>
33385
33386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33387 that pseudo_end is just ret and the stack pointer is correct also
33388 for static library in error case.
33389
d44638b0
PP
333902012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33391
33392 [BZ #14122]
33393 * nss/nsswitch.c (defconfig_entries): New variable.
33394 (__nss_database_lookup): Don't leak defconfig entries.
33395 (nss_parse_service_list): Don't leak on error paths.
33396 (free_database_entries): New function.
33397 (free_defconfig): New function.
33398 (free_mem): Move common code to free_database_entries.
33399
31a39bd8
L
334002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33401
da0331a8
L
33402 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33403 Add arch_prctl.
33404 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33405
31a39bd8
L
33406 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33407 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33409 New macro.
33410 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33411 (INTERNAL_SYSCALL_TYPES): Likewise.
33412 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33413 (LOAD_REGS_TYPES_[1-6]): Likewise.
33414 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33415 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33416
45470df3
AZ
334172012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33418
33419 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33420 copysignl for GLIBC_2_0.
33421 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33422 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33424 logbl for GLIBC_2_0.
33425 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33426 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33427
98a61bcb
L
334282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33429
a4f6e481
L
33430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33431 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33432
f63d5db6
L
33433 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33434 Use "neg %eax".
33435
98a61bcb
L
33436 * time/mktime.c: Update copyright years.
33437
95770f14
PE
334382012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33439
6226efbd
PE
33440 mktime: merge comment-quoting-style change from gnulib
33441 * time/mktime.c: Quote 'like this' in comments.
33442 The GNU coding standards suggest that we no longer quote `like this',
33443 as "`" and "'" are typically rendered asymmetrically nowadays.
33444 The typical gnulib style is to quote 'like this' when quoting
33445 code, and "like this" when quoting English.
33446
b99e4f78
PE
33447 * time/mktime.c (compile-command): Add "-I.".
33448
643e01e6
PE
33449 mktime: merge mktime-internal.h change from gnulib
33450 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33451
2554247d
PE
33452 mktime: merge time_r change from gnulib
33453 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33454
826dd0ab
PE
33455 mktime: merge DEBUG change from gnulib
33456 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33457 case system <time.h> has a #define.
33458
bd83aabe
PE
33459 mktime: merge <sys/types.h> change from gnulib
33460 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33461 since <time.t> is now guaranteed to define time_t.
33462
95770f14
PE
33463 mktime: merge HAVE_CONFIG_H change from gnulib
33464 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33465
5e1a27a9
L
334662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33467
0e44a77e
L
33468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33469 Use "neg %eax".
33470
5e1a27a9
L
33471 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33472 __rlim_t cast.
33473 (struct rusage): Use anonymous union to pad each field to
33474 __syscall_slong_t.
33475
46259bec
DM
334762012-05-21 David S. Miller <davem@davemloft.net>
33477
33478 * Makefules (o-iterator): Remove .s cases.
33479 (compile-command.s): Delete.
33480 (COMPILE.s): Delete.
33481 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33482
59f0c22e
JM
334832012-05-21 Joseph Myers <joseph@codesourcery.com>
33484
33485 * configure.in (libc_cv_predef_stack_protector): Only consider
33486 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33487 * configure: Regenerated.
33488
20c07380
L
334892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33490
bbb3154b
L
33491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33492 New macro. Use R*LP on int and pointer.
33493 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33494 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33495 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33496 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33497
20c07380
L
33498 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33499 [__WORDSIZE_TIME64_COMPAT32] instead of
33500 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33501 (struct utmp): Likewise.
33502 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33503 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33504 Renamed to ...
33505 (__WORDSIZE_TIME64_COMPAT32): This.
33506 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33507 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33508 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33509 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33510 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33511 (__WORDSIZE_TIME64_COMPAT32): New macro.
33512
d8d1017e
AJ
335132012-05-21 Andreas Jaeger <aj@suse.de>
33514
33515 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33516 only if [SHARED]. Add prototype for __wcschr_ia32.
33517
6c7fb145
RM
335182012-05-21 Roland McGrath <roland@hack.frob.com>
33519
33520 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33521 of %rbp unmolested in the jmp_buf while mangling the low bits.
33522 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33523 unmolested high bits of %rbp while demangling the low bits.
33524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33525
66274218
AJ
335262012-05-21 Andreas Jaeger <aj@suse.de>
33527
07c58f8f
AJ
33528 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33529 * sunrpc/svc_simple.c: Use it for registerrpc.
33530 * sunrpc/xcrypt.c: Use it for passwd2des.
33531
66274218
AJ
33532 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33533
61f65140
L
335342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33535
33536 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33537 Don't define if [__SYSCALL_WORDSIZE != 32].
33538 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33539 New macro.
33540
5fefb436
AJ
335412012-05-21 Bruno Haible <bruno@clisp.org>
33542 Andreas Jaeger <aj@suse.de>
33543
33544 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33545 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33546 inptr and inend for must_buffer_ch.
33547 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33548 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33549 * stdio-common/Makefile (tests): Remove bug15.
33550 (bug15-ENV): Remove macro.
33551 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33552 anymore.
33553
d8e272ab
AJ
335542012-05-19 Andreas Jaeger <aj@suse.de>
33555 Roland McGrath <roland@hack.frob.com>
33556
33557 * manual/contrib.texi: Completely rewritten. It contains now an
33558 alphabetical list of contributors and their contributions.
33559
4a56a162
RH
335602012-05-21 Richard Henderson <rth@twiddle.net>
33561
33562 * misc/getauxval.c (__getauxval): Use unsigned long int.
33563 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33564 (getauxval): Use unsigned long int.
33565
d024d23c
L
335662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33567
33568 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33569
cbc00a03
RM
335702012-05-21 Roland McGrath <roland@hack.frob.com>
33571
33572 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33573 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33574 __alignof__ (long double).
33575
478143fa
AZ
335762012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33577
33578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33579
c7683a6d
RH
335802012-05-20 Richard Henderson <rth@twiddle.net>
33581
33582 * misc/getauxval.c: New file.
33583 * misc/sys/auxv.h: New file.
33584 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33585 (routines): Add getauxval.
33586 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33587 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33588 * elf/dl-sysdep.c (_dl_auxv): Remove.
33589 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33590 * elf/dl-support.c (_dl_auxv): New variable.
33591 (_dl_aux_init): Initialize it.
33592 * manual/startup.texi (Auxiliary Vector): New node.
33593 * sysdeps/generic/bits/hwcap.h: New file.
33594 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33595 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33596 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33597 * sysdeps/sparc/sysdep.h: ... here. Include it.
33598 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33599 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33601 Update.
c7683a6d
RH
33602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33605 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33610
a6f1845d
AZ
336112012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33612
33613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33614
cbcbe830
DM
336152012-05-19 David S. Miller <davem@davemloft.net>
33616
33617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33618
e0b16cc2
JM
336192012-05-19 Joseph Myers <joseph@codesourcery.com>
33620
33621 [BZ #14123]
33622 * math/s_ccosh.c: Include <float.h>
33623 (__ccosh): Avoid internal overflow calculating sinh and cosh
33624 values before multiplying by sin and cos values.
33625 * math/s_ccoshf.c: Likewise.
33626 * math/s_ccoshl.c: Likewise.
33627 * math/s_csin.c: Likewise.
33628 * math/s_csinf.c: Likewise.
33629 * math/s_csinl.c: Likewise.
33630 * math/s_csinh.c: Likewise.
33631 * math/s_csinhf.c: Likewise.
33632 * math/s_csinhl.c: Likewise.
33633 * math/libm-test.inc (ccos_test): Add more tests.
33634 (ccosh_test): Likewise.
33635 (csin_test): Likewise.
33636 (csinh_test): Likewise.
33637 * sysdeps/i386/fpu/libm-test-ulps: Update.
33638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33639
6ad13e08
L
336402012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33641
f66f0ce8
L
33642 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33643 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33644
6ad13e08
L
33645 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33646
b1d072a7
JM
336472012-05-19 Joseph Myers <joseph@codesourcery.com>
33648
33649 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33650 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33651 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33652 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33653 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33654 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33655 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33656 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33657 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33658 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33659 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33660 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33661 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33662 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33663 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33664 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33665 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33666 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33667 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33668 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33669 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33670 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33671 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33672 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33673 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33674 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33675 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33676 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33677 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33678 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33679 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33680
9eae47cb
AJ
336812012-05-18 Andreas Jaeger <aj@suse.de>
33682
33683 * csu/.gitignore: Delete.
33684
bb07f69f
L
336852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33686
33687 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33688 (timex): Use __syscall_slong_t.
33689
e6bdb741
AJ
336902012-05-18 Andreas Jaeger <aj@suse.de>
33691 Carlos O'Donell <carlos_odonell@mentor.com>
33692
33693 * manual/install.texi (Configuring and compiling): Update
33694 description about files modified in the source directory.
d6c33fda 33695 * INSTALL: Regenerated.
e6bdb741 33696
1b74487e
L
336972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33698
33699 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33700 value. Use "or" to set return value to -1.
33701 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33702 negate return value.
33703
a88b64b9
TMQMF
337042012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33705
57f41c40
AS
33706 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33707 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33708 failure if the compiler has Graphite support disabled.
33709 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33710 Likewise.
57f41c40
AS
33711 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33712 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33714 Likewise.
33715
3707636e
L
337162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33717
610b8622
L
33718 * sysdeps/x86_64/x32/_itoa.h: New file.
33719
7cd195df
L
33720 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33721 getdents system call only if kernel and user dirents have the
33722 same d_ino and d_off.
33723
94b07d20
L
33724 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33725 LLONG_MAX != LONG_MAX.
33726 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33727 (_fitoa_word): Likewise.
33728
18298070
L
33729 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33730 years.
33731 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33732 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33733 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33734
553c7ea4
L
33735 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33736 include <bits/wordsize.h>. Check __x86_64__ instead of
33737 __WORDSIZE.
33738 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33739 if __x86_64__ is defined. Use anonymous union on fpstate.
33740
3707636e
L
33741 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33742 anonymous union.
33743
b53ef01a
AS
337442012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33745
37fb1dc0
AS
33746 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33747 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33748 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33749 Refer to _rtld_local_ro instead of _rtld_global_ro.
33750 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33751 Likewise.
33752 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33753 Likewise.
33754 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33755 Likewise.
33756 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33757 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33758 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33759
b53ef01a
AS
33760 * sysdeps/powerpc/powerpc32/dl-machine.c
33761 (__elf_machine_runtime_setup) [PROF]: Don't reference
33762 _dl_prof_resolve.
33763
7a185db2
AJ
337642012-05-18 Andreas Jaeger <aj@suse.de>
33765
33766 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33767 function only available for GCCs before 3.4 since GCC 3.4
33768 introduced a builtin.
33769 (lrint): Likewise.
33770 (llrintf): Likewise.
33771 (llrint): Likewise.
33772 (fmaxf): Likewise.
33773 (fmax): Likewise.
33774 (fminf): Likewise.
33775 (fmin): Likewise.
33776 (rint): Likewise.
33777 (rintf): Likewise.
33778 (nearbyint): Likewise.
33779 (nearbyintf): Likewise.
33780 (ceil): Likewise.
33781 (ceilf): Likewise.
33782 (floor): Likewise.
33783 (floorf): Likewise.
33784
3e5aef87
L
337852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33786
428bd707
L
33787 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33788 on both fields and cast pointer to __syscall_ulong_t.
33789
3e5aef87
L
33790 * bits/types.h (__fsword_t): New type.
33791 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33792 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33794 (__FSWORD_T_TYPE): Likewise.
33795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33796 (__FSWORD_T_TYPE): Likewise.
33797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33798 (__FSWORD_T_TYPE): Likewise.
33799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33800 (__FSWORD_T_TYPE): Likewise.
33801 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33802 __SWORD_TYPE with __fsword_t.
33803 (statfs64): Likewise.
33804
1ba7c3dc
DM
338052012-05-17 David S. Miller <davem@davemloft.net>
33806
33807 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33808
59910343
AJ
338092012-05-17 Andreas Jaeger <aj@suse.de>
33810
33811 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33812 warning.
33813
2e4c1e9e
L
338142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33815
33816 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33817
de7f5ce7
AJ
338182012-05-17 Andreas Jaeger <aj@suse.de>
33819
33820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33821 when it is used.
33822
286abc3d
CM
338232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33824
33825 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33826
477cc68e
L
338272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33828
33829 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33830 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33831
1a0994f5
CD
338322012-05-17 Andreas Jaeger <aj@suse.de>
33833 Carlos O'Donell <carlos_odonell@mentor.com>
33834
33835 [BZ #14059]
33836 * sysdeps/x86_64/multiarch/init-arch.h
33837 (bit_YMM_Usable): Rename to...
33838 (bit_AVX_Usable): ... this.
33839 (bit_FMA4_Usable): New macro.
33840 (bit_XMM_state): New macro.
33841 (bit_YMM_state): New macro.
33842 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33843 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33844 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33845 (CPUID_OSXSAVE): New macro.
33846 (CPUID_AVX): New macro.
33847 (CPUID_FMA4): New macro.
33848 (index_YMM_Usable): Rename to...
33849 (index_AVX_Usable): ... this.
33850 (HAS_AVX): Use HAS_ARCH_FEATURE.
33851 (HAS_FMA4): Likewise.
33852 (HAS_YMM_USABLE): Remove.
33853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33854 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33855 are present.
33856 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33857 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33858 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33859 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33860 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33861
0af797de
CM
338622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33863
33864 * math/libm-test.c: Support platforms without multiple rounding modes.
33865 * math/bug-nextafter.c: Support platforms without FP exceptions.
33866 * math/bug-nexttoward.c: Likewise.
33867 * math/test-fenv.c: Likewise.
33868 * math/test-misc.c: Likewise.
33869 * stdlib/bug-getcontext.c: Likewise.
33870
e39745ff
AJ
338712012-05-17 Andreas Jaeger <aj@suse.de>
33872
33873 * manual/examples/search.c (critter_cmp): Change signature to
33874 avoid warnings.
33875 * manual/string.texi (Collation Functions): Likewise.
33876
48970aba
L
338772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33878
33879 * bits/types.h: Fold copyright years.
33880 * bits/typesizes.h: Likewise.
33881 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33885 * time/time.h: Likewise.
33886
bedee953
PP
338872012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33888
33889 [BZ #208]
33890 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33891 in instead of returning them. Return void.
33892 (__libc_mallinfo): Accumulate over all arenas.
33893 (__malloc_stats): Adjust for change in int_mallinfo interface.
33894
61653dfb
RM
338952012-05-16 Roland McGrath <roland@hack.frob.com>
33896
30b99d79
RM
33897 [BZ #10375]
33898 * configure.in (NM): Add AC_CHECK_TOOL for it.
33899 (libc_extra_cflags): New substituted variable.
33900 Check for -fstack-protector being used implicitly.
33901 * configure: Regenerated.
33902 * config.make.in (config-extra-cflags): New variable,
33903 gets @libc_extra_cflags@.
33904 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33905
61653dfb
RM
33906 [BZ #10375]
33907 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33908 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33909 * configure: Regenerated.
33910 * config.make.in (CPPUNDEFS): New substituted variable.
33911 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33912 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33913 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33914
661768bb
L
339152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33916
33917 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33918 (mq_attr): Use __syscall_slong_t.
33919
d4261567
L
339202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33921
33922 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33923 Check __x86_64__ instead of __WORDSIZE.
33924 (_STAT_VER_LINUX): Likewise.
33925 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33926 __syscall_ulong_t and __syscall_slong_t.
33927 (stat64): Likewise.
33928
cf3ff365
L
339292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33930
33931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33932
76cf3e4d
L
339332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33934
33935 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33936
a637753a
L
339372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33938
33939 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33940 __syscall_ulong_t.
33941
d5e05119
L
33942 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33943 include <bits/wordsize.h>. Check __x86_64__ instead of
33944 __WORDSIZE.
33945 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33946 defined.
33947 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33948
f62ee380
L
33949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33950 include <bits/wordsize.h>. Check __x86_64__ instead of
33951 __WORDSIZE.
33952 (user_regs_struct): Use "__extension__ unsigned long long"
33953 instead of "unsigned long" if __x86_64__ is defined.
33954 (user): Likewise. Pad after pointer field if __ILP32__ is
33955 defined.
33956
4e124ced
JM
339572012-05-16 Joseph Myers <joseph@codesourcery.com>
33958
6a3951a0
JM
33959 * configure.in (makeinfo): Require version 4.5 or later. Allow
33960 versions 5 to 9.
33961 * configure: Regenerated.
33962 * manual/install.texi (texinfo): Increase version requirement to
33963 4.5 or later.
33964 * INSTALL: Regenerated.
33965
4e124ced
JM
33966 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33967
953ca31a
L
339682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33969
33970 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33971
617aca05
L
33972 * sysdeps/x86_64/x32/ffs.c: New file.
33973
5762f7ae
L
33974 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33975 __syscall_ulong_t.
33976 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33977 defined. Use __syscall_ulong_t.
33978 (shminfo): Use __syscall_ulong_t.
33979 (shm_info): Likewise.
33980
a26b6856
L
33981 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33982 __syscall_ulong_t.
33983
cb2b9ef7
L
33984 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33985 <bits/wordsize.h>.
33986 (msgqnum_t): Use __syscall_ulong_t.
33987 (msglen_t): Likewise.
33988 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33989 __syscall_ulong_t.
33990
34683bb0
L
33991 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33992 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33993
84a68786
L
33994 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33995
48baa5f1
L
33996 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33997 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33998
180be88b
L
33999 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34000 __syscall_slong_t.
34001
5e90c8ad
L
34002 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34003 include <bits/wordsize.h>. Check __x86_64__ instead of
34004 __WORDSIZE.
34005
23dfb58b
L
34006 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34007 "unsigned long long int" if __x86_64__ is defined.
34008 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34009
ce5d54b0
L
34010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34011 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34012 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34013
13dc9eac
L
34014 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34015 <stdint.h>.
34016 (GET_PC): Cast to uintptr_t first.
34017 (GET_FRAME): Likewise.
34018 (GET_STACK): Likewise.
34019
a7895d15
L
34020 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34021 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34022 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34023 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34024 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34025 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34026 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34027 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34028 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34029 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34030 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34031 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34032 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34033 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34034 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34035 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34036 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34037 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34038 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34039 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34040 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34041 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34042 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34043 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34044 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34045 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34046 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34048 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34049
656416c9
AS
340502012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34051
5bd66283
AS
34052 * Makerules (+depfiles): Also collect depfiles from .oS in
34053 $(extra-objs).
34054 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34055 .oS, $(libnldbl-routines)).
34056
656416c9
AS
34057 * Makerules (native-compile-mkdep-flags): Define.
34058 * sunrpc/Makefile (extra-objs): Add $(addprefix
34059 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34060 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34061 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34062 calling $(make-target-directory).
34063
a46f2169
L
340642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34065
34066 * bits/types.h (__snseconds_t): Removed.
34067 * time/time.h (struct timespec): Replace __snseconds_t with
34068 __syscall_slong_t.
34069 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34070 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34071 Likewise.
34072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34073 (__SNSECONDS_T_TYPE): Likewise.
34074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34075 (__SNSECONDS_T_TYPE): Likewise.
34076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34077 (__SNSECONDS_T_TYPE): Likewise.
34078
6af6528b
L
340792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34080
34081 * sysdeps/mach/hurd/bits/typesizes.h
34082 (__SYSCALL_SLONG_TYPE): New macro.
34083 (__SYSCALL_ULONG_TYPE): Likewise.
34084
de986b56
L
340852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34086
34087 * bits/types.h (__syscall_slong_t): New type.
34088 (__syscall_ulong_t): Likewise.
34089
34090 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34091 (__SYSCALL_ULONG_TYPE): Likewise.
34092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34093 (__SYSCALL_SLONG_TYPE): Likewise.
34094 (__SYSCALL_ULONG_TYPE): Likewise.
34095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34096 (__SYSCALL_SLONG_TYPE): Likewise.
34097 (__SYSCALL_ULONG_TYPE): Likewise.
34098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34099 (__SYSCALL_SLONG_TYPE): Likewise.
34100 (__SYSCALL_ULONG_TYPE): Likewise.
34101
85736dc7
L
341022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34103
34104 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34105 Add sigaltstack-offsets.sym.
34106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34107 <sigaltstack-offsets.h>.
34108 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34109 longjmp_msg pointer.
34110 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34111 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34112 signal stack.
34113 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34114
cc03b296
JM
341152012-05-15 Joseph Myers <joseph@codesourcery.com>
34116
a9538892
JM
34117 * elf/stackguard-macros.h: Remove file.
34118 * sysdeps/generic/stackguard-macros.h: New file.
34119 * sysdeps/i386/stackguard-macros.h: Likewise.
34120 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34121 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34122 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34123 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34124 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34125 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34126 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34127 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34128 <elf/stackguard-macros.h>.
34129
cc03b296
JM
34130 [BZ #14109]
34131 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34132 __aligned__ in attribute.
34133 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34134 (gregset_t): Likewise.
34135
93171016
L
341362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34137
34138 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34139 * sysdeps/x86_64/64/Implies-after: Here. New file.
34140 * sysdeps/x86_64/x32/Implies-after: New file.
34141
d86813a0
L
341422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34145 and access return value for _dl_profile_fixup. Use R10_LP to
34146 load frame size.
34147
2953ec75
L
341482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34149
34150 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34151
3b550e9e
L
341522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34153
34154 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34155 * sysdeps/x86_64/x32/sysdep.h: New file.
34156
eda41706
L
341572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34158
34159 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34160 * sysdeps/x86_64/setjmp.S: Likewise.
34161
9ea01d93
AZ
341622012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34163
34164 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34165 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34166 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34167 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34168 remove unused global constant.
34169
02a91938
CM
341702012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34171
34172 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34173 include of <not-cancel.h>.
34174
6540185f
RM
341752012-05-15 Roland McGrath <roland@hack.frob.com>
34176
34177 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34178
509072a0
AJ
341792012-05-15 Jeff Law <law@redhat.com>
34180 Andreas Jaeger <aj@suse.de>
34181
34182 [BZ #13594]
34183 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34184 out from...
34185 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34186 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34187 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34188 code changing __hst_map_handle.map.
34189
ba75122d
RM
341902012-05-15 Roland McGrath <roland@hack.frob.com>
34191
34192 * configure.in (sysnames): Look for Implies-before and Implies-after
34193 files.
34194 * configure: Regenerated.
34195
890d8bd8
L
341962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34197
34198 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34199 8-byte data alignment with LP_SIZE alignment.
34200
f6ee6623
L
342012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34202
34203 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34204 into R10_LP.
34205
ea2626f6
L
342062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34207
34208 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34209
085f715e
L
342102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34211
34212 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34213 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34214 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34215 Likewise.
34216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34217
be8498fc
L
342182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34219
34220 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34221 (stackinfo_sub_sp): Likewise.
34222
70bc83b9
L
342232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34224
34225 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34226 RAX_LP.
34227
9bc0b730
L
342282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34229
34230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34231 into R*_LP.
34232
6d2850e7
L
342332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34234
34235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34236 sizes into R*_LP.
34237
3cb84561
L
342382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34239
34240 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34241
54e2ed81
L
342422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34243
34244 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34245 into R11_LP and load __x86_64_shared_cache_size_half into
34246 R8_LP.
34247
8a17f349
L
342482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34249
34250 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34251 R8_LP.
34252
777b1eea
AZ
342532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34254
34255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34256 logb for POWER7.
34257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34258 logbf for POWER7.
34259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34260 logbl for POWER7.
34261 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34262 powerpc32/power7/fpu/s_logb.c via #include.
34263 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34264 powerpc32/power7/fpu/s_logbf.c via #include.
34265 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34266 powerpc32/power7/fpu/s_logbl.c via #include.
34267
d20d4ac2
JM
342682012-05-15 Joseph Myers <joseph@codesourcery.com>
34269
34270 * README.libm: Remove file.
34271
6cdef1ab
L
342722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34273
34274 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34275 count for x32. Use R*_LP and omit operand-size suffix.
34276
0b254d8f
L
342772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34278
34279 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34280 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34281 * sysdeps/x86_64/x32/shlib-versions: New file.
34282
ceb809dc
RM
342832012-05-14 Roland McGrath <roland@hack.frob.com>
34284
34285 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34286 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34287 Use _dl_fatal_printf instead.
34288
37f1abd4
JM
342892012-05-14 Joseph Myers <joseph@codesourcery.com>
34290
34291 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34292 set if not set by the user. Do not allow for being unset.
34293 * sysdeps/unix/sysv/linux/configure: Regenerated.
34294
11de3a33
L
342952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34296
34297 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34298 the `q' suffix from lea and replace .quad with ASM_ADDR.
34299
e02f153a
L
343002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34301
34302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34303 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34304 instead of $17.
34305 (PTR_DEMANGLE): Likewise.
34306
520ae0fd
L
343072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34308
34309 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34310 (LP_OP): Likewise.
34311 (ASM_ADDR): Likewise.
34312 (RAX_LP): Likewise.
34313 (RBP_LP): Likewise.
34314 (RBX_LP): Likewise.
34315 (RCX_LP): Likewise.
34316 (RDI_LP): Likewise.
34317 (RSI_LP): Likewise.
34318 (RSP_LP): Likewise.
34319 (R8_LP): Likewise.
34320 (R9_LP): Likewise.
34321 (R10_LP): Likewise.
34322 (R10_LP): Likewise.
34323 (R11_LP): Likewise.
34324 (R12_LP): Likewise.
34325 (R13_LP): Likewise.
34326 (R14_LP): Likewise.
34327 (R15_LP): Likewise.
34328
b985be81
L
343292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34330
34331 * sysdeps/x86_64/x32/dl-machine.h: New file.
34332
6a4888ff
AJ
343332012-05-14 Andreas Jaeger <aj@suse.de>
34334
34335 * manual/Makefile (subdir): Remove export of subdir.
34336 (all): Remove target.
34337 (.PHONY): Remove all from list.
34338 (mkinstalldirs): Remove.
34339 (.PHONY): Remove installdirs from list.
34340 ($(inst_infodir)/libc.info): Use make-target-directory.
34341 (installdirs): Remove.
34342 (subdir_%): Remove.
34343 (glibc-targets): Remove.
34344 (lib): Remove.
34345 (stubs): Remove.
34346 ($(objpfx)stubs ../po/manual.pot): Remove.
34347 ($(objpfx)stamp%): Remove.
34348 (make-target-directory): Remove.
34349 (subdir_install): Remove.
34350 (routines): Remove.
34351 (aux): Remove.
34352 (sources): Remove.
34353 (objects): Remove.
34354 (headers): Remove.
34355
34356 [BZ #13750]
34357 * manual/.gitignore: Remove, it's not needed anymore.
34358 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34359 all files in it.
34360 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34361 directory.
34362 (texis): Renamed to $(objpfx)texis.
34363 (texis-path): New, contains path to generated files.
34364 (chapters.%): Use texis-path for complete path, add extra argument
34365 libc-texinfo.sh.
34366 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34367 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34368 (summary,texi, stamp-summary): Use complete path of
34369 files. Generate files in build dir.
34370 (dir-add.texi): Build in build dir.
34371 (libm-err.texi,stamp-libm-err): Likewise.
34372 (version.texi, stamp-version): Likewise.
34373 (.%c.texi): Likewise.
34374 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34375 (mostlyclean): Remove target.
34376 (realclean): Remove target.
34377 (generated): Add new variable with contents from mostlyclean and
34378 realclean, remove entries duplicated in common-mostlyclean, add
34379 stamp-libm-err and stamp-version.
34380 (generated-dirs): Add libc directory.
34381 ($(inst_infodir)/libc.info): Install files from build dir.
34382
34383 * manual/install.texi (Configuring and compiling): Adjust since
34384 the info files are not part of the tar ball anymore.
34385
7ac77294
AJ
343862012-05-14 Andreas Jaeger <aj@suse.de>
34387
34388 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34389 variable.
34390
ffb7875d
JM
343912012-05-14 Joseph Myers <joseph@codesourcery.com>
34392
34393 [BZ #13717]
34394 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34395 to 2.2.0 where earlier.
34396 * sysdeps/unix/sysv/linux/configure: Regenerated.
34397 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34398 Remove conditional code.
34399 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34400 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34401 Remove conditional code.
34402 [!__NR_lchown]: Likewise.
34403 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34404 [__NR_lchown]: Likewise.
34405 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34406 comment referencing __ASSUME_LCHOWN_SYSCALL.
34407 * sysdeps/unix/sysv/linux/i386/sigaction.c
34408 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34409 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34410 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34411 Remove conditional code.
34412 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34413 (__protocol_available): Remove #if 0 code.
34414 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34415 conditional code.
34416 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34417 * sysdeps/unix/sysv/linux/kernel-features.h
34418 (__ASSUME_GETCWD_SYSCALL): Don't define.
34419 (__ASSUME_REALTIME_SIGNALS): Likewise.
34420 (__ASSUME_PREAD_SYSCALL): Likewise.
34421 (__ASSUME_PWRITE_SYSCALL): Likewise.
34422 (__ASSUME_POLL_SYSCALL): Likewise.
34423 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34424 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34425 non-SPARC.
34426 (__ASSUME_SIOCGIFNAME): Don't define.
34427 (__ASSUME_MSG_NOSIGNAL): Likewise.
34428 (__ASSUME_SENDFILE): Define unconditionally.
34429 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34430 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34431 conditional code.
34432 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34433 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34434 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34435 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34436 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34437 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34438 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34440 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34441 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34443 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34446 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34449 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34452 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34455 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34463 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34464 Remove conditional code.
34465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34466 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34467 Remove conditional code.
34468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34469 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34470 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34471 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34472 Remove conditional code.
34473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34474 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34475 Remove conditional code.
34476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34477 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34478 Remove conditional code.
34479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34480 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34481 Remove conditional code.
34482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34483 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34484 Remove conditional code.
34485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34486 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34487 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34489 * sysdeps/unix/sysv/linux/sigaction.c
34490 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34491 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34492 * sysdeps/unix/sysv/linux/sigpending.c
34493 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34494 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34495 * sysdeps/unix/sysv/linux/sigprocmask.c
34496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34498 * sysdeps/unix/sysv/linux/sigsuspend.c
34499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34501 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34502 (__libc_missing_rt_sigs): Remove.
34503 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34504 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34505 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34506 Remove conditional code.
34507 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34508 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34509 return 1.
34510 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34511 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34512 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34513 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34514
1bfb7291
AJ
345152012-05-14 Andreas Jaeger <aj@suse.de>
34516
caae5a81
AJ
34517 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34518 it's not used in glibc.
34519 (__coshm1): Likewise.
34520 (__acosh1p): Likewise.
34521 (__sgn): Likewise.
34522
1bfb7291
AJ
34523 * manual/string.texi (Copying and Concatenation): Add missing
34524 variable in concat example.
34525 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34526
c044d724
L
345272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34528
144c5467 34529 [BZ #14103]
c044d724
L
34530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34531 __builtin_clzl with __builtin_clzll.
34532
2523c62b
L
345332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34534
34535 [BZ #14104]
34536 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34537 libc_freeres_ptr.
34538
d7bb4c42
LD
345392012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34540
34541 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34542 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34543 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34544 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34545
9dc4e1fb
MF
345462012-05-14 Mike Frysinger <vapier@gentoo.org>
34547
34548 * NEWS: Update ia64 info.
34549
c7df0112
AS
345502012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34551
34552 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34553 used as bcopy.
34554
dc70356c
TS
345552012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34556
34557 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34558 * sysdeps/unix/syscalls.list (dup3): Likewise.
34559 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34560 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34561
9fb1a21f
L
345622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34563
34564 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34565 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34566
4822a2a5
L
345672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34568
34569 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34570 thread pointer.
34571 (TLS_IE): Use mov/add instead of movq/addq to load thread
34572 pointer.
34573 (TLS_GD_PREFIX): New.
34574 (TLS_GD): Use it.
34575
842b81d6
DM
345762012-05-11 David S. Miller <davem@davemloft.net>
34577
34578 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34579 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34580 (_FPU_SETCW): Likewise.
34581
1cf463cd
L
345822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34583
34584 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34585 is 32-byte aligned.
34586
60cc4a18
AS
345872012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34588
34589 [BZ #11837]
34590 * iconvdata/gb18030.c: Update tables.
34591 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34592 characters specially.
34593 (BODY for TO_LOOP): Add encoding of missing ranges.
34594
febb44a4
TS
345952012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34596
34597 [BZ #13673]
34598 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34599 * sysdeps/mach/hurd/dup3.c: Likewise.
34600 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34601 * sysdeps/powerpc/memmove.c:: Likewise.
34602
0a10fb9e
L
346032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34604
34605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34606 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34607
df8a552f
L
346082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34609
34610 * elf/elf.h (R_X86_64_RELATIVE64): New.
34611 (R_X86_64_NUM): Updated.
34612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34613 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34614 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34615 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34616 tst-quad1pie tst-quad2pie
34617 (modules-names): Add tst-quadmod1 tst-quadmod2.
34618 ($(objpfx)tst-quad1): New dependency.
34619 ($(objpfx)tst-quad2): Likewise.
34620 ($(objpfx)tst-quad1pie): Likewise.
34621 ($(objpfx)tst-quad2pie): Likewise.
34622 * sysdeps/x86_64/tst-quad1.c: New file.
34623 * sysdeps/x86_64/tst-quad1pie.c: New file.
34624 * sysdeps/x86_64/tst-quad2.c: Likewise.
34625 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34626 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34627 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34628 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34629 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34630
f34d6f84
ST
346312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34632
f42d41d1
ST
34633 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34634 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34635 * streams/stropts.h (t_scalar_t): Define type.
34636
3c3571fc
ST
34637 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34638 (_PATH_PRESERVE): Set to "/var/lib".
34639 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34640
61f06bd3
ST
34641 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34642 instead of int.
34643
918d4d71
ST
34644 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34645 if __dir_mkfile succeeded.
34646
f34d6f84
ST
34647 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34648 checking for _hurd_dtablesize. Unlock it right after having
34649 finished _hurd_dtable allocation.
34650
10589b4a
TS
346512012-05-10 Thomas Schwinge <thomas@schwinge.name>
34652
674cdbc7
TS
34653 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34654 * sysdeps/mach/hurd/configure: Regenerated.
34655 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34656 special-casing to...
34657 * sysdeps/gnu/configure.in: ... this new file.
34658 * sysdeps/unix/sysv/linux/configure: Regenerated.
34659 * sysdeps/gnu/configure: New generated file.
34660
8e41b99f
TS
34661 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34662 for Linux: use nsec instead of usec, as well as:
34663 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34664 members of type struct timespec.
34665 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34666 New macros.
34667 (struct stat64): Likewise.
34668 (_STATBUF_ST_NSEC): New macro.
34669 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34670
10589b4a
TS
34671 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34672 __strtoul_internal rather than strtoul.
34673
63643c85
PT
346742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34675
34676 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34677 and reject them.
34678
3faebe6a
ST
346792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34680
34681 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34682 which preserves existing values.
34683 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34684
c6474b07
PT
346852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34686
34687 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34688 TIMEOUT values. Return EINVAL for NFDS values either negative or
34689 greater than FD_SETSIZE.
34690
1043890b
ST
346912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34692
34693 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34694 allocated, call __vm_protect to finish enabling the existing space, and
34695 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34696 allocate the remainder.
34697
37ed8b9b
PT
346982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34699
34700 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34701 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34702
db653660
ST
347032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34704
37ed8b9b
PT
34705 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34706 sysdeps/mach/hurd/readlink.c.
b29d4053 34707
db653660
ST
34708 * posix/tst-sysconf.c (posix_options): Only use
34709 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34710 _POSIX_SYNCHRONIZED_IO when they are defined
34711 * sysdeps/mach/hurd/bits/posix_opt.h:
34712 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34713 (_XOPEN_REALTIME): Undefine macro.
34714 (_XOPEN_REALTIME_THREADS): Undefine macro.
34715 (_XOPEN_SHM): Undefine macro.
34716 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34717 macro to -1.
34718 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34719 macro to -1.
34720 (_POSIX_ASYNC_IO): Undefine macro.
34721 (_POSIX_PRIORITIZED_IO): Undefine macro.
34722 (_POSIX_SPIN_LOCKS): Define macro to -1.
34723
ee16e894
ST
34724 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34725 SA_NODEFER, SA_RESETHAND.
34726 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34727 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34728 F_DUPFD_CLOEXEC.
34729
6103ae3b
TS
347302012-05-10 Thomas Schwinge <thomas@schwinge.name>
34731
34732 * elf/Makefile (pldd-modules): Define unconditionally.
34733
80b4e5f3
TS
347342012-05-10 Thomas Schwinge <thomas@schwinge.name>
34735
34736 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34737
edadcbd6
ST
347382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34739
34740 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34741 Return ENOENT when name is empty.
34742 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34743
80694780
TS
347442012-05-10 Thomas Schwinge <thomas@schwinge.name>
34745
1792c087
TS
34746 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34747
80694780
TS
34748 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34749
6b645f0d
ST
347502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34751
80694780
TS
34752 Fix mlock in all cases except non-readable pages.
34753 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34754 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34755
6b645f0d
ST
34756 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34757 (__mkdir): When path is `/', just fail with EEXIST.
34758 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34759
e468f8a3
TS
347602012-05-10 Thomas Schwinge <thomas@schwinge.name>
34761
34762 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34763 <sys/uio.h> (for writev).
34764 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34765 and <sys/param.h> (for MIN).
34766
a4186cff
PT
347672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34768
34769 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34770 REQUESTED_TIME. Properly set the remaining time and return EINTR
34771 if interrupted.
34772
510bbf14
TS
347732012-05-10 Thomas Schwinge <thomas@schwinge.name>
34774
34775 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34776 Depend on against $(link-rpcuserlibs).
34777
5d5722e8
ST
347782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34779
a4186cff
PT
34780 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34781 (__libc_stack_end): Do not use attribute_relro.
34782 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34783 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34784 to libthread-provided value.
a4186cff
PT
34785 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34786 attribute_relro.
5d5722e8 34787
37233df9
TS
347882012-05-10 Thomas Schwinge <thomas@schwinge.name>
34789
be971a2b
TS
34790 [BZ #3748]
34791 * bits/libc-lock.h (__libc_once_get): New macro.
34792 * sysdeps/mach/bits/libc-lock.h: Likewise.
34793 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34794 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34795 instead of using implementation details.
34796
37233df9
TS
34797 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34798 * libio/freopen.c: Likewise.
34799 * libio/freopen64.c: Likewise.
34800 * misc/syslog.c: Likewise.
34801 * nscd/connections.c: Likewise.
34802 * nscd/netgroupcache.c: Likewise.
34803 * sysdeps/posix/getcwd.c: Likewise.
34804
38de94a5
RM
348052012-05-10 Roland McGrath <roland@hack.frob.com>
34806
34807 * math/w_ilogbf.c: Add #include <limits.h>.
34808
67530489
ST
348092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34810
a4186cff 34811 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34812 path instead of returning without unlocking.
34813
67530489
ST
34814 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34815 immediate-write ioctls.
34816 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34817
5aa3a74a
TS
348182012-05-10 Thomas Schwinge <thomas@schwinge.name>
34819
18bad2ae
TS
34820 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34821 __builtin_frame_address instead of making assumptions about the
34822 location of the return address relative to DATA. Force early load of
34823 the return address.
34824 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34825 __builtin_frame_address.
34826
5aa3a74a
TS
34827 dup3 for GNU Hurd.
34828 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34829 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34830 implement dup3 and do some further code clean-ups.
34831 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34832 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34833
ecd0de9a
ST
348342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34835
cd9fa985
ST
34836 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34837
a4186cff
PT
34838 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34839 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34840 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34841 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34842 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34843 d->port.lock.
802ca5a5 34844
a4186cff
PT
34845 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34846 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34847 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34848
bcf55240
TS
348492012-05-10 Thomas Schwinge <thomas@schwinge.name>
34850
6960eb42
TS
34851 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34852 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34853 definitions.
34854
eb43375f
TS
34855 accept4 for GNU Hurd.
34856 * include/sys/socket.h (__libc_accept4): New prototype.
34857 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34858 to implement __libc_accept4.
34859 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34860 __libc_accept4.
34861 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34862
bcf55240
TS
34863 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34864 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34865 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34866 signal-defines.sym.
34867
6178c55b
ST
348682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34869
a4186cff 34870 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34871
6f080c2f
TS
348722012-05-10 Thomas Schwinge <thomas@schwinge.name>
34873
34874 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34875 assertion on O_CLOEXEC flag.
34876 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34877 * hurd/intern-fd.c: Likewise.
34878 * hurd/port2fd.c: Likewise.
34879
bcfe3a54
ST
348802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34881
34882 [BZ #3906]
34883 * bits/in.h (IPV6_PKTINFO): Define new macro.
34884 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34885
89c9aa49
AZ
348862012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34887
34888 [BZ #13954]
34889 [BZ #13955]
34890 [BZ #13956]
34891 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34892 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34893 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34894 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34896 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34897 * math/libm-test.inc (logb_test) : Additional logb tests.
34898
021db4be
AJ
348992012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34900 Andreas Jaeger <aj@suse.de>
34901
34902 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34903 * configure: Regenerated.
34904 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34905 * config.make.in (link-obsolete-rpc): New substituted variable.
34906 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34907 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34908 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34909 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34910 so that libc.a contains the symbols.
34911 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34912 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34913 * sunrpc/auth_none.c: Likewise.
34914 * sunrpc/auth_unix.c: Likewise.
34915 * sunrpc/authdes_prot.c: Likewise.
34916 * sunrpc/authuxprot.c: Likewise.
34917 * sunrpc/clnt_gen.c: Likewise.
34918 * sunrpc/clnt_perr.c: Likewise.
34919 * sunrpc/clnt_raw.c: Likewise.
34920 * sunrpc/clnt_simp.c: Likewise.
34921 * sunrpc/clnt_tcp.c: Likewise.
34922 * sunrpc/clnt_udp.c: Likewise.
34923 * sunrpc/clnt_unix.c: Likewise.
34924 * sunrpc/des_crypt.c: Likewise.
34925 * sunrpc/des_soft.c: Likewise.
34926 * sunrpc/get_myaddr.c: Likewise.
34927 * sunrpc/key_call.c: Likewise.
34928 * sunrpc/key_prot.c: Likewise.
34929 * sunrpc/netname.c: Likewise.
34930 * sunrpc/pm_getmaps.c: Likewise.
34931 * sunrpc/pm_getport.c: Likewise.
34932 * sunrpc/pmap_clnt.c: Likewise.
34933 * sunrpc/pmap_prot.c: Likewise.
34934 * sunrpc/pmap_prot2.c: Likewise.
34935 * sunrpc/pmap_rmt.c: Likewise.
34936 * sunrpc/publickey.c: Likewise.
34937 * sunrpc/rpc_cmsg.c: Likewise.
34938 * sunrpc/rpc_common.c: Likewise.
34939 * sunrpc/rpc_dtable.c: Likewise.
34940 * sunrpc/rpc_prot.c: Likewise.
34941 * sunrpc/rpc_thread.c: Likewise.
34942 * sunrpc/rtime.c: Likewise.
34943 * sunrpc/svc.c: Likewise.
34944 * sunrpc/svc_auth.c: Likewise.
34945 * sunrpc/svc_raw.c: Likewise.
34946 * sunrpc/svc_run.c: Likewise.
34947 * sunrpc/svc_tcp.c: Likewise.
34948 * sunrpc/svc_udp.c: Likewise.
34949 * sunrpc/svc_unix.c: Likewise.
34950 * sunrpc/svcauth_des.c: Likewise.
34951 * sunrpc/xcrypt.c: Likewise.
34952 * sunrpc/xdr.c: Likewise.
34953 * sunrpc/xdr_array.c: Likewise.
34954 * sunrpc/xdr_float.c: Likewise.
34955 * sunrpc/xdr_intXX_t.c: Likewise.
34956 * sunrpc/xdr_mem.c: Likewise.
34957 * sunrpc/xdr_rec.c: Likewise.
34958 * sunrpc/xdr_ref.c: Likewise.
34959 * sunrpc/xdr_sizeof.c: Likewise.
34960 * sunrpc/xdr_stdio.c: Likewise.
34961
b5c086a2
RM
349622012-05-10 Roland McGrath <roland@hack.frob.com>
34963
34964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34965 change. Update copyright years.
34966
6d74dd09
JM
349672012-05-10 Joseph Myers <joseph@codesourcery.com>
34968
34969 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34970
28e72501
MK
349712012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34972 Joseph Myers <joseph@codesourcery.com>
34973 Paul Pluzhnikov <ppluzhnikov@google.com>
34974
34975 [BZ #14012]
34976 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34977 requiring rpcgen.
34978 [cross-compiling] (extra-libs): Likewise.
34979 [cross-compiling] (extra-libs-others): Likewise.
34980 [cross-compiling] (librpcsvc-routines): Likewise.
34981 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34982 [cross-compiling] (omit-deps): Likewise.
34983 (sunrpc-CPPFLAGS): New variable.
34984 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34985 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34986 (cross-rpcgen-objs): New variable.
34987 (extra-objs): Append $(cross-rpcgen-objs).
34988 ($(cross-rpcgen-objs)): New rule.
34989 ($(objpfx)cross-rpcgen): Likewise.
34990 (rpcgen-cmd): Define to use $(built-program-file). Expand
34991 comment.
34992 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34993 ($(objpfx)x%.stmp): Likewise.
34994 * sunrpc/proto.h [IS_IN_build] (_): Define.
34995 [IS_IN_build] (_libc_intl_domainname): Likewise.
34996
c8c59454
L
349972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34998
34999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35000 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35001 and R_X86_64_TPOFF64.
35002
6f27cd16
JM
350032012-05-10 Joseph Myers <joseph@codesourcery.com>
35004
35005 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35006 sysdeps/unix/sysv/syscalls.list.
35007 (stime): Likewise.
35008 (utime): Likewise.
35009 * sysdeps/unix/sysv/syscalls.list: Remove file.
35010
02467e1c
PE
350112012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35012
35013 [BZ #3440]
35014 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35015 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35016 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35017 (__LC_IDENTIFICATION): Make these macros useful in #if
35018 expressions, as required by C99.
35019
da392631
AS
350202012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35021
35022 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35023 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35024 after this.
35025
8115f29b
L
350262012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35027
35028 * stdlib/longlong.h: Updated from GCC.
35029
bdd74070
AJ
350302012-05-09 Andreas Jaeger <aj@suse.de>
35031
edfe0dbe
AJ
35032 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35033 default is first entry.
35034 (run_mode): Set type.
35035 (main): Remove informal message about syslog.
35036 (options): Fix typo.
35037
bcfe3a54
ST
35038 [BZ #14053]
35039 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35040 to asm.
bcfe3a54
ST
35041 (lrint): Likewise.
35042 (llrintf): Likewise.
35043 (llrint): Likewise.
35044 (rint): Likewise.
35045 (rintf): Likewise.
35046 (nearbyint): Likewise.
35047 (nearbyintf): Likewise.
bdd74070 35048
91d8d69e
AJ
350492012-05-09 Andreas Jaeger <aj@suse.de>
35050 Pedro Alves <palves@redhat.com>
35051
35052 * nscd/nscd.c (run_mode): Use enum.
35053 (main): Cleanup coding style issue.
35054
bb90b80b
AJ
350552012-05-09 Alexandre Oliva <aoliva@redhat.com>
35056 Andreas Jaeger <aj@suse.de>
35057
bcfe3a54
ST
35058 * nscd/nscd.c (go_background): Replaced with...
35059 (run_mode): ... this.
bb90b80b 35060 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35061 (options): Add -F --foreground.
35062 (main): Implement it.
35063 (parse_opt): Parse it.
bb90b80b 35064
1a4b75a1
AJ
350652012-05-09 Andreas Jaeger <aj@suse.de>
35066
35067 [BZ #14083]
35068 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35069 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35070 -Wconversion warning.
35071 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35072 Likewise.
35073
b1cc2472
JM
350742012-05-09 Joseph Myers <joseph@codesourcery.com>
35075
35076 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35077 == 0.
35078 (LC_ALL): Use macro-int-constant.
35079 (LC_COLLATE): Likewise.
35080 (LC_CTYPE): Likewise.
35081 (LC_MESSAGES): Likewise.
35082 (LC_MONETARY): Likewise.
35083 (LC_NUMERIC): Likewise.
35084 (LC_TIME): Likewise.
35085 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35086 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35088 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35089 Specify type.
35090 [C99-based standards] (float_t): Expect type.
35091 [C99-based standards] (double_t): Expect type.
35092 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35093 type.
35094 [C99-based standards] (HUGE_VALL): Likewise.
35095 [C99-based standards] (INFINITY): Likewise.
35096 [C99-based standards] (NAN): Likewise.
35097 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35098 [C99-based standards] (FP_NAN): Likewise.
35099 [C99-based standards] (FP_NORMAL): Likewise.
35100 [C99-based standards] (FP_SUBNORMAL): Likewise.
35101 [C99-based standards] (FP_ZERO): Likewise.
35102 [C99-based standards] (FP_FAST_FMA): Use
35103 optional-macro-int-constant. Specify type. Require == 1.
35104 [C99-based standards] (FP_FAST_FMAF): Likewise.
35105 [C99-based standards] (FP_FAST_FMAL): Likewise.
35106 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35107 [C99-based standards] (FP_ILOGBNAN): Likewise.
35108 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35109 Specify type.
35110 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35111 [C99-based standards] (math_errhandling): Specify type.
35112 [ISO99 || ISO11] (signgam): Do not allow.
35113 [non-C99-based standards] (copysignf): Do not allow.
35114 [non-C99-based standards] (exp2f): Likewise.
35115 [non-C99-based standards] (log2f): Likewise.
35116 [non-C99-based standards] (modff): Allow.
35117 [non-C99-based standards] (erff): Do not allow.
35118 [non-C99-based standards] (erfcf): Likewise.
35119 [non-C99-based standards] (gammaf): Likewise.
35120 [non-C99-based standards] (hypotf): Likewise.
35121 [non-C99-based standards] (j0f): Likewise.
35122 [non-C99-based standards] (j1f): Likewise.
35123 [non-C99-based standards] (jnf): Likewise.
35124 [non-C99-based standards] (lgammaf): Likewise.
35125 [non-C99-based standards] (tgammaf): Likewise.
35126 [non-C99-based standards] (y0f): Likewise.
35127 [non-C99-based standards] (y1f): Likewise.
35128 [non-C99-based standards] (ynf): Likewise.
35129 [non-C99-based standards] (isnanf): Likewise.
35130 [non-C99-based standards] (acoshf): Likewise.
35131 [non-C99-based standards] (asinhf): Likewise.
35132 [non-C99-based standards] (atanhf): Likewise.
35133 [non-C99-based standards] (cbrtf): Likewise.
35134 [non-C99-based standards] (expm1f): Likewise.
35135 [non-C99-based standards] (ilogbf): Likewise.
35136 [non-C99-based standards] (log1pf): Likewise.
35137 [non-C99-based standards] (logbf): Likewise.
35138 [non-C99-based standards] (nextafterf): Likewise.
35139 [non-C99-based standards] (remainderf): Likewise.
35140 [non-C99-based standards] (rintf): Likewise.
35141 [non-C99-based standards] (scalbf): Likewise.
35142 [non-C99-based standards] (copysignl): Likewise.
35143 [non-C99-based standards] (exp2l): Likewise.
35144 [non-C99-based standards] (log2l): Likewise.
35145 [non-C99-based standards] (modfl): Allow.
35146 [non-C99-based standards] (erfl): Do not allow.
35147 [non-C99-based standards] (erfcl): Likewise.
35148 [non-C99-based standards] (gammal): Likewise.
35149 [non-C99-based standards] (hypotl): Likewise.
35150 [non-C99-based standards] (j0l): Likewise.
35151 [non-C99-based standards] (j1l): Likewise.
35152 [non-C99-based standards] (jnl): Likewise.
35153 [non-C99-based standards] (lgammal): Likewise.
35154 [non-C99-based standards] (tgammal): Likewise.
35155 [non-C99-based standards] (y0l): Likewise.
35156 [non-C99-based standards] (y1l): Likewise.
35157 [non-C99-based standards] (ynl): Likewise.
35158 [non-C99-based standards] (isnanl): Likewise.
35159 [non-C99-based standards] (acoshl): Likewise.
35160 [non-C99-based standards] (asinhl): Likewise.
35161 [non-C99-based standards] (atanhl): Likewise.
35162 [non-C99-based standards] (cbrtl): Likewise.
35163 [non-C99-based standards] (expm1l): Likewise.
35164 [non-C99-based standards] (ilogbl): Likewise.
35165 [non-C99-based standards] (log1pl): Likewise.
35166 [non-C99-based standards] (logbl): Likewise.
35167 [non-C99-based standards] (nextafterl): Likewise.
35168 [non-C99-based standards] (remainderl): Likewise.
35169 [non-C99-based standards] (rintl): Likewise.
35170 [non-C99-based standards] (scalbl): Likewise.
35171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35172 [non-C99-based standards] (FP_*): Do not allow.
35173 [C99-based standards] (FP_*): Change to
35174 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35175 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35176 allow.
35177 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35178 (SIG_ERR): Likewise.
35179 [X/Open-based standards] (SIG_HOLD): Likewise.
35180 (SIG_IGN): Likewise.
35181 (SIGABRT): Use macro-int-constant. Specify type. Require
35182 positive value.
35183 (SIGFPE): Likewise.
35184 (SIGILL): Likewise.
35185 (SIGINT): Likewise.
35186 (SIGSEGV): Likewise.
35187 (SIGTER): Likewise.
35188 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35189 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35190 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35191 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35192 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35193 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35194 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35195 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35196 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35197 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35198 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35199 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35200 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35201 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35202 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35203 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35204 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35206 [X/Open-based standards] (SIGTRAP): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35209 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35210 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35211 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35212 allow.
35213
b9f1922d
IW
352142012-05-08 Ian Wienand <ianw@vmware.com>
35215
35216 [BZ #14080]
35217 * time/tzset.c (__tzset_parse_tz): Update default rules for
35218 daylight time changes in the Energy Policy Act of 2005.
35219
1db86e88
AJ
352202012-05-09 Andreas Jaeger <aj@suse.de>
35221
35222 [BZ #13983]
35223 * elf/ldconfig.c (parse_conf): Change string to make clear that
35224 ldconfig only issued a warning if ld.so.conf does not exist.
35225
dee4a4e3
DM
352262012-05-08 David S. Miller <davem@davemloft.net>
35227
ee0db190
DM
35228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35229 movxtod instead of popping the value on the stack.
35230
dee4a4e3
DM
35231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35232
6a43ec98
CD
352332012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35234
35235 * config.h.in: Add HAVE_ARM_PCS_VFP.
35236
05c2c961
RMG
352372012-05-08 Roland Mc Grath <roland@hack.frob.com>
35238
bcfe3a54
ST
35239 [BZ #13979]
35240 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35241 checking but the checks are disabled for any reason.
05c2c961 35242
4b30f61a
L
352432012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35244
35245 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35246 and ELF64_R_TYPE with ELFW(R_TYPE).
35247
eee2bc67
JM
352482012-05-08 Joseph Myers <joseph@codesourcery.com>
35249
7ea5391a
JM
35250 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35251 (ulimit): Likewise.
35252
eee2bc67
JM
35253 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35254 (settimeofday): Likewise.
35255
abb66a67
MF
352562012-05-08 Mike Frysinger <vapier@gentoo.org>
35257
35258 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35259 a struct th_u2 inside the union, and move tu_block/tu_code into
35260 a new th_u3 union of tu_block/tu_code inside of that. Move
35261 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35262 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35263 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35264 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35265 (th_stuff): Change to th_u1.tu_stuff.
35266 (th_data): Define.
35267 (th_msg): Change to th_u1.th_u2.tu_data.
35268
7f18b530
DM
352692012-05-07 David S. Miller <davem@davemloft.net>
35270
05760585
DM
35271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35272
7f18b530
DM
35273 [BZ #14074]
35274 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35275 (SETUP_PIC_REG): Use it.
35276 (SETUP_PIC_REG_LEAF): Use it.
35277
495fd99f
JM
352782012-05-07 Joseph Myers <joseph@codesourcery.com>
35279
35280 [BZ #13885]
35281 [BZ #13923]
35282 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35283 USE_AS_EXPM1L.
35284 (EXPL_FINITE): Likewise.
35285 (FLDLOG): Likewise.
35286 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35287 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35288 e_expl.S.
35289 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35290 USE_AS_EXPM1L.
35291 (EXPL_FINITE): Likewise.
35292 (FLDLOG): Likewise.
35293 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35294 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35295 e_expl.S.
35296 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35297 test of -max_value argument for long double.
35298 * sysdeps/i386/fpu/libm-test-ulps: Update.
35299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35300
6693d694
DM
353012012-05-06 David S. Miller <davem@davemloft.net>
35302
35303 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35304 quad soft-float symbols whose references which are compiler
35305 generated.
35306 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35307
6c23e11c
JM
353082012-05-06 Joseph Myers <joseph@codesourcery.com>
35309
d8b82cad
JM
35310 [BZ #13884]
35311 [BZ #13914]
35312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35313 USE_AS_EXP10L.
35314 (EXPL_FINITE): Likewise.
35315 (FLDLOG): Likewise.
35316 (c0): Likewise.
35317 (c1): Likewise.
35318 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35319 Adjust comments for base varying.
35320 (__expl_finite): Change alias to EXPL_FINITE.
35321 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35322 e_expl.S.
35323 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35324 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35325 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35326 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35327 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35328 USE_AS_EXP10L.
35329 (EXPL_FINITE): Likewise.
35330 (FLDLOG): Likewise.
35331 (c0): Likewise.
35332 (c1): Likewise.
35333 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35334 Adjust comments for base varying.
35335 (__expl_finite): Change alias to EXPL_FINITE.
35336 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35337 tests for bugs.
35338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35339
6c23e11c
JM
35340 [BZ #14064]
35341 * math/libm-test.inc (check_float_internal): Correct ulp
35342 calculation for subnormal expected results.
35343
29ba805c
AJ
353442012-05-06 Andreas Jaeger <aj@suse.de>
35345
35346 * Makeconfig (+math-flags): New, set to -frounding-math.
35347 (+cflags): Add +math-flags so that all of glibc gets compiled with
35348 it.
35349
35350 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35351
7b17aeda
JM
353522012-05-05 Joseph Myers <joseph@codesourcery.com>
35353
5779f134
JM
35354 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35355 Disable one test.
35356
41498f4d
JM
35357 [BZ #13787]
35358 [BZ #13922]
35359 [BZ #14036]
35360 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35361 (__ieee754_expl): Allow for and saturate large arguments.
35362 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35363 (u_threshold): Likewise.
35364 (__exp): Call __ieee754_exp before checking for overflow and
35365 underflow.
35366 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35367 (u_threshold): Likewise.
35368 (__expf): Call __ieee754_expf before checking for overflow and
35369 underflow.
35370 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35371 (u_threshold): Likewise.
35372 (__expl): Call __ieee754_expl before checking for overflow and
35373 underflow.
35374 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35375 (__ieee754_expl): Allow for and saturate large arguments.
35376 * math/libm-test.inc (exp_test): Add another test. Do not allow
35377 missing overflow exception on overflow.
35378 (expm1_test): Do not allow missing overflow exception on overflow.
35379
6698b8bf
JM
35380 * sysdeps/i386/fpu/e_expl.c: Move to ...
35381 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35382 rather than using inline asm.
35383 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35384 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35385 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35386
7b17aeda
JM
35387 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35388 (nice): Likewise.
35389 (poll): Likewise.
35390 (signal): Likewise.
35391 (time): Likewise.
35392 (times): Likewise.
35393
f7c85819
JM
353942012-05-04 Joseph Myers <joseph@codesourcery.com>
35395
35396 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35397 sysdeps/unix/common/syscalls.list.
35398 (fchmod): Likewise.
35399 (fchown): Likewise.
35400 (ftruncate): Likewise.
35401 (getrusage): Likewise.
35402 (gettimeofday): Likewise.
35403 (setpgid): Likewise.
35404 (setregid): Likewise.
35405 (setreuid): Likewise.
35406 (sigaction): Likewise.
35407 (truncate): Likewise.
35408 (vhangup): Likewise.
35409 * sysdeps/unix/common/syscalls.list: Remove file.
35410 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35411 * sysdeps/unix/sysv/linux/Implies: Likewise.
35412
336270d0
L
354132012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35414
35415 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35417 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35418 Moved to ...
35419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35420 Here.
35421 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35422 to ...
35423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35424 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35425 to ...
35426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35427 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35428 to ...
35429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35430 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35431 to ...
35432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35433 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35434 to ...
35435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35436 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35437 to ...
35438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35439 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35440 to ...
35441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35442 Here.
35443 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35444 to ...
35445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35446 Here.
35447 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35448 to ...
35449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35450 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35451 Moved to ...
35452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35453 Here.
35454 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35455 to ...
35456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35457
d128e450
JM
354582012-05-04 Joseph Myers <joseph@codesourcery.com>
35459
fa8ee516
JM
35460 * sysdeps/unix/common/bits/dirent.h: Remove file.
35461 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35462
d128e450
JM
35463 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35464 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35465 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35466 * sysdeps/unix/bsd/isatty.c: Likewise.
35467 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35468 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35469 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35470
ff8faaf0 354712012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35472
62881be4 35473 [BZ #13563]
31dc8730
AZ
35474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35475 long double comparison inaccuracies.
35476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35478
6fef930c
AS
354792012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35480
35481 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35483
8f203e6c
JM
354842012-05-04 Joseph Myers <joseph@codesourcery.com>
35485
35486 [BZ #14049]
35487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35488 nonzero digits before rounding a hex value.
35489 * stdlib/tst-strtod.c (tests): Add another test.
35490
5197d9c2
AK
354912012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35492
35493 * sysdeps/s390/fpu/libm-test-ulps: Update.
35494
f0c1dedf
AJ
354952012-05-03 Andreas Jaeger <aj@suse.de>
35496
35497 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35498 does not get optimized out.
35499 (malloc_opt_barrier): New.
35500
a65ef2ae 355012012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35502 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35503
2b942cb7 35504 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35505 intermediate file deletion.
2b942cb7 35506 (generated): Add .symlist files.
a65ef2ae 35507
54b71e02
JM
355082012-05-03 Joseph Myers <joseph@codesourcery.com>
35509
35510 [BZ #13775]
35511 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35512 Redirect under this condition.
35513 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35514 [__USE_GNU] (__dprintf_chk): Not under this condition.
35515 [__USE_GNU] (__vdprintf_chk): Likewise.
35516 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35517 under this condition.
35518 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35519 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35520 [__USE_XOPEN2K8] (vdprintf): Likewise.
35521 [__USE_GNU] (__dprintf_chk): Not under this condition.
35522 [__USE_GNU] (__vdprintf_chk): Likewise.
35523 [__USE_GNU] (dprintf): Likewise.
35524 [__USE_GNU] (vdprintf): Likewise.
35525
d3dfcc41
RM
355262012-05-03 Roland McGrath <roland@hack.frob.com>
35527
35528 * elf/Makefile (common-generated): Set this instead of generated for
35529 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35530 $(all-built-dso)-derived lists.
35531
7ac30cc5
AJ
355322012-05-03 Andreas Jaeger <aj@suse.de>
35533
0c51e550
AJ
35534 * sysdeps/i386/fpu/libm-test-ulps: Update.
35535
7ac30cc5
AJ
35536 * FAQ: Removed.
35537 * FAQ.in: Likewise.
35538 * scripts/gen-FAQ.pl: Likewise.
35539 * manual/install.texi (Installation): Point to online location of
35540 FAQ.
35541 * Makefile (files-for-dist): Remove FAQ.
35542 (FAQ): Remove.
35543
d4c2917f
AM
355442012-05-02 Allan McRae <allan@archlinux.org>
35545
35546 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35547 (LDFLAGS-reldepmod5.so): Likewise.
35548 (LDFLAGS-reldep6mod1.so): Likewise.
35549 (LDFLAGS-reldep6mod4.so): Likewise.
35550 (LDFLAGS-reldep8mod3.so): Likewise.
35551 (LDFLAGS-unload4mod1.so): Likewise.
35552 (LDFLAGS-unload4mod2.so): Likewise.
35553 (LDFLAGS-tst-initorder): Likewise.
35554 (LDFLAGS-tst-initordera2.so): Likewise.
35555 (LDFLAGS-tst-initordera3.so): Likewise.
35556 (LDFLAGS-tst-initordera4.so): Likewise.
35557 (LDFLAGS-tst-initorderb2.so): Likewise.
35558 (LDFLAGS-noload): Likewise.
35559 (LDFLAGS-next): Likewise.
35560 (LDFLAGS-order2mod1.so): Likewise.
35561 (LDFLAGS-order2mod2.so): Likewise.
35562 (LDFLAGS-tst-initorder2): Likewise.
35563 (LDFLAGS-tst-initorder2a.so): Likewise.
35564 (LDFLAGS-tst-initorder2b.so): Likewise.
35565 (LDFLAGS-tst-initorder2c.so): Likewise.
35566 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35567
d77f993f
DM
355682012-05-02 David S. Miller <davem@davemloft.net>
35569
35570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35571
171a70b4
PP
355722012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35573
35574 [BZ #14055]
35575 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35576
0be196ad
AJ
355772012-05-02 Andreas Jaeger <aj@suse.de>
35578
35579 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35580 since we manipulate rounding mode.
35581 (CPPFLAGS-test-idouble.c): Likewise.
35582 (CPPFLAGS-test-ifloat.c): Likewise.
35583 (CFLAGS-test-ldouble.c): Likewise.
35584 (CFLAGS-test-double.c): Likewise.
35585 (CFLAGS-test-float.c): Likewise.
35586 (CFLAGS-test-misc.c): Likewise.
35587 (CFLAGS-test-test-fenv.c): Likewise.
35588
4f9d04aa
AZ
355892012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35590
2b942cb7
RM
35591 [BZ #2550]
35592 [BZ #2570]
35593 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35594 comparisons to determine direction to adjust input.
4f9d04aa 35595
82a79e7d
RM
355962012-05-01 Roland McGrath <roland@hack.frob.com>
35597
f5a01ca9
RM
35598 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35599 output to the target.
35600
90fe4186
RM
35601 * scripts/localplt.awk: New file.
35602 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35603 (check-localplt-CFLAGS): Variable removed.
35604 ($(all-built-dso:=.jmprel)): New static pattern rule.
35605 (generated): Add those targets.
35606 (localplt-built-dso): New variable.
35607 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35608
35609 * elf/check-localplt.c: File removed.
35610
82397ed6
RM
35611 * scripts/check-execstack.awk: New file.
35612 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35613 (check-execstack-CFLAGS): Variable removed.
35614 ($(objpfx)check-execstack.h): Target removed.
35615 ($(objpfx)execstack-default): New target.
35616 (generated): Add that instead of check-execstack.h.
35617 ($(all-built-dso:=.phdr)): New static pattern rule.
35618 (generated): Add those targets.
35619 * elf/check-execstack.c: File removed.
35620
82a79e7d
RM
35621 * scripts/check-textrel.awk: New file.
35622 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35623 (check-textrel-CFLAGS): Variable removed.
35624 (all-built-dso): Use := to define.o
35625 ($(all-built-dso:=.dyn)): New static pattern rule.
35626 (generated): Add those targets.
35627 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35628 * config.make.in (READELF): New substituted variable.
35629 * elf/check-textrel.c: File removed.
35630
62fde54f 356312012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35632
615605c9
JM
35633 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35634 allow.
35635 * conform/data/ctype.h-data [C99-based standards] (isblank):
35636 Expect function.
35637 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35638 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35640 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35641 Specify type. Require positive value.
35642 (EILSEQ): Likewise.
35643 (ERANGE): Likewise.
35644 [ISO || POSIX] (EILSEQ): Do not expect.
35645 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35646 Specify type. Require positive value.
35647 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35648 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35649 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35650 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35651 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35652 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35653 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35654 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35655 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35656 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35657 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35658 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35659 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35660 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35661 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35662 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35663 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35664 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35665 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35666 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35667 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35668 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35669 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35670 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35672 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35673 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35674 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35675 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35676 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35677 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35678 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35679 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35680 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35681 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35682 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35683 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35684 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35685 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35686 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35687 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35688 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35689 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35690 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35691 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35692 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35693 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35694 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35695 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35696 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35697 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35698 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35699 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35700 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35701 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35702 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35703 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35704 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35705 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35706 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35707 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35708 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35709 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35710 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35711 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35712 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35713 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35714 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35715 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35716 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35717 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35718 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35719 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35720 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35721 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35722 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35723 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35724 Require >= 2.
35725 (FLT_ROUNDS): Expect as macro, not constant.
35726 (FLT_MANT_DIG): Use macro-int-constant.
35727 (DBL_MANT_DIG): Likewise.
35728 (LDBL_MANT_DIG): Likewise.
35729 (FLT_DIG): Likewise.
35730 (DBL_DIG): Likewise.
35731 (LDBL_DIG): Likewise.
35732 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35733 (DBL_MIN_EXP): Likewise.
35734 (LDBL_MIN_EXP): Likewise.
35735 (FLT_MAX_EXP): Use macro-int-constant.
35736 (DBL_MAX_EXP): Likewise.
35737 (LDBL_MAX_EXP): Likewise.
35738 (FLT_MAX_10_EXP): Likewise.
35739 (DBL_MAX_10_EXP): Likewise.
35740 (LDBL_MAX_10_EXP): Likewise.
35741 (FLT_MAX): Use macro-constant.
35742 (DBL_MAX): Likewise.
35743 (LDBL_MAX): Likewise.
35744 (FLT_EPSILON): Use macro-constant. Give upper bound.
35745 (DBL_EPSILON): Likewise.
35746 (LDBL_EPSILON): Likewise.
35747 (FLT_MIN): Likewise.
35748 (DBL_MIN): Likewise.
35749 (LDBL_MIN): Likewise.
35750 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35751 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35752 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35753 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35754 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35755 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35756 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35757 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35758 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35759 [ISO11] (FLT_TRUE_MIN): Likewise.
35760 [ISO11] (LDBL_TRUE_MIN): Likewise.
35761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35762 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35763 (SCHAR_MIN): Use macro-int-constant. Specify type.
35764 (SCHAR_MAX): Likewise.
35765 (UCHAR_MAX): Likewise.
35766 (CHAR_MIN): Likewise.
35767 (CHAR_MAX): Likewise.
35768 (MB_LEN_MAX): Use macro-int-constant.
35769 (SHRT_MIN): Use macro-int-constant. Specify type.
35770 (SHRT_MAX): Likewise.
35771 (USHRT_MAX): Likewise.
35772 (INT_MAX): Likewise.
35773 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35774 bound negative.
35775 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35776 bound with "U".
35777 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35778 bound with "L".
35779 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35780 bound negative. Suffix upper bound with "L".
35781 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35782 bound with "UL".
35783 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35784 Specify type.
35785 [C99-based standards] (LLONG_MAX): Likewise.
35786 [C99-based standards] (ULLONG_MAX): Likewise.
35787 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35788 == 0.
35789 [ISO11] (max_align_t): Require type.
35790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35791
c9140a62
JM
35792 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35793 from $CFLAGS, without defining away __attribute__ calls.
35794 (checknamespace): Use $CFLAGS_namespace.
35795
9af0bf29
JM
35796 * conform/conformtest.pl (@keywords): Only include C99 keywords
35797 for standards based on C99 or C11.
35798
343222a2
JM
35799 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35800 Disable tests.
35801 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35802 UNIX98]: Likewise.
35803
661f8cf0
JM
35804 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35805 usability of symbols in #if.
35806
ee74b9cb
JM
35807 * conform/conformtest.pl: If macro or constant types start
35808 "promoted:", expect the symbol to be of the following type
35809 promoted by the integer promotions.
62fde54f 35810
aafc49b3
JM
35811 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35812 in one place. Also handle "macro-constant".
35813
fefdf574
JM
35814 * conform/conformtest.pl: Only accept expected macro values with
35815 "==". Parse all "macro" lines in one place.
35816 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35817
f2d922fe
JM
35818 * conform/conformtest.pl: Handle braced types on "constant" lines
35819 instead of handling "typed-constant".
35820 * conform/data/signal.h-data: Use "constant" instead of
35821 "typed-constant".
35822
d22956c9
JM
35823 * conform/conformtest.pl: Handle "optional-" at start of lines in
35824 one place rather than duplicating several cases. Handle each
35825 format of "macro" line with initial "optional-".
35826
028e2e38
JM
35827 * conform/conformtest.pl: Only accept expected constant or
35828 optional-constant values with "==". Parse all "constant" lines in
35829 one place. Parse all "optional-constant" lines in one place.
35830 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35831 * conform/data/fmtmsg.h-data: Likewise.
35832 * conform/data/netinet/in.h-data: Likewise.
35833 * conform/data/tar.h-data: Likewise.
35834 * conform/data/limits.h-data: Use "==" form on "constant" and
35835 "optional-constant" lines.
35836
1b8f2850
JM
35837 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35838 Use -std=c99 for XOPEN2K.
35839 (@knownproblems): Remove.
35840 (newtoken): Don't check %isknown.
35841
a05a144b
JM
35842 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35843 Do not expect macro.
35844 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35849 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35850 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35856 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35857 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35874 [XPG3] (acosh): Likewise.
35875 [XPG3] (asinh): Likewise.
35876 [XPG3] (atanh): Likewise.
35877 [XPG3] (cbrt): Likewise.
35878 [XPG3] (expm1): Likewise.
35879 [XPG3] (ilogb): Likewise.
35880 [XPG3] (log1p): Likewise.
35881 [XPG3] (logb): Likewise.
35882 [XPG3] (nextafter): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35885 [XPG3] (remainder): Likewise.
35886 [XPG3] (rint): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35894 [UNIX98 || XOPEN2K] (scalb): Expect.
35895 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35896 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35914 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35922 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35925 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35926 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36032
73c5ebe3
JM
36033 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36034 _XOPEN_SOURCE_EXTENDED for XPG4.
36035
39c33b6c
JM
36036 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36037
62fde54f
JM
36038 * Makeconfig (localtime): Remove variable.
36039 (inst_localtime-file): Likewise.
36040
0741d64c
AS
360412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36042
36043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36044 Update.
36045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36046 Update.
36047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36048 Update.
36049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36050 Update.
36051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36052 Update.
36053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36054 Update.
36055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36056 Update.
36057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36058 Update.
36059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36060 Update.
36061
7cb029ee
JM
360622012-05-01 Joseph Myers <joseph@codesourcery.com>
36063
36064 [BZ #2550]
36065 [BZ #2570]
36066 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36067 comparisons to determine direction to adjust input.
36068 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36069 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36070 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36071 Likewise.
36072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36073 Likewise.
36074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36075 Likewise.
36076 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36077 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36078 Likewise.
36079 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36080 Likewise.
36081 * math/libm-test.inc (nexttoward_test): Add more tests.
36082
412bd966
AS
360832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36084
36085 [BZ #14040]
36086 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36087 in version GLIBC_2.1, not GLIBC_2.0.
36088 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36089 Likewise.
36090
9568c0c2
JM
360912012-04-30 Joseph Myers <joseph@codesourcery.com>
36092
adfbc8ac
JM
36093 [BZ #13942]
36094 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36095 (1 - x) * (1 + x).
36096 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36097 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36098 * math/libm-test.inc (acos_test): Add more tests.
36099 (asin_test): Likewise.
36100 * sysdeps/i386/fpu/libm-test-ulps: Update.
36101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36102
5ba3cc69
JM
36103 [BZ #14034]
36104 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36105 of square root.
36106 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36107 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36108 * math/libm-test.inc (acos_test_tonearest): New function.
36109 (acos_test_towardzero): Likewise.
36110 (acos_test_downward): Likewise.
36111 (acos_test_upward): Likewise.
36112 (asin_test_tonearest): Likewise.
36113 (asin_test_towardzero): Likewise.
36114 (asin_test_downward): Likewise.
36115 (asin_test_upward): Likewise.
36116 (main): Call the new functions.
36117 * sysdeps/i386/fpu/libm-test-ulps: Update.
36118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36119
9568c0c2
JM
36120 [BZ #13884]
36121 [BZ #13924]
36122 * math/e_exp10.c: Include <float.h>.
36123 (__ieee754_exp10): Handle underflow here rather than multiplying
36124 large negative argument by M_LN10.
36125 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36126 of __ieee754_expf.
36127 * math/e_exp10l.c: Include <float.h>.
36128 (__ieee754_exp10l): Handle underflow here rather than multiplying
36129 large negative argument by M_LN10l.
36130 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36131 spurious overflow exception on underflow.
36132
5ac3ea17
MP
361332012-04-29 Marek Polacek <polacek@redhat.com>
36134
36135 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36136 (__fortify_function): New macro.
36137 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36138 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36139 __extern_always_inline.
36140 * libio/bits/stdio2.h: Likewise.
36141 * libio/bits/stdio.h: Likewise.
36142 * string/string.h: Likewise.
36143 * string/bits/string3.h: Likewise.
36144 * include/stdio.h: Likewise.
36145 * stdlib/bits/stdlib.h: Likewise.
36146 * stdlib/stdlib.h: Likewise.
36147 * rt/bits/mqueue2.h: Likewise.
36148 * rt/mqueue.h: Likewise.
36149 * posix/bits/unistd.h: Likewise.
36150 * posix/unistd.h: Likewise.
36151 * io/bits/poll2.h: Likewise.
36152 * io/bits/fcntl2.h: Likewise.
36153 * io/fcntl.h: Likewise.
36154 * io/sys/poll.h: Likewise.
36155 * misc/bits/syslog.h: Likewise.
36156 * misc/bits/syslog-ldbl.h: Likewise.
36157 * misc/sys/syslog.h: Likewise.
36158 * socket/bits/socket2.h: Likewise.
36159 * socket/sys/socket.h: Likewise.
36160 * debug/tst-chk1.c: Likewise.
36161 * wcsmbs/bits/wchar2.h: Likewise.
36162 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36163 * wcsmbs/wchar.h: Likewise.
36164
ecf0ebfb
AJ
361652012-04-29 Andreas Jaeger <aj@suse.de>
36166
36167 * Makerules (tests): Remove enable-check-abi protection.
36168 (check-abi-warn): Remove.
36169 (check-abi-%): Remove check-abi-warn usage.
36170
36171 * configure.in: Remove check-abi configure option.
36172 * configure: Regenerated.
36173 * config.make.in (enable-check-abi): Remove.
36174
6d5c57fa
AS
361752012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36176
24c5d07e 36177 [BZ #14033]
ded5180a
AS
36178 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36179 double functions to double *_finite functions.
36180
7e0d315d
AS
36181 [BZ #13941]
36182 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36183 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36184 LDBL_MIN_EXP.
36185 * stdio-common/Makefile (tests): Add tst-sprintf3.
36186 * stdio-common/tst-sprintf3.c: New file.
36187
6d5c57fa
AS
36188 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36189 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36190
0749ff8b
JM
361912012-04-28 Joseph Myers <joseph@codesourcery.com>
36192
36193 * conform/conformtest.pl: Remove duplicate typed-constant
36194 handling.
36195
8dbd5d7b
DM
361962012-04-28 David S. Miller <davem@davemloft.net>
36197
36198 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36199 (check-abi-%): Remove AWK script prerequisite and explicit
36200 abilist directory.
36201 (check-abi): Rewrite to just diff the symlist with the abilist.
36202 (config-tls, config-abi-config): Delete, no longer used.
36203 (update-abi-%): Remove AWK script and explicit abilist directory.
36204 (update-abi): Rewrite to simply compare and conditionally copy the
36205 symlist and the sysdep abilist file. Remove update-abi-config
36206 checks.
36207 * abilist/ld.abilist: Remove.
36208 * abilist/libBrokenLocale.abilist: Remove.
36209 * abilist/libanl.abilist: Remove.
36210 * abilist/libcrypt.abilist: Remove.
36211 * abilist/libdl.abilist: Remove.
36212 * abilist/librt.abilist: Remove.
36213 * abilist/libthread_db.abilist: Remove.
36214 * abilist/libutil.abilist: Remove.
36215 * scripts/extract-abilist.awk: Remove.
36216 * scripts/merge-abilist.awk: Remove.
36217 * sysdeps/generic/libcidn.abilist: New file.
36218 * sysdeps/generic/libnss_compat.abilist: New file.
36219 * sysdeps/generic/libnss_db.abilist: New file.
36220 * sysdeps/generic/libnss_dns.abilist: New file.
36221 * sysdeps/generic/libnss_files.abilist: New file.
36222 * sysdeps/generic/libnss_hesiod.abilist: New file.
36223 * sysdeps/generic/libnss_nis.abilist: New file.
36224 * sysdeps/generic/libnss_nisplus.abilist: New file.
36225 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36226 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36227 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36228 file.
36229 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36230 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36231 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36232 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36233 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36234 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36235 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36236 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36237 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36238 file.
36239 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36240 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36241 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36242 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36243 file.
36244 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36245 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36246 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36247 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36248 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36249 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36250 file.
36251 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36252 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36253 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36254 file.
36255 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36257 New file.
36258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36259 New file.
36260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36261 New file.
36262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36263 New file.
36264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36265 New file.
36266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36267 New file.
36268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36269 New file.
36270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36271 New file.
36272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36273 New file.
36274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36275 New file.
36276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36277 New file.
36278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36279 New file.
36280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36281 New file.
36282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36283 file.
36284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36285 New file.
36286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36287 New file.
36288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36289 file.
36290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36291 New file.
36292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36293 New file.
36294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36295 file.
36296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36297 New file.
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36299 New file.
36300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36301 New file.
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36303 New file.
36304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36305 New file.
36306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36307 New file.
36308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36310 file.
36311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36312 New file.
36313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36314 file.
36315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36316 file.
36317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36318 file.
36319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36320 file.
36321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36322 file.
36323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36324 New file.
36325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36326 file.
36327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36328 file.
36329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36330 New file.
36331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36332 file.
36333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36335 file.
36336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36337 New file.
36338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36339 file.
36340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36341 file.
36342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36343 file.
36344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36345 file.
36346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36347 file.
36348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36349 New file.
36350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36351 file.
36352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36353 file.
36354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36355 New file.
36356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36357 file.
36358 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36359 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36360 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36361 file.
36362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36363 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36364 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36365 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36366 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36367 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36368 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36369 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36370 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36371 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36374 file.
36375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36376 New file.
36377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36378 file.
36379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36380 file.
36381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36382 file.
36383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36384 file.
36385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36386 file.
36387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36388 New file.
36389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36390 New file.
36391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36392 file.
36393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36394 New file.
36395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36396 file.
36397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36399 file.
36400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36401 New file.
36402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36403 file.
36404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36405 file.
36406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36407 file.
36408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36409 file.
36410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36411 file.
36412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36413 New file.
36414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36415 New file.
36416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36417 file.
36418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36419 New file.
36420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36421 file.
36422
41d73a1b
JM
364232012-04-28 Joseph Myers <joseph@codesourcery.com>
36424
36425 * conform/conformtest.pl: Fix typo in handling typed-constant from
36426 allow-header.
36427
28aeeda4
JM
364282012-04-27 Joseph Myers <joseph@codesourcery.com>
36429
adae8f5e
JM
36430 * README: Cut down references to pre-2.6 Linux kernels and
36431 Linuxthreads. Update lists of configurations in libc and ports
36432 and sort alphabetically. Say "or newer" with Linux kernel version
36433 requirements.
36434
28aeeda4
JM
36435 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36436
a462cb63
RA
364372012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36438
36439 [BZ #887]
36440 * math/libm-test.inc (logb_test_downward): New test to expose
36441 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36442 rounding mode.
36443
6ad3493e
JM
364442012-04-27 Joseph Myers <joseph@codesourcery.com>
36445
36446 [BZ #14027]
36447 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36448 to be done.
36449 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36450 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36451
2ce4f015
JM
364522012-04-26 Joseph Myers <joseph@codesourcery.com>
36453
5aeb141a
JM
36454 * sysdeps/unix/i386/brk.S: Remove file.
36455 * sysdeps/unix/i386/dl-brk.S: Likewise.
36456 * sysdeps/unix/i386/pipe.S: Likewise.
36457 * sysdeps/unix/i386/sigreturn.S: Likewise.
36458 * sysdeps/unix/i386/syscall.S: Likewise.
36459 * sysdeps/unix/i386/vfork.S: Likewise.
36460 * sysdeps/unix/i386/wait.S: Likewise.
36461
7143acae
JM
36462 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36463 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36464
2ce4f015
JM
36465 * configure.in (arm*-none*): Do not allow without
36466 --enable-hacker-mode.
36467 (netbsd*): Remove case setting base_os.
36468 (386bsd*): Likewise.
36469 (freebsd*): Likewise.
36470 (bsdi*): Likewise.
36471 (osf*): Likewise.
36472 (sunos*): Likewise.
36473 (ultrix*): Likewise.
36474 (newsos*): Likewise.
36475 (dynix*): Likewise.
36476 (*bsd*): Likewise.
36477 (sysv*): Likewise.
36478 (isc*): Likewise.
36479 (esix*): Likewise.
36480 (sco*): Likewise.
36481 (minix*): Likewise.
36482 (irix4*): Likewise.
36483 (irix6*): Likewise.
36484 (solaris[2-9]*): Likewise.
36485 (none): Likewise.
36486 * configure: Regenerated.
36487
0ac229c8
AZ
364882012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36489
36490 [BZ #11521]
36491 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36492 overflow or cancellation in calculating denominator.
36493 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36495 down expression to avoid unexpected rounding in newer GCCs.
36496 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36497
33f244f4
DM
364982012-04-26 David S. Miller <davem@davemloft.net>
36499
36500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36501 long-double compat symbols.
36502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36515
cfa1f3e8
DM
365162012-04-25 David S. Miller <davem@davemloft.net>
36517
36518 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36519 HWCAP_* values only after the memory barriers have been defined.
36520 (atomic_full_barrier): Define.
36521 (atomic_read_barrier): Define.
36522 (atomic_write_barrier): Define.
36523
6e236b92
SP
365242012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36525
36526 * shlib-versions: Add libgcc_s version information.
36527 * sysdeps/generic/libgcc_s.h: Remove.
36528 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36529 libgcc_s.h.
36530 * sysdeps/gnu/unwind-resume.c: Likewise.
36531 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36532
aab39a09
DM
365332012-04-25 David S. Miller <davem@davemloft.net>
36534
36535 * sysdeps/unix/sparc/brk.S: Delete.
36536 * sysdeps/unix/sparc/dl-brk.S: Delete.
36537 * sysdeps/unix/sparc/pipe.S: Delete.
36538 * sysdeps/unix/sparc/sysdep.S: Delete.
36539 * sysdeps/unix/sparc/sysdep.h: Delete.
36540 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36541 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36542 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36543 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36544 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36545 (JUMPTARGET): Remove.
36546 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36547 sysdeps/unix/sparc/sysdep.h
36548 (ENTRY, END): Remove.
36549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36550
a3cc4f48
JM
365512012-04-25 Joseph Myers <joseph@codesourcery.com>
36552
2ed8cda2
JM
36553 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36554 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36555 -DIS_IN_build.
36556
35d76d59
JM
36557 * timezone/README: Update upstream location and email address for
36558 tzcode and tzdata.
36559 * timezone/zdump.c: Update from tzcode 2012b.
36560 * timezone/zic.c: Likewise.
36561
a3cc4f48
JM
36562 * configure.in (libc_cv_as_needed): Remove test.
36563 * configure: Regenerated.
36564 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36565 conditional definition.
36566 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36567 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36568 * config.make.in (have-as-needed): Remove variable.
36569
ceab42c3
SP
365702012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36571 Paul Pluzhnikov <ppluzhnikov@google.com>
36572
36573 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36574 strings correctly.
36575
3ce2865f
CLT
365762012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36577
36578 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36579 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36580 * sysdeps/sh/strlen.S: Likewise.
36581
f37e0d68
JM
365822012-04-24 Joseph Myers <joseph@codesourcery.com>
36583
ae186e9a
JM
36584 * sysdeps/unix/fork.S: Remove file.
36585 * sysdeps/unix/i386/fork.S: Likewise.
36586 * sysdeps/unix/sparc/fork.S: Likewise.
36587
b96914af
JM
36588 * sysdeps/unix/system.c: Remove file.
36589 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36590
f37e0d68
JM
36591 * sysdeps/unix/getegid.S: Remove file.
36592 * sysdeps/unix/geteuid.S: Likewise.
36593
87ef29ca
RM
365942012-04-24 Roland McGrath <roland@hack.frob.com>
36595
83bcd236
RM
36596 * scripts/check-localplt.awk: New file.
36597 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36598 of diff.
36599 * scripts/data/localplt-generic.data: Add a comment.
36600
87ef29ca
RM
36601 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36602 NODE when __dir_mkfile failed.
36603 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36604 Reported by Ludovic Courtès <ludo@gnu.org>.
36605
e5a6e567
AJ
366062012-04-24 Andreas Jaeger <aj@suse.de>
36607
36608 * Makerules (common-clean): Also remove gen-as-const-headers
36609 files.
36610
c1820385
JM
366112012-04-24 Joseph Myers <joseph@codesourcery.com>
36612
36613 * Makerules (native-compile): Do not change working directory for
36614 build. Use $(OUTPUT_OPTION) in command.
36615 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36616
94e02fc4
AZ
366172012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36618
36619 [BZ #13886]
36620 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36621 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36622 * math/libm-test.inc (floor_test): Add more tests.
36623 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36624
3a533ca3
JM
366252012-04-24 Joseph Myers <joseph@codesourcery.com>
36626
940ab4b3
JM
36627 * sysdeps/unix/getdents.c: Remove file.
36628 * sysdeps/unix/sysv/getdents.c: Likewise.
36629 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36630
90e037bd
JM
36631 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36632 sysdeps/unix/mman/syscalls.list.
36633 (mmap): Likewise.
36634 (mprotect): Likewise.
36635 (msync): Likewise.
36636 (munmap): Likewise.
36637 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36638 * sysdeps/unix/mman/syscalls.list: Remove.
36639 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36640
3a533ca3
JM
36641 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36642 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36643 * configure: Regenerated.
36644 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36645 $(libgcc_s_suffix).
36646 * config.make.in (libgcc_s_suffix): Remove variable.
36647
1ad743de
JM
366482012-04-23 Joseph Myers <joseph@codesourcery.com>
36649
4ad451e2
JM
36650 * sysdeps/unix/sysv/gethostname.c: Move to ...
36651 * sysdeps/posix/gethostname.c: ... here.
36652
5e37ce39
JM
36653 * sysdeps/unix/execve.S: Remove file.
36654
1ad743de
JM
36655 * sysdeps/unix/_exit.S: Remove file.
36656
4e681b5b
AJ
366572012-04-23 Andreas Jaeger <aj@suse.de>
36658
36659 [BZ #13739]
36660 * manual/Makefile: Remove make dist support, there's no
36661 need for a stand-alone documentation tar ball.
36662 (TEXI2DVI): Define always, it's not in Makeconfig.
36663 (dist): Removed.
36664 (tar-it): Removed.
36665 (edition): Removed.
36666 (glibc-doc-$(edition).tar): Removed
36667 (%.Z): Removed.
36668 (%.gz): Removed.
36669 (%.uu): Removed.
36670 (ETAGS): Remove, it's in Makeconfig.
36671 (move-if-change): Remove, it's in Makeconfig.
36672
38686a03 366732012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36674
36675 [BZ #13970]
36676 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36677 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36678 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36679 (strtod_l, strtof_l, strtold_l): Remove __wur.
36680 It is not necessarily an error to ignore strtol's return value.
36681 One can reliably look at the stored endptr to decide whether
36682 the number had valid syntax.
36683
7c0616fa
AJ
366842012-04-21 Andreas Jaeger <aj@suse.de>
36685
803cb6b7 36686 [BZ #13739]
7c0616fa
AJ
36687 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36688
b0fe253f
JM
366892012-04-21 Joseph Myers <joseph@codesourcery.com>
36690
36691 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36692 * sysdeps/unix/sysv/Versions: Remove file.
36693
8280f22d
MT
366942012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36695
36696 [BZ #13927]
36697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36698
75ce411f 366992012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36700
36701 [BZ #7064]
36702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36703 version from __vm86.
36704
097d59fa
JM
367052012-04-20 Joseph Myers <joseph@codesourcery.com>
36706
a90f3bcb
JM
36707 * sysdeps/unix/common/lxstat.c: Remove file.
36708 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36709
edc7ea78
JM
36710 * sysdeps/unix/sysv/Makefile: Remove file.
36711
cb78c221
JM
36712 * sysdeps/unix/sysv/direct.h: Remove file.
36713
efa6a45f
JM
36714 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36715 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36716 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36717 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36718 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36719 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36720 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36721
9c9f2d0c
JM
36722 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36723
4541c83b
JM
36724 * sysdeps/unix/xmknod.c: Remove file.
36725 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36726
f5d153a0
JM
36727 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36728
aa746595
JM
36729 * sysdeps/unix/sysv/i386/time.S: Remove file.
36730
cce5905e
JM
36731 * sysdeps/unix/fxstat.c: Remove file.
36732 * sysdeps/unix/xstat.c: Likewise.
36733 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36734
37fa3841
JM
36735 * sysdeps/unix/sysv/sigaction.c: Remove file.
36736
ff1962a3
JM
36737 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36738 (sysdep_headers): Remove variable.
36739 [termio.h not in sysdep_headers] (generated): Likewise.
36740 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36741 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36742 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36743 * sysdeps/unix/sysv/tcflow.c: Likewise.
36744 * sysdeps/unix/sysv/tcflush.c: Likewise.
36745 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36746 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36747 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36748 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36749 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36750
e7740d31
JM
36751 * sysdeps/unix/siglist.c: Remove file.
36752
ee06f18b
JM
36753 * sysdeps/unix/getppid.S: Remove file.
36754
097d59fa
JM
36755 * sysdeps/unix/mkdir.c: Remove file.
36756 * sysdeps/unix/rmdir.c: Likewise.
36757
ff3d51ec
AS
367582012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36759
36760 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36761 ERR_MAX value.
36762 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36763 errlist-compat value.
36764
50f81fd7
DM
367652012-04-18 David S. Miller <davem@davemloft.net>
36766
36767 * sysdeps/generic/memcopy.h (reg_char): Delete.
36768 * debug/strcat_chk.c: Use char, not reg_char.
36769 * debug/strcpy_chk.c: Likewise.
36770 * debug/strncat_chk.c: Likewise.
36771 * debug/strncpy_chk.c: Likewise.
36772 * string/memchr.c: Likewise.
36773 * string/memrchr.c: Likewise.
36774 * string/rawmemchr.c: Likewise.
36775 * string/strcat.c: Likewise.
36776 * string/strchr.c: Likewise.
36777 * string/strchrnul.c: Likewise.
36778 * string/strcmp.c: Likewise.
36779 * string/strcpy.c: Likewise.
36780 * string/strncat.c: Likewise.
36781 * string/strncmp.c: Likewise.
36782 * string/strncpy.c: Likewise.
36783
8ff41c46
WS
367842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36785
36786 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36787 __builtin_memcopy is called when src and dest ranges are known to not
36788 overlap.
36789
6b652f46
WS
367902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36791
36792 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36793 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36794 fwd_align_merge macro call.
36795 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36796 bwd_align_merge macro call.
36797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36798
b282631e
WS
367992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36800
36801 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36802 bwd_align_merge macros.
36803 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36804 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36806
95aa737c
DM
368072012-04-18 David S. Miller <davem@davemloft.net>
36808
36809 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36810
7a99a614
AJ
368112012-04-18 Andreas Jaeger <aj@suse.de>
36812
36813 [BZ# 6794]
36814 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36815 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36816 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36817
36818 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36819 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36820 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36821
36822 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36823 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36824 Adjust for changed ldbl-128 files.
36825
36826 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36827 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36828 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36829
e5270c23
DM
368302012-04-17 David S. Miller <davem@davemloft.net>
36831
36832 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36833
fb5e92c9
AS
368342012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36835
36836 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36837 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36838 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36839 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36840 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36841 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36842
76da7265
AZ
368432012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36844
36845 [BZ #6794]
36846 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36847 * math/libm-test.inc: Add ilogb errno and exception tests.
36848 * math/w_ilogb.c: New file: ilogb wrapper.
36849 * math/w_ilogbf.c: New file: ilogbf wrapper.
36850 * math/w_ilogbl.c: New file: ilogbl wrapper.
36851 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36852 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36853 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36854 exception being thrown with 0.0 as argument.
36855 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36856 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36857 exception being thrown with 0.0 as argument.
36858 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36859 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36860 exception being thrown with 0.0 as argument.
36861 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36862 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36863 exception being thrown with 0.0 as argument.
36864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36865 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36866 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36867 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36868 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36869 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36870 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36871 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36872 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36873
0396e69d
PB
368742012-04-17 Petr Baudis <pasky@ucw.cz>
36875
36876 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36877 with altivec.
36878
750b5926
MP
368792012-04-16 Marek Polacek <polacek@redhat.com>
36880
36881 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36882
751728a1
MP
368832012-04-16 Marek Polacek <polacek@redhat.com>
36884
36885 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36886 operands of fdivp instruction.
36887
34a27407
L
368882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36889
36890 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36891 * elf/tst-auditmod3b.c: Likewise.
36892 * elf/tst-auditmod4b.c: Likewise.
36893 * elf/tst-auditmod5b.c: Likewise.
36894 * elf/tst-auditmod6b.c: Likewise.
36895 * elf/tst-auditmod6c.c: Likewise.
36896 * elf/tst-auditmod7b.c: Likewise.
36897 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36898 * sysdeps/x86_64/preconfigure.in: Likewise.
36899 * sysdeps/x86_64/preconfigure: Regenerated.
36900
7e73e17d
L
369012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36902
36903 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36904 __ILP32__.
36905
c7a6ab72
AB
369062012-04-13 Antoine Balestrat <merkil33@gmail.com>
36907
36908 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36909 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36910
a9e8e0e0
CL
369112012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36912
36913 [BZ #13973]
36914 * locale/iso-639.def: Fix gl language name. Spotted by
36915 Yaron Shahrabani.
36916
ec98af7d
RM
369172012-04-12 Roland McGrath <roland@hack.frob.com>
36918
36919 [BZ #2074]
36920 * libio/libio.h (__io_write_fn): Update comment.
36921
247c3ede
PB
369222012-04-12 Petr Baudis <pasky@ucw.cz>
36923
36924 [BZ #2074]
36925 * stdio.texi (Hook Functions): The user provided writer function
36926 is not allowed to return -1.
36927
55939d6d
DM
369282012-04-11 David S. Miller <davem@davemloft.net>
36929
36930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36931
90020f5a
MF
369322012-04-11 Mike Frysinger <vapier@gentoo.org>
36933
36934 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36935 Add a leading slash to rtkaio.
36936
288f9098
JM
369372012-04-11 Jim Meyering <meyering@redhat.com>
36938
90020f5a
MF
36939 [BZ #11959]
36940 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36941 It is not necessarily an error to ignore fwrite's return
36942 value. One can reliably use ferror to test for errors after
36943 the fact.
288f9098 36944
4be2b570
L
369452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36946
36947 * bits/types.h (__snseconds_t): New type.
36948 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36949
36950 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36952 (__SNSECONDS_T_TYPE): Likewise.
36953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36954 (__SNSECONDS_T_TYPE): Likewise.
36955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36956 (__SNSECONDS_T_TYPE): Likewise.
36957
288f9098 369582012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36959
36960 [BZ #2636]
36961 * manual/time.texi (Processor Time): Return type of times is
36962 elapsed real time since an arbitrary point in the past.
36963 (CPU Time): Move CLK_TCK from here...
36964 (Processor Time): ...to here. Correct description.
36965 * manual/conf.texi (Constants for Sysconf): Correct description of
36966 _SC_CLK_TCK.
36967
d7dd4413
DM
369682012-04-10 David S. Miller <davem@davemloft.net>
36969
36970 [BZ #13967]
36971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36972 where the is a gap between DT_REL(A) and DT_JMPREL.
36973
b46068fc
L
369742012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36975
36976 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36977 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36978 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36979
73d65cc3
SP
369802012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36981
36982 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36983 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36984 (dl_main): Handle --inhibit-cache.
36985 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36986 _dl_inhibit_cache.
36987 * elf/dl-load.c (_dl_map_object): Use it.
36988 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36989
bcc8d661
JM
369902012-04-09 Joseph Myers <joseph@codesourcery.com>
36991
8f9a2fae
JM
36992 [BZ #13872]
36993 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36994 (__ieee754_powl): Saturate large exponents rather than testing for
36995 overflow of y*log2(x).
36996 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36997 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36998 exceptions.
36999
bcc8d661
JM
37000 [BZ #11521]
37001 * math/s_ctan.c: Include <float.h>.
37002 (__ctan): Avoid internal overflow or cancellation in calculating
37003 denominator.
37004 * math/s_ctanf.c: Likewise.
37005 * math/s_ctanl.c: Likewise.
37006 * math/s_ctanh.c: Likewise.
37007 * math/s_ctanhf.c: Likewise.
37008 * math/s_ctanhl.c: Likewise.
37009 * math/libm-test.inc (ctan_test): Add more tests.
37010 (ctanh_test): Likewise.
37011 * sysdeps/i386/fpu/libm-test-ulps: Update.
37012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37013
823fbbb4
AJ
370142012-04-09 Andreas Jaeger <aj@suse.de>
37015
03879793
AJ
37016 [BZ #6894]
37017 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37018 is an optional BSD extension.
37019
823fbbb4
AJ
37020 [BZ #10254]
37021 * manual/stdio.texi (Opening Streams): Document additional fopen
37022 parameters.
37023
8de131cb
RM
370242012-04-09 Roland McGrath <roland@hack.frob.com>
37025
37026 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37027 %eax without telling the compiler.
37028
c0ed9d7d
CD
370292012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37030
37031 [BZ # 13963]
37032 * manual/install.texi: Use sourceware.org.
37033
c483f6b4
JM
370342012-04-09 Joseph Myers <joseph@codesourcery.com>
37035
d7dd9453
JM
37036 [BZ #13873]
37037 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37038 (__ieee754_pow): Generate overflow and underflow using huge*huge
37039 and tiny*tiny rather than just returning constant infinity or zero
37040 for large exponents.
37041 * math/libm-test.inc (pow_test): Require overflow exceptions for
37042 applicable cases of large exponents.
37043
c483f6b4
JM
37044 [BZ #706]
37045 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37046 (__ieee754_pow): Use iterative multiplication algorithm only for
37047 integer exponents with absolute value below 1024. Check for odd
37048 integer exponents when using algorithm for real exponents.
37049 * math/libm-test.inc (pow_test): Add more tests.
37050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37051
d2de7579
JM
370522012-04-08 Joseph Myers <joseph@codesourcery.com>
37053
37054 [BZ #13705]
37055 * math/libm-test.inc (exp_test): Do not allow overflow exception
37056 on underflow test.
37057
f77f1232
AJ
370582012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37059
37060 [BZ #13705]
37061 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37062 instead of __kernel_standard_f.
37063
3884932b
MF
370642012-04-08 Mike Frysinger <vapier@gentoo.org>
37065
37066 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37067 * sysdeps/x86_64/memset_chk.S: Likewise.
37068
54472e9c
AJ
370692012-04-08 Andreas Jaeger <aj@suse.de>
37070
6ab0fbfc
AJ
37071 [BZ #10153]
37072 * manual/startup.texi (Environment Access): Describe return value
37073 for putenv and setenv.
37074
61efba8c
AJ
37075 [BZ #6895]
37076 * manual/filesys.texi (Directory Entries): Add description for
37077 DT_LNK.
37078
95c3f29a
AJ
37079 [BZ #6890]
37080 * manual/filesys.texi (Directory Entries): Clarify that it's file
37081 system not operating system in the description of DT_UNKNOWN.
37082
54472e9c
AJ
37083 [BZ #6578]
37084 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37085
624254b1
SC
370862012-04-08 Stephen Compall <s11@member.fsf.org>
37087
37088 [BZ #6649]
37089 * manual/llio.texi (Opening and Closing Files): Add cross
37090 reference to explain mode argument.
37091
1e4920e0
MF
370922012-04-07 Mike Frysinger <vapier@gentoo.org>
37093
37094 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37095 * sysdeps/x86_64/memset_chk.S: Likewise.
37096
5ed848f3
DM
370972012-04-07 David S. Miller <davem@davemloft.net>
37098
37099 * elf/elf.h (R_SPARC_WDISP10): Define.
37100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37101 R_SPARC_SIZE32.
37102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37103 R_SPARC_SIZE64 and R_SPARC_H34.
37104
96154cd8
CD
371052012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37106
37107 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37108 conditions and remove no longer applicable assertion.
37109
9904dc47
L
371102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37111
37112 * bits/byteswap.h: Include <features.h>.
37113 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37114 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37115
f8887d0a
L
371162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37117
37118 * bits/byteswap.h (__bswap_16): Removed.
37119 Include <bits/byteswap-16.h> to get __bswap_16.
37120 * sysdeps/i386/bits/byteswap.h: Likewise.
37121 * sysdeps/s390/bits/byteswap.h: Likewise.
37122 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37123 * bits/byteswap-16.h: New file.
37124 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37125 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37126 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37127 * string/Makefile (headers): Add bits/byteswap-16.h.
37128
62470f60
PP
371292012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37130
37131 [BZ #13895]
37132 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37133 extra indirection.
37134 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37135 * nss/tst-nss-static.c: New.
37136
4dad7bab
RM
371372012-04-06 Robert Millan <rmh@gnu.org>
37138
37139 [BZ #6486]
37140 * manual/llio.texi (File Position Primitive): lseek
37141 refers to WHENCE when it really means OFFSET.
37142
e9142a17
AJ
371432012-04-06 Andreas Jaeger <aj@suse.de>
37144
2c040eff
AJ
37145 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37146 strncmp declarations.
37147
e9142a17
AJ
37148 * abilist/libc.abilist: Add __poll and __ppoll.
37149
ff9f1c5f
DM
371502012-04-05 David S. Miller <davem@davemloft.net>
37151
dcd2ae90
DM
37152 * scripts/check-local-headers.sh: Accept a host triplet in the
37153 path matched by the exclude regexp.
37154
993eb054
DM
37155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37156 definition.
37157 * sysdeps/powerpc/powerpc32/dl-machine.h
37158 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37159 * sysdeps/s390/s390-32/dl-machine.h
37160 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37161 * sysdeps/sparc/sparc32/dl-machine.h
37162 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37163 * sysdeps/sparc/sparc64/dl-machine.h
37164 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37165
ff9f1c5f
DM
37166 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37167 lazy binding.
48e2e132 37168 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37169 undefined symbol errors.
37170
48e2e132 37171 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37172 DT_NEEDED entries.
37173
e80d6f94
MM
371742012-04-05 Michael Matz <matz@suse.de>
37175
37176 [BZ #13592]
37177 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37178
349fa79f
AJ
371792012-04-05 Andreas Jaeger <aj@suse.de>
37180
37181 [BZ #13908]
37182 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37183 comment.
37184
f402708f
KK
371852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37186
37187 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37188 which ROUND is no valid rounding mode.
37189
2ecccfc9
KK
371902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37191
37192 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37193 read again.
37194 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37195
8a53f50f
KK
371962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37197
37198 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37199 an exception using FPU order intentionally.
37200
372012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37202
37203 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37204 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37205 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37206 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37207
d653abb7
SJ
372082012-04-05 Simon Josefsson <simon@josefsson.org>
37209
37210 [BZ #12340]
37211 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37212 EINVAL when BUFLEN is too smal.
37213
c3b1bf7d
TS
372142012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37215
37216 [BZ #13553]
37217 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37218 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37219
b1aa60f3
AJ
372202012-04-03 Andreas Jaeger <aj@suse.de>
37221
c3b1bf7d 37222 [BZ #13938]
67f60a26
AJ
37223 * manual/setjmp.texi (System V contexts): Fix sentence.
37224
b1aa60f3
AJ
37225 [BZ #13926]
37226 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37227 New macro for this case.
37228 [!__GNUC__] (__bswap_64): New inline function for this case.
37229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37230 * bits/byteswap.h: Likewise.
37231 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37232 ull, guard with __GLIBC_HAVE_LONG_LONG.
37233
37234 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37235 __GLIBC_HAVE_LONG_LONG.
37236
37237 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37238 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37239
39c59c35
TMQMF
372402012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37241
37242 [BZ #13691]
37243 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37244 inptr and inend, rather than using last_ch.
37245
135ffda8
DM
372462012-04-02 David S. Miller <davem@davemloft.net>
37247
37248 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37249 * stdio-common/printf-parse.h (read_int): Change return type to
37250 'int', return -1 on INT_MAX overflow.
37251 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37252 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37253 overflows INT_MAX. Check for overflow of in-format-string precision
37254 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37255 SIZE_MAX not INT_MAX for integer overflow test.
37256 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37257 skip the construct in the format string but do not record anything.
37258 * stdio-common/bug22.c: Adjust to test both width/prevision
37259 INT_MAX overflow as well as total length INT_MAX overflow. Check
37260 explicitly for proper errno values.
37261
228c019e
TS
372622012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37263
302cadd3
TS
37264 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37265 CHAR_MAX.
37266 * string/test-strcmp.c [! WIDE]: Likewise.
37267 * time/tst-mktime2.c: Likewise for INT_MAX.
37268 * string/test-string.h: #include <sys/param.h> for MIN.
37269
228c019e
TS
37270 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37271 * sysdeps/i386/init-first.c (init): Likewise.
37272 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37273 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37274 * sysdeps/sh/init-first.c (init): Likewise.
37275
cfa633f5
UD
372762012-04-01 Ulrich Drepper <drepper@gmail.com>
37277
37278 * po/ru.po: Update from translation team.
d1635ef8 37279 * po/vi.po: Likewise.
cfa633f5 37280
6cd0a5ea
SP
372812012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37282
37283 * resolv/nss_dns/dns-host.c: Merge copyright years.
37284
4b43400f
LD
372852012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37286
37287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37288 Optimize memcpy with prefetch if
37289 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37290 src, dst pointers have unequal 16 byte alignments.
37291
48c41d04
SP
372922012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37293
37294 [BZ #13928]
37295 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37296 from a CNAME entry and return the minimum ttl for the query.
37297 (gaih_getanswer_slice): Likewise.
37298
b8dc394d
JL
372992012-03-30 Jeff Law <law@redhat.com>
37300
37301 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37302 due to long keys.
37303 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37304 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37305
2f5a5ed0
JL
37306 * resolv/nss_dns/dns-host.c: Update copyright year.
37307
1d39e359
UD
373082012-03-30 Ulrich Drepper <drepper@gmail.com>
37309
c030f70c 37310 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37311 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37312
1d39e359
UD
37313 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37314 comments for sendmmsg.
37315
373162012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37317
37318 [BZ #13691]
37319 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37320 with only 1 character between 0x0041 and 0x01b0.
37321 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37322 * wcsmbs/tst-mbsnrtowcs.c: New file.
37323
20fde227
DM
373242012-03-29 David S. Miller <davem@davemloft.net>
37325
37326 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37327 small copies by hand.
37328
984a4237
JL
373292012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37330
37331 [BZ #13761]
57f41c40
AS
37332 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37333 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37334 group memberships.
984a4237 37335
18c9d62b
DM
373362012-03-28 David S. Miller <davem@davemloft.net>
37337
88d85d4f
DM
37338 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37339 that branches into memcpy.
37340 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37341 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37342 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37343 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37345 bits.
37346 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37347 implementation too.
37348 * sysdeps/sparc/mempcpy.S: New file.
37349
e5aa83e1
DM
37350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37351 the IFUNC routine in the libc case.
37352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37353
88570753
DM
37354 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37355 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37356 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37357 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37358 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37359 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37360 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37361 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37362
249d7567
DM
37363 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37364 loop to 256 bytes instead of 64 bytes and fix test signedness.
37365
18c9d62b
DM
37366 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37367 * sysdeps/sparc/sparc32/Makefile: rather than here...
37368 * sysdeps/sparc/sparc64/Makefile: and here.
37369
05f3d1f6
UD
373702012-03-28 Ulrich Drepper <drepper@gmail.com>
37371
37372 * malloc/mallocbug.c: Avoid warnings about unused variables.
37373
86ae07a8
JL
373742012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37375
37376 [BZ #13760]
37377 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37378 in the right place. Discard and retry query if response is
37379 larger than input buffer size.
37380
41bf21a1
JM
373812012-03-28 Joseph Myers <joseph@codesourcery.com>
37382
d6270972
JM
37383 [BZ #369]
37384 [BZ #2678]
37385 [BZ #3866]
37386 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37387 x for large integer exponent.
37388 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37389 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37390 sign of result as needed afterwards.
37391 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37392 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37393 result for underflowing pow the same as for overflow.
37394 (__kernel_standard_l): Handle powl overflow and underflow here
37395 rather than calling __kernel_standard.
37396 * math/libm-test.inc (pow_test): Add more tests.
37397
414fca03 37398 [BZ #3868]
41bf21a1
JM
37399 [BZ #13879]
37400 [BZ #13910]
37401 [BZ #13911]
37402 [BZ #13912]
37403 [BZ #13913]
37404 [BZ #13915]
37405 [BZ #13916]
37406 [BZ #13917]
37407 [BZ #13918]
37408 [BZ #13919]
37409 [BZ #13920]
37410 [BZ #13921]
37411 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37412 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37413 (__kernel_standard_l): New function.
37414 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37415 __kernel_standard.
37416 * math/w_acosl.c (__acosl): Likewise.
37417 * math/w_asinl.c (__asinl): Likewise.
37418 * math/w_atan2l.c (__atan2l): Likewise.
37419 * math/w_atanhl.c (__atanhl): Likewise.
37420 * math/w_coshl.c (__coshl): Likewise.
37421 * math/w_exp10l.c (__exp10l): Likewise.
37422 * math/w_exp2l.c (__exp2l): Likewise.
37423 * math/w_fmodl.c (__fmodl): Likewise.
37424 * math/w_hypotl.c (__hypotl): Likewise.
37425 * math/w_j0l.c (__j0l, __y0l): Likewise.
37426 * math/w_j1l.c (__j1l, __y1l): Likewise.
37427 * math/w_jnl.c (__jnl, __ynl): Likewise.
37428 * math/w_lgammal.c (__lgammal): Likewise.
37429 * math/w_log10l.c (__log10l): Likewise.
37430 * math/w_log2l.c (__log2l): Likewise.
37431 * math/w_logl.c (__logl): Likewise.
37432 * math/w_powl.c (__powl): Likewise.
37433 * math/w_remainderl.c (__remainderl): Likewise.
37434 * math/w_scalbl.c (sysv_scalbl): Likewise.
37435 * math/w_sinhl.c (__sinhl): Likewise.
37436 * math/w_sqrtl.c (__sqrtl): Likewise.
37437 * math/w_tgammal.c (__tgammal): Likewise.
37438 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37439 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37440 * math/libm-test.inc (acos_test): Add more tests.
37441 (acosh_test): Likewise.
37442 (asin_test): Likewise.
37443 (atanh_test): Likewise.
37444 (exp_test): Likewise.
37445 (exp10_test): Likewise.
37446 (exp2_test): Likewise.
37447 (expm1_test): Likewise.
37448 (lgamma_test): Likewise.
37449 (log_test): Likewise.
37450 (log10_test): Likewise.
37451 (log1p_test): Likewise.
37452 (log2_test): Likewise.
37453 (pow_test): Do not allow some spurious overflow exceptions.
37454 (sqrt_test): Add more tests.
37455 (tgamma_test): Likewise.
37456 (y0_test): Likewise.
37457 (y1_test): Likewise.
37458 (yn_test): Likewise.
37459
dd62fda6
AB
374602012-03-27 Anton Blanchard <anton@samba.org>
37461
37462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37463 MAP_HUGETLB.
37464 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37465 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37466 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37467
1e3cdfda
AJ
374682012-03-27 David S. Miller <davem@davemloft.net>
37469
b855ab85
DM
37470 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37471
1e3cdfda
AJ
37472 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37473 have-as-vis3 check.
37474
374752012-03-27 Andreas Jaeger <aj@suse.de>
37476
37477 * sysdeps/x86_64/elf/configure.in: Moved to ...
37478 * sysdeps/x86_64/configure.in: ... here.
37479 * sysdeps/x86_64/elf/start.S: Moved to ...
37480 * sysdeps/x86_64/start.S: ... here.
37481 * sysdeps/x86_64/elf/configure: Delete.
37482
37483 * sysdeps/x86_64/configure.in: Merge contents from
37484 sysdeps/i386/configure.in (without i686 check).
37485
37486 * sysdeps/i386/elf/Versions: Merge into ...
37487 * sysdeps/i386/Versions: ... this.
37488 * sysdeps/i386/elf/Versions: Delete file.
37489 * sysdeps/i386/elf/start.S: Moved to ...
37490 * sysdeps/i386/start.S: ...here.
37491 * sysdeps/i386/elf/configure.in: Merge into...
37492 * sysdeps/i386/configure.in: ...here.
37493 * sysdeps/i386/elf/configure.in: Delete file.
37494 * sysdeps/i386/elf/configure: Delete file.
37495
37496 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37497 * debug/backtracesyms.c: ... here.
37498 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37499 * debug/backtracesymsfd.c: ... here.
37500 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37501 * sysdeps/generic/ifunc-sel.h: ... here.
37502
37503 * sysdeps/unix/i386/start.c: Delete file.
37504 * sysdeps/unix/sparc/start.c: Delete file.
37505 * sysdeps/unix/start.c: Delete file.
37506
37507 * sysdeps/sh/elf/configure.in: Moved to ...
37508 * sysdeps/sh/configure.in: ... here.
37509 * sysdeps/sh/elf/start.S: Moved to ...
37510 * sysdeps/sh/start.S: ... here.
37511 * sysdeps/sh/elf/configure: Delete file.
37512
37513 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37514 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37515 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37516 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37517 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37518 * sysdeps/powerpc/powerpc64/start.S: here.
37519 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37520 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37521 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37522 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37523 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37524
37525 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37526 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37527 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37528 * sysdeps/powerpc/powerpc32/start.S: ... here.
37529 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37530 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37531 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37532
37533 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37534 * sysdeps/powerpc/ifunc-sel.h: ... here.
37535 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37536 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37537
37538 * sysdeps/sparc/elf/configure.in: Moved to ...
37539 * sysdeps/sparc/configure.in: ... here.
37540 * sysdeps/sparc/elf/configure: Delete file.
37541 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37542 * sysdeps/sparc/sparc32/start.S: ... here.
37543 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37544 * sysdeps/sparc/sparc64/start.S: ... here.
37545 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37546 * sysdeps/sparc/sparc32/Makefile: ... this.
37547 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37548 * sysdeps/sparc/sparc64/Makefile: ... this.
37549
37550 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37551 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37552 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37553 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37554 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37555 * sysdeps/s390/s390-32/setjmp.S: ... here.
37556 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37557 * sysdeps/s390/s390-32/configure.in: ... here.
37558 * sysdeps/s390/s390-32/elf/configure: Delete file.
37559 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37560 * sysdeps/s390/s390-32/start.S: ... here.
37561
37562 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37563 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37564 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37565 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37566 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37567 * sysdeps/s390/s390-64/setjmp.S: ... here.
37568 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37569 * sysdeps/s390/s390-64/configure.in: ... here
37570 * sysdeps/s390/s390-64/elf/configure: Delete file.
37571 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37572 * sysdeps/s390/s390-64/start.S: ... here.
37573 * sysdeps/s390/s390-64/elf/configure: Delete.
37574
37575 * configure.in: Remove support for elf directories in sysdeps.
37576
37577 * configure: Regenerated.
37578 * sysdeps/i386/configure: Regenerated.
37579 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37580 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37581 * sysdeps/s390/s390-32/configure: Regenerated.
37582 * sysdeps/s390/s390-64/configure: Regenerated.
37583 * sysdeps/sh/configure: Regenerated.
37584 * sysdeps/sparc/configure: Regenerated.
37585 * sysdeps/x86_64/configure: Regenerated.
37586
a3f61311
AS
375872012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37588
c876e002
AS
37589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37590
a3f61311
AS
37591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37592 denormal result into account.
37593
ac4c54f0
RM
375942012-03-25 Roland McGrath <roland@hack.frob.com>
37595
37596 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37597 Reported by Allan McRae <allan@archlinux.org>.
37598
6a9b9c02
JL
375992012-03-23 Jeff Law <law@redhat.com>
37600
37601 * nss/getnssent.c (__nss_getent): Fix typo.
37602
4c42a0c1
DM
376032012-03-23 David S. Miller <davem@davemloft.net>
37604
37605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37606
1532c7ac
L
376072012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37608
37609 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37610 to pad to uint64_t for each field.
37611 (dl_tls_index): Replace unsigned long with uint64_t.
37612
3ff42526
PP
376132012-03-23 Daniel Jacobowitz <dmj@google.com>
37614 Paul Pluzhnikov <ppluzhnikov@google.com>
37615
37616 [BZ #6528]
37617 * grp/Makefile (otherlibs): Don't set it.
37618 * inet/Makefile (otherlibs): Likewise.
37619 * login/Makefile (otherlibs): Likewise.
37620 * nscd/Makefile (otherlibs): Likewise.
37621 * posix/Makefile (otherlibs): Likewise.
37622 * pwd/Makefile (otherlibs): Likewise.
37623 * rt/Makefile (otherlibs): Likewise.
37624 * sunrpc/Makefile (otherlibs): Likewise.
37625 * nss/Makefile (otherlibs): Likewise.
37626 Add libnss_files to routines and static-only-routines.
37627 ($(objpfx)getent): Remove rule.
37628 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37629 static-only-routines.
37630
7c69cd14
JM
376312012-03-22 Joseph Myers <joseph@codesourcery.com>
37632
37633 [BZ #13892]
37634 * math/s_cexp.c: Include <float.h>.
37635 (__cexp): Handle exp result overflowing not necessarily
37636 overflowing both real and imaginary parts of result.
37637 * math/s_cexpf.c: Likewise.
37638 * math/s_cexpl.c: Likewise.
37639 * math/libm-test.inc (cexp_test): Add more tests.
37640 * sysdeps/i386/fpu/libm-test-ulps: Update.
37641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37642
81b035fe
L
376432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37644
37645 * include/link.h (ELFW): New macro.
37646 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37647 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37648
1da7940c
L
376492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37650
37651 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37652 with uint64_t.
37653
b749dbb9
L
376542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37655
37656 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37657 declaration.
37658 (struct La_x32_retval): Likewise.
37659
2ff87f3f
L
376602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37661
37662 * sysdeps/x86_64/preconfigure.in: New file.
37663 * sysdeps/x86_64/preconfigure: New generated file.
37664
c0df8e69
JM
376652012-03-22 Joseph Myers <joseph@codesourcery.com>
37666
48e44791
JM
37667 [BZ #13824]
37668 * math/e_exp2l.c: Include <float.h>.
37669 (__ieee754_exp2l): Handle overflow and underflow cases
37670 separately. Only pass fractional part of argument to
37671 __ieee754_expl.
37672 * math/libm-test.inc (exp2_test): Add more tests.
37673
c0df8e69
JM
37674 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37675 negating x to take absolute value.
37676 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37677 Likewise.
37678 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37679 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37680 Likewise.
37681 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37682 computing low part if x was negated.
37683 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37684
c8e43ba7
L
376852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37686
37687 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37688 la_x32_gnu_pltexit.
37689 (pltexit): Cast int_retval to ptrdiff_t.
37690 * elf/tst-auditmod3b.c: Likewise.
37691 * elf/tst-auditmod4b.c: Likewise.
37692 * elf/tst-auditmod5b.c: Likewise.
37693 * elf/tst-auditmod6b.c: Likewise.
37694 * elf/tst-auditmod6c.c: Likewise.
37695 * elf/tst-auditmod7b.c: Likewise.
37696
37697 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37698 and x32_gnu_pltexit.
37699
37700 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37701 __ELF_NATIVE_CLASS.
37702 (La_x32_regs): New macro.
37703 (La_x32_retval): Likewise.
37704 (la_x32_gnu_pltenter): New function prototype.
37705 (la_x32_gnu_pltexit): Likewise.
37706
7998fa78
AS
377072012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37708
dcb33988
AS
37709 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37710 exponent.
37711
233fc563
AS
37712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37713
7998fa78
AS
37714 * configure.in (libc_cv_cc_nofma): Check for option to disable
37715 generation of FMA instructions.
37716 * configure: Regenerate.
37717 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37718 * sysdeps/ieee754/dbl-64/Makefile: New file.
37719 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37720 Remove brandred-fma4.
37721 (CFLAGS-brandred-fma4.c): Remove.
37722 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37723 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37724 define.
37725 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37726 define.
37727
8e95c99a
L
377282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37729
37730 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37731 LLONG_MAX != LONG_MAX.
37732 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37733 (_fitoa_word): Likewise.
37734 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37735 LLONG_MAX != LONG_MAX.
37736 * stdio-common/_itowa.h: Include <_itoa.h>.
37737 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37738 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37739 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37740 only if not defined.
37741 (_ITOA_WORD_TYPE): Likewise.
37742 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37743 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37744
6f4db457
DM
377452012-03-21 David S. Miller <davem@davemloft.net>
37746
37747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37748
7785fe5a
L
377492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37750
37751 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37752 of x86_64 when setting libc_cv_slibdir, libdir and
37753 libc_cv_localedir.
37754 * sysdeps/unix/sysv/linux/configure: Regenerated.
37755
4535cd55
JM
377562012-03-21 Joseph Myers <joseph@codesourcery.com>
37757
37758 * manual/lang.texi (Old Varargs): Remove section.
37759 (How Variadic): Update menu.
37760 (va_start): Do not mention varargs.h.
37761
17228132
TS
377622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37763 Joseph Myers <joseph@codesourcery.com>
37764
37765 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37766 link test.
37767 * configure: Regenerated.
37768
8149f976
TS
377692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37770
05f3d1f6
UD
37771 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37772 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37773 conformtest.pl
8149f976 37774
1a4ac776
JM
377752012-03-21 Joseph Myers <joseph@codesourcery.com>
37776
be22ce65
JM
37777 * NOTES: Remove.
37778 * Makefile (files-for-dist): Remove NOTES.
37779 (NOTES): Remove rule.
37780 * README: Don't refer to NOTES.
37781 * manual/creature.texi: Don't include macros.texi.
37782 * manual/intro.texi (creature.texi): Remove comment referring to
37783 NOTES.
37784
40b601fb
JM
37785 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37786 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37787 * configure: Regenerated.
37788 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37789 LIBC_TRY_CC_OPTION.
37790 (libc_cv_as_i686): Likewise.
37791 (libc_cv_cc_avx): Likewise.
37792 (libc_cv_cc_sse2avx): Likewise.
37793 (libc_cv_cc_fma4): Likewise.
37794 (libc_cv_cc_novzeroupper): Likewise.
37795 * sysdeps/i386/configure: Regenerated.
37796
1a4ac776
JM
37797 [BZ #13883]
37798 * sysdeps/i386/fpu/s_cexp.S: Remove.
37799 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37800 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37801 * math/libm-test.inc (cexp_test): Add more tests.
37802 * sysdeps/i386/fpu/libm-test-ulps: Update.
37803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37804
a458e7fe
AM
378052012-03-21 Allan McRae <allan@archlinux.org>
37806
37807 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37808
0cb7efc5
JM
378092012-03-21 Joseph Myers <joseph@codesourcery.com>
37810
37811 [BZ #13871]
37812 * math/w_exp2.c: Do not include <float.h>.
37813 (o_threshold, u_threshold): Remove.
37814 (__exp2): Calculate result before checking finiteness and calling
37815 __kernel_standard.
37816 * math/w_exp2f.c: Likewise.
37817 * math/w_exp2l.c: Likewise.
37818 * math/libm-test.inc (exp2_test): Require overflow exception for
37819 1e6 input.
2460d3aa
JM
37820
37821 [BZ #3866]
37822 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37823 range of signed 64-bit integers before using fistpll. Remove
37824 checks for whether integers fit in mantissa bits.
37825 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37826 the range of signed 32-bit integers before using fistpl. Remove
37827 checks for whether integers fit in mantissa bits.
37828 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37829 (__ieee754_powl): Test for y outside the range of signed 64-bit
37830 integers before using fistpll. Reduce 64-bit values to 63-bit
37831 ones as needed.
37832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37833 divide-by-zero is raised for zero to large negative powers.
37834 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37835 (__ieee754_powl): Test for y outside the range of signed 64-bit
37836 integers before using fistpll. Reduce 64-bit values to 63-bit
37837 ones as needed.
37838 * math/libm-test.inc (pow_test): Add more tests.
37839
eb96ffb0
L
378402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37841
37842 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37843 <stdio-common/_itoa.h>.
37844 * debug/segfault.c: Likewise.
37845 * elf/dl-cache.c: Likewise.
37846 * elf/dl-minimal.c: Likewise.
37847 * elf/dl-misc.c: Likewise.
37848 * elf/dl-sysdep.c: Likewise.
37849 * elf/dl-version.c: Likewise.
37850 * elf/rtld.c: Likewise.
37851 * hurd/hurdsock.c: Likewise.
37852 * hurd/lookup-retry.c: Likewise.
37853 * malloc/malloc.c: Likewise.
37854 * malloc/mtrace.c: Likewise.
37855 * nscd/nscd_getgr_r.c: Likewise.
37856 * nscd/nscd_getpw_r.c: Likewise.
37857 * nscd/nscd_getserv_r.c: Likewise.
37858 * posix/getopt_init.c: Likewise.
37859 * posix/wordexp.c: Likewise.
37860 * stdio-common/_itoa.c: Likewise.
37861 * stdio-common/printf_fphex.c: Likewise.
37862 * stdio-common/vfprintf.c: Likewise.
37863 * string/_strerror.c: Likewise.
37864 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37865 * sysdeps/i386/i686/hp-timing.h: Likewise.
37866 * sysdeps/mach/_strerror.c: Likewise.
37867 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37868 * sysdeps/mach/hurd/sethostid.c: Likewise.
37869 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37870 * sysdeps/mach/xpg-strerror.c: Likewise.
37871 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37872 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37873 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37874 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37875 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37876 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37877 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37878 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37879 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37880 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37881 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37882 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37883 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37884 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37885 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37886 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37887 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37888 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37889 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37890 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37891 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37892
37893 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37894
37895 * stdio-common/_itoa.h: Moved to ...
37896 * sysdeps/generic/_itoa.h: Here.
37897
37898 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37899
37900 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37901 instead of "_itoa.h" and "_itowa.h".
37902 * stdio-common/vfprintf.: Likewise.
37903
d1af992d
L
379042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37905
37906 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37907 <bits/wordsize.h>.
37908 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37909 (__signbit): Likwise.
37910 (llrintf): Likwise.
37911 (llrint): Likwise.
37912
114883e0
L
379132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37914
37915 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37916 __WORDSIZE != 64.
37917
c135cc1b
JM
379182012-03-20 Joseph Myers <joseph@codesourcery.com>
37919
37920 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37921 OVERFLOW_EXCEPTION_OK.
37922 * math/libm-test.inc ("Philosophy"): Update comment about
37923 exception testing.
37924 (OVERFLOW_EXCEPTION): Define.
37925 (OVERFLOW_EXCEPTION_OK): Likewise.
37926 (INVALID_EXCEPTION_OK): Renumber.
37927 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37928 (IGNORE_ZERO_INF_SIGN): Likewise.
37929 (test_exceptions): Handle FE_OVERFLOW.
37930 (exp10_test): Expect overflow exceptions.
37931 (exp2_test): Likewise.
37932 (expm1_test): Likewise.
37933 (nextafter_test): Likewise.
37934 (pow_test): Likewise.
37935 (scalbn_test): Likewise.
37936 (scalbln_test): Likewise.
37937
95443d88
L
379382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37939
37940 * sysdeps/x86_64/bits/atomic.h
37941 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37942 64bit integer.
37943 (atomic_exchange_acq): Likewise.
37944 (__arch_exchange_and_add_body): Likewise.
37945 (__arch_add_body): Likewise.
37946 (atomic_add_negative): Likewise.
37947 (atomic_add_zero): Likewise.
37948
490df6c4
L
379492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37950
c2722551 37951 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37952 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37953
5e52b189
L
379542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37955
37956 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37957 Check __x86_64__ instead of __WORDSIZE.
37958
a9879d4c
L
379592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37960
37961 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37962
5df98260
DM
379632012-03-19 David S. Miller <davem@davemloft.net>
37964
e1497744
DM
37965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37966
5df98260
DM
37967 * sysdeps/sparc/fpu/fenv_private.h: New file.
37968 * sysdeps/sparc/fpu/math_private.h: Use it.
37969 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37970 Remove.
57f41c40 37971 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37972 (libc_feholdexcept_setroundl): Remove.
37973 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37974 Remove.
37975 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37976 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37977
b4c35121
L
379782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37979
37980 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37981 int64_t instead of long int.
37982 (INSERT_WORDS64): Likwise.
37983
56965fd7
L
379842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37985
37986 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37987 _Unwind_GetCFA return to _Unwind_Ptr first.
37988
83d1aec8
JM
379892012-03-19 Joseph Myers <joseph@codesourcery.com>
37990
1897ad44
JM
37991 [BZ #13629]
37992 * math/s_clog.c: Include <float.h>.
37993 (__clog): Scale large or subnormal inputs.
37994 * math/s_clogf.c: Likewise.
37995 * math/s_clogl.c: Likewise.
37996 * math/s_clog10.c: Include <float.h>.
37997 (M_LOG10_2): Define.
37998 (__clog10): Scale large or subnormal inputs.
37999 * math/s_clog10f.c: Likewise.
38000 * math/s_clog10l.c: Likewise.
38001 * math/libm-test.inc (clog_test): Add more tests.
38002 (clog10_test): Likewise.
38003 * sysdeps/i386/fpu/libm-test-ulps: Update.
38004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005
7726d6a9
JM
38006 [BZ #11451]
38007 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38008 x and y.
38009 * math/libm-test.inc (atan2_test): Add another test.
38010
83d1aec8
JM
38011 * Makerules (common-objdir-compile): Remove.
38012 * sysdeps/unix/Makefile (config-generated): Do not add
38013 $(unix-generated) to variable.
38014 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38015 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38016 Remove rule.
38017 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38018 Likewise.
38019 [generic bits/local_lim.h] (before-compile): Do not append to
38020 variable.
38021 [generic bits/local_lim.h] (common-generated): Likewise.
38022 [generic sys/param.h] (before-compile): Do not append to variable.
38023 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38024 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38025 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38026 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38027 include.
38028 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38029 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38030 [generic sys/param.h] ($(addprefix
38031 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38032 [generic sys/param.h] (common-generated): Do not append to
38033 variable.
38034 [generic sys/param.h] (sysdep_headers): Likewise.
38035 [generic bits/errno.h] (before-compile): Do not append to
38036 variable.
38037 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38038 rule.
38039 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38040 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38041 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38042 [generic bits/errno.h] (common-generated): Do not append to
38043 variable.
38044 [generic bits/ioctls.h] (before-compile): Do not append to
38045 variable.
38046 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38047 rule.
38048 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38049 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38050 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38051 rule.
38052 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38053 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38054 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38055 [generic bits/ioctls.h] (common-generated): Do not append to
38056 variable.
38057 [generic sys/syscall.h] (syscall.h): Remove variable.
38058 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38059 rule.
38060 [generic sys/syscall.h] (before-compile): Do not append to
38061 variable.
38062 [generic sys/syscall.h] (common-generated): Likewise.
38063 * sysdeps/unix/errnos-tmpl.c: Remove file.
38064 * sysdeps/unix/errnos.awk: Likewise.
38065 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38066 * sysdeps/unix/ioctls.awk: Likewise.
38067 * sysdeps/unix/mk-local_lim.c: Likewise.
38068 * sysdeps/unix/snarf-ioctls: Likewise.
38069
4851a949
RH
380702012-03-19 Richard Henderson <rth@twiddle.net>
38071
bd37f2ee
RH
38072 * sysdeps/i386/fpu/fenv_private.h: New file.
38073 * sysdeps/i386/fpu/math_private.h: Use it.
38074 (math_opt_barrier, math_force_eval): Remove.
38075 (libc_feholdexcept_setround_53bit): Remove.
38076 (libc_feupdateenv_53bit): Remove.
38077 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38078 (math_opt_barrier, math_force_eval): Remove.
38079 (libc_feholdexcept): Remove.
38080 (libc_feholdexcept_setround): Remove.
38081 (libc_fetestexcept, libc_fesetenv): Remove.
38082 (libc_feupdateenv_test): Remove.
38083 (libc_feupdateenv, libc_feholdsetround): Remove.
38084 (libc_feresetround): Remove.
38085
d0adc922
RH
38086 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38087 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38088
0fe0f1f8
RH
38089 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38090 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38091 (libc_feupdateenv_testl): New.
38092 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38093 (libc_feupdateenv_testf): New.
38094 (libc_feupdateenv): Use libc_feupdateenv_test.
38095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38096 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38097
eb92c487
RH
38098 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38099 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38100 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38101 (libc_feresetround_noex): New.
38102 (libc_feresetround_noexf): New.
38103 (libc_feresetround_noexl): New.
38104 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38105 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38106 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38107 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38108 SET_RESTORE_ROUND.
38109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38111 (__cos): Likewise.
38112 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38113 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38114 SET_RESTORE_ROUND_NOEX.
38115 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38116 SET_RESTORE_ROUND_NOEXF.
38117 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38118 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38119 (libc_feholdsetroundf): New.
38120 (libc_feresetround, libc_feresetroundf): New.
38121
7d2e8012
RH
38122 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38123 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38124 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38125
b4dabbb4
RH
38126 * sysdeps/generic/math_private.h: Include <fenv.h>.
38127 (default_libc_feholdexcept): New.
38128 (default_libc_feholdexcept_setround): New.
38129 (default_libc_fesetenv, default_libc_feupdateenv): New.
38130 (libc_feholdexcept): Only define if undefined.
38131 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38132 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38133 (libc_feholdexcept_setroundl): Likewise.
38134 (libc_feholdexcept_setround_53bit): Likewise.
38135 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38136 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38137 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38138 (libc_feupdateenv_53bit): Likewise.
38139 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38140 (libc_feholdexcept): Convert from macro to inline function.
38141 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38142 (libc_fesetenv, libc_feupdateenv): Likewise.
38143
4851a949
RH
38144 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38145 not previously defined.
38146 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38147 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38148 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38149 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38150 * sysdeps/ieee754/flt-32/math_private.h: New file.
38151 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38152 math_private.h below SET_FLOAT_WORD.
38153 (__isnan, __isinf_ns, __finite): Remove.
38154 (__isnanf, __isinf_nsf, __finitef): Remove.
38155
e79d442e
AS
381562012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38157
38158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38159
90b80344
DM
381602012-03-17 David S. Miller <davem@davemloft.net>
38161
38162 [BZ #6471]
38163 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38164 for 2.16.
38165
edc21804
DM
381662012-03-16 David S. Miller <davem@davemloft.net>
38167
77e927af
DM
38168 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38169 warnings.
38170
374976dd
DM
38171 [BZ #6471]
38172 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38173 properly.
38174 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38175 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38176 sysdep_routines when subdir is sysvipc.
38177 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38178 __getshmlba helper.
38179
edc21804
DM
38180 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38181
473c3ef3
L
381822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38183
38184 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38185 [__LP64__].
38186
eb0f39b6
L
381872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38188
38189 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38190 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38191 (__lround): Renamed to ...
38192 (__llround): This. Replace long int with long long int.
38193 Define lround functions as aliases of llround functions.
38194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38195
6b6cd74b
L
381962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38197
38198 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38199 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38200 adresses to uintptr_t. Replace "long int" and "unsigned long
38201 int" with "greg_t" on va_arg.
38202
f1a77b01
L
382032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38204
38205 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38206 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38207
38208 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38209 Move e_machine check before EI_CLASS check. Handle x32
38210 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38211 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38212 SKIP_EM_IA_64 and include
38213 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38214
38215 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38216 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38217 (add_system_dir): New macro.
38218
38219 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38220 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38221
11b90b9f
JM
382222012-03-16 Joseph Myers <joseph@codesourcery.com>
38223
c36e1d23
JM
38224 [BZ #2551]
38225 [BZ #2552]
38226 [BZ #2553]
38227 [BZ #2554]
38228 [BZ #2562]
38229 [BZ #2563]
38230 [BZ #2565]
38231 [BZ #2566]
38232 [BZ #2576]
38233 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38234 (y0): Likewise.
38235 * math/w_j0f.c (j0f): Likewise.
38236 (y0f): Likewise.
38237 * math/w_j0l.c (__j0l): Likewise.
38238 (__y0l): Likewise.
38239 * math/w_j1.c (j1): Likewise.
38240 (y1): Likewise.
38241 * math/w_j1f.c (j1f): Likewise.
38242 (y1f): Likewise.
38243 * math/w_j1l.c (__j1l): Likewise.
38244 (__y1l): Likewise.
38245 * math/w_jn.c (jn): Likewise.
38246 (yn): Likewise.
38247 * math/w_jnf.c (jnf): Likewise.
38248 (ynf): Likewise.
38249 * math/w_jnl.c (__jnl): Likewise.
38250 (__ynl): Likewise.
38251 * math/libm-test.inc (j0_test): Add more tests.
38252 (j1_test): Likewise.
38253 (jn_test): Likewise. Add trailing semicolon to existing test.
38254 (y0_test): Likewise.
38255 (y1_test): Likewise.
38256 * sysdeps/i386/fpu/libm-test-ulps: Update.
38257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38258
11b90b9f
JM
38259 [BZ #13851]
38260 [BZ #13854]
38261 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38262 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38263 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38264 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38265 (__tanl): Set errno for infinite argument.
38266 * sysdeps/i386/fpu/mptan.c: Remove.
38267 * sysdeps/i386/fpu/s_tan.S: Likewise.
38268 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38269 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38270 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38271 * math/libm-test.inc (tan_test): Add more tests and enable more
38272 tests for double and long double.
38273 * sysdeps/i386/fpu/libm-test-ulps: Update.
38274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38275
6a1bd2a1
JK
382762012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38277
38278 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38279 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38280
10a803e0
RM
382812012-03-16 Roland McGrath <roland@hack.frob.com>
38282
38283 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38284 * configure.in: Use it for both main tree and add-ons.
38285 * configure: Regenerated.
38286
f196c7f7
L
382872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38288
38289 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38290
8848d99d
JM
382912012-03-16 Joseph Myers <joseph@codesourcery.com>
38292
96cbe7f4
JM
38293 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38294 in comment.
38295
8848d99d
JM
38296 [BZ #13851]
38297 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38298 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38302 infinite argument.
38303 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38305 != 0 for prec == 2.
38306 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38307 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38308 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38309 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38310 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38311 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38312 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38313 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38314 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38315 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38316 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38317 * math/libm-test.inc (cos_test): Add more tests and enable more
38318 tests for long double.
38319 (sin_test): Likewise.
38320 (sincos_test): Likewise.
38321 * sysdeps/i386/fpu/libm-test-ulps: Update.
38322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38323
dd7f4703
DM
383242012-03-16 David S. Miller <davem@davemloft.net>
38325
38326 * sysdeps/sparc/fpu/math_private.h: New file.
38327
006f1daa
DM
383282012-03-15 David S. Miller <davem@davemloft.net>
38329
c0c83bc8
DM
38330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38331 file.
e6a62e18 38332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38334 file.
e6a62e18
DM
38335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38341 sysdep routines.
38342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38343
88cb87d9
DM
38344 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38345 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38346
006f1daa 38347 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38349 sparc-ifunc.h
006f1daa 38350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38352 Likewise.
38353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38354 Likewise.
006f1daa
DM
38355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38359 Likewise.
006f1daa
DM
38360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38365 Likewise.
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38367 Likewise.
006f1daa
DM
38368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38389 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38392
11e0098e
AS
383932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38394
38395 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38396 scaling.
38397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38398
e85b09d0
AJ
383992012-03-15 Andreas Jaeger <aj@suse.de>
38400
38401 [BZ #13852]
38402 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38403 ieee754/flt-32 implementation for sin, cos and sincos.
38404 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38405 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38406 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38407 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38408 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38409 ieee754/flt-32 implementation for tan.
38410
38411 * math/libm-test.inc (cos_test): Enable some large input tests for
38412 float as well
38413 (sin_test): Likewise.
38414 (sincos_test): Likewise.
38415 (tan_test): Add tests for large input.
38416
38417 * sysdeps/i386/fpu/libm-test-ulps: Update.
38418
81c64153
AJ
384192012-03-15 Andreas Jaeger <aj@suse.de>
38420
38421 [BZ #13658]
38422 * math/libm-test.inc (cos_test): Add more test cases.
38423 (sin_test): Likewise.
38424 (sincos_test): Likewise.
38425
7bbfa5c6
AJ
384262012-03-15 Andreas Jaeger <aj@suse.de>
38427
38428 [BZ #13837]
38429 * math/libm-test.inc (cos_test): Add a test case for large input
38430 value.
38431 (sin_test): Likewise.
38432 (sincos_test): Likewise.
38433
57f41c40
AS
384342012-03-15 Andreas Jaeger <aj@suse.de>
38435 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38436
38437 [BZ #13658]
0671f479 38438 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38439 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38440 * sysdeps/i386/fpu/branred.c: Likewise.
38441 * sysdeps/i386/fpu/dosincos.c: Likewise.
38442 * sysdeps/i386/fpu/mpa.c: Likewise.
38443 * sysdeps/i386/fpu/s_cos.S: Likewise.
38444 * sysdeps/i386/fpu/s_sin.S: Likewise.
38445 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38446 * sysdeps/i386/fpu/sincos32.c: Likewise.
38447
38448 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38449 Define.
38450 (libc_feupdateenv_53bit): Define.
38451 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38452 Define.
38453 (libc_feupdateenv_53bit): Define.
38454
38455 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38456 53 bit (without extend i386 double precision).
38457
38458 * math/libm-test.inc (sincos_test): Add tests for large input.
38459 (sin): Likewise.
38460 (cos): Likewise.
38461
38462 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38463
9cad04ea
AS
384642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38465
38466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38467
f7062b9a
DM
384682012-03-15 David S. Miller <davem@davemloft.net>
38469
38470 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38471 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38472 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38473 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38486 file.
f7062b9a 38487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38489 file.
f7062b9a 38490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38492 file.
f7062b9a 38493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38495 file.
f7062b9a
DM
38496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38498 fmin/fmax sysdep routines.
38499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38500
7bd951ff
DM
385012012-03-14 David S. Miller <davem@davemloft.net>
38502
559398ab
DM
38503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38508 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38524 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38532 routines.
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38534 file.
559398ab 38535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38537 file.
559398ab 38538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38540 file.
559398ab 38541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38543 file.
559398ab 38544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38546 file.
559398ab 38547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38549 file.
38550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38551 file.
38552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38553 file.
38554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38555 file.
38556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38557 New file.
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38559 file.
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38561 file.
559398ab 38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38564 file.
559398ab 38565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38567 file.
559398ab 38568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38570 file.
559398ab 38571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38573 VIS3 routines.
559398ab
DM
38574
38575 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38576 New file.
38577
5a1c1e32
DM
38578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38579
eae47a36
DM
38580 * sysdeps/sparc/configure.in: New file.
38581 * sysdeps/sparc/configure: Generate.
38582 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38583 * configure: Regenerate.
38584 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38585 * config.make.in (have-as-vis3): New.
38586 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38587 available use -Av9d instead of -Av9a.
38588 * sysdeps/sparc/sparc64/Makefile: Likewise.
38589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38591 New file.
38592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38593 file.
38594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38595 New file.
38596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38597 file.
eae47a36
DM
38598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38603
c0c83bc8
DM
38604 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38605 fzeros/fnegs to load 0x80000000 into a float register instead of
38606 using the stack.
7bd951ff
DM
38607 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38608
bd951ccb
JM
386092012-03-14 Joseph Myers <joseph@codesourcery.com>
38610
38611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38612 bits/syscall.h.
38613 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38614 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38615 ($(inst_includedir)/bits/syscall.h): Remove rule.
38616 ($(objpfx)bits/syscall.d): Include instead of
38617 $(objpfx)syscall-list.d.
38618 (generated): Change syscall-list.h and syscall-list.d to
38619 bits/syscall.h and bits/syscall.d.
38620
bb4e6db2
RM
386212012-03-14 Roland McGrath <roland@hack.frob.com>
38622
38623 [BZ #13846]
38624 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38625
aa4a2ae1
JM
386262012-03-14 Joseph Myers <joseph@codesourcery.com>
38627
e456826d
JM
38628 [BZ #13841]
38629 * math/s_csqrt.c: Include <float.h>.
38630 (__csqrt): Scale large or subnormal inputs.
38631 * math/s_csqrtf.c: Likewise.
38632 * math/s_csqrtl.c: Likewise.
38633 * math/libm-test.inc (csqrt_test): Add more tests.
38634 * sysdeps/i386/fpu/libm-test-ulps: Update.
38635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38636
aa4a2ae1
JM
38637 [BZ #13840]
38638 * math/libm-test.inc (hypot_test): Add more tests.
38639
7c10fd35
DM
386402012-03-13 David S. Miller <davem@davemloft.net>
38641
38642 [BZ #13840]
38643 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38644 double-precision for the calculation instead of scaling.
38645
f453b98b
JM
386462012-03-13 Joseph Myers <joseph@codesourcery.com>
38647
38648 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38649 manipulate bits before adding and subtracting TWO52[sx].
38650 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38651 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38652 Likewise.
38653 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38654
09a3453f
DM
386552012-03-13 David S. Miller <davem@davemloft.net>
38656
8e59da90
DM
38657 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38658 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38660 rtld-global-offsets.h
38661 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38662
2a8ab7f2
DM
38663 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38664 large parameters.
38665
10f62770
DM
38666 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38667
5f0bdb18
DM
38668 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38669 'err' in the ifdef scope in which it is actually used.
38670
09a3453f
DM
38671 * nss/nss_db/db-init.c: Include string.h
38672
b4b2eb5e
DM
386732012-03-12 David S. Miller <davem@davemloft.net>
38674
98bb2f1c
DM
38675 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38676 masking out of the most significant byte of random value used.
38677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38678 Fix coding style in previous change.
38679
b4b2eb5e
DM
38680 * sysdeps/unix/sysv/linux/kernel-features.h
38681 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38682 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38683 expression.
38684 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38685 later.
38686
6e226b09
DM
386872012-03-11 David S. Miller <davem@davemloft.net>
38688
a1bcbd40
DM
38689 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38690 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38692 for 'resultvar' otherwise things get truncated on 64-bit.
38693
cb9d6174
DM
38694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38695 Fix masking out of the most significant byte of random value used.
38696
6e226b09
DM
38697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38698
058c132d
AS
386992012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38700
38701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38702
2d2cd515
DM
387032012-03-09 David S. Miller <davem@davemloft.net>
38704
38705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38706 variables with appropriate CPP guards.
57f41c40
AS
38707 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38708 from the frame pointer, not the stack pointer. Correct layout
38709 comments. Fix test on resulting framesize and the management of
38710 the outregs buffer for pltexit. Preserve floating point return
38711 values across _dl_call_pltexit call.
2d2cd515
DM
38712 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38713 framesize and the management of the outregs buffer for pltexit.
38714 Preserve floating point return values across _dl_call_pltexit
38715 call.
57f41c40
AS
38716 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38717 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38718 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38719 (print_exit): Fix format string for return register value.
38720
9a07f9d0
JM
387212012-03-10 Joseph Myers <joseph@codesourcery.com>
38722
38723 * sunrpc/Makefile (others): Add rpcgen.
38724 ($(objpfx)rpcgen): Remove special build rule and dependency on
38725 libc.
38726 * sunrpc/rpcgen.c: New file.
38727
547b5e30
PE
387282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38729
c524201a
PE
38730 [BZ #13673]
38731 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38732 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38733 * sysdeps/i386/crti.S: Likewise.
38734 * sysdeps/i386/crtn.S: Likewise.
38735 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38736 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38737 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38738 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38739 * sysdeps/sh/crti.S: Likewise.
38740 * sysdeps/sh/crtn.S: Likewise.
38741 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38742
7b6235f2
PE
38743 [BZ #13673]
38744 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38745 with URL.
38746 * locale/programs/locfile-kw.gperf: Likewise.
38747 * locale/programs/charmap-kw.h: Regenerated.
38748 * locale/programs/locfile-kw.h: Likewise.
38749
547b5e30
PE
38750 [BZ #13673]
38751 * intl/plural.y: Replace FSF snail mail address with URL.
38752 * intl/plural.c: Regenerated.
38753
5f0a5dae
RH
387542012-03-09 Richard Henderson <rth@twiddle.net>
38755
38756 * include/math_private.h: Remove file.
38757 * math/math_private.h: Move file ...
38758 * sysdeps/generic/math_private.h: ... here.
38759
b8c03620
RH
38760 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38761 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38762 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38763
4e234f5d 38764 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38765 and <math_private.h>.
38766 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38767 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38768 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38769 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38770 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38771 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38774 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38777 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38778 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38780 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38781 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38784 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38785 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38792 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38796 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38798 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38799 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38800 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38802 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38803 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38804 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38806 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38807 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38809 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38810 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38811 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38812 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38813 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38814 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38815 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38854 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38855 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38856 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38857 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38860 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38861 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38862 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38863 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38865 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38866 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38867 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38868 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38869 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38871 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38872 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38873 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38874 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38875 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38876 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38877 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38880 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38883 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38885 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38886 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38887 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38889 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38890 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38891 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38893 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38894 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38895 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38896 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38897 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38898 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38899 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38900 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38901 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38902 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38903 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38904 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38905 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38907 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38908 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38909 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38910 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38911 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38912 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38913 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38914 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38915 * sysdeps/ieee754/k_standard.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38947 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38949 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38955 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38956 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38957 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38968 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38969 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38970 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38972 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38983 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38985 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39000 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39003 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39004 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39006 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39007 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39031 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39035 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39036 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39038 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39043 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39048 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39058 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39064 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39065 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39075 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39076 * sysdeps/ieee754/s_lib_version.c: Likewise.
39077 * sysdeps/ieee754/s_matherr.c: Likewise.
39078 * sysdeps/ieee754/s_signgam.c: Likewise.
39079 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39080 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39081 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39082 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39083 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39084 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39085 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39086 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39087 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39088 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39089 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39090 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39091 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39092 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39093 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39094 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39095 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39096 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39097 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39100
1991fa03
JM
391012012-03-09 Joseph Myers <joseph@codesourcery.com>
39102
39103 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39104 * sunrpc/rpc_main.c: Likewise.
39105 * sunrpc/rpc_svcout.c: Likewise.
39106
60d6f5a6
DM
391072012-03-09 David S. Miller <davem@davemloft.net>
39108
39109 * include/math_private.h: New file.
39110
4962050e
JM
391112012-03-09 Joseph Myers <joseph@codesourcery.com>
39112
02a6f887
JM
39113 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39114 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39115 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39116 from <bits/socket_type.h>.
39117 (enum __socket_type): Don't define here.
39118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39120 bits/socket_type.h.
39121
c6e013c1
JM
39122 [BZ #13566]
39123 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39124 checking __USE_GNU.
39125
4962050e
JM
39126 * Makerules ($(inst_includedir)/%.h): New rule.
39127 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39128 (install-others): Remove variable setting.
39129 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39130
38842f45
RH
391312012-03-08 Richard Henderson <rth@twiddle.net>
39132
67bb6da6
RH
39133 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39134 from macro to inline function; merge with the
39135 !__LIBC_INTERNAL_MATH_INLINES version.
39136 (__ieee754_sqrtf): Likewise.
39137
15194b4b
RH
39138 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39139 to inline function.
39140 (__rintf, __floor, __floorf): Likewise.
39141
64e21ede
RH
39142 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39143 macro to inline function.
39144 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39145
38842f45
RH
39146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39147 not <math/math_private.h>.
39148
c64bf5fe
DM
391492012-03-08 David S. Miller <davem@davemloft.net>
39150
39151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39152 copyright year.
39153 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39154
82d86f28
TS
391552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39156
39157 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39158 normalization.
39159 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39160 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39161
aea5d727
UD
391622012-03-08 Ulrich Drepper <drepper@gmail.com>
39163
39164 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39165 be defined individually, they must be defined as a block. Define
39166 S for printing a string instead of hidint the different by using a
39167 macro for adding the 'l'.
39168 * stdio-common/tst-fphex-wide.c: Adjust.
39169
70bca0a3
MP
391702012-03-07 Marek Polacek <polacek@redhat.com>
39171
39172 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39173
65b81130
MP
391742012-03-08 Marek Polacek <polacek@redhat.com>
39175
39176 [BZ #13806]
39177 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39178 * stdio-common/tst-fphex.c: Define a few macros to make the
39179 test reusable. Use them.
39180 * stdio-common/tst-fphex-wide.c: New file.
39181
07037eeb
JM
391822012-03-08 Joseph Myers <joseph@codesourcery.com>
39183
a7a93d50
JM
39184 [BZ #6911]
39185 * manual/macros.texi (gnusystems): New macro.
39186 (nongnusystems): Likewise.
39187 (gnulinuxhurdsystems): Likewise.
39188 (gnuhurdsystems): Likewise..
39189 (gnulinuxsystems): Likewise.
39190 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39191 variants of the GNU system, not "GNU system".
39192 * manual/conf.texi: Likewise.
39193 * manual/errno.texi: Likewise. Update example of errno macro
39194 expansion.
39195 * manual/filesys.texi: Likewise.
39196 (getumask): Document as specific to GNU/Hurd.
39197 * manual/install.texi: Likewise. Reword some references to
39198 GNU/Linux.
39199 * manual/intro.texi: Likewise.
39200 * manual/io.texi: Likewise.
39201 (File Name Portability): Detail which constraints are inapplicable
39202 to all GNU systems and which are only inapplicable to GNU/Hurd.
39203 * manual/job.texi: Likewise.
39204 * manual/llio.texi: Likewise.
39205 (O_NOCTTY): Document as present on GNU/Linux.
39206 * manual/maint.texi: Likewise.
39207 * manual/memory.texi: Likewise.
39208 * manual/pattern.texi: Likewise.
39209 * manual/pipe.texi: Likewise.
39210 * manual/process.texi: Likewise.
39211 * manual/resource.texi: Likewise.
39212 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39213 child on GNU/Hurd.
39214 * manual/setjmp.texi: Likewise.
39215 * manual/signal.texi: Likewise.
39216 * manual/startup.texi: Likewise.
39217 * manual/stdio.texi: Likewise.
39218 * manual/terminal.texi: Likewise.
39219 (ONLCR): Document as POSIX.
39220 (OXTABS): Document availability on GNU/Linux as XTABS.
39221 (ONOEOT): Document availability separately from other bits.
39222 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39223 * manual/time.texi: Likewise.
39224 * manual/users.texi: Likewise.
39225 * INSTALL: Regenerated.
39226 * sysdeps/gnu/errlist.c: Regenerated.
39227
07037eeb
JM
39228 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39229 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39230 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39231 puts.
39232 * configure: Regenerated.
39233
d1d3431a
JM
392342012-03-07 Joseph Myers <joseph@codesourcery.com>
39235
af6a1e37
JM
39236 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39237 default includes instead of AC_HEADER_CHECK.
39238 * sysdeps/i386/configure: Regenerated.
39239
d1d3431a
JM
39240 [BZ #10716]
39241 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39242 * math/s_cacoshf.c (__cacoshf): Likewise.
39243 * math/s_cacoshl.c (__cacoshl): Likewise.
39244 * math/s_casinh.c (__casinh): Set signs of result from argument.
39245 * math/s_casinhf.c (__casinhf): Likewise.
39246 * math/s_casinhl.c (__casinhl): Likewise.
39247 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39248 (casinh_test): Add more tests.
39249 * sysdeps/i386/fpu/libm-test-ulps: Update.
39250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39251
482ff4da
UD
392522012-03-07 Ulrich Drepper <drepper@gmail.com>
39253
872fda05
UD
39254 * po/zh_TW.po: Update from translation team.
39255
a4300c7a
UD
39256 * login/Makefile (distribute): Remove variable.
39257 * catgets/Makefile: Likewise.
39258 * mach/Makefile: Likewise.
39259 * malloc/Makefile: Likewise.
39260 * misc/Makefile: Likewise.
39261 * iconv/Makefile: Likewise.
39262 * nscd/Makefile: Likewise.
39263 * hurd/Makefile: Likewise.
39264 * manual/Makefile: Likewise.
39265 * locale/Makefile: Likewise.
39266 * intl/Makefile: Likewise.
39267 * conform/Makefile: Likewise.
39268 * nss/Makefile: Likewise.
39269 * time/Makefile: Likewise.
39270 * soft-fp/Makefile: Likewise.
39271 * dirent/Makefile: Likewise.
39272 * gmon/Makefile: Likewise.
39273 * po/Makefile: Likewise.
39274 * rt/Makefile: Likewise.
39275 * socket/Makefile: Likewise.
39276 * math/Makefile: Likewise.
39277 * signal/Makefile: Likewise.
39278 * debug/Makefile: Likewise.
39279 * elf/Makefile: Likewise.
39280 * timezone/Makefile: Likewise.
39281 * stdlib/Makefile: Likewise.
39282 * iconvdata/Makefile: Likewise.
39283 * sunrpc/Makefile: Likewise.
39284 * io/Makefile: Likewise.
39285 * argp/Makefile: Likewise.
39286 * inet/Makefile: Likewise.
39287 * hesiod/Makefile: Likewise.
39288 * grp/Makefile: Likewise.
39289 * csu/Makefile: Likewise.
39290 * wctype/Makefile: Likewise.
39291 * crypt/Makefile: Likewise.
39292 * libio/Makefile: Likewise.
39293 * string/Makefile: Likewise.
39294 * nis/Makefile: Likewise.
39295 * resolv/Makefile: Likewise.
39296 * stdio-common/Makefile: Likewise.
39297 * wcsmbs/Makefile: Likewise.
39298 * dlfcn/Makefile: Likewise.
39299 * posix/Makefile: Likewise.
39300
3b7c4e74 39301 [BZ #6959]
482ff4da
UD
39302 * timezone/Makefile: Don't install timezone files, just the programs
39303 and scripts.
39304
f72ed77d
UD
393052012-03-06 Ulrich Drepper <drepper@gmail.com>
39306
a000466f
UD
39307 * nss/databases.def: Add missing gshadow entry.
39308
f72ed77d
UD
39309 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39310
a53b7a4e
MP
393112012-03-06 Marek Polacek <polacek@redhat.com>
39312
39313 [BZ #13726]
39314 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39315 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39316 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39317 * stdio-common/tst-long-dbl-fphex.c: New file.
39318
e9258400
DM
393192012-03-06 David S. Miller <davem@davemloft.net>
39320
39321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39322 (set_obp_int): New function.
39323 (get_obp_int): New function.
39324 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39326 Avoid unused variable warnings on 'val' and use builtin_expect.
39327 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39328 __builtin_expect.
e9258400
DM
39329 (INLINE_CLONE_SYSCALL): Likewise.
39330
3bd2c723
DM
393312012-03-05 David S. Miller <davem@davemloft.net>
39332
39333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39334
bbb78d03
AS
393352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39336
884c5db4
AS
39337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39338
bbb78d03
AS
39339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39340 only for |x| >= 40.
39341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39342
1c9f702a 393432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39344
39345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39346 Replace gettimeofday with __vdso_gettimeofday.
39347
7be16f82
RM
39348 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39349 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39350 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39351
39352 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39353 time with __vdso_time.
39354
ed58a00f
JM
393552012-03-05 Joseph Myers <joseph@codesourcery.com>
39356
39357 * manual/lang.texi (size_t): Note types to which size_t may be
39358 equivalent with the GNU C Library, but do not describe when
39359 differences between them are significant.
39360
30ee4ced
AJ
393612012-03-05 Andreas Jaeger <aj@suse.de>
39362
39363 * sysdeps/i386/fpu/libm-test-ulps: Update.
39364
b7cd39e8
JM
393652012-03-05 Joseph Myers <joseph@codesourcery.com>
39366
39367 [BZ #3976]
39368 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39369 (__ieee754_pow): Save and restore rounding mode and use
39370 round-to-nearest for main computations.
39371 * math/libm-test.inc (pow_test_tonearest): New function.
39372 (pow_test_towardzero): Likewise.
39373 (pow_test_downward): Likewise.
39374 (pow_test_upward): Likewise.
39375 (main): Call the new functions.
39376 * sysdeps/i386/fpu/libm-test-ulps: Update.
39377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39378
39379 [BZ #3976]
39380 * math/libm-test.inc (cosh_test_tonearest): New function.
39381 (cosh_test_towardzero): Likewise.
39382 (cosh_test_downward): Likewise.
39383 (cosh_test_upward): Likewise.
39384 (sinh_test_tonearest): Likewise.
39385 (sinh_test_towardzero): Likewise.
39386 (sinh_test_downward): Likewise.
39387 (sinh_test_upward): Likewise.
39388 (main): Call the new functions.
39389 * sysdeps/i386/fpu/libm-test-ulps: Update.
39390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39391
6c6a98c9
TV
393922012-03-05 Tom de Vries <tom@codesourcery.com>
39393
39394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39395 default stack guard is set in last bytes.
39396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39397
21bb2d2e 393982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39399
21bb2d2e 39400 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39401
21bb2d2e
AJ
39402 [BZ #13656]
39403 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39404 possibly allocate from heap instead of stack.
39405 * stdio-common/bug-vfprintf-nargs.c: New file.
39406 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39407
c6922934
AS
394082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39409
39410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39411
bc957d53
MP
394122012-03-03 Marek Polacek <polacek@redhat.com>
39413
39414 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39415 * math/math_private.h: Likewise.
39416 * stdlib/tst-strtod.c: Likewise.
39417 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39418 * sysdeps/x86_64/bits/atomic.h: Likewise.
39419
6358490d
DM
394202012-03-02 David S. Miller <davem@davemloft.net>
39421
39422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39426 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39427 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39428 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39429 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39430
01ae168d
RM
394312012-03-02 Roland McGrath <roland@hack.frob.com>
39432
d9a17c07
RM
39433 [BZ #13792]
39434 * manual/examples/README: New file, says the example source files
39435 can be used under GPL>=2.
39436 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39437 line containing just "*/".
39438 * manual/examples/add.c: Add copyright header (GPL>=2).
39439 * manual/examples/argp-ex1.c: Likewise.
39440 * manual/examples/argp-ex2.c: Likewise.
39441 * manual/examples/argp-ex3.c: Likewise.
39442 * manual/examples/argp-ex4.c: Likewise.
39443 * manual/examples/atexit.c: Likewise.
39444 * manual/examples/db.c: Likewise.
39445 * manual/examples/dir.c: Likewise.
39446 * manual/examples/dir2.c: Likewise.
39447 * manual/examples/execinfo.c: Likewise.
39448 * manual/examples/filecli.c: Likewise.
39449 * manual/examples/filesrv.c: Likewise.
39450 * manual/examples/fmtmsgexpl.c: Likewise.
39451 * manual/examples/genpass.c: Likewise.
39452 * manual/examples/inetcli.c: Likewise.
39453 * manual/examples/inetsrv.c: Likewise.
39454 * manual/examples/isockad.c: Likewise.
39455 * manual/examples/longopt.c: Likewise.
39456 * manual/examples/memopen.c: Likewise.
39457 * manual/examples/memstrm.c: Likewise.
39458 * manual/examples/mkfsock.c: Likewise.
39459 * manual/examples/mkisock.c: Likewise.
39460 * manual/examples/mygetpass.c: Likewise.
39461 * manual/examples/pipe.c: Likewise.
39462 * manual/examples/popen.c: Likewise.
39463 * manual/examples/rprintf.c: Likewise.
39464 * manual/examples/search.c: Likewise.
39465 * manual/examples/select.c: Likewise.
39466 * manual/examples/setjmp.c: Likewise.
39467 * manual/examples/sigh1.c: Likewise.
39468 * manual/examples/sigusr.c: Likewise.
39469 * manual/examples/stpcpy.c: Likewise.
39470 * manual/examples/strdupa.c: Likewise.
39471 * manual/examples/strftim.c: Likewise.
39472 * manual/examples/strncat.c: Likewise.
39473 * manual/examples/subopt.c: Likewise.
39474 * manual/examples/swapcontext.c: Likewise.
39475 * manual/examples/termios.c: Likewise.
39476 * manual/examples/testopt.c: Likewise.
39477 * manual/examples/testpass.c: Likewise.
39478 * manual/examples/timeval_subtract.c: Likewise.
39479
01ae168d
RM
39480 [BZ #13792]
39481 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39482 function to ...
39483 * manual/timeval_subtract.c.texi: ... here, new file.
39484
49efa33d
DM
394852012-03-02 David S. Miller <davem@davemloft.net>
39486
39487 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39488
28afd92d
JM
394892012-03-02 Joseph Myers <joseph@codesourcery.com>
39490
804360ed
JM
39491 [BZ #3976]
39492 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39493 (__sin): Save and restore rounding mode and use round-to-nearest
39494 for all computations.
39495 (__cos): Save and restore rounding mode and use round-to-nearest
39496 for all computations.
39497 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39498 <fenv.h>.
39499 (tan): Save and restore rounding mode and use round-to-nearest for
39500 all computations.
39501 * math/libm-test.inc (cos_test_tonearest): New function.
39502 (cos_test_towardzero): Likewise.
39503 (cos_test_downward): Likewise.
39504 (cos_test_upward): Likewise.
39505 (sin_test_tonearest): Likewise.
39506 (sin_test_towardzero): Likewise.
39507 (sin_test_downward): Likewise.
39508 (sin_test_upward): Likewise.
39509 (tan_test_tonearest): Likewise.
39510 (tan_test_towardzero): Likewise.
39511 (tan_test_downward): Likewise.
39512 (tan_test_upward): Likewise.
39513 (main): Call the new functions.
39514 * sysdeps/i386/fpu/libm-test-ulps: Update.
39515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516
a6d06d7b
JM
39517 [BZ #10135]
39518 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39519 small n, then large n, before computing and testing k+n.
39520 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39522 Likewise.
39523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39524 Likewise.
39525 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39526 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39529 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39530 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39533 * math/libm-test.inc (scalbn_test): Add more tests.
39534 (scalbln_test): Likewise.
39535
07e12bb3
JM
39536 * manual/filesys.texi (mode_t): Describe constraints on size and
39537 signedness, not exact equivalence to a particular type.
39538 (ino_t): Likewise.
39539 (ino64_t): Likewise.
39540 (dev_t): Likewise.
39541 (nlink_t): Likewise.
39542 (blkcnt_t): Likewise.
39543 (blkcnt64_t): Likewise.
39544 * manual/llio.texi (off_t): Likewise.
39545
28afd92d
JM
39546 [BZ #3976]
39547 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39548 (__ieee754_exp): Save and restore rounding mode and use
39549 round-to-nearest for all computations.
39550 * math/libm-test.inc (exp_test_tonearest): New function.
39551 (exp_test_towardzero): Likewise.
39552 (exp_test_downward): Likewise.
39553 (exp_test_upward): Likewise.
39554 (main): Call the new functions.
39555 * sysdeps/i386/fpu/libm-test-ulps: Update.
39556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39557
b1eeb65d
CD
395582012-03-01 Chris Demetriou <cgd@google.com>
39559
39560 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39561 have predictable order.
39562
53362a4b
DM
395632012-03-01 David S. Miller <davem@davemloft.net>
39564
3c969083
DM
39565 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39566
759707de
DM
39567 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39568 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39569 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39570 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39571
dfdb8ff2
DM
39572 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39573 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39574 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39576 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39577 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39578 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39580 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39581
ead89f96
DM
39582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39583
7f66bd07
DM
39584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39585 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39586 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39587
53362a4b
DM
39588 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39589 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39590 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39591 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39592 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39593 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39596 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39597 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39598 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39602 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39604 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39605 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39606 * sysdeps/sparc/elf/configure: Regenerated.
39607
7b1902cb
JM
396082012-03-01 Joseph Myers <joseph@codesourcery.com>
39609
bec039bc
JM
39610 * configure.in (AS, LD): Require binutils 2.20 or later.
39611 * configure: Regenerated.
39612 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39613 as required minimum version.
39614 * INSTALL: Regenerated.
39615
7b1902cb
JM
39616 [BZ #2541]
39617 [BZ #4108]
39618 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39619 before squaring exponent.
39620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39621 bottom long double and 27 bits of top long double before squaring
39622 exponent.
39623 * math/libm-test.inc (erfc_test): Add more tests.
39624 * sysdeps/i386/fpu/libm-test-ulps: Update.
39625 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39627
f775c276
KT
396282012-03-01 Kai Tietz <ktietz@redhat.com>
39629
39630 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39631 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39632 containing bit-fields.
39633 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39634 * soft-fp/single.h (_FP_UNION_S): Likewise.
39635 * soft-fp/double.h (_FP_UNION_D): Likewise.
39636
5b8a4d4a
JM
396372012-02-29 Joseph Myers <joseph@codesourcery.com>
39638
0bab47b6
JM
39639 [BZ #13786]
39640 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39641 not include ../strcmp.S.
39642 [USE_AS_STRNCASECMP_L]: Likewise.
39643 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39644 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39645 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39646 (__strncasecmp_l_ia32): Define as alias to
39647 __strncasecmp_l_nonascii.
39648
0fcad3e2
JM
39649 [BZ #5794]
39650 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39651 * sysdeps/i386/fpu/libm-test-ulps: Update.
39652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39653
5b8a4d4a
JM
39654 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39656
8fdceb2e
JL
396572012-02-29 Jeff Law <law@redhat.com>
39658
39659 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39660 out of bounds read.
39661
1f393a11
MP
396622012-02-29 Marek Polacek <polacek@redhat.com>
39663
39664 [BZ #13706]
39665 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39666 * elf/Makefile: Add rules to run tst-unused-dep.out.
39667
8847f037
DM
396682012-02-28 David S. Miller <davem@davemloft.net>
39669
39670 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39671 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39673 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39674 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39675 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39676
169d7f11
JM
396772012-02-29 Joseph Myers <joseph@codesourcery.com>
39678
39679 * math/libm-test.inc (llround_test): Move one test from
39680 lround_test. Use TEST_f_L in moved test.
39681 (lround_test): Move misplaced test to llround_test. Add testcase
39682 from bug 2561.
39683
39adf059
UD
396842012-02-28 Ulrich Drepper <drepper@gmail.com>
39685
39686 * sysdeps/x86_64/fpu/e_expf.S: New file.
39687 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39688
71b5d1c5
SB
396892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39690
39691 [BZ #13637]
39692 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39693 of remain_len that may cause incomplete multi-byte character and
39694 false match.
39695 * posix/bug-regex33.c: New file.
39696 * posix/Makefile (tests): Add bug-regex33.
39697
1f77f049
JM
396982012-02-28 Joseph Myers <joseph@codesourcery.com>
39699
39700 * manual/macros.texi: New file.
39701 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39702 * manual/libc.texinfo: Include macros.texi.
39703 * manual/creatute.texi: Likewise.
39704 * manual/install.texi: Likewise.
39705 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39706 @glibcadj{} in references to the GNU C Library.
39707 * manual/charset.texi: Likewise.
39708 * manual/conf.texi: Likewise.
39709 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39710 when not using those macros.
39711 * manual/creature.texi: Likewise.
39712 * manual/crypt.texi: Likewise.
39713 * manual/errno.texi: Likewise.
39714 * manual/filesys.texi: Likewise.
39715 * manual/header.texi: Likewise.
39716 * manual/install.texi: Likewise.
39717 * manual/intro.texi: Likewise.
39718 * manual/io.texi: Likewise.
39719 * manual/job.texi: Likewise.
39720 * manual/lang.texi: Likewise.
39721 * manual/libc.texiinfo: Likewise.
39722 * manual/llio.texi: Likewise.
39723 * manual/locale.texi: Likewise.
39724 * manual/maint.texi: Likewise.
39725 * manual/math.texi: Likewise.
39726 * manual/memory.texi: Likewise.
39727 * manual/message.texi: Likewise.
39728 * manual/nss.texi: Likewise.
39729 * manual/pattern.texi: Likewise.
39730 * manual/process.texi: Likewise.
39731 * manual/resource.texi: Likewise.
39732 * manual/search.texi: Likewise.
39733 * manual/setjmp.texi: Likewise.
39734 * manual/signal.texi: Likewise.
39735 * manual/socket.texi: Likewise.
39736 * manual/startup.texi: Likewise.
39737 * manual/stdio.texi: Likewise.
39738 * manual/string.texi: Likewise.
39739 * manual/sysinfo.texi: Likewise.
39740 * manual/syslog.texi: Likewise.
39741 * manual/terminal.texi: Likewise.
39742 * manual/time.texi: Likewise.
39743 * manual/users.texi: Likewise.
39744 * INSTALL: Regenerated.
39745 * NOTES: Regenerated.
d40c5d54 39746 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39747
450bf206
AS
397482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39749
39750 * include/dirent.h: Include <dirstream.h> before
39751 <dirent/dirent.h>.
39752
741a235b
DM
397532012-02-28 David S. Miller <davem@davemloft.net>
39754
39755 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39756 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39757 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39758 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39759
d6b5aa58
DM
397602012-02-27 David S. Miller <davem@davemloft.net>
39761
1aff59a3
DM
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39764 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39765 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39766
d6b5aa58
DM
39767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39768 frame pointer instead of stack pointer relative arg slot.
39769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39772
433f48bf
CD
397732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39774
39775 [BZ #3992]
39776 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39777
d674b76d
DM
397782012-02-27 David S. Miller <davem@davemloft.net>
39779
39780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39784 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39785 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39786 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39787 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39788
0e7727f7
JM
397892012-02-27 Joseph Myers <joseph@codesourcery.com>
39790
39791 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39792 later. Allow versions 5-9.
43be4ca2 39793 * configure: Regenerated.
0e7727f7
JM
39794 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39795 required minimum version and 4.6 as recommended version. Do not
39796 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39797 * INSTALL: Regenerated.
0e7727f7 39798
a78bc654
DM
397992012-02-27 David S. Miller <davem@davemloft.net>
39800
428d5830
DM
39801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39805 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39806 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39807 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39808 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39809
a78bc654
DM
39810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39811 manipulate bits before adding and subtracting TWO112[sx].
39812 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39813
4579f81c
RM
398142012-02-27 Roland McGrath <roland@hack.frob.com>
39815
36c8acb4
RM
39816 [BZ #13775]
39817 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39818 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39819 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39820 being in POSIX, because they are in 1003.1-2008.
39821
84ad622b
RM
39822 * rt/tst-aio.c: Include <fcntl.h>.
39823 * rt/tst-aio7.c: Likewise.
39824 * rt/tst-aio64.c: Likewise.
39825
4579f81c
RM
39826 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39827
abd923db
JM
398282012-02-27 Joseph Myers <joseph@codesourcery.com>
39829
39830 * manual/install.texi (--with-headers): Describe headers as
39831 interface headers, not private headers.
39832 (Specific advice for GNU/Linux systems): Describe use of headers
39833 from "make headers_install", not private headers from older
39834 kernels.
43be4ca2 39835 * INSTALL: Regenerated.
abd923db
JM
39836 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39837 Change to 2.6.19.
39838 * sysdeps/unix/sysv/linux/configure: Regenerated.
39839
6664049b
JM
39840 * manual/llio.texi (fclean): Remove documentation.
39841
bb8b6697
JM
39842 * manual/Makefile (libc-texi-generated): New variable. Include
39843 version.texi.
39844 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39845 $(libc-texi-generated), not duplicated list of files.
39846 (version.texi, stamp-version): New rules.
39847 (realclean): Remove $(libc-texi-generated), not individual files
39848 from that list. Do not remove dir-add.texinfo.
39849 * manual/libc.texinfo: Comment out uses of edition numbers and
39850 references to printed manual. Remove last-updated dates.
39851 (EDITION): Comment out.
39852 (ISBN): Likewise.
39853 (VERSION, UPDATED): Remove.
39854 (version.texi): Include.
39855
12e5c3b9
AS
398562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39857
39858 * sysdeps/posix/spawni.c: Include <signal.h>.
39859 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39860 * sysdeps/pthread/aio_fsync.c: Likewise.
39861
4efeffc1 398622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39863
ba63ba08
UD
39864 * conform/Makefile (tests): Run only when not cross-compiling and
39865 when fast-check is not defined.
39866
d94a4670
UD
39867 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39868 * conform/data/limits.h-data: Fixes for POSIX2008.
39869 * conform/run-conformtest.sh: Run all tests.
39870 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39871 headers.
39872 * include/bits/dlfcn.h: Likewise.
39873 * include/langinfo.h: Likewise.
39874 * include/monetary.h: Likewise.
39875 * include/sys/poll.h: Likewise.
39876
39877 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39878 for __USE_GNU.
39879 * posix/spawn.h: Define __need_sigset_t.
39880 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39881 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39882 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39883 to get sigevent_t only.
39884 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39885 only for __USE_GNU.
39886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39887 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39888 process_vm_writev only for __USE_GNU.
39889 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39890
39891 * conform/Makefile: For now ignore errors from run-conformtest.
39892 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39893 POSIX to avoid namespace pollution. Don't prepend headers.
39894 * conform/data/aio.h-data: Fixes for POSIX testing.
39895 * conform/data/fcntl.h-data: Likewise.
39896 * conform/data/glob.h-data: Likewise.
39897 * conform/data/grp.h-data: Likewise.
39898 * conform/data/pthread.h-data: Likewise.
39899 * conform/data/pwd.h-data: Likewise.
39900 * conform/data/signal.h-data: Likewise.
39901 * conform/data/spawn.h-data: Likewise.
39902 * conform/data/stdio.h-data: Likewise.
39903 * conform/data/stdlib.h-data: Likewise.
39904 * conform/data/stropts.h-data: Likewise.
39905 * conform/data/sys/mman.h-data: Likewise.
39906 * conform/data/sys/stat.h-data: Likewise.
39907 * conform/data/sys/types.h-data: Likewise.
39908 * conform/data/sys/wait.h-data: Likewise.
39909 * conform/data/time.h-data: Likewise.
39910 * conform/data/unistd.h-data: Likewise.
39911 * conform/data/utime.h-data: Likewise.
39912
39913 * io/sys/stat.h: fchmod was always in POSIX.
39914 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39915 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39916 * rt/aio.h: Define __need_timespec before including <time.h>.
39917 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39918 struct. Add forward declaration of pthread_attr_t and use it in
39919 sigevent.
39920 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39922 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39923 always remove CLK_TCK definition.
39924
c20105c3
AS
399252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39926
39927 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39928
7a270350
UD
399292012-02-25 Ulrich Drepper <drepper@gmail.com>
39930
31341567
UD
39931 * conform/run-conformtest.sh: New file.
39932 * conform/Makefile: Run run-conformtest for tests.
39933 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39934 support.
39935
39936 * conform/data/uchar.h-data: New file.
39937 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39938 * conform/data/arpa/inet.h-data: Likewise.
39939 * conform/data/assert.h-data: Likewise.
39940 * conform/data/complex.h-data: Likewise.
39941 * conform/data/cpio.h-data: Likewise.
39942 * conform/data/ctype.h-data: Likewise.
39943 * conform/data/dirent.h-data: Likewise.
39944 * conform/data/dlfcn.h-data: Likewise.
39945 * conform/data/errno.h-data: Likewise.
39946 * conform/data/fcntl.h-data: Likewise.
39947 * conform/data/float.h-data: Likewise.
39948 * conform/data/fmtmsg.h-data: Likewise.
39949 * conform/data/fnmatch.h-data: Likewise.
39950 * conform/data/ftw.h-data: Likewise.
39951 * conform/data/glob.h-data: Likewise.
39952 * conform/data/grp.h-data: Likewise.
39953 * conform/data/iconv.h-data: Likewise.
39954 * conform/data/inttypes.h-data: Likewise.
39955 * conform/data/langinfo.h-data: Likewise.
39956 * conform/data/libgen.h-data: Likewise.
39957 * conform/data/limits.h-data: Likewise.
39958 * conform/data/locale.h-data: Likewise.
39959 * conform/data/math.h-data: Likewise.
39960 * conform/data/monetary.h-data: Likewise.
39961 * conform/data/mqueue.h-data: Likewise.
39962 * conform/data/ndbm.h-data: Likewise.
39963 * conform/data/net/if.h-data: Likewise.
39964 * conform/data/netdb.h-data: Likewise.
39965 * conform/data/netinet/in.h-data: Likewise.
39966 * conform/data/nl_types.h-data: Likewise.
39967 * conform/data/poll.h-data: Likewise.
39968 * conform/data/pthread.h-data: Likewise.
39969 * conform/data/pwd.h-data: Likewise.
39970 * conform/data/regex.h-data: Likewise.
39971 * conform/data/sched.h-data: Likewise.
39972 * conform/data/search.h-data: Likewise.
39973 * conform/data/semaphore.h-data: Likewise.
39974 * conform/data/setjmp.h-data: Likewise.
39975 * conform/data/signal.h-data: Likewise.
39976 * conform/data/spawn.h-data: Likewise.
39977 * conform/data/stdarg.h-data: Likewise.
39978 * conform/data/stdio.h-data: Likewise.
39979 * conform/data/stdlib.h-data: Likewise.
39980 * conform/data/string.h-data: Likewise.
39981 * conform/data/strings.h-data: Likewise.
39982 * conform/data/stropts.h-data: Likewise.
39983 * conform/data/sys/ipc.h-data: Likewise.
39984 * conform/data/sys/mman.h-data: Likewise.
39985 * conform/data/sys/msg.h-data: Likewise.
39986 * conform/data/sys/resource.h-data: Likewise.
39987 * conform/data/sys/select.h-data: Likewise.
39988 * conform/data/sys/sem.h-data: Likewise.
39989 * conform/data/sys/shm.h-data: Likewise.
39990 * conform/data/sys/socket.h-data: Likewise.
39991 * conform/data/sys/stat.h-data: Likewise.
39992 * conform/data/sys/statvfs.h-data: Likewise.
39993 * conform/data/sys/time.h-data: Likewise.
39994 * conform/data/sys/timeb.h-data: Likewise.
39995 * conform/data/sys/times.h-data: Likewise.
39996 * conform/data/sys/types.h-data: Likewise.
39997 * conform/data/sys/uio.h-data: Likewise.
39998 * conform/data/sys/un.h-data: Likewise.
39999 * conform/data/sys/utsname.h-data: Likewise.
40000 * conform/data/sys/wait.h-data: Likewise.
40001 * conform/data/syslog.h-data: Likewise.
40002 * conform/data/tar.h-data: Likewise.
40003 * conform/data/termios.h-data: Likewise.
40004 * conform/data/utime.h-data: Likewise.
40005 * conform/data/utmpx.h-data: Likewise.
40006 * conform/data/varargs.h-data: Likewise.
40007 * conform/data/wchar.h-data: Likewise.
40008 * conform/data/wctype.h-data: Likewise.
40009 * conform/data/wordexp.h-data: Likewise.
40010
40011 * include/stropts.h: New file.
40012 * include/uchar.h: New file.
40013 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40014 * include/assert.h: Likewise.
40015 * include/ctype.h: Likewise.
40016 * include/dirent.h: Likewise.
40017 * include/dlfcn.h: Likewise.
40018 * include/fcntl.h: Likewise.
40019 * include/fnmatch.h: Likewise.
40020 * include/glob.h: Likewise.
40021 * include/grp.h: Likewise.
40022 * include/libio.h: Likewise.
40023 * include/locale.h: Likewise.
40024 * include/math.h: Likewise.
40025 * include/net/if.h: Likewise.
40026 * include/netdb.h: Likewise.
40027 * include/netinet/in.h: Likewise.
40028 * include/pthread.h: Likewise.
40029 * include/pwd.h: Likewise.
40030 * include/regex.h: Likewise.
40031 * include/sched.h: Likewise.
40032 * include/search.h: Likewise.
40033 * include/setjmp.h: Likewise.
40034 * include/signal.h: Likewise.
40035 * include/stdio.h: Likewise.
40036 * include/stdlib.h: Likewise.
40037 * include/string.h: Likewise.
40038 * include/sys/cdefs.h: Likewise.
40039 * include/sys/mman.h: Likewise.
40040 * include/sys/msg.h: Likewise.
40041 * include/sys/resource.h: Likewise.
40042 * include/sys/select.h: Likewise.
40043 * include/sys/socket.h: Likewise.
40044 * include/sys/stat.h: Likewise.
40045 * include/sys/statvfs.h: Likewise.
40046 * include/sys/time.h: Likewise.
40047 * include/sys/times.h: Likewise.
40048 * include/sys/uio.h: Likewise.
40049 * include/sys/utsname.h: Likewise.
40050 * include/sys/wait.h: Likewise.
40051 * include/termios.h: Likewise.
40052 * include/time.h: Likewise.
40053 * include/ulimit.h: Likewise.
40054 * include/unistd.h: Likewise.
40055 * include/utime.h: Likewise.
40056 * include/wchar.h: Likewise.
40057 * include/wctype.h: Likewise.
40058 * include/wordexp.h: Likewise.
40059
40060 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40061
7a270350
UD
40062 * time/time.h: TIME_UTC must be a macro.
40063 Make timespec_get available for ISO C11 only as well.
40064
7724defc
UD
400652012-02-24 Ulrich Drepper <drepper@gmail.com>
40066
40067 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40068 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40069
6b1d1d46
JM
400702012-02-24 Joseph Myers <joseph@codesourcery.com>
40071
40072 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40073
0f8bbd69
JM
400742012-02-24 Joseph Myers <joseph@codesourcery.com>
40075
40076 * manual/texinfo.tex: Update to version 2012-01-19.16.
40077
66ab80bc
JM
400782012-02-24 Joseph Myers <joseph@codesourcery.com>
40079
40080 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40081
74981cc5
RM
400822012-02-24 Roland McGrath <roland@hack.frob.com>
40083
ee968201
RM
40084 [BZ #13738]
40085 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40086 * manual/fdl-1.3.texi: New file.
40087 * manual/fdl-1.1.texi: File removed.
40088
74981cc5
RM
40089 [BZ #13738]
40090 * manual/libc.texinfo (FDL_VERSION): New @set.
40091 Use it for mention of FDL in cover text.
40092 (Documentation License): Use it in @include file name.
40093
7bb764bc
JM
400942012-02-22 Joseph Myers <joseph@codesourcery.com>
40095 Roland McGrath <roland@hack.frob.com>
40096
40097 [BZ #5461]
57f41c40
AS
40098 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40099 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40100 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40101 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40102 name.
40103 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40104
6cbeae47
JM
401052012-02-22 Joseph Myers <joseph@codesourcery.com>
40106
40107 [BZ #2547]
40108 [BZ #11365]
40109 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40110 manipulate bits before adding and subtracting TWO23[sx].
40111 * math/libm-test.inc (nearbyint_test): Add more tests.
40112
fe45ce09
JM
401132012-02-22 Joseph Myers <joseph@codesourcery.com>
40114
40115 [BZ #2548]
40116 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40117 bits before adding and subtracting TWO23[sx].
40118 * math/libm-test.inc (rint_test): Add more tests.
40119 (rint_test_tonearest): Likewise.
40120 (rint_test_towardzero): Likewise.
40121 (rint_test_downward): Likewise.
40122 (rint_test_upward: Likewise.
40123
ff3b3d82
JM
401242012-02-22 Joseph Myers <joseph@codesourcery.com>
40125
40126 [BZ #10110]
40127 * include/stdc-predef.h: New file. Extracted from features.h.
40128 * include/features.h: Include stdc-predef.h.
40129 * Makefile (headers): Add stdc-predef.h.
40130 * CONFORMANCE (Compiler limitations): Update.
40131
ef0aab35
JM
401322012-02-22 Joseph Myers <joseph@codesourcery.com>
40133
40134 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40135
58639409
DM
401362012-02-21 David S. Miller <davem@davemloft.net>
40137
40138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40140
c0e70b25
DM
401412012-02-20 David S. Miller <davem@davemloft.net>
40142
40143 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40144 using a normal save/restore sequence, rather than allocating a
40145 dummy stack frame just to store a frame pointer and restore.
40146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40147
fb06851d
JM
401482012-02-21 Joseph Myers <joseph@codesourcery.com>
40149
40150 * manual/install.texi: Fix stray word in line-wrapped comment.
40151
7a8b71c3
DM
401522012-02-20 David S. Miller <davem@davemloft.net>
40153
d510c123
DM
40154 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40155 both binutils and gcc support GOTDATA.
40156
0722d7c2
DM
40157 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40158 "rd %pc" in the PIC register setup sequences.
40159
3d2b3019
DM
40160 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40161 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40162 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40163 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40164 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40167 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40169 (SYSCALL_ERROR_HANDLER): Likewise.
40170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40173 (SYSCALL_ERROR_HANDLER): Likewise.
40174
c80098a9
DM
40175 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40176 (HAVE_GCC_GOTDATA): New.
40177 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40178 relocation support in both binutils and gcc.
40179 * sysdeps/sparc/elf/configure: Regenerate.
40180
3a2545a0
DM
40181 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40182 * sysdeps/sparc/sparc32/elf/configure: Delete.
40183 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40184 * sysdeps/sparc/sparc64/elf/configure: Delete.
40185 * sysdeps/sparc/elf/configure.in: New file.
40186 * sysdeps/sparc/elf/configure: Generate.
40187
7a8b71c3
DM
40188 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40189 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40190 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40191 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40192 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40193
f1e86fca
JM
401942012-02-21 Joseph Myers <joseph@codesourcery.com>
40195
40196 * manual/install.texi: Do not mention specific glibc version
40197 numbers.
40198 * manual/libc.texinfo (VERSION, UPDATED): Update.
40199 (@copying): Use @copyright{} and range of years.
40200
0e7dfaef
JM
402012012-02-21 Joseph Myers <joseph@codesourcery.com>
40202
40203 [BZ #13695]
40204 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40205 [crti.S not in sysdirs] (generated): Do not append.
40206 [crti.S not in sysdirs] (omit-deps): Likewise.
40207 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40208 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40209 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40210 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40211 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40212 Likewise.
40213 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40214 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40215 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40216 * csu/defs.awk: Remove file.
40217 * sysdeps/generic/initfini.c: Likewise.
40218 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40219 variable.
40220 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40221 Likewise.
40222
599af3ca
JM
402232012-02-20 Joseph Myers <joseph@codesourcery.com>
40224
40225 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40226 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40227 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40228 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40230 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40231 <bits/epoll.h>.
40232 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40233 (__EPOLL_PACKED): Define to empty if not defined by
40234 <bits/epoll.h>.
40235 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40237 bits/epoll.h.
40238
0e499750
JM
402392012-02-20 Joseph Myers <joseph@codesourcery.com>
40240
40241 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40242 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40243 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40244 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40245 <bits/timerfd.h>.
40246 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40248 bits/timerfd.h.
40249
5ad91f6e
JM
402502012-02-20 Joseph Myers <joseph@codesourcery.com>
40251
40252 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40253 in C locale.
40254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40255 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40258
06b99b02
AJ
402592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40260
40261 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40262 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40263
7638c0fd
AS
402642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40265
40266 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40267 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40268 defined.
40269 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40270 Likewise.
40271 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40272 entry for 2.16.
40273
92221550
AJ
402742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40275
40276 * math/w_acos.c: Use non-signaling floating-point comparisons.
40277 * math/w_acosf.c: Likewise.
40278 * math/w_acosh.c: Likewise.
40279 * math/w_acoshf.c: Likewise.
40280 * math/w_acoshl.c: Likewise.
40281 * math/w_acosl.c: Likewise.
40282 * math/w_asin.c: Likewise.
40283 * math/w_asinf.c: Likewise.
40284 * math/w_asinl.c: Likewise.
40285 * math/w_atanh.c: Likewise.
40286 * math/w_atanhf.c: Likewise.
40287 * math/w_atanhl.c: Likewise.
40288 * math/w_exp2.c: Likewise.
40289 * math/w_exp2f.c: Likewise.
40290 * math/w_exp2l.c: Likewise.
40291 * math/w_j0.c: Likewise.
40292 * math/w_j0f.c: Likewise.
40293 * math/w_j0l.c: Likewise.
40294 * math/w_j1.c: Likewise.
40295 * math/w_j1f.c: Likewise.
40296 * math/w_j1l.c: Likewise.
40297 * math/w_jn.c: Likewise.
40298 * math/w_jnf.c: Likewise.
40299 * math/w_log.c: Likewise.
40300 * math/w_log10.c: Likewise.
40301 * math/w_log10f.c: Likewise.
40302 * math/w_log10l.c: Likewise.
40303 * math/w_log2.c: Likewise.
40304 * math/w_log2f.c: Likewise.
40305 * math/w_log2l.c: Likewise.
40306 * math/w_logf.c: Likewise.
40307 * math/w_logl.c: Likewise.
40308 * math/w_sqrt.c: Likewise.
40309 * math/w_sqrtf.c: Likewise.
40310 * math/w_sqrtl.c: Likewise.
40311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40312 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40313 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40314 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40315 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40316
ebaf36eb
JM
403172012-02-19 Joseph Myers <joseph@codesourcery.com>
40318
40319 [BZ #9739]
40320 * manual/string.texi (strnlen): Use correct parameter name in
40321 equivalent expression.
40322
71c254a6
JM
403232012-02-19 Joseph Myers <joseph@codesourcery.com>
40324
40325 [BZ #11174]
40326 * manual/users.texi (seteuid): Consistently use neweuid for
40327 argument name.
40328
16d2c631
JM
403292012-02-19 Joseph Myers <joseph@codesourcery.com>
40330
40331 [BZ #13704]
40332 * manual/nss.texi (Services in the NSS configuration): Correct
40333 list of services in example configuration file.
40334
cd837b09
NB
403352012-02-19 Nick Bowler <nbowler@draconx.ca>
40336
40337 [BZ #11322]
40338 * manual/arith.texi: Remove statements about negative zero
40339 behaving identically to zero.
40340
02c4bbad
JM
403412012-02-18 Joseph Myers <joseph@codesourcery.com>
40342
40343 [BZ #5993]
40344 * manual/install.texi: Do not document upgrading from libc5.
40345
366842e7
JM
403462012-02-18 Joseph Myers <joseph@codesourcery.com>
40347
40348 [BZ #4596]
40349 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40350
dd54084d
DM
403512012-02-18 David S. Miller <davem@davemloft.net>
40352
40353 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40354 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40355 %o7 across the call.
40356 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40357 instead.
40358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40359 SETUP_PIC_REG_LEAF.
40360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40361 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40362 * sysdeps/sparc/crtn.S: Likewise.
40363
2bcc53a3
UD
403642012-02-17 Ulrich Drepper <drepper@gmail.com>
40365
40366 * aout/Makefile: Remove.
40367
09c093b5
RK
403682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40369
40370 [BZ #13058]
40371 * manual/examples/argp-ex1.c (main): Format definition in GNU
40372 style.
40373 * manual/examples/argp-ex2.c (main): Likewise.
40374 * manual/examples/argp-ex3.c (main): Likewise.
40375 * manual/examples/argp-ex4.c (main): Likewise.
40376 * manual/examples/longopt.c (main): Use new-style prototype
40377 definition.
40378 * manual/examples/strncat.c (main): Specify return type and use
40379 (void) for arguments.
40380 * manual/examples/subopt.c (main): Use char **argv argument.
40381
2ee633a2
JM
403822012-02-17 Joseph Myers <joseph@codesourcery.com>
40383
40384 [BZ #5077]
40385 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40386 rounding modes.
40387
0520adde
FB
403882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40389
40390 [BZ #6907]
40391 * manual/string.texi (strchr): Change when strchrnul is
40392 recommended.
40393
3f4081cd
DGM
403942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40395
40396 [BZ #174]
40397 * manual/locale.texi (setlocale): Document LOCPATH.
40398
d1b10e78
JM
403992012-02-17 Joseph Myers <joseph@codesourcery.com>
40400
40401 [BZ #10210]
40402 * manual/process.texi (execle): Move @dots{} before last argument.
40403
79c6869c
PB
404042012-02-17 Paul Bolle <pebolle@tiscali.nl>
40405
40406 [BZ #12047]
40407 * manual/charset.texi (Generic Charset Conversion): Fix typo
40408 (LC_TYPE -> LC_CTYPE).
40409
cc6e48bc
NB
404102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40411
40412 [BZ #5805]
40413 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40414 (scalbnf): Likewise.
40415 (scalbnl): Likewise.
40416 (scalbln): Likewise.
40417 (scalblnf): Likewise.
40418 (scalblnl): Likewise.
40419 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40420 (vwarnx): Likewise.
40421 (verr): Likewise.
40422 (verrx): Likewise.
40423 * manual/filesys.texi (telldir): Use braces around return type.
40424 * manual/llio.texi (mmap): Add space after comma.
40425 (mmap64): Likewise.
40426 * manual/math.texi (jn): Use @var{} on parameter names.
40427 (jnf): Likewise.
40428 (jnl): Likewise.
40429 (yn): Likewise.
40430 (ynf): Likewise.
40431 (ynl): Likewise.
40432 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40433 line.
40434 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40435 "...".
40436 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40437 (sched_get_priority_max): Likewise.
40438 * manual/signal.texi (sigvec): Add space after comma.
40439 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40440 names.
40441 (if_indextoname): Likewise.
40442 (if_freenameindex): Likewise.
40443 (sendto): Use ',' instead of '.' in prototype.
40444 * manual/startup.texi (syscall): Use @dots{} instead of literal
40445 "...".
40446 * manual/stdio.texi (__fpending): Separate initial words of
40447 paragraph from @deftypefun line.
40448 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40449 "...".
40450 (vsyslog): Use @var{} on parameter names.
40451 * manual/terminal.texi (stty): Use @var{} on parameter names.
40452 * manual/users.texi (getutmp): Use @var{} on parameter names.
40453 (getutmpx): Likewise.
40454
5b23062f
JM
404552012-02-17 Joseph Myers <joseph@codesourcery.com>
40456
40457 [BZ #6884]
40458 * manual/stdio.texi (fopen): Fix typos in description of
40459 ",ccs=STRING".
40460
8dee4833
AJ
404612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40462
40463 [BZ #4026]
40464 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40465 get clock_id definition.
40466
9078ce93
TS
404672012-02-17 Thomas Schwinge <thomas@schwinge.name>
40468
40469 [BZ #4822]
40470 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40471 (madvise): Cast every argument to void on its own.
40472
3835c55f
JM
404732012-02-17 Joseph Myers <joseph@codesourcery.com>
40474
40475 [BZ #9902]
40476 * manual/startup.texi (Exit Status): Fix typo.
40477
35c47e37
JM
404782012-02-17 Joseph Myers <joseph@codesourcery.com>
40479
40480 [BZ #10140]
40481 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40482 * manual/examples/argp-ex2.c: Likewise.
40483 * manual/examples/argp-ex3.c: Likewise.
40484
e3b69ca7
RH
404852012-02-16 Richard Henderson <rth@redhat.com>
40486
40487 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40488 * sysdeps/s390/s390-32/initfini.c: Remove.
40489 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40490 * sysdeps/s390/s390-64/initfini.c: Remove.
40491
df83af67
KK
404922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40493
40494 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40495 compiler output for sysdeps/generic/initfini.c.
40496 * sysdeps/sh/elf/initfini.c: Remove file.
40497
f63f3380
DM
404982012-02-16 David S. Miller <davem@davemloft.net>
40499
fb59b3a4
DM
40500 [BZ #11494]
40501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40502
f63f3380
DM
40503 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40504 * sysdeps/sparc/crti.S: New file.
40505 * sysdeps/sparc/crtn.S: New file.
40506 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40507 * sysdeps/sparc/sparc64/Makefile: Likewise.
40508
df6a4a4a
MF
405092012-02-15 Mike Frysinger <vapier@gentoo.org>
40510
6dd8f3dc 40511 [BZ #3335]
df6a4a4a
MF
40512 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40513
1cac7236
RM
405142012-02-15 Roland McGrath <roland@hack.frob.com>
40515
d2c736f8
RM
40516 [BZ #4822]
40517 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40518
1cac7236
RM
40519 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40520 (write, read, close): Likewise.
40521 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40522
8e475601
JM
405232012-02-15 Joseph Myers <joseph@codesourcery.com>
40524
40525 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40526 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40527 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40528 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40529 <bits/signalfd.h>.
40530 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40532 bits/signalfd.h.
40533
ed656b40
MP
405342012-02-14 Marek Polacek <polacek@redhat.com>
40535
40536 * sysdeps/x86_64/crti.S: New file.
40537 * sysdeps/x86_64/crtn.S: New file.
40538 * sysdeps/x86_64/elf/initfini.c: Remove file.
40539
2a979d3a
JM
405402012-02-13 Joseph Myers <joseph@codesourcery.com>
40541
40542 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40543 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40544 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40545 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40546 <bits/inotify.h>.
40547 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40549 bits/inotify.h.
40550
2a418ac3
JM
405512012-02-13 Joseph Myers <joseph@codesourcery.com>
40552
40553 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40554 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40555 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40556 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40557 <bits/eventfd.h>.
40558 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40560 bits/eventfd.h.
40561
fb779be7
TS
405622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40563
e19e83c5
RM
40564 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40565 __feraiseexcept instead of feraiseexcept.
7c35ffed 40566
fb779be7
TS
40567 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40568 nanosleep invocations.
40569 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40570 strings, and add error checking for a nanosleep invocations.
40571
59ba27a6
PE
405722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40573
40574 Replace FSF snail mail address with URLs, as per GNU coding standards.
40575 Most of the snail mail addresses were wrong anyway, and omitting
40576 them makes the source code easier to maintain. Almost all of the
40577 changes are to license notices and to locale LC_IDENTIFICATION
40578 addresses, except for this one:
40579 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40580 not its snail mail address.
40581
57b957eb
RH
405822012-02-09 Richard Henderson <rth@twiddle.net>
40583
af850b1c
RH
40584 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40585 of kernel-features.h.
40586
57b957eb
RH
40587 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40588
6b73181a
MP
405892012-02-08 Marek Polacek <polacek@redhat.com>
40590
40591 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40592 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40593 * sysdeps/gnu/_G_config.h: Likewise.
40594 * sysdeps/generic/_G_config.h: Likewise.
40595
26ecc33a
AS
405962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40597
6c6dbc63
AS
40598 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40599 tests.
40600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40601
e216c012
AS
40602 * sysdeps/powerpc/powerpc32/crti.S: New file.
40603 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40604 * sysdeps/powerpc/powerpc64/crti.S: New file.
40605 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40606
26ecc33a
AS
40607 * Makeconfig (have-initfini): Don't set.
40608 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40609 * configure.in (nopic_initfini): Don't substitute.
40610 * config.h.in (HAVE_INITFINI): Don't #undef.
40611 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40612 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40613
3add8e13
JM
406142012-02-08 Joseph Myers <joseph@codesourcery.com>
40615
40616 Support crti.S and crtn.S provided directly by architectures.
40617 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40618 [crti.S in sysdirs] (omit-deps): Likewise.
40619 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40620 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40621 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40622 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40623 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40624 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40625 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40626 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40627 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40628 compiler output for sysdeps/generic/initfini.c.
40629 * sysdeps/i386/elf/Makefile: Remove file.
40630 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40631
a22f12b4
MP
406322012-02-07 Marek Polacek <polacek@redhat.com>
40633
40634 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40635 * sysdeps/gnu/_G_config.h: Likewise.
40636 * sysdeps/mach/hurd/_G_config.h: Likewise.
40637
148cf100
MP
406382012-02-07 Marek Polacek <polacek@redhat.com>
40639
40640 * math/Makefile (tests): Add tst-CMPLX2.
40641 * math/tst-CMPLX2.c: New file.
40642
cfdc0dd7
AS
406432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40644
84ba42c4
AS
40645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40646
cfdc0dd7
AS
40647 * math/libm-test.inc (jn_test): Add missing L suffix.
40648
622c86f4
MP
406492012-02-06 Marek Polacek <polacek@redhat.com>
40650
40651 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40652 * sysdeps/i386/fpu/e_powf.S: Likewise.
40653 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40654 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40656 * sysdeps/i386/fpu/e_pow.S: Likewise.
40657 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40658 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40659 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40660 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40661 * sysdeps/i386/fpu/e_log2.S: Likewise.
40662 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40663 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40664 * sysdeps/i386/fpu/e_powl.S: Likewise.
40665 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40666 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40667 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40668 * sysdeps/i386/fpu/e_logl.S: Likewise.
40669 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40670 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40671 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40672 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40674 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40675 * sysdeps/i386/fpu/e_log.S: Likewise.
40676 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40677 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40678 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40679 * sysdeps/i386/fpu/e_logf.S: Likewise.
40680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40681 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40682 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40683 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40685 * sysdeps/i386/fpu/e_log10.S: Likewise.
40686 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40688 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40689 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40690 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40691 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40692 * sysdeps/i386/asm-syntax.h: Likewise.
40693 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40694 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40696 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40697 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40699 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40700 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40702 * sysdeps/powerpc/sysdep.h: Likewise.
40703 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40704 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40705
d4a54ac6
JM
407062012-02-06 Joseph Myers <joseph@codesourcery.com>
40707
40708 [BZ #411]
40709 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40710
314054ea
JM
407112012-02-06 Joseph Myers <joseph@codesourcery.com>
40712
40713 * sysdeps/i386/sysdep.h: Include <features.h>.
40714 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40715 version.
40716
d8e0ca50
JM
407172012-02-05 Joseph Myers <joseph@codesourcery.com>
40718
40719 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40720 Define.
40721 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40722 LOAD_PIC_REG_STR.
40723
b1da7dd9
JM
407242012-02-03 Joseph Myers <joseph@codesourcery.com>
40725
40726 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40727 (SETUP_PIC_REG): Use GET_PC_THUNK.
40728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40729 macro.
40730
9a1d9254
JM
407312012-02-03 Joseph Myers <joseph@codesourcery.com>
40732
40733 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40734 for non-PIC compilation.
40735 (SETUP_PIC_REG): Add .p2align directive.
40736 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40737 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40738 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40740 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40741 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40742 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40744 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40745 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40746 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40747 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40748 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40749 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40750 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40751 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40752 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40753 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40754 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40755 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40756 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40758 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40759 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40760 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40762 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40763 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40764 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40765 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40766 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40768 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40769 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40770 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40771 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40772 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40773 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40774 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40775 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40776 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40777
65dc3b75
JM
407782012-02-03 Joseph Myers <joseph@codesourcery.com>
40779
40780 * math/tst-CMPLX.c: Include <stdio.h>.
40781
d55bf177
JM
407822012-01-31 Joseph Myers <joseph@codesourcery.com>
40783
40784 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40785 float.
40786 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40787 * sysdeps/sparc/bits/mathdef.h: Likewise.
40788
69db4f8f
MP
407892012-01-31 Marek Polacek <polacek@redhat.com>
40790
40791 * libio/libio.h: Don't define _PARAMS.
40792 * locale/programs/config.h: Don't define PARAMS.
40793 * stdlib/strtol_l.c: Likewise.
40794 (__strtol_l): Remove PARAMS from the prototype.
40795
41b81892
UD
407962012-01-31 Ulrich Drepper <drepper@gmail.com>
40797
3b49edc0
UD
40798 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40799 names. Just use the correct names. Remove unnecessary wrapper
40800 functions.
40801 * malloc/arena.c: Likewise.
40802 * malloc/hooks.c: Likewise.
40803
41b81892
UD
40804 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40805 ARENA_TEST says not to. Simplify test for creation of a new arena.
40806 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40807
27a25b6e
UD
408082012-01-30 Ulrich Drepper <drepper@gmail.com>
40809
40810 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40811 into tail calls.
40812 (update_get_addr): New function.
40813 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40814 GET_ADDR_MODULE parameter.
40815
c8a89e7d
JM
408162012-01-30 Joseph Myers <joseph@codesourcery.com>
40817
40818 * crypt/cert.c: Remove __STDC__ conditionals.
40819 * crypt/crypt-entry.c: Likewise.
40820 * crypt/crypt_util.c: Likewise.
40821 * libio/filedoalloc.c: Likewise.
40822 * libio/fileops.c: Likewise.
40823 * libio/genops.c: Likewise.
40824 * libio/iofclose.c: Likewise.
40825 * libio/iofdopen.c: Likewise.
40826 * libio/iofopen.c: Likewise.
40827 * libio/iofopen64.c: Likewise.
40828 * libio/iogetdelim.c: Likewise.
40829 * libio/iopopen.c: Likewise.
40830 * libio/obprintf.c: Likewise.
40831 * libio/oldfileops.c: Likewise.
40832 * libio/oldiofclose.c: Likewise.
40833 * libio/oldiofdopen.c: Likewise.
40834 * libio/oldiofopen.c: Likewise.
40835 * libio/oldiopopen.c: Likewise.
40836 * libio/wfiledoalloc.c: Likewise.
40837 * libio/wgenops.c: Likewise.
40838 * locale/programs/xmalloc.c: Likewise.
40839 * misc/syslog.c: Likewise.
40840 * stdio-common/xbug.c: Likewise.
40841 * string/memchr.c: Likewise.
40842 * string/memcmp.c: Likewise.
40843 * string/memrchr.c: Likewise.
40844 * string/rawmemchr.c: Likewise.
40845 * sysdeps/posix/getcwd.c: Likewise.
40846 * time/strftime_l.c: Likewise.
40847
3b100462
JM
408482012-01-30 Joseph Myers <joseph@codesourcery.com>
40849
40850 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40851 * config.make.in (config-cflags-sse2avx): Define.
40852 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40853 Fix typo.
40854
607998af
CM
408552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40856
40857 * scripts/config.guess: Update from upstream config git repository.
40858 * scripts/config.sub: Likewise.
40859
3601428f
CM
408602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40861
3ac8b282
CM
40862 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40863 (EM_NUM): Update.
40864 (R_TILEPRO_*, R_TILEGX_*): New macros.
40865
e034841e
CM
40866 * scripts/firstversions.awk: Fix bug in version range handling.
40867
540d7568
CM
40868 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40869
3601428f
CM
40870 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40871
463de862
CM
40872 * include/sys/epoll.h: New file.
40873 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40874 libc_hidden_def.
40875
73139a76
UD
408762012-01-28 Ulrich Drepper <drepper@gmail.com>
40877
96bc5b45
UD
40878 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40879 Avoid unnecessary __WORDSIZE == 64 test.
40880 (fmaxf): Use VEX format if possible.
40881 (fmax): Likewise.
40882 (fminf): Likewise.
40883 (fmin): Likewise.
40884
56f6f6a2
UD
40885 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40886 * math/math_private.h: Remove libc_fegetround* and
40887 libc_fesetround*.
40888 * sysdeps/i386/configure.in: Check for -msse2avx.
40889 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40890 also if SSE2AVX is defined.
40891 Remove libc_fegetround* and libc_fesetround*.
40892 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40893 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40895 of HAS_YMM_USABLE.
40896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40897 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40901
73139a76
UD
40902 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40903
d73f93a4
AZ
409042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40905
40906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40907 size is not set.
40908 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40909
6ee65ed6
UD
409102012-01-27 Ulrich Drepper <drepper@gmail.com>
40911
40912 [BZ #13618]
40913 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40914 relocation.
40915 * Makeconfig (libm): Define.
40916 * elf/Makefile: Add rules to build and run tst-relsort1.
40917 * elf/tst-relsort1.c: New file.
40918 * elf/tst-relsort1mod1.c: New file.
40919 * elf/tst-relsort1mod2.c: New file.
40920
8db21882
JM
409212012-01-27 Joseph Myers <joseph@codesourcery.com>
40922
40923 * math/s_ldexp.c: Remove __STDC__ conditionals.
40924 * math/s_ldexpf.c: Likewise.
40925 * math/s_ldexpl.c: Likewise.
40926 * math/s_nextafter.c: Likewise.
40927 * math/s_nexttowardf.c: Likewise.
40928 * math/s_significand.c: Likewise.
40929 * math/s_significandf.c: Likewise.
40930 * math/s_significandl.c: Likewise.
40931 * math/w_jnl.c: Likewise.
40932 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40933 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40934 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40935 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40936 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40953 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40954 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40955 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40956 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40957 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40958 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40959 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40960 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40961 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40962 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40963 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40964 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40965 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40966 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40967 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40969 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40970 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40971 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40972 * sysdeps/ieee754/k_standard.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41034 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41047 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41048 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41052 * sysdeps/ieee754/s_matherr.c: Likewise.
41053 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41054 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41055 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41057
965a54a4
JM
410582012-01-26 Joseph Myers <joseph@codesourcery.com>
41059
41060 * crypt/md5.h: Remove __STDC__ conditionals.
41061 * libio/libioP.h: Likewise.
41062 * locale/programs/config.h: Likewise.
41063 * sysdeps/generic/sysdep.h: Likewise.
41064 * sysdeps/i386/asm-syntax.h: Likewise.
41065 * sysdeps/s390/asm-syntax.h: Likewise.
41066 * sysdeps/unix/sysdep.h: Likewise.
41067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41069
7071ad79
JM
410702012-01-26 Joseph Myers <joseph@codesourcery.com>
41071
41072 * libio/libio.h: Remove __STDC__ conditionals.
41073 * malloc/obstack.h: Likewise.
41074 * math/complex.h: Likewise.
41075 * math/math.h: Likewise.
41076 * sysdeps/generic/_G_config.h: Likewise.
41077 * sysdeps/gnu/_G_config.h: Likewise.
41078 * sysdeps/mach/hurd/_G_config.h: Likewise.
41079 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41080 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41081 * sysdeps/sparc/bits/mathdef.h: Likewise.
41082
afc5ed09
UD
410832012-01-26 Ulrich Drepper <drepper@gmail.com>
41084
41085 [BZ #13583]
41086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41087 Clean up HAS_* macros.
afc5ed09 41088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41089 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41090 possible.
41091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41092 HAS_AVX.
41093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41094 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41096 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41097 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41098
bdb6de1d
JM
410992012-01-25 Joseph Myers <joseph@codesourcery.com>
41100
41101 * elf/tst-unique3.cc (gets): Remove declaration.
41102 * elf/tst-unique3lib.cc (gets): Likewise.
41103 * elf/tst-unique3lib2.cc (gets): Likewise.
41104 * elf/tst-unique4.cc (gets): Likewise.
41105
b15549e6
UD
411062012-01-24 Ulrich Drepper <drepper@gmail.com>
41107
41108 * include/stdio.h: Add C++ protection. Add gets declarations and
41109 definitions.
41110 * debug/tst-chk1.c: Don't declare gets here.
41111 * stdio-common/tst-gets.c: Likewise.
41112
a037381f
JM
411132012-01-24 Joseph Myers <joseph@codesourcery.com>
41114
41115 * posix/glob: Remove directory.
41116
f1d4aa75
JM
411172012-01-24 Joseph Myers <joseph@codesourcery.com>
41118
41119 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41120
81c0c964
PT
411212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41122
41123 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41124 of the non-standard EPFNOSUPPORT.
41125
0ea698ae
ST
411262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41127
41128 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41129 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41130 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41131
d220b117
UD
411322012-01-21 Ulrich Drepper <drepper@gmail.com>
41133
41134 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41135
3e1aa84e
UD
411362012-01-20 Ulrich Drepper <drepper@gmail.com>
41137
41138 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41139 transient errors.
41140 * nscd/grpcache.c (cache_addgr): Likewise.
41141 * nscd/hstcache.c (cache_addhst): Likewise.
41142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41143 * nscd/pwdcache.c (cache_addpw): Likewise.
41144 * nscd/servicescache.c (cache_addserv): Likewise.
41145
400aa020
UD
411462012-01-16 Ulrich Drepper <drepper@gmail.com>
41147
d77e7869
UD
41148 * malloc/malloc.c: Various cleanups.
41149 * malloc/hooks.c: Likewise.
41150
400aa020
UD
41151 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41152 * stdlib/bug-fmtmsg1.c: New file.
41153
41154 * stdlib/fmtmsg.c (init): Add missing unlock.
41155 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41156
e0a309cf
MP
411572012-01-12 Marek Polacek <polacek@redhat.com>
41158
41159 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41160 and _GNU_SOURCE.
41161
929d11c7
WS
411622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41163
41164 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41166 macro to ensure uniqueness of label name.
41167 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41168 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41169
41d0e869
UD
411702012-01-11 Ulrich Drepper <drepper@gmail.com>
41171
0cc5ed3b
UD
41172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41173
41d0e869
UD
41174 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41175 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41178
a47a831a
UD
411792012-01-10 Ulrich Drepper <drepper@gmail.com>
41180
daa891c0
UD
41181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41182
41183 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41185 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41186
e58ef0f2
UD
41187 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41188
a47a831a 41189 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41190 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41193
41194 * math/bits/math-finite.h: Add ldexp support.
41195
a0bfc9c7
MP
411962012-01-10 Marek Polacek <polacek@redhat.com>
41197
41198 * locale/programs/localedef.h (show_archive_content): Add noreturn
41199 attribute.
41200
d6e97a1d
UD
412012012-01-09 Ulrich Drepper <drepper@gmail.com>
41202
41203 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41204
d5835c26
UD
412052012-01-08 Ulrich Drepper <drepper@gmail.com>
41206
e5f484c6
UD
41207 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41208
d5835c26
UD
41209 * io/Makefile (headers): Add bits/poll2.h.
41210
d1f741e9
WS
412112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41212
41213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41214 typo #include statement.
41215
ec09c1c4
UD
412162012-01-08 Ulrich Drepper <drepper@gmail.com>
41217
41218 * include/sys/cdefs.h: Define __attribute_alloc_size.
41219 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41220 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41221 * elf/pldd.c: Likewise.
41222 * iconv/iconv_charmap.c: Likewise.
41223 * iconv/iconvconfig.c: Likewise.
41224 * iconv/strtab.c: Likewise.
41225 * locale/programs/locale.c: Likewise.
41226 * locale/programs/localedef.h: Likewise.
41227 * locale/programs/simple-hash.c: Likewise.
41228 * nscd/nscd.h: Likewise.
41229 * nss/makedb.c: Likewise.
41230 * sysdeps/generic/ldconfig.h: Likewise.
41231 * locale/programs/localedef.c: Remove xmalloc prototype.
41232 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41233
20b38e03
PP
412342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41235
41236 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41237 appropriate.
41238
a0da5fe1
UD
412392012-01-08 Ulrich Drepper <drepper@gmail.com>
41240
1d5a644a 41241 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41242 * math/tst-CMPLX.c: New file.
1d5a644a 41243
8784a6db
UD
41244 * math/complex.h (CMPLXL): Fix typo.
41245
d9a216c0
UD
41246 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41247 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41248 GLIBC_2.16.
41249 * debug/tst-chk1.c: Add poll and ppoll tests.
41250 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41251 * include/sys/poll.h: Add hidden proto for ppoll.
41252 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41253 * sysdeps/mach/hurd/ppoll.c: Likewise.
41254 * io/ppoll.c: Likewise.
41255 * debug/poll_chk.c: New file.
41256 * debug/ppoll_chk.c: New file.
41257 * include/bits/poll2.h: New file.
41258 * io/bits/poll2.h: New file.
41259
ac097f5c
UD
41260 [BZ #1350]
41261 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41262
2119dcfa
UD
41263 * configure.in: static is always set to yes. Remove.
41264 * config.make.in: Don't set build-static.
41265 * Makeconfig: Remove use of build-static.
41266 * dlfcn/Makefile: Likewise.
41267 * elf/Makefile: Likewise.
41268 * math/Makefile: Likewise.
41269 * misc/Makefile: Likewise.
41270 * nptl/Makefile: Likewise.
41271 * sysdeps/mach/hurd/Makefile: Likewise.
41272
121766a9
UD
41273 * configure.in: PWD_P is not used anymore.
41274 * config.make.in: Remove PWD_P entry.
41275
51a1d39c 41276 * configure.in: Remove last remnants of RANLIB.
8720d066 41277 No need to check for signed size_t anymore.
215f4bdc
UD
41278 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41279 and IA-64.
3857022a 41280 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41281 * aclocal.m4: Likewise.
41282
d3ed7225
UD
41283 * wcsmbs/mbrtoc16.c: Implement using towc function.
41284 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41285 * wcsmbs/wcsmbsload.c: Likewise.
41286 * iconv/gconv_simple.c: Likewise.
41287 * iconv/gconv_int.h: Likewise.
41288 * iconv/gconv_builtin.h: Likewise.
41289 * iconv/iconv_prog.c: Remove CHAR16 handling.
41290
41291 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41292
41293 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41294
a0da5fe1
UD
41295 * configure.in: Remove --with-elf and --enable-bounded options.
41296 Dont set base_machine for ia64. More non-ELF conditions removed.
41297 Remove testing and setting of leading underscore information.
41298 * config.make.in (build-bounded): Set to no.
41299 * config.h.in: Remove NO_UNDERSCORES entry.
41300 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41301 them.
41302 * csu/start.c: Remove !NO_UNDERSCORE code.
41303 * locale/localeinfo.h: Likewise.
41304 * sysdeps/generic/machine-gmon.h: Likewise.
41305 * sysdeps/generic/sysdep.h: Likewise.
41306 * sysdeps/i386/sysdep.h: Likewise.
41307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41308 * sysdeps/mach/sysdep.h: Likewise.
41309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41311 * sysdeps/sh/sysdep.h: Likewise.
41312 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41313 * sysdeps/unix/i386/sysdep.S: Likewise.
41314 * sysdeps/unix/sparc/start.c: Likewise.
41315 * sysdeps/unix/sparc/sysdep.S: Likewise.
41316 * sysdeps/unix/sparc/sysdep.h: Likewise.
41317 * sysdeps/unix/start.c: Likewise.
41318 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41319 * sysdeps/x86_64/sysdep.h: Likewise.
41320
df78418a
UD
413212012-01-07 Ulrich Drepper <drepper@gmail.com>
41322
a784e502
UD
41323 [BZ #13553]
41324 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41325 for non-gcc.
41326 * argp/argp-fmtstream.h: Use const instead __const.
41327 * argp/argp.h: Likewise.
41328 * assert/assert.h: Likewise.
41329 * bits/fenv.h: Likewise.
41330 * bits/sched.h: Likewise.
41331 * bits/sigset.h: Likewise.
41332 * bits/sigthread.h: Likewise.
41333 * catgets/nl_types.h: Likewise.
41334 * conform/data/pthread.h-data: Likewise.
41335 * crypt/crypt-private.h: Likewise.
41336 * crypt/crypt.h: Likewise.
41337 * crypt/crypt_util.c: Likewise.
41338 * ctype/ctype.h: Likewise.
41339 * debug/execinfo.h: Likewise.
41340 * debug/mbsnrtowcs_chk.c: Likewise.
41341 * debug/mbsrtowcs_chk.c: Likewise.
41342 * debug/wcsnrtombs_chk.c: Likewise.
41343 * debug/wcsrtombs_chk.c: Likewise.
41344 * debug/wcstombs_chk.c: Likewise.
41345 * dirent/dirent.h: Likewise.
41346 * dlfcn/dlfcn.h: Likewise.
41347 * elf/neededtest4.c: Likewise.
41348 * grp/grp.h: Likewise.
41349 * gshadow/gshadow.h: Likewise.
41350 * iconv/gconv.h: Likewise.
41351 * iconv/gconv_int.h: Likewise.
41352 * iconv/gconv_simple.c: Likewise.
41353 * iconv/iconv.h: Likewise.
41354 * iconv/loop.c: Likewise.
41355 * iconv/skeleton.c: Likewise.
41356 * include/aio.h: Likewise.
41357 * include/aliases.h: Likewise.
41358 * include/argz.h: Likewise.
41359 * include/arpa/inet.h: Likewise.
41360 * include/assert.h: Likewise.
41361 * include/dirent.h: Likewise.
41362 * include/dlfcn.h: Likewise.
41363 * include/execinfo.h: Likewise.
41364 * include/fcntl.h: Likewise.
41365 * include/fenv.h: Likewise.
41366 * include/glob.h: Likewise.
41367 * include/grp.h: Likewise.
41368 * include/libintl.h: Likewise.
41369 * include/mntent.h: Likewise.
41370 * include/netdb.h: Likewise.
41371 * include/pwd.h: Likewise.
41372 * include/rpc/netdb.h: Likewise.
41373 * include/sched.h: Likewise.
41374 * include/search.h: Likewise.
41375 * include/shadow.h: Likewise.
41376 * include/signal.h: Likewise.
41377 * include/stdio.h: Likewise.
41378 * include/stdlib.h: Likewise.
41379 * include/string.h: Likewise.
41380 * include/sys/socket.h: Likewise.
41381 * include/sys/stat.h: Likewise.
41382 * include/sys/statfs.h: Likewise.
41383 * include/sys/statvfs.h: Likewise.
41384 * include/sys/syslog.h: Likewise.
41385 * include/sys/time.h: Likewise.
41386 * include/sys/uio.h: Likewise.
41387 * include/time.h: Likewise.
41388 * include/unistd.h: Likewise.
41389 * include/utmp.h: Likewise.
41390 * include/wchar.h: Likewise.
41391 * include/wctype.h: Likewise.
41392 * inet/aliases.h: Likewise.
41393 * inet/arpa/inet.h: Likewise.
41394 * inet/netinet/ether.h: Likewise.
41395 * inet/netinet/in.h: Likewise.
41396 * intl/libintl.h: Likewise.
41397 * io/bits/fcntl2.h: Likewise.
41398 * io/fcntl.h: Likewise.
41399 * io/ftw.h: Likewise.
41400 * io/sys/poll.h: Likewise.
41401 * io/sys/stat.h: Likewise.
41402 * io/sys/statfs.h: Likewise.
41403 * io/sys/statvfs.h: Likewise.
41404 * io/utime.h: Likewise.
41405 * libio/bits/stdio.h: Likewise.
41406 * libio/bits/stdio2.h: Likewise.
41407 * libio/libio.h: Likewise.
41408 * libio/libioP.h: Likewise.
41409 * libio/stdio.h: Likewise.
41410 * locale/lc-ctype.c: Likewise.
41411 * locale/locale.h: Likewise.
41412 * login/utmp.h: Likewise.
41413 * malloc/arena.c: Likewise.
41414 * malloc/malloc.c: Likewise.
41415 * malloc/malloc.h: Likewise.
41416 * malloc/mcheck.c: Likewise.
41417 * malloc/mtrace.c: Likewise.
41418 * math/bits/mathcalls.h: Likewise.
41419 * math/fenv.h: Likewise.
41420 * math/math_private.h: Likewise.
41421 * misc/bits/error.h: Likewise.
41422 * misc/bits/syslog.h: Likewise.
41423 * misc/err.h: Likewise.
41424 * misc/error.h: Likewise.
41425 * misc/fstab.h: Likewise.
41426 * misc/mntent.h: Likewise.
41427 * misc/regexp.h: Likewise.
41428 * misc/search.h: Likewise.
41429 * misc/sgtty.h: Likewise.
41430 * misc/sys/mman.h: Likewise.
41431 * misc/sys/syslog.h: Likewise.
41432 * misc/sys/uio.h: Likewise.
41433 * misc/sys/xattr.h: Likewise.
41434 * misc/ttyent.h: Likewise.
41435 * nis/rpcsvc/ypclnt.h: Likewise.
41436 * nss/nss.h: Likewise.
41437 * posix/bits/unistd.h: Likewise.
41438 * posix/fnmatch.h: Likewise.
41439 * posix/glob.h: Likewise.
41440 * posix/sched.h: Likewise.
41441 * posix/spawn.h: Likewise.
41442 * posix/sys/wait.h: Likewise.
41443 * posix/unistd.h: Likewise.
41444 * posix/wordexp.h: Likewise.
41445 * pwd/pwd.h: Likewise.
41446 * resolv/netdb.h: Likewise.
41447 * resource/sys/resource.h: Likewise.
41448 * rt/aio.h: Likewise.
41449 * rt/bits/mqueue2.h: Likewise.
41450 * rt/mqueue.h: Likewise.
41451 * shadow/shadow.h: Likewise.
41452 * signal/signal.h: Likewise.
41453 * socket/send.c: Likewise.
41454 * socket/sendto.c: Likewise.
41455 * socket/sys/socket.h: Likewise.
41456 * stdio-common/printf.h: Likewise.
41457 * stdlib/bits/stdlib.h: Likewise.
41458 * stdlib/fmtmsg.h: Likewise.
41459 * stdlib/monetary.h: Likewise.
41460 * stdlib/stdlib.h: Likewise.
41461 * stdlib/ucontext.h: Likewise.
41462 * streams/stropts.h: Likewise.
41463 * string/argz.h: Likewise.
41464 * string/bits/string2.h: Likewise.
41465 * string/string.h: Likewise.
41466 * string/strings.h: Likewise.
41467 * sunrpc/rpc/auth.h: Likewise.
41468 * sunrpc/rpc/auth_des.h: Likewise.
41469 * sunrpc/rpc/clnt.h: Likewise.
41470 * sunrpc/rpc/netdb.h: Likewise.
41471 * sunrpc/rpc/pmap_clnt.h: Likewise.
41472 * sunrpc/rpc/xdr.h: Likewise.
41473 * sysdeps/generic/inttypes.h: Likewise.
41474 * sysdeps/generic/net/if.h: Likewise.
41475 * sysdeps/generic/sys/swap.h: Likewise.
41476 * sysdeps/gnu/net/if.h: Likewise.
41477 * sysdeps/gnu/utmpx.h: Likewise.
41478 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41479 * sysdeps/i386/i486/bits/string.h: Likewise.
41480 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41481 * sysdeps/s390/bits/string.h: Likewise.
41482 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41483 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41484 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41485 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41486 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41487 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41488 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41489 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41490 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41491 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41492 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41493 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41494 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41495 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41496 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41497 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41498 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41500 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41501 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41503 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41504 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41505 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41506 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41507 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41508 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41510 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41511 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41512 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41513 * sysvipc/sys/ipc.h: Likewise.
41514 * sysvipc/sys/msg.h: Likewise.
41515 * sysvipc/sys/sem.h: Likewise.
41516 * sysvipc/sys/shm.h: Likewise.
41517 * termios/termios.h: Likewise.
41518 * time/sys/time.h: Likewise.
41519 * time/time.h: Likewise.
41520 * wcsmbs/bits/wchar2.h: Likewise.
41521 * wcsmbs/uchar.h: Likewise.
41522 * wcsmbs/wchar.h: Likewise.
41523 * wctype/wctype.h: Likewise.
41524
0269750c
UD
41525 [BZ #13551]
41526 * Makeconfig: Remove all but ELF support including AIX support.
41527 * Makerules: Likewise.
41528 * config.h.in: Likewise.
41529 * config.make.in: Likewise.
41530 * configure: Likewise.
41531 * configure.in: Likewise.
41532 * csu/Makefile: Likewise.
41533 * csu/version.c: Likewise.
41534 * debug/Makefile: Likewise.
41535 * dlfcn/Makefile: Likewise.
41536 * elf/Makefile: Likewise.
41537 * extra-lib.mk: Likewise.
41538 * iconv/Makefile: Likewise.
41539 * include/libc-symbols.h: Likewise.
41540 * include/shlib-compat.h: Likewise.
41541 * resolv/Makefile: Likewise.
41542 * resolv/res_libc.c: Likewise.
41543 * rt/Makefile: Likewise.
41544 * sysdeps/i386/asm-syntax.h: Likewise.
41545 * sysdeps/i386/sysdep.h: Likewise.
41546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41547 * sysdeps/mach/sysdep.h: Likewise.
41548 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41549 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41550 * sysdeps/s390/asm-syntax.h: Likewise.
41551 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41553 * sysdeps/sh/sysdep.h: Likewise.
41554 * sysdeps/unix/sparc/sysdep.h: Likewise.
41555 * sysdeps/wordsize-32/divdi3.c: Likewise.
41556 * sysdeps/x86_64/sysdep.h: Likewise.
41557
00bbd29b
UD
41558 * argp/Versions: Remove _argp_unlock_xxx.
41559
41560 [BZ #13559]
41561 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41562 * abilist/libBrokenLocale.abilist: Likewise.
41563 * abilist/libanl.abilist: Likewise.
41564 * abilist/libc.abilist: Likewise.
41565 * abilist/libcrypt.abilist: Likewise.
41566 * abilist/libdl.abilist: Likewise.
41567 * abilist/libm.abilist: Likewise.
41568 * abilist/libnsl.abilist: Likewise.
41569 * abilist/libpthread.abilist: Likewise.
41570 * abilist/libresolv.abilist: Likewise.
41571 * abilist/librt.abilist: Likewise.
41572 * abilist/libthread_db.abilist: Likewise.
41573 * abilist/libutil.abilist: Likewise.
41574 * abilist/libnss_db.abilist: New file.
41575
41576 * scripts/abilist.awk: Add support for indirect functions.
41577
a2693a0e
UD
41578 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41579
3f05895f
UD
41580 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41581
ecb6fb48
UD
41582 * shlib-versions: Remove entries for ports architectures.
41583
664f8cb9
UD
41584 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41585 files in ports.
41586 * elf/stackguard-macros.h: Remove support for IA-64.
41587 * elf/tst-auditmod1.c: Likewise.
41588 * sysdeps/generic/ldsodefs.h: Likewise.
41589
7ae81d88
UD
41590 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41591 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41592 configure files.
41593
bdeba135
UD
41594 [BZ #13552]
41595 * configure.in: Remove --enable-omitfp support.
41596 * FAQ.in: Adjust.
41597 * config.make.in: Likewise.
41598 * Makeconfig: Likewise.
41599 * manual/install.texi: Likewise.
41600
d75a0a62
UD
41601 In case anyone cares, the IA-64 architecture could move to ports.
41602 * sysdeps/ia64/*: Removed.
41603 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41604 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41605
dcc9756b
UD
41606 [BZ #13555]
41607 * configure.in: Remove entries for unsupported architectures.
41608
d3761ebc 41609 [BZ #13533]
9954432e
UD
41610 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41611 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41612 routines.
41613 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41614 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41615 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41616 fall back to using wcrtomb.
41617 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41618 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41619 renaming.
41620 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41621 * wcsmbs/tst-c16c32-1.c: New file.
41622
41623 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41624 local variable.
41625
c3a87236
UD
41626 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41627
28926a1b
UD
41628 * elf/tst-unique3.cc: Add explicit declaration of gets.
41629 * elf/tst-unique3lib.cc: Likewise.
41630 * elf/tst-unique3lib2.cc: Likewise.
41631 * elf/tst-unique4.cc: Likewise.
41632
df78418a
UD
41633 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41634
8ecd6b2a
JM
416352012-01-06 Joseph Myers <joseph@codesourcery.com>
41636
41637 [BZ #13566]
41638 * assert/assert.h (static_assert): Don't define for C++.
41639 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41640 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41641
9f115170
UD
416422012-01-03 Ulrich Drepper <drepper@gmail.com>
41643
5e0d0300
UD
41644 * iconv/loop.c (single loop): Fix assertion in storing of
41645 remaining bytes.
41646
9f115170
UD
41647 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41648
81fb02b0
UD
416492012-01-01 Ulrich Drepper <drepper@gmail.com>
41650
41651 * posix/getconf.c: Update copyright year.
41652 * nss/getent.c: Likewise.
a316c1f6 41653 * nss/makedb.c: Likewise.
81fb02b0
UD
41654 * iconv/iconvconfig.c: Likewise.
41655 * iconv/iconv_prog.c: Likewise.
41656 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41657 * elf/pldd.c: Likewise.
41658 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41659 * catgets/gencat.c: Likewise.
41660 * csu/version.c: Likewise.
41661 * elf/ldd.bash.in: Likewise.
41662 * elf/sprof.c (print_version): Likewise.
41663 * locale/programs/locale.c: Likewise.
41664 * locale/programs/localedef.c: Likewise.
a316c1f6 41665 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41666 * nscd/nscd.c (print_version): Likewise.
41667 * debug/xtrace.sh: Likewise.
41668 * malloc/memusage.sh: Likewise.
41669 * malloc/mtrace.pl: Likewise.
41670 * debug/catchsegv.sh: Likewise.
41671
2ba92745
JJ
416722011-12-30 Jakub Jelinek <jakub@redhat.com>
41673
41674 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41675 pure attribute.
41676
dadebdae
UD
416772011-12-24 Ulrich Drepper <drepper@gmail.com>
41678
d3761ebc 41679 [BZ #13533]
db6af3eb
UD
41680 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41681 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41682 transformations.
41683 * iconv/gconv_int.h: Likewise.
41684 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41685 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41686 from libc for GLIBC_2.16.
41687 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41688 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41689 * wcsmbs/uchar.h: Really define mbstate_t.
41690 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41691 * wcsmbs/c16rtomb.c: New file.
41692 * wcsmbs/mbrtoc16.c: New file.
41693 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41694 for C/POSIX locale.
41695 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41696 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41697
dadebdae
UD
41698 * wcsmbs/wchar.h: Add missing __restrict.
41699
67371b56
UD
417002011-12-23 Ulrich Drepper <drepper@gmail.com>
41701
74033a25
UD
41702 [BZ #13532]
41703 * time/Makefile (routines): Add timespec_get.
41704 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41705 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41706 timespec for ISO C11.
41707 * time/timespec_get.c: New file.
41708 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41709 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41710
380d7e87
UD
41711 [BZ #13531]
41712 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41713 * stdlib/stdlib.h: Declare aligned_alloc.
41714 * Versions.def: Add GLIBC_2.16 for libc.
41715 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41716
4e9e7a35
UD
41717 [BZ 13527]
41718 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41719 ISO C11.
41720
380d7e87 41721 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41722 code.
41723
03a71829
UD
41724 [BZ #13528]
41725 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41726
839e283e
UD
41727 [BZ #13529]
41728 * assert/assert.h (static_assert): Define.
41729
ce5294e2 41730 * version.h: Update for 2.16 development version.
90fa7312 41731
8d44e150 41732 [BZ #13526]
d7809905
UD
41733 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41734 _ISOC11_SOURCE.
41735
c0da14cd
UD
41736 * version.h (RELEASE): Bump for 2.15 release.
41737 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41738
530a3249
MP
41739 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41740 Patch by Marek Polacek <mpolacek@redhat.com>.
41741
67371b56
UD
41742 * bits/byteswap.h: Protect long long constants with __extension__.
41743 * sysdeps/i386/bits/byteswap.h: Likewise.
41744 * sysdeps/ia64/bits/byteswap.h: Likewise.
41745 * sysdeps/s390/bits/byteswap.h: Likewise.
41746 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41747
15db4de1
LD
417482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41749
41750 [BZ #13540]
bbe315ea
LD
41751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41752 destination buffer.
15db4de1
LD
41753 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41754
2b2596b1
MP
417552011-12-23 Marek Polacek <polacek@redhat.com>
41756
41757 * elf/dl-addr.c (determine_info): Add inline keyword.
41758 * elf/tst-auditmod4b.c (check_avx): Likewise.
41759 * elf/tst-auditmod6b.c (check_avx): Likewise.
41760 * elf/tst-auditmod6c.c (check_avx): Likewise.
41761 * elf/tst-auditmod7b.c (check_avx): Likewise.
41762
70c6c246
UD
417632011-12-23 Ulrich Drepper <drepper@gmail.com>
41764
41765 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41766 !__SSE_MATH__.
41767
c044cf14
LD
417682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41769
15db4de1 41770 [BZ #13540]
c044cf14
LD
41771 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41772 processing for last bytes.
41773
6b13d9d9
BH
417742011-08-06 Bruno Haible <bruno@clisp.org>
41775
d455f537
BH
41776 [BZ #13061]
41777 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41778 U+0385, not to U+1FEE.
41779
6b13d9d9
BH
41780 [BZ #13062]
41781 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41782 entry for U+00A5 U+0301.
41783
db910efd
UD
417842011-12-22 Ulrich Drepper <drepper@gmail.com>
41785
27deeafc
UD
41786 [BZ #13166]
41787 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41788 buffer for the output is too small.
41789
aed9d171
UD
41790 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41791 optimization.
41792
db910efd
UD
41793 [BZ #13185]
41794 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41795 SSE flags if possible.
41796
2bd779ae
LD
417972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41798
e7f9dac3 41799 [BZ #13540]
2bd779ae
LD
41800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41801 processing for last bytes.
41802
154bfc16
JM
418032011-12-22 Joseph Myers <joseph@codesourcery.com>
41804
41805 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41806 (syscall-list-default-options, syscall-list-default-condition)
41807 (syscall-list-includes): Define.
41808 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41809 list of ABIs and options and #if conditions for each ABI. Do not
41810 handle common syscalls between ABIs specially.
41811 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41812 Remove.
41813 (syscall-list-variants, syscall-list-32bit-options)
41814 (syscall-list-32bit-condition, syscall-list-64bit-options)
41815 (syscall-list-64bit-condition): Define.
41816 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41817 (syscall-list-variants, syscall-list-32bit-options)
41818 (syscall-list-32bit-condition, syscall-list-64bit-options)
41819 (syscall-list-64bit-condition): Define.
41820 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41821 Remove.
41822 (syscall-list-variants, syscall-list-32bit-options)
41823 (syscall-list-32bit-condition, syscall-list-64bit-options)
41824 (syscall-list-64bit-condition): Define.
41825 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41826 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
21eaf3a5
UD
418312011-12-22 Ulrich Drepper <drepper@gmail.com>
41832
16c6f992
UD
41833 * locale/iso-639.def: Add brx entry.
41834
41043168
UD
41835 [BZ #13328]
41836 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41837 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41838
21eaf3a5
UD
41839 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41840 __feraiseexcept_renamed.
41841
e3a851a2
UD
418422011-12-21 Ulrich Drepper <drepper@gmail.com>
41843
4920765e
UD
41844 [BZ #13538]
41845 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41846 EPOLLET with unsigned values.
41847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41849
e3a851a2
UD
41850 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41851 to large cancellation.
41852 * math/s_cacoshf.c: Likewise.
41853 * math/s_cacoshl.c: Likewise.
41854
b27e24b8
RK
418552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41856
41857 [BZ #13305]
aebefeee 41858 [BZ #12786]
b27e24b8
RK
41859 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41860 * math/s_cacoshf.c: Likewise.
41861 * math/s_cacoshl.c: Likewise.
41862
ee190f67
UD
418632011-12-21 Ulrich Drepper <drepper@gmail.com>
41864
41865 [BZ #13439]
41866 * iconv/gconv.h: Define __GCONV_SWAP.
41867 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41868 * iconvdata/utf-16.c: Likewise.
41869 * iconvdata/utf-32.c: Likewise.
41870
707f25df
AS
418712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41872
41873 [BZ #13524]
41874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41875 numerator after shifting it by one limb.
41876
d2daaa1e
RÁE
418772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41878
41879 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41880 under [__USE_EXTERN_INLINES].
41881
a4647e72
UD
418822011-12-17 Ulrich Drepper <drepper@gmail.com>
41883
41884 [BZ #13446]
41885 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41886
f0b264f1
AZ
418872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41888
41889 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41890 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41891 optimized code.
41892 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41894 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41895 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41896 for strncasecmp/strncasecmp_l compilation.
41897 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41898 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41899
8ef4f244
MP
419002011-12-08 Marek Polacek <mpolacek@redhat.com>
41901
41902 [BZ #13484]
41903 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41904 of __asm__.
41905
97ac2654
UD
419062011-12-17 Ulrich Drepper <drepper@gmail.com>
41907
41908 [BZ #13506]
41909 * time/tzfile.c (__tzfile_read): Check values from file header.
41910
91d2a845
WS
419112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41912
41913 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41914 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41915 * powerpc/powerpc32/dl-start.S: Likewise.
41916 * powerpc/powerpc32/elf/start.S: Likewise.
41917 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41918 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41919 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41920 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41921 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41922 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41923 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41924 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41925 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41926 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41927 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41928 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41929 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41930 * powerpc/powerpc32/memset.S: Likewise.
41931 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41932 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41933 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41934 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41935 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41936 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41937 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41938 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41939 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41940 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41941 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41944
a1267ba1
AZ
419452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41946
41947 * math/libm-test.inc: Added more nearbyint tests.
41948 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41950 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41952
ad8ac1bd
RL
419532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41954
41955 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41956 FD_CLOEXEC.
41957
1d3e4b61
UD
419582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41959
41960 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41961 Add wcscpy-ssse3 wcscpy-c.
41962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41963 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41964 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41965 * sysdeps/x86_64/wcschr.S: New file.
41966 * sysdeps/x86_64/wcsrchr.S: New file.
41967 * string/test-strcmp.c: Remove checking of wcscmp function for
41968 wrong alignments.
41969 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41970 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41971 wcsrchr-sse2 wcsrchr-c.
41972 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41973 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41974 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41975 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41976 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41977 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41978 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41979 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41981 * wcsmbc/wcschr.c (WCSCHR): New macro.
41982
5b330a2d
UD
419832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41984
41985 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41986 * wcsmbs/test-wcsrchr.c: New file.
41987 * string/test-strrchr.c: Add wcsrchr support.
41988 (WIDE): New macro.
41989 * wcsmbs/test-wcscpy.c: New file.
41990 * string/test-strcpy.c: Add wcscpy support.
41991 (WIDE): New macro.
26428b7c 41992
f039c043
UD
419932011-12-10 Ulrich Drepper <drepper@gmail.com>
41994
41995 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41996 the inner loop.
41997
850fb039
AS
419982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41999
42000 [BZ #13472]
42001 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42002
4efbd5cb
UD
420032011-12-04 Ulrich Drepper <drepper@gmail.com>
42004
52ff5dd0 42005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42006 Minor optimizations.
52ff5dd0 42007
4efbd5cb
UD
42008 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42009 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42010 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42011
8a426e12
UD
420122011-12-03 Ulrich Drepper <drepper@gmail.com>
42013
aff2453d
UD
42014 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42015 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42016 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42017 for gcc to avoid warnings.
42018 * inet/Makefile (tests): Add tst-checks.
42019 * inet/tst-checks.c: New file.
42020
42021 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42022 warning.
42023
42024 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42025 __wmemcmp_sse2.
42026
42027 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42028 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42029
8a426e12
UD
42030 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42031
9bea3473
UD
420322011-12-02 Ulrich Drepper <drepper@gmail.com>
42033
3a965496
UD
42034 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42035 problem.
42036
9bea3473
UD
42037 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42038
f101631b
UD
420392011-11-29 Joseph Myers <joseph@codesourcery.com>
42040
42041 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42042 conditional on GCC version.
42043 (__arch_compare_and_exchange_val_8_acq)
42044 (__arch_compare_and_exchange_val_16_acq)
42045 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42046 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42047 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42048
a98275aa
UD
420492011-12-02 Joseph Myers <joseph@codesourcery.com>
42050
42051 * sysdeps/sh/backtrace.c: New file.
42052
d4cc29a2
AS
420532011-12-02 Andreas Schwab <schwab@redhat.com>
42054
42055 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42056 parenthesis.
42057
6257af2d
AS
420582011-12-01 Andreas Schwab <schwab@redhat.com>
42059
42060 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42061 falling back to utime.
42062
b5f44c1a
AS
420632011-11-30 Andreas Schwab <schwab@redhat.com>
42064
42065 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42066 expectations for float.
42067
f3a6cc0a
AS
420682011-11-29 Andreas Schwab <schwab@redhat.com>
42069
42070 * locale/weight.h (findidx): Add parameter len.
42071 * locale/weightwc.h (findidx): Likewise.
42072 * posix/fnmatch_loop.c (FCT): Adjust caller.
42073 * posix/regcomp.c (build_equiv_class): Likewise.
42074 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42075 * posix/regexec.c (check_node_accept_bytes): Likewise.
42076 * string/strcoll_l.c (STRCOLL): Likewise.
42077 * string/strxfrm_l.c (STRXFRM): Likewise.
42078
9d65ea3a
UD
420792011-11-17 Ulrich Drepper <drepper@gmail.com>
42080
42081 * Makefile.in: Remove CVSOPT handling.
42082 * configure.in: Remove use of AC_REVISION.
42083 * iconvdata/Makefile (distribute): No need to filter out CVS.
42084 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42085 handling.
42086
5583a086
AS
420872011-11-16 Andreas Schwab <schwab@redhat.com>
42088
42089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42090 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42091 [USE_AS_STRNCASECMP_L]: Likewise.
42092 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42093 NO_TLS_DIRECT_SEG_REFS.
42094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42095 Fix argument offsets for non-PIC.
42096 [USE_AS_STRNCASECMP_L]: Likewise.
42097 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42098 NO_TLS_DIRECT_SEG_REFS.
42099
d62a8200
UD
421002011-11-15 Ulrich Drepper <drepper@gmail.com>
42101
9d65ea3a 42102 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42103 O_CLOEXEC.
42104 * locale/loadlocale.c (_nl_load_locale): Likewise.
42105
09f93bd3
AS
421062011-11-15 Andreas Schwab <schwab@redhat.com>
42107
446514f9
AS
42108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42109 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42111 (SYSCALL_GETTIME): Set errno on error.
42112
09f93bd3
AS
42113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42114 count references to noai6ai_cached.
42115
312be3f9
UD
421162011-11-15 Ulrich Drepper <drepper@gmail.com>
42117
42118 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42119
42120 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42121 FD_CLOEXEC for /proc/self/maps.
42122
42123 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42124 FD_CLOEXEC for /proc/meminfo.
42125
42126 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42127 gai.conf.
42128
42129 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42130 FD_CLOEXEC for given file.
42131
42132 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42133
42134 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42135 FD_CLOEXEC for /etc/hosts.
42136 (_gethtent): Likewise.
42137
42138 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42139
42140 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42141 cancellation and set FD_CLOEXEC for /etc/netgroup.
42142
42143 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42144 reading /etc/publickey.
42145
42146 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42147 allow cancellation when reading /etc/group.
42148
42149 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42150 cancellation.
42151 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42152
42153 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42154 when using data file.
42155
42156 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42157
42158 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42159 (write_nis_obj): Use "c" and "e" in fopen.
42160
42161 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42162
42163 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42164
42165 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42166
42167 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42168
42169 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42170 locale.alias.
42171
42172 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42173
42174 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42175
42176 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42177
42178 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42179 file parsing and set FD_CLOEXEC.
42180
82af0fa8
UD
421812011-11-14 Ulrich Drepper <drepper@gmail.com>
42182
42183 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42184
a5fb313c
AS
421852011-11-14 Andreas Schwab <schwab@redhat.com>
42186
42187 * malloc/arena.c (arena_get2): Don't call reused_arena when
42188 _int_new_arena failed.
42189
6abf3465
UD
421902011-11-14 Ulrich Drepper <drepper@gmail.com>
42191
42192 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42193 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42195 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42197 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42198 to compile strcasecmp and strncasecmp.
42199 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42200 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42201
42202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42203
76e3966e
UD
422042011-11-13 Ulrich Drepper <drepper@gmail.com>
42205
42206 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42207 locale-defines.sym to gen-as-const-headers.
42208 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42209 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42211 to compile strcasecmp and strncasecmp.
42212 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42213 strcasecmp_l and strncasecmp_l.
42214 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42215 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42216 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42217 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42218 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42219 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42220 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42221 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42222 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42223 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42224 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42225
ab26144e
UD
422262011-11-12 Ulrich Drepper <drepper@gmail.com>
42227
7edb22ef
UD
42228 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42229 result of SYSDEP_GETTIME_CPU to retval.
42230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42231 parameter list to macro. Remove trailing semicolon. Adjust users.
42232
9694fc44
UD
42233 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42234 variable.
42235
8ad89ef8
UD
42236 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42237 mantissa words.
42238 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42239
0c822ef9
UD
42240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42241 from unused variable.
42242
874e0564
UD
42243 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42244 DWARF definitions.
42245 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42246 for assembling.
42247
3a2edc79
UD
42248 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42249 over namespaces.
42250
f3c2577f
UD
42251 * sunrpc/rpc_prot.c (rejected): Fix case value.
42252
294ce126
UD
42253 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42254 unsigned long long int to avoid warnings in shift.
42255
5e2b63c6
UD
42256 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42257 of use of trans.
42258 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42259 variable tmp.
42260
e7f4b08e
UD
42261 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42262 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42263 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42264
ab26144e
UD
42265 * nis/nis_table.c (nis_list): Use variable of correct type for
42266 result of __follow_path call.
42267
8a6d5255
AZ
422682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42269
42270 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42271 of math functions ceil, trunc, floor, round, and sqrt, when
42272 avaliable on the platform.
42273 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42274 name clash.
42275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42276 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42277 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42278
aaddc98c
MP
422792011-10-30 Marek Polacek <mpolacek@redhat.com>
42280
42281 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42282 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42283
95b7042b
RM
422842011-11-11 Roland McGrath <roland@hack.frob.com>
42285
42286 * include/unistd.h: Fix __readlink return type.
42287 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42288
57769839
UD
422892011-11-11 Ulrich Drepper <drepper@gmail.com>
42290
42291 * stdlib/ucontext.h: Undo last change for makecontext.
42292
edc5984d
AS
422932011-11-11 Andreas Schwab <schwab@redhat.com>
42294
98591e58
AS
42295 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42296
edc5984d
AS
42297 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42298 * setjmp/setjmp.h: Mark functions as non-leaf.
42299 * setjmp/bits/setjmp2.h: Likewise.
42300 * stdlib/ucontext.h: Likewise.
42301
77cdc054
AS
423022011-11-10 Andreas Schwab <schwab@redhat.com>
42303
42304 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42305 (reused_arena): Don't check arena limit.
42306 (arena_get2): Atomically check arena limit.
42307
fe72eebd
UD
423082011-11-08 Ulrich Drepper <drepper@gmail.com>
42309
5f078c32
UD
42310 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42311 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42312
fe72eebd
UD
42313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42314 instructions.
42315
ae1bc2fa
AS
423162011-11-07 Andreas Schwab <schwab@redhat.com>
42317
7583a88d
AS
42318 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42319 handler when locking.
42320
ae1bc2fa
AS
42321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42322 Fix size of allocated buffer.
42323
10fb0bfa
AS
423242011-11-04 Andreas Schwab <schwab@redhat.com>
42325
998832a4
AS
42326 [BZ #10103]
42327 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42328 declarations for long double functions.
42329 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42330
10fb0bfa
AS
42331 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42332
3d7ba52b
AS
423332011-11-03 Andreas Schwab <schwab@redhat.com>
42334
a9ae54a1
AS
42335 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42336 installed.
42337
3d7ba52b
AS
42338 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42339 is disabled.
42340
bc8db248
ST
423412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42342
42343 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42344
45b96dd6
AS
423452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42346
647776f6
AS
42347 * include/alloca.h (stackinfo_alloca_round): Define.
42348 (extend_alloca): Use it.
42349 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42350 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42351 here.
42352
d91a8b93
AS
42353 * scripts/check-local-headers.sh: Ignore libaudit.h.
42354
45b96dd6
AS
42355 * nscd/Makefile (extra-objs): Make recursively expanded.
42356
432d41ce
UD
423572011-11-01 Ulrich Drepper <drepper@gmail.com>
42358
34372fc6
UD
42359 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42361
fadb59f8
UD
42362 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42363 * posix/tst-rfc3484-2.c: Likewise.
42364 * posix/tst-rfc3484-3.c: Likewise.
42365
78239589
UD
42366 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42367 process_vm_writev.
42368 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42369 process_vm_writev.
42370 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42371 process_vm_writev from libc using GLIBC_2.15 version.
42372
432d41ce
UD
42373 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42374
02f9c6cf
PP
423752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42376
42377 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42378 stack usage.
42379
3a2c0242
UD
423802011-10-31 Ulrich Drepper <drepper@gmail.com>
42381
f4ec4833
UD
42382 [BZ #13367]
42383 * nss/getent.c (initgroups_keys): Show error message in case no group
42384 names are given.
42385
3a2c0242
UD
42386 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42387 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42388 __bump_nl_timestamp.
42389 * nscd/connections (nscd_init): When host database is served open
42390 netlink socket and request notification about configuration changes.
42391 (main_loop_poll): Track netlink file descriptor and bump timestamp
42392 in case data becomes available.
42393 (main_loop_epoll): Likewise.
42394 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42395 (database_pers_head): Add extra_data fileds.
42396 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42398 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42399 Adjust caller.
42400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42401 in6ai data, call __free_in6ai.
42402 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42403 Add -DHAVE_NETLINK.
42404 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42405 interface information. Reuse previous data if netlink timestamp
42406 is not changed.
42407 (__bump_nl_timestamp): New function.
42408 (__free_in6ai): New function.
42409
636064eb
UD
424102011-10-30 Ulrich Drepper <drepper@gmail.com>
42411
42412 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42413 close_not_cancel_no_status here.
42414 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42415
9beb2334
UD
424162011-10-29 Ulrich Drepper <drepper@gmail.com>
42417
6ef76f3b
UD
42418 [BZ #13276]
42419 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42420 return value.
42421
0ffc4f3e 42422 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42423 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42424 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42425
cb95113e
UD
424262011-07-03 Andreas Jaeger <aj@suse.de>
42427
42428 [BZ #10709]
42429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42430 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42431 * math/libm-test.inc (sin_test): Add test case.
42432
a1b560ff
UD
424332011-10-29 Ulrich Drepper <drepper@gmail.com>
42434
c9aaface
UD
42435 [BZ #13337]
42436 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42437 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42438
d272e7f1
UD
42439 * elf/chroot_canon.c (chroot_canon): Cleanups.
42440
1bc33071
UD
42441 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42442
1760874d
TJ
42443 [BZ #13335]
42444 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42445 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42446
51d91b18
UD
42447 * string/test-strchr.c: Make usable for strchrnul testing.
42448 * string/test-strchrnul.c: New file.
42449 * string/Makefile (strop-tests): Add strchrnul.
42450
a1b560ff 42451 * po/it.po: Update from translation team.
b611fb81 42452 * po/es.po: Likewise.
a1b560ff 42453
a5b81e1f
UD
424542011-10-28 Ulrich Drepper <drepper@gmail.com>
42455
fd52bc6d
UD
42456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42457 the three constants needed as parameters. Drop the others.
42458 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42459 __m128i_strloadu_tolower.
52e4b9eb
UD
42460 Create and initialize variable zero and use it in all the places
42461 where _mm_setzero_si128 was used.
fd52bc6d 42462
a5b81e1f
UD
42463 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42464 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42465 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42467 anymore.
42468 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42469 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42470 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42471 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42472 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42473 __mpranred, __mptan.
42474 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42475 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42476 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42477 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42478 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42479 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42482 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42483
b4343346
AS
424842011-10-28 Andreas Schwab <schwab@redhat.com>
42485
0c92d8a8
AS
42486 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42487 redefine if SHARED.
42488 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42489
b4343346
AS
42490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42491 wide char related routines to wcsmbs subdir.
42492
3871f58f
AS
424932011-10-27 Andreas Schwab <schwab@redhat.com>
42494
42495 [BZ #13344]
42496 * misc/sys/cdefs.h (__THROWNL): Define.
42497 * posix/unistd.h: Use __THREADNL instead of __THREAD
42498 for memory synchronization functions.
42499
94d44d9f
RM
425002011-10-26 Roland McGrath <roland@hack.frob.com>
42501
21b64b15 42502 [BZ #13349]
94d44d9f
RM
42503 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42504 doesn't exist.
42505 * manual/stdio.texi (Obstack Streams): Node removed.
42506
f6ce9294
AS
425072011-10-26 Andreas Schwab <schwab@redhat.com>
42508
80479147
AS
42509 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42511 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42512
f6ce9294
AS
42513 * math/math_private.h (math_force_eval): Allow non-addressable
42514 arguments.
42515 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42516
618280a1
UD
425172011-10-25 Ulrich Drepper <drepper@gmail.com>
42518
e0016b11
UD
42519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42520 file is not needed.
42521
42522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42529 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42530 Add AVX variants.
42531 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42532 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42533 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42534 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42535 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42536 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42537 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42538 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42541 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42542 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42543 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42544 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42545 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42546 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42547 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42548 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42549 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42550
42551 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42552 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42553
618280a1
UD
42554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42555 place. Use VEX encoding when compiling for AVX.
42556
37822576
AS
425572011-10-25 Andreas Schwab <schwab@redhat.com>
42558
1f1e1947
AS
42559 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42560 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42561
37822576
AS
42562 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42563
31ea014d
UD
425642011-10-25 Ulrich Drepper <drepper@gmail.com>
42565
d7826aa1 42566 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42567 useless if() expression.
d7826aa1
UD
42568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42570 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42580 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42583 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42586 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42587
31ea014d
UD
42588 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42589
16437fec
AS
425902011-10-25 Andreas Schwab <schwab@redhat.com>
42591
42592 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42593 condition.
42594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42595
31d3cc00
UD
425962011-10-25 Ulrich Drepper <drepper@gmail.com>
42597
42598 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42599 .text section. Avoid duplicate constants.
42600 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42610 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42612 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42615 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42617 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42627 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42629 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42630 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42631 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42632 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42633 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42634 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42635 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42636 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42638 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42639 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42640 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42642 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42643 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42644 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42645
58985aa9
UD
426462011-10-24 Ulrich Drepper <drepper@gmail.com>
42647
202c9deb
UD
42648 * sysdeps/x86_64/dla.h: Move to ...
42649 * sysdeps/x86_64/fpu/dla.h: ...here.
42650 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42651 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42652
af968f62
UD
42653 * config.make.in: Add have-mfma4 entry.
42654 * configure.in: Substitute libc_cv_cc_fma4.
42655 * math/Makefile (dbl-only-routines): Add sincostab.
42656 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42657 Use __sincostab not sincos.
42658 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42659 name is a macro.
42660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42664 using __copysign.
42665 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42666 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42667 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42668 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42669 and __inv.
42670 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42671 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42672 __copysign.
42673 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42674 define aliases when function name is a macro.
42675 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42676 sysdeps/ieee754/dbl-64/sincos.tbl.
42677 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42678 fma4-enabled routines.
42679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42684 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42685 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42687 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42688 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42689 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42690 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42691 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42706 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42707 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42708 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42709
58985aa9
UD
42710 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42711 rename.
42712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42720
a201fbcf
AS
427212011-10-24 Andreas Schwab <schwab@redhat.com>
42722
42723 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42724
fc2ee42a
LD
427252011-10-23 Ulrich Drepper <drepper@gmail.com>
42726
bb3129bd
UD
42727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42728
0275fff8
UD
42729 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42730 prediction.
42731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42732
2fa2ae85
UD
42733 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42734 Remove unused variable magic_bits.
42735 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42736
fc2ee42a
LD
42737 * string/strnlen.c: Define and use STRNLEN macro.
42738 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42739 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42741 * wcsmbs/wcslen.c: Define and use WCSLEN.
42742 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42743 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42744 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42745 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42746 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42747 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42748 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42749
ce7dd29f
LD
427502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42751
42752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42753 strnlen-sse2-no-bsf.
42754 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42756 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42757 Add strnlen support.
42758 (USE_AS_STRNLEN): New macro.
42759 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42760 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42761 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42762 * sysdeps/x86_64/wcslen.S: New file.
42763
979c70a3
MZ
427642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42765
42766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42767 XMM-moves are used for copying on small sizes.
42768
2d09f82f
LD
427692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42770
42771 * wcsmbs/Makefile (strop-tests): Add wcschr.
42772 * wcsmbs/test-wcschr.c: New file.
42773 * string/test-strchr.c: Update.
42774 Add wcschr support.
42775 (WIDE): New macro.
42776
619fccca
LD
427772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42778
2d09f82f 42779 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42780 * wcsmbs/test-wcslen.c: New file.
42781 * string/test-strlen.c: Update.
42782 Add wcslen support.
42783 (WIDE): New macro.
42784
09f699ea
UD
427852011-10-23 Ulrich Drepper <drepper@gmail.com>
42786
42787 * po/it.po: Update from translation team.
42788
95584d3b
LD
427892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42790
42791 * sysdeps/x86_64/wcscmp.S: Update.
42792 Fix wrong comparison semantics.
42793 wcscmp shall use signed comparison not unsigned.
42794 Don't use substraction to avoid overflow bug.
42795 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42796 * wcsmbc/wcscmp.c: Likewise.
42797 * string/test-strcmp.c: Likewise.
42798 Add new tests to check cases with negative values.
42799
c8b3296b
UD
428002011-10-23 Ulrich Drepper <drepper@gmail.com>
42801
42802 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42803 * sysdeps/x86_64/dla.h: ...here. New file.
42804 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42813
246ad57a
AS
428142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42815
42816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42817 __ynl_finite aliases.
42818
a1a87169
UD
428192011-10-22 Ulrich Drepper <drepper@gmail.com>
42820
0d355eb7
UD
42821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42822
a1a87169
UD
42823 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42824 define DLA_FMA.
42825 [DLA_FMA] (EMULV): Use DLA_FMA.
42826 [DLA_FMA] (MUL12): Use EMULV.
42827 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42828 that are not needed.
42829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42833 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42836
ee2aafe0
AS
428372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42838
42839 * math/s_nan.c: Undef __nan.
42840 * math/s_nanf.c: Undef __nanf.
42841 * math/s_nanl.c: Undef __nanl.
42842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42843 "math_private.h".
42844
bc62c2fb
UD
428452011-10-22 Ulrich Drepper <drepper@gmail.com>
42846
77425c63
UD
42847 * math/s_catan.c: Add branch predictions.
42848 * math/s_catanf.c: Likewise.
42849 * math/s_catanh.c: Likewise.
42850 * math/s_catanhf.c: Likewise.
42851 * math/s_catanhl.c: Likewise.
42852 * math/s_catanl.c: Likewise.
42853 * math/s_cexp.c: Likewise.
42854 * math/s_cexpf.c: Likewise.
42855 * math/s_cexpl.c: Likewise.
42856 * math/s_clog.c: Likewise.
42857 * math/s_clog10.c: Likewise.
42858 * math/s_clog10f.c: Likewise.
42859 * math/s_clog10l.c: Likewise.
42860 * math/s_clogf.c: Likewise.
42861 * math/s_clogl.c: Likewise.
42862 * math/s_csqrt.c: Likewise.
42863 * math/s_csqrtf.c: Likewise.
42864 * math/s_csqrtl.c: Likewise.
42865 * math/s_ctanf.c: Likewise.
42866 * math/s_ctanh.c: Likewise.
42867 * math/s_ctanhf.c: Likewise.
42868 * math/s_ctanhl.c: Likewise.
42869 * math/s_ctanl.c: Likewise.
42870
bc62c2fb
UD
42871 * math/math_private.h: Define __nan, __nanf, __nanl.
42872 * math/s_cacosh.c: Include <math_private.h>.
42873 * math/s_cacoshl.c: Likewise.
42874 * math/s_casinh.c: Likewise.
42875 * math/s_casinhf.c: Likewise.
42876 * math/s_casinhl.c: Likewise.
42877 * math/s_ccos.c: Rely entire on ccosh.
42878 * math/s_ccosf.c: Rely entire on ccoshf.
42879 * math/s_ccosl.c: Rely entirely on ccoshl.
42880 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42881 Remove tests for FE_INVALID.
42882 * math/s_ccoshf.c: Likewise.
42883 * math/s_ccoshl.c: Likewise.
42884 * math/s_csin.c: Likewise.
42885 * math/s_csinf.c: Likewise.
42886 * math/s_csinh.c Likewise.
42887 * math/s_csinhf.c: Likewise.
42888 * math/s_csinhl.c: Likewise.
42889 * math/s_csinl.c: Likewise.
42890 * math/s_ctan.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42892 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42893 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42894
8ec250a4
UD
428952011-10-21 Ulrich Drepper <drepper@gmail.com>
42896
c196fed8
UD
42897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42898 compilation problems.
42899
8ec250a4
UD
42900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42901 __builtin_expect.
42902
8d4f46c6
UD
429032011-10-20 Ulrich Drepper <drepper@gmail.com>
42904
ed72b654
UD
42905 * sysdeps/i386/configure.in: Test for -mfma4 option.
42906 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42907 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42908 COMMON_CPUID_INDEX_80000001.
42909 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42910 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42911 use it if FMA3 is not supported.
42912 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42913
8d4f46c6
UD
42914 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42915 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42916
d45c60c2
AS
429172011-10-20 Andreas Schwab <schwab@redhat.com>
42918
42919 [BZ #12892]
42920 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42921 it would create a cycle with a link time dependency.
42922
d9a4d2ab
UD
429232011-10-19 Ulrich Drepper <drepper@gmail.com>
42924
855d1560
UD
42925 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42926 instruction.
42927 * string/Makefile (strop-tests): Add rawmemchr.
42928 * string/test-rawmemchr.c: New file.
42929
d9a4d2ab
UD
42930 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42932 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42933 when compiling str{,n}casecmp and when AVX is available. Hook up
42934 new optimized code in initializers.
42935
8f3b1ffe
AS
429362011-10-19 Andreas Schwab <schwab@redhat.com>
42937
42938 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42939 __feraiseexcept instead of feraiseexcept.
42940
d38f1dba
UD
429412011-10-18 Ulrich Drepper <drepper@gmail.com>
42942
d9a8d0ab
UD
42943 * math/math_private.h: Define defaults for libc_fetestexcept and
42944 libc_feupdateenv.
42945 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42946 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42947 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42949 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42950 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42951 libc_fetestexcept and libc_feupdateenv.
42952
4855e3dd
UD
42953 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42954 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42955 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42956 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42957 libc_feholdexcept_setround.
42958
581d30e3
UD
42959 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42960 Add s_nearbyint-c and s_nearbyintf-c.
42961 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42962 nearbyintf inlines.
42963 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42964 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42965 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42966 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42967
d38f1dba
UD
42968 * math/math_private.h: Define defaults for libc_fegetround,
42969 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42970 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42971 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42973 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42974 standard functions.
42975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42976 Remove comments and hacks for old compiler versions.
42977 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42978 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42979 libc_feholdexceptl.
42980
caa6c9d8
AS
429812011-10-18 Andreas Schwab <schwab@redhat.com>
42982
42983 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42984 (__feraiseexcept_renamed): Add __NTH.
42985 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42986 namespace violations.
42987
97c066e6
UD
429882011-10-17 Ulrich Drepper <drepper@gmail.com>
42989
99ce7b04
UD
42990 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42991
1004d182
UD
42992 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42993
228a984d
UD
42994 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42995 recently added interfaces.
42996 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42997
c8553a6a
UD
42998 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42999 about macro parameter expansion.
43000
ed22dcf6
UD
43001 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43002 __NO_MATH_INLINES is defined. Cleanups.
43003
43004 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43005 and __floorf is target has SSE4.1.
43006 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43007 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43008 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43009 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43010
b171c137
UD
43011 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43012 name.
43013 (floorf): Likewise.
43014
97c066e6
UD
43015 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43016
629f62ef
AS
430172011-10-17 Andreas Schwab <schwab@redhat.com>
43018
49a43d80
AS
43019 * misc/sys/cdefs.h: Fix last change.
43020
629f62ef
AS
43021 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43022 database lookup.
43023
e453f6cd
UD
430242011-10-16 Ulrich Drepper <drepper@gmail.com>
43025
aa78043a
UD
43026 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43027
ad0f5cad
UD
43028 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43034 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43036 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43037 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43038 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43039 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43040 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43041 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43042 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43043 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43044 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43045 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43046 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43047 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43048 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43049 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43050
43051 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43052 ceil, ceilf, floor, floorf.
43053
43054 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43055 Perform IRELATIVE relocations last.
43056
e453f6cd
UD
43057 * elf/do-rel.h: Add another parameter nrelative, replacing the
43058 local variable with the same name. Change name of the function
43059 to end in Rel or Rela (uppercase).
43060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43061 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43062 elf_dynamic_do_##reloc function.
43063
fd5bdc09
UD
430642011-10-15 Ulrich Drepper <drepper@gmail.com>
43065
79b195b5
UD
43066 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43067 is sufficient, at least on modern CPUs.
43068
d4a28569
UD
43069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43070
b61099b5
UD
43071 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43073
bcf01e6d
UD
43074 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43075 __expl_finite.
43076 * math/bits/math-finite.h: Add entries for exp.
43077 * math/e_expl.c: Add __*_finite alias.
43078 * sysdeps/i386/fpu/e_exp.S: Likewise.
43079 * sysdeps/i386/fpu/e_expf.S: Likewise.
43080 * sysdeps/i386/fpu/e_expl.c: Likewise.
43081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43082 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43085 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43087 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43088
ba1a0d59
UD
43089 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43090 is sufficient, at least on modern CPUs.
43091
fd5bdc09
UD
43092 * ctype/ctype-info.c (__ctype_init): Define.
43093 * include/ctype.h (__ctype_init): Declare.
43094 (__ctype_b_loc): The variable is always initialized.
43095 (__ctype_toupper_loc): Likewise.
43096 (__ctype_tolower_loc): Likewise.
43097 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43098 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43099
7872cfb0
AS
431002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43101
b468825a
AS
43102 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43103
7872cfb0
AS
43104 * configure.in: Also look in $cxxmachine/include for C++ system
43105 headers.
43106
be13f7bf
LD
431072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43108
43109 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43110 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43111 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43112 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43114 (USE_AS_WMEMCMP): New macro.
43115 Fixing indents.
43116 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43117 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43118 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43119 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43121 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43122 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43123 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43124 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43125 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43127 (USE_AS_WMEMCMP): New macro.
43128 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43129 * sysdeps/string/test-memcmp.c: Update.
43130 Fix simple_wmemcmp.
43131 Add new tests.
43132 * wcsmbs/wmemcmp.c: Update.
43133 (WMEMCMP): New macro.
43134 Fix overflow bug.
43135
556a2007
AJ
431362011-10-12 Andreas Jaeger <aj@suse.de>
43137
43138 [BZ #13268]
43139 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43140
538faaa7
UD
431412011-10-15 Ulrich Drepper <drepper@gmail.com>
43142
ab6737ff
UD
43143 * libio/iofwide.c (do_length): Avoid warning.
43144
538faaa7
UD
43145 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43146
396a21b1
UD
431472011-10-14 Ulrich Drepper <drepper@gmail.com>
43148
cdf2901f
UD
43149 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43150
38ad40ce
UD
43151 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43152 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43153 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43154 * sysdeps/i386/i686/fpu/e_log.S: New file.
43155 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43156 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43157
396a21b1
UD
43158 * ctype/ctype.h: Add support for inlined isXXX functions when
43159 compiling C++ code.
43160
6b1f68c9
AS
431612011-10-14 Andreas Schwab <schwab@redhat.com>
43162
349290c0
AS
43163 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43164
6b1f68c9
AS
43165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43166
f2282d42
RM
431672011-10-13 Roland McGrath <roland@hack.frob.com>
43168
43169 [BZ #13291]
43170 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43171
5298ffa8
AS
431722011-10-13 Andreas Schwab <schwab@redhat.com>
43173
714fad23
AS
43174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43175 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43176 feraiseexcept.
43177
81dcc7fb
AS
43178 * sysdeps/x86_64/memrchr.S: Check for zero size.
43179
5298ffa8
AS
43180 * string/stratcliff.c: Add memrchr tests.
43181
951fbcec
LD
431822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43183
43184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43185 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43186 rawmemchr-sse2 rawmemchr-sse2-bsf.
43187 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43188 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43189 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43190 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43191 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43192 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43193 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43194 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43195 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43196 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43197 * string/memrchr.c (MEMRCHR): New macro.
43198
0ac5ae23
UD
431992011-10-12 Ulrich Drepper <drepper@gmail.com>
43200
43201 Add integration with gcc's -ffinite-math-only and optimize wrapper
43202 functions in libm.
43203 * Versions.def: Define GLIBC_2.15 version for libm.
43204 * math/Makefile (headers): Add bits/math-finite.h.
43205 * math/bits/math-finite.h: New file.
43206 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43207 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43208 * math/e_acoshl.c: Add __*_finite alias.
43209 * math/e_acosl.c: Likewise.
43210 * math/e_asinl.c: Likewise.
43211 * math/e_atan2l.c: Likewise.
43212 * math/e_atanhl.c: Likewise.
43213 * math/e_coshl.c: Likewise.
43214 * math/e_exp10.c: Likewise.
43215 * math/e_exp10f.c: Likewise.
43216 * math/e_exp10l.c: Likewise.
43217 * math/e_exp2l.c: Likewise.
43218 * math/e_fmodl.c: Likewise.
43219 * math/e_gammal_r.c: Likewise.
43220 * math/e_hypotl.c: Likewise.
43221 * math/e_j0l.c: Likewise.
43222 * math/e_j1l.c: Likewise.
43223 * math/e_jnl.c: Likewise.
43224 * math/e_lgammal_r.c: Likewise.
43225 * math/e_log10l.c: Likewise.
43226 * math/e_log2l.c: Likewise.
43227 * math/e_logl.c: Likewise.
43228 * math/e_powl.c: Likewise.
43229 * math/e_sinhl.c: Likewise.
43230 * math/e_sqrtl.c: Likewise.
43231 * math/e_scalb.c: Completely rewritten and optimized.
43232 * math/e_scalbf.c: Likewise.
43233 * math/e_scalbl.c: Likewise.
43234 * math/w_acos.c: Likewise.
43235 * math/w_acosf.c: Likewise.
43236 * math/w_acosl.c: Likewise.
43237 * math/w_acosh.c: Likewise.
43238 * math/w_acoshf.c: Likewise.
43239 * math/w_acoshl.c: Likewise.
43240 * math/w_asin.c: Likewise.
43241 * math/w_asinf.c: Likewise.
43242 * math/w_asinl.c: Likewise.
43243 * math/w_atan2.c: Likewise.
43244 * math/w_atan2f.c: Likewise.
43245 * math/w_atan2l.c: Likewise.
43246 * math/w_atanh.c: Likewise.
43247 * math/w_atanhf.c: Likewise.
43248 * math/w_atanhl.c: Likewise.
43249 * math/w_exp10.c: Likewise.
43250 * math/w_exp10f.c: Likewise.
43251 * math/w_exp10l.c: Likewise.
43252 * math/w_fmod.c: Likewise.
43253 * math/w_fmodf.c: Likewise.
43254 * math/w_fmodl.c: Likewise.
43255 * math/w_j0.c: Likewise.
43256 * math/w_j0f.c: Likewise.
43257 * math/w_j0l.c: Likewise.
43258 * math/w_j1.c: Likewise.
43259 * math/w_j1f.c: Likewise.
43260 * math/w_j1l.c: Likewise.
43261 * math/w_jn.c: Likewise.
43262 * math/w_jnf.c: Likewise.
43263 * math/w_log.c: Likewise.
43264 * math/w_logf.c: Likewise.
43265 * math/w_logl.c: Likewise.
43266 * math/w_log10.c: Likewise.
43267 * math/w_log10f.c: Likewise.
43268 * math/w_log10l.c: Likewise.
43269 * math/w_log2.c: Likewise.
43270 * math/w_log2f.c: Likewise.
43271 * math/w_log2l.c: Likewise.
43272 * math/w_pow.c: Likewise.
43273 * math/w_powf.c: Likewise.
43274 * math/w_powl.c: Likewise.
43275 * math/w_remainder.c: Likewise.
43276 * math/w_remainderf.c: Likewise.
43277 * math/w_remainderl.c: Likewise.
43278 * math/w_scalb.c: Likewise.
43279 * math/w_scalbf.c: Likewise.
43280 * math/w_scalbl.c: Likewise.
43281 * math/w_sqrt.c: Likewise.
43282 * math/w_sqrtf.c: Likewise.
43283 * math/w_sqrtl.c: Likewise.
43284 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43285 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43286 used.
43287 * math/math_private.h: Declare __kernel_standard_f.
43288 * math/w_cosh.c: Remove cruft and optimize a bit.
43289 * math/w_coshf.c: Likewise.
43290 * math/w_coshl.c: Likewise.
43291 * math/w_exp2.c: Likewise.
43292 * math/w_exp2f.c: Likewise.
43293 * math/w_exp2l.c: Likewise.
43294 * math/w_hypot.c: Likewise.
43295 * math/w_hypotf.c: Likewise.
43296 * math/w_hypotl.c: Likewise.
43297 * math/w_lgamma.c: Likewise.
43298 * math/w_lgamma_r.c: Likewise.
43299 * math/w_lgammaf.c: Likewise.
43300 * math/w_lgammaf_r.c: Likewise.
43301 * math/w_lgammal.c: Likewise.
43302 * math/w_lgammal_r.c: Likewise.
43303 * math/w_sinh.c: Likewise.
43304 * math/w_sinhf.c: Likewise.
43305 * math/w_sinhl.c: Likewise.
43306 * math/w_tgamma.c: Likewise.
43307 * math/w_tgammaf.c: Likewise.
43308 * math/w_tgammal.c: Likewise.
43309 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43311 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43312 Minor optimizations. Pretty printing. Remove cruft.
43313 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43314 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43317 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43318 * sysdeps/i386/fpu/e_asin.S: Likewise.
43319 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43320 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43321 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43322 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43323 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43324 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43326 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43327 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43328 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43329 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43330 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43331 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43332 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43333 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43334 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43335 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43336 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43337 * sysdeps/i386/fpu/e_log.S: Likewise.
43338 * sysdeps/i386/fpu/e_log10.S: Likewise.
43339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43340 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43341 * sysdeps/i386/fpu/e_log2.S: Likewise.
43342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43343 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43344 * sysdeps/i386/fpu/e_logf.S: Likewise.
43345 * sysdeps/i386/fpu/e_logl.S: Likewise.
43346 * sysdeps/i386/fpu/e_pow.S: Likewise.
43347 * sysdeps/i386/fpu/e_powf.S: Likewise.
43348 * sysdeps/i386/fpu/e_powl.S: Likewise.
43349 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43350 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43351 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43352 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43353 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43354 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43355 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43356 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43357 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43359 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43361 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43362 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43363 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43364 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43369 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43372 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43374 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43375 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43378 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43379 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43382 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43383 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43384 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43385 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43386 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43387 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43392 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43393 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43394 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43395 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43396 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43397 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43398 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43399 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43400 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43401 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43403 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43404 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43405 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43406 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43407 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43408 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43409 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43410 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43411 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43412 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43413 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43414 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43415 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43416 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43417 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43418 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43419 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43422 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43423 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43428 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43429 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43430 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43432 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43434 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43437 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43438 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43439 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43440 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43441 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43443 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43444 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43445 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43446 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43447 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43448 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43449 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43451 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43452 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43453 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43454 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43455 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43456 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43457 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43458 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43459 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43460 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43461 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43462 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43466 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43468 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43469 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43470 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43471 (__isnanf): Likewise.
43472 (__isinf_ns): Likewise.
43473 (__isinf_nsf): Likewise.
43474 (__finite): Likewise.
43475 (__finitef): Likewise.
43476 (__ieee754_sqrt): Define as macro.
43477 (__ieee754_sqrtf): Define as macro.
43478 (__ieee754_sqrtl): Define as macro.
43479 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43480 inlined copy.
43481 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43482 __FINITE_MATH_ONLY__ consistent.
43483 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43484
12cc2fcd
AS
434852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43486
a843a204
AS
43487 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43488 of rawmemchr.
43489
12cc2fcd
AS
43490 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43491
c853acd5
UD
434922011-10-09 Ulrich Drepper <drepper@gmail.com>
43493
43494 * po/ja.po: Update from translation team.
43495
c658d255
RM
434962011-10-08 Roland McGrath <roland@hack.frob.com>
43497
110946e4
RM
43498 * locale/programs/locarchive.c (prepare_address_space): New function.
43499 (create_archive, enlarge_archive, open_archive): Use it.
43500
50604220
RM
43501 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43502 inside [SHARED], where it is used.
43503
c658d255
RM
43504 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43505
43506 * nss/getent.c (netgroup_keys): Remove unused variable.
43507 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43508
6a621eb7
UD
435092011-10-08 Ulrich Drepper <drepper@gmail.com>
43510
7edb55ce
UD
43511 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43514 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43515 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43516 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43517 * math/Makefile (libm-calls): Add s_isinf_ns.
43518 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43519 * math/multc3.c: Likewise.
43520 * math/s_casin.c: Likewise.
43521 * math/s_casinf.c: Likewise.
43522 * math/s_casinl.c: Likewise.
43523 * math/s_ccos.c: Likewise.
43524 * math/s_ccosf.c: Likewise.
43525 * math/s_ccosl.c: Likewise.
43526 * math/s_ctan.c: Likewise.
43527 * math/s_ctanf.c: Likewise.
43528 * math/s_ctanh.c: Likewise.
43529 * math/s_ctanhf.c: Likewise.
43530 * math/s_ctanhl.c: Likewise.
43531 * math/s_ctanl.c: Likewise.
43532 * math/w_fmod.c: Likewise.
43533 * math/w_fmodf.c: Likewise.
43534 * math/w_fmodl.c: Likewise.
43535 * math/w_remainder.c: Likewise.
43536 * math/w_remainderf.c: Likewise.
43537 * math/w_remainderl.c: Likewise.
43538 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43539 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43542 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43543 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43544 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43545 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43546
187da0ae
UD
43547 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43548 of the number.
43549 * stdio-common/printf_fphex.c: Likewise.
43550 * stdio-common/printf_size.c: Likewise.
43551
9277c064
UD
43552 * math/e_exp10.c: Include math_private.h using <...> not "...".
43553 * math/e_exp10f.c: Likewise.
43554 * math/e_exp10l.c: Likewise.
43555 * math/e_exp2l.c: Likewise.
43556 * math/e_j0l.c: Likewise.
43557 * math/e_j1l.c: Likewise.
43558 * math/e_jnl.c: Likewise.
43559 * math/e_lgammal_r.c: Likewise.
43560 * math/e_rem_pio2l.c: Likewise.
43561 * math/e_scalb.c: Likewise.
43562 * math/e_scalbf.c: Likewise.
43563 * math/e_scalbl.c: Likewise.
43564 * math/k_cosl.c: Likewise.
43565 * math/k_sinl.c: Likewise.
43566 * math/k_tanl.c: Likewise.
43567 * math/s_cacoshf.c: Likewise.
43568 * math/s_catan.c: Likewise.
43569 * math/s_catanf.c: Likewise.
43570 * math/s_catanh.c: Likewise.
43571 * math/s_catanhf.c: Likewise.
43572 * math/s_catanhl.c: Likewise.
43573 * math/s_catanl.c: Likewise.
43574 * math/s_ccosh.c: Likewise.
43575 * math/s_ccoshf.c: Likewise.
43576 * math/s_ccoshl.c: Likewise.
43577 * math/s_cexp.c: Likewise.
43578 * math/s_cexpf.c: Likewise.
43579 * math/s_cexpl.c: Likewise.
43580 * math/s_clog.c: Likewise.
43581 * math/s_clog10.c: Likewise.
43582 * math/s_clog10f.c: Likewise.
43583 * math/s_clog10l.c: Likewise.
43584 * math/s_clogf.c: Likewise.
43585 * math/s_clogl.c: Likewise.
43586 * math/s_csin.c: Likewise.
43587 * math/s_csinf.c: Likewise.
43588 * math/s_csinh.c: Likewise.
43589 * math/s_csinhf.c: Likewise.
43590 * math/s_csinhl.c: Likewise.
43591 * math/s_csinl.c: Likewise.
43592 * math/s_csqrt.c: Likewise.
43593 * math/s_csqrtf.c: Likewise.
43594 * math/s_csqrtl.c: Likewise.
43595 * math/s_ctan.c: Likewise.
43596 * math/s_ctanf.c: Likewise.
43597 * math/s_ctanh.c: Likewise.
43598 * math/s_ctanhf.c: Likewise.
43599 * math/s_ctanhl.c: Likewise.
43600 * math/s_ctanl.c: Likewise.
43601 * math/s_ldexp.c: Likewise.
43602 * math/s_ldexpf.c: Likewise.
43603 * math/s_ldexpl.c: Likewise.
43604 * math/s_significand.c: Likewise.
43605 * math/s_significandf.c: Likewise.
43606 * math/s_significandl.c: Likewise.
43607 * math/w_acos.c: Likewise.
43608 * math/w_acosf.c: Likewise.
43609 * math/w_acosh.c: Likewise.
43610 * math/w_acoshf.c: Likewise.
43611 * math/w_acoshl.c: Likewise.
43612 * math/w_acosl.c: Likewise.
43613 * math/w_asin.c: Likewise.
43614 * math/w_asinf.c: Likewise.
43615 * math/w_asinl.c: Likewise.
43616 * math/w_atan2.c: Likewise.
43617 * math/w_atan2f.c: Likewise.
43618 * math/w_atan2l.c: Likewise.
43619 * math/w_atanh.c: Likewise.
43620 * math/w_atanhf.c: Likewise.
43621 * math/w_atanhl.c: Likewise.
43622 * math/w_cosh.c: Likewise.
43623 * math/w_coshf.c: Likewise.
43624 * math/w_coshl.c: Likewise.
43625 * math/w_dremf.c: Likewise.
43626 * math/w_exp10.c: Likewise.
43627 * math/w_exp10f.c: Likewise.
43628 * math/w_exp10l.c: Likewise.
43629 * math/w_exp2.c: Likewise.
43630 * math/w_exp2f.c: Likewise.
43631 * math/w_fmod.c: Likewise.
43632 * math/w_fmodf.c: Likewise.
43633 * math/w_fmodl.c: Likewise.
43634 * math/w_hypot.c: Likewise.
43635 * math/w_hypotf.c: Likewise.
43636 * math/w_hypotl.c: Likewise.
43637 * math/w_j0.c: Likewise.
43638 * math/w_j0f.c: Likewise.
43639 * math/w_j0l.c: Likewise.
43640 * math/w_j1.c: Likewise.
43641 * math/w_j1f.c: Likewise.
43642 * math/w_j1l.c: Likewise.
43643 * math/w_jn.c: Likewise.
43644 * math/w_jnf.c: Likewise.
43645 * math/w_jnl.c: Likewise.
43646 * math/w_lgamma.c: Likewise.
43647 * math/w_lgamma_r.c: Likewise.
43648 * math/w_lgammaf.c: Likewise.
43649 * math/w_lgammaf_r.c: Likewise.
43650 * math/w_lgammal.c: Likewise.
43651 * math/w_lgammal_r.c: Likewise.
43652 * math/w_log.c: Likewise.
43653 * math/w_log10.c: Likewise.
43654 * math/w_log10f.c: Likewise.
43655 * math/w_log10l.c: Likewise.
43656 * math/w_log2.c: Likewise.
43657 * math/w_log2f.c: Likewise.
43658 * math/w_log2l.c: Likewise.
43659 * math/w_logf.c: Likewise.
43660 * math/w_logl.c: Likewise.
43661 * math/w_pow.c: Likewise.
43662 * math/w_powf.c: Likewise.
43663 * math/w_powl.c: Likewise.
43664 * math/w_remainder.c: Likewise.
43665 * math/w_remainderf.c: Likewise.
43666 * math/w_remainderl.c: Likewise.
43667 * math/w_scalb.c: Likewise.
43668 * math/w_scalbf.c: Likewise.
43669 * math/w_scalbl.c: Likewise.
43670 * math/w_sinh.c: Likewise.
43671 * math/w_sinhf.c: Likewise.
43672 * math/w_sinhl.c: Likewise.
43673 * math/w_sqrt.c: Likewise.
43674 * math/w_sqrtf.c: Likewise.
43675 * math/w_sqrtl.c: Likewise.
43676 * math/w_tgamma.c: Likewise.
43677 * math/w_tgammaf.c: Likewise.
43678 * math/w_tgammal.c: Likewise.
43679
6a621eb7
UD
43680 * po/ja.po: Update from translation team.
43681
bf582445
AJ
436822011-09-29 Andreas Jaeger <aj@suse.de>
43683
f9efbf3a
AJ
43684 [BZ #13179]
43685 * sunrpc/netname.c (netname2host): Fix logic.
43686
bf582445
AJ
43687 [BZ #6779]
43688 [BZ #6783]
43689 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43690 correctly.
43691 * math/w_remainder.c (__remainder): Likewise.
43692 * math/w_remainderf.c (__remainderf): Likewise.
43693 * math/libm-test.inc (remainder_test): Add test cases.
43694
48693bea
AK
436952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43696
43697 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43698 sdiv_qrnnd.
43699
42622229
LD
437002011-10-07 Ulrich Drepper <drepper@gmail.com>
43701
43702 * string/test-memcmp.c: Avoid unncessary #defines.
43703 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43704
093ecf92
LD
437052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43706
43707 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43708 Use new sse2 version for core i3 - i7 as it's faster
43709 than sse42 version.
43710 (bit_Prefer_PMINUB_for_stringop): New.
43711 * sysdeps/x86_64/rawmemchr.S: Update.
43712 Replace with faster SSE2 version.
43713 * sysdeps/x86_64/memrchr.S: New file.
43714 * sysdeps/x86_64/memchr.S: Update.
43715 Replace with faster SSE2 version.
43716
fde56e5c
MP
437172011-09-12 Marek Polacek <mpolacek@redhat.com>
43718
43719 * elf/dl-load.c (lose): Add cast to avoid warning.
43720
21fd49a9
UD
437212011-10-07 Ulrich Drepper <drepper@gmail.com>
43722
5a06e643
UD
43723 * po/ca.po: Update from translation team.
43724
684ae515
UD
43725 * inet/getnetgrent_r.c: Hook up nscd.
43726 * nscd/Makefile (routines): Add nscd_netgroup.
43727 (nscd-modules): Add netgroupcache.
43728 (CFLAGS-netgroupcache.c): Define.
43729 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43730 (cache_search): Add const to second parameter.
43731 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43732 INNETGR.
43733 (dbs): Add netgrdb entry.
43734 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43735 (verify_persistent_db): Handle netgrdb.
43736 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43737 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43738 GETFDNETGR.
43739 (netgroup_response_header): Define.
43740 (innetgroup_response_header): Define.
43741 (datahead): Add netgroup_response_header and innetgroup_response_header
43742 elements.
43743 * nscd/nscd.conf: Add entries for netgroup cache.
43744 * nscd/nscd.h (dbtype): Add netgrdb.
43745 (_PATH_NSCD_NETGROUP_DB): Define.
43746 (netgroup_iov_disabled): Declare.
43747 (xmalloc, xcalloc, xrealloc): Move declarations here.
43748 (cache_search): Adjust prototype.
43749 Add netgroup-related prototypes.
43750 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43751 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43752 (__nscd_innetgr): Declare.
43753 * nscd/selinux.c (perms): Use access_vector_t as element type and
43754 add netgroup-related initializers.
43755 * nscd/netgroupcache.c: New file.
43756 * nscd/nscd_netgroup.c: New file.
43757 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43758 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43759 For four parameters use innetgr.
43760 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43761 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43762 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43763 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43764
21fd49a9
UD
43765 * nscd/connections.c (register_traced_file): Don't register file
43766 for disabled databases.
43767
054c0457
UD
437682011-10-06 Ulrich Drepper <drepper@gmail.com>
43769
32b63198
UD
43770 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43771
054c0457
UD
43772 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43773 from tree and freeing node.
43774
64031225
JO
437752011-09-25 Jiri Olsa <jolsa@redhat.com>
43776
43777 * nss/nsswitch.c (__nss_database_lookup): Handle
43778 nss_parse_service_list out of memory case.
43779
0490345c
JO
437802011-09-15 Jiri Olsa <jolsa@redhat.com>
43781
43782 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43783 out of memory case.
43784
3a62d00d
AS
437852011-10-04 Andreas Schwab <schwab@redhat.com>
43786
43787 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43788 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43789 pass it down.
43790 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43791 elf_machine_rela, elf_machine_lazy_rel.
43792 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43793 (ELF_DYNAMIC_DO_REL): Likewise.
43794 (ELF_DYNAMIC_DO_RELA): Likewise.
43795 (ELF_DYNAMIC_RELOCATE): Likewise.
43796 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43797 to ELF_DYNAMIC_DO_REL.
43798 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43799 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43800 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43801 elf_machine_rela.
43802 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43803 skip_ifunc, don't call ifunc function if non-zero.
43804 (elf_machine_rela): Likewise.
43805 (elf_machine_lazy_rel): Likewise.
43806 (elf_machine_lazy_rela): Likewise.
43807 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43808 (elf_machine_lazy_rel): Likewise.
43809 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43810 Likewise.
43811 (elf_machine_lazy_rel): Likewise.
43812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43813 Likewise.
43814 (elf_machine_lazy_rel): Likewise.
43815 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43816 (elf_machine_lazy_rel): Likewise.
43817 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43818 (elf_machine_lazy_rel): Likewise.
43819 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43820 (elf_machine_lazy_rel): Likewise.
43821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43822 (elf_machine_lazy_rel): Likewise.
43823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43824 (elf_machine_lazy_rel): Likewise.
43825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43826 (elf_machine_lazy_rel): Likewise.
43827
68577918
UD
438282011-09-28 Ulrich Drepper <drepper@gmail.com>
43829
43830 * nss/nss_files/files-init.c (_nss_files_init): Use static
43831 initialization for all the *_traced_file variables.
43832
68822d74
AS
438332011-09-28 Andreas Schwab <schwab@redhat.com>
43834
43835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43836
2056100b
RM
438372011-09-27 Roland McGrath <roland@hack.frob.com>
43838
43839 [BZ #13226]
43840 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43841
32c76b63
AS
438422011-09-27 Andreas Schwab <schwab@redhat.com>
43843
43844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43845 Reread the line before reparsing it.
43846
bf972c9d
AS
438472011-09-26 Andreas Schwab <schwab@redhat.com>
43848
43849 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43850
e057a1b5
JM
438512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43852 Maxim Kuvyrkov <maxim@codesourcery.com>
43853 Joseph Myers <joseph@codesourcery.com>
43854
43855 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43856 if needed for __stack_chk_guard.
43857
bc7e1c36
RM
438582011-09-19 Roland McGrath <roland@hack.frob.com>
43859
ecb1482f
RM
43860 * sysdeps/posix/spawni.c (script_execute): Always define it.
43861 It will be optimized away if unused.
43862 (maybe_script_execute): New function.
43863 (__spawni): Call it.
43864
bc7e1c36
RM
43865 * Makerules: Don't include tls.make.
43866 (config-tls): Always set to thread.
43867 * tls.make.c: File removed.
43868
1c3b002b
MF
438692011-09-19 Mike Frysinger <vapier@gentoo.org>
43870
43871 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43872 * config.make.in (CPPFLAGS-config): New substituted variable.
43873
2840865d
UD
438742011-09-15 Ulrich Drepper <drepper@gmail.com>
43875
88738eb6
UD
43876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43877
cbf645a6 43878 [BZ #13192]
2840865d
UD
43879 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43880 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43881
b402e91a
RM
438822011-09-15 Roland McGrath <roland@hack.frob.com>
43883
43884 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43885 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43887 (CALL_FAIL): Likewise.
43888 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43889 (CALL_FAIL): Macro removed.
43890 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43891
4c1a1f71
UD
438922011-09-15 Ulrich Drepper <drepper@gmail.com>
43893
43894 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43895 for __FINITE_MATH_ONLY__ == 1.
43896
edc121be
AS
438972011-09-15 Andreas Schwab <schwab@redhat.com>
43898
43899 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43900 __ieee754_sqrt instead of sqrt.
43901 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43902 __ieee754_sqrtf instead of sqrtf.
43903 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43904 __floorf instead of floorf.
43905 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43906 __floorf, __truncf instead of floorf, truncf.
43907
cd205654
UD
439082011-09-14 Ulrich Drepper <drepper@gmail.com>
43909
ee4d0315
UD
43910 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43911
cd205654
UD
43912 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43913 __extern_always_inline.
43914 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43915 32-bit.
43916
48b67d71
AS
439172011-09-14 Andreas Schwab <schwab@redhat.com>
43918
43919 * elf/rtld.c (dl_main): Also relocate in dependency order when
43920 doing symbol dependency testing.
43921
1ae12c75
AS
439222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43923
43924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43925 Always define `refsym'.
43926
995a80df
AS
439272011-09-13 Andreas Schwab <schwab@redhat.com>
43928
e529793b
AS
43929 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43930 (__FD_ELT): Renamed from __FDELT.
43931 * misc/bits/select2.h (__FD_ELT): Likewise.
43932 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43933 __FD_MASK instead of __FDELT, __FDMASK.
43934 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43935 Likewise.
43936 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43937 Likewise.
43938
52d4fef8
AS
43939 * elf/Makefile (gen-ldd): Fix pattern.
43940
995a80df
AS
43941 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43942 (init_tls): Likewise.
43943
8682f8b0
UD
439442011-09-12 Ulrich Drepper <drepper@gmail.com>
43945
43946 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43947
de82006d
AS
439482011-09-12 Andreas Schwab <schwab@redhat.com>
43949
a7c8e6a1
AS
43950 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43951 `struct cmsghdr *' instead of `void *'.
43952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43953 Likewise.
43954
0f31fe77
AS
439552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43956
43957 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43958 if non-absolute.
43959 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43960 ldd_rewrite_script.
0f31fe77 43961
32b4c839
UD
439622011-09-11 Ulrich Drepper <drepper@gmail.com>
43963
83cd1420
UD
43964 * configure.in: Remove --with-tls option.
43965 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43966 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43967 out in case it is missing.
43968 * sysdeps/ia64/elf/configure.in: Likewise.
43969 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43970 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43971 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43972 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43973 * sysdeps/sh/elf/configure.in: Likewise.
43974 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43975 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43976 * sysdeps/x86_64/elf/configure.in: Likewise.
43977 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43978 * sysdeps/mach/hurd/tls.h: Likewise.
43979
633f745d
UD
43980 [BZ #13067]
43981 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43982
f318beb8
UD
43983 [BZ #13090]
43984 * configure.in: Fix use of AC_INIT.
43985
32b4c839
UD
43986 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43987
3ce1f295
UD
439882011-09-10 Ulrich Drepper <drepper@gmail.com>
43989
bb016596
UD
43990 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43991 __set_errno.
8e58439c
UD
43992 * malloc/hooks.c: Likewise.
43993
aebae053 43994 [BZ #11929]
02d46fc4
UD
43995 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43996 variables statically.
43997 (narenas): Initialize.
43998 (list_lock): Initialize.
bb016596
UD
43999 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44000 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44001 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44002 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44003 Add initializers to main_arena and mp_.
44004 (malloc_state): Remove pagesize member. Change all users to use
44005 GLRO(dl_pagesize).
44006
44007 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44008 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44009 is always initialized.
44010
22a89187
UD
44011 * malloc/malloc.c: Removed unused configurations and dead code.
44012 * malloc/arena.c: Likewise.
44013 * malloc/hooks.c: Likewise.
02d46fc4 44014 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44015
d063d164
UD
44016 * include/tls.h: Removed. USE___THREAD must always be defined.
44017 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44018 * elf/dl-libc.c: Likewise.
44019 * elf/dl-tsd.c: Likewise.
44020 * include/errno.h: Likewise.
44021 * include/netdb.h: Likewise.
44022 * include/resolv.h: Likewise.
44023 * inet/herrno-loc.c: Likewise.
44024 * inet/herrno.c: Likewise.
44025 * malloc/arena.c: Likewise.
44026 * malloc/hooks.c: Likewise.
44027 * malloc/malloc.c: Likewise.
44028 * resolv/res-state.c: Likewise.
44029 * resolv/res_libc.c: Likewise.
44030 * sysdeps/i386/dl-machine.h: Likewise.
44031 * sysdeps/ia64/dl-machine.h: Likewise.
44032 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44033 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44034 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44035 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44036 * sysdeps/sh/dl-machine.h: Likewise.
44037 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44038 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44039 * sysdeps/unix/i386/sysdep.S: Likewise.
44040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44041 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44042 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44046 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44050 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44051 * sysdeps/x86_64/dl-machine.h: Likewise.
44052 * tls.make.c: Likewise.
44053
3ce1f295
UD
44054 * configure.in: Remove --with-__thread option. Make tests for
44055 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44056 tls_model attribute fail if no support is available. Remove
44057 USE_IN_LIBIO.
44058 * Makeconfig: Adjust for dropped configure option. All features are
44059 now mandatory.
44060 * Makerules: Likewise.
44061 * Versions.def: Likewise.
44062 * argp/argp-fmtstream.c: Likewise.
44063 * argp/argp-fmtstream.h: Likewise.
44064 * argp/argp-help.c: Likewise.
44065 * assert/assert.c: Likewise.
44066 * config.h.in: Likewise.
44067 * config.make.in: Likewise.
44068 * configure: Likewise.
44069 * configure.in: Likewise.
44070 * csu/Versions: Likewise.
44071 * csu/init.c: Likewise.
44072 * elf/tst-audit2.c: Likewise.
44073 * elf/tst-tls10.c: Likewise.
44074 * elf/tst-tls10.h: Likewise.
44075 * elf/tst-tls11.c: Likewise.
44076 * elf/tst-tls12.c: Likewise.
44077 * elf/tst-tls14.c: Likewise.
44078 * elf/tst-tlsmod11.c: Likewise.
44079 * elf/tst-tlsmod12.c: Likewise.
44080 * elf/tst-tlsmod13.c: Likewise.
44081 * elf/tst-tlsmod13a.c: Likewise.
44082 * elf/tst-tlsmod14a.c: Likewise.
44083 * elf/tst-tlsmod15b.c: Likewise.
44084 * elf/tst-tlsmod16a.c: Likewise.
44085 * elf/tst-tlsmod16b.c: Likewise.
44086 * elf/tst-tlsmod7.c: Likewise.
44087 * elf/tst-tlsmod8.c: Likewise.
44088 * elf/tst-tlsmod9.c: Likewise.
44089 * gmon/gmon.c: Likewise.
44090 * grp/fgetgrent_r.c: Likewise.
44091 * grp/putgrent.c: Likewise.
44092 * hurd/fopenport.c: Likewise.
44093 * include/libc-symbols.h: Likewise.
44094 * include/tls.h: Likewise.
44095 * intl/gettextP.h: Likewise.
44096 * intl/loadinfo.h: Likewise.
44097 * locale/global-locale.c: Likewise.
44098 * locale/localeinfo.h: Likewise.
44099 * mach/devstream.c: Likewise.
44100 * malloc/arena.c: Likewise.
44101 * malloc/set-freeres.c: Likewise.
44102 * misc/err.c: Likewise.
44103 * misc/getttyent.c: Likewise.
44104 * misc/mntent_r.c: Likewise.
44105 * posix/getopt.c: Likewise.
44106 * posix/wordexp.c: Likewise.
44107 * pwd/fgetpwent_r.c: Likewise.
44108 * resolv/Versions: Likewise.
44109 * resolv/res_hconf.c: Likewise.
44110 * shadow/fgetspent_r.c: Likewise.
44111 * shadow/putspent.c: Likewise.
44112 * stdio-common/printf_fphex.c: Likewise.
44113 * stdio-common/tmpfile.c: Likewise.
44114 * stdlib/abort.c: Likewise.
44115 * stdlib/fmtmsg.c: Likewise.
44116 * sunrpc/auth_unix.c: Likewise.
44117 * sunrpc/clnt_perr.c: Likewise.
44118 * sunrpc/clnt_tcp.c: Likewise.
44119 * sunrpc/clnt_udp.c: Likewise.
44120 * sunrpc/clnt_unix.c: Likewise.
44121 * sunrpc/openchild.c: Likewise.
44122 * sunrpc/svc_simple.c: Likewise.
44123 * sunrpc/svc_tcp.c: Likewise.
44124 * sunrpc/svc_udp.c: Likewise.
44125 * sunrpc/svc_unix.c: Likewise.
44126 * sunrpc/xdr.c: Likewise.
44127 * sunrpc/xdr_array.c: Likewise.
44128 * sunrpc/xdr_rec.c: Likewise.
44129 * sunrpc/xdr_ref.c: Likewise.
44130 * sunrpc/xdr_stdio.c: Likewise.
44131
1248c1c4
PB
441322011-09-09 Ulrich Drepper <drepper@gmail.com>
44133
44134 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44135
441362011-07-03 Andreas Jaeger <aj@suse.de>
44137
44138 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44139 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44140 regenerate with gen-libm-tests.pl.
44141
441422010-05-12 Petr Baudis <pasky@suse.cz>
44143
44144 [BZ #11589]
44145 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44146 around j0() zero points by switching to j1().
44147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44151
f22e1074
UD
441522011-09-09 Ulrich Drepper <drepper@gmail.com>
44153
f19009c1
UD
44154 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44155 instead of 0.
44156 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44157 instead of 0.
f19009c1
UD
44158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44159 Patch in part by Pavel Roskin <proski@gnu.org>.
44160
3f8cc204
UD
44161 [BZ #13138]
44162 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44163 realloc.
44164 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44165 Free memory block if necessary.
44166
f22e1074
UD
44167 [BZ #12847]
44168 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44169 be NULL. Don't lock in this case.
44170
0a2349f9
RM
441712011-09-09 Roland McGrath <roland@hack.frob.com>
44172
44173 * elf/elf.h (ELFOSABI_GNU): New macro.
44174 (ELFOSABI_LINUX): Define to that.
44175
f3cdd467
DZ
441762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44177
44178 * string/strncat.c (strncat): Undef the symbol in case it has been
44179 defined in bits/string.h.
44180
74718d13
UD
441812011-09-09 Ulrich Drepper <drepper@gmail.com>
44182
633e9e0f
UD
44183 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44184
0a2349f9 44185 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44186 link map.
44187
f9924780
AJ
441882011-08-17 Andreas Jaeger <aj@suse.de>
44189
44190 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44191
7f5517aa
PP
441922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44193 Ian Lance Taylor <iant@google.com>
44194
44195 * math/libm-test.inc (lround_test): New testcase.
44196 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44197
762011fe
UD
441982011-09-08 Ulrich Drepper <drepper@gmail.com>
44199
92963737
UD
44200 * Makefile: Remove support for automatic cvs check-ins.
44201 * Makerules: Likewise.
44202 * config.make.in: Likewise.
44203 * configure.in: Likewise.
44204 * intl/Makefile: Likewise.
44205 * locale/Makefile: Likewise.
44206 * po/Makefile: Likewise.
44207 * posix/Makefile: Likewise.
44208 * sysdeps/gnu/Makefile: Likewise.
44209 * sysdeps/mach/hurd/Makefile: Likewise.
44210 * sysdeps/sparc/sparc32/Makefile: Likewise.
44211
b0727fd8
JS
44212 [BZ #13118]
44213 * posix/Makefile (bug-regex32-ENV): Define.
44214 Patch by John Stanley <jpsinthemix@verizon.net>.
44215
a0f33f99
UD
44216 * misc/Makefile (headers): Add bits/select2.h.
44217 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44218 * misc/bits/select2.h: New file.
44219 * include/bits/select2.h: New file.
44220 * debug/Makefile (routines): Add fdelt_chk.
44221 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44222 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44223 FD_ISSET.
44224 * debug/fdelt_chk.c: New file.
44225
762011fe
UD
44226 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44227 * wcsmbs/test-wmemcmp.c: Likewise.
44228 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44229 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44230
442312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44232
44233 * string/Makefile (strop-tests): Add memcmp.
44234 * string/test-wmemcmp.c: New file.
44235 * string/test-memcmp.c: Add wmemcmp support.
44236
7f513ec8
RM
442372011-09-08 Roland McGrath <roland@hack.frob.com>
44238
0442afb4
RM
44239 [BZ #13153]
44240 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44241 2011-07-19 change.
44242
7f513ec8
RM
44243 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44244 garbage value in a __mach_port_mod_refs call in the cases of the
44245 task-self and thread-self ports.
44246
a12b2239
ST
442472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44248
44249 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44250
610f9ab4
AS
442512011-09-08 Andreas Schwab <schwab@redhat.com>
44252
7f513ec8 44253 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44254
48882a1a
LD
442552011-09-07 Ulrich Drepper <drepper@gmail.com>
44256
b49865be
UD
44257 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44258
fdc86bc9
UD
44259 * elf/dl-libc.c (dlerror_run): Pass back error code from
44260 dl_catch_error.
44261
c966526a
UD
44262 [BZ #13123]
44263 * elf/dl-load.c (lose): Free l_origin if it is valid.
44264
48882a1a
LD
44265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44266 names.
44267 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44268 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44271 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44272 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44273
77a2a8b4
AZ
442742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44275
44276 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44277 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44278 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44279 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44280 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44281 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44282 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44283 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44284 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44285 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44286
24f579d8
AM
442872011-08-15 Alan Modra <amodra@gmail.com>
44288
44289 [BZ #13092]
44290 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44291 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44292 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44293 ppc_mcount to static-only-routines.
44294 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44295 __mcount_internal.
44296 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44297 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44298
3d4837df
UD
442992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44300
44301 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44302 for finite and infinity parameters.
44303
22700377
WS
443042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44305
44306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44307 and add nop instructions for throughput optimization.
44308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44309
5025581e
WS
443102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44311
44312 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44313 aligned copy for power7 with vector-scalar instructions.
44314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44315
08a300c9
L
443162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44317
44318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44319 AVX check.
44320
59178ef9
AS
443212011-09-07 Andreas Schwab <schwab@redhat.com>
44322
44323 [BZ #13144]
44324 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44325 last change.
44326
e38ba7ab
UD
443272011-09-07 Ulrich Drepper <drepper@gmail.com>
44328
44329 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44330 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44331 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44332 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44333 clock_gettime.
44334
d53a73ac
UD
443352011-09-06 Ulrich Drepper <drepper@gmail.com>
44336
fc8bffcc
UD
44337 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44338 Forgot to demangle the pointer.
44339
ceaa0c5d
UD
44340 * sysdeps/i386/sysdep.h: Define atom_text_section.
44341 * sysdeps/x86_64/sysdep.h: Likewise.
44342 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44343 section with atom_text_section.
44344 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44345 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44346 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44348 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44349
a77d3c17
UD
44350 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44352 already be defined. Change to take two parameters and don't assign
44353 result to variable. Adjust all users.
44354 Define INTERNAL_GETTIME if not already defined.
44355 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44356 call.
44357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44358 HAVE_CLOCK_GETTIME_VSYSCALL.
44359 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44360
d53a73ac
UD
44361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44362 gettimeofday vsyscall, just use time.
44363
a8f84144
AS
443642011-09-06 Andreas Schwab <schwab@redhat.com>
44365
44366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44367 <errno.h>.
44368
ef606249
UD
443692011-09-06 Ulrich Drepper <drepper@gmail.com>
44370
44371 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44372 syscall on x86-64.
44373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44374 syscall.
44375 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44376 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44377 syscall if possible.
44378
6585cb60
UD
443792011-09-05 Ulrich Drepper <drepper@gmail.com>
44380
44381 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44382 e_ident. Don't pass to find_mapsXX.
44383 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44384
a5f524e4
LD
443852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44386
44387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44388 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44389 * sysdeps/x86_64/multiarch/strchr.S: Update.
44390 Check bit_slow_BSF bit.
44391 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44392 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44393 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44394
554881ef
UD
443952011-09-05 Ulrich Drepper <drepper@gmail.com>
44396
d96de963
UD
44397 [BZ #13134]
44398 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44399 before glibc 2.15.
44400 (tryshell): Define.
44401 (__spawni): Change last parameter to be flag. Test
44402 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44403 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44404 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44405 * posix/spawni.c: Likewise.
44406 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44407 * posix/spawnp.c: Likewise. Change normal version to use
44408 SPAWN_XFLAGS_USE_PATH.
44409 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44410 SPAWN_XFLAGS_TRY_SHELL.
44411
d48e5868
UD
44412 [BZ #13150]
44413 * posix/glob.h: Remove gcc 1.x support.
44414
554881ef
UD
44415 [BZ #13068]
44416 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44417
693fb948
LD
444182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44419
44420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44421 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44422 strrchr-sse2-bsf
44423 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44424 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44425 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44426 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44428 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44429
1b48c537
UD
444302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44431
49d42c37
UD
44432 * sysdeps/x86_64/wcscmp.S: New file.
44433
1b48c537
UD
44434 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44435 wcscmp-c wcscmp-sse2
44436 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44437 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44438 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44439 * wcsmbs/wcscmp.c: Allow renaming.
44440
15c95c5d
DM
444412011-09-05 David S. Miller <davem@davemloft.net>
44442
44443 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44444 stack slot, rather than the struct return pointer slot.
44445 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44446 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44448 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44449
2f0ad8f3
UD
444502011-09-05 Ulrich Drepper <drepper@gmail.com>
44451
d88ae418
UD
44452 * po/ja.po: Update from translation team.
44453
2f0ad8f3
UD
44454 [BZ #13144]
44455 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44456 kernel in 64-bit binaries.
44457
5f4318d1
DM
444582011-09-01 David S. Miller <davem@davemloft.net>
44459
44460 * elf/elf.h (HWCAP_SPARC_*): Move to..
44461 * sysdeps/sparc/sysdep.h: this new file and add new values.
44462 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44463 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44464 _DL_HWCAP_COUNT to 24.
44465 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44466 entries.
44467 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44468 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44469 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44471 instead of magic constants.
44472 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44473
3ba57516
DM
444742011-08-31 David S. Miller <davem@davemloft.net>
44475
44476 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44478 Reimplement to do errno handling inline.
44479 (SYSCALL_ERROR_HANDLER): New macro.
44480 (__SYSCALL_STRING): Do not do errno handling in asm.
44481 (__CLONE_SYSCALL_STRING): Delete.
44482 (__INTERNAL_SYSCALL_STRING): Delete.
44483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44484 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44485 (PSEUDO): Reimplement to do errno handling inline.
44486 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44487 (SYSCALL_ERROR_HANDLER): New macro.
44488 (__SYSCALL_STRING): Do not do errno handling in asm.
44489 (__CLONE_SYSCALL_STRING): Delete.
44490 (__INTERNAL_SYSCALL_STRING): Delete.
44491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44492 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44493 i386.
44494 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44495 (inline_syscall*): Add 'err' argument.
44496 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44497 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44498 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44499 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44500
44501 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44502 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44503
2bc17433
AS
445042011-08-30 Andreas Schwab <schwab@redhat.com>
44505
44506 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44507
fbeb5f4d
JO
445082011-08-29 Jiri Olsa <jolsa@redhat.com>
44509
44510 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44511 directive.
44512
ad69cc26
DM
445132011-08-24 David S. Miller <davem@davemloft.net>
44514
44515 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44516
39dd69df
AS
445172011-08-24 Andreas Schwab <schwab@redhat.com>
44518
44519 * elf/Makefile: Add rules to build and run unload8 test.
44520 * elf/unload8.c: New file.
44521 * elf/unload8mod1.c: New file.
44522 * elf/unload8mod1x.c: New file.
44523 * elf/unload8mod2.c: New file.
44524 * elf/unload8mod3.c: New file.
44525
44526 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44527 it wasn't used.
44528
2c0b250a
DM
445292011-08-23 David S. Miller <davem@davemloft.net>
44530
44531 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44532 subtract stack bias.
44533 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44534 %sp not %fp in calculations.
44535 (_JMPBUF_UNWINDS_ADJ): Likewise.
44536
22044b48
DM
44537 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44538 (aio_suspend): Call it to force an exception region around the
44539 AIO_MISC_WAIT() invocation.
44540
2cae4995
AS
445412011-08-23 Andreas Schwab <schwab@redhat.com>
44542
44543 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44544 backslash.
44545
873a772e
AJ
445462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44547
44548 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44549 protection macro.
44550 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44551 and <dl-machine.h>.
44552 (Elf64_FuncDesc): Remove.
44553
25ad0df1
DM
445542011-08-22 David S. Miller <davem@davemloft.net>
44555
44556 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44557 sigaltstack check, add missing cfi directives.
44558 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44559 missing cfi directives, and sigaltstack handling.
44560
e888bcbe
AS
445612011-08-16 Andreas Schwab <schwab@redhat.com>
44562
44563 [BZ #11724]
44564 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44565 object is seen twice.
44566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44567
44568 * elf/Makefile (distribute): Add tst-initorder2.c.
44569 (tests): Add tst-initorder2.
44570 (modules-names): Add tst-initorder2a tst-initorder2b
44571 tst-initorder2c tst-initorder2d. Add rules to build them.
44572 ($(objpfx)tst-initorder2.out): New rule.
44573 * elf/tst-initorder2.c: New file.
44574 * elf/tst-initorder2.exp: New file.
44575
87162f46
AS
445762011-08-22 Andreas Schwab <schwab@redhat.com>
44577
70538b7f
AS
44578 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44579
f55ffe58
AS
44580 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44581 dependencies back to end of function.
44582
87162f46
AS
44583 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44584 $(elfobjdir)/ld.so.
44585
91b392a4
UD
445862011-08-21 Ulrich Drepper <drepper@gmail.com>
44587
44588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44589 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44591 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44592 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44593 of __vdso_gettimeofday.
44594 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44595 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44596 attribute_hidden.
44597 (_libc_vdso_platform_setup): Remove initialization of
44598 __vdso_gettimeofday and __vdso_time.
44599
5c43483f
UD
446002011-08-20 Ulrich Drepper <drepper@gmail.com>
44601
775a77e7
UD
44602 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44603 and fgetc_unlocked.
44604 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44605 getc_unlocked.
89f447ed 44606
49c74ba9
UD
44607 * elf/dl-open.c (add_to_global): Report additions to the global scope
44608 for LD_DEBUG=scopes.
44609 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44610 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44611
5c43483f
UD
44612 [BZ #13114]
44613 * stdio-common/Makefile (tests): Add bug24.
44614 * stdio-common/bug24.c: New file.
44615
a101b025
AJ
446162011-08-19 Andreas Jaeger <aj@suse.de>
44617
44618 [BZ #13114]
44619 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44620 non-existant file when using close-on-exec mode.
44621
c88f1766
UD
446222011-08-20 Ulrich Drepper <drepper@gmail.com>
44623
0276a718
UD
44624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44625 the very first instruction.
44626
c88f1766
UD
44627 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44628 the CFI state in the end.
44629 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44630 inclusion of dl-trampoline.h.
44631 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44632
51ccffa0
AS
446332011-08-19 Andreas Schwab <schwab@redhat.com>
44634
94d7165f
AS
44635 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44636 expectations for long double.
44637
51ccffa0
AS
44638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44639 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44640
fd708658 446412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44642
44643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44644 artificual limit depends upon the system page size.
44645
44f0a71e
UD
446462011-08-17 Ulrich Drepper <drepper@gmail.com>
44647
44648 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44649 * resolv/Makefile: Define CFLAGS-libresolv.
44650
8de79a24
AS
446512011-08-17 Andreas Schwab <schwab@redhat.com>
44652
44653 * nss/makedb.c (compute_tables): Make variables used in nested
44654 function static.
44655
27724598
UD
446562011-08-17 Ulrich Drepper <drepper@gmail.com>
44657
c5305d88
UD
44658 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44659 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44660 if buffer was too small.
44661
27724598
UD
44662 * elf/pldd.c (main): Attach to all threads in the process.
44663 Rewrite /proc handling to use *at functions.
44664
076fe015
UD
446652011-08-16 Ulrich Drepper <drepper@gmail.com>
44666
174baab3
UD
44667 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44668 specifies first scope to show.
44669 (dl_open_worker): Update callers. Move printing scope of new
44670 object to before the relocation.
44f0a71e 44671 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44672 * sysdeps/generic/ldsodefs.h: Update declaration.
44673
076fe015
UD
44674 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44675 string for the scope number.
44676
a60df2c3
UD
446772011-08-14 Ulrich Drepper <drepper@gmail.com>
44678
44679 * nscd/servicescache.c (cache_addserv): Make sure written is always
44680 initialized.
44681
5e4287d1
RM
446822011-08-14 Roland McGrath <roland@hack.frob.com>
44683
85ae0589
RM
44684 * sysdeps/i386/i486/bits/atomic.h
44685 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44686 statement expression, so as to suppress "set but not used" warning.
44687 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44688
69f63097
RM
44689 * string/strncat.c (STRNCAT): Use prototype definition.
44690
675456ef
RM
44691 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44692 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44693 -Iprograms here.
44694 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44695 (localedef-modules): Add localedef.
44696 (locale-modules): Add locale.
44697
5e4287d1
RM
44698 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44699 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44700 to avoid a warning.
44701
9c96ff23
DM
447022011-08-14 David S. Miller <davem@davemloft.net>
44703
44704 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44705 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44706
f9ddf089
UD
447072011-08-13 Ulrich Drepper <drepper@gmail.com>
44708
44f0a71e 44709 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44710 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44711 * elf/rtld.c (dl_main): Set l_name of vDSO.
44712 Call _dl_show_scope when DL_DEBUG_SCOPES.
44713 (process_dl_debug): Recognize scopes flag and also set it for all.
44714 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44715 Declare _dl_show_scope.
44716
1dc27704
UD
44717 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44718 (do_dlopen): Pass caller_dlopen to dl_open.
44719 (__libc_dlopen_mode): Initialize caller_dlopen.
44720
f9ddf089
UD
44721 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44722 of libc. Make tolower call locale-independent. Optimize a bit by
44723 using isdigit instead of isalnum.
44724 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44725
9ac533d3
UD
447262011-08-12 Ulrich Drepper <drepper@gmail.com>
44727
44728 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44729 was a dependency or dynamically loaded.
44730
89edf2e9
UD
447312011-08-11 Ulrich Drepper <drepper@gmail.com>
44732
8e999d29
UD
44733 * intl/l10nflist.c: Allow architecture-specific pop function.
44734 * sysdeps/x86_64/l10nflist.c: New file.
44735
89edf2e9
UD
44736 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44737 classification.
44738
14d96785
AS
447392011-08-10 Andreas Schwab <schwab@redhat.com>
44740
44741 * include/dirent.h: Add libc_hidden_proto for scandirat and
44742 scandirat64. Don't declare __scandirat64.
44743 * dirent/scandirat.c: Add libc_hidden_def.
44744 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44745 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44746
6761ac04
DM
447472011-08-10 David S. Miller <davem@davemloft.net>
44748
44749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44750 enum.
44751 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44754
c55fbd1e
UD
447552011-08-09 Ulrich Drepper <drepper@gmail.com>
44756
44757 * Versions.def [libc]: Add GLIBC_2.15.
44758 * dirent/Makefile (routines): Add scandirat and scandirat64.
44759 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44760 GLIBC_2.15.
44761 * dirent/dirent.h: Declare scandirat and scandirat64.
44762 * dirent/scandirat.c: New file.
44763 * dirent/scandirat64.c: New file.
44764 * sysdeps/wordsize-64/scandirat.c: New file.
44765 * sysdeps/wordsize-64/scandirat64.c: New file.
44766 * dirent/opendir.c: Define opendirat.
44767 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44768 using scandirat.
44769 * dirent/scandir64.c: Adjust for scandir.c change.
44770 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44771 __scandirat64, and __scandir_cancel_handler.
44772 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44773 additional parameter and use openat instead of open (outside of ld.so).
44774 Add new __opendir as wrapper around __opendirat.
44775 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44776 here without requiring old scandirat implementation.
44777
879165f2
UD
447782011-08-08 Ulrich Drepper <drepper@gmail.com>
44779
44780 * dirent/scandir.c (cancel_handler): Renamed to
44781 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44782 defined. Adjust users.
44783 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44784 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44785
cb7e923b
UD
447862011-08-04 Ulrich Drepper <drepper@gmail.com>
44787
16292edd
UD
44788 * string/test-string.h (IMPL): Use __STRING to expand name and then
44789 stringify it.
44790
cb7e923b
UD
44791 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44792 of cleanups.
44793
cff82933
LD
447942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44795
44796 * string/Makefile: Update.
44797 (strop-tests): Append strncat.
44798 * string/test-wcscmp.c: New file.
44799 New comprehensive test for wcscmp.
44800 * string/test-strcmp.c: Update.
44801 (WIDE): New define.
44802
9be9bfcc
AS
448032011-07-22 Andreas Schwab <schwab@redhat.com>
44804
44805 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44806 line.
44807
2e96f1c7
AS
448082011-07-26 Andreas Schwab <schwab@redhat.com>
44809
44810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44811 encoding to ACE if AI_IDN.
44812
85188888
JJ
448132011-08-01 Jakub Jelinek <jakub@redhat.com>
44814
44815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44816 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44817
5fa16e9b
LD
448182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44819
44820 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44821 Fix overflow bug in strncat.
44822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44823
44824 * string/test-strncat.c: Update.
44825 Add new tests for checking overflow bugs.
44826
448272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44828
44829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44830 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44831 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44832 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44834 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44835 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44836 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44837 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44838
44839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44840 (USE_AS_STRCAT): Define.
44841 Add strcat and strncat support.
44842 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44843
8c1a459f
AS
448442011-07-25 Andreas Schwab <schwab@redhat.com>
44845
44846 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44847 __n bigger than INT_MAX+1.
44848 (__strncmp_g): Likewise.
44849
bba33c28
UD
448502011-07-23 Ulrich Drepper <drepper@gmail.com>
44851
798be72d
UD
44852 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44853 * libio/stido.h: Likewise.
44854
8accd4dc
UD
44855 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44856 (AF_NFC): Define.
44857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44858 (AF_NFC): Define.
44859
cbff0d96
UD
44860 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44863 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44865
9191c04a
UD
44866 [BZ #13021]
44867 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44868 installed.
44869
bba33c28
UD
44870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44871 typo.
44872 (_dl_x86_64_save_sse): Likewise.
44873
90f139dd
UD
448742011-07-22 Ulrich Drepper <drepper@gmail.com>
44875
1aae088a
UD
44876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44877 OSXSAVE.
44878 (_dl_x86_64_save_sse): Likewise.
44879
8e2045f5
UD
44880 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44881
90f139dd
UD
44882 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44883
1d002f25
AS
448842011-07-21 Andreas Schwab <schwab@redhat.com>
44885
44886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44887 change.
44888 (_dl_x86_64_save_sse): Use correct AVX check.
44889
21137f89
UD
448902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44891
44892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44893 bug in strncpy/strncat.
44894 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44895
a65c0b7a
UD
448962011-07-21 Ulrich Drepper <drepper@gmail.com>
44897
44898 * string/tester.c (test_strcat): Add tests for different alignments
44899 of source and destination.
44900 (test_strncat): Likewise.
44901
6986b98a
UD
449022011-07-20 Ulrich Drepper <drepper@gmail.com>
44903
90bb2039
UD
44904 [BZ #12852]
44905 * posix/glob.c (glob): Check passed in values before using them in
44906 expressions to avoid some overflows.
44907 (glob_in_dir): Likewise.
44908
5644ef54
UD
44909 [BZ #13007]
44910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44911 check for AVX enablement so that we don't crash with old kernels and
44912 new hardware.
44913 * elf/tst-audit4.c: Add same checks here.
44914 * elf/tst-audit6.c: Likewise.
44915
44916 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44917
bfc9dc9b
AS
449182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44919
44920 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44921
702e64bb
UD
449222011-07-20 Ulrich Drepper <drepper@gmail.com>
44923
44924 * po/cs.po: Update from translation team.
44925 * po/bg.po: Likewise.
44926
295e904f
MP
449272011-07-12 Marek Polacek <mpolacek@redhat.com>
44928
44929 * misc/sys/cdefs.h: Add support for const attribute.
44930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44931 to gnu_dev_{major,minor,makedev} functions.
44932
3ff94596
MP
449332011-07-20 Marek Polacek <mpolacek@redhat.com>
44934
44935 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44936
28b59fca
AS
449372011-07-20 Andreas Schwab <schwab@redhat.com>
44938
44939 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44940 strlen results.
44941
19df733e
AK
449422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44943
44944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44945 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44946 register in order to avoid conflicts with the soft frame pointer
44947 being held in r11 when necessary.
44948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44949 (INTERNAL_VSYSCALL_NCS): Likewise.
44950
c8835729
MP
449512011-07-14 Marek Polacek <mpolacek@redhat.com>
44952
44953 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44954 * elf/dl-fini.c (_dl_fini): Adjust caller.
44955 * elf/dl-close.c (_dl_close_worker): Likewise.
44956 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44957
b902330c
MP
449582011-07-15 Marek Polacek <mpolacek@redhat.com>
44959
8991e135
MP
44960 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44961 "aux_cache->nlibs < 0".
44962
b902330c
MP
44963 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44964 in the reload-count case.
44965
99710781
LD
449662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44967
44968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44969 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44970 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44971 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44972 * sysdeps/x86_64/multiarch/strcat.S: New file.
44973 * sysdeps/x86_64/multiarch/strncat.S: New file.
44974 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44976 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44977 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44978 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44979 (USE_AS_STRCAT): Define.
44980 Add strcat and strncat support.
44981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44983 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44984 * string/strncat.c: Update.
44985 (USE_AS_STRNCAT): Define.
44986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44987 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44988 and i7.
44989 * sysdeps/x86_64/multiarch/init-arch.h
44990 (bit_Prefer_PMINUB_for_stringop): New.
44991 (index_Prefer_PMINUB_for_stringop): Likewise.
44992 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44993 bit_Prefer_PMINUB_for_stringop.
44994
7dc6bd90
UD
449952011-07-19 Ulrich Drepper <drepper@gmail.com>
44996
44997 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44998 buffer64.
44999 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45000 of casting of buffer.
45001 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45002 buffer32 and buffer64.
45003 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45004 writes instead of casting of buffer.
45005 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45006 buffer32.
45007 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45008 casting of buffer.
45009
e0e72284
AS
450102011-07-19 Andreas Schwab <schwab@redhat.com>
45011
45012 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45013
feb1eb0b
UD
450142011-07-19 Ulrich Drepper <drepper@gmail.com>
45015
45016 * nscd/nscd.c (termination_handler): Don't do anything for a database
45017 if it has not yet been initialized.
45018
298711ff
UD
450192011-07-18 Ulrich Drepper <drepper@gmail.com>
45020
45021 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45022
450232011-07-15 Marek Polacek <mpolacek@redhat.com>
45024
45025 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45026
f9d68389
UD
450272011-07-18 Ulrich Drepper <drepper@gmail.com>
45028
45029 * po/nl.po: Update from translation team.
45030 * po/sv.po: Likewise.
45031
db290cf5
RM
450322011-07-16 Roland McGrath <roland@hack.frob.com>
45033
45034 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45035 now disallowed by GCC.
5c550700 45036
fd5e21c7
RM
45037 * configure.in (use-default-link): Default to yes if a test -shared
45038 link meets our qualifications.
45039 * configure: Regenerated.
45040
5c550700
RM
45041 * config.make.in (output-format): New variable.
45042 * configure.in: Check for ld --print-output-format support.
45043 * configure: Regenerated.
45044 * Makerules ($(common-objpfx)format.lds)
45045 [$(output-format) != unknown]: Just use $(output-format),
45046 instead of the linker-script munging.
45047
9fa2c032
RM
450482011-07-14 Roland McGrath <roland@hack.frob.com>
45049
a6928d51
RM
45050 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45051 of $(common-objpfx)shlib.lds.
45052 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45053
661607b3
RM
45054 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45055 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45056
9fa2c032
RM
45057 * configure.in (-z relro check): Adjust test code to add a large
45058 writable data section after it.
45059 * configure: Regenerated.
45060
defe9061
RM
450612011-07-11 Roland McGrath <roland@hack.frob.com>
45062
45063 * configure.in (-z relro check): Fix test code to make the variable
45064 truly const.
45065 * configure: Regenerated.
45066
319b9ad4
UD
450672011-07-11 Ulrich Drepper <drepper@gmail.com>
45068
45069 * nscd/nscd.h (struct traced_file): Define.
45070 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45071 elements. Add traced_files.
45072 (inotify_fd): Declare.
45073 (register_traced_file): Declare.
45074 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45075 (inotify_fd): Export.
45076 (resolv_conf_descr): Remove.
45077 (nscd_init): Move inotify descriptor creation to main.
45078 Don't register files for notification here.
45079 (register_traced_file): New function.
45080 (invalidate_cache): Don't use reset_res to determine whether to call
45081 res_init, go through the list of registered files.
45082 (main_loop_poll): The inotify descriptors are now stored in the
45083 structures for the traced files.
45084 (main_loop_epoll): Likewise
45085 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45086 to __nss_disable_nscd.
45087 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45088 for a database anymore. Check the records for all the registered
45089 files instead.
45090 * nss/Makefile (libnss_files-routines): Add files-init.
45091 (libnss_db-routines): Add db-init.
45092 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45093 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45094 * nss/nss_db/db-init.c: New file.
45095 * nss/nss_files/files-init.c: New file.
45096 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45097 __nss_lookup_function.
45098 (__nss_lookup_function): Call nss_load_library.
45099 (nss_load_all_libraries): New function.
45100 (__nss_disable_nscd): Take parameter with callback function for files
45101 to register. Set is_nscd. Load all the DSOs for the NSS modules
45102 used for the cached services.
45103 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45104 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45105 options for features to all the files in nscd.
45106
45107 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45108
23bee3e8
RM
451092011-07-10 Roland McGrath <roland@hack.frob.com>
45110
45111 * csu/elf-init.c (__libc_csu_init): Comment typo.
45112
46a5b7f0
UD
451132011-07-09 Ulrich Drepper <drepper@gmail.com>
45114
45115 * po/pl.po: Update from translation team.
45116 * po/ja.po: Likewise.
45117 * po/ru.po: Likewise.
45118 * po/ko.po: Likewise.
45119 * po/fr.po: Likewise.
45120
d30cf5bb
RM
451212011-07-09 Roland McGrath <roland@hack.frob.com>
45122
113ddea4
RM
45123 * configure.in (.ctors/.dtors header and trailer check):
45124 Use an empirical test on a built program.
45125 * configure: Regenerated.
45126
574920b4
RM
45127 * configure.in (-z relro check): Use an empirical test on a built DSO.
45128 Detect, but do not require, on ia64.
45129 * configure: Regenerated.
45130
d30cf5bb
RM
45131 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45132 Update tests that use readelf to use $READELF instead.
45133 * configure: Regenerated.
45134
8538fdb3
UD
451352011-07-08 Ulrich Drepper <drepper@gmail.com>
45136
45137 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45138 if the result is not used.
45139
04d08991
AJ
451402011-07-05 Andreas Jaeger <aj@suse.de>
45141
45142 [BZ#9696]
45143 * stdlib/tst-strtod.c: Add testcase.
45144
de283087
AD
451452011-07-07 Ulrich Drepper <drepper@gmail.com>
45146
4e5f31c8 45147 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45148 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45149 The latter has a higher limit. Take additional parameter to pass to
45150 the new function.
45151 (__pathconf): Pass file to __statfs_link_max.
45152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45153 __statfs_link_max.
45154 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45155 __statfs_link_max.
45156
de283087
AD
45157 [BZ #12868]
45158 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45159 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45160 Handle Lustre.
45161 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45162 (__statfs_filesize_max): Likewise.
45163 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45164
c75fa153
AJ
451652011-07-05 Andreas Jaeger <aj@suse.de>
45166
45167 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45168
1a544854
UD
451692011-07-06 Marek Polacek <mpolacek@redhat.com>
45170
45171 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45172 `status' variable.
45173 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45174 Likewise.
45175
6f0eec67
UD
451762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45177
45178 * Makefile (strop-tests): Add strncat.
45179 * string/test-strncat.c: New file.
45180
aae30307
UD
451812011-06-30 Marek Polacek <mpolacek@redhat.com>
45182
45183 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45184
c0cfb5eb
UD
451852011-06-21 Andreas Jaeger <aj@suse.de>
45186
45187 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45188 Copy rule from iconvdata/Makefile.
45189
01636b21
UD
451902011-07-06 Ulrich Drepper <drepper@gmail.com>
45191
45192 [BZ #12922]
45193 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45194 but no long options are defined, just return 'W'.
45195
9895c8bc
UD
451962011-06-22 Marek Polacek <mpolacek@redhat.com>
45197
45198 [BZ #9696]
45199 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45200
5d4cf042
UD
452012011-07-06 Ulrich Drepper <drepper@gmail.com>
45202
45203 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45204 netgroups to read.
960e5535 45205 (innetgr): Likewise.
5d4cf042 45206
751eb97e
RM
452072011-07-05 Roland McGrath <roland@hack.frob.com>
45208
45209 * config.make.in (install_root): Default to $(DESTDIR).
45210
f15f1e45
UD
452112011-07-05 Ulrich Drepper <drepper@gmail.com>
45212
45213 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45214
4e34ac6a
RM
452152011-07-02 Roland McGrath <roland@hack.frob.com>
45216
5e9b6af4
RM
45217 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45218
84f9ea0f
RM
45219 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45220 containing directory rather than embedding absolute directory names.
45221
ea5ee9f7
RM
45222 * scripts/check-local-headers.sh: Rewritten using awk.
45223 Match by word, not by line. Print error messages for matches.
45224 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45225
1b74661a
RM
45226 * Makerules [shlib-lds-flags empty]:
45227 ($(common-objpfx)libc_pic.opts): New target.
45228 ($(common-objpfx)libc_pic.os.clean): New target.
45229 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45230
45231 * config.make.in (OBJCOPY): New variable.
45232 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45233 * configure: Regenerated.
45234
f781ef40
RM
45235 * config.make.in (use-default-link): New variable.
45236 * configure.in (use_default_link): Grok --with-default-link to set it.
45237 * configure: Regenerated.
45238 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45239 (shlib-lds, shlib-lds-flags): Define to empty.
45240
2d4fa81e
RM
45241 * Makerules (shlib-lds): New variable.
45242 (shlib-lds-flags): New variable.
45243 (build-shlib, build-moduile, build-module-asneeded): Use it.
45244 ($(common-objpfx)libc.so): Use $(shlib-lds).
45245 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45246 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45247
31fffa6b
RM
45248 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45249 DT_FLAGS/DT_FLAGS_1 with zero flags.
45250
4e34ac6a
RM
45251 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45252 linker script munging.
45253
fcfc776b
UD
452542011-07-02 Ulrich Drepper <drepper@gmail.com>
45255
45256 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45257 as 128-bit value.
45258 * crypt/sha512.c (sha512_process_block): Perform total addition using
45259 128-bit if possible.
45260 (__sha512_finish_ctx): Likewise.
45261 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45262 as 64-bit value.
45263 * crypt/sha256.c (SWAP64): Define.
45264 (sha256_process_block): Perform total addition using 64-bit if
45265 possible.
45266 (__sha256_finish_ctx): Likewise.
45267
99231d9a
UD
452682011-07-01 Ulrich Drepper <drepper@gmail.com>
45269
45270 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45272 * nscd/hstcache.c (cache_addhst): Likewise.
45273 * nscd/grpcache.c (cache_addgr): Likewise.
45274 * nscd/aicache.c (addhstaiX): Likewise
45275 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45276
445b4a53
TK
452772011-07-01 Thorsten Kukuk <kukuk@suse.de>
45278
45279 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45281 * nscd/hstcache.c (cache_addhst): Likewise.
45282 * nscd/grpcache.c (cache_addgr): Likewise.
45283 * nscd/aicache.c (addhstaiX): Likewise
45284
6d4d8e8e
AS
452852011-07-01 Andreas Schwab <schwab@redhat.com>
45286
45287 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45288 domain only when needed.
45289
89f654c5
AS
452902011-06-30 Andreas Schwab <schwab@redhat.com>
45291
45292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45293 is always restored.
45294
cf3b23ff
UD
452952011-06-29 Ulrich Drepper <drepper@gmail.com>
45296
45297 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45298 are re-adding the entry.
45299 * nscd/servicescache.c (cache_addserv): Likewise.
45300
751626f9
AJ
453012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45302
45303 * sysdeps/generic/dl-irel.h: fix protection against multiple
45304 inclusions.
45305 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45306
9113ea1f
UD
453072011-06-28 Ulrich Drepper <drepper@gmail.com>
45308
5c0b8d90
UD
45309 [BZ #12935]
45310 * malloc/memusage.sh: Fix quoting in message.
45311 * debug/xtrace.sh: Likewise.
45312
9113ea1f
UD
45313 * configure.in: Remove support for --experimental-malloc option, make
45314 it the default.
45315 * config.make.in: Likewise.
45316 * malloc/Makefile: Likewise.
45317
a4172181
AS
453182011-06-27 Andreas Schwab <schwab@redhat.com>
45319
45320 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45321 two-byte characters.
45322
78a7eee7
RM
453232011-06-27 Roland McGrath <roland@hack.frob.com>
45324
62bede13
RM
45325 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45326 AC_CACHE_CHECK invocation.
45327 * configure: Regenerated.
45328
78a7eee7
RM
45329 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45330
5ce33a62
UD
453312011-06-27 Ulrich Drepper <drepper@gmail.com>
45332
034807a9
UD
45333 [BZ #12350]
45334 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45335 bit from old_res_options.
45336
4902da17
UD
45337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45338
5ce33a62
UD
45339 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45340 value type for setfct.
45341
c2344f56
L
453422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45343
45344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45345 __gettimeofday instead of gettimeofday.
45346
68468076
UD
453472011-06-26 Ulrich Drepper <drepper@gmail.com>
45348
45349 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45350
acb0d739
L
453512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45352
45353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45354
45355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45356 info.
45357
8912479f
L
453582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45359
45360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45361 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45362 strcpy-sse2-unaligned strncpy-sse2-unaligned
45363 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45364 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45365 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45366 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45367 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45370 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45371 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45372 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45373 (STRCPY): Support SSE2 and SSSE3 versions.
45374
d5495a11
UD
453752011-06-24 Ulrich Drepper <drepper@gmail.com>
45376
45377 [BZ #12874]
45378 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45379 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45380 kernels which artificially limit size of requests.
45381
0b1cbaae
L
453822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45383
45384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45385 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45386 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45387 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45388 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45389 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45390 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45391 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45394 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45395 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45396 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45397 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45398 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45400 Enable unaligned load optimization for Intel Core i3, i5 and i7
45401 processors.
45402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45403 Define.
45404 (index_Fast_Unaligned_Load): Define.
45405 (HAS_FAST_UNALIGNED_LOAD): Define.
45406
07f494a0
MP
454072011-06-23 Marek Polacek <mpolacek@redhat.com>
45408
45409 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45410
fa3fc0fe
UD
454112011-06-22 Ulrich Drepper <drepper@gmail.com>
45412
45413 [BZ #12907]
45414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45415 until it is clear that the information is realy needed.
45416 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45417
e12df166
AS
454182011-06-22 Andreas Schwab <schwab@redhat.com>
45419
45420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45421
852eb34d
UD
454222011-06-22 Ulrich Drepper <drepper@gmail.com>
45423
84e2a551
UD
45424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45425 /sys/devices/system/cpu/online if it is usable.
45426
852eb34d
UD
45427 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45428 reading the information from the /proc filesystem to once a second.
45429
6e502e19
UD
454302011-06-21 Andreas Jaeger <aj@suse.de>
45431
45432 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45433 NULL after inclusion of kernel headers.
45434
75d39ff2
UD
454352011-06-21 Ulrich Drepper <drepper@gmail.com>
45436
51f9aa6a
UD
45437 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45438 calls to internal_setent.
45439
c0244a9d
UD
45440 [BZ #12885]
45441 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45442 addresses using gethostbyname4_r ignore IPv4 addresses.
45443
c5e3c2ae
UD
45444 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45445 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45446
75d39ff2
UD
45447 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45448
42675c6f
DM
454492011-06-20 David S. Miller <davem@davemloft.net>
45450
45451 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45452 inclusions.
45453 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45454
45455 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45456 (elf_irel): Use it.
45457 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45458 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45459 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45460 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45461 * sysdeps/x86_64/dl-irel.h: Likewise.
45462
45463 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45464 * elf/dl-sym.c: Likewise.
45465
57912a71
UD
454662011-06-15 Ulrich Drepper <drepper@gmail.com>
45467
45468 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45469 need to dereference resplen2.
45470
ee22793d
AS
454712011-06-14 Andreas Schwab <schwab@redhat.com>
45472
45473 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45474
a9e836b0
UD
454752011-06-15 Ulrich Drepper <drepper@gmail.com>
45476
77fb9117
UD
45477 * Makeconfig: Define vardbdir and inst_vardbdir.
45478 * nss/Makefile: Add rules to install db-Makefile.
45479
40c1b22c
UD
45480 * nss/nss_db/db-XXX.c: Cleanup.
45481
9f2da732
UD
45482 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45483 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45484 GLIBC_PRIVATE.
45485 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45486 * nss/makedb.c: Implement -g option to specify that value strings
45487 are generated and should not be added to table iterated over for
45488 get*ent calls.
45489 * nss/nss_db/db-initgroups.c: New file.
45490
82e9a1f7
UD
45491 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45492 interface.
45493
c41af17e
UD
45494 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45495 (internal_getgrouplist): Adjust to name change.
45496 Update use_initgroups_entry if this is not the first call.
45497 * nss/databases.def: Add initgroups entry.
45498
a9e836b0
UD
45499 * nss/makedb.c (compute_tables): Check result of multiple hash table
45500 sizes to minimize maximum chain length.
45501
2666d441
UD
455022011-06-14 Ulrich Drepper <drepper@gmail.com>
45503
45504 * Versions.def: Add entry for libnss_db.
45505 * shlib-versions: Likewise.
45506 * nss/Makefile: Add rules to build libnss_db.
45507 * nss/Versions: Add libnss_db information. Organize libnss_files
45508 entries better.
45509 * nss/db-Makefile: Add gshadow support. Change rules for the new
45510 makedb progra. Some minor improvements to generate smaller files.
45511 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45512 here from...
45513 * nss/makedb.c: ...here.
45514 Improve database format to be smaller and require less memory at
45515 runtime.
45516 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45517 db anymore.
45518 * nss/nss_db/db-netgrp.c: Likewise.
45519 * nss/nss_db/db-open.c: Likewise.
45520 * nss/nss_files/flies-XXX.x: Adjust comments.
45521 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45522 * nss/nss_files/files-grp.c: Likewise.
45523 * nss/nss_files/files-hosts.c: Likewise.
45524 * nss/nss_files/files-network.c: Likewise.
45525 * nss/nss_files/files-proto.c: Likewise.
45526 * nss/nss_files/files-pwd.c: Likewise.
45527 * nss/nss_files/files-rpc.c: Likewise.
45528 * nss/nss_files/files-service.c: Likewise.
45529 * nss/nss_files/files-sgrp.c: Likewise.
45530 * nss/nss_files/files-spwd.c: Likewise.
45531 * nss/nss_db/db-alias.c: Removed.
45532 * nss/nss_db/dummy-db.h: Removed.
45533
9ee76b5a
UD
455342011-06-02 Ulrich Drepper <drepper@gmail.com>
45535
45536 * nss/makedb.c: Rewritten to not use database library.
45537 * nss/Makefile: Update to build new makedb program.
45538
c71ca1f8
AJ
455392011-06-14 Andreas Jaeger <aj@suse.de>
45540
45541 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45542 memset declaration.
45543
3154bfb8
UD
455442011-06-10 Andreas Schwab <schwab@redhat.com>
45545
45546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45547 tmpbuf.
45548
b350afab
RM
455492011-06-10 Roland McGrath <roland@hack.frob.com>
45550
decd4e50
RM
45551 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45552 * elf/Makefile ($(objpfx)ld.so): Likewise.
45553
5615eaf2
RM
45554 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45555 Don't list ld.so twice in dependencies.
45556
45557 * posix/bug-regex31.c: Include <stdlib.h>.
45558
45559 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45560
45561 * nis/nss_compat/compat-spwd.c
45562 (getspent_next_nss_netgr): Remove unused variable.
45563 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45564
45565 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45566 nonmembers" output to use the right array.
45567
45568 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45569
45570 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45571
45572 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45573 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45574 * catgets/gencat.c (read_input_file): Likewise.
45575 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45576
45577 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45578 variable definition inside #if's controlling its use.
45579
45580 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45581
45582 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45583
45584 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45585
45586 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45587 unreachable code.
45588
45589 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45590
b68e08db
RM
45591 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45592 * configure: Regenerated.
45593
b350afab
RM
45594 * Makerules: Revert last change.
45595 * elf/Makefile: Likewise.
45596
28368601
RM
455972011-06-09 Roland McGrath <roland@hack.frob.com>
45598
45599 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45600 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45601 (reloc-link): Likewise.
45602
11988f8f
UD
456032011-06-09 Ulrich Drepper <drepper@gmail.com>
45604
45605 * elf/Makefile: Add rules to build pldd.
45606 * elf/pldd.c: New file.
45607 * elf/pldd-xx.c: New file.
45608
e80fab37
UD
456092011-06-07 Ulrich Drepper <drepper@gmail.com>
45610
45611 * version.h: Update for 2.15 development version.
45612
9b849836
DM
456132011-06-07 David S. Miller <davem@davemloft.net>
45614
45615 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45616 ifuncs.
45617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45618 elf_machine_lazy_rel): Likewise.
45619 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45621 elf_machine_lazy_rel): Likewise.
45622 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45623 dl_hwcap via passed in argument.
45624 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45625 Likewise.
45626
5a31b283
AK
456272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45628
45629 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45630
069e52f8
RM
456312011-06-06 Roland McGrath <roland@hack.frob.com>
45632
45633 [BZ #12849]
45634 * manual/fdl-1.1.texi: New file, verbatim from:
45635 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45636 * manual/lgpl-2.1.texi: New file, verbatim from:
45637 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45638 * manual/Makefile (licenses): New variable, list those new file names.
45639 (texis): Use it.
45640 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45641
45642 * manual/fdl.texi: File removed.
45643 * manual/lesser.texi: File removed.
45644 * manual/libc.texinfo (Copying, Documentation License):
45645 Use new @include file names, put @appendix directive before @include.
45646
f16846a5
JJ
456472011-06-04 Jakub Jelinek <jakub@redhat.com>
45648
45649 [BZ #12841]
45650 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45651 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45652 (mq_open): Add __NTH.
45653
3d29045b
L
456542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45655
45656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45657 Assume Intel Core i3/i5/i7 processor if AVX is available.
45658
8c297311
UD
456592011-05-31 Ulrich Drepper <drepper@gmail.com>
45660
45661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45662 typo.
45663
c8fc0c91
UD
456642011-05-31 Andreas Schwab <schwab@redhat.com>
45665
45666 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45667 memory. Use alloca_account. Fix memory leak when retrying.
45668
5b27a807
UD
456692011-05-31 Ulrich Drepper <drepper@gmail.com>
45670
356f8bc6
UD
45671 * version.h (RELEASE): Bump for 2.14 release.
45672 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45673
5b27a807
UD
45674 * config.make.in (RANLIB): Remove entry.
45675
01f16ab0
UD
456762011-05-30 Ulrich Drepper <drepper@gmail.com>
45677
41fce8bd
UD
45678 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45679 (libc.pot): Work around missing support for .ksh extension in xgettext.
45680
4769ae77
UD
45681 [BZ #12684]
45682 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45683 if both request failed.
45684 (send_dg): In case of server errors clear resplen or *resplen2.
45685
6b1e7d19
UD
45686 [BZ #12454]
45687 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45688 when there are multiple maps.
45689 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45690 (_dl_fini): Remove test here.
45691
01f16ab0
UD
45692 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45693
b1ebd700
UD
456942011-05-29 Ulrich Drepper <drepper@gmail.com>
45695
7ae22829
UD
45696 [BZ #12350]
45697 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45698 bit from old_res_options.
45699 (gaih_inet): Likewise.
45700
553149f6 45701 [BZ #11099]
18a84741 45702 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45703 as signed.
45704
652ffab1
UD
45705 * resolv/res_init.c (res_setoptions): Make the code more compact.
45706
16985fd0
UD
45707 [BZ #11558]
45708 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45709 set RES_USEVC.
45710
0464f746
UD
45711 [BZ #11634]
45712 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45713
7d17596c
UD
45714 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45715
cf6bbbd7
UD
45716 [BZ #11781]
45717 * malloc/malloc.h: Declare malloc hook variables as volatile.
45718
13f1ab36
UD
45719 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45720 in last patch.
45721
b1ebd700
UD
45722 [BZ #11799]
45723 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45724 raise in the comment.
80e2212d
UD
45725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45727 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45728
ce67228d
UD
457292011-05-28 Ulrich Drepper <drepper@gmail.com>
45730
8887a920
UD
45731 [BZ #12811]
45732 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45733 grow the buffers more if it already has to be sufficient.
45734 (build_wcs_upper_buffer): Likewise.
45735 * posix/regexec.c (check_matching): Likewise.
45736 (clean_state_log_if_needed): Likewise.
45737 (extend_buffers): Don't enlarge buffers beyond size of the input
45738 buffer.
45739 Patches mostly by Emil Wojak <emil@wojak.eu>.
45740 * posix/bug-regex32.c: New file.
45741 * posix/Makefile (tests): Add bug-regex32.
45742
4f031072
UD
45743 * locale/findlocale.c (_nl_find_locale): Return right away if
45744 _nl_explode_name failed.
45745 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45746
d0478f0c
UD
45747 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45748
de81b246
UD
45749 * debug/xtrace.sh: Unify messages.
45750 * malloc/memusage.sh: Likewise.
45751
c738465a
UD
45752 [BZ #12813]
45753 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45754 time symbol from vDSO. Substitute with vsyscall if not available.
45755 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45756 __vdso_time.
45757
f1f929d7
UD
45758 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45759 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45761 Add sendmmsg and internal_sendmmsg.
45762 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45763 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45765
ce67228d
UD
45766 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45767 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45768 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45769
e57420c6
UD
457702011-05-27 Ulrich Drepper <drepper@gmail.com>
45771
a8509ca5
UD
45772 [BZ #12813]
45773 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45774 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45775 available.
45776 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45777 __vdso_getcpu.
45778
e57420c6
UD
45779 [BZ #12814]
45780 * iconvdata/Makefile (tests): Add bug-iconv9.
45781 * iconvdata/bug-iconv9.c: New file.
45782
4d07db15
AS
457832011-05-27 Andreas Schwab <schwab@redhat.com>
45784
45785 [BZ #12814]
45786 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45787
ea486f69
JJ
457882011-05-25 Jakub Jelinek <jakub@redhat.com>
45789
45790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45791 (struct user_regs_struct): Change intcs field back to cs.
45792
6f038433
UD
457932011-05-25 Ulrich Drepper <drepper@gmail.com>
45794
45795 * po/ja.po: Update from translation team.
45796
67f86a25
UD
457972011-05-23 Ulrich Drepper <drepper@gmail.com>
45798
45799 [BZ #12795]
45800 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45801 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45802
def7fbd6
AS
458032011-05-20 Andreas Schwab <schwab@redhat.com>
45804
45805 * stdlib/longlong.h: Update from GCC.
45806
f50ef8f1
AS
458072011-05-23 Andreas Schwab <schwab@redhat.com>
45808
45809 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45810 parameter name.
45811 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45812 Add parameter name.
45813 (__sysconf): Pass it down.
45814
de7ce8f1
UD
458152011-05-22 Ulrich Drepper <drepper@gmail.com>
45816
f2962a71
UD
45817 [BZ #12671]
45818 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45819 some situations.
45820 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45821 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45822 add in in __libc_use_alloca calls. Adjust callers.
45823 (glob): Use malloc in some situations.
45824
de7ce8f1
UD
45825 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45826 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45827 pltexit.
45828
aec84f53
UD
458292011-05-21 Ulrich Drepper <drepper@gmail.com>
45830
05bb4a68
UD
45831 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45832 and CLOCK_BOOTTIME_ALARM.
45833
7ea72f99
UD
45834 [BZ #12782]
45835 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45836 is returned.
45837
7e4afad5
UD
45838 * string/_strerror.c (__strerror_r): Print negative errors as signed
45839 numbers.
45840
8e211fec
UD
45841 [BZ #12777]
45842 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45843 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45844 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45845
f7d82dc9
UD
45846 * configure.in: Fix typo in redirection and correct removal of test
45847 files in two cases.
45848
cc9e536d
UD
45849 [BZ #12788]
45850 * locale/setlocale.c (new_composite_name): Fix test to check for
45851 identical name of all categories.
45852
aec84f53
UD
45853 [BZ #12792]
45854 * libio/filedoalloc.c (local_isatty): New function.
45855 (_IO_file_doallocate): Use local_isatty.
45856 * stdio-common/perror.c (perror): In case a new stream is used
45857 forward the stream error.
45858 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45859 error flag.
45860
78e64fdc
RT
458612011-05-20 Ulrich Drepper <drepper@gmail.com>
45862
34a9094f
UD
45863 [BZ #11869]
45864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45865 alloca.
45866 * include/alloca.h (extend_alloca_account): Define.
45867
78e64fdc
RT
45868 [BZ #11857]
45869 * posix/regex.h: Fix comments with documentation of user-accessible
45870 fields after compilation and describe correct free'ing of pattern
45871 after re_compile_pattern.
45872 Patch by Reuben Thomas <rrt@sc3d.org>.
45873
457bddfc
RA
458742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45875
45876 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45877 and -mno-altivec to prevent the compiler from using Altivec and/or
45878 VSX instructions when the corresponding registers are not available.
45879
a4527b51
AS
458802011-05-19 Andreas Schwab <schwab@redhat.com>
45881
45882 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45883
ed690b2f
UD
458842011-05-19 Ulrich Drepper <drepper@gmail.com>
45885
45886 * libio/freopen.c (freopen): Use __dup2, not dup2.
45887 * libio/freopen64.c (freopen64): Likewise.
45888
8db73634
L
458892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45890
45891 [BZ #12775]
45892 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45893 * math/Makefile (tests): Add test-powl.
45894 (CFLAGS-test-powl.c): Define.
45895 * math/test-powl.c: New file.
45896
0a197a9d
L
458972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45898
45899 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45900
ee30c380
UD
459012011-05-17 Ulrich Drepper <drepper@gmail.com>
45902
45903 [BZ #11837]
45904 * iconvdata/gb18030.c: Update to GB18020-2005.
45905
6ce75379
UD
459062011-05-16 Ulrich Drepper <drepper@gmail.com>
45907
a4b89fd8
AR
45908 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45909 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45910 Patch by Aharon Robbins <arnold@skeeve.com>.
45911
ea389b12
UD
45912 [BZ #11892]
45913 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45914 on the stack.
45915
68a3f91f
UD
45916 [BZ #11895]
45917 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45918 through underflows.
45919
15cc7dd1
UD
45920 [BZ #12766]
45921 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45922 point to strings before performing equality test for error_one_per_line
45923 mode.
45924
f3799213
UD
45925 [BZ #11697]
45926 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45927
d79a9c94
UD
45928 [BZ #11820]
45929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45930 (struct user_fpregs_struct): Avoid __uint*_t types.
45931
56e5eb46
UD
45932 [BZ #6420]
45933 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45934 symbol info. Use it instead of calling _dl_addr locally.
45935 (lock_and_info): New function.
45936 (tr_freehook): Call lock_and_info and pass symbol info as additional
45937 parameter to tr_where.
45938 (tr_mallochook): Likewise.
45939 (tr_reallochook): Likewise.
45940 (tr_memalignhook): Likewise.
45941
6ce75379
UD
45942 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45943 used and couldn't be at all thread-safe.
45944
f8a3b5bf
UD
459452011-05-15 Ulrich Drepper <drepper@gmail.com>
45946
94b7cc37
UD
45947 * libio/freopen.c (freopen): Don't close old file descriptor
45948 before the new one is opened. Instead dup the new file descriptor
45949 to the old one after the new stream is created.
45950 * libio/freopen64.c (freopen64): Likewise.
45951 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45952 * libio/fileops.c (_IO_new_file_close_it): Handle new
45953 _IO_FLAGS2_NOCLOSE flag.
45954 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45955 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45956 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45957 _IO_FLAGS2_NOCLOSE flag.
45958 * include/unistd.h: Add hidden_proto for dup3.
45959 Define __have_dup3.
45960 * io/dup3.c: Define hidden symbol.
45961 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45962
bd25564e
UD
45963 [BZ #7101]
45964 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45965 when an incomplete long option is used.
45966 * posix/tst-getopt_long1.c: New file.
45967 * posix/Makefile (tests): Add tst-getopt_long1.
45968
c84cfef4
UD
45969 [BZ #10138]
45970 * scripts/config.guess: Update from autoconf-2.68.
45971 * scripts/config.sub: Likewise.
45972
3b85df27
UD
45973 [BZ #10157]
45974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45975 tests into ...
45976 (has_cpuclock): ...this. New function.
45977 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45978 macro here based on has_cpuclock code.
45979
15a856b1
UD
45980 [BZ #10149]
45981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45982 First byte (not low byte) is now always NUL.
45983 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45984
05f399e6
UD
45985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45986 Use non-cancelable interfaces.
45987
10a52685 45988 [BZ #9809]
94ecc67d
UD
45989 * locale/iso-639.def: Add entry for Sorani.
45990
f8a3b5bf
UD
45991 [BZ #11901]
45992 * include/stdlib.h: Move include protection to the right place.
45993 Define abort_msg_s. Declare __abort_msg with it.
45994 * stdlib/abort.c (__abort_msg): Adjust type.
45995 * assert/assert.c (__assert_fail_base): New function. Majority
45996 of code from __assert_fail. Allocate memory for __abort_msg with
45997 mmap.
45998 (__assert_fail): Now call __assert_fail_base.
45999 * assert/assert-perr.c: Remove bulk of implementation. Use
46000 __assert_fail_base.
46001 * include/assert.hL Declare __assert_fail_base.
46002 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46003 mmap.
46004 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46005
1af4e298
UD
460062011-05-14 Ulrich Drepper <drepper@gmail.com>
46007
f8a3b5bf 46008 [BZ #11952]
d26dfc60
MG
46009 [BZ #12453]
46010 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46011 until all modules are registered in the DTV.
46012 * elf/Makefile: Add rules to build and run tst-tls19.
46013 * elf/tst-tls19.c: New file.
46014 * elf/tst-tls19mod1.c: New file.
46015 * elf/tst-tls19mod2.c: New file.
46016 * elf/tst-tls19mod3.c: New file.
46017 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46018
2fc54d6f
UD
46019 [BZ #12083]
46020 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46021 correctly.
46022
98d76b46
UD
46023 [BZ #12601]
46024 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46025 two-byte sequence errors.
46026 * iconvdata/Makefile (tests): Add bug-iconv8.
46027 * iconvdata/bug-iconv8.c: New file.
46028
da3c19ef
UD
46029 [BZ #12626]
46030 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46031 buf2 definition.
46032
ca408c15
UD
46033 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46034
d6f67f7d
UD
46035 [BZ #12432]
46036 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46037 (dummy_getcfa): New function.
46038 (init): Get _Unwind_GetCFA address, use dummy if not found.
46039 (backtrace_helper): In recursion check, also check whether CFA changes.
46040 (__backtrace): Completely initialize arg.
46041
1af4e298 46042 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46043 storing incomplete byte sequence in state object. Avoid testing for
46044 guaranteed too small input if we know there is enough data available.
1af4e298 46045
da62f81b
AS
460462011-05-11 Andreas Schwab <schwab@redhat.com>
46047
46048 * Makeconfig (+link-pie): Indent.
46049 * Rules (binaries-pie): Define if $(have-fpie) and
46050 $(build-shared).
46051 (binaries-shared): Also filter out $(binaries-pie).
46052 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46053 * nscd/Makefile (others-pie): Add nscd.
46054 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46055 ($(objpfx)nscd): Remove command override.
46056 * login/Makefile (others-pie): Add pt_chown.
46057 ($(objpfx)pt_chown): Remove command override.
46058 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46059 remove command overrides.
46060
fcabc0f8
UD
460612011-05-13 Ulrich Drepper <drepper@gmail.com>
46062
20030ae6
UD
46063 * libio/tst_putwc.c: Fix error messages.
46064
fcabc0f8
UD
46065 [BZ #12724]
46066 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46067 currently writing and seek to current position when not.
46068 * libio/Makefile (tests): Add bug-fclose1.
46069 * libio/bug-fclose1.c: New file.
46070
320a5dc0
PB
460712011-05-12 Ulrich Drepper <drepper@gmail.com>
46072
46073 [BZ #12511]
46074 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46075 don't set DF_1_NODELETE here.
46076 (do_lookup_x): When entering new entry test for copy relocation
46077 and if necessary set DF_1_NODELETE flag.
46078 * elf/tst-unique4.cc: New file.
46079 * elf/tst-unique4.h: New file.
46080 * elf/tst-unique4lib.cc: New file.
46081 * elf/Makefile: Add rules to build and run tst-unique4.
46082 Patch by Piotr Bury <pbury@goahead.com>.
46083
22836f52
UD
460842011-05-11 Ulrich Drepper <drepper@gmail.com>
46085
f574184a
UD
46086 [BZ #12052]
46087 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46088
e1fb097f
UD
46089 [BZ #12625]
46090 * misc/mntent_r.c (addmntent): Flush the stream after the output
46091
22836f52
UD
46092 [BZ #12393]
46093 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46094 (is_trusted_path_normalize): Skip initial colon. Append slash
46095 to empty buffer. Duplicate is_trusted_path code but allow
46096 constructed patch to be prefix.
46097 (is_dst): Allow $ORIGIN followed by /.
46098 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46099 Correct testing of result of is_trusted_path_normalize
46100 (decompose_rpath): Fix warning.
46101
7b3b0b2a
UD
461022011-05-10 Ulrich Drepper <drepper@gmail.com>
46103
46104 [BZ #11257]
46105 * grp/initgroups.c (internal_getgrouplist): When we found the service
46106 list through the initgroups entry in nsswitch.conf do not always
46107 continue on a successful lookup. Don't always use the
eac80ce2 46108 __nss_group_database value if it is set.
7b3b0b2a
UD
46109 * nss/nsswitch.conf (initgroups): Change action for successful db
46110 lookup to continue for compatibility.
46111
2a81eaa5
UD
461122011-05-09 Ulrich Drepper <drepper@gmail.com>
46113
be97a69e
UD
46114 [BZ #11532]
46115 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46116 and CP774 modules.
46117 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46118 and CP774 modules.
46119 * iconvdata/tst-tables.sh: Likewise.
46120 * iconvdata/cp770.c: New file.
46121 * iconvdata/cp771.c: New file.
46122 * iconvdata/cp772.c: New file.
46123 * iconvdata/cp773.c: New file.
46124 * iconvdata/cp774.c: New file.
46125 * iconvdata/testdata/CP770: New file.
46126 * iconvdata/testdata/CP770..UTF8: New file.
46127 * iconvdata/testdata/CP771: New file.
46128 * iconvdata/testdata/CP771..UTF8: New file.
46129 * iconvdata/testdata/CP772: New file.
46130 * iconvdata/testdata/CP772..UTF8: New file.
46131 * iconvdata/testdata/CP773: New file.
46132 * iconvdata/testdata/CP773..UTF8: New file.
46133 * iconvdata/testdata/CP774: New file.
46134 * iconvdata/testdata/CP774..UTF8: New file.
46135
46136 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46137 END CHARMAP line.
46138 * iconvdata/gen-8bit-gap.sh: Likewise.
46139 * iconvdata/gen-8bit.sh: Likewise.
46140
c1e9e399
UD
46141 * locale/iso-639.def: Add ary entry.
46142
24c55fb3 46143 [BZ #11258]
96b4b1b0
UD
46144 * locale/C-translit.h.in: Add U20A1 transliteration.
46145
bdc2f971
KB
46146 [BZ #12178]
46147 * locale/iso-639.def: Add wae entry.
46148 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46149
2952b117
UD
46150 [BZ #12545]
46151 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46152 for n.
46153
2a81eaa5
UD
46154 [BZ #12711]
46155 * locale/C-translit.h.in: Add entry for U20B9.
46156 Patch by pravin.d.s@gmail.com.
46157
28377d1b
UD
461582011-05-08 Ulrich Drepper <drepper@gmail.com>
46159
7fb90fb8
UD
46160 [BZ #12713]
46161 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46162 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46163 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46164 in rtld. Use *stat64.
7fb90fb8 46165 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46166 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46167 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46168 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46169 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46170 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46171 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46172 __fstatat64 macros.
7fb90fb8
UD
46173 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46174 * dirent/rewinddir.c: Add libc_hidden_def.
46175 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46176 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46177
28377d1b
UD
46178 * include/dirent.h (__alloc_dir): Add flags parameter.
46179 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46180 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46181 __alloc_dir.
46182 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46183 from fdopendir if O_CLOEXEC is already set.
46184
66bdbaa4
AM
461852011-03-15 Alan Modra <amodra@gmail.com>
46186
46187 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46188 l_tls_firstbyte_offset non-zero. Save padding offset in
46189 l_tls_firstbyte_offset for later use.
46190 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46191 freeing static tls block.
46192
95721191
JN
461932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46194
46195 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46196 where #ifdef was intended. The intent is to prevent ARG_MAX from
46197 being defined by the kernel headers.
46198
f87dfb1f
UD
461992011-05-07 Ulrich Drepper <drepper@gmail.com>
46200
46201 [BZ #12734]
46202 * resolv/resolv.h: Define RES_NOTLDQUERY.
46203 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46204 no-tld-query and set RES_NOTLDQUERY.
46205 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46206 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46207 modern BIND to search name as TLD unless forbidden.
46208
47c3cd7a
UD
462092011-05-07 Petr Baudis <pasky@suse.cz>
46210 Ulrich Drepper <drepper@gmail.com>
46211
46212 [BZ #12393]
46213 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46214 (is_trusted_path): ...to here.
c1e9ea35 46215 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46216 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46217 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46218
8a35c912
PP
462192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46220
46221 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46222 __BEGIN/__END_DECLS.
46223
acd41f47
UD
462242011-05-06 Ulrich Drepper <drepper@gmail.com>
46225
46226 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46227 NSS_STATUS_NOTFOUND if no record was found.
46228
597df647
AS
462292011-05-05 Andreas Schwab <schwab@redhat.com>
46230
46231 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46232 (headers-not-in-tirpc): Remove rpc/netdb.h
46233 * resolv/netdb.h: Revert last change.
46234
b9af1301
PP
462352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46236
46237 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46238 circular dependency between libgcc.a and libc.a.
46239
4e34d5f5
AS
462402011-05-05 Andreas Schwab <schwab@redhat.com>
46241
46242 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46243 * nis/Makefile: Don't install rpcsvc/*.
46244 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46245 instead of <rpc/types.h>.
46246 (MAXHOSTNAMELEN): Define.
46247
00ee369c
AS
462482011-05-03 Andreas Schwab <schwab@redhat.com>
46249
46250 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46251
0b592a30
MB
462522011-04-28 Maciej Babinski <mbabinski@google.com>
46253
46254 [BZ #12714]
46255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46256 gethostbyname4_r when IPv6 results are possible.
46257
6e04cbbe
UD
462582011-05-02 Ulrich Drepper <drepper@gmail.com>
46259
46260 [BZ #12723]
46261 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46262 _PC_PIPE_BUF handling.
46263
e4ecafe0
BH
462642011-04-30 Bruno Haible <bruno@clisp.org>
46265
46266 [BZ #12717]
46267 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46268 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46269 to 'int'.
46270 * inet/getnameinfo.c (getnameinfo): Likewise.
46271
125ee683
UD
462722011-04-29 Ulrich Drepper <drepper@gmail.com>
46273
46274 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46275 to groups setting in database lookup.
46276 * nss/nsswitch.conf: Add initgroups entry.
46277
b722481a
EB
462782011-04-22 Ulrich Drepper <drepper@gmail.com>
46279
46280 [BZ #12685]
46281 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46282 mode string.
46283 Patch by Eric Blake <eblake@redhat.com>.
46284
4df46dbd
L
462852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46286
46287 * sunrpc/Makefile (need-export-routines): Add svc_run.
46288 (routines): Remove svc_run.
46289 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46290 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46291 * sunrpc/svc_run.c (svc_run): Likewise.
46292 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46293
e84142d2
UD
462942011-04-21 Ulrich Drepper <drepper@gmail.com>
46295
46296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46297 problem in reallocation in last patch.
46298
877175d8
UD
462992011-04-20 Ulrich Drepper <drepper@gmail.com>
46300
46301 * sunrpc/Makefile: Move inclusion of Rules.
46302
ab8eed78
UD
463032011-04-19 Ulrich Drepper <drepper@gmail.com>
46304
46305 * nss/nss_files/files-initgroups.c: New file.
46306 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46307 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46308 _nss_files_initgroups_dyn.
46309
e3d8f584
RS
463102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46311
46312 * elf/elf.h (R_ARM_IRELATIVE): Define.
46313
af190f45
UD
463142011-04-19 Ulrich Drepper <drepper@gmail.com>
46315
46316 * po/ru.po: Update from translation team.
46317
53cf59ef
UD
463182011-04-17 Ulrich Drepper <drepper@gmail.com>
46319
46320 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46321 dependencies.
46322
4c559bcd
MF
463232011-02-06 Mike Frysinger <vapier@gentoo.org>
46324
46325 [BZ #12653]
46326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46327 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46331
4420675c
AS
463322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46333
46334 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46335 differing bytes.
46336 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46339
75ea32ab
UD
463402011-04-17 Ulrich Drepper <drepper@gmail.com>
46341
46342 [BZ #12420]
46343 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46344 storing it.
46345 * stdlib/bug-getcontext.c: New file.
46346 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46347
27390476
AK
463482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46349
46350 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46351 instructions into .machine "z9-109".
46352 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46353 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46354
10442705
AK
463552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46356
46357 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46358 between environment variables and auxiliary vector.
46359
7b57bfe5
UD
463602011-04-16 Ulrich Drepper <drepper@gmail.com>
46361
46362 * Makefile: Add rules to build linkobj/libc.so.
46363 * include/libc-symbols.h: Define libc_hidden_nolink.
46364 * include/rpc/auth.h: Mark functions which are to be hidden.
46365 * include/rpc/auth_des.h: Likewise.
46366 * include/rpc/auth_unix.h: Likewise.
46367 * include/rpc/clnt.h: Likewise.
46368 * include/rpc/des_crypt.h: Likewise.
46369 * include/rpc/key_prot.h: Likewise.
46370 * include/rpc/pmap_clnt.h: Likewise.
46371 * include/rpc/pmap_prot.h: Likewise.
46372 * include/rpc/pmap_rmt.h: Likewise.
46373 * include/rpc/rpc_msg.h: Likewise.
46374 * include/rpc/svc.h: Likewise.
46375 * include/rpc/svc_auth.h: Likewise.
46376 * include/rpc/xdr.h: Likewise.
46377 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46378 * nss/Makefile: Likewise.
46379 * sunrpc/Makefile: Don't install headers. Build library with normal
46380 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46381 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46382 for the compat linking library. Remove use of INTDEF/INTUSE.
46383 * sunrpc/auth_none.c: Likewise.
46384 * sunrpc/auth_unix.c: Likewise.
46385 * sunrpc/authdes_prot.c: Likewise.
46386 * sunrpc/authuxprot.c: Likewise.
46387 * sunrpc/clnt_gen.c: Likewise.
46388 * sunrpc/clnt_perr.c: Likewise.
46389 * sunrpc/clnt_raw.c: Likewise.
46390 * sunrpc/clnt_simp.c: Likewise.
46391 * sunrpc/clnt_tcp.c: Likewise.
46392 * sunrpc/clnt_udp.c: Likewise.
46393 * sunrpc/clnt_unix.c: Likewise.
46394 * sunrpc/des_crypt.c: Likewise.
46395 * sunrpc/des_soft.c: Likewise.
46396 * sunrpc/get_myaddr.c: Likewise.
46397 * sunrpc/key_call.c: Likewise.
46398 * sunrpc/key_prot.c: Likewise.
46399 * sunrpc/netname.c: Likewise.
46400 * sunrpc/pm_getmaps.c: Likewise.
46401 * sunrpc/pm_getport.c: Likewise.
46402 * sunrpc/pmap_clnt.c: Likewise.
46403 * sunrpc/pmap_prot.c: Likewise.
46404 * sunrpc/pmap_prot2.c: Likewise.
46405 * sunrpc/pmap_rmt.c: Likewise.
46406 * sunrpc/publickey.c: Likewise.
46407 * sunrpc/rpc_cmsg.c: Likewise.
46408 * sunrpc/rpc_common.c: Likewise.
46409 * sunrpc/rpc_dtable.c: Likewise.
46410 * sunrpc/rpc_prot.c: Likewise.
46411 * sunrpc/rpc_thread.c: Likewise.
46412 * sunrpc/rtime.c: Likewise.
46413 * sunrpc/svc.c: Likewise.
46414 * sunrpc/svc_auth.c: Likewise.
46415 * sunrpc/svc_authux.c: Likewise.
46416 * sunrpc/svc_raw.c: Likewise.
46417 * sunrpc/svc_run.c: Likewise.
46418 * sunrpc/svc_simple.c: Likewise.
46419 * sunrpc/svc_tcp.c: Likewise.
46420 * sunrpc/svc_udp.c: Likewise.
46421 * sunrpc/svc_unix.c: Likewise.
46422 * sunrpc/svcauth_des.c: Likewise.
46423 * sunrpc/xcrypt.c: Likewise.
46424 * sunrpc/xdr.c: Likewise.
46425 * sunrpc/xdr_array.c: Likewise.
46426 * sunrpc/xdr_float.c: Likewise.
46427 * sunrpc/xdr_intXX_t.c: Likewise.
46428 * sunrpc/xdr_mem.c: Likewise.
46429 * sunrpc/xdr_rec.c: Likewise.
46430 * sunrpc/xdr_ref.c: Likewise.
46431 * sunrpc/xdr_sizeof.c: Likewise.
46432 * sunrpc/xdr_stdio.c: Likewise.
46433
e6c61494
UD
464342011-04-10 Ulrich Drepper <drepper@gmail.com>
46435
46436 [BZ #12650]
46437 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46438 * sysdeps/ia64/dl-tls.h: Likewise.
46439 * sysdeps/powerpc/dl-tls.h: Likewise.
46440 * sysdeps/s390/dl-tls.h: Likewise.
46441 * sysdeps/sh/dl-tls.h: Likewise.
46442 * sysdeps/sparc/dl-tls.h: Likewise.
46443 * sysdeps/x86_64/dl-tls.h: Likewise.
46444 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46445
34fe483e
AS
464462011-03-14 Andreas Schwab <schwab@redhat.com>
46447
46448 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46449 rpath element also skip the following colon.
46450 (expand_dynamic_string_token): Add is_path parameter and pass
46451 down to DL_DST_REQUIRED and _dl_dst_substitute.
46452 (decompose_rpath): Call expand_dynamic_string_token with
46453 non-zero is_path. Ignore empty rpaths.
46454 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46455 with zero is_path.
46456
f12a32e6
AS
464572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46458
46459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46460 Make cancelable.
46461
38a7d692
UD
464622011-04-09 Ulrich Drepper <drepper@gmail.com>
46463
46464 [BZ #12655]
46465 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46466 Patch by Filipe David Manana <fdmanana@apache.org>.
46467
e451d22b
AS
464682011-04-07 Andreas Schwab <schwab@redhat.com>
46469
46470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46471 Maintain aligned stack.
46472 (CHECK_RSP): Remove unused macro.
46473
dedc7c7b
UD
464742011-04-03 Ulrich Drepper <drepper@gmail.com>
46475
46476 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46477 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46478
94521213
UD
464792011-04-02 Ulrich Drepper <drepper@gmail.com>
46480
46481 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46482
8cb700c0 46483 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46484
0354e355
L
464852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46486
46487 [BZ #12518]
46488 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46489 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46490 * sysdeps/x86_64/memmove.c: New file.
46491 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46492 (memcpy): Renamed to ...
46493 (__new_memcpy): This.
46494 (memcpy): Provide GLIBC_2_14 memcpy.
46495 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46496 (memcpy): Provide GLIBC_2_2_5 memcpy.
46497
8593482f
UD
464982011-04-01 Ulrich Drepper <drepper@gmail.com>
46499
46500 [BZ #12631]
46501 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46502
81a5726b
AS
465032011-03-30 Andreas Schwab <schwab@redhat.com>
46504
46505 * misc/syncfs.c: New file.
46506 * misc/Makefile (routines): Add syncfs.
46507 * posix/unistd.h: Declare syncfs.
46508 * sysdeps/unix/syscalls.list: Add syncfs.
46509
00e5419f
AS
465102011-04-01 Andreas Schwab <schwab@redhat.com>
46511
46512 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46513 open_by_handle_at.
46514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46519 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46521
748876bf
UD
465222011-04-01 Ulrich Drepper <drepper@gmail.com>
46523
658e451d
UD
46524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46531
748876bf
UD
46532 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46533 sync_file_range.c with -fexceptions.
46534 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46535 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46536 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46537 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46538 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46539 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46540 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46541 sync_file_range as cancellation point
46542 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46543 now a wrapper around __call_sync_file_range with cancellation handling.
46544 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46545 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46546 function name to __call_sync_file_range.
46547 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46548 Add call_sync_file_range.
748876bf 46549
6e63d5e1
AS
465502011-04-01 Andreas Schwab <schwab@redhat.com>
46551
46552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46553 bits/timex.h.
6e63d5e1 46554
46998f74
UD
465552011-04-01 Ulrich Drepper <drepper@gmail.com>
46556
4c1423ed
UD
46557 * iconv/iconv.h: Fix typo in comment.
46558 * io/fcntl.h: Likewise.
46559 * libio/stdio.h: Likewise.
46560 * posix/spawn.h: Likewise.
46561 * posix/unistd.h: Likewise.
46562 * stdlib/stdlib.h: Likewise.
46563 * time/time.h: Likewise.
46564 * wcsmbs/wchar.h: Likewise.
46565
158648c0
UD
46566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46567 open_by_handle): Add.
46568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46569 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46570 Augment a few comments.
46571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46576 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46577 open_by_handle.
46578
46998f74
UD
46579 * io/fcntl.h (AT_EMPTY_PATH): Define.
46580
83fe108b
UD
465812011-03-30 Ulrich Drepper <drepper@gmail.com>
46582
46583 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46584 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46585 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46586 to...
46587 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46588 * Versions.def: Add GLIBC_2.14.
46589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46590 Export.
83fe108b 46591
bb242059
UD
465922011-03-22 Ulrich Drepper <drepper@gmail.com>
46593
46594 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46595 round counter.
46596 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46597
c97a1282
L
465982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46599
46600 [BZ #12597]
46601 * string/test-strncmp.c (do_page_test): New function.
46602 (check2): Likewise.
46603 (test_main): Call check2.
46604 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46605
2a115601
UD
466062011-03-20 Ulrich Drepper <drepper@gmail.com>
46607
46608 [BZ #12587]
46609 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46610 Handle cache information in CPU leaf 4.
46611 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46612
8126d904
UD
466132011-03-18 Ulrich Drepper <drepper@gmail.com>
46614
042c49c6 46615 [BZ #12583]
8126d904
UD
46616 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46617 character representation.
46618 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46619
ccfe366e
RA
466202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46621
46622 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46623 END(__isnan) to END(__isnanf) to match function entry point/label
46624 EALIGN(__isnanf,...).
46625
c6e13027
JJ
466262011-03-10 Jakub Jelinek <jakub@redhat.com>
46627
46628 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46629
33f85a3f
UD
466302011-03-10 Ulrich Drepper <drepper@gmail.com>
46631
028478fa
UD
46632 [BZ #12510]
46633 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46634 copy from the symbol referenced in the relocation to initialize the
46635 used variable.
46636 Patch by Piotr Bury <pbury@goahead.com>.
46637 * elf/Makefile: Add rules to build and tst-unique3.
46638 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46639 * elf/tst-unique3.cc: New file.
46640 * elf/tst-unique3.h: New file.
46641 * elf/tst-unique3lib.cc: New file.
46642 * elf/tst-unique3lib2.cc: New file.
46643
33f85a3f
UD
46644 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46645
03592fc7
MF
466462011-03-10 Mike Frysinger <vapier@gentoo.org>
46647
46648 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46649 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46650 to _start.
03592fc7 46651
6a5ee102
UD
466522011-03-06 Ulrich Drepper <drepper@gmail.com>
46653
46654 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46655 to-be-loaded object along a path to loader is ld.so.
46656
7e4ba49c
HJ
466572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46658 Ulrich Drepper <drepper@gmail.com>
46659
46660 * sysdeps/x86_64/memset.S: After aligning destination, code
46661 branches to different locations depending on the value of
46662 misalignment, when multiarch is enabled. Fix this.
46663
466642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46665
46666 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46667 Set _x86_64_preferred_memory_instruction for AMD processsors.
46668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46669 Set bit_Prefer_SSE_for_memop for AMD processors.
46670
13a804de
UD
466712011-03-04 Ulrich Drepper <drepper@gmail.com>
46672
46673 * libio/fmemopen.c (fmemopen): Optimize a bit.
46674
9d25c392
AS
466752011-03-03 Andreas Schwab <schwab@redhat.com>
46676
46677 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46678
a5543c6a
RM
466792011-03-03 Roland McGrath <roland@redhat.com>
46680
46681 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46682
012d35f7
DM
466832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46684
7e4ba49c 46685 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46686 __bzero_ultra1 instead of __memset_ultra1.
46687
4bff6e01
AS
466882011-02-23 Andreas Schwab <schwab@redhat.com>
46689 Ulrich Drepper <drepper@gmail.com>
46690
46691 [BZ #12509]
46692 * include/link.h (struct link_map): Add l_orig_initfini.
46693 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46694 returning unsuccessfully.
46695 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46696 close of a file loaded at startup, restore the original l_initfini
46697 list.
46698 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46699 list, store the pointer.
46700 * elf/Makefile ($(objpfx)noload-mem): New rule.
46701 (noload-ENV): Define.
46702 (tests): Add $(objpfx)noload-mem.
46703 * elf/noload.c: Include <memcheck.h>.
46704 (main): Call mtrace. Close all opened handles.
46705
f2092faf
AS
467062011-02-17 Andreas Schwab <schwab@redhat.com>
46707
46708 [BZ #12454]
46709 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46710 dependencies are missing.
46711
6c8a2e88
ST
467122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46713
f2092faf 46714 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46715 Hurd needs munmap.
46716 * sysdeps/mach/hurd/ifreq.h: New file.
46717
84a42118
PB
467182011-01-27 Petr Baudis <pasky@suse.cz>
46719 Ulrich Drepper <drepper@gmail.com>
46720
071f805e 46721 [BZ 12445]#
84a42118
PB
46722 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46723 to extend_alloca().
46724 * stdio-common/bug23.c: New file.
46725 * stdio-common/Makefile (tests): Add bug23.
46726
e23fe25b
AS
467272010-09-28 Andreas Schwab <schwab@redhat.com>
46728 Ulrich Drepper <drepper@gmail.com>
46729
46730 [BZ #12489]
46731 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46732 before performing relro protection. At old place add assertion
46733 to make sure nothing changed.
46734
d3f02e10
NS
467352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46736 Glauber de Oliveira Costa <glommer@gmail.com>
46737
46738 * elf/elf.h: Add new ARM TLS relocs.
46739
d55fd7a5
RA
467402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46741
46742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46743 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46744 cast from r3.
46745 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46746 'tests' variable.
46747 * sysdeps/wordsize-64/tst-writev.c: New file.
46748
2206397e
RA
467492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46750
46751 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46752 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46753 insns in _dl_start to prevent a TOC reference before relocs are
46754 resolved.
46755
e9433893
UD
467562011-02-15 Ulrich Drepper <drepper@gmail.com>
46757
46758 [BZ #12469]
46759 * Makeconfig: Remove RANLIB definition.
46760 * Makerules: Don't use RANLIB.
46761 * aclocal.m4: Remove ranlib test.
46762 * configure.in: No need to check for ranlib.
46763 * elf/rtld-Rules: Don't use RANLIB.
46764
f75286c6
ST
467652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46766
8e31c82d
ST
46767 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46768 protection macro.
46769 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46770 inclusion protection macro.
46771
f75286c6
ST
46772 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46773 SIGRTMIN and SIGRTMAX and print information in that case only when
46774 SIGRTMIN is defined.
46775
c1d0e639
JJ
467762011-02-11 Jakub Jelinek <jakub@redhat.com>
46777
46778 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46779 arginfo fn returning -1.
46780
46781 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46782 and thousands string is zero terminated.
46783
edf9294e
AS
467842011-02-03 Andreas Schwab <schwab@redhat.com>
46785
46786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46787 sysdeps/unix/sysv/linux/bits/socket.h.
46788
2b7e92df
ST
467892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46790
edf9294e
AS
46791 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46792 (__CPU_COUNT): Remove old macros.
46793 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46794 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46795 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46796 (__sched_cpualloc, __sched_cpufree): Add declarations.
46797
a4c7ea7b
UD
467982011-02-05 Ulrich Drepper <drepper@gmail.com>
46799
46800 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46801 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46802 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46803 (readdhstai): Return value of addhstaiX call.
46804 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46805 (addgrbyX): Return value returned by cache_addgr.
46806 (readdgrbyname): Return value returned by addgrbyX.
46807 (readdgrbygid): Likewise.
46808 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46809 (addpwbyX): Return value returned by cache_addpw.
46810 (readdpwbyname): Return value returned by addhstbyX.
46811 (readdpwbyuid): Likewise.
46812 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46813 (addservbyX): Return value returned by cache_addserv.
46814 (readdservbyname): Return value returned by addservbyX:
46815 (readdservbyport): Likewise.
46816 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46817 (addhstbyX): Return value returned by cache_addhst.
46818 (readdhstbyname): Return value returned by addhstbyX.
46819 (readdhstbyaddr): Likewise.
46820 (readdhstbynamev6): Likewise.
46821 (readdhstbyaddrv6): Likewise.
46822 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46823 (readdinitgroups): Return value returned by addinitgroupsX.
46824 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46825 (prune_cache): Keep track of timeout value of re-added entries.
46826 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46827 * nscd/nscd.h: Adjust prototypes of readd* functions.
46828
a0bf67cc
RM
468292011-02-04 Roland McGrath <roland@redhat.com>
46830
46831 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46832 (nis_stats): Likewise.
46833 * nis/nis_modify.c (nis_modify): Likewise.
46834 * nis/nis_remove.c (nis_remove): Likewise.
46835 * nis/nis_add.c (nis_add): Likewise.
46836
46837 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46838
46839 * posix/fnmatch_loop.c: Add some consts.
46840
46841 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46842
435b95eb
L
468432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46844
46845 [BZ #12460]
46846 * config.make.in (config-cflags-novzeroupper): Define.
46847 * configure.in: Substitute libc_cv_cc_novzeroupper.
46848 * elf/Makefile (AVX-CFLAGS): Define.
46849 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46850 (CFLAGS-tst-auditmod4a.c): Likewise.
46851 (CFLAGS-tst-auditmod4b.c): Likewise.
46852 (CFLAGS-tst-auditmod6b.c): Likewise.
46853 (CFLAGS-tst-auditmod6c.c): Likewise.
46854 (CFLAGS-tst-auditmod7b.c): Likewise.
46855 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46856
8517b15e
UD
468572011-02-02 Ulrich Drepper <drepper@gmail.com>
46858
46859 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46860 function to the callback.
46861 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46862
10a656fe
AS
468632011-02-02 Andreas Schwab <schwab@redhat.com>
46864
46865 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46866 of errno.
46867
968dad0a
UD
468682011-01-19 Ulrich Drepper <drepper@gmail.com>
46869
9f94d2ea 46870 [BZ #11724]
968dad0a
UD
46871 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46872 of constructors.
46873 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46874 of destructors.
46875 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46876
46877 [BZ #11724]
46878 * elf/Makefile: Add rules to build and run new test.
46879 * elf/tst-initorder.c: New file.
46880 * elf/tst-initorder.exp: New file.
46881 * elf/tst-initordera1.c: New file.
46882 * elf/tst-initordera2.c: New file.
46883 * elf/tst-initordera3.c: New file.
46884 * elf/tst-initordera4.c: New file.
46885 * elf/tst-initorderb1.c: New file.
46886 * elf/tst-initorderb2.c: New file.
46887 * elf/tst-order-a1.c: New file.
46888 * elf/tst-order-a2.c: New file.
46889 * elf/tst-order-a3.c: New file.
46890 * elf/tst-order-a4.c: New file.
46891 * elf/tst-order-b1.c: New file.
46892 * elf/tst-order-b2.c: New file.
46893 * elf/tst-order-main.c: New file.
46894 New test case by George Gensure <werkt0@gmail.com>.
46895
86e92359
UD
468962010-10-01 Andreas Schwab <schwab@redhat.com>
46897
46898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46899 decoding ACE if AI_CANONIDN.
46900
5d5732b0
UD
469012011-01-18 Ulrich Drepper <drepper@gmail.com>
46902
46903 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46904
a77e8cbc
UD
469052011-01-17 Ulrich Drepper <drepper@gmail.com>
46906
6392473f
UD
46907 * version.h (RELEASE): Bump for 2.13 release.
46908 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46909
620a0529
UD
46910 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46911
18ba70a5
UD
46912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46913 MADV_NOHUGEPAGE.
32465c3e
UD
46914 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46915 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46920
c0dafcf1
UD
46921 * posix/getconf.c: Update copyright year.
46922 * catgets/gencat.c: Likewise.
46923 * csu/version.c: Likewise.
46924 * debug/catchsegv.sh: Likewise.
46925 * debug/xtrace.sh: Likewise.
46926 * elf/ldconfig.c: Likewise.
46927 * elf/ldd.bash.in: Likewise.
46928 * elf/sprof.c (print_version): Likewise.
46929 * iconv/iconv_prog.c: Likewise.
46930 * iconv/iconvconfig.c: Likewise.
46931 * locale/programs/locale.c: Likewise.
46932 * locale/programs/localedef.c: Likewise.
46933 * malloc/memusage.sh: Likewise.
46934 * malloc/mtrace.pl: Likewise.
46935 * nscd/nscd.c (print_version): Likewise.
46936 * nss/getent.c: Likewise.
46937
a77e8cbc
UD
46938 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46939 PF_CAIF, and PF_ALG.
46940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46941
77e8bddf
AS
469422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46943
1f20b93a
AS
46944 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46945 (modules-names): Use them.
46946 (ifunc-test-modules, ifunc-pie-tests): Define.
46947 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46948 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46949 (test-extras): Likewise.
46950 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46951 $(compile-command.c).
46952 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46953 (all-built-dso): Define.
46954 (check-textrel.out, check-execstack.out): Depend on it.
46955
77e8bddf
AS
46956 * configure.in: Don't override --enable-multi-arch.
46957
bc425b33
UD
469582011-01-15 Ulrich Drepper <drepper@gmail.com>
46959
46960 [BZ #6812]
46961 * nscd/hstcache.c (tryagain): Define.
46962 (cache_addhst): Return tryagain not notfound for temporary errors.
46963 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46964 failed.
46965
794c3ad3
UD
469662011-01-14 Ulrich Drepper <drepper@gmail.com>
46967
70181fdd
UD
46968 [BZ #10563]
46969 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46970 to make the syscall.
46971 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46972
794c3ad3
UD
46973 [BZ #12378]
46974 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46975 and fall back to matching as normal character if the string ends before
46976 the matching ']' is found. This is what POSIX requires.
46977 * posix/testfnm.c: Adjust test result.
46978 * posix/globtest.sh: Adjust test result. Add new test.
46979 * posix/tst-fnmatch.input: Likewise.
46980 * posix/tst-fnmatch2.c: Add new test.
46981
68dc9497
AS
469822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46983
46984 * elf/Makefile (check-execstack): Revert last change. Depend on
46985 check-execstack.h.
46986 (check-execstack.h): New target.
46987 (generated): Add check-execstack.h.
46988 * elf/check-execstack.c: Include "check-execstack.h".
46989 (main): Revert last change.
46990 (handle_file): Return zero if GNU_STACK is absent and
46991 DEFAULT_STACK_PERMS doesn't include PF_X.
46992
451f001b
UD
469932011-01-13 Ulrich Drepper <drepper@gmail.com>
46994
cfa28e56
UD
46995 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46996 in child fails because the descriptor is already closed.
8cf8ce17
UD
46997 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46998 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46999 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47000
1086d70d
UD
47001 [BZ #12397]
47002 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47003 syscall.
47004
451f001b
UD
47005 [BZ #10484]
47006 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47007 temporary buffer used to handle multi lookups locally.
a85b5cb4 47008 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47009
08769175
UD
470102011-01-12 Ulrich Drepper <drepper@gmail.com>
47011
47012 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47013 loader is ld.so.
47014
5e49c52e
UD
470152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47016
47017 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47018 alignment for SSE2.
47019
60522a5f
UD
470202011-01-12 Ulrich Drepper <drepper@gmail.com>
47021
47022 [BZ #12394]
47023 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47024 characters. When rounding increased number of integer digits recompute
47025 number of groups.
47026 * stdio-common/tst-grouping.c: New file.
47027 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47028
f257bbd7
UD
470292011-01-09 Ulrich Drepper <drepper@gmail.com>
47030
47031 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47032 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47033
47034 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47035 void.
47036 * bits/select.h: Likewise.
47037
fa9c15cb
UD
470382011-01-08 Ulrich Drepper <drepper@gmail.com>
47039
47040 * po/ja.po: Update from translation team.
47041
16c2895f
DM
470422011-01-04 David S. Miller <davem@sunset.davemloft.net>
47043
47044 [BZ #11155]
47045 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47046 implementation just like for lxstat, fxstatat, et al.
47047
2543fef2
JM
470482010-12-27 Jim Meyering <meyering@redhat.com>
47049
47050 [BZ #12348]
47051 * posix/regexec.c (build_trtable): Return failure indication upon
47052 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47053
98727dbe
UD
470542010-12-25 Ulrich Drepper <drepper@gmail.com>
47055
5bd6dc5c
UD
47056 [BZ #12201]
47057 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47058 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47059 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47060 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47061
97983464
UD
47062 [BZ #12207]
47063 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47064
98727dbe
UD
47065 [BZ #12204]
47066 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47067 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47068
4a531bb0
L
470692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47070
47071 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47072 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47073 script has SORT_BY_INIT_PRIORITY.
47074 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47075 NO_CTORS_DTORS_SECTIONS is defined.
47076 * elf/soinit.c: Likewise.
47077 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47078 NO_CTORS_DTORS_SECTIONS is defined.
47079 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47080 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47081 * sysdeps/sh/init-first.c: Likewise.
47082 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47083
07eb4b71
UD
470842010-12-24 Ulrich Drepper <drepper@gmail.com>
47085
47086 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47087 always use the slow path.
47088
30950a5f
RA
470892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47090
47091 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47092 similar rule which adds the sysdep directories to the header search in
47093 order to pick up the correct platform stackinfo.h.
47094 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47095 perform test if it is, otherwise return successfully without testing.
47096 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47097 DEFAULT_STACK_PERMS define in stackinfo.h.
47098 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47099 defined in stackinfo.h.
47100 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47101 DEFAULT_STACK_PERMS defined in stackinfo.h.
47102 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47103 * sysdeps/ia64/stackinfo.h: Likewise.
47104 * sysdeps/s390/stackinfo.h: Likewise.
47105 * sysdeps/sh/stackinfo.h: Likewise.
47106 * sysdeps/sparc/stackinfo.h: Likewise.
47107 * sysdeps/x86_64/stackinfo.h: Likewise.
47108 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47109 PF_X for powerpc64. Retain PF_X for powerpc32.
47110
db753e2c
UD
471112010-12-19 Ulrich Drepper <drepper@gmail.com>
47112
14b697f7
UD
47113 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47114 accurately.
db753e2c
UD
47115 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47116 GETDENTS_64BIT_ALIGNED.
47117
28300719
UD
471182010-12-14 Ulrich Drepper <dreper@gmail.com>
47119
14b697f7 47120 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47121
4f197237
AS
471222010-12-10 Andreas Schwab <schwab@redhat.com>
47123
dbb0472f
AS
47124 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47125 _GNU_SOURCE.
47126
4f197237
AS
47127 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47128 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47129 Remove __restrict.
47130 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47131 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47132
fb88ac72
UD
471332010-12-09 Ulrich Drepper <drepper@gmail.com>
47134
47135 [BZ #11655]
47136 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47137 are initialized.
47138
42acbb92
JJ
471392010-12-09 Jakub Jelinek <jakub@redhat.com>
47140
47141 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47142
c038d98d
UD
471432010-12-03 Ulrich Drepper <drepper@gmail.com>
47144
47145 * po/it.po: Update from translation team.
47146
3a4a2499
L
471472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47148
47149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47150 unused codes.
47151
1e24cf6e
UD
471522010-11-30 Ulrich Drepper <drepper@gmail.com>
47153
47154 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47155
a7690819
AS
471562010-11-24 Andreas Schwab <schwab@redhat.com>
47157
47158 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47159 specially.
47160 (gaih_getanswer_slice): Likewise.
47161
3bf8d1b1
JJ
471622010-10-20 Jakub Jelinek <jakub@redhat.com>
47163
47164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47165
6db52fbb
PB
471662010-05-31 Petr Baudis <pasky@suse.cz>
47167
47168 [BZ #11149]
47169 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47170 silently even in the chroot mode.
47171
eaca7569
UD
471722010-11-22 Ulrich Drepper <drepper@gmail.com>
47173
47174 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47175 last patch a bit. Pretty printing
47176
3056dcdb
UD
471772010-05-31 Petr Baudis <pasky@suse.cz>
47178
47179 [BZ #10085]
47180 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47181 initialization of skip_initgroups_dyn.
47182
cf7c9078
UD
471832010-11-19 Ulrich Drepper <drepper@gmail.com>
47184
47185 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47186 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47187
a1fb5e3e
UD
471882010-11-16 Ulrich Drepper <drepper@gmail.com>
47189
47190 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47191
3540d66b
AS
471922010-11-11 Andreas Schwab <schwab@redhat.com>
47193
47194 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47195 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47196 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47197 ($(objpfx)tst-fnmatch-mem): New rule.
47198 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47199 * posix/tst-fnmatch.c (main): Call mtrace.
47200
13b69574
L
472012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47202
47203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47204 Support Intel processor model 6 and model 0x2c.
47205
da93d214
LM
472062010-11-10 Luis Machado <luisgpm@br.ibm.com>
47207
47208 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47209 signed comparison.
47210
8ca52c6e
L
472112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47212
47213 [BZ #12205]
47214 * string/test-strncasecmp.c (check_result): New function.
47215 (do_one_test): Use it.
47216 (check1): New function.
47217 (test_main): Use it.
47218 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47219 Support strcasecmp and strncasecmp.
47220
69da074d
UD
472212010-11-08 Ulrich Drepper <drepper@gmail.com>
47222
47223 [BZ #12194]
47224 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47226
ff02d528
L
472272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47228
47229 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47230 IFUNC support.
47231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47232 memset-x86-64.
47233 * sysdeps/x86_64/multiarch/bzero.S: New file.
47234 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47235 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47236 * sysdeps/x86_64/multiarch/memset.S: New file.
47237 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47239 Set bit_Prefer_SSE_for_memop for Intel processors.
47240 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47241 Define.
47242 (index_Prefer_SSE_for_memop): Define.
47243 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47244
344d0b54
LM
472452010-11-04 Luis Machado <luisgpm@br.ibm.com>
47246
47247 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47248 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47249
c0dde15b
UD
472502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47251
47252 [BZ #12191]
47253 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47254 (__x86_64_raw_data_cache_size_half): Likewise.
47255 (__x86_64_raw_shared_cache_size): Likewise.
47256 (__x86_64_raw_shared_cache_size_half): Likewise.
47257
47258 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47259 (__x86_64_raw_data_cache_size_half): Likewise.
47260 (__x86_64_raw_shared_cache_size): Likewise.
47261 (__x86_64_raw_shared_cache_size_half): Likewise.
47262 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47263 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47264 and __x86_64_raw_shared_cache_size_half. Round
47265 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47266 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47267 to multiple of 256 bytes.
47268
0e516e0e
MS
472692010-11-03 Ulrich Drepper <drepper@gmail.com>
47270
47271 [BZ #12167]
47272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47273 of inacessible symlinks. Verify result of symlink before returning it.
47274 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47275 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47276
0e012e87
ER
472772010-10-28 Erich Ritz <erichritz@gmail.com>
47278
47279 * math/math.h (isinf): Fix typo in comment.
47280
de0ff7bc
UD
472812010-11-01 Ulrich Drepper <drepper@gmail.com>
47282
47283 * po/da.po: Update from translation team.
47284
fa41c84d
UD
472852010-10-26 Ulrich Drepper <drepper@gmail.com>
47286
47287 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47288 is added to the list.
47289
f0967738
AK
472902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47291 Ulrich Drepper <drepper@gmail.com>
47292
47293 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47294 the global list here. Move code to...
47295 (_dl_add_to_namespace_list): ...here. New function.
47296 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47297 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47298 * elf/dl-load.c (lose): Don't remove the element from the list.
47299 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47300 (_dl_map_object): Likewise.
47301
473022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47303
47304 [BZ #12159]
47305 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47306 into all bytes of SSE register.
47307 Patch by Richard Li <richardpku@gmail.com>.
47308
f0967738 473092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47310
47311 [BZ #12140]
47312 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47313 perturbing.
47314
d0b9e94f
MB
473152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47316
47317 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47318 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47319 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47322 submachine.
47323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47324
8e9f92e9
AS
473252010-10-22 Andreas Schwab <schwab@redhat.com>
47326
47327 * include/dlfcn.h (__RTLD_SECURE): Define.
47328 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47329 mode & __RTLD_SECURE instead.
47330 (open_path): Rename preloaded parameter to secure.
47331 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47332 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47333 * elf/dl-deps.c (openaux): Likewise.
47334 * elf/rtld.c (struct map_args): Remove is_preloaded.
47335 (map_doit): Don't use it.
47336 (dl_main): Likewise.
47337 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47338 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47339
bc96fbda
AS
473402010-09-09 Andreas Schwab <schwab@redhat.com>
47341
47342 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47343 (sysd-rules-targets): Remove duplicates.
47344 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47345 rtld-%.$o dependency.
47346
22cd1c9b
AS
473472010-10-18 Andreas Schwab <schwab@redhat.com>
47348
47349 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47350 _dl_map_object do it.
47351
18edac48
UD
473522010-10-19 Ulrich Drepper <drepper@gmail.com>
47353
47354 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47355 fast fma builtins, define the macros in the C99 standard.
47356 (FP_FAST_FMAF): Likewise.
47357 (FP_FAST_FMAL): Likewise.
47358 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47359
47360 * bits/mathdef.h: Update copyright year.
47361 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47362
d2050124
MM
473632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47364
47365 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47366 builtins, define the macros in the C99 standard.
47367 (FP_FAST_FMAF): Likewise.
47368 (FP_FAST_FMAL): Likewise.
47369 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47370 multiply/add.
47371 (FP_FAST_FMAF): Likewise.
47372
475facd1
JJ
473732010-10-15 Jakub Jelinek <jakub@redhat.com>
47374
47375 [BZ #3268]
47376 * math/libm-test.inc (fma_test): Some new testcases.
47377 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47378 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47379 y and infinite z. Do multiplication by C already in long double.
47380 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47382 y and infinite z. Do bitwise or of inexact bit into u.d.
47383 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47384 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47385 * sysdeps/i386/fpu/s_fma.S: Removed.
47386 * sysdeps/i386/fpu/s_fmal.S: Removed.
47387
7c08a05c
JJ
473882010-10-16 Jakub Jelinek <jakub@redhat.com>
47389
47390 [BZ #3268]
47391 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47393 computation is not scheduled after fetestexcept. Fix value
47394 of minimum denormal long double.
47395
f3f7372d
JJ
473962010-10-14 Jakub Jelinek <jakub@redhat.com>
47397
47398 [BZ #3268]
47399 * math/libm-test.inc (fma_test): Add some more tests.
47400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47401 correctly.
47402
14d43591
AS
474032010-10-15 Andreas Schwab <schwab@redhat.com>
47404
47405 * scripts/data/localplt-s390-linux-gnu.data: New file.
47406 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47407
5e908464
JJ
474082010-10-13 Jakub Jelinek <jakub@redhat.com>
47409
47410 [BZ #3268]
47411 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47412 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47413 instead of dbl-64.
47414 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47415 inlines.
47416 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47418 if one of x and y is very large and the other is subnormal.
47419 * sysdeps/s390/fpu/s_fmaf.c: New file.
47420 * sysdeps/s390/fpu/s_fma.c: New file.
47421 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47422 * sysdeps/powerpc/fpu/s_fma.S: New file.
47423 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47424 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47425 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47426
474272010-10-12 Jakub Jelinek <jakub@redhat.com>
47428
47429 [BZ #3268]
47430 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47431 fma tests.
47432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47433 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47434 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47435 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47436 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47437 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47438 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47439
b833d51f
UD
474402010-10-12 Ulrich Drepper <drepper@redhat.com>
47441
47442 [BZ #12078]
47443 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47444 * posix/bug-regex31.input: Add test case.
47445
1751705d
UD
474462010-10-11 Ulrich Drepper <drepper@gmail.com>
47447
e9b9cbf5
UD
47448 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47449 * posix/bug-regex31.input: New file.
47450
47451 [BZ #12078]
47452 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47453 (parse_sub_exp): Fix last change, use postorder.
47454
ef06edbe
UD
47455 * posix/bug-regex31.c: New file.
47456 * posix/Makefile: Add rules to build and run bug-regex31.
47457
a129c80d
UD
47458 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47459
47460 [BZ #12078]
47461 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47462
b76b818e
UD
47463 [BZ #12108]
47464 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47465 to have entries in sys_siglist.
47466
1751705d
UD
47467 [BZ #12093]
47468 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47469 be NULL.
47470
9ff8d36f
JJ
474712010-10-07 Jakub Jelinek <jakub@redhat.com>
47472
47473 [BZ #3268]
47474 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47475 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47476 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47477 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47478 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47479 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47480 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47481 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47482 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47483 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47484 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47485 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47486 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47487 * math/ftestexcept.c (fetestexcept): Likewise.
47488 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47489 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47490 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47491 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47492 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47493 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47494 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47495
af325969
UD
474962010-10-11 Ulrich Drepper <drepper@gmail.com>
47497
c579b202 47498 [BZ #12107]
af325969
UD
47499 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47500 newline.
47501
67a67b95
UD
475022010-10-06 Ulrich Drepper <drepper@gmail.com>
47503
47504 * string/bug-strstr1.c: New file.
47505 * string/Makefile: Add rules to build and run bug-strstr1.
47506
5fb308bc
EB
475072010-10-05 Eric Blake <eblake@redhat.com>
47508
47509 [BZ #12092]
47510 * string/str-two-way.h (two_way_long_needle): Always clear memory
47511 when skipping input due to the shift table.
47512
45db99c7
UD
475132010-10-03 Ulrich Drepper <drepper@gmail.com>
47514
3b111893
UD
47515 [BZ #12005]
47516 * malloc/mcheck.c: Handle large requests.
47517
45db99c7
UD
47518 [BZ #12077]
47519 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47520 for strncmp and strncasecmp.
47521 * string/stratcliff.c: Add tests for strcmp and strncmp.
47522 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47523
cf7a1eb8
NI
475242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47525
47526 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47527 __set_fpscr.
47528
6484ba5e
AJ
475292010-09-30 Andreas Jaeger <aj@suse.de>
47530
47531 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47532 (CGROUP_SUPER_MAGIC): Define.
47533 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47534 Handle btrfs and cgroup file systems.
47535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47536 Likewise.
47537
91c42559
LM
475382010-09-27 Luis Machado <luisgpm@br.ibm.com>
47539
47540 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47541 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47542
87a97932
AK
475432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47544
47545 [BZ #12067]
47546 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47547 trying to locate the ELF header.
47548
c21cc9bc
AS
475492010-09-27 Andreas Schwab <schwab@redhat.com>
47550
47551 [BZ #11611]
47552 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47553 Mask out sign-bit copies when constructing f_fsid.
47554
315970f6
PB
475552010-09-24 Petr Baudis <pasky@suse.cz>
47556
47557 * debug/stack_chk_fail_local.c: Add missing licence exception.
47558 * debug/warning-nop.c: Likewise.
47559
1ac7a2c7
JM
475602010-09-15 Joseph Myers <joseph@codesourcery.com>
47561
47562 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47563 implementing getdents64 using getdents syscall, set d_type if
47564 __ASSUME_GETDENTS32_D_TYPE.
47565
56801c50
AS
475662010-09-16 Andreas Schwab <schwab@redhat.com>
47567
47568 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47569 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47570
dda51327
UD
475712010-09-21 Ulrich Drepper <drepper@redhat.com>
47572
47573 [BZ #12037]
47574 * posix/unistd.h: Undo change of feature selection for ftruncate from
47575 2010-01-11.
47576
8ffcee4a
UD
475772010-09-20 Ulrich Drepper <drepper@redhat.com>
47578
a545ecd9 47579 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47580 detection.
47581
e24f0a8b
AS
475822010-09-20 Andreas Schwab <schwab@redhat.com>
47583
47584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47585 fanotify_mark.
47586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47587
7291c56f
AS
475882010-09-14 Andreas Schwab <schwab@redhat.com>
47589
47590 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47591 variables after CHECK_SP call.
47592 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47593
bc5fb037
AS
475942010-09-13 Andreas Schwab <schwab@redhat.com>
47595 Ulrich Drepper <drepper@redhat.com>
47596
47597 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47598 re-relocationg ld.so.
47599 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47600 _dl_init_paths call.
47601 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47602 here anymore.
47603
e66e7419
UD
476042010-09-14 Ulrich Drepper <drepper@redhat.com>
47605
47606 * resolv/res_init.c (__res_vinit): Count the default server we added.
47607
c044aa75
CLT
476082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47609 Ulrich Drepper <drepper@redhat.com>
47610
47611 [BZ #11968]
47612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47613 (____longjmp_chk): Use %ebx for saving value across system call.
47614 Add unwind info.
47615
32cf4069
AS
476162010-09-06 Andreas Schwab <schwab@redhat.com>
47617
47618 * manual/Makefile: Don't mix pattern rules with normal rules.
47619
817328ee
AS
476202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47621
47622 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47623 operation.
47624 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47625 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47626 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47627 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47629 Likewise.
47630
29fddf61
UD
476312010-09-04 Ulrich Drepper <drepper@redhat.com>
47632
47633 [BZ #11979]
47634 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47635 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47636
0959ffc9
UD
476372010-09-02 Ulrich Drepper <drepper@redhat.com>
47638
47639 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47640 * sysdeps/x86_64/addmul_1.S: Likewise.
47641 * sysdeps/x86_64/lshift.S: Likewise.
47642 * sysdeps/x86_64/mul_1.S: Likewise.
47643 * sysdeps/x86_64/rshift.S: Likewise.
47644 * sysdeps/x86_64/sub_n.S: Likewise.
47645 * sysdeps/x86_64/submul_1.S: Likewise.
47646
ece29840
ST
476472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47648
0959ffc9
UD
47649 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47650 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47651 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47652 * bits/sched.h [__need_schedparam]
ece29840 47653 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47654 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47655 (__defined_schedparam): Define to 1.
ece29840
ST
47656 (__sched_param): New structure, identical to sched_param.
47657 (__need_schedparam): Undefine.
47658
e53a31fe
MF
476592010-08-31 Mike Frysinger <vapier@gentoo.org>
47660
fdc0c10d
MF
47661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47662 (epoll_create1): Declare.
47663
e53a31fe
MF
47664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47665
a726d796
AS
476662010-08-31 Andreas Schwab <schwab@redhat.com>
47667
47668 [BZ #7066]
47669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47670 shifting retval into place.
47671
2f3e3dc7
UD
476722010-09-01 Ulrich Drepper <drepper@redhat.com>
47673
f2933da9
UD
47674 * nis/rpcsvc/nis.h: Update copyright notice.
47675 * nis/rpcsvc/nis.x: Likewise.
47676 * nis/rpcsvc/nis_callback.h: Likewise.
47677 * nis/rpcsvc/nis_callback.x: Likewise.
47678 * nis/rpcsvc/nis_object.x: Likewise.
47679 * nis/rpcsvc/nis_tags.h: Likewise.
47680 * nis/rpcsvc/yp.h: Likewise.
47681 * nis/rpcsvc/yp.x: Likewise.
47682 * nis/rpcsvc/ypupd.h: Likewise.
47683 * nis/yp_xdr.c: Likewise.
47684 * nis/ypupdate_xdr.c: Likewise.
47685
2f3e3dc7
UD
47686 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47687 mainly the body of pmap_getport. Add parameters to specify timeouts.
47688 (pmap_getport): Use __libc_rpc_getport.
47689 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47690 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47691 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47692
f3dcc2f9
AS
476932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47694
47695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47696 fanotify_mark.
47697
6d34eb5b
RM
476982010-08-27 Roland McGrath <roland@redhat.com>
47699
47700 * sysdeps/i386/i686/multiarch/Makefile
47701 (CFLAGS-varshift.c): New variable.
47702
9ea3de11
UD
477032010-08-27 Ulrich Drepper <drepper@redhat.com>
47704
c96d23fc
UD
47705 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47706 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47707
9ea3de11
UD
47708 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47709
47710 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47711
623aac7f
L
477122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47713
47714 * sysdeps/x86_64/strlen.S: Unroll the loop.
47715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47716 strlen-sse2 strlen-sse2-bsf.
47717 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47718 __strlen_no_bsf if bit_Slow_BSF is set.
47719 (__strlen_sse42): Removed.
47720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47721 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47722
8b2b7715
RM
477232010-08-25 Roland McGrath <roland@redhat.com>
47724
47725 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47726 * sysdeps/x86_64/multiarch/varshift.c: New file.
47727 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47728 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47729 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47730 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47731
e73015f2
L
477322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47733
47734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47735 strlen-sse2 strlen-sse2-bsf.
47736 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47737 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47738 (__strlen_sse2): Removed.
47739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47742 bit_Slow_BSF for Atom.
47743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47744 (index_Slow_BSF): Define.
47745 (HAS_SLOW_BSF): Define.
47746
df24a73e
UD
477472010-08-25 Ulrich Drepper <drepper@redhat.com>
47748
47749 [BZ #10851]
47750 * resolv/res_init.c (__res_vinit): When no server address at all
47751 is given default to loopback.
47752
f2ac4868
RM
477532010-08-24 Roland McGrath <roland@redhat.com>
47754
09055553
RM
47755 * configure.in: Remove config-name.h generation.
47756 * configure: Regenerated.
47757 * config-name.in: File removed.
47758 * scripts/config-uname.sh: New file.
47759 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47760 ($(objdir)config-name.h): New target.
47761
f2ac4868
RM
47762 * sunrpc/rpc_parse.h: Avoid nested comment.
47763
73f27d5e
RH
477642010-08-24 Richard Henderson <rth@redhat.com>
47765 Ulrich Drepper <drepper@redhat.com>
47766 H.J. Lu <hongjiu.lu@intel.com>
47767
47768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47770 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47771 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47772 _mm_alignr_epi8 with _mm_loadu_si128.
47773 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47774 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47775 (__m128i_shift_right): Removed.
47776 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47777 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47778 * sysdeps/x86_64/multiarch/varshift.h: New file.
47779 * sysdeps/x86_64/multiarch/varshift.S: New file.
47780
84b9230c
MF
477812010-08-21 Mike Frysinger <vapier@gentoo.org>
47782
47783 * configure.in: Move assembler checks to before sysdep dir checking.
47784
9bbd0ddc
PB
477852010-08-20 Petr Baudis <pasky@suse.cz>
47786
47787 * LICENSES: Sync the sunrpc license.
47788
9da4bb31
UD
477892010-08-19 Ulrich Drepper <drepper@redhat.com>
47790
a7ab6ec8
UD
47791 * sunrpc/auth_des.c: Update copyright notice once again.
47792 * sunrpc/auth_none.c: Likewise.
47793 * sunrpc/auth_unix.c: Likewise.
47794 * sunrpc/authdes_prot.c: Likewise.
47795 * sunrpc/authuxprot.c: Likewise.
47796 * sunrpc/bindrsvprt.c: Likewise.
47797 * sunrpc/clnt_gen.c: Likewise.
47798 * sunrpc/clnt_perr.c: Likewise.
47799 * sunrpc/clnt_raw.c: Likewise.
47800 * sunrpc/clnt_simp.c: Likewise.
47801 * sunrpc/clnt_tcp.c: Likewise.
47802 * sunrpc/clnt_udp.c: Likewise.
47803 * sunrpc/clnt_unix.c: Likewise.
47804 * sunrpc/des_crypt.c: Likewise.
47805 * sunrpc/des_soft.c: Likewise.
47806 * sunrpc/get_myaddr.c: Likewise.
47807 * sunrpc/getrpcport.c: Likewise.
47808 * sunrpc/key_call.c: Likewise.
47809 * sunrpc/key_prot.c: Likewise.
47810 * sunrpc/openchild.c: Likewise.
47811 * sunrpc/pm_getmaps.c: Likewise.
47812 * sunrpc/pm_getport.c: Likewise.
47813 * sunrpc/pmap_clnt.c: Likewise.
47814 * sunrpc/pmap_prot.c: Likewise.
47815 * sunrpc/pmap_prot2.c: Likewise.
47816 * sunrpc/pmap_rmt.c: Likewise.
47817 * sunrpc/rpc/auth.h: Likewise.
47818 * sunrpc/rpc/auth_unix.h: Likewise.
47819 * sunrpc/rpc/clnt.h: Likewise.
47820 * sunrpc/rpc/des_crypt.h: Likewise.
47821 * sunrpc/rpc/key_prot.h: Likewise.
47822 * sunrpc/rpc/netdb.h: Likewise.
47823 * sunrpc/rpc/pmap_clnt.h: Likewise.
47824 * sunrpc/rpc/pmap_prot.h: Likewise.
47825 * sunrpc/rpc/pmap_rmt.h: Likewise.
47826 * sunrpc/rpc/rpc.h: Likewise.
47827 * sunrpc/rpc/rpc_des.h: Likewise.
47828 * sunrpc/rpc/rpc_msg.h: Likewise.
47829 * sunrpc/rpc/svc.h: Likewise.
47830 * sunrpc/rpc/svc_auth.h: Likewise.
47831 * sunrpc/rpc/types.h: Likewise.
47832 * sunrpc/rpc/xdr.h: Likewise.
47833 * sunrpc/rpc_clntout.c: Likewise.
47834 * sunrpc/rpc_cmsg.c: Likewise.
47835 * sunrpc/rpc_common.c: Likewise.
47836 * sunrpc/rpc_cout.c: Likewise.
47837 * sunrpc/rpc_dtable.c: Likewise.
47838 * sunrpc/rpc_hout.c: Likewise.
47839 * sunrpc/rpc_main.c: Likewise.
47840 * sunrpc/rpc_parse.c: Likewise.
47841 * sunrpc/rpc_parse.h: Likewise.
47842 * sunrpc/rpc_prot.c: Likewise.
47843 * sunrpc/rpc_sample.c: Likewise.
47844 * sunrpc/rpc_scan.c: Likewise.
47845 * sunrpc/rpc_scan.h: Likewise.
47846 * sunrpc/rpc_svcout.c: Likewise.
47847 * sunrpc/rpc_tblout.c: Likewise.
47848 * sunrpc/rpc_util.c: Likewise.
47849 * sunrpc/rpc_util.h: Likewise.
47850 * sunrpc/rpcinfo.c: Likewise.
47851 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47852 * sunrpc/rpcsvc/key_prot.x: Likewise.
47853 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47854 * sunrpc/rpcsvc/mount.x: Likewise.
47855 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47856 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47857 * sunrpc/rpcsvc/rex.x: Likewise.
47858 * sunrpc/rpcsvc/rstat.x: Likewise.
47859 * sunrpc/rpcsvc/rusers.x: Likewise.
47860 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47861 * sunrpc/rpcsvc/spray.x: Likewise.
47862 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47863 * sunrpc/rtime.c: Likewise.
47864 * sunrpc/svc.c: Likewise.
47865 * sunrpc/svc_auth.c: Likewise.
47866 * sunrpc/svc_authux.c: Likewise.
47867 * sunrpc/svc_raw.c: Likewise.
47868 * sunrpc/svc_run.c: Likewise.
47869 * sunrpc/svc_simple.c: Likewise.
47870 * sunrpc/svc_tcp.c: Likewise.
47871 * sunrpc/svc_udp.c: Likewise.
47872 * sunrpc/svc_unix.c: Likewise.
47873 * sunrpc/svcauth_des.c: Likewise.
47874 * sunrpc/xcrypt.c: Likewise.
47875 * sunrpc/xdr.c: Likewise.
47876 * sunrpc/xdr_array.c: Likewise.
47877 * sunrpc/xdr_float.c: Likewise.
47878 * sunrpc/xdr_mem.c: Likewise.
47879 * sunrpc/xdr_rec.c: Likewise.
47880 * sunrpc/xdr_ref.c: Likewise.
47881 * sunrpc/xdr_sizeof.c: Likewise.
47882 * sunrpc/xdr_stdio.c: Likewise.
47883
9da4bb31
UD
47884 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47885 handling.
47886
bdaa77bc
AS
478872010-08-19 Andreas Schwab <schwab@redhat.com>
47888
47889 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47890
fe2f79db
LM
478912010-08-19 Luis Machado <luisgpm@br.ibm.com>
47892
47893 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47895 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47896 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47897 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47898 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47900 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47902 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47903 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47905 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47906 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47907
b9b42ee0
AB
479082010-07-26 Anton Blanchard <anton@samba.org>
47909
47910 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47911 * malloc/arena.c (heap_trim): Likewise.
47912
1c06ba31
UD
479132010-08-16 Ulrich Drepper <drepper@redhat.com>
47914
47915 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47916 here. Not...
47917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47918 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47919
f8392f40
L
479202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47921
47922 * sysdeps/i386/elf/Makefile: New file.
47923
3162f12e
AS
479242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47925
47926 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47927 from fanotify_init.
47928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47930
28c90b2c
UD
479312010-08-15 Ulrich Drepper <drepper@redhat.com>
47932
47933 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47934 of strncasecmp_l.
1feccb6c 47935 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47936
ca6bb004
UD
479372010-08-14 Ulrich Drepper <drepper@redhat.com>
47938
e9f82e0d
UD
47939 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47940 strncase_l-nonascii.
47941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47942 Add strncase_l-ssse3.
47943 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47944 * sysdeps/x86_64/strcmp.S: Likewise.
47945 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47946 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47947 * sysdeps/x86_64/strncase.S: New file.
47948 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47949 * sysdeps/x86_64/strncase_l.S: New file.
47950 * string/Makefile (strop-tests): Add strncasecmp.
47951 * string/test-strncasecmp.c: New file.
47952
47953 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47954 warning.
47955
ca6bb004
UD
47956 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47957 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47958
052fa7b3
AS
479592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47960
47961 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47962
962dba78
UD
479632010-08-12 Ulrich Drepper <drepper@redhat.com>
47964
47965 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47966 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47968
bebff237
AM
479692010-05-01 Alan Modra <amodra@gmail.com>
47970
47971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47972 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47973 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47974 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47975 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47976 tidying. Don't tail-call __sigjmp_save for static lib.
47977 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47978 save location.
47979 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47980 (CALL_MCOUNT): Add eh info, and nop after bl.
47981 (TAIL_CALL_SYSCALL_ERROR): New macro.
47982 (PSEUDO_RET): Use it.
47983 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47984 Correct save location of integer regs and cr.
47985 (_dl_profile_resolve): Correct cr save location. Delete nops
47986 after bl when SHARED. Reduce cfi size a little by better
47987 placement of cfi directives.
47988 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47989 make a stack frame. Instead use parm save area as a temp.
47990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47991 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47993 Don't make a stack frame for parent, use parm save area.
47994 Increase child stack frame to 112 bytes. Don't save unused reg,
47995 and adjust reg usage. Set up cfi on error recovery and
47996 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47998 (__makecontext): Add dummy nop after jump to exit.
47999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48000 Use correct parm save area and cr save, reduce stack frame.
48001 Correct cfi for possible PSEUDO_RET frame setup.
48002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48003 Branch to local label emitted by PSEUDO_RET rather than
48004 __syscall_error.
48005
02637374
AS
480062010-08-12 Andreas Schwab <schwab@redhat.com>
48007
48008 [BZ #11904]
48009 * locale/programs/locale.c (print_assignment): New function.
48010 (show_locale_vars): Use it.
48011
c3e2f19b
UD
480122010-08-11 Ulrich Drepper <drepper@redhat.com>
48013
3cdaa6ad
UD
48014 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48015 field.
48016 (struct statfs64): Likewise.
48017 (_STATFS_F_FLAGS): Define.
48018 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48019 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48020 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48021 (ST_VALID): Define locally.
48022 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48023 __statvfs_getflags, use the provided value.
48024 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48025 __ASSUME_STATFS_F_FLAGS.
48026
754f7da3
UD
48027 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48028
10b3bedc
UD
48029 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48030 Add sys/fanotify.h.
48031 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48032 fanotify_mask for GLIBC_2.13.
48033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48034 fanotify_init and fanotify_mark.
48035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48036 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48037
c08fb0d7
UD
48038 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48039 Add prlimit.
48040 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48041 prlimit64 for GLIBC_2.13.
48042 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48043 prlimit64.
48044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48045 syscall.
48046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48047 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48048 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48051 add prlimit alias.
48052 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48053
15bac72b
UD
48054 [BZ #11903]
48055 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48056 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48057
c3e2f19b
UD
48058 * nss/Makefile: Add rules to build and run tst-nss-test1.
48059 * shlib-versions: Add entry for libnss_test1.
48060 * nss/nss_test1.c: New file.
48061 * nss/tst-nss-test1.c: New file.
48062
48063 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48064 (__nss_configure_lookup): Set appropriate entry in
48065 __nss_configure_lookup to true.
48066 * nss/nsswitch.h: Define enum with indeces of databases in
48067 databases and __nss_database_custom arrays. Declare
48068 __nss_database_custom.
48069 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48070 to avoid using nscd when custom rules are installed.
48071 * nss/getXXbyYY_r.c: Likewise.
48072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48073
48074 * nss/nss_files/files-parse.c: Whitespace fixes.
48075
f15ce4d8
UD
480762010-08-09 Ulrich Drepper <drepper@redhat.com>
48077
48078 [BZ #11883]
48079 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48080 * posix/fnmatch_loop.c: Likewise.
48081
d22e4cc9
AK
480822010-07-17 Andi Kleen <ak@linux.intel.com>
48083
48084 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48085 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48086 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48087 * Versions.def [GLIBC_2.13]: Add.
48088
805bc17d
UD
480892010-08-06 Ulrich Drepper <drepper@redhat.com>
48090
48091 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48092 Also fail if tpwd after pwuid call is NULL.
48093
5a42321d
ST
480942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48095
48096 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48097 when converting to ms.
48098
fd3ebeda
ST
480992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48100
48101 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48102 EOPNOTSUPP errors with ENOTTY.
48103 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48104 EOPNOTSUPP errors with ENOTTY.
48105
73507d3a
UD
481062010-07-31 Ulrich Drepper <drepper@redhat.com>
48107
48108 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48109 Add strcasecmp_l-ssse3.
48110 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48111 strcasecmp.
48112 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48113 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48114 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48115
fe36dd02
UD
481162010-07-30 Ulrich Drepper <drepper@redhat.com>
48117
66f6765a
UD
48118 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48119
42e08a54
UD
48120 * string/Makefile (strop-tests): Add strcasecmp.
48121 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48122 strcasecmp_l-nonascii.
48123 (gen-as-const-headers): Add locale-defines.sym.
48124 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48125 * sysdeps/x86_64/strcasecmp.S: New file.
48126 * sysdeps/x86_64/strcasecmp_l.S: New file.
48127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48128 * sysdeps/x86_64/locale-defines.sym: New file.
48129 * string/test-strcasecmp.c: New file.
48130
fe36dd02
UD
48131 * string/test-strcasestr.c: Test both ends of the range of characters.
48132 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48133
48cbc0d6
RM
481342010-07-29 Roland McGrath <roland@redhat.com>
48135
76e6d6bc 48136 [BZ #11856]
48cbc0d6
RM
48137 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48138
880113d9
UD
481392010-07-27 Ulrich Drepper <drepper@redhat.com>
48140
48141 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48142 for ld.so.
48143
deb9cabb
AS
481442010-07-27 Andreas Schwab <schwab@redhat.com>
48145
48146 * manual/memory.texi (Malloc Tunable Parameters): Document
48147 M_PERTURB.
48148
1c7570ff
RM
481492010-07-26 Roland McGrath <roland@redhat.com>
48150
48151 [BZ #11840]
48152 * configure.in (-fgnu89-inline check): Set and substitute
48153 gnu89_inline, not libc_cv_gnu89_inline.
48154 * configure: Regenerated.
48155 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48156
24fb0f88
UD
481572010-07-26 Ulrich Drepper <drepper@redhat.com>
48158
48159 * string/test-strnlen.c: New file.
48160 * string/Makefile (strop-tests): Add strnlen.
48161 * string/tester.c (test_strnlen): Add a few more test cases.
48162 * string/tst-strlen.c: Better error reporting.
48163
48164 * sysdeps/x86_64/strnlen.S: New file.
48165
8e96b93a
UD
481662010-07-24 Ulrich Drepper <drepper@redhat.com>
48167
48168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48169 lower-latency instructions.
48170
dbc676d4
UD
481712010-07-23 Ulrich Drepper <drepper@redhat.com>
48172
48173 * string/test-strcasestr.c: New file.
48174 * string/test-strstr.c: New file.
48175 * string/Makefile (strop-tests): Add strstr and strcasestr.
48176 * string/str-two-way.h: Don't undefine MAX.
48177 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48178
f6a31e0e
AS
481792010-07-21 Andreas Schwab <schwab@redhat.com>
48180
48181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48182 strcasestr-nonascii.
48183 (CFLAGS-strcasestr-nonascii.c): Define.
48184 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48186 Remove unused attribute.
48187
5dbc3b6c
RM
481882010-07-20 Roland McGrath <roland@redhat.com>
48189
48190 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48191 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48192 ld.so.cache was broken. With it, there is no way to disable dsocaps
48193 like LD_HWCAP_MASK can disable hwcaps.
48194
23d101d8
EPM
481952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48196
48197 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48198
cc9f2e47
UD
481992010-07-16 Ulrich Drepper <drepper@redhat.com>
48200
48201 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48202 call in strcasestr.
48203 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48204 __strcasestr_sse42_nonascii.
48205 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48206 strcasestr-nonascii.c.
48207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48208
77c1b069
LM
482092010-06-15 Luis Machado <luisgpm@br.ibm.com>
48210
48211 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48212 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48213 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48215
440566c3
UD
482162010-07-09 Ulrich Drepper <drepper@redhat.com>
48217
48218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48219 fcntl.
48220
5be9d05d
AS
482212010-07-06 Andreas Schwab <schwab@redhat.com>
48222
c30b7ee2 48223 [BZ #11577]
5be9d05d
AS
48224 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48225 dl_signal_cerror.
48226
8a492a67
UD
482272010-07-06 Ulrich Drepper <drepper@redhat.com>
48228
48229 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48230 _PC_PIPE_BUF using F_GETPIPE_SZ.
48231
713df3d5
RM
482322010-07-05 Roland McGrath <roland@redhat.com>
48233
48234 * manual/arith.texi (Rounding Functions): Fix rint description
48235 implicit in round description.
48236
702e8f14
UD
482372010-07-02 Ulrich Drepper <drepper@redhat.com>
48238
48239 * elf/Makefile: Fix linking for a few tests to make recent linker
48240 happy.
48241
52ed8be9
AS
482422010-06-30 Andreas Schwab <schwab@redhat.com>
48243
48244 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48245 $(common-objpfx)libc_nonshared.a.
48246
f47c9a11
LM
482472010-06-21 Luis Machado <luisgpm@br.ibm.com>
48248
48249 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48250 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48251 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48252 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48253 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48254 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48256 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48271 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48272 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48273 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48274 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48275 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48276 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48277 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48278 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48279 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48280 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48281 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48282 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48297
6fb8cbcb
L
482982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48299
48300 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48301 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48302 * string/memmove.c (memmove): Renamed to ...
48303 (MEMMOVE): ...this. Default to memmove.
48304 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48305 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48306 (END_CHK): Define.
48307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48308 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48309 mempcpy-ssse3-back memmove-ssse3-back.
48310 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48312 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48313 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48314 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48315 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48316 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48317 * sysdeps/x86_64/multiarch/memmove.c: New file.
48318 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48319 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48320 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48321 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48322 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48323 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48324 Define.
48325 (index_Fast_Copy_Backward): Define.
48326 (HAS_ARCH_FEATURE): Define.
48327 (HAS_FAST_REP_STRING): Define.
48328 (HAS_FAST_COPY_BACKWARD): Define.
48329
4e733bac 483302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48331
48332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48333 Restore proper fallback handling.
48334
63c4ed22
UD
483352010-06-19 Ulrich Drepper <drepper@redhat.com>
48336
ac2b484c
UD
48337 [BZ #11701]
48338 * posix/group_member.c (__group_member): Correct checking loop.
48339
63c4ed22
UD
48340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48341 OOM in getpwuid_r correctly. Return error number when the caller
48342 should return, otherwise -1.
48343 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48344 call returning > 0 value.
48345 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48346
765ade4b
AS
483472010-06-07 Andreas Schwab <schwab@redhat.com>
48348
48349 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48350 libc_nonshared.a from targets in modules-names.
48351
80da2e09
KS
483522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48353
48354 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48355 requires it.
48356
158db122
LM
483572010-06-10 Luis Machado <luisgpm@br.ibm.com>
48358
48359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48360 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48361 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48362 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48363
caa78cf8
AS
483642010-06-02 Andreas Schwab <schwab@redhat.com>
48365
48366 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48367
b2ef2c01
UD
483682010-06-14 Ulrich Drepper <drepper@redhat.com>
48369
48370 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48371 and F_GETPIPE_SZ.
48372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48378
fbd643b6
RM
483792010-06-14 Roland McGrath <roland@redhat.com>
48380
48381 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48382
f32f2869
JJ
483832010-06-07 Jakub Jelinek <jakub@redhat.com>
48384
48385 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48386 __REDIRECT followed by __THROW.
48387 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48388 * posix/getopt.h (getopt): Likewise.
48389
2a50c078
EPM
483902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48391
48392 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48393 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48394 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48395 in AT_FLAGS.
48396 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48397 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48398
eb5ad2eb
LM
483992010-05-28 Luis Machado <luisgpm@br.ibm.com>
48400
48401 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48402
3c88fe1e
L
484032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48404
48405 [BZ #11640]
48406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48407 Properly check family and model.
48408
d2f73151
TY
484092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48410
48411 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48412
ebd2e13d
LM
484132010-05-24 Luis Machado <luisgpm@br.ibm.com>
48414
48415 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48416
b32b8b45
UD
484172010-05-21 Ulrich Drepper <drepper@redhat.com>
48418
48419 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48420 symbol reference.
48421
9acbe24d
AS
484222010-05-19 Andreas Schwab <schwab@redhat.com>
48423
48424 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48425 symbol reference.
48426
f0ccf6ea
AS
484272010-05-21 Andreas Schwab <schwab@redhat.com>
48428
3d04ff3a
AS
48429 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48430 and internal_recvmmsg.
48431 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48432 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48433 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48434 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48435
f0ccf6ea
AS
48436 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48437 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48438 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48439
5b08ac57
AS
484402010-05-20 Andreas Schwab <schwab@redhat.com>
48441
48442 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48443
4828935d
LM
484442010-05-17 Luis Machado <luisgpm@br.ibm.com>
48445
48446 POWER7 optimizations.
48447 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48448 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48449
373d545e
UD
484502010-05-19 Ulrich Drepper <drepper@redhat.com>
48451
48452 * version.h: Update for 2.13 development version.
48453
21a2b1ae
AS
484542010-05-12 Andrew Stubbs <ams@codesourcery.com>
48455
48456 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48457 exceptions. Return 0.
48458
3f7dcb2b
RM
484592010-05-07 Roland McGrath <roland@redhat.com>
48460
48461 * elf/ldconfig.c (main): Add a const.
48462
5f24d53a 484632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48464
a160f8d8
UD
48465 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48466 (args_options): Add no-idn option.
48467 (ahosts_keys_int): Add idn_flags to ai_flags.
48468 (parse_option): Handle 'i' option to clear idn_flags.
48469
5f24d53a
UD
48470 * malloc/malloc.c (_int_free): Possible race in the most recently
48471 added check. Only act on the data if no current modification
48472 happened.
265bb1ce
UD
48473
48474See ChangeLog.17 for earlier changes.