]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
alpha: Update libm-test-ulps
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a1ac3184
RH
12014-07-01 Richard henderson <rth@redhat.com>
2
3 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4
0c1d731f
SL
52014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6
7 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8
76985d3e
SP
92014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10
11 * resolv/nss_dns/dns-host.c (getanswer_r)
12 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13
b0cb3096
JM
142014-07-01 Joseph Myers <joseph@codesourcery.com>
15
16 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18 undefine.
19 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
21
4d76cb39
RM
222014-07-01 Roland McGrath <roland@hack.frob.com>
23
24 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26
27 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29
30 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32 ... here.
33 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35
36 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
38 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40
41 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46 Moved ...
47 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48 ... here.
49 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
50 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
51 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
52 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
53 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
54 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
55 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
56 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
57 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
58 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
59 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
60 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
61 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
62 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
63 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
64 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
65 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
66 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
67 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
68 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
69 ... here.
70 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
72 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
73 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
74 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
75 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
76 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
77 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
78
0cdcad17
DH
792014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
80
81 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
82 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
83 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
84 Add sysdep.
85
9b71d0e3
AZ
862014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87
88 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
89
665390c2
JM
902014-06-30 Joseph Myers <joseph@codesourcery.com>
91
ae05a9d7
JM
92 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
93 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
94
a7672a2f
JM
95 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
96
665390c2
JM
97 * sysdeps/arm/libm-test-ulps: Regenerated.
98
d7a05d07
MR
992014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
100 Roland McGrath <roland@hack.frob.com>
101
102 * test-skeleton.c (signal_handler): Kill the whole process group
103 before killing the child individually.
104 (main): Report any failure on `setpgid'.
105
46f1d8a6
RM
1062014-06-30 Roland McGrath <roland@hack.frob.com>
107
108 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
109 from _TLS_H to _ARM_NPTL_TLS_H.
110 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
111 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
112
9c37ec0b
JM
1132014-06-30 Joseph Myers <joseph@codesourcery.com>
114
ce9c5b3e
JM
115 [BZ #16539]
116 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
117 (__expm1l): Return argument unchanged when small but not
118 subnormal.
119
3a6e9887
JM
120 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
121 include macro name.
122 (_FP_UNPACK_RAW_1_P): Likewise.
123 (_FP_PACK_RAW_1): Likewise.
124 (_FP_PACK_RAW_1_P): Likewise.
125 (_FP_MUL_MEAT_1_wide): Likewise.
126 (_FP_MUL_MEAT_DW_1_hard): Likewise.
127 (_FP_MUL_MEAT_1_hard): Likewise.
128 (_FP_DIV_MEAT_1_imm): Likewise.
129 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
130 (_FP_DIV_MEAT_1_udiv): Likewise.
131 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
132 (_FP_UNPACK_RAW_2): Likewise.
133 (_FP_UNPACK_RAW_2_P): Likewise.
134 (_FP_PACK_RAW_2): Likewise.
135 (_FP_PACK_RAW_2_P): Likewise.
136 (_FP_MUL_MEAT_DW_2_wide): Likewise.
137 (_FP_MUL_MEAT_2_wide): Likewise.
138 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
139 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
140 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
141 (_FP_MUL_MEAT_2_gmp): Likewise.
142 (_FP_DIV_MEAT_2_udiv): Likewise.
143 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
144 (_FP_FRAC_SRL_4): Likewise.
145 (_FP_FRAC_SRST_4): Likewise.
146 (_FP_FRAC_SRS_4): Likewise.
147 (_FP_UNPACK_RAW_4): Likewise.
148 (_FP_UNPACK_RAW_4_P): Likewise.
149 (_FP_PACK_RAW_4): Likewise.
150 (_FP_PACK_RAW_4_P): Likewise.
151 (_FP_MUL_MEAT_DW_4_wide): Likewise.
152 (_FP_MUL_MEAT_4_wide): Likewise.
153 (_FP_MUL_MEAT_4_gmp): Likewise.
154 (umul_ppppmnnn): Likewise.
155 (_FP_DIV_MEAT_4_udiv): Likewise.
156 (__FP_FRAC_ADD_4): Likewise.
157 (__FP_FRAC_SUB_3): Likewise.
158 (__FP_FRAC_SUB_4): Likewise.
159 (__FP_FRAC_DEC_3): Likewise.
160 (__FP_FRAC_DEC_4): Likewise.
161 (__FP_FRAC_ADDI_4): Likewise.
162 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
163 (_FP_FRAC_SRL_8): Likewise.
164 (_FP_FRAC_SRS_8): Likewise.
165
9c37ec0b
JM
166 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
167 include macro name.
168 (FP_UNPACK_RAW_EP): Likewise.
169 (FP_PACK_RAW_E): Likewise.
170 (FP_PACK_RAW_EP): Likewise.
171 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
172 (_FP_ISSIGNAN): Likewise.
173 (_FP_ADD_INTERNAL): Likewise.
174 (_FP_FMA): Likewise.
175 (_FP_CMP): Likewise.
176 (_FP_SQRT): Likewise.
177 (_FP_TO_INT): Likewise.
178 (_FP_FROM_INT): Likewise.
179 (FP_EXTEND): Likewise.
180 (_FP_DIV_MEAT_N_loop): Likewise.
181
2125f674
MR
1822014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
183
184 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
185 throughout.
186
edea4028
JM
1872014-06-29 Joseph Myers <joseph@codesourcery.com>
188
189 [BZ #17097]
190 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
191 result with correct sign in case of exponents that produce
192 overflow except for X very close to 1.
193
dd0ba018
PE
1942014-06-28 Paul Eggert <eggert@cs.ucla.edu>
195
196 mktime: merge #if/#ifdef usage from glibc
197 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
198 as that works with both Glibc's and Gnulib's style.
199 See thread starting at Siddhesh Poyarekar's bug report at:
200 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
201
64df73c2
SP
2022014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
203
204 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
205 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
206 * sysdeps/tile/tilegx/memmove.c: Remove file.
207
f1eafb41
JM
2082014-06-27 Joseph Myers <joseph@codesourcery.com>
209
210 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
211 abi-name definition.
212 * scripts/soversions.awk: Do not handle or generate ABI lines.
213 * shlib-versions: Remove ABI entries.
214 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
215 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
216
58eb0862
RM
2172014-06-27 Roland McGrath <roland@hack.frob.com>
218
37caf178
RM
219 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
220 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
221 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
222 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
226 Moved ...
227 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
228 ... here.
229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
231 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
233 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
235 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
237 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
238 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
240 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
242 Moved ...
243 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
244 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
248 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
249 Moved ...
250 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
252 Moved ...
253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
257 Moved ...
258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
260 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
262 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
264 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
266 Moved ...
267 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
270 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
271 Moved ...
272 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
273 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
274 Moved ...
275 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
276 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
278 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
279 Moved ...
280 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
281 ... here.
282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
283 Identical file removed.
284 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
285 Moved ...
286 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
287 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
288 Identical file removed.
289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
291 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
292 Moved ...
293 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
294 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
295 Identical file removed.
296 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
297 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
298 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
299 Identical file removed.
300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
302 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
303 Identical file removed.
304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
305 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
307 Identical file removed.
308 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
309 Moved ...
310 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
311 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
312 Identical file removed.
313 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
314 Moved ...
315 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
317 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
319 Identical file removed.
320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
321 Moved ...
322 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
323 ... here.
324 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
325 Identical file removed.
326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
327 Moved ...
328 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
330 Identical file removed.
331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
332 Moved ...
333 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
334 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
338 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
339 Moved ...
340 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
341 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
342 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
343
58eb0862
RM
344 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
345 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
346 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
347 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
348 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
349
6f12d062
AS
3502014-06-27 Arjun Shankar <arjun.is@lostca.se>
351
352 [BZ #17092]
353 * nscd/nscd.c (monitor_child): Return exit status of child
354 instead of return value from wait syscall.
355
be254932
JM
3562014-06-27 Joseph Myers <joseph@codesourcery.com>
357
cb403c34
JM
358 * configure.ac (libc_commonpagesize): Remove variable.
359 (libc_relro_required): Likewise.
360 (libc_cv_z_relro): Remove configure test.
361 * configure: Regenerated.
362 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
363 variable.
364 (libc_relro_required): Likewise.
365 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
366 (libc_relro_required): Likewise.
367 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
368 (libc_relro_required): Likewise.
369 * sysdeps/arm/preconfigure: Regenerated.
370 * sysdeps/ia64/preconfigure: Remove file.
371 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
372 variable.
373 (libc_relro_required): Likewise.
374
be254932
JM
375 [BZ #16561]
376 [BZ #16562]
377 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
378 (__ieee754_yn): Set FE_TONEAREST mode internally and then
379 recompute overflowing results in original rounding mode.
380 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
381 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
382 recompute overflowing results in original rounding mode.
383 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
384 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
385 recompute overflowing results in original rounding mode.
386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
387 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
388 recompute overflowing results in original rounding mode.
389 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
390 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
391 recompute overflowing results in original rounding mode.
392 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
393 (libc_feholdsetround_ctx): New macro.
394 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
395 * sysdeps/i386/fpu/libm-test-ulps: Update.
396 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
397
b351d85a
JM
3982014-06-26 Joseph Myers <joseph@codesourcery.com>
399
400 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
401 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
402 corresponding .cpsetup call.
403
3cb4de47
RM
4042014-06-26 Roland McGrath <roland@hack.frob.com>
405
406 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
407 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
408 * sysdeps/arm/Makefile [$(subdir) = csu]
409 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
410 (static-only-routines): Add aeabi_read_tp here.
411 (shared-only-routines): Add libc-aeabi_read_tp here.
412 (CFLAGS-libc-start.c): Add -fexceptions here.
413 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
414 (sysdep_routines, static-only-routines, shared-only-routines):
415 Don't add to these here.
416 (CFLAGS-libc-start.c): Likewise.
417
418 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
419 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
420 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
421 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
422 * sysdeps/arm/Makefile [$(subdir) = rt]
423 (librt-sysdep_routines, librt-shared-only-routines):
424 Append rt-aeabi_unwind_cpp_pr1 here.
425 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
426 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
427 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
428 (libpthread-sysdep_routines, libpthread-shared-only-routines):
429 Append nptl-aeabi_unwind_cpp_pr1 here.
430 (tests): Filter out tst-cleanupx4 here.
431 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
432 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
433 Don't do those here.
434
354426bb
JM
4352014-06-26 Joseph Myers <joseph@codesourcery.com>
436
437 * scripts/list-sources.sh: Do not handle ports specially.
438
28b0a8c9
RM
4392014-06-26 Roland McGrath <roland@hack.frob.com>
440
a3dd035d
RM
441 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
442 * sysdeps/arm/feupdateenv.c: Likewise.
443
28b0a8c9
RM
444 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
445
e66a8203
JM
4462014-06-26 Joseph Myers <joseph@codesourcery.com>
447
448 * manual/texinfo.tex: Update to version 2014-05-05.10 with
449 trailing whitespace removed.
450 * scripts/config.guess: Update to version 2014-03-23.
451 * scripts/config.sub: Update to version 2014-05-01
452 * scripts/install-sh: Update to version 2013-12-25.23.
453 * scripts/move-if-change: Update from gnulib.
454
74171115
SP
4552014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
456
b97c9ce5
SP
457 * debug/memmove_chk.c: Remove pagecopy.h include.
458
4000f892
SP
4592014-06-26 Paul Eggert <eggert@cs.ucla.edu>
460
74171115
SP
461 * time/mktime.c (leapyear): Remove inline keyword. The code is now
462 identical to gnulib mktime.
463
a8779c28
JM
4642014-06-26 Joseph Myers <joseph@codesourcery.com>
465
e64708de
JM
466 * configure.ac: Do not test for machine being rs6000. Do not test
467 for powerpc*-*soft.
468 * configure: Regenerated.
469
a8779c28
JM
470 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
471 test.
472 * configure: Regenerated.
473 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
474 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
475 Remove configure test.
476 * sysdeps/arm/configure: Regenerated.
477 * sysdeps/nptl/configure.ac: Do not check
478 libc_cv_asm_cfi_directives.
479 * sysdeps/nptl/configure: Regenerated.
480 * sysdeps/x86_64/nptl/configure.ac: Remove file.
481 * sysdeps/x86_64/nptl/configure: Remove generated file.
482 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
483 unconditional.
484 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
485
2aac0a86
SP
4862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
487
059bf913
SP
488 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
489 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
490 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
491 it is defined.
492
4cf5b6d0
SP
493 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
494 instead of whether it is defined.
495 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
496 * sysdeps/hppa/dl-machine.h: Likewise.
497 * sysdeps/ia64/dl-machine.h: Likewise.
498 * sysdeps/m68k/dl-machine.h: Likewise.
499 * sysdeps/microblaze/dl-machine.h: Likewise.
500 * sysdeps/mips/dl-machine.: Likewise.
501 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
502 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
503 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
504 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
505 * sysdeps/sh/dl-machine.h: Likewise.
506 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
507 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
508 * sysdeps/tile/dl-machine.h: Likewise.
509 * sysdeps/x86_64/dl-machine.h: Likewise.
510
2aac0a86
SP
511 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
512 code.
513 (verify_persistent_db): Likewise.
514
6ad2df0b
RM
5152014-06-26 Roland McGrath <roland@hack.frob.com>
516
d8a483f3
RM
517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
518 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
522 Moved ...
523 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
524 ... here.
525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
526 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
528 Identical file removed.
529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
530 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
534 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
536 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
538 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
540 Moved ...
541 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
547 Moved ...
548 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
550 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
552 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
554 Identical file removed.
555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
556 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
560 Moved ...
561 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
562 ... here.
563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
574 Moved ...
575 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
577 Moved ...
578 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
582 Moved ...
583 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
586
52ae23b4
RM
587 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
588 folded into ...
589 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
590 * sysdeps/unix/sysv/linux/s390/Versions
591 (libpthread: GLIBC_2.19): New version set.
592 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
593 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
594 (librt: GLIBC_2.3.3): New version set.
595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
596 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
597 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
598 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
599 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
600 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
601 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
602 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
603 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
604 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
605 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
607 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
608 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
609 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
610 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
611 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
612 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
613 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
614 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
615 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
616 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
617 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
618 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
619 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
620 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
621 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
622 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
623 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
624 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
625 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
626 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
628 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
631 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
633 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
635 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
637 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
639 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
640
39507e4a
RM
641 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
642 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
643 (__libc_vfork): Define the function under this name.
644 [!NOT_IN_libc] (__vfork): Make this an alias.
645 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
646 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
647 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
648 (__libc_vfork): Define the function under this name.
649 [!NOT_IN_libc] (__vfork): Make this an alias.
650 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
651 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
652 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
653 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
654 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
655 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
656
e549ee56
RM
657 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
658 code that was previously under [RESET_PID].
659 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
660 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
662
6ad2df0b
RM
663 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
664 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
665 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
666 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
667 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
668 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
669 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
670 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
671 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
673 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
674 Moved ...
675 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
676 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
678 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
679 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
680 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
682 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
684 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
686 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
688 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
690 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
692 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
694 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
696 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
698 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
699 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
700 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
701 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
703 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
704
7c1c1d8e
RM
7052014-06-25 Roland McGrath <roland@hack.frob.com>
706
707 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
708 that was previously under [RESET_PID].
709 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
710
3e239be6
JM
7112014-06-25 Joseph Myers <joseph@codesourcery.com>
712
74385da5
JM
713 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
714 not undefine and redefine.
715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
716 [O_CLOEXEC]: Make code unconditional.
717 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
718 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
719 <kernel-features.h>.
720 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
721 conditional variable definition.
722 (shm_open) [O_CLOEXEC]: Make code unconditional.
723 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
724 code.
725
c2570a0b
JM
726 * configure.ac (USE_REGPARMS): Don't define here.
727 * configure: Regenerated.
728 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
729 * sysdeps/i386/configure: Regenerated.
730
11b076bb
JM
731 * nptl/createthread.c: Don't include kernel-features.h.
732 * nptl/pthread_cancel.c: Likewise.
733 * nptl/pthread_condattr_setclock.c: Likewise.
734 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
735 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
736 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
737 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
738 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
739 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
740 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
743 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
744 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
745 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
746 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
747 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
748 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
749 * nscd/gai.c: Likewise.
750 * nss/nss_db/db-open.c: Likewise.
751 * sysdeps/generic/ldsodefs.h: Likewise.
752 * sysdeps/sh/nptl/tls.h: Likewise.
753 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
754 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
755 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
756 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
757 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
758 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
759 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
760 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
761 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
762 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
763 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
764 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
765 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
766 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
767 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
768 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
769 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
770 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
771 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
772 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
773 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
774 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
775 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
776 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
777 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
778 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
779 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
780 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
781 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
782 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
783 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
784 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
785 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
786 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
787 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
788 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
789 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
790 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
791 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
792 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
793 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
794 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
795 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
796 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
797 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
798 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
799 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
800 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
801 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
802 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
803 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
804 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
805 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
806 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
807 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
808 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
833 * sysdeps/unix/sysv/linux/pread.c: Likewise.
834 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
835 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
836 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
837 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
838 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
839 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
840 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
841 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
842 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
843 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
844 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
845 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
846 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
847 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
848 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
850 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
851 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
852 * sysdeps/unix/sysv/linux/system.c: Likewise.
853 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
854 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
855 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
856 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
857 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
859 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
860
92072d57
JM
861 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
862 * configure: Regenerated.
863 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
864
3e239be6
JM
865 * configure.ac (base_machine): Do not set specially for particular
866 machines here.
867 * configure: Regenerated.
868 * sysdeps/powerpc/preconfigure: Move machine and base_machine
869 settings from configure.ac.
870 * sysdeps/i386/preconfigure: New file.
871 * sysdeps/s390/preconfigure: Likewise.
872 * sysdeps/sh/preconfigure: Likewise.
873 * sysdeps/sparc/preconfigure: Likewise.
874
06d50baa
RM
8752014-06-25 Roland McGrath <roland@hack.frob.com>
876
74836003
RM
877 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
878 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
879 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
880 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
881 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
882 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
883 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
884 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
885 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
886 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
887 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
888 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
889 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
890 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
891 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
892 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
893 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
894 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
895 * sysdeps/sparc/sparc64/Makefile: ... appended here.
896
897 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
898 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
899 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
900 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
901 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
902 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
903 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
904 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
905 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
906 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
907 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
908 * sysdeps/sparc/sparc32/sem_post.c: ... here.
909 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
910 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
911 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
912 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
913 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
914 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
915 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
916 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
918 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
919 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
920 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
921 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
922 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
923 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
924 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
926 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
927 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
928 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
929 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
930 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
931 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
932 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
933 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
934 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
935
06d50baa
RM
936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
937 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
941 Moved ...
942 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
943 ... here.
944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
945 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
947 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
949 Moved ...
950 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
958 Moved ...
959 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
961 Moved ...
962 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
964 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
966 Moved ...
967 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
969 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
971 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
973 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
975 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
977 Moved ...
978 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
979 ... here.
980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
985 Moved ...
986 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
994 Moved ...
995 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
997 Moved ...
998 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1000 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1002 Moved ...
1003 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1008
a4ccbc9b
JM
10092014-06-25 Joseph Myers <joseph@codesourcery.com>
1010
0828edbf
JM
1011 * timezone/checktab.awk: Update from tzcode 2014e.
1012 * timezone/private.h: Likewise.
1013 * timezone/tzfile.h: Likewise.
1014 * timezone/zdump.c: Likewise.
1015 * timezone/zic.c: Likewise.
1016
a4ccbc9b
JM
1017 * sysdeps/unix/sysv/linux/kernel-features.h
1018 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1019 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1020 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1021 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1022 Remove conditional code.
1023
9aea0cb8
WN
10242014-06-25 Will Newton <will.newton@linaro.org>
1025
1026 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1027 (_dl_arm_cap_flags): Add HWCAP2 values.
1028 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1029 (_DL_HWCAP_COUNT): Increase to 37.
1030 (_DL_HWCAP_LAST): New define.
1031 (_DL_HWCAP2_LAST): New define.
1032 (_dl_procinfo): Add support for printing
1033 AT_HWCAP2 entries.
1034 (_dl_string_hwcap): Use _dl_hwcap_string.
1035
6eaa65ce
AZ
10362014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1039
0f5b7185
JM
10402014-06-25 Joseph Myers <joseph@codesourcery.com>
1041
cfd2ea50
JM
1042 * README: Do not mention ports directory.
1043
cecf2ed4
JM
1044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1045 Remove macro.
1046 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1047 <kernel-features.h>.
1048 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1049 conditional variable definition.
1050 (__futimes): Update comment.
1051 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1052 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1053
a638de82
JM
1054 [BZ #16560]
1055 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1056 arguments close to 0.
1057 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1058 Likewise.
1059 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1060 Likewise.
1061 * math/auto-libm-test-in: Add more tests of exp10.
1062 * math/auto-libm-test-out: Regenerated.
1063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1064
0f5b7185
JM
1065 * sysdeps/unix/sysv/linux/kernel-features.h
1066 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1067 * sysdeps/unix/sysv/linux/readv.c: Do not include
1068 <kernel-features.h>.
1069 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1070 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1071 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1072 unconditional.
1073 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1074 conditional code.
1075 * sysdeps/unix/sysv/linux/writev.c: Do not include
1076 <kernel-features.h>.
1077 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1078 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1079 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1080 unconditional.
1081 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1082 conditional code.
1083
c7aec4be
WN
10842014-06-25 Will Newton <will.newton@linaro.org>
1085
1086 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1087 comment changes throughout the file. Remove checks
1088 for HAVE_*_H definitions that are not required.
1089 (__gen_tempname): Call abort if an unknown kind value is
1090 passed.
1091
c5241f95
AS
10922014-06-25 Andreas Schwab <schwab@suse.de>
1093
1094 [BZ #17086]
1095 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1096 scalbln, scalblnf, scalblnl in libc.
1097
911422da
SP
10982014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1099
1100 [BZ #17086]
1101 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1102 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1103 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1104
0d749bbe
RM
11052014-06-24 Roland McGrath <roland@hack.frob.com>
1106
1107 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1108 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1109 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1110 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1111 Update #include.
1112 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1113 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1114 Update #include.
1115 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1116 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1117 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1118 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1119 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1120 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1121 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1122 * sysdeps/x86/bits/semaphore.h: ... here.
1123 * sysdeps/x86/nptl/elide.h: Moved ...
1124 * sysdeps/x86/elide.h: ... here.
1125 * sysdeps/x86_64/nptl/Implies: File removed.
1126 * sysdeps/i386/nptl/Implies: File removed.
1127
0ea5d373
JM
11282014-06-24 Joseph Myers <joseph@codesourcery.com>
1129
4060283d
JM
1130 [BZ #16539]
1131 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1132 return the argument for normal arguments with exponent below -64.
1133 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1134 Likewise.
1135 * math/auto-libm-test-in: Add another test of expm1.
1136 * math/auto-libm-test-out: Regenerated.
1137
e7dd3c8c
JM
1138 [BZ #16287]
1139 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1140 calling __erfcl for arguments at least 16.
1141 * math/auto-libm-test-in: Add more tests of erf.
1142 * math/auto-libm-test-out: Regenerated.
1143
0ea5d373
JM
1144 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1145 individual architectures.
1146 * sysdeps/unix/sysv/linux/configure: Regenerated.
1147 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1148 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1149 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1150 (ldd_rewrite_script): Define variable.
1151 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1153 file.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1155 generated file.
1156 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1157 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1158 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1159 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1160 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1161 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1162 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1163 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1164
2307e126
SP
11652014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1166
1167 [BZ #17084]
1168 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1169 Rename member __data.d to __data.__elision_data.
1170
c0a4ed77
W
11712014-06-24 Wilco <wdijkstr@arm.com>
1172
1173 * NEWS: Add 16918 to fixed bug list.
1174
b8c00573
W
11752014-06-24 Wilco <wdijkstr@arm.com>
1176
1177 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1178
b5570d92
W
11792014-06-24 Wilco <wdijkstr@arm.com>
1180
1181 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1182 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1183 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1184 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1185 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1186 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1187 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1188 Use _FPU_MASK_RM.
1189
947bdca2
W
11902014-06-24 Wilco <wdijkstr@arm.com>
1191
1192 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1193
00f669ed
W
11942014-06-24 Wilco <wdijkstr@arm.com>
1195
1196 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1197 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1198 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1199 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1200
db59bad3
W
12012014-06-24 Wilco <wdijkstr@arm.com>
1202
1203 [BZ #16918]
1204 * sysdeps/arm/feupdateenv.c (feupdateenv):
1205 Rewrite to reduce FPSCR accesses and fix return value.
1206
001f7b77
W
12072014-06-24 Wilco <wdijkstr@arm.com>
1208
1209 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1210 Optimize to avoid unnecessary FPSCR writes.
1211 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1212 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1213 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1214 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1215
4841e6a6
W
12162014-06-24 Wilco <wdijkstr@arm.com>
1217
1218 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1219 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1220 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1221 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1222 Call libc_fetestexcept_vfp.
1223 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1224 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1225 __SOFTFP__ ifdef so that they can be built for softfp.
1226
0813022c
SP
12272014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1228
08e5862f
SP
1229 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1230 argument type signed char.
1231
0813022c
SP
1232 * Makerules (check-abi): Dump diff of symlist if the test
1233 fails.
1234
3fc7236a
RM
12352014-06-23 Roland McGrath <roland@hack.frob.com>
1236
aba8ef95
RM
1237 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1238 using abort.
1239
3fc7236a
RM
1240 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1241 Remove unused variable ST.
1242
4da6db51
JM
12432014-06-23 Joseph Myers <joseph@codesourcery.com>
1244
4648909d
JM
1245 [BZ #16354]
1246 [BZ #17061]
1247 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1248 small arguments before calling __expm1.
1249 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1250 small arguments before calling __expm1f.
1251 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1252 small arguments before calling __expm1l.
1253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1254 Likewise.
1255 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1256 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1257 spurious underflow for some cosh tests.
1258 * math/auto-libm-test-out: Regenerated.
1259 * sysdeps/i386/fpu/libm-test-ulps: Update.
1260
46a3d3c7
JM
1261 [BZ #17050]
1262 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1263 (__ieee754_y1): Set errno if return value overflows.
1264 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1265 (__ieee754_y1f): Set errno if return value overflows.
1266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1267 (__ieee754_y1l): Set errno if return value overflows.
1268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1269 (__ieee754_y1l): Set errno if return value overflows.
1270 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1271 * math/auto-libm-test-out: Regenerated.
1272
863893ec
JM
1273 * math/gen-auto-libm-tests.c: Document use of
1274 ignore-zero-inf-sign.
1275 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1276 (input_flags): Add ignore-zero-inf-sign.
1277 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1278 * math/gen-libm-test.pl (generate_testfile): Handle
1279 ignore-zero-inf-sign.
1280 * math/auto-libm-test-in: Mark some cpow tests with
1281 ignore-zero-inf-sign and some with xfail-rounding.
1282 * math/auto-libm-test-out: Regenerated.
1283 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1284 * sysdeps/i386/fpu/libm-test-ulps: Update.
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1286
4da6db51
JM
1287 [BZ #16315]
1288 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1289 overflowing or underflowing operations take place with sign of
1290 result.
1291 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1292 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1293 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1294 (__ieee754_pow): Recompute overflowing and underflowing results in
1295 original rounding mode.
1296 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1297 (__powl_helper): Allow negative argument X and scale negated value
1298 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1299 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1300 overflowing or underflowing operations take place with sign of
1301 result.
1302 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1303 Include <math.h>.
1304 * math/auto-libm-test-in: Add more tests of pow.
1305 * math/auto-libm-test-out: Regenerated.
1306 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1307 (pow_tonearest_test_data): Remove.
1308 (pow_test_tonearest): Likewise.
1309 (pow_towardzero_test_data): Likewise.
1310 (pow_test_towardzero): Likewise.
1311 (pow_downward_test_data): Likewise.
1312 (pow_test_downward): Likewise.
1313 (pow_upward_test_data): Likewise.
1314 (pow_test_upward): Likewise.
1315 (main): Don't call removed functions.
1316 * sysdeps/i386/fpu/libm-test-ulps: Update.
1317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1318
5686b236
RM
13192014-06-23 Roland McGrath <roland@hack.frob.com>
1320
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1322 Moved ...
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1325 Moved ...
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1328 Moved ...
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1331 Moved ...
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1334 File removed.
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1336 File removed.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1338 File removed.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1340 File removed.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1342 File removed.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1344 File removed.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1346 File removed.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1348 File removed.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1350 File removed.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1352 File removed.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1354 File removed.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1356 File removed.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1358 Moved ...
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1361 Moved ...
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1363 ... here.
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1365 Moved ...
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1368 Moved ...
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1371 Moved ...
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1374 Moved ...
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1377 Moved ...
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1380 Moved ...
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1383 Moved ...
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1387 ... here.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1389 Moved ...
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1392 Moved ...
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1394 ... here.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1396 Moved ...
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1398 ... here.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1400 Moved ...
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1402 ... here.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1404 Moved ...
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1407 Moved ...
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1412 Moved ...
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1414 ... here.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1416 Moved ...
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1418 ... here.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1420 Moved ...
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1423 Moved ...
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1426 Moved ...
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1429 Moved ...
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1432 Moved ...
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1434 ... here.
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1436 Moved ...
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1439 Moved ...
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1442 Moved ...
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1445 Moved ...
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1450 Moved ...
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1453 Moved ...
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1456 Moved ...
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1458 ... here.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1460 Moved ...
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1462 ... here.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1464 Moved ...
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1466 ... here.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1468 Moved ...
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1471 Moved ...
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1474 Moved ...
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1477 Moved ...
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1479 ... here.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1481 Moved ...
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1483 ... here.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1485 Moved ...
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1487 ... here.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1489 Moved ...
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1492 Moved ...
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1494
e6d90d67
WD
14952014-06-23 Will Newton <will.newton@linaro.org>
1496 Wilco <wdijkstr@arm.com>
1497
1498 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1499 implementation. Include get-rounding-mode.h.
1500 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1501 [!libc_feholdsetround_noex_ctx]: Define
1502 libc_feholdsetround_noex_ctx.
1503 [!libc_feholdsetround_noexf_ctx]: Define
1504 libc_feholdsetround_noexf_ctx.
1505 [!libc_feholdsetround_noexl_ctx]: Define
1506 libc_feholdsetround_noexl_ctx.
1507 (libc_feholdsetround_ctx): New function.
1508 (libc_feresetround_ctx): New function.
1509 (libc_feholdsetround_noex_ctx): New function.
1510 (libc_feresetround_noex_ctx): New function.
1511
d42df555
RM
15122014-06-23 Roland McGrath <roland@hack.frob.com>
1513
88a46474
RM
1514 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1515 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1516 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1517 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1518 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1519 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1520
15bed472
RM
1521 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1522 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1523 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1524 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1525 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1526 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1527 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1528 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1529 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1532 Moved ...
1533 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1534 ... here.
1535 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1536 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1537 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1538 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1539 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1540 Moved ...
1541 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1543 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1545 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1549 Moved ...
1550 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1552 Moved ...
1553 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1554 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1555 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1557 Moved ...
1558 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1560 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1562 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1563 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1564 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1565 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1566 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1568 Moved ...
1569 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1570 ... here.
1571 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1572 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1574 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1576 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1577 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1578 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1581 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1584 Moved ...
1585 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1587 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1589 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1591 Moved ...
1592 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1594 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1596 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1597
d42df555
RM
1598 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1599 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1600 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1601 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1609 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1611 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1617 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1621 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1626
76e5216e
JM
16272014-06-23 Joseph Myers <joseph@codesourcery.com>
1628
1629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1630 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1631 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1632 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1633 (IPV6_PMTUDISC_INTERFACE): Likewise.
1634 (IPV6_PMTUDISC_OMIT): Likewise.
1635
7a81cbcc
AS
16362014-06-23 Andreas Schwab <schwab@suse.de>
1637
1638 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1639 Remove unused errout label.
1640
db224009
AZ
16412014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642
1643 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1644 macro: hardware supports Vector Crypto instructions.
1645
f393b4aa
WN
16462014-06-23 Will Newton <will.newton@linaro.org>
1647
cc7d0447
WN
1648 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1649 rather than __builtin_expect.
1650
d6d06225
WN
1651 * elf/dl-lookup.c (undefined_msg): Remove variable.
1652 (_dl_lookup_symbol_x): Replace undefined_msg with string
1653 literal.
1654
f393b4aa
WN
1655 * elf/dl-lookup.c (do_lookup_unique): New function.
1656 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1657 to a separate function.
1658
ac60763e
AS
16592014-06-23 Andreas Schwab <schwab@suse.de>
1660
1661 [BZ #17079]
1662 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1663 before reading the next line.
1664
c5c13355
WN
16652014-06-23 Will Newton <will.newton@linaro.org>
1666
1667 * test-skeleton.c (signal_handler): Use printf and %m
1668 rather than perror. Use printf rather than fprintf to
1669 stderr. Use puts rather than fputs to stderr.
1670 (main): Likewise.
1671
bd3675f9
LC
16722014-06-22 Ludovic Courtès <ludo@gnu.org>
1673
1674 * nscd/nscd.c (thread_info_t): Remove typedef.
1675 (thread_info): Remove variable.
1676
d03efb2f
AM
16772014-06-21 Allan McRae <allan@archlinux.org>
1678
1679 * NEWS: Mention CVE-2014-4043.
1680
bc4a86fa
RM
16812014-06-20 Roland McGrath <roland@hack.frob.com>
1682
dc9a54f8
RM
1683 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1684 * nptl/smp.h: ... here.
1685
bd7022c4
RM
1686 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1687
26ffd5e6
RM
1688 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1689 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1690 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1691 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1692
93a6d082
RM
1693 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1694 * nptl/stack-aliasing.h: New file.
1695 * sysdeps/i386/i686/stack-aliasing.h: New file.
1696 * sysdeps/i386/i686/nptl/Makefile: File removed.
1697 * sysdeps/x86_64/stack-aliasing.h: New file.
1698 * sysdeps/x86_64/nptl/Makefile
1699 (CFLAGS-pthread_create.c): Variable removed.
1700
bc4a86fa
RM
1701 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1702 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1703 old file.
1704 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1705 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1706 old file.
1707
2272ffc1
JM
17082014-06-21 Joseph Myers <joseph@codesourcery.com>
1709
1710 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1711 (__ASSUME_SIGFRAME_V2): Remove macro.
1712 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1713 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1714 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1715 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1716 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1717 Declare as function. Remove conditional macro definitions.
1718 (__default_rt_sa_restorer): Likewise.
1719 (__default_sa_restorer_v1): Remove declaration.
1720 (__default_sa_restorer_v2): Likewise.
1721 (__default_rt_sa_restorer_v1): Likewise.
1722 (__default_rt_sa_restorer_v2): Likewise.
1723 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1724 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1725 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1726
4b88139b
RM
17272014-06-20 Roland McGrath <roland@hack.frob.com>
1728
1729 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1730 (libpthread-routines): Add sysdep.
1731 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1732 * sysdeps/unix/sysv/linux/sparc/Versions
1733 (libpthread: GLIBC_2.3.3): New version set.
1734 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1735 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1736 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1738 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1739 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1740 Moved ...
1741 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1742 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1743 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1744 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1745 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1746 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1747 * sysdeps/sparc/nptl/sem_init.c: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1749 * sysdeps/sparc/nptl/sem_post.c: ... here.
1750 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1751 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1753 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1754 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1755 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1756 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1757 (libpthread-routines): Add cpu_relax.
1758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1759 File removed.
1760 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1761 (librt: GLIBC_2.3.3): New version set.
1762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1763 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1764 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1765 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1768 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1770 Moved ...
1771 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1773 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1775 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1777 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1779 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1781 Moved ...
1782 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1783 Update #include.
1784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1785 Moved ...
1786 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1787 Update #include.
1788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1789 Moved ...
1790 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1791 Update #include.
1792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1793 Moved ...
1794 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1795 Update #include.
1796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1797 Moved ...
1798 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1799 Update #include.
1800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1801 Moved ...
1802 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1803 Update #include.
1804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1805 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1811 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1815 Moved ...
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1821
d7109027
JM
18222014-06-20 Joseph Myers <joseph@codesourcery.com>
1823
9bc6103d
JM
1824 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1825 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1826 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1827 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1828 * nscd/nscd.c: Likewise.
1829 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1830 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1831 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1832 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1833
d7109027
JM
1834 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1835 <kernel-features.h>.
1836 (init_mq_netlink): Remove conditional have_sock_cloexec
1837 definitions. Remove code conditional on have_sock_cloexec < 0.
1838 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1839 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1840 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1841 <kernel-features.h>.
1842 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1843 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1844
d92d8f8a
L
18452014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1848 Add tests for memset_chk and memset.
1849
1850 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1851 with AVX2_Usable.
1852
4e6d2347
MR
18532014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1854
257ce712
MR
1855 [BZ #16046]
1856 * elf/tst-dl-iter-static.c: New file.
1857 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1858
4e6d2347
MR
1859 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1860 error.
1861
a2a76afe
JM
18622014-06-20 Joseph Myers <joseph@codesourcery.com>
1863
7fd00f99
JM
1864 * sysdeps/unix/sysv/linux/kernel-features.h
1865 (__ASSUME_F_GETOWN_EX): Remove macro.
1866 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1867 <kernel-features.h>.
1868 (miss_F_GETOWN_EX): Remove variable or macro.
1869 (do_fcntl): Do not check miss_F_GETOWN_EX.
1870 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1871
4a103975
JM
1872 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1873 Remove macro.
1874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1875 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1876 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1877
a2a76afe
JM
1878 * sysdeps/unix/sysv/linux/kernel-features.h
1879 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1880 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1881 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1882 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1883
90e5dd48
MR
18842014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1885
1886 [BZ #17075]
1887 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1888 Fix calculation of the symbol's value.
1889 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1890 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1891 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1892 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1893 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1894 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1895 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1896 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1897 (modules-names): Add `tst-armtlsdescmod',
1898 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1899 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1900 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1901 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1902 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1903 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1904 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1905 ($(objpfx)tst-armtlsdescloc): New dependency.
1906 ($(objpfx)tst-armtlsdescextnow): Likewise.
1907 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1908 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1909 TLS scheme support.
1910 * sysdeps/arm/configure: Regenerate.
1911
809fdf0d
JM
19122014-06-20 Joseph Myers <joseph@codesourcery.com>
1913
1914 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1915 (__atfct_seterrno_2): Likewise.
1916 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1917 <kernel-features.h>.
1918 (__ASSUME_ATFCTS): Do not undefine and redefine.
1919 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1920 (__have_atfcts): Remove conditional definition.
1921 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1922 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1923 unreachable if [__ASSUME_ATFCTS].
1924 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1925 not undefine and redefine.
1926 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1927 <kernel-features.h>.
1928 (faccessat) [__NR_faccessat]: Make code unconditional.
1929 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1930 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1931 <kernel-features.h>.
1932 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1933 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1934 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1935 <kernel-features.h>.
1936 (fchownat) [__NR_fchownat]: Make code unconditional.
1937 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1938 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1939 <kernel-features.h>.
1940 (futimesat) [__NR_futimesat]: Make code unconditional.
1941 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1942 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1943 <kernel-features.h>.
1944 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1945 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1946 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1947 <kernel-features.h>.
1948 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1949 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1950 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1951 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1952 <kernel-features.h>.
1953 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1954 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1955 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1956 <kernel-features.h>.
1957 (linkat) [__NR_linkat]: Make code unconditional.
1958 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1959 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1960 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1961 <kernel-features.h>.
1962 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1963 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1964 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1965 <kernel-features.h>.
1966 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1967 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1968 * sysdeps/unix/sysv/linux/openat.c: Do not include
1969 <kernel-features.h>.
1970 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1971 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1972 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1973 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1975 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1976 <kernel-features.h>.
1977 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1978 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1979 result of INLINE_SYSCALL directly, not via int variable.
1980 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1981 <kernel-features.h>.
1982 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1983 (renameat) [__NR_renameat]: Make code unconditional.
1984 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1986 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1987 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1988 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1989 (__ASSUME_ATFCTS): Do not undefine and redefine.
1990 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1991 <kernel-features.h>.
1992 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1993 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1994 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1995 <kernel-features.h>.
1996 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1997 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1998 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1999 (__ASSUME_ATFCTS): Do not undefine and redefine.
2000 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2001 <kernel-features.h>.
2002 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2003 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2004 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2005 <kernel-features.h>.
2006 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2007 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2008
224c6c51
L
20092014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2012
aa6ec754
AS
20132014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2014
2015 [BZ #17069]
2016 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2017 constructed tree before returning error.
2018 * posix/bug-regexp36.c: Expand test case.
2019
d8c2869d
SL
20202014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2021
3ef6b850
SL
2022 [BZ #6803]
2023 * math/libm-test.inc (scalbln_test_date):
2024 Add errno expectations.
2025 * math/w_scalblnf.c: New File.
2026 Add wrapper which checks for setting errno to ERANGE.
2027 Add weak_alias for corresponding scalbln function.
2028 * math/w_scalbln.c: Likewise.
2029 * math/w_scalblnl.c: Likewise.
2030 * math/Makefile (libm-calls): Add w_scalbln.
2031 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2032 Remove weak_alias for corresponding scalbln function.
2033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2035 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2037 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2038 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2039 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2040 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2041 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2042 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2043 Remove long_double_symbol for scalblnl function in libm, libc.
2044 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2045 Add wrapper which checks for setting errno to ERANGE.
2046 Add long_double_symbol for scalblnl function in libm, libc.
2047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2048 Remove long_double_symbol for scalblnl in libm.
2049 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2050 Add wrapper which checks for setting errno to ERANGE.
2051 Add long_double_symbol for scalblnl function in libm.
2052 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2053 Do not use wrapper because of own implementation.
2054
c8daec5c
L
20552014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2058 3 bytes for __pad1 for x32.
2059 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2060
5c74e47c
LM
20612014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2062 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2065 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2066 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2067 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2068 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2069
4d43ef1e
AS
20702014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2071
2072 [BZ #17069]
2073 * posix/regcomp.c (parse_expression): Deallocate partially
2074 constructed tree before returning error.
2075 * posix/Makefile.c (tests): Add bug-regex36.
2076 (generated): Add bug-regex36.mtrace.
2077 (tests-special): Add $(objpfx)bug-regex36-mem.out
2078 (bug-regex36-ENV): New variable.
2079 ($(objpfx)bug-regex36-mem.out): New rule.
2080 * posix/bug-regex36.c: New file.
2081
51a7380b
WN
20822014-06-19 Will Newton <will.newton@linaro.org>
2083
2084 * malloc/malloc.c (systrim): If extra is zero then return
2085 early.
2086
91b84fe5
SP
20872014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2088
2089 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2090
f940b965
RE
20912014-06-19 Richard Earnshaw <rearnsha@arm.com>
2092
2093 * sysdeps/aarch64/strchr.S: New file.
2094
4ba7a00f
JM
20952014-06-18 Joseph Myers <joseph@codesourcery.com>
2096
2097 [BZ #17022]
2098 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2099 from arguments -2 or below.
2100 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2101 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2102
b3a9f56b
AS
21032014-06-18 Andreas Schwab <schwab@suse.de>
2104
2105 [BZ #17062]
2106 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2107 of a bracket expr not to run off the end of the string.
2108 * posix/Makefile (tests): Add tst-fnmatch3.
2109 * posix/tst-fnmatch3.c: New file.
2110
85d89278
JM
21112014-06-18 Joseph Myers <joseph@codesourcery.com>
2112
2113 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2114 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2115 [$(cross-compiling) = no]: Likewise.
2116 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2117 [$(cross-compiling) = no]: Likewise.
2118
754c5a08
RS
21192014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2120
2121 [BZ #17031]
2122 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2123 double, adjusted for any remainder from the high double.
2124 * math/libm-test.inc (nearbyint): Add tests.
2125 (rint): Likewise.
2126
556f529d
AZ
21272014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2128
2129 * nptl/sysdeps/powerpc/Makefile: Moved ...
2130 * sysdeps/powerpc/nptl/Makefile: ... here.
2131 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2132 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2133 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2134 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2135 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2136 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2137 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2138 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2139 * nptl/sysdeps/powerpc/tls.h: Moved ...
2140 * sysdeps/powerpc/nptl/tls.h: ... here.
2141
91c03c53
JM
21422014-06-16 Joseph Myers <joseph@codesourcery.com>
2143
2144 [BZ #16681]
2145 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2146 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2147 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2148 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2149 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2150 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2151 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2152 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2153 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2154
a76e63c5
AS
21552014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2156
2157 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2158
f2f6d82f
AS
21592014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2160
ea8a15f6
AS
2161 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2162 defined operator.
2163
f2f6d82f
AS
2164 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2165 $TIMEOUTFACTOR.
2166
a7291117
FW
21672014-06-16 Florian Weimer <fweimer@redhat.com>
2168
2169 [BZ #17058]
2170 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2171 non-executed part of the test.
2172
3d7c00e3
AS
21732014-06-16 Andreas Schwab <schwab@suse.de>
2174
2175 * string/bits/string2.h (strdup, strndup): Update feature guard.
2176
6957fb31
DM
21772014-06-14 David S. Miller <davem@davemloft.net>
2178
2179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2180
11b9e55b
AS
21812014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2182
1d2a0492
AS
2183 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2184 that was previously under [RESET_PID].
2185 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2186
11b9e55b
AS
2187 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2188 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2189 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2190 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2191 (__libc_vfork): New strong alias.
2192 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2193
0f6901d0
AK
21942014-06-14 Andi Kleen <ak@linux.intel.com>
2195
2196 * sysdeps/generic/elide.h: New file.
2197
38bbbb9f
SL
21982014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2199
2200 * Makefile (installed-headers): Adjust path of pthread.h header.
2201
45193bb8
RM
22022014-06-13 Roland McGrath <roland@hack.frob.com>
2203
9a25fd1e
RM
2204 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2205 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2207 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2208
4004f7e4
RM
2209 * nptl/sysdeps/s390/Makefile: Moved ...
2210 * sysdeps/s390/nptl/Makefile: ... here.
2211 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2212 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2213 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2214 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2215 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2216 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2217 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2218 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2219 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2220 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2221 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2222 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2223 * nptl/sysdeps/s390/tls.h: Moved ...
2224 * sysdeps/s390/nptl/tls.h: ... here.
2225
45193bb8
RM
2226 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2227 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2228
f6fdf533
DM
22292014-06-13 David S. Miller <davem@davemloft.net>
2230
2231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2238 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2239 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2240 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2242 Remove RESET_PID cpp guards.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2244 Remove RESET_PID cpp guards.
2245 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2246
f5d71e14
AS
22472014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2248
2249 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2250 __sp to uintptr_t.
2251
b7aa8caa
AK
22522014-06-13 Andi Kleen <ak@linux.intel.com>
2253
4b266200
AZ
2254 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2255 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2256 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2259 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2261 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2263 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2264 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2265 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2266 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2267 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2269 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2270 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2271 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2272 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2273 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2274
2275 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2276 (pthread_rwlock_rdlock): Add elision.
2277 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2278 (pthread_rwlock_wrlock): Add elision.
2279 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2280 (pthread_rwlock_trywrlock): Add elision.
2281 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2282 (pthread_rwlock_tryrdlock): Add elision.
2283 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2284 (pthread_rwlock_tryrdlock): Add elision unlock.
2285 * nptl/sysdeps/pthread/pthread.h:
2286 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2287 (PTHREAD_RWLOCK_INITIALIZER,
2288 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2289 Handle new elision field.
2290 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2291 * sysdeps/arm/nptl/bits/pthreadtypes.h
2292 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2293 * sysdeps/sh/nptl/bits/pthreadtypes.h
2294 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2295 * sysdeps/tile/nptl/bits/pthreadtypes.h
2296 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2297 * sysdeps/a/nptl/bits/pthreadtypes.h
2298 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2299 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2300 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2301 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2303 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2304 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2305 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2307 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2309 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2311 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2312 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2313 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2315 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2316 (elision_init): Set try_xbegin to zero when no RTM.
2317 * sysdeps/x86/nptl/bits/pthreadtypes.h
2318 (pthread_rwlock_t): Change __pad1 to __rwelision.
2319 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2320
a832bdd3
AK
23212014-06-13 Andi Kleen <ak@linux.intel.com>
2322
2323 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2324 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2325 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2326 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2327
995a46bb
MI
23282014-06-13 Meador Inge <meadori@codesourcery.com>
2329
2330 [BZ #16996]
03ed7738 2331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2332 that the cached result has been set before returning it.
2333
45262aee
RM
23342014-06-12 Roland McGrath <roland@hack.frob.com>
2335
febf6cc5
RM
2336 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2337 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2339 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2340 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2341 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2342
e2682246
RM
2343 * nptl/sysdeps/sparc/Makefile: Moved ...
2344 * sysdeps/sparc/nptl/Makefile: ... here.
2345 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2346 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2347 * nptl/sysdeps/sparc/tls.h: Moved ...
2348 * sysdeps/sparc/nptl/tls.h: ... here.
2349 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2350 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2351 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2352 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2353 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2354 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2355 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2356 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2357 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2358 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2359 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2360 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2361 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2362 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2363 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2364 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2365 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2366 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2367 Update #include.
2368 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2369 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2370 Update #include.
2371 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2372 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2373 Update #include.
2374 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2375 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2376 Update #include.
2377
b0725f43
RM
2378 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2379
b14368b8
RM
2380 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2381 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2382
c5620eb3
RM
2383 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2384 (struct list_links): Type removed.
2385 (struct thread_node, struct timer_node): Replace struct list_links
2386 with struct list_head.
2387 (list_unlink_ip): Likewise.
2388 * sysdeps/pthread/timer_routines.c
2389 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2390 (list_append, list_insbefore): Likewise.
2391 (list_init): Function removed.
2392 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2393 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2394 * sysdeps/pthread/Makefile: ... here, new file.
2395
2396 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2397 * sysdeps/nptl/Implies: ... here.
2398 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2399 * nptl/sysdeps/pthread/list.h: Moved ...
2400 * include/list.h: ... here.
2401 * nptl/sysdeps/pthread/createthread.c: Moved ...
2402 * nptl/createthread.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2404 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2405 * nptl/pt-longjmp.c: ... here.
2406 * nptl/sysdeps/pthread/Makefile: Moved ...
2407 * sysdeps/nptl/Makefile: ... here.
2408 * nptl/sysdeps/pthread/Subdirs: Moved ...
2409 * sysdeps/nptl/Subdirs: ... here.
2410 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2411 * sysdeps/nptl/aio_misc.h: ... here.
2412 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2413 * sysdeps/nptl/bits/libc-lock.h: ... here.
2414 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2415 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2416 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2417 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2418 * nptl/sysdeps/pthread/configure: Moved ...
2419 * sysdeps/nptl/configure: ... here.
2420 * nptl/sysdeps/pthread/configure.ac: Moved ...
2421 * sysdeps/nptl/configure.ac: ... here.
2422 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2423 * sysdeps/nptl/gai_misc.h: ... here.
2424 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2425 * sysdeps/nptl/librt-cancellation.c: ... here.
2426 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2427 * sysdeps/nptl/malloc-machine.h: ... here.
2428 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2429 * sysdeps/nptl/pthread-functions.h: ... here.
2430 * nptl/sysdeps/pthread/pthread.h: Moved ...
2431 * sysdeps/nptl/pthread.h: ... here.
2432 * nptl/sysdeps/pthread/setxid.h: Moved ...
2433 * sysdeps/nptl/setxid.h: ... here.
2434 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2435 * sysdeps/nptl/sigfillset.c: ... here.
2436 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2437 * sysdeps/nptl/tcb-offsets.h: ... here.
2438 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2439 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2440 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2441 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2442 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2443 * sysdeps/pthread/allocalim.h: ... here.
2444 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2445 * sysdeps/pthread/bits/sigthread.h: ... here.
2446 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2447 * sysdeps/pthread/flockfile.c: ... here.
2448 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2449 * sysdeps/pthread/ftrylockfile.c: ... here.
2450 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2451 * sysdeps/pthread/funlockfile.c: ... here.
2452 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2453 * sysdeps/pthread/posix-timer.h: ... here.
2454 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2455 * sysdeps/pthread/timer_create.c: ... here.
2456 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2457 * sysdeps/pthread/timer_delete.c: ... here.
2458 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2459 * sysdeps/pthread/timer_getoverr.c: ... here.
2460 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2461 * sysdeps/pthread/timer_gettime.c: ... here.
2462 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2463 * sysdeps/pthread/timer_routines.c: ... here.
2464 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2465 * sysdeps/pthread/timer_settime.c: ... here.
2466 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2467 * sysdeps/pthread/tst-timer.c: ... here.
2468 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2469 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2470
e876b090
RM
2471 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2472 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2473
f6b07b3d
RM
2474 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2475 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2476 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2477 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2478 Update #include target.
2479 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2480 * sysdeps/i386/i686/nptl/Makefile: ... here.
2481 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2482 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2483 Update #include target.
2484 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2485 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2486 * nptl/sysdeps/i386/Makefile: Moved ...
2487 * sysdeps/i386/nptl/Makefile: ... here.
2488 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2489 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2490 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2491 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2492 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2493 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2494 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2495 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2496 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2497 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2498 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2499 * nptl/sysdeps/i386/tls.h: Moved ...
2500 * sysdeps/i386/nptl/tls.h: ... here.
2501
45262aee
RM
2502 * sysdeps/sh/Makefile [$(subdir) = csu]
2503 (gen-as-const-headers): Add tcb-offsets.sym.
2504 * nptl/sysdeps/sh/Makefile: File removed.
2505 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2506 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2507 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2508 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2509 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2510 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2511 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2512 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2513 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2514 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2515 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2516 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2517 * nptl/sysdeps/sh/tls.h: Moved ...
2518 * sysdeps/sh/nptl/tls.h: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2520 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2521 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2522 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2523 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2524 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2525 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2526 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2527 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2528 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2529 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2530 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2532 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2534 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2535 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2536 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2537 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2538 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2540 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2541 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2542 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2543 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2544 Moved ...
2545 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2547 Moved ...
2548 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2550 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2552 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2554 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2556 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2558 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2560 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2562 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2564 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2566 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2567
35a5e3e3
SL
25682014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2569
2570 * posix/spawn_faction_addopen.c: Include string.h.
2571
14642b85
RM
25722014-06-11 Roland McGrath <roland@hack.frob.com>
2573
2574 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2575 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2576 * nptl/sysdeps/x86_64/Makefile: Moved ...
2577 * sysdeps/x86_64/nptl/Makefile: ... here.
2578 * nptl/sysdeps/x86_64/configure: Moved ...
2579 * sysdeps/x86_64/nptl/configure: ... here.
2580 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2581 * sysdeps/x86_64/nptl/configure.ac: ... here.
2582 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2583 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2584 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2585 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2586 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2587 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2588 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2589 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2590 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2591 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2592 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2593 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2594 * nptl/sysdeps/x86_64/tls.h: Moved ...
2595 * sysdeps/x86_64/nptl/tls.h: ... here.
2596 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2597 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2598 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2599 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2600
2601 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2602
31c44fea
AZ
26032014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604
2605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2606
e81a4f9a
JM
26072014-06-11 Joseph Myers <joseph@codesourcery.com>
2608
2609 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2610 type.
2611 [POSIX] (off_t): Likewise.
2612 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2613 [POSIX] (S_ISBLK): Require macro.
2614 [POSIX] (S_ISCHR): Likewise.
2615 [POSIX] (S_ISDIR): Likewise.
2616 [POSIX] (S_ISFIFO): Likewise.
2617 [POSIX] (S_ISREG): Likewise.
2618 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2619 optional-macro.
2620 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2621 type.
2622 [POSIX] (time_t): Likewise.
2623 [POSIX] (timer_t): Likewise.
2624
89e435f3
FW
26252014-06-11 Florian Weimer <fweimer@redhat.com>
2626
2627 [BZ #17048]
2628 * posix/spawn_int.h (struct __spawn_action): Make the path string
2629 non-const to support deallocation.
2630 * posix/spawn_faction_addopen.c
2631 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2632 * posix/spawn_faction_destroy.c
2633 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2634 path in all spawn_do_open actions.
2635 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2636 posix_spawn_file_actions_addopen.
2637
c3a2ebe1
CM
26382014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2639
2640 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2641 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2642 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2643 conditional code always true.
2644 (__libc_vfork): New alias.
2645
9503784a
RM
26462014-06-11 Roland McGrath <roland@hack.frob.com>
2647
c9cab3d2
RM
2648 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2649 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2650
d3996c79
RM
2651 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2652
ba5ec611
RM
2653 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2654 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2655
f12b4814
RM
2656 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2657 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2658
9503784a
RM
2659 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2660 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2661
e23d3d26
VR
26622014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2663
2664 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2665 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2666 multiarch strcmp for PPC64.
2667 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2668 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2670 multiarch optimizations.
2671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2672 (__libc_ifunc_impl_list): Likewise.
2673
42b1161e
SP
26742014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
2676 * benchtests/scripts/validate_benchout.py: New script.
2677 * benchtests/Makefile (bench-func): Call it.
2678 * benchtests/scripts/benchout.schema.json: New file.
2679
2d0fc4dc
CM
26802014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2681
4a594c34
AZ
2682 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2683 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2684 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2685 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2686 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2687 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2688 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2689 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2690 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2691 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2692 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2693 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2694 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2695 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2696 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2697 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2699 Moved ...
4a594c34 2700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2701 ... here.
4a594c34 2702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2703 Moved ...
4a594c34
AZ
2704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2706 Moved ...
4a594c34 2707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2708 ... here.
4a594c34 2709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2710 Moved ...
4a594c34 2711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2712 ... here.
4a594c34 2713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2714 Moved ...
4a594c34
AZ
2715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2717 Moved ...
4a594c34 2718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2719 ... here.
4a594c34 2720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2721 Moved ...
4a594c34 2722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2723 ... here.
4a594c34 2724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2725 Moved ...
4a594c34
AZ
2726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2728 Moved ...
4a594c34 2729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2730 ... here.
4a594c34 2731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2732 Moved ...
4a594c34 2733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2734 ... here.
4a594c34 2735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2736 Moved ...
4a594c34 2737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2738 ... here.
4a594c34 2739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2740 Moved ...
4a594c34
AZ
2741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2743 Moved ...
4a594c34 2744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2745 ... here.
4a594c34 2746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2747 Moved ...
4a594c34 2748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2749 ... here.
4a594c34 2750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2751 Moved ...
4a594c34 2752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2753 ... here.
4a594c34 2754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2755 Moved ...
4a594c34
AZ
2756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2758 Moved ...
4a594c34 2759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2760 ... here.
4a594c34 2761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2762 Moved ...
4a594c34 2763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2764 ... here.
4a594c34 2765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2766 Moved ...
4a594c34
AZ
2767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2769 Moved ...
4a594c34 2770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2771 ... here.
4a594c34 2772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2773 Moved ...
4a594c34
AZ
2774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2776 Moved ...
4a594c34
AZ
2777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2779 Moved ...
4a594c34 2780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2781 ... here.
4a594c34 2782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2783 Moved ...
4a594c34 2784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2785 ... here.
4a594c34 2786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2787 Moved ...
4a594c34 2788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2789 ... here.
4a594c34 2790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2791 Moved ...
4a594c34
AZ
2792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2794 Moved ...
4a594c34 2795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2796 ... here.
4a594c34 2797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2798 Moved ...
4a594c34 2799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2800 ... here.
4a594c34
AZ
2801 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2802 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2803 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2806 Moved ...
4a594c34 2807 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2808 ... here.
4a594c34
AZ
2809 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2822 Moved ...
4a594c34
AZ
2823 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2825 Moved ...
4a594c34
AZ
2826 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2830 Moved ...
4a594c34
AZ
2831 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2835 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2836 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2837 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2838
0570cfed
W
28392014-06-10 Wilco <wdijkstr@arm.com>
2840
2841 * math/test-fenv-return.c: New file.
2842 * math/Makefile: Add new test test-fenv-return.
2843
f8ba1b56
JM
28442014-06-10 Joseph Myers <joseph@codesourcery.com>
2845
2846 [BZ #17042]
2847 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2848 when x - 1 is zero.
2849 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2850 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2851 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2852 0.0L for an argument of 1.0L.
2853 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2854 Likewise.
2855 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2856 value when x - 1 is zero.
2857 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2858 * sysdeps/i386/fpu/libm-test-ulps: Update.
2859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2860
2c3520d9
BO
28612014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2862
2863 [BZ #15119]
2864 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2865
acaa4d24
RM
28662014-06-09 Roland McGrath <roland@hack.frob.com>
2867
2868 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2869 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2870
962b744d
RM
28712014-06-09 Roland McGrath <roland@hack.frob.com>
2872
d752f0cc
RM
2873 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2874 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2875
34eda6d1
RM
2876 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2877 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2878
50f0a637
RM
2879 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2880 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2881
08f41f04
RM
2882 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2883 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2884
962b744d
RM
2885 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2886 if not already defined.
2887 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2888 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2889 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2890 (TLS_INIT_TP): Use it.
2891 (TLS_DEFINE_INIT_TP): New macro.
2892 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2893
09f19b05
JM
28942014-06-09 Joseph Myers <joseph@codesourcery.com>
2895
2896 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2897 constant.
2898 [POSIX] (IXANY): Likewise.
2899 [POSIX] (OLCUC): Likewise.
2900 [POSIX || POSIX2008] (CBAUD): Do not allow.
2901 [POSIX || POSIX2008] (DEFECHO): Likewise.
2902 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2903 [POSIX || POSIX2008] (ECHOKE): Likewise.
2904 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2905 [POSIX || POSIX2008] (EXTA): Likewise.
2906 [POSIX || POSIX2008] (EXTB): Likewise.
2907 [POSIX || POSIX2008] (FLUSHO): Likewise.
2908 [POSIX || POSIX2008] (LOBLK): Likewise.
2909 [POSIX || POSIX2008] (PENDIN): Likewise.
2910 [POSIX || POSIX2008] (SWTCH): Likewise.
2911 [POSIX || POSIX2008] (VDISCARD): Likewise.
2912 [POSIX || POSIX2008] (VDSUSP): Likewise.
2913 [POSIX || POSIX2008] (VLNEXT): Likewise.
2914 [POSIX || POSIX2008] (VREPRINT): Likewise.
2915 [POSIX || POSIX2008] (VSTATUS): Likewise.
2916 [POSIX || POSIX2008] (VWERASE): Likewise.
2917 (B*): Change to B[0123456789]*.
2918 * conform/data/time.h-data [POSIX || UNIX98]
2919 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2920 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2921 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2922 [POSIX] (tm_*): Do not allow.
2923
686554bf
JM
29242014-06-07 Joseph Myers <joseph@codesourcery.com>
2925
2926 * Makefile (install): Don't set LANGUAGE.
2927 * Makefile.in (install): Likewise.
2928 * assert/Makefile (test-assert-ENV): Remove variable.
2929 (test-assert-perr-ENV): Likewise.
2930 * elf/Makefile (neededtest4-ENV): Likewise.
2931 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2932 [$(cross-compiling) = no]: Don't set LANGUAGE.
2933 * io/ftwtest-sh (LANG): Remove variable.
2934 * libio/Makefile (tst-widetext-ENV): Likewise.
2935 * manual/install.texi (Running make install): Don't refer to
2936 environment settings for make install.
2937 * INSTALL: Regenerated.
2938 * nptl/tst-tls6.sh: Don't set LANG.
2939 * posix/globtest.sh (LANG): Remove variable.
2940 * string/Makefile (tester-ENV): Likewise.
2941 (inl-tester-ENV): Likewise.
2942 (noinl-tester-ENV): Likewise.
2943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2944 [$(cross-compiling) = no]: Don't set LANGUAGE.
2945 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2946 without explicit environment settings.
2947
68e6b6b1
RM
29482014-06-06 Roland McGrath <roland@hack.frob.com>
2949
2950 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2951 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2952 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2953 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2954
4d3ae034
CM
29552014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2956
2957 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2958 other files in the crypt directory.
2959 * crypt/crypt.c: Remove duplicate includes.
2960 * crypt/crypt-entry.c: Likewise.
2961 * crypt/crypt_util.c: Likewise.
2962
8540f6d2
JM
29632014-06-06 Joseph Myers <joseph@codesourcery.com>
2964
2965 * Makeconfig (run-program-env): New variable.
2966 (run-program-prefix-before-env): Likewise.
2967 (run-program-prefix-after-env): Likewise.
2968 (run-program-prefix): Define in terms of new variables.
2969 (built-program-cmd-before-env): New variable.
2970 (built-program-cmd-after-env): Likewise.
2971 (built-program-cmd): Define in terms of new variables.
2972 (test-program-prefix-before-env): New variable.
2973 (test-program-prefix-after-env): Likewise.
2974 (test-program-prefix): Define in terms of new variables.
2975 (test-program-cmd-before-env): New variable.
2976 (test-program-cmd-after-env): Likewise.
2977 (test-program-cmd): Define in terms of new variables.
2978 * Rules (make-test-out): Use $(run-program-env).
2979 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2980 (help): Do not mention environment variables. Mention
2981 --timeoutfactor option.
2982 (timeoutfactor): New variable.
2983 (blacklist_exports): Remove function.
2984 (exports): Remove variable.
2985 (command): Do not include ${exports}.
2986 * manual/install.texi (Configuring and compiling): Do not mention
2987 test wrappers preserving environment variables. Mention that last
2988 assignment to a variable must take precedence.
2989 * INSTALL: Regenerated.
2990 * benchtests/Makefile (run-bench): Use $(run-program-env).
2991 * catgets/Makefile ($(objpfx)test1.cat): Use
2992 $(built-program-cmd-before-env), $(run-program-env) and
2993 $(built-program-cmd-after-env).
2994 ($(objpfx)test2.cat): Do not specify environment variables
2995 explicitly.
2996 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2997 $(run-program-env) and $(built-program-cmd-after-env).
2998 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2999 $(run-program-env) and $(test-program-cmd-after-env).
3000 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3001 explicitly.
3002 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3003 run_program_env and test_program_cmd_after_env arguments.
3004 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3005 * elf/tst-pathopt.sh: Use run_program_env argument.
3006 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3007 $(test-wrapper-env) and $(run-program-env).
3008 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3009 run_program_env arguments.
3010 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3011 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3012 $(test-program-prefix-before-env), $(run-program-env) and
3013 $(test-program-prefix-after-env).
3014 ($(objpfx)tst-gettext2.out): Likewise.
3015 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3016 run_program_env and test_program_prefix_after_env arguments.
3017 * intl/tst-gettext2.sh: Likewise.
3018 * intl/tst-gettext4.sh: Do not set environment variables
3019 explicitly.
3020 * intl/tst-gettext6.sh: Likewise.
3021 * intl/tst-translit.sh: Likewise.
3022 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3023 $(test-program-prefix-before-env), $(run-program-env) and
3024 $(test-program-prefix-after-env).
3025 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3026 run_program_env and test_program_prefix_after_env arguments.
3027 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3028 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3029 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3030 explicitly with each use of ${test_wrapper_env}.
3031 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3032 $(test-program-prefix-before-env), $(run-program-env) and
3033 $(test-program-prefix-after-env).
3034 * posix/tst-getconf.sh: Do not set environment variables
3035 explicitly.
3036 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3037 run_program_env and test_program_prefix_after_env arguments.
3038 * stdio-common/tst-printf.sh: Do not set environment variables
3039 explicitly.
3040 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3041 $(test-program-prefix-before-env), $(run-program-env) and
3042 $(test-program-prefix-after-env).
3043 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3044 run_program_env and test_program_prefix_after_env arguments.
3045 Split $test calls into $test_pre and $test.
3046 * timezone/Makefile (build-testdata): Use
3047 $(built-program-cmd-before-env), $(run-program-env) and
3048 $(built-program-cmd-after-env).
3049
ed36bfa1
AZ
30502014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051
3052 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3053 strlen for non SHARED builds.
3054
fc75bf46
SP
30552014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3056
3057 * nptl/allocatestack.c (check_list): Inlined function...
3058 (__reclaim_stacks): ... here.
3059
d89b3d80
OB
30602014-06-05 Ondřej Bílka <neleai@seznam.cz>
3061
3062 [BZ #15698]
3063 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3064 memory overrun.
3065
2bf18041
JM
30662014-06-05 Joseph Myers <joseph@codesourcery.com>
3067
3068 * Rules (make-test-out): Include
3069 LOCPATH=$(common-objpfx)localedata in default environment.
3070 * debug/Makefile (tst-chk1-ENV): Remove variable.
3071 (tst-chk2-ENV): Likewise.
3072 (tst-chk3-ENV): Likewise.
3073 (tst-chk4-ENV): Likewise.
3074 (tst-chk5-ENV): Likewise.
3075 (tst-chk6-ENV): Likewise.
3076 (tst-lfschk1-ENV): Likewise.
3077 (tst-lfschk2-ENV): Likewise.
3078 (tst-lfschk3-ENV): Likewise.
3079 (tst-lfschk4-ENV): Likewise.
3080 (tst-lfschk5-ENV): Likewise.
3081 (tst-lfschk6-ENV): Likewise.
3082 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3083 (tst-iconv7-ENV): Likewise.
3084 * intl/Makefile (LOCPATH-ENV): Likewise.
3085 (tst-codeset-ENV): Likewise.
3086 (tst-gettext3-ENV): Likewise.
3087 (tst-gettext5-ENV): Likewise.
3088 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3089 (tst-fopenloc-ENV): Likewise.
3090 (tst-fgetws-ENV): Remove variable.
3091 (tst-ungetwc1-ENV): Likewise.
3092 (tst-ungetwc2-ENV): Likewise.
3093 (bug-ungetwc2-ENV): Likewise.
3094 (tst-swscanf-ENV): Likewise.
3095 (bug-ftell-ENV): Likewise.
3096 (tst-fgetwc-ENV): Likewise.
3097 (tst-fseek-ENV): Likewise.
3098 (tst-ftell-partial-wide-ENV): Likewise.
3099 (tst-ftell-active-handler-ENV): Likewise.
3100 (tst-ftell-append-ENV): Likewise.
3101 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3102 (tst-regexloc-ENV): Likewise.
3103 (bug-regex1-ENV): Likewise.
3104 (tst-regex-ENV): Likewise.
3105 (tst-regex2-ENV): Likewise.
3106 (bug-regex5-ENV): Likewise.
3107 (bug-regex6-ENV): Likewise.
3108 (bug-regex17-ENV): Likewise.
3109 (bug-regex18-ENV): Likewise.
3110 (bug-regex19-ENV): Likewise.
3111 (bug-regex20-ENV): Likewise.
3112 (bug-regex22-ENV): Likewise.
3113 (bug-regex23-ENV): Likewise.
3114 (bug-regex25-ENV): Likewise.
3115 (bug-regex26-ENV): Likewise.
3116 (bug-regex30-ENV): Likewise.
3117 (bug-regex32-ENV): Likewise.
3118 (bug-regex33-ENV): Likewise.
3119 (bug-regex34-ENV): Likewise.
3120 (bug-regex35-ENV): Likewise.
3121 (tst-rxspencer-ENV): Likewise.
3122 (tst-rxspencer-no-utf8-ENV): Likewise.
3123 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3124 (tst-sscanf-ENV): Likewise.
3125 (tst-swprintf-ENV): Likewise.
3126 (tst-swscanf-ENV): Likewise.
3127 (test-vfprintf-ENV): Likewise.
3128 (scanf13-ENV): Likewise.
3129 (bug14-ENV): Likewise.
3130 (tst-grouping-ENV): Likewise.
3131 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3132 (tst-strtod3-ENV): Likewise.
3133 (tst-strtod4-ENV): Likewise.
3134 (tst-strtod5-ENV): Likewise.
3135 (testmb2-ENV): Likewise./
3136 * string/Makefile (tst-strxfrm-ENV): Likewise.
3137 (tst-strxfrm2-ENV): Likewise.
3138 (bug-strcoll1-ENV): Likewise.
3139 (test-strcasecmp-ENV): Likewise.
3140 (test-strncasecmp-ENV): Likewise.
3141 * time/Makefile (tst-strptime-ENV): Likewise.
3142 (tst-ftime_l-ENV): Likewise.
3143 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3144 (tst-mbrtowc-ENV): Likewise.
3145 (tst-wcrtomb-ENV): Likewise.
3146 (tst-mbrtowc2-ENV): Likewise.
3147 (tst-c16c32-1-ENV): Likewise.
3148 (tst-mbsnrtowcs-ENV): Likewise.
3149
cd1fb604
OB
31502014-06-05 Ondřej Bílka <neleai@seznam.cz>
3151
3152 * manual/resource.texi (How to get information about the memory
3153 subsystem?): Fix typo.
3154 Reported by Peon de la Parra Ivan <peon@keba.com>
3155
b42eca7d
GY
31562014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3157
3158 [BZ #16882]
3159 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3160 (pthread_spin_lock): Branch out of spin loop to proper location.
3161 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3162 (pthread_spin_lock): Likewise.
3163
902b71f9
DM
3164 * nptl/tst-spin4.c: New test.
3165 * nptl/Makefile (tests): Add tst-spin4.
3166
f9d2d032
AS
31672014-06-03 Andreas Schwab <schwab@suse.de>
3168
3169 [BZ #15946]
3170 * resolv/res_send.c (send_dg): Reload file descriptor after
3171 calling reopen.
3172
cf7bfd28
SL
31732014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3174
3175 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3176
111cc714
RH
31772014-06-03 Richard Henderson <rth@redhat.com>
3178
89b4bd6b
RH
3179 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3180 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3181 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3182 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3183 in the SAVE_PID block.
3184 (__libc_vfork): New alias.
71840409 3185 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3186
111cc714
RH
3187 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3188 child in registers, not on the stack. Remove RESET_PID conditionals.
3189 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3190
ccc39911
MS
31912014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3192
3193 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3194
693096cc
W
31952014-06-03 Wilco <wdijkstr@arm.com>
3196
3197 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3198 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3199 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3200 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3201 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3202 Likewise.
3203
0b4366bc
W
32042014-06-03 Wilco <wdijkstr@arm.com>
3205
3206 * sysdeps/aarch64/fpu/math_private.h
3207 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3208 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3209 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3210 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3211 Fix declarations.
3212
8747cd03
KS
32132014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3214
3215 * crypt/crypt-private.h: Include ufc-crypt.h.
3216 (__b64_from_24bit): Declare extern.
3217 * crypt/crypt_util.c(__b64_from_24bit): New function.
3218 (b64t): New static const variable.
3219 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3220 (b64t): Remove variable.
3221 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3222 * crypt/sha256-crypt.c: Include crypt-private.h.
3223 (b64t): Remove variable.
3224 (__sha256_crypt_r): Remove b64_from_24bit and replace
3225 with __b64_from_24bit.
3226 * crypt/sha512-crypt.c: Likewise.
3227
d936d379
RM
32282014-06-02 Roland McGrath <roland@hack.frob.com>
3229
3230 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3231 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3232 Label the code __libc_vfork rather than __vfork.
3233 [!NOT_IN_libc] (vfork): Define as weak alias.
3234 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3235 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3236 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3237
9fa76613
SP
32382014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3239
3240 * malloc/malloc.c (malloc_info): Fix format specifier for
3241 n_mmaps.
3242
a88dadbe
W
32432014-06-02 Wilco <wdijkstr@arm.com>
3244
3245 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3246 FPCR write.
3247
c95b3011
W
32482014-06-02 Wilco <wdijkstr@arm.com>
3249
3250 [BZ #17009]
3251 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3252 Rewrite to reduce FPCR/FPSR accesses.
3253
6b4d7a90
DM
32542014-06-01 David S. Miller <davem@davemloft.net>
3255
3256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3257
30f3d07c
DM
32582014-05-31 David S. Miller <davem@davemloft.net>
3259
3260 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3261 to occur in round to nearest mode when |x| >= 2.0
3262
74f31c18
RH
32632014-05-30 Richard Henderson <rth@twiddle.net>
3264
f0712b54
RH
3265 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3266 (PSEUDO_RET_NOERRNO): Remove.
3267 (ret): Don't redefine.
3268 (ret_NOERRNO): Define in terms of ret.
3269 (ret_ERRVAL): Likewise.
3270
74f31c18
RH
3271 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3272 use of PSEUDO_RET; perform the error check directly.
3273
30477995
MM
32742014-05-30 Marko Myllynen <myllynen@redhat.com>
3275
3276 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3277 with __int128_t.
3278
62a58816
SP
32792014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3280
3281 * malloc/malloc (malloc_info): Fix formatting.
3282
4d653a59
SP
32832014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3284 Roland McGrath <roland@hack.frob.com>
3285
3286 * malloc/malloc (malloc_info): Also print mmapped statistics.
3287
5190c17f
RM
32882014-05-30 Roland McGrath <roland@hack.frob.com>
3289
3290 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3291 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3292
987c0269
OB
32932014-05-30 Ondřej Bílka <neleai@seznam.cz>
3294
3295 * malloc/malloc.c (malloc_info): Inline mi_arena.
3296
af4e8ef9
RH
32972014-05-29 Richard Henderson <rth@twiddle.net>
3298
1670e207
RH
3299 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3300 Remove comma before expanding ASM_ARGS_##nr.
3301 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3302 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3303 of ASM_ARGS_##nr.
3304 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3305 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3306 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3307 (ASM_ARGS_1): Add leading comma.
3308
11a28aee
RH
3309 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3310 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3311 to __errno_location.
3312 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3313 Remove the expected plt for __errno_location.
3314
a17e5ffb 3315 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3316 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3317 call to __read_tp.
3318
b5be4597
RH
3319 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3320 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3321 it and break it down.
3322 (DOCARGS_0, DOCARGS_1): Do nothing.
3323 (DOCARGS_2): Update to store into the new stack frame.
3324 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3325 (UNDOCARGS_1): Update to restore from the new stack frame.
3326 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3327 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3328
645d44ab
RH
3329 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3330 (SINGLE_THREAD_P): New parameter for result regno.
3331 (PSEUDO): Update to match; use cbz instead of beq.
3332
a8b4f04a
RH
3333 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3334 Use ENTRY to define the _nocancel entry point. Share the syscall
3335 and syscall error check paths with the cancel path.
3336 (PSEUDO_END): New.
3337
af4e8ef9
RH
3338 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3339 whitespace; tabs before and after asm mnemonics.
3340
26b0d2e1
EW
33412014-05-29 Eric Wong <normalperson@yhbt.net>
3342
3343 [BZ #15132]
3344 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3345 Call fstat64 or stat64 internally, depending on arguments passed.
3346 Replace stat buffer argument with file descriptor argument.
3347 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3348 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3349 Pass fd to __internal_statvfs instead of calling fstat64.
3350 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3351 Pass fd to __internal_statvfs64 instead of calling fstat64.
3352 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3353 Pass -1 to __internal_statvfs instead of calling stat64.
3354 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3355 Pass -1 to __internal_statvfs64 instead of calling stat64.
3356
1efe2bd9
RM
33572014-05-28 Roland McGrath <roland@hack.frob.com>
3358
0d3b7a19
RM
3359 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3360 that was previously under [RESET_PID].
3361 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3362
1efe2bd9
RM
3363 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3364 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3365
a6bea3ca
RM
33662014-05-27 Roland McGrath <roland@hack.frob.com>
3367
30b6629e
RM
3368 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3369
a6bea3ca
RM
3370 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3371 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3372
3dfb9a5c
OB
33732014-05-27 Ondřej Bílka <neleai@seznam.cz>
3374
3375 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3376
774f9285
AS
33772014-05-27 Andreas Schwab <schwab@suse.de>
3378
3379 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3380 TLS_INIT_TP macro.
3381 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3382 * elf/rtld.c (init_tls, dl_main): Likewise.
3383 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3384 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3385 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3386 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3387 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3388 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3389 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3390 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3391 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3392 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3393 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3394 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3395 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3396 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3397 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3398 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3399 * sysdeps/generic/tls.h: Update description.
3400
36ffe739
WN
34012014-05-27 Will Newton <will.newton@linaro.org>
3402
3403 [BZ #16990]
3404 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3405 and restore r2 rather than just restoring.
3406
2482ae43
SP
34072014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3408
3409 [BZ #16724]
3410 * libio/tst-ftell-append.c: New test case.
3411 * libio/Makefile (tests): Add test case.
3412 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3413 append mode.
3414 * libio/wfileops.c (do_ftell_wide): Likewise.
3415
3d1024e8
AZ
34162014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3417
bab90016
AZ
3418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3419
c7a8d667
AZ
3420 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3421 ...
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3424 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3425 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3427 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3428 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3429 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3430 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3431 Moved ...
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3434 Moved ...
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3436 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3437 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3438 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3439 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3440 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3441 ...
3442 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3444 Moved ...
3445 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3446 here.
3447 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3448 ...
3449 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3450 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3451 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3452
daee7851
AZ
3453 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3454 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3455 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3456 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3457
50a40819
AZ
3458 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3459 merge into ...
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3462 ...
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3465 ...
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3468 Moved ...
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3470 here.
3471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3472 Moved ...
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3475 Moved ...
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3477
8464c2a1
AZ
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3479 conditional [RESET_PID].
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3482 removed.
3483 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3484 removed.
3485
3d1024e8
AZ
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3487 <tcb-offsets.h>.
3488 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3489 (__libc_vfork): New strong alias.
3490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3491 removed.
3492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3493 Removed.
3494
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3496 <tcb-offsets.h>.
3497 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3498 (__libc_vfork): New strong alias.
3499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3500 removed.
3501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3502 removed.
3503
fdfd175d
CD
35042014-05-26 Carlos O'Donell <carlos@redhat.com>
3505
3506 * malloc/malloc.c (mi_arena): New function.
3507 (malloc_info): Remove nested function mi_arena. Call non-nosted
3508 function mi_arena.
3509
d298c416
AZ
35102014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3511
3512 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3513 by insrwi.
3514 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3515 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3516 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3517 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3518 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3519 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3520 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3521
b60ea6ff
AS
35222014-05-26 Andreas Schwab <schwab@suse.de>
3523
3524 [BZ #16984]
3525 * locale/programs/repertoire.c (repertoire_read): Add slash
3526 between I18NPATH element and file name.
3527 * locale/programs/locfile.c (locfile_read): Likewise.
3528
67365926
SL
35292014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3530
3531 * nptl/pthread_mutexattr_settype.c
3532 (__pthread_mutexattr_settype):
3533 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3534
f8bdf1f0
SL
35352014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3536
3537 * nptl/tst-mutex5 (do_test):
3538 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3539
15eaf6ff
SP
35402014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3541
3542 * benchtests/README: Document 'init' directive.
3543 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3544 BENCH_INIT.
3545 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3546 (parse_file): Recognize 'init' directive.
3547
75f11331
KM
35482014-05-26 Kyle McMartin <kyle@redhat.com>
3549
3550 [BZ #16796]
3551 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3552 alignment of struct pthread.
3553
c3ec475c
SP
35542014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3555
3556 [BZ #16878]
3557 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3558 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3559 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3560 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3561
82aab97c
RH
35622014-05-25 Richard Henderson <rth@twiddle.net>
3563
aa2f176d
RH
3564 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3565 (SINGLE_THREAD_P_PIC): Remove.
3566 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3567 (SINGLE_THREAD_P_PIC): Remove.
3568
ca3cfa40
RH
3569 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3570 branch to syscall error ...
3571 (PSEUDO): ... here.
3572 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3573 from __local_syscall_error to .Lsyscall_error.
3574 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3575 (SYSCALL_ERROR): Update label name.
3576
6e6c2d01
RH
3577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3578 Do not use DOARGS/UNDOARGS.
3579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3580 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3581 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3582 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3583 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3584
c69abcee
RH
3585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3586 block comment.
3587
82aab97c
RH
3588 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3589 define if !NOT_IN_libc.
3590 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3591 define with non-default symbol versions.
3592
8820e3ac
RH
35932014-05-23 Richard Henderson <rth@twiddle.net>
3594
900e445f
RH
3595 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3596 (vfork, __vfork): Define via compat_symbol.
3597
8820e3ac
RH
3598 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3599 [!HAVE_IFUNC] (vfork_compat): Remove.
3600 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3601
e59252a5
JM
36022014-05-23 Joseph Myers <joseph@codesourcery.com>
3603
3604 [BZ #16978]
3605 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3606 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3607 variable.
3608
132c7f5f
RH
36092014-05-23 Richard Henderson <rth@twiddle.net>
3610
bc89e962
RH
3611 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3612 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3613 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3614 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3615
3616 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3617 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3618 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3619 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3620 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3621 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3622 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3623 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3624 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3625 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3626 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3627 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3628 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3633 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3634 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3635 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3641 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3643 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3644 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3645 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3646 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3647 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3649 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3650 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3651 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3652 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3653 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3655 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3656 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3657 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3658 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3659 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3660 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3661 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3662 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3663 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3664 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3665 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3666 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3667 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3668 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3669 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3670 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3671 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3672
e2fa4bc2
RH
3673 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3674 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3675 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3676 before exiting on error.
3677 (__libc_vfork): New strong alias.
3678 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3679 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3680
279b24e2
RH
3681 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3682 that was previously under [RESET_PID].
3683 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3684
132c7f5f
RH
3685 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3686
b72592e7
JM
36872014-05-23 Joseph Myers <joseph@codesourcery.com>
3688
3689 [BZ #16977]
3690 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3691 value when x - 1 is zero.
3692 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3693 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3694 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3695 0.0L for an argument of 1.0L.
3696 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3697 Likewise.
3698 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3699 value when x - 1 is zero.
3700 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703
2302d679
RV
37042014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3705
3706 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3707 alphasort and versionsort.
3708
32999d63
AZ
37092014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3710
3711 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3712 macro.
3713 [copysignf]: Likewise.
3714
019324d0
SP
37152014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
3717 * crypt/md5-crypt.c: Fix formatting.
3718
34fff5c2
KS
37192014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3720
3721 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3722 (b64_from_24bit): New function.
3723
3d2badac
AZ
37242014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3725
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3727 libc_hidden_builtin_def to ifunc.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3729 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3730
f7bb179f 37312014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3732
3733 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3734 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3735
4134b50d
JM
37362014-05-21 Joseph Myers <joseph@codesourcery.com>
3737
bb7d0337
JM
3738 * nscd/Depend (linuxthreads): Remove.
3739 (nptl): Add.
3740 * resolv/Depend (linuxthreads): Remove.
3741 * rt/Depend (linuxthreads): Remove.
3742
4134b50d
JM
3743 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3744 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3745 $(common-objpfx)elf/.
3746 (link-libc-before-gnulib): Likewise.
3747 (elfobjdir): Remove variable.
3748 * Makefile (install): Use $(elf-objpfx) instead of
3749 $(common-objpfx)elf/.
3750 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3751 $(elfobjdir)/.
3752 (link-libc-deps): Likewise.
3753 ($(common-objpfx)libc.so): Likewise.
3754 ($(common-objpfx)linkobj/libc.so): Likewise.
3755 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3756 instead of $(common-objpfx)elf/.
3757 (symbolic-link-list): Likewise.
3758 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3759 [$(cross-compiling) = no]: Likewise.
3760 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3761 $(elfobjdir)/.
3762 (static-gnulib-arch): Likewise.
3763 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3764 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3765 $(common-objpfx)elf/.
3766
3612eb8f
RH
37672014-05-21 Richard Henderson <rth@redhat.com>
3768
a6b3657b
RH
3769 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3770 (SINGLE_THREAD_P): Use the correct width load. Fold
3771 into the ldr offset.
3772
3612eb8f
RH
3773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3774 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3775
175cef41
JM
37762014-05-20 Joseph Myers <joseph@codesourcery.com>
3777
3778 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3779 (libgcc_s_resume): Use __attribute_used__.
3780 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3781 Likewise.
3782
e13bccd3
AZ
37832014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784
3785 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3786 optimization when used with float constants.
3787
7c112a38
AZ
3788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3789
ae75a883
AJ
37902014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3791
3792 [BZ #16915]
3793 * locale/nl_langinfo_l.c: Make direct reference to every
3794 _nl_current_CATEGORY symbol.
3795 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3796 (tests-static): Add tst-langinfo-static.
3797 (tests-special): Add tst-langinfo-static.out.
3798 ($(objpfx)tst-langinfo.out): Redirect output.
3799 ($(objpfx)tst-langinfo-static.out): New.
3800 * localedata/tst-langinfo.sh: Send output to stdout.
3801 * localedata/tst-langinfo-static.c: New file.
3802
4406c41c
AJ
3803 [BZ #16965]
3804 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3805 when the shift amount is modulo the limb size.
3806
4c0a1e63
RH
38072014-05-20 Richard Henderson <rth@redhat.com>
3808
de9d8f20
RH
3809 [BZ #16967]
3810 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3811 Change type of sa_flags from unsigned int to int.
3812
4c0a1e63
RH
3813 [BZ #16966]
3814 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3815
3816 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3817
a60339aa
WN
38182014-05-20 Will Newton <will.newton@linaro.org>
3819
3820 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3821 Test the return value of the system call in the nocancel case.
3822
7d05a816
YR
38232014-05-20 Will Newton <will.newton@linaro.org>
3824 Yvan Roux <yvan.roux@linaro.org>
3825
3826 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3827 #include of asm/ptrace.h.
3828 (PTRACE_GET_THREAD_AREA): Remove #undef.
3829 (PTRACE_GETHBPREGS): Likewise.
3830 (PTRACE_SETHBPREGS): Likewise.
3831 (struct user_regs_struct): New structure.
3832 (struct user_fpsimd_struct): New structure.
3833 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3834 #include of asm/ptrace.h and second #include of sys/user.h.
3835 (PTRACE_GET_THREAD_AREA): Remove #undef.
3836 (PTRACE_GETHBPREGS): Likewise.
3837 (PTRACE_SETHBPREGS): Likewise.
3838 (ELF_NGREG): Use new struct user_regs_struct.
3839 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3840
af121e37
AZ
38412014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3842
3843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3845
834caf06
JM
38462014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3847
3848 [BZ #16958]
3849 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3850 membar to avoid block loads/stores to overlap previous stores.
3851
e184a918
RH
38522014-05-17 Richard Henderson <rth@redhat.com>
3853
3854 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3855 Create the __##syscall_name##_nocancel entry point.
3856 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3857 Remove; let the sysdep-cancel.h code create it.
3858
f56c7a6a
DM
38592014-05-17 David S. Miller <davem@davemloft.net>
3860
3861 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3862 Protect with __USE_GNU.
3863 (TIOCSET_TEMPT): Likewise.
3864 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3865 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3866 these are already provided in bits/ioctl-types.h
3867
f75616b2
RM
38682014-05-16 Roland McGrath <roland@hack.frob.com>
3869
3edeca86
RM
3870 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3871 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3872
f75616b2
RM
3873 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3874 Use wait4 regardless of [__NR_waitpid].
3875
deb0f7f6
MR
38762014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3877
3878 PR libgcc/60166
3879 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3880 (_FP_NANSIGN_Q): Set the quiet bit.
3881
79520f4b
JM
38822014-05-16 Joseph Myers <joseph@codesourcery.com>
3883
3884 * benchtests/Makefile
3885 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3886 not $(common-objpfx)math/libm.so.
3887 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3888 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3889 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3890 $(common-objpfx)dlfcn/libdl.so.
3891 ($(objpfx)tst-audit8): Depend on $(libm), not
3892 $(common-objpfx)math/libm.so.
3893 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3894 not $(common-objpfx)dlfcn/libdl.so.
3895 * math/Makefile
3896 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3897 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3898 [$(build-shared) = yes].
3899 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3900 $(common-objpfx)nptl/libpthread.so.
3901 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3902 $(common-objpfx)math/libm.so$(libm.so-version) or
3903 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3904 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3905 $(common-objpfx)dlfcn/libdl.so.
3906 * setjmp/Makefile (link-libm): Remove variable.
3907 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3908 * stdio-common/Makefile (link-libm): Remove variable.
3909 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3910 * stdlib/Makefile (link-libm): Remove variable.
3911 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3912 ($(objpfx)tst-strtod-round): Likewise.
3913 ($(objpfx)tst-tininess): Likewise.
3914 ($(objpfx)tst-strtod-underflow): Likewise.
3915 ($(objpfx)tst-strtod6): Likewise.
3916 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3917 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3918 $(common-objpfx)dlfcn/libdl.so.
3919
026b0fe4
AZ
39202014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3921
3922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3923 BSD terminal modes definitions.
3924
def4bcb2
RM
39252014-05-16 Roland McGrath <roland@hack.frob.com>
3926
fe39b021
RM
3927 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3928 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3929
1d1fc46e 3930 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3931 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3932 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3933 Don't do #include_next.
3934 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3935 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3936 Don't do #include_next.
3937 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3938 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3939 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3940 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3941
c72399fb
AM
39422014-05-16 Allan McRae <allan@archlinux.org>
3943
d51d659d
AM
3944 * po/sv.po: Update Swedish translation from translation project.
3945
c72399fb
AM
3946 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3947 in sed expression.
3948
d0583c40
AJ
39492014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3950
3951 [BZ #16917]
3952 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3953 errno if the TIOCGPTN ioctl fails with an error different than
3954 EINVAL.
3955 * login/tst-ptsname.c: New file.
3956 * login/Makefile (tests): Add tst-ptsname.
3957
d16e6ec7
AJ
3958 [BZ #16943]
3959 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3960 and prlimit64.
3961
cf26a0cb
SP
39622014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3963
3964 [BZ #16849]
3965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3966 herrno to return EAI_AGAIN.
3967
5675da1e
RM
39682014-05-14 Roland McGrath <roland@hack.frob.com>
3969
a5d87b3d
RM
3970 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3971 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3972 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3973 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3975 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3976 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3977 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3979 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3980 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3983 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3985 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3986 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3987 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3988 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3989 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3990 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3991 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3993 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3995 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3997 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3998 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3999 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4001 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4003 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4005 Moved ...
4006 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4008 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4010 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4012 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4014 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4016 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4018 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4020 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4022 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4024 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4026 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4028 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4030 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4032 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4034 Moved ...
4035 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4037 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4039 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4041 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4043 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4047 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4049 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4051 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4053 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4055 Moved ...
4056 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4059
039890a6
RM
4060 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4061 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4062 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4063 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4064 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4066 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4068 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4069 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4070 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4072 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4074 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4076 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4078 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4080 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4081 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4082 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4083 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4084 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4086 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4088 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4089 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4090 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4091
65c89320
RM
4092 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4093 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4094
348f8e8c
RM
4095 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4096 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4097 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4099 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4101 Moved ...
4102 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4103 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4104 Moved ...
4105 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4107 Moved ...
4108 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4109 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4110 Moved ...
4111 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4113 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4114 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4115 Moved ...
4116 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4117 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4118 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4120 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4122 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4123 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4126 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4127 Moved ...
4128 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4129 ... here.
4130 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4131 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4133 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4135 Moved ...
4136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4137 ... here.
4138 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4139 Moved ...
4140 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4142 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4143 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4144 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4146 Moved ...
4147 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4149 Moved ...
4150 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4152 Moved ...
4153 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4155 Moved ...
4156 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4157 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4158 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4160 Moved ...
4161 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4163 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4165 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4167 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4169 Moved ...
4170 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4172 Moved ...
4173 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4174 ... here.
4175 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4176 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4177 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4178 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4180 Moved ...
4181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4182 ... here.
4183 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4184 Moved ...
4185 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4186 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4187 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4188 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4189 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4191 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4192 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4193 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4194 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4195 Moved ...
4196 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4198 Moved ...
4199 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4200 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4201 Moved ...
4202 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4204 Moved ...
4205 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4211 Moved ...
4212 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4214 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4216 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4218 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4220 Moved ...
4221 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4222 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4223 Moved ...
4224 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4225 ... here.
4226 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4227 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4229 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4231 Moved ...
4232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4233 ... here.
4234 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4235 Moved ...
4236 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4237 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4238 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4239 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4240 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4241 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4242 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4244 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4246 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4247
5085af05
RM
4248 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4249 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4250
708f0813
RM
4251 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4252 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4253
c96067bc
RM
4254 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4255 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4256 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4257 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4258 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4259 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4260 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4261 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4262 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4263 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4264 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4265 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4266 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4267 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4268 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4269 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4270 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4271 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4272 Moved ...
4273 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4274 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4275 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4276 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4277 Moved ...
4278 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4280 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4281 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4282 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4283 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4284 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4286 Moved ...
4287 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4288 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4289 Moved ...
4290 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4292 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4294 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4296 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4298 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4300 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4302 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4304 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4306 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4307
ec136444
RM
4308 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4309 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4310 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4311 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4312 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4313
2fbdf533
RM
4314 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4315 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4316 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4317 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4318 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4319 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4320 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4321 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4322 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4323 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4324
4c68138b
RM
4325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4327
4eaae765
RM
4328 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4329 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4330 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4331 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4333 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4334 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4335 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4336 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4337 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4338 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4339 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4340 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4341 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4343 Update #include.
4344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4345 Likewise.
4346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4347 Likewise.
4348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4349 Likewise.
4350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4351 Likewise.
4352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4353 Likewise.
4354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4355 Likewise.
4356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4357 Likewise.
4358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4359 Likewise.
4360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4361 Likewise.
4ef6befa
RM
4362 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4364 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4365 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4366 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4367 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4368 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4369 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4370 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4371 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4372 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4373 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4374 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4375 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4376 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4377
941d7dfd
RM
4378 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4379 that was previously under [RESET_PID].
4380 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4381 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4382 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4383
1b731c35
RM
4384 * sysdeps/i386/nptl/Implies: New file.
4385 * sysdeps/x86_64/nptl/Implies: New file.
4386 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4387 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4389 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4390
e2787137
RM
4391 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4392 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4393 (__libc_vfork): New strong alias.
4394 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4395 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4396
4397 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4398 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4399 (__libc_vfork): New strong alias.
4400 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4401 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4402
5675da1e
RM
4403 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4404 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4405 (__libc_vfork): New strong alias.
4406 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4407 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4408 * nptl/pt-vfork.c: New file.
4409 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4410 (libpthread: GLIBC_2.20): New version set (empty).
4411
4f02e2b8
WN
44122014-05-14 Will Newton <will.newton@linaro.org>
4413
4414 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4415 rather than #if.
4416
0bf061d3
JM
44172014-05-14 Joseph Myers <joseph@codesourcery.com>
4418
1a84c3d6
JM
4419 [BZ #16564]
4420 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4421 arguments with exponent 65 or above.
4422 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4423 arguments 0x1p113L or above.
4424 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4425 to arguments 0x1p107L or above.
4426 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4427 positive arguments with exponent 65 or above.
4428 * math/auto-libm-test-in: Add more tests of log1p.
4429 * math/auto-libm-test-out: Regenerated.
4430
01dbacd2
JM
4431 [BZ #16928]
4432 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4433 non-finite arguments is +0.
4434 * math/s_cacosf.c (__cacosf): Likewise.
4435 * math/s_cacosl.c (__cacosl): Likewise.
4436 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4437 * sysdeps/i386/fpu/libm-test-ulps: Update.
4438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4439
913d03c8
JM
4440 [BZ #16927]
4441 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4442 value.
4443 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4444 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4445 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4446 for explicit high bit of mantissa when testing for argument equal
4447 to 1.
4448 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4449 * sysdeps/i386/fpu/libm-test-ulps: Update.
4450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4451
0bf061d3
JM
4452 [BZ #16516]
4453 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4454 (__erf): Scale by 16 instead of 8 in potentially underflowing
4455 case. Ensure exception if result actually underflows.
4456 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4457 (__erff): Scale by 16 instead of 8 in potentially underflowing
4458 case. Ensure exception if result actually underflows.
4459 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4460 (efx8): Remove variable.
4461 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4462 case. Ensure exception if result actually underflows.
4463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4464 (efx8): Remove variable.
4465 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4466 case. Ensure exception if result actually underflows.
4467 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4468 (efx8): Remove variable.
4469 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4470 case. Ensure exception if result actually underflows.
4471 * math/auto-libm-test-in: Add more tests of erf.
4472 * math/auto-libm-test-out: Regenerated.
4473
73ba67cb
AS
44742014-05-14 Andreas Schwab <schwab@suse.de>
4475
3d8c8bff
AS
4476 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4477 Remove code conditionalized on USE___THREAD.
4478
73ba67cb
AS
4479 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4480 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4481 not definedness.
4482
5c521ecd
JM
44832014-05-14 Joseph Myers <joseph@codesourcery.com>
4484
5e7698c6
JM
4485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4486 Define unconditionally.
4487 (__ASSUME_O_CLOEXEC): Likewise.
4488 (__ASSUME_SOCK_CLOEXEC): Likewise.
4489 (__ASSUME_IN_NONBLOCK): Likewise.
4490 (__ASSUME_PIPE2): Likewise.
4491 (__ASSUME_EVENTFD2): Likewise.
4492 (__ASSUME_SIGNALFD4): Likewise.
4493 (__ASSUME_DUP3): Likewise.
4494 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4495 (__ASSUME_DUP3): Do not define.
4496 (__ASSUME_EVENTFD2): Likewise.
4497 (__ASSUME_IN_NONBLOCK): Likewise.
4498 (__ASSUME_O_CLOEXEC): Likewise.
4499 (__ASSUME_PIPE2): Likewise.
4500 (__ASSUME_SIGNALFD4): Likewise.
4501 (__ASSUME_SOCK_CLOEXEC): Likewise.
4502 (__ASSUME_UTIMES): Undefine.
4503 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4504 (__ASSUME_UTIMES): Do not define.
4505 (__ASSUME_O_CLOEXEC): Likewise.
4506 (__ASSUME_SOCK_CLOEXEC): Likewise.
4507 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4508 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4509 0x020621].
4510 (__ASSUME_PIPE2): Likewise.
4511 (__ASSUME_EVENTFD2): Likewise.
4512 (__ASSUME_SIGNALFD4): Likewise.
4513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4514 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4515 Do not define.
4516 (__ASSUME_EVENTFD2): Likewise.
4517 (__ASSUME_SIGNALFD4): Likewise.
4518 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4519 (__ASSUME_32BITUIDS): Likewise.
4520 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4521 (__ASSUME_IPC64): Likewise.
4522 (__ASSUME_ST_INO_64_BIT): Likewise.
4523 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4524 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4525 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4526 (__ASSUME_UTIMES): Do not define.
4527 (__ASSUME_PSELECT): Likewise.
4528 (__ASSUME_PPOLL): Likewise.
4529 (__ASSUME_O_CLOEXEC): Likewise.
4530 (__ASSUME_SOCK_CLOEXEC): Likewise.
4531 (__ASSUME_IN_NONBLOCK): Likewise.
4532 (__ASSUME_PIPE2): Likewise.
4533 (__ASSUME_EVENTFD2): Likewise.
4534 (__ASSUME_SIGNALFD4): Likewise.
4535 (__ASSUME_DUP3): Likewise.
4536 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4537 (__ASSUME_UTIMES): Likewise.
4538 (__ASSUME_O_CLOEXEC): Likewise.
4539 (__ASSUME_SOCK_CLOEXEC): Likewise.
4540 (__ASSUME_IN_NONBLOCK): Likewise.
4541 (__ASSUME_PIPE2): Likewise.
4542 (__ASSUME_EVENTFD2): Likewise.
4543 (__ASSUME_SIGNALFD4): Likewise.
4544 (__ASSUME_DUP3): Likewise.
4545 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4546 (__ASSUME_UTIMES): Likewise.
4547 (__ASSUME_O_CLOEXEC): Likewise.
4548 (__ASSUME_SOCK_CLOEXEC): Likewise.
4549 (__ASSUME_IN_NONBLOCK): Likewise.
4550 (__ASSUME_PIPE2): Likewise.
4551 (__ASSUME_EVENTFD2): Likewise.
4552 (__ASSUME_SIGNALFD4): Likewise.
4553 (__ASSUME_DUP3): Likewise.
4554 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4555 Likewise.
4556 (__ASSUME_UTIMES): Likewise.
4557 (__ASSUME_EVENTFD2): Likewise.
4558 (__ASSUME_SIGNALFD4): Likewise.
4559 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4560 (__ASSUME_O_CLOEXEC): Likewise.
4561 (__ASSUME_SOCK_CLOEXEC): Likewise.
4562 (__ASSUME_IN_NONBLOCK): Likewise.
4563 (__ASSUME_PIPE2): Likewise.
4564 (__ASSUME_EVENTFD2): Likewise.
4565 (__ASSUME_SIGNALFD4): Likewise.
4566 (__ASSUME_DUP3): Likewise.
4567 (__ASSUME_UTIMES): Undefine.
4568
5c521ecd
JM
4569 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4570 feclearexcept. Remove symbol versioning code.
4571 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4572 symbol versioning code.
4573 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4574 symbol versioning code.
4575 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4576 feupdateenv. Remove symbol versioning code.
4577 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4578 fegetexceptflag. Remove symbol versioning code.
4579 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4580 fesetexceptflag. Remove symbol versioning code.
4581 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4582 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4583 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4584 (__posix_fadvise64_l32): Remove prototype.
4585 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4586 code.
4587
5da9dfad
RM
45882014-05-13 Roland McGrath <roland@hack.frob.com>
4589
4590 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4591 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4592 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4593 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4594
893b4f37
SK
45952014-05-13 Sami Kerola <kerolasa@iki.fi>
4596
4597 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4598 current working directory
4599
e0db6517
RM
46002014-05-13 Roland McGrath <roland@hack.frob.com>
4601
58aa195d
RM
4602 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4603 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4604 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4605 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4606 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4607 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4608 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4609 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4625 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4626 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4627 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4629 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4630 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4631 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4632 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4633 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4634 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4635 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4636 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4637 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4638 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4639 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4640 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4641 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4642 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4643 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4644
8c6d01f0
RM
4645 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4646 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4647
4648 * sysdeps/unix/sysv/linux/arm/Makefile
4649 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4650 Add rt-aeabi_unwind_cpp_pr1.
4651 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4652 Add nptl-aeabi_unwind_cpp_pr1.
4653 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4654 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4655 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4656 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4657 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4658 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4659
4660 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4661 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4662 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4663 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4664
bba6da4e
RM
4665 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4666 Deconditionalize the code that was previously under [RESET_PID].
4667 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4668
e0db6517
RM
4669 * sysdeps/generic/exit-thread.h: New file.
4670 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4671 * include/unistd.h (__exit_thread): Remove declaration.
4672 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4673 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4674 * csu/libc-start.c: Include <exit-thread.h>.
4675 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4676 * nptl/pthread_create.c: Include <exit-thread.h>.
4677 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4678 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4679 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4680 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4681 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4682 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4683 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4684 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4685 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4686 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4687 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4688 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4689 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4690 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4691 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4692 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4693 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4694
01eb16fd
AS
46952014-05-13 Andreas Schwab <schwab@suse.de>
4696
4697 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4698
637461d9
JM
46992014-05-12 Joseph Myers <joseph@codesourcery.com>
4700
4701 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4702 (__ASSUME_UTIMES): Do not condition on kernel version.
4703 (__ASSUME_PSELECT): Define unconditionally.
4704 (__ASSUME_PPOLL): Likewise.
4705 (__ASSUME_ATFCTS): Likewise.
4706 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4707 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4708 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4709 (__ASSUME_UTIMENSAT): Define unconditionally.
4710 (__ASSUME_PRIVATE_FUTEX): Likewise.
4711 (__ASSUME_FALLOCATE): Likewise.
4712 (__ASSUME_O_CLOEXEC): Likewise.
4713 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4714 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4715 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4716 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4717 (__ASSUME_IN_NONBLOCK): Likewise.
4718 (__ASSUME_PIPE2): Likewise.
4719 (__ASSUME_EVENTFD2): Likewise.
4720 (__ASSUME_SIGNALFD4): Likewise.
4721 (__ASSUME_DUP3): Likewise.
4722 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4723 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4724 (__ASSUME_AT_RANDOM): Likewise.
4725 (__ASSUME_PREADV): Likewise.
4726 (__ASSUME_PWRITEV): Likewise.
4727 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4728 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4729 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4731 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4732 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4733 (__ASSUME_O_CLOEXEC): Define unconditionally.
4734 (__ASSUME_PSELECT): Do not undefine conditionally.
4735 (__ASSUME_PPOLL): Likewise.
4736 (__ASSUME_ATFCTS): Likewise.
4737 (__ASSUME_SET_ROBUST_LIST): Likewise.
4738 (__ASSUME_UTIMENSAT): Likewise.
4739 (__ASSUME_FDATASYNC): Define unconditionally.
4740 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4741 (__ASSUME_SIGFRAME_V2): Likewise.
4742 )__ASSUME_EVENTFD2): Likewise.
4743 (__ASSUME_SIGNALFD4): Likewise.
4744 (__ASSUME_PSELECT): Do not undefine conditionally.
4745 (__ASSUME_PPOLL): Likewise.
4746 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4747 (__ASSUME_PSELECT): Define unconditionally.
4748 (__ASSUME_PPOLL): Likewise.
4749 (__ASSUME_O_CLOEXEC): Likewise.
4750 (__ASSUME_SOCK_CLOEXEC): Likewise.
4751 (__ASSUME_IN_NONBLOCK): Likewise.
4752 (__ASSUME_PIPE2): Likewise.
4753 (__ASSUME_EVENTFD2): Likewise.
4754 (__ASSUME_SIGNALFD4): Likewise.
4755 (__ASSUME_DUP3): Likewise.
4756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4757 (__ASSUME_O_CLOEXEC): Likewise.
4758 (__ASSUME_SOCK_CLOEXEC): Likewise.
4759 (__ASSUME_IN_NONBLOCK): Likewise.
4760 (__ASSUME_PIPE2): Likewise.
4761 (__ASSUME_EVENTFD2): Likewise.
4762 (__ASSUME_SIGNALFD4): Likewise.
4763 (__ASSUME_DUP3): Likewise.
4764 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4765 (__ASSUME_EVENTFD2): Likewise.
4766 (__ASSUME_SIGNALFD4): Likewise.
4767 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4768
315eb1d8
AS
47692014-05-12 Andreas Schwab <schwab@suse.de>
4770
4771 [BZ #16932]
4772 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4773 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4774 than maximum RPC packet size.
4775 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4776 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4777 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4778 (_nss_nis_getservbyport_r): Likewise.
4779
91df99f7
WN
47802014-05-12 Will Newton <will.newton@linaro.org>
4781
4782 * malloc/Makefile (tests): Add tst-mallopt.
4783 * malloc/tst-mallopt.c: New file.
4784
0a982a29
RM
47852014-05-09 Roland McGrath <roland@hack.frob.com>
4786
4787 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4788 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4789
0ded08a5
AZ
47902014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4791
4792 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4793 (tst-tlsmod6.so): Likewise.
4794
55d4d550
RM
47952014-05-09 Roland McGrath <roland@hack.frob.com>
4796
4797 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4798
77d08aca
JM
47992014-05-09 Joseph Myers <joseph@codesourcery.com>
4800
4801 [BZ #16064]
4802 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4803 and <dl-procinfo.h>.
4804 (__fegetenv): Save SSE state in envp->__eip if supported.
4805 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4806 envp->__eip if supported.
4807 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4808 and <dl-procinfo.h>.
4809 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4810 __data_offset and __data_selector in environment to 0. Set SSE
4811 state if supported.
4812 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4813 test-fenv-sse.
4814 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4815 -mfpmath=sse.
4816 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4817
28162f4d
WN
48182014-05-09 Will Newton <will.newton@linaro.org>
4819
4820 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4821 and libc_relro_required for ARM.
4822 * sysdeps/arm/preconfigure: Regenerate.
4823
5a414ff7
DV
48242014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4825 Stefan Liebler <stli@linux.vnet.ibm.com>
4826
4827 * config.make.in (enable-lock-elision): New Makefile variable.
4828 * configure.ac: Likewise.
4829 * configure: Regenerate.
4830 * sysdeps/s390/configure.ac:
4831 Add check for gcc transactions support.
4832 * sysdeps/s390/configure: Regenerate.
4833 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4834 Build elision files if enabled.
4835 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4836 Add lock elision support for s390.
4837 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4838 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4839 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4840 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4841 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4842 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4844 Likewise.
4845 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4846 Likewise.
4847 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4848 Likewise.
4849 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4850 Likewise.
4851 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4852 (__lll_timedlock_elision, __lll_lock_elision)
4853 (__lll_unlock_elision, __lll_trylock_elision)
4854 (lll_timedlock_elision, lll_lock_elision)
4855 (lll_unlock_elision, lll_trylock_elision): Add.
4856 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4857 (pthread_mutex_t): Add lock elision support for s390.
4858
1a2f40e5
W
48592014-05-14 Wilco <wdijkstr@arm.com>
4860
4861 * sysdeps/arm/fclrexcpt.c: Cleanup.
4862 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4863 * sysdeps/arm/feenablxcpt.c: Cleanup.
4864 * sysdeps/arm/fegetenv.c: Cleanup.
4865 * sysdeps/arm/fegetexcept.c: Cleanup.
4866 * sysdeps/arm/fegetround.c: Cleanup.
4867 * sysdeps/arm/feholdexcpt.c: Cleanup.
4868 * sysdeps/arm/fesetenv.c: Cleanup.
4869 * sysdeps/arm/fesetround.c: Cleanup.
4870 * sysdeps/arm/feupdateenv.c: Cleanup.
4871 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4872 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4873 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4874 * sysdeps/arm/ftestexcept.c: Cleanup.
4875 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4876 * sysdeps/arm/setfpucw.c: Cleanup.
4877
f63c86fe
WN
48782014-05-09 Will Newton <will.newton@linaro.org>
4879
4880 * sysdeps/arm/armv7/strcmp.S: New file.
4881 * NEWS: Mention addition of ARMv7 optimized strcmp.
4882
7a1a51b5
RM
48832014-05-08 Roland McGrath <roland@hack.frob.com>
4884
95afbbe5
RM
4885 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4886 look for %.ac rather than %.in.
4887
4888 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4889 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4890 * sysdeps/mach/hurd/configure: Regenerated.
4891 * sysdeps/unix/sysv/linux/configure: Regenerated.
4892
7a1a51b5
RM
4893 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4894
5057ad3b
SE
48952014-05-07 Steve Ellcey <sellcey@mips.com>
4896
4897 [BZ# 16922]
4898 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4899 (LONG_SUB): Ditto.
4900 (PTR_SUB): Ditto.
4901
8dc97517
AS
49022014-05-07 Andreas Schwab <schwab@suse.de>
4903
4904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4905 when skipping over non-matching result from nscd.
4906
ce0c5b8f
OB
49072014-05-07 Ondřej Bílka <neleai@seznam.cz>
4908
4909 [BZ #16876]
4910 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4911
a1189263
OB
4912 [BZ #16877]
4913 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4914 nscd security class.
ce0c5b8f 4915
0f58d252
RM
49162014-05-06 Roland McGrath <roland@hack.frob.com>
4917
4918 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4919 * sysdeps/arm/unwind.h: ... here.
4920
83df9ad0
AJ
49212014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4922
ce0c5b8f
OB
4923 [BZ# 16916]
4924 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4925 Define.
83df9ad0 4926
f360f94a
VR
49272014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4928
4929 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4930 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4931 multiarch strncpy for PPC64.
4932 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4933 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4935 multiarch optimizations.
4936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4937 (__libc_ifunc_impl_list): Likewise.
4938 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4939 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4940 multiarch stpncpy for PPC64.
4941 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4942 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4943
978a41c3
AS
49442014-05-06 Andreas Schwab <schwab@suse.de>
4945
4946 [BZ #16912]
4947 * gmon/mcount.c (_MCOUNT_DECL): Use
4948 atomic_compare_and_exchange_bool_acq instead of
4949 catomic_compare_and_exchange_bool_acq.
4950
eb1ed03d
RM
49512014-05-05 Roland McGrath <roland@hack.frob.com>
4952
fe658845
RM
4953 * elf/Makefile (others, install-bin): Remove pldd.
4954 (pldd-modules): Variable removed.
4955 ($(objpfx)pldd): Target removed.
4956 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4957 (others, install-bin): Append pldd here.
4958 ($(objpfx)pldd): New target.
4959
eb1ed03d
RM
4960 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4961 to 0, so the first #if test emitted later doesn't see it undefined.
4962 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4963 * sysdeps/gnu/errlist.c: Regenerated.
4964
19c4bec0
AZ
49652014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4966
4967 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4968 [libc_hidden_builtin_def]: Define to empty value.
4969 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4970 [libc_hidden_builtin_def]: Likewise.
4971 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4972 [libc_hidden_builtin_def]: Likewise.
4973 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4974 [libc_hidden_builtin_def]: Likewise.
4975 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4976 __redirect_memcpy and define ifunc as default hidden symbol.
4977 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4979
7776e669
AC
49802014-05-04 Adam Conrad <adconrad@0c3.net>
4981
4982 * locale/iso-4217.def: Reintroduce XDR currency.
4983
d69aeb12
AM
49842014-05-04 Allan McRae <allan@archlinux.org>
4985
4986 * po/eo.po: Update Esperanto translation from translation project.
4987
8f1df5cf
CD
49882014-05-02 Carlos O'Donell <carlos@redhat.com>
4989
4990 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4991 and FEATURE_INDEX_MAX to 1.
4992 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4993
13e402e7
SE
49942014-05-01 Steve Ellcey <sellcey@mips.com>
4995
4996 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4997 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4998 * iconvdata/big5.c (ONE_DIRECTION): Define.
4999 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5000 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5001 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5002 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5003 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5004 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5005 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5006 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5007 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5008 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5009 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5010 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5011 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5012 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5013 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5014 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5015 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5016 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5017 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5018 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5019 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5020 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5021 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5022 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5023 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5024 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5025 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5026 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5027 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5028 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5029 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5030 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5031 * iconvdata/johab.c (ONE_DIRECTION): Define.
5032 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5033 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5034 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5035 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5036 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5037 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5038 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5039 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5040 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5041 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5042
c727f032
RM
50432014-05-01 Roland McGrath <roland@hack.frob.com>
5044
8f2f08d0
RM
5045 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5046 (_IO_JUMPS_OFFSET): Define to 0.
5047
c727f032
RM
5048 * nptl/sysdeps/pthread/bits/libc-lock.h
5049 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5050 (__libc_lock_define_initialized_recursive): Always define using
5051 initializer. Modern compilers treat uninitialized (implicit zero) and
5052 explicit zero initializers the same (i.e. put the datum in bss).
5053
a849e800
AS
50542014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5055
5056 * nscd/nscd-client.h: Include <string.h>.
5057
5331255b
DM
50582014-05-01 David S. Miller <davem@davemloft.net>
5059
5060 [BZ #16885]
5061 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5062 multiple zero bytes exist at the end of a string.
5063 Reported by Aurelien Jarno <aurelien@aurel32.net>
5064
5065 * string/test-strcmp.c (check): Add explicit test for situations where
5066 there are multiple zero bytes after the first.
5067
4fdfe821
AS
50682014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5069
5070 [BZ #16890]
5071 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5072 when compiling wprintf.
5073 * stdio-common/tstdiomisc.c (t3): New function.
5074 (main): Call it.
5075
0cdddc25
SE
50762014-05-01 Steve Ellcey <sellcey@mips.com>
5077
5078 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5079 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5080 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5081 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5082
6426d77e
SE
50832014-05-01 Steve Ellcey <sellcey@mips.com>
5084
5085 * stdlib/longlong.h: Updated from GCC.
5086
6d96f5e4
WN
50872014-05-01 Will Newton <will.newton@linaro.org>
5088 Bernard Ogden <bernie.ogden@linaro.org>
5089
7470db0c
WN
5090 * NEWS: Update fixed bug list.
5091
6d96f5e4
WN
5092 [BZ #15119]
5093 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5094
211d653c
DM
50952014-04-30 David S. Miller <davem@davemloft.net>
5096
4fa262fa
DM
5097 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5098 (libc_feholdexcept_setround_sparc_ctx): New function.
5099 (libc_fesetenv_sparc_ctx): Likewise.
5100 (libc_feupdateenv_sparc_ctx): Likewise.
5101 (libc_feholdsetround_sparc_ctx): Likewise.
5102 (libc_feholdexcept_setround_ctx): Define.
5103 (libc_feholdexcept_setroundf_ctx): Likewise.
5104 (libc_feholdexcept_setroundl_ctx): Likewise.
5105 (libc_fesetenv_ctx): Likewise.
5106 (libc_fesetenvf_ctx): Likewise.
5107 (libc_fesetenvl_ctx): Likewise.
5108 (libc_feupdateenv_ctx): Likewise.
5109 (libc_feupdateenvf_ctx): Likewise.
5110 (libc_feupdateenvl_ctx): Likewise.
5111 (libc_feresetround_ctx): Likewise.
5112 (libc_feresetroundf_ctx): Likewise.
5113 (libc_feresetroundl_ctx): Likewise.
5114 (libc_feholdsetround_ctx): Likewise.
5115 (libc_feholdsetroundf_ctx): Likewise.
5116 (libc_feholdsetroundl_ctx): Likewise.
5117
1d3d93ef
DM
5118 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5119 with __USE_GNU instead of XOPEN cpp guards.
5120
8aa583c3
DM
5121 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5122 0.
5123
211d653c
DM
5124 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5125 with XOPEN cpp guards.
5126
60c8f1f6
JB
51272014-04-30 Julian Brown <julian@codesourcery.com>
5128
5129 [BZ #16888]
5130 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5131 handling.
5132
9a461d46
JM
51332014-04-30 Joseph Myers <joseph@codesourcery.com>
5134
d0f5b3f8
JM
5135 [BZ #9894]
5136 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5137 Change to 2.6.32.
5138 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5139 * sysdeps/unix/sysv/linux/configure: Regenerated.
5140 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5141 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5142 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5143 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5144 * README: Update reference to required Linux kernel version.
5145 * manual/install.texi (Linux): Update reference to required Linux
5146 kernel headers version.
5147 * INSTALL: Regenerated.
5148
9a461d46
JM
5149 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5150 header inclusion.
5151 [POSIX] (limits.h): Likewise.
5152 [POSIX] (math.h): Likewise.
5153 [POSIX] (sys/wait.h): Likewise.
5154 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5155 function.
5156 [POSIX] (stddef.h): Do not allow header inclusion.
5157
1775babf
AZ
51582014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5159
57f41c40 5160 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5161
8f630cca
YY
51622014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5163
5164 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5165 Return immediately after lll_futex_wake.
5166
1cdeb237
SP
51672014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5168
bc8f194c
SP
5169 [BZ #16791]
5170 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5171 structure.
5172 (datahead_init_pos): Call datahead_init_common early.
5173 (datahead_init_neg): Likewise.
5174
1cdeb237
SP
5175 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5176 datahead_init_neg): New functions.
5177 * nscd/aicache.c (addhstaiX): Use them.
5178 * nscd/grpcache.c (cache_addgr): Likewise.
5179 * nscd/hstcache.c (cache_addhst): Likewise.
5180 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5181 * nscd/netgroupcache.c (do_notfound): Likewise.
5182 (addgetnetgrentX): Likewise.
5183 (addinnetgrX): Likewise.
5184 * nscd/pwdcache.c (cache_addpw): Likewise.
5185 * nscd/servicescache.c (cache_addserv): Likewise.
5186
16b293a7
SP
51872014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 Atsushi Onoe <atsushi@onoe.org>
5189
5190 [BZ #14308]
5191 [BZ #12994]
5192 [BZ #13651]
5193 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5194 one response is valid.
5195 * resolv/res_send.c (send_dg): Check for validity of other
5196 response if the current response is a referral.
5197
a28a9b94
SE
51982014-04-29 Steve Ellcey <sellcey@mips.com>
5199
5200 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5201
2ca180e9
SL
52022014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5203
5204 [BZ #16823]
5205 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5206 Always divide by positive zero when computing -Inf result.
5207 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5208 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5209
18f2945a
AZ
52102014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5211
5212 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5213 FPSCR if value do not change.
5214 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5215 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5216 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5217 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5218 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5219 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5220 function.
5221
5abebba4
CD
52222014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5223
5224 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5225 * sysdeps/unix/sysv/linux/hppa: Move directory from
5226 ports/systeps/unix/sysv/linux/hppa.
5227 * README: Update listing for hppa-*-linux-gnu.
5228
f7ed60c2
OB
52292014-04-28 Ondřej Bílka <neleai@seznam.cz>
5230
fff763a5
OB
5231 [BZ #16754]
5232 * manual/stdio.texi (Hook functions): Fix types of stream hook
5233 functions.
f7ed60c2
OB
5234 [BZ #16854]
5235 * socket/sys/socket.h: Fix typo in comment.
5236
df639d73
WD
52372014-04-28 Wilco <wdijkstr@arm.com>
5238
f7ed60c2 5239 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5240 * sysdeps/arm/math_private.h: New file.
5241 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5242
48332d82
L
52432014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5244
5245 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5246 with __int128_t.
5247 (La_x86_64_retval): Likewise.
5248
e5e0d9a4
IB
52492014-04-24 Ian Bolton <ian.bolton@arm.com>
5250
5251 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5252 fpsr if value didn't change.
5253 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5254 to fpcr if value didn't change.
5255 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5256 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5257 fpsr or fpcr if value didn't change.
5258 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5259 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5260 fpcr if value didn't change.
5261 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5262 to fpsr if value didn't change.
5263
bacc75f7
SP
52642014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5265
5266 * nptl/tst-sem3.c: Use test-skeleton.c
5267 (main): Rename to do_test. Use return instead of
5268 exit.
5269 * nptl/tst-sem4.c: Use test-skeleton.c
5270 (main): Rename to do_test.
5271
a059d359
DM
52722014-04-22 David S. Miller <davem@davemloft.net>
5273
5274 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5275 (struct sigaction): New struct member __glibc_reserved0, change
5276 type of sa_flags to int.
5277
ea6c92f3
YZ
52782014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5279
5280 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5281 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5282
766c4a36
SP
52832014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5284
5285 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5286 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5287
140cc7ab
VK
52882014-04-22 Will Newton <will.newton@linaro.org>
5289 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5290
5291 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5292 (__longjmp): Add longjmp and longjmp_target SystemTap
5293 probes.
5294 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5295 (__sigsetjmp): Add setjmp SystemTap probe.
5296
c54e5cf7
CD
52972014-04-17 Carlos O'Donell <carlos@redhat.com>
5298
5299 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5300 match manual order.
5301
75ffb047
AZ
53022014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5303
5304 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5305
2cd925f7
AZ
5306 * sysdeps/powerpc/fpu/fenv_private.h
5307 (libc_feholdexcept_setroundl_ctx): Define to
5308 libc_feholdexcept_setround_ppc_ctx.
5309 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5310 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5311 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5312 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5313
39e6cd8d
IB
53142014-04-17 Ian Bolton <ian.bolton@arm.com>
5315
5316 * sysdeps/aarch64/math-tests.h: New file.
5317
f9281df9
SY
53182014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5319
5320 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5321 New.
5322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5323 Check and set bit_AVX2_Usable.
5324 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5325 macro.
5326 (bit_AVX2): Likewise.
5327 (index_AVX2_Usable): Likewise.
5328 (CPUID_AVX2): Likewise.
5329 (HAS_AVX2): Likewise.
5330
37d35007
WN
53312014-04-17 Will Newton <will.newton@linaro.org>
5332
7c677662
WN
5333 * manual/setjmp.texi (System V contexts): Add note that
5334 calling setcontext on a context created by a call to a
5335 signal handler is undefined. Update text to note that
5336 setcontext from a signal handler is possible but not
5337 recommended.
5338
37d35007 5339 [BZ #16629]
e04a4e9d
WN
5340 * stdlib/tst-setcontext.c: Include signal.h.
5341 (main): Check that the signal stack before and
5342 after swapcontext is the same.
5343
37d35007
WN
5344 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5345 Re-implement to restore registers in user code and avoid
5346 rt_sigreturn system call.
5347
423a7160
W
53482014-04-17 Wilco <wdijkstr@arm.com>
5349
5350 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5351 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5352 * math/test-fenv.c: Skip exception trap tests on targets which only
5353 support non-stop mode.
5354
bc93ab29
IB
53552014-04-17 Ian Bolton <ian.bolton@arm.com>
5356 Wilco Dijkstra <wilco.dijkstra@arm.com>
5357
5358 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5359 (libc_feholdsetround_aarch64_ctx)
5360 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5361 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5362 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5363 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5364 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5365 (libc_feresetround_noexl_ctx): Define.
5366
95fc5fa3
RH
53672014-04-16 Richard Henderson <rth@redhat.com>
5368
ddb04724
RH
5369 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5370
d77c0899
RH
5371 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5372 unwind tables.
5373
a3df56fc
RH
5374 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5375 const from the non-libc, non-ldso copy.
5376
95fc5fa3
RH
5377 * sysdeps/alpha/libm-test-ulps: Regenerate.
5378
7e0b6763
IB
53792014-04-16 Ian Bolton <ian.bolton@arm.com>
5380 Wilco Dijkstra <wilco.dijkstra@arm.com>
5381
5382 * sysdeps/aarch64/fpu/math_private.h: New file.
5383
a9ea2e0c
MS
53842014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5385
5386 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5387
ea8ba7cd
IZ
53882014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5389
5390 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5391 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5393 Intel MPX bound registers before _dl_profile_fixup.
5394 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5395 registers after _dl_profile_fixup. Save and restore bound
5396 registers bnd0/bnd1 when calling _dl_call_pltexit.
5397 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5398 (LR_BND_OFFSET): Likewise.
5399 (LRV_BND0_OFFSET): Likewise.
5400 (LRV_BND1_OFFSET): Likewise.
5401
9f2a4fbc
ST
54022014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5403
5404 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5405 to...
5406 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5407 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5408 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5409 fields.
9f2a4fbc 5410
fd15a59b
ST
54112014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5412
5413 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5414
f19dfa0a
SL
54152014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5416
5417 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5418
4fa8bc3b
SL
54192014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5420
5421 [BZ #14770]
5422 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5423 * sysdeps/s390/configure: Regenerate.
5424
8ea587db
SL
5425 [BZ #16824]
5426 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5427 Set round-to-nearest internally to reduce error accumulation.
5428
aa5f0ff1
AM
54292014-04-16 Alan Modra <amodra@gmail.com>
5430
5431 [BZ #16740]
5432 [BZ #16619]
5433 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5434 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5435 * NEWS: Update fixed bug list.
aa5f0ff1 5436
bb9c256f
SP
54372014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5438
5439 * benchtests/Makefile: Depend on libraries in build directory.
5440 (bench-math): Separate out math tests.
5441 (bench-pthread): Separate out pthread tests.
5442 (bench): Include math and pthread tests.
5443
f737dfd0
CD
54442014-04-14 Carlos O'Donell <carlos@redhat.com>
5445
5446 [BZ #16831]
5447 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5448 _dl_debug_initialize.
5449
0699f766
CD
5450 * configure.ac: Remove SELinux header check.
5451 * configure: Regenerate.
5452 * nscd/selinux.c (perms): Array of const char* to permission names.
5453 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5454 default policy. Call string_to_security_class and string_to_av_perm to
5455 translate strings. Enforce default policy and call avs_has_perm with
5456 results of translated strings.
5457
809bd45f
DM
54582014-04-13 David S. Miller <davem@davemloft.net>
5459
5460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5461
89e691f2
AM
54622014-04-12 Allan McRae <allan@archlinux.org>
5463
5464 [BZ #16838]
5465 * manual/string.texi (Collation Functions): Fix qsort argument
5466 order in example.
5467 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5468
9c9daaeb
CM
54692014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5470
5471 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5472 Make the test a no-op if there are no exceptions defined.
5473
95561fb9
PP
54742014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5475
fe8d072c 5476 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5477 enable-hardcoded-path-in-tests
5478
970c602a
WN
54792014-04-11 Will Newton <will.newton@linaro.org>
5480
5481 * benchtests/Makefile (extra-objs): Add json-lib.o.
5482 (bench-func): Tidy up JSON output.
5483 * benchtests/bench-skeleton.c: Include json-lib.h.
5484 (main): Use JSON library functions to do output of
5485 benchmark results.
5486 * benchtests/bench-timing-type.c (main): Output the
5487 timing type simply, leaving formatting to the user.
5488 * benchtests/json-lib.c: New file.
5489 * benchtests/json-lib.h: Likewise.
5490
36875b06
TR
54912014-04-11 Torvald Riegel <triegel@redhat.com>
5492
5493 [BZ #15215]
5494 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5495 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5496 memory barriers. Add comments.
5497 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5498 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5499 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5500 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5501 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5502 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5503
579db35a
SL
55042014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5505
5506 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5507 * sysdeps/s390/s390-64/configure.ac: ... this ...
5508 * sysdeps/s390/configure.ac: ... to here.
5509 * sysdeps/s390/s390-32/configure: Delete file.
5510 * sysdeps/s390/s390-64/configure: Delete file.
5511 * sysdeps/s390/configure: Regenerate.
5512
c12e9f37
JAPH
55132014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5514
5515 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5516
439bda32
WN
55172014-04-11 Will Newton <will.newton@linaro.org>
5518
5519 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5520 to zero if it is not defined elsewhere. (mtrim): Test
5521 the value of MALLOC_DEBUG with #if rather than #ifdef.
5522
6a5d6ea1
TR
55232014-04-10 Torvald Riegel <triegel@redhat.com>
5524
5525 * benchtests/pthread_once-inputs: New file.
5526 * benchtests/pthread_once-source.c: New file.
5527 * benchtests/README: Update documentation.
5528
a4c75cfd
IZ
55292014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5530 H.J. Lu <hongjiu.lu@intel.com>
5531
5532 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5533 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5534 * sysdeps/x86_64/configure: Regenerated.
5535 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5536 macro.
5537 (REGISTER_SAVE_RAX): Likewise.
5538 (REGISTER_SAVE_RCX): Likewise.
5539 (REGISTER_SAVE_RDX): Likewise.
5540 (REGISTER_SAVE_RSI): Likewise.
5541 (REGISTER_SAVE_RDI): Likewise.
5542 (REGISTER_SAVE_R8): Likewise.
5543 (REGISTER_SAVE_R9): Likewise.
5544 (REGISTER_SAVE_BND0): Likewise.
5545 (REGISTER_SAVE_BND1): Likewise.
5546 (REGISTER_SAVE_BND2): Likewise.
5547 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5548 bound registers when calling _dl_fixup.
5549
27822ce6
AZ
55502014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551
5552 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5553 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5554 of its definition.
27822ce6
AZ
5555 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5556 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5557 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5558 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5559 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5560 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5561 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5562
a88ddc90
PTB
55632014-04-09 Peter Brett <peter@peter-b.co.uk>
5564
5565 [BZ #15514]
5566 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5567 pathconf(_PC_NAME_MAX).
5568
01f8eac2
AZ
55692014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5570
5571 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5572 Remove macro usage.
5573 (__PTHREAD_SPINS): Move definition to ...
5574 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5575 (__PTHREAD_SPINS): ... here.
5576 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5577 (__PTHREAD_SPIN): Likewise.
5578 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5579 (__PTHREAD_SPIN): Likewise.
5580 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5581 (__PTHREAD_SPIN): Likewise.
5582 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5583 (__PTHREAD_SPIN): Likewise.
5584 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5585 (__PTHREAD_SPIN): Likewise.
5586 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5587 (__PTHREAD_SPIN): Likewise.
5588 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5589 (__PTHREAD_SPIN): Likewise.
5590 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5591 (__PTHREAD_SPIN): Likewise.
5592 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5593 (__PTHREAD_SPIN): Likewise.
5594 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5595 (__PTHREAD_SPIN): Likewise.
5596 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5597 (__PTHREAD_SPIN): Likewise.
5598 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5599 (__PTHREAD_SPIN): Likewise.
5600
de21c33c
AZ
5601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5602 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5603 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5605 imply folder.
5606 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5607 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5608 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5609 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5610 correct imply path.
5611 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5612 strlen symbol for non multi-arch builds.
5613 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5614 missing hidden_def and weak_alias.
5615
862c472e
CD
56162014-04-08 Carlos O'Donell <carlos@redhat.com>
5617
5618 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5619
8667f90e
WN
56202014-04-07 Will Newton <will.newton@linaro.org>
5621
5622 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5623 and contents. [!_LIBC] Remove #ifndef and contents.
5624 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5625 * string/memccpy.c (__memccpy): Use ANSI prototype.
5626 * string/memfrob.c (memfrob): Likewise.
5627 * string/strcoll.c (STRCOLL): Likewise.
5628 * string/strlen.c (strlen): Likewise.
5629 * string/strtok.c (STRTOK): Likewise.
5630 * string/strcat.c: Remove unused #include of memcopy.h.
5631 (strcat): Use ANSI prototype.
5632 * string/strchr.c: Remove unused #include of memcopy.h.
5633 (strchr): Use ANSI prototype.
5634 * string/strcmp.c: Remove unused #include of memcopy.h.
5635 (strcmp): Use ANSI prototype.
5636 * string/strcpy.c: Remove unused #include of memcopy.h.
5637 (strcpy): Use ANSI prototype.
5638
7ffa9423
AZ
56392014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640
5641 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5642 * config.make.in (config-extra-cppflags): Set it from
5643 libc_extra_cppflags.
5644 * configure.ac (libc_extra_cflags): Make it accumulate over
5645 configure fragments.
5646 (libc_extra_cppflags): New flag.
5647 * configure. Regenerate.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5649 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5650 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5652
8bd70862
AZ
5653 [BZ #16815]
5654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5655 result for FE_DOWNWARD rounding mode.
5656 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5657 Likewise.
5658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5659
d42f3448
CM
56602014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5661
5662 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5663 in function argument name.
5664
1c21d115
DS
56652014-04-03 David Svoboda <svoboda@cert.org>
5666
5667 [BZ #5666]
5668 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5669 explicitly.
5670
fcccd512
RM
56712014-04-03 Roland McGrath <roland@hack.frob.com>
5672
5673 * elf/dl-unmap-segments.h: New file.
5674 * sysdeps/generic/ldsodefs.h
5675 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5676 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5677 * elf/dl-fptr.c: Likewise.
5678 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5679 * sysdeps/aarch64/tlsdesc.c: Likewise.
5680 * sysdeps/arm/tlsdesc.c: Likewise.
5681 * sysdeps/i386/tlsdesc.c: Likewise.
5682 * sysdeps/tile/dl-runtime.c: Likewise.
5683 * sysdeps/x86_64/tlsdesc.c: Likewise.
5684 * elf/dl-load.h: New file.
5685 * elf/dl-load.c: Include it.
5686 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5687 Macros moved to dl-load.h.
5688 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5689 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5690 Use _dl_unmap_segments in place of __munmap.
5691 Break out segment-mapping loop into ...
5692 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5693
f6488e2b
WN
56942014-04-03 Will Newton <will.newton@linaro.org>
5695
5696 * elf/dl-lookup.c (do_lookup_x): Remove comment
5697 referring to nested function and move variable
5698 declarations down to before first use.
5699
6f05bafe
JM
57002014-04-02 Joseph Myers <joseph@codesourcery.com>
5701
a84e78c8
JM
5702 [BZ #16799]
5703 [BZ #16800]
5704 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5705 with 0 numerator.
5706 * math/s_catanf.c (__catanf): Likewise.
5707 * math/s_catanh.c (__catanh): Likewise.
5708 * math/s_catanhf.c (__catanhf): Likewise.
5709 * math/s_catanhl.c (__catanhl): Likewise.
5710 * math/s_catanl.c (__catanl): Likewise.
5711 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5712 by positive zero when computing -Inf result.
5713 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5714 (catanh_test): Likewise.
5715 * sysdeps/i386/fpu/libm-test-ulps: Update.
5716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5717
6f05bafe
JM
5718 [BZ #16789]
5719 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5720 instead of using underflowing value in computing result.
5721 * math/s_clog10.c (__clog10): Likewise.
5722 * math/s_clog10f.c (__clog10f): Likewise.
5723 * math/s_clog10l.c (__clog10l): Likewise.
5724 * math/s_clogf.c (__clogf): Likewise.
5725 * math/s_clogl.c (__clogl): Likewise.
5726 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5727 (clog10_test): Likewise.
5728 * sysdeps/i386/fpu/libm-test-ulps: Update.
5729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5730
b0abbc21
AM
57312014-04-02 Alan Modra <amodra@gmail.com>
5732
5733 [BZ #16739]
5734 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5735 output when value is near a power of two. Use int64_t for lx and
5736 remove casts. Use decimal rather than hex exponent constants.
5737 Don't use long double multiplication when double will suffice.
5738 * math/libm-test.inc (nextafter_test_data): Add tests.
5739 * NEWS: Add 16739 and 16786 to bug list.
5740
af6b1797
AM
5741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5742
483818d7
AM
5743 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5744
f6c55796
WN
57452014-04-01 Will Newton <will.newton@linaro.org>
5746
5747 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5748 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5749
13f7fe35
FW
57502014-04-01 Florian Weimer <fweimer@redhat.com>
5751
5752 [BZ #13347]
5753 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5754 * nptl/tst-setuid2.c: New file.
5755 * nptl/Makefile (xtests): Add tst-setuid2.
5756
c859b32e
AM
57572014-04-01 Alan Modra <amodra@gmail.com>
5758
5759 [BZ #16786]
5760 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5761
54fa2475
JM
57622014-03-31 Joseph Myers <joseph@codesourcery.com>
5763
8795b4a4
JM
5764 [BZ #6803]
5765 [BZ #6804]
5766 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5767 set errno as appropriate.
5768 * math/w_scalbf.c (__scalbf): Likewise.
5769 * math/w_scalbl.c (__scalbl): Likewise.
5770 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5771 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5772 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5773 Add more NaN tests.
5774
54fa2475
JM
5775 [BZ #16349]
5776 * math/w_atan2.c: Include <errno.h>.
5777 (__atan2): Set errno for result underflowing to zero.
5778 * math/w_atan2f.c: Include <errno.h>.
5779 (__atan2f): Set errno for result underflowing to zero.
5780 * math/w_atan2l.c: Include <errno.h>.
5781 (__atan2l): Set errno for result underflowing to zero.
5782 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5783 tests.
5784 * math/auto-libm-test-out: Regenerated.
5785
757d9dd5
AZ
57862014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5787
5788 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5789 Encode instruction correctly in little endian.
5790 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5791 Likewise.
5792 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5793 Likewise.
5794 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5795 Likewise.
5796 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5797 Likewise.
5798
d7a68734
JM
57992014-03-31 Joseph Myers <joseph@codesourcery.com>
5800
47c5adeb
JM
5801 [BZ #9894]
5802 * sysdeps/unix/sysv/linux/kernel-features.h
5803 [__sparc__ && !__arch64__ && !__sparc_v9__]
5804 (__ASSUME_SET_ROBUST_LIST): Do not define.
5805 [__sparc__ && !__arch64__ && !__sparc_v9__]
5806 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5807 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5808 Likewise.
5809 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5810 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5811 (__ASSUME_REQUEUE_PI): Likewise.
5812 (__ASSUME_SET_ROBUST_LIST): Likewise.
5813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5814 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5815 Undefine.
5816 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5817 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5818 Likewise.
5819 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5820 Likewise.
5821 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5822 Likewise.
5823 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5824 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5825 Undefine.
5826 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5827 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5828 Likewise.
5829
d7a68734
JM
5830 [BZ #16648]
5831 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5832 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5833 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5834
c760f5c2
WN
58352014-03-31 Will Newton <will.newton@linaro.org>
5836
5837 * benchtests/Makefile (bench): Add ffs and ffsll to list
5838 of tests.
5839 * benchtests/ffs-inputs: New file.
5840 * benchtests/ffsll-inputs: Likewise.
5841
ea6029b1
JM
58422014-03-29 Joseph Myers <joseph@codesourcery.com>
5843
5844 [BZ #16770]
5845 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5846 too large before casting to int.
5847 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5848 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5849 * math/libm-test.inc (scalb_test_data): Add more tests.
5850
cf806aff
SP
58512014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5852
56737508
SP
5853 * benchtests/Makefile (DETAILED_OPT): New make option.
5854 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5855 set.
5856 * benchtests/bench-skeleton.c: Include stdbool.h.
5857 (main): Store and print timings per input.
5858 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5859 member to each argument value.
5860 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5861 (_print_arg_data): Initialize per-input timing to 0.
5862
cb5e4aad
SP
5863 * benchtests/Makefile (timing-type): New binary.
5864 (bench-clean): Also remove bench-timing-type.
5865 (bench): New target for timing-type.
5866 (bench-func): Print output in JSON format.
5867 * benchtests/bench-skeleton.c (main): Print output in JSON
5868 format.
5869 * benchtests/bench-timing-type.c: New file.
5870 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5871 (TIMING_PRINT_STATS): Remove.
5872 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5873 name separately.
5874
cf806aff
SP
5875 * benchtests/bench-modf.c: Remove.
5876 * benchtests/modf-inputs: New inputs file.
5877
289e0779
JM
58782014-03-28 Joseph Myers <joseph@codesourcery.com>
5879
5880 [BZ #16362]
5881 * math/s_clog10.c (M_PI_LOG10E): New macro.
5882 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5883 imaginary parts are 0.
5884 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5885 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5886 imaginary parts are 0.
5887 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5888 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5889 imaginary parts are 0.
5890 * math/libm-test.inc (clog10_test_data): Update expected results
5891 for when real and imaginary parts are 0.
5892
277ae3f1
PP
58932014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5894
5895 * elf/dl-load.c: Finish conversion of __builtin_expect into
5896 __glibc_{un}likely.
5897
03a7091f
JM
58982014-03-27 Joseph Myers <joseph@codesourcery.com>
5899
5900 [BZ #16348]
5901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5902 1+x for argument with exponent below -67.
5903 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5904 Likewise.
5905 * math/auto-libm-test-in: Add more tests of exp.
5906 * math/auto-libm-test-out: Regenerated.
5907
ea7d8b95
SP
59082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5909
dd3022d7
SP
5910 [BZ #16759]
5911 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5912 (nscd_getnetgrent): Use it.
5913
ea7d8b95
SP
5914 [BZ #16760]
5915 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5916 of stpcpy.
5917
df5b85da
AK
59182014-03-27 Andi Kleen <ak@linux.intel.com>
5919
57f41c40
AS
5920 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5921 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5922 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5923 (lll_robust_unlock): Remove out of line section. Use cfi
5924 intrinsics.
df5b85da 5925 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5926 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5927 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5928 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5929 (lll_robust_unlock): Remove out of line section. Use cfi
5930 intrinsics.
df5b85da
AK
5931 (LLL_STUB_UNWIND_INFO*): Remove.
5932
fbd6b5a4
SP
59332014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5934
5935 [BZ #16758]
5936 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5937 blank values.
5938
1b26b855
PP
59392014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5940
5941 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5942
9be36fb8
JM
59432014-03-26 Joseph Myers <joseph@codesourcery.com>
5944
5945 [BZ #16198]
5946 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5947 fnstenv.
5948 * math/test-fenv-preserve.c: New file.
5949 * math/Makefile (tests): Add test-fenv-preserve.
5950
60a2f3c1
WN
59512014-03-26 Will Newton <will.newton@linaro.org>
5952
5953 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5954
a5e5f1e2
RM
59552014-03-25 Roland McGrath <roland@hack.frob.com>
5956
5957 * scripts/versionlist.awk: Partition the version sets and emit all
5958 GLIBC_* (sorted) before all others (sorted).
5959
00f4012a
JM
59602014-03-25 Joseph Myers <joseph@codesourcery.com>
5961
5962 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5963 GLIBC_2.2.5 version.
5964
7bc5a741
AZ
59652014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5966
5967 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5968 calls.
5969
7578473b
AZ
5970 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5971 previous change.
5972
f3f1dab3
AZ
5973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5974
6da36183
AS
59752014-03-25 Andreas Schwab <schwab@suse.de>
5976
5977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5978 label to be used after in6ailist is initialized.
5979
f3f1dab3 59802014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 5981
7578473b 5982 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
5983 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5984
046651c1
JM
59852014-03-25 Joseph Myers <joseph@codesourcery.com>
5986
5987 [BZ #16357]
5988 [BZ #16599]
5989 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5990 min_plus_half.
5991 (fp_formats): Update initializers.
5992 (init_fp_formats): Initialize new field.
5993 (output_for_one_input_case): Allow underflow for results up to
5994 min_plus_half.
5995 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5996 * math/auto-libm-test-in: Don't mark some underflows from asin and
5997 atanh as spurious.
5998 * math/auto-libm-test-out: Regenerated.
5999 * sysdeps/i386/fpu/libm-test-ulps: Update.
6000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6001
003e49ed
AS
60022014-03-25 Andreas Schwab <schwab@suse.de>
6003
6004 * libio/Makefile (tst-ftell-partial-wide-ENV)
6005 (tst-ftell-active-handler-ENV): Define.
6006
de031874
SL
60072014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6008
6009 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6010
55a81e3b
PP
60112014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6012
6013 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6014
f3426898
JM
60152014-03-24 Joseph Myers <joseph@codesourcery.com>
6016
6017 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6018 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6019 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6020
a42faf59
PP
60212014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6022
6023 [BZ #16634]
a42faf59 6024 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6025 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6026 (open_path): Change from boolean 'secure' to complete flag 'mode'
6027 (_dl_map_object): Adjust.
a42faf59
PP
6028 * elf/Makefile (tests): Add tst-dlopen-aout.
6029 * elf/tst-dlopen-aout.c: New test.
6030
50936127
SL
60312014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6032
6033 [BZ #16714]
6034 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6035 (struct stat): Rename member pad0 to __glibc_reserved0.
6036
26011b5c
SL
6037 [BZ #16712]
6038 * sysdeps/s390/s390-32/bits/wordsize.h
6039 (__WORDSIZE32_SIZE_ULONG): New define.
6040 * sysdeps/s390/s390-64/bits/wordsize.h
6041 (__WORDSIZE32_SIZE_ULONG): Likewise.
6042 * sysdeps/generic/stdint.h (SIZE_MAX):
6043 Define as UL if __WORDSIZE32_SIZE_ULONG.
6044
a2d86bf1
SL
6045 [BZ #16713]
6046 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6047 (__glibc_reserved0): New variable.
6048 (sa_flags): Change type to int.
6049
78b6eebc
SL
6050 * posix/Makefile (before-compile): Use += before-compile instead
6051 of a :=.
6052
f1399b5a
SL
6053 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6054 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6055
a071766e
AS
60562014-03-20 Andreas Schwab <schwab@suse.de>
6057
6058 [BZ #16743]
6059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6060 non-matching result from nscd.
6061
27c673b8
SP
60622014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6063
6064 * scripts/bench.py: Moved to ...
6065 * benchtests/scripts/bench.py: ... here.
6066 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6067
44152e4b
AS
60682014-03-24 Andreas Schwab <schwab@suse.de>
6069
6070 [BZ #16002]
6071 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6072 alloca_account and account alloca use for struct in6ailist.
6073
b376a11a
JM
60742014-03-24 Joseph Myers <joseph@codesourcery.com>
6075
6076 [BZ #16284]
6077 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6078 rounding mode to recompute results that overflow to infinity or
6079 underflow to zero.
6080 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6081 bug 16284.
6082 * math/auto-libm-test-out: Regenerated.
6083 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6084 (ccosh_test): Likewise.
6085 (csin_test_data): Use plus_oflow.
6086 (csin_test): Use ALL_RM_TEST.
6087 (csinh_test_data): Use plus_oflow.
6088 (csinh_test): Use ALL_RM_TEST.
6089 * sysdeps/i386/fpu/libm-test-ulps: Update.
6090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6091
f7be7376
JM
60922014-03-21 Joseph Myers <joseph@codesourcery.com>
6093
1ca2d03e
JM
6094 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6095 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6096 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6097
f7be7376
JM
6098 [BZ #16731]
6099 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6100 when x - 1 is zero.
6101 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6102 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6103 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6105 argument is 1.
6106 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6107 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6108 zero.
6109 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6110 * sysdeps/i386/fpu/libm-test-ulps: Update.
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6112
fdf4534d
SP
61132014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6114
df26ea53
SP
6115 * scripts/bench.pl: Remove file.
6116 * scripts/bench.py: New benchmark script.
6117 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6118 * benchtests/README: Mention python dependency.
6119 * scripts/pylintrc: New file.
6120 * scripts/pylint: New file.
6121
fdf4534d
SP
6122 * bits/mathdef.h: Use #ifdef instead of #if.
6123 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6124 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6125 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6126 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6127 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6128 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6129
6f23d093
AZ
61302014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6132
6133 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6135 and strpbrk-ppc64 objects.
6136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6137 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6138 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6139 multiarch strpbrk for POWER7.
6140 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6141 multiarch strpbrk for PPC64.
6142 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6143 ifunc selector.
6144 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6145 strpbrk for POWER7.
6146
8c92dfff
JM
61472014-03-20 Joseph Myers <joseph@codesourcery.com>
6148
6149 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6150 (atan_test): Likewise.
6151 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6152 (atanh_test): Use ALL_RM_TEST.
6153 (atan2_test_data): Likewise.
6154 (cabs_test): Likewise.
6155 (cacosh_test): Likewise.
6156 (carg_test): Likewise.
6157 (casin_test): Likewise.
6158 (casinh_test): Likewise.
6159 (cbrt_test): Likewise.
6160 (csqrt_test): Likewise.
6161 (erf_test): Likewise.
6162 (erfc_test): Likewise.
6163 (pow10_test): Likewise.
6164 (exp2_test): Likewise.
6165 (hypot_test): Likewise.
6166 (j0_test): Likewise.
6167 (j1_test): Likewise.
6168 (lgamma_test): Likewise.
6169 (gamma_test): Likewise.
6170 (sincos_test): Likewise.
6171 (tanh_test): Likewise.
6172 (y0_test): Likewise.
6173 (y1_test): Likewise.
6174 * sysdeps/i386/fpu/libm-test-ulps: Update.
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6176
6eaf95cb
AZ
61772014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178
a387428c
SP
6179 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6181 and strcspn-ppc64 objects.
6182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6183 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6184 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6185 multiarch strcspn for POWER7.
6186 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6187 multiarch strcspn for PPC64.
6188 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6189 ifunc selector.
6190 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6191 strcspn for POWER7.
6192
ae3a5dff
JM
61932014-03-20 Joseph Myers <joseph@codesourcery.com>
6194
6195 * math/gen-libm-test.pl (generate_testfile): Expect only function
6196 name as argument to AUTO_TESTS_* and pass results for all rounding
6197 modes to parse_args.
6198 (parse_auto_input): Separate inputs of automatic tests from
6199 outputs before storing in %auto_tests.
6200 * math/libm-test.inc (acos_test_data): Update call to
6201 AUTO_TESTS_f_f.
6202 (acos_test): Use ALL_RM_TEST.
6203 (acos_tonearest_test_data): Remove.
6204 (acos_test_tonearest): Likewise.
6205 (acos_towardzero_test_data): Likewise.
6206 (acos_test_towardzero): Likewise.
6207 (acos_downward_test_data): Likewise.
6208 (acos_test_downward): Likewise.
6209 (acos_upward_test_data): Likewise.
6210 (acos_test_upward): Likewise.
6211 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6212 (asin_test_data): Likewise.
6213 (asin_test): Use ALL_RM_TEST.
6214 (asin_tonearest_test_data): Remove.
6215 (asin_test_tonearest): Likewise.
6216 (asin_towardzero_test_data): Likewise.
6217 (asin_test_towardzero): Likewise.
6218 (asin_downward_test_data): Likewise.
6219 (asin_test_downward): Likewise.
6220 (asin_upward_test_data): Likewise.
6221 (asin_test_upward): Likewise.
6222 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6223 (atan_test_data): Likewise.
6224 (atanh_test_data): Likewise.
6225 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6226 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6227 (carg_test_data): Likewise.
6228 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6229 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6230 (ccosh_test_data): Likewise.
6231 (cexp_test_data): Likewise.
6232 (clog_test_data): Likewise.
6233 (clog10_test_data): Likewise.
6234 (cos_test_data): Update call to AUTO_TESTS_f_f.
6235 (cos_test): Use ALL_RM_TEST.
6236 (cos_tonearest_test_data): Remove.
6237 (cos_test_tonearest): Likewise.
6238 (cos_towardzero_test_data): Likewise.
6239 (cos_test_towardzero): Likewise.
6240 (cos_downward_test_data): Likewise.
6241 (cos_test_downward): Likewise.
6242 (cos_upward_test_data): Likewise.
6243 (cos_test_upward): Likewise.
6244 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6245 (cosh_test): Use ALL_RM_TEST.
6246 (cosh_tonearest_test_data): Remove.
6247 (cosh_test_tonearest): Likewise.
6248 (cosh_towardzero_test_data): Likewise.
6249 (cosh_test_towardzero): Likewise.
6250 (cosh_downward_test_data): Likewise.
6251 (cosh_test_downward): Likewise.
6252 (cosh_upward_test_data): Likewise.
6253 (cosh_test_upward): Likewise.
6254 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6255 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6256 (ctan_test_data): Likewise.
6257 (ctan_test): Use ALL_RM_TEST.
6258 (ctan_tonearest_test_data): Remove.
6259 (ctan_test_tonearest): Likewise.
6260 (ctan_towardzero_test_data): Likewise.
6261 (ctan_test_towardzero): Likewise.
6262 (ctan_downward_test_data): Likewise.
6263 (ctan_test_downward): Likewise.
6264 (ctan_upward_test_data): Likewise.
6265 (ctan_test_upward): Likewise.
6266 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6267 (ctanh_test): Use ALL_RM_TEST.
6268 (ctanh_tonearest_test_data): Remove.
6269 (ctanh_test_tonearest): Likewise.
6270 (ctanh_towardzero_test_data): Likewise.
6271 (ctanh_test_towardzero): Likewise.
6272 (ctanh_downward_test_data): Likewise.
6273 (ctanh_test_downward): Likewise.
6274 (ctanh_upward_test_data): Likewise.
6275 (ctanh_test_upward): Likewise.
6276 (erf_test_data): Update call to AUTO_TESTS_f_f.
6277 (erfc_test_data): Likewise.
6278 (exp_test_data): Likewise.
6279 (exp_test): Use ALL_RM_TEST.
6280 (exp_tonearest_test_data): Remove.
6281 (exp_test_tonearest): Likewise.
6282 (exp_towardzero_test_data): Likewise.
6283 (exp_test_towardzero): Likewise.
6284 (exp_downward_test_data): Likewise.
6285 (exp_test_downward): Likewise.
6286 (exp_upward_test_data): Likewise.
6287 (exp_test_upward): Likewise.
6288 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6289 (exp10_test): Use ALL_RM_TEST.
6290 (exp10_tonearest_test_data): Remove.
6291 (exp10_test_tonearest): Likewise.
6292 (exp10_towardzero_test_data): Likewise.
6293 (exp10_test_towardzero): Likewise.
6294 (exp10_downward_test_data): Likewise.
6295 (exp10_test_downward): Likewise.
6296 (exp10_upward_test_data): Likewise.
6297 (exp10_test_upward): Likewise.
6298 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6299 (expm1_test_data): Likewise.
6300 (expm1_test): Use ALL_RM_TEST.
6301 (expm1_tonearest_test_data): Remove.
6302 (expm1_test_tonearest): Likewise.
6303 (expm1_towardzero_test_data): Likewise.
6304 (expm1_test_towardzero): Likewise.
6305 (expm1_downward_test_data): Likewise.
6306 (expm1_test_downward): Likewise.
6307 (expm1_upward_test_data): Likewise.
6308 (expm1_test_upward): Likewise.
6309 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6310 (fma_test): Use ALL_RM_TEST.
6311 (fma_towardzero_test_data): Remove.
6312 (fma_test_towardzero): Likewise.
6313 (fma_downward_test_data): Likewise.
6314 (fma_test_downward): Likewise.
6315 (fma_upward_test_data): Likewise.
6316 (fma_test_upward): Likewise.
6317 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6318 (j0_test_data): Update call to AUTO_TESTS_f_f.
6319 (j1_test_data): Likewise.
6320 (jn_test_data): Update call to AUTO_TESTS_if_f.
6321 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6322 (log_test_data): Update call to AUTO_TESTS_f_f.
6323 (log10_test_data): Likewise.
6324 (log1p_test_data): Likewise.
6325 (log2_test_data): Likewise.
6326 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6327 (pow_tonearest_test_data): Likewise.
6328 (sin_test_data): Update call to AUTO_TESTS_f_f.
6329 (sin_test): Use ALL_RM_TEST.
6330 (sin_tonearest_test_data): Remove.
6331 (sin_test_tonearest): Likewise.
6332 (sin_towardzero_test_data): Likewise.
6333 (sin_test_towardzero): Likewise.
6334 (sin_downward_test_data): Likewise.
6335 (sin_test_downward): Likewise.
6336 (sin_upward_test_data): Likewise.
6337 (sin_test_upward): Likewise.
6338 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6339 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6340 (sinh_test): Use ALL_RM_TEST.
6341 (sinh_tonearest_test_data): Remove.
6342 (sinh_test_tonearest): Likewise.
6343 (sinh_towardzero_test_data): Likewise.
6344 (sinh_test_towardzero): Likewise.
6345 (sinh_downward_test_data): Likewise.
6346 (sinh_test_downward): Likewise.
6347 (sinh_upward_test_data): Likewise.
6348 (sinh_test_upward): Likewise.
6349 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6350 (sqrt_test): Use ALL_RM_TEST.
6351 (sqrt_tonearest_test_data): Remove.
6352 (sqrt_test_tonearest): Likewise.
6353 (sqrt_towardzero_test_data): Likewise.
6354 (sqrt_test_towardzero): Likewise.
6355 (sqrt_downward_test_data): Likewise.
6356 (sqrt_test_downward): Likewise.
6357 (sqrt_upward_test_data): Likewise.
6358 (sqrt_test_upward): Likewise.
6359 (tan_test_data): Update call to AUTO_TESTS_f_f.
6360 (tan_test): Use ALL_RM_TEST.
6361 (tan_tonearest_test_data): Remove.
6362 (tan_test_tonearest): Likewise.
6363 (tan_towardzero_test_data): Likewise.
6364 (tan_test_towardzero): Likewise.
6365 (tan_downward_test_data): Likewise.
6366 (tan_test_downward): Likewise.
6367 (tan_upward_test_data): Likewise.
6368 (tan_test_upward): Likewise.
6369 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6370 (tgamma_test_data): Likewise.
6371 (y0_test_data): Likewise.
6372 (y1_test_data): Likewise.
6373 (yn_test_data): Update call to AUTO_TESTS_if_f.
6374 (main): Do not call removed functions.
6375
d71aeee8
JM
63762014-03-19 Joseph Myers <joseph@codesourcery.com>
6377
6378 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6379 (ldexp_test_data): Remove.
6380 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6381 scalbn_test_data.
6382 (scalb_test): Use ALL_RM_TEST.
6383
baaf1ded
AS
63842014-03-19 Andreas Schwab <schwab@suse.de>
6385
6386 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6387
b1115e91
JM
63882014-03-19 Joseph Myers <joseph@codesourcery.com>
6389
6390 [BZ #16649]
6391 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6392 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6393 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6395 (__ASSUME_PREADV): Undefine.
6396 (__ASSUME_PWRITEV): Likewise.
6397
0283ecca
RM
63982014-03-18 Roland McGrath <roland@hack.frob.com>
6399
7d375303
RM
6400 * bits/mman-linux.h: Add comment about non-Linux use.
6401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6402 bits/mman-linux.h resting place.
6403
0283ecca
RM
6404 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6405 * bits/mman-linux.h: ... here.
6406
aebe1003
AZ
64072014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6408
6409 * conform/conformtest.pl: Add standard definition when calling C
6410 preprocessor on data files.
6411 (checknamespace): Remove unused variable.
6412
b29b6bb8
JM
64132014-03-18 Joseph Myers <joseph@codesourcery.com>
6414
6415 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6416 minus_oflow, plus_uflow and minus_uflow in expected results.
6417 * math/libm-test.inc (scalbn_test_data): Add more tests of
6418 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6419 minus_uflow.
6420 (scalbn_test): Use ALL_RM_TEST.
6421 (scalbln_test_data): Add more tests of negative arguments. Use
6422 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6423 (scalbln_test): Use ALL_RM_TEST.
6424
c8f8fa15
RM
64252014-03-18 Roland McGrath <roland@hack.frob.com>
6426
6427 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6428
fede7a5f
WN
64292014-03-18 Will Newton <will.newton@linaro.org>
6430
6431 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6432 inaccurate comment.
6433
80cf0a58
JM
64342014-03-18 Joseph Myers <joseph@codesourcery.com>
6435
6436 * Makerules [!subdir] (check-abi): Exit with error status if a
6437 test failed.
6438
b3620862
JM
64392014-03-17 Joseph Myers <joseph@codesourcery.com>
6440
6441 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6442 for rint. Include results for all rounding modes.
6443 (nearbyint_test): Use ALL_RM_TEST.
6444 (rint_test_data): Include all tests used for nearbyint.
6445
788bba36
WN
64462014-03-17 Will Newton <will.newton@linaro.org>
6447
04ec140a
WN
6448 * nptl/sysdeps/pthread/pthread.h: Revert previous
6449 change.
6450
7579d8d5
WN
6451 * sysdeps/generic/ldsodefs.h: Revert previous
6452 change.
6453
c15cf13a
WN
6454 * libio/genops.c: Revert previous change.
6455 * libio/libioP.h: Likewise.
6456 * stdio-common/vfprintf.c: Likewise.
6457
d0ac1324
WN
6458 * sysdeps/generic/math_private.h: Revert previous
6459 change.
6460
9290130a
WN
6461 * sysdeps/generic/math_private.h: Check whether
6462 HAVE_RM_CTX is defined with #ifdef rather
6463 than #if.
6464
afb466fc
WN
6465 * argp/argp-fmtstream.h: Check whether
6466 __STRICT_ANSI__ is defined with #ifdef rather
6467 than #if.
6468 * argp/argp.h: Likewise.
6469
f7efd7c3
WN
6470 * libio/genops.c: Check whether
6471 _IO_JUMPS_OFFSET is defined with #ifdef rather
6472 than #if.
6473 * libio/libioP.h: Likewise.
6474 * stdio-common/vfprintf.c: Likewise.
6475
53f1bed3
WN
6476 * sysdeps/generic/ldsodefs.h: Check whether
6477 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6478 than #if.
6479
788bba36
WN
6480 * nptl/sysdeps/pthread/pthread.h: Check
6481 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6482 its value.
6483
fcd89ebe
SP
64842014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6485
ae42bbc5
SP
6486 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6487 setting O_APPEND.
6488 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6489 test case.
6490
ea33158c
SP
6491 [BZ #16680]
6492 * libio/fileops.c (_IO_file_open): Seek to end of file but
6493 don't cache the offset.
6494 (get_file_offset): Remove function.
6495 (do_ftell): Use cached offset when available.
6496 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6497 don't cache the offset.
6498 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6499 case.
6500 (do_one_test): Call it.
6501 (do_ftell_test): Fix up expected old offset for a+ mode.
6502 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6503 available.
6504
b1dbb426
SP
6505 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6506 up test status with function return status.
6507 (do_write_test): Likewise.
6508 (do_append_test): Likewise.
6509
fcd89ebe
SP
6510 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6511 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6512 Remove.
6513
9962a2d3
JM
65142014-03-17 Joseph Myers <joseph@codesourcery.com>
6515
6516 * math/gen-libm-test.pl (parse_args): Handle results specified for
6517 each rounding mode separately.
6518 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6519 tests and results from lrint_tonearest_test_data,
6520 lrint_towardzero_test_data, lrint_downward_test_data and
6521 lrint_upward_test_data.
6522 (lrint_test): Use ALL_RM_TEST.
6523 (lrint_tonearest_test_data): Remove.
6524 (lrint_test_tonearest): Likewise.
6525 (lrint_towardzero_test_data): Likewise.
6526 (lrint_test_towardzero): Likewise.
6527 (lrint_downward_test_data): Likewise.
6528 (lrint_test_downward): Likewise.
6529 (lrint_upward_test_data): Likewise.
6530 (lrint_test_upward): Likewise.
6531 (llrint_test_data): Merge in per-rounding-mode tests and results
6532 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6533 llrint_downward_test_data and llrint_upward_test_data.
6534 (llrint_test): Use ALL_RM_TEST.
6535 (llrint_tonearest_test_data): Remove.
6536 (llrint_test_tonearest): Likewise.
6537 (llrint_towardzero_test_data): Likewise.
6538 (llrint_test_towardzero): Likewise.
6539 (llrint_downward_test_data): Likewise.
6540 (llrint_test_downward): Likewise.
6541 (llrint_upward_test_data): Likewise.
6542 (llrint_test_upward): Likewise.
6543 (rint_test_data): Merge in per-rounding-mode tests and results
6544 from rint_tonearest_test_data, rint_towardzero_test_data,
6545 rint_downward_test_data and rint_upward_test_data. Add
6546 per-rounding-mode results for tests not in those arrays.
6547 (rint_test): Use ALL_RM_TEST.
6548 (rint_tonearest_test_data): Remove.
6549 (rint_test_tonearest): Likewise.
6550 (rint_towardzero_test_data): Likewise.
6551 (rint_test_towardzero): Likewise.
6552 (rint_downward_test_data): Likewise.
6553 (rint_test_downward): Likewise.
6554 (rint_upward_test_data): Likewise.
6555 (rint_test_upward): Likewise.
6556 (main): Don't call removed functions.
6557
5006148e
RM
65582014-03-14 Roland McGrath <roland@hack.frob.com>
6559
6560 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6561 "Compiled on ..." crapola. It is anti-useful.
6562
d6fe5e58
JM
65632014-03-14 Joseph Myers <joseph@codesourcery.com>
6564
6565 * scripts/evaluate-test.sh: Handle fourth argument to determine
6566 whether test run should stop on failure.
6567 * Makeconfig (stop-on-test-failure): New variable.
6568 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6569 $(stop-on-test-failure).
6570 * Makefile (tests): Give a summary of results from testing and
6571 exit with failure status if they include an ERROR or FAIL.
6572 (xtests): Likewise.
6573 * manual/install.texi (Configuring and compiling): Mention
6574 stop-on-test-failure=y.
6575 * INSTALL: Regenerated.
6576
498a2233
RM
65772014-03-14 Roland McGrath <roland@hack.frob.com>
6578
22dbc19d
RM
6579 * scripts/versionlist.awk: New file.
6580 * Makerules [$(build-shared) = yes]
6581 (postclean-generated): Add Versions.def, not Versions.def.v and
6582 Versions.def.v.i.
6583 ($(common-objpfx)Versions.def.v.i): Target removed.
6584 ($(common-objpfx)Versions.def): New target.
6585 ($(common-objpfx)Versions.all): Depend on that rather that
6586 $(common-objpfx)Versions.def.v.
6587 * Versions.def: File removed.
6588
498a2233
RM
6589 * Makeconfig (+gccwarn): Add -Wundef.
6590 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6591 a dl-sysdep.h breaking its contract.
6592 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6593 * include/stackinfo.h: New file.
6594 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6595 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6596 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6597 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6598 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6599 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6600 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6601 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6602 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6603 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6604 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6605 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6606 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6607 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6608 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6609
c7de5025
AZ
66102014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611
6612 [BZ #16707]
6613 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6614 implementation.
6615 * math/libm-test.inc (round_test_data): Add more tests.
6616
98fb27a3
AZ
6617 [BZ #16706]
6618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6619 implementation.
6620 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6621
374f7f61
AZ
6622 [BZ #16701]
6623 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6624 implementation.
6625 * math/libm-test.inc (ceil_test_data): Add more tests.
6626
4655c291
AZ
6627 * math/libm-test.inc (trunc_test_data): Add more tests related to
6628 BZ#16414.
6629
d7329d4b
RM
66302014-03-14 Roland McGrath <roland@hack.frob.com>
6631
6632 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6633 with #if rather than #ifdef.
6634 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6635
aa4de9ce
L
66362014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6637
6638 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6639 first. Disable AVX-512 GCC support if assembler doesn't support
6640 it.
6641 * sysdeps/x86_64/configure: Regenerated.
6642
2e03fae7
CD
66432014-03-13 Carlos O'Donell <carlos@redhat.com>
6644
6645 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6646 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6647 (__old_pthread_attr_setstack): Likewise.
6648 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6649 [!_STACK_GROWS_DOWN]: Likewise.
6650
43ca83ec
MF
66512014-03-13 Mike Frysinger <vapier@gentoo.org>
6652
6653 * config.make.in (have-bash2): Delete.
6654 * configure.ac (libc_cv_have_bash2): Delete.
6655 * configure: Regenerate.
6656 * elf/Makefile (common-ldd-rewrite): Rename to ...
6657 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6658 (sh-ldd-rewrite): Delete.
6659 (bash-ldd-rewrite): Delete.
6660 (have-bash2): Delete checks.
57f41c40
AS
6661 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6662 ldd-rewrite.
c66e48b4
MF
6663
6664 * config.make.in (have-ksh): Delete.
6665 (KSH): Delete.
6666 * configure.ac (libc_cv_have_ksh): Delete.
6667 * configure: Regenerate.
6668
b93834ef
MF
6669 * elf/Makefile: Delete $(have-ksh) check.
6670 ($(objpfx)sotruss): Change KSH to BASH.
6671 * elf/sotruss.ksh: Rename to ...
6672 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6673 function style to match POSIX. Drop ksh vim mode setting.
6674
f3a4632a
MF
6675 * manual/time.texi (Specifying the Time Zone with TZ): Change
6676 Tuesday to Thursday.
6677
5896c8bd
MF
6678 * debug/tst-longjmp_chk2.c: Update header comment.
6679 (stackoverflow_handler): Add comment. Call assert on pass value.
6680
2d63a517
IZ
66812014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6682
6683 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6684 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6685 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6686 (La_x86_64_vector): Add zmm.
6687 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6688 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6689 ($(objpfx)tst-audit10): New target.
6690 ($(objpfx)tst-audit10.out): Likewise.
6691 (tst-audit10-ENV): New.
6692 (AVX512-CFLAGS): Likewise.
6693 (CFLAGS-tst-audit10.c): Likewise.
6694 (CFLAGS-tst-auditmod10a.c): Likewise.
6695 (CFLAGS-tst-auditmod10b.c): Likewise.
6696 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6697 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6698 * sysdeps/x86_64/configure: Regenerated.
6699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6700 AVX-512 zmm register support.
6701 (_dl_x86_64_save_sse): Likewise.
6702 (_dl_x86_64_restore_sse): Likewise.
6703 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6704 size vector registers.
6705 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6706 (ZMM_SIZE): Likewise.
6707 * sysdeps/x86_64/tst-audit10.c: New file.
6708 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6709 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6710
44c4e5d5
RM
67112014-03-13 Roland McGrath <roland@hack.frob.com>
6712
6713 * configure.ac (HAVE_EHDR_START): New check.
6714 * configure: Regenerated.
6715 * config.h.in (HAVE_EHDR_START): New #undef.
6716 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6717 assuming the lowest-addressed segment maps the start of the file.
6718
acd6e389
JM
67192014-03-13 Joseph Myers <joseph@codesourcery.com>
6720
6721 * INSTALL: Regenerated.
6722
6f918f36
WN
67232014-03-13 Will Newton <will.newton@linaro.org>
6724
6725 * manual/setjmp.texi (System V contexts): Improve
6726 clarity and grammar of documentation.
6727
798212a0
PP
67282014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6729
6730 [BZ #16381]
798212a0 6731 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6732 (tests-pie): Add tst-pie2.
798212a0
PP
6733 * elf/tst-pie2.c: New file.
6734 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6735 for ET_EXEC.
6736 * elf/rtld.c (map_doit): Load executable as lt_executable.
6737 (dl_main): Likewise.
6738
abe6d90c
JM
67392014-03-12 Joseph Myers <joseph@codesourcery.com>
6740
6741 [BZ #16642]
6742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6743 (__ASSUME_PSELECT): Undefine.
6744
dd3946c6
AZ
67452014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6746
6747 [BZ #16689]
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6749 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6750 static build.
6751 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6752 selector for static builds.
6753
c44496df
SP
67542014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 [BZ #16695]
6757 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6758 key in the buffer.
6759
27c7220a
AZ
67602014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6761
57f41c40
AS
6762 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6763 IFUNC selector for static builds.
27c7220a 6764
600fa361
JM
67652014-03-11 Joseph Myers <joseph@codesourcery.com>
6766
76c96cf7
JM
6767 * sysdeps/mips/math_private.h [__mips_hard_float]
6768 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6769 libc_feresetround_mips_ctx.
6770 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6771 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6772 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6773
600fa361
JM
6774 [BZ #16677]
6775 * math/s_nextafter.c (__nextafter): Do not return value from
6776 overflowing computation.
6777 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6778 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6780 Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6782 Likewise.
6783 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6784 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6785
d7706c32
RM
67862014-03-11 Roland McGrath <roland@hack.frob.com>
6787
6788 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6789 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6790 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6791 the new mov targetting sp.
6792
4facea47
AZ
67932014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6794
6795 [BZ #16683]
6796 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6797 Define it for static builds as well.
6798 (NO_BZERO_IMPL): Likewise.
6799
e65caf1f
VR
68002014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6801
6802 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6803 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6804 multiarch strspn for PPC64.
6805 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6806 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6808 (__libc_ifunc_impl_list): Likewise.
6809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6810 multiarch optimizations
6811 * string/strspn.c (strspn): Using macro to redefine symbol name.
6812
ba9cc071
AZ
68132014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6814 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815
6816 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6817 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6818 multiarch strncat for PPC64.
6819 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6820 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6822 (__libc_ifunc_impl_list): Likewise.
6823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6824 multiarch optimizations
6825
8b4ff974
SP
68262014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6827
6828 [BZ #16639]
6829 * nscd/nscd.service: Make service type forking.
6830
54b46a4b
AZ
68312014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832
6833 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6834 sign in non default rounding modes.
6835 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6836
e9996ef7
JM
68372014-03-08 Joseph Myers <joseph@codesourcery.com>
6838
6839 * math/libm-test.inc (ALL_RM_TEST): New macro.
6840 (ceil_test): Use ALL_RM_TEST.
6841 (cimag_test): Likewise.
6842 (conj_test): Likewise.
6843 (copysign_test): Likewise.
6844 (cproj_test): Likewise.
6845 (creal_test): Likewise.
6846 (fabs_test): Likewise.
6847 (floor_test): Likewise.
6848 (fmax_test): Likewise.
6849 (fmin_test): Likewise.
6850 (fmod_test): Likewise.
6851 (fpclassify_test): Likewise.
6852 (frexp_test): Likewise.
6853 (ilogb_test): Likewise.
6854 (isfinite_test): Likewise.
6855 (finite_test): Likewise.
6856 (isgreater_test): Likewise.
6857 (isgreaterequal_test): Likewise.
6858 (isinf_test): Likewise.
6859 (isless_test): Likewise.
6860 (islessequal_test): Likewise.
6861 (islessgreater_test): Likewise.
6862 (isnan_test): Likewise.
6863 (isnormal_test): Likewise.
6864 (issignaling_test): Likewise.
6865 (isunordered_test): Likewise.
6866 (logb_test): Likewise.
6867 (logb_downward_test_data): Remove.
6868 (logb_test_downward): Likewise.
6869 (lround_test): Use ALL_RM_TEST.
6870 (llround_test): Likewise.
6871 (modf_test): Likewise.
6872 (nexttoward_test): Likewise.
6873 (remainder_test): Likewise.
6874 (drem_test): Likewise.
6875 (remainder_tonearest_test_data): Likewise.
6876 (remainder_test_tonearest): Likewise.
6877 (drem_test_tonearest): Likewise.
6878 (remainder_towardzero_test_data): Likewise.
6879 (remainder_test_towardzero): Likewise.
6880 (drem_test_towardzero): Likewise.
6881 (remainder_downward_test_data): Likewise.
6882 (remainder_test_downward): Likewise.
6883 (drem_test_downward): Likewise.
6884 (remainder_upward_test_data): Likewise.
6885 (remainder_test_upward): Likewise.
6886 (drem_test_upward): Likewise.
6887 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6888 (round_test): Use ALL_RM_TEST.
6889 (signbit_test): Likewise.
6890 (trunc_test): Likewise.
6891 (significand_test): Likewise.
6892 (main): Don't call removed functions.
6893
bc61d27c
JM
68942014-03-07 Joseph Myers <joseph@codesourcery.com>
6895
5c780849
JM
6896 [BZ #16674]
6897 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6898 || __USE_XOPEN2K8].
6899 (ILL_ILLOPN): Likewise.
6900 (ILL_ILLADR): Likewise.
6901 (ILL_ILLTRP): Likewise.
6902 (ILL_PRVOPC): Likewise.
6903 (ILL_PRVREG): Likewise.
6904 (ILL_COPROC): Likewise.
6905 (ILL_BADSTK): Likewise.
6906 (FPE_INTDIV): Likewise.
6907 (FPE_INTOVF): Likewise.
6908 (FPE_FLTDIV): Likewise.
6909 (FPE_FLTOVF): Likewise.
6910 (FPE_FLTUND): Likewise.
6911 (FPE_FLTRES): Likewise.
6912 (FPE_FLTINV): Likewise.
6913 (FPE_FLTSUB): Likewise.
6914 (SEGV_MAPERR): Likewise.
6915 (SEGV_ACCERR): Likewise.
6916 (BUS_ADRALN): Likewise.
6917 (BUS_ADRERR): Likewise.
6918 (BUS_OBJERR): Likewise.
6919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6920 (TRAP_TRACE): Likewise.
6921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6922 __USE_XOPEN2K8].
6923 (CLD_KILLED): Likewise.
6924 (CLD_DUMPED): Likewise.
6925 (CLD_TRAPPED): Likewise.
6926 (CLD_STOPPED): Likewise.
6927 (CLD_CONTINUED): Likewise.
6928 (POLL_IN): Likewise.
6929 (POLL_OUT): Likewise.
6930 (POLL_MSG): Likewise.
6931 (POLL_ERR): Likewise.
6932 (POLL_PRI): Likewise.
6933 (POLL_HUP): Likewise.
6934 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6935 Likewise.
6936 (ILL_ILLOPN): Likewise.
6937 (ILL_ILLADR): Likewise.
6938 (ILL_ILLTRP): Likewise.
6939 (ILL_PRVOPC): Likewise.
6940 (ILL_PRVREG): Likewise.
6941 (ILL_COPROC): Likewise.
6942 (ILL_BADSTK): Likewise.
6943 (FPE_INTDIV): Likewise.
6944 (FPE_INTOVF): Likewise.
6945 (FPE_FLTDIV): Likewise.
6946 (FPE_FLTOVF): Likewise.
6947 (FPE_FLTUND): Likewise.
6948 (FPE_FLTRES): Likewise.
6949 (FPE_FLTINV): Likewise.
6950 (FPE_FLTSUB): Likewise.
6951 (SEGV_MAPERR): Likewise.
6952 (SEGV_ACCERR): Likewise.
6953 (BUS_ADRALN): Likewise.
6954 (BUS_ADRERR): Likewise.
6955 (BUS_OBJERR): Likewise.
6956 (BUS_MCEERR_AR): Likewise.
6957 (BUS_MCEERR_AO): Likewise.
6958 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6959 (TRAP_TRACE): Likewise.
6960 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6961 __USE_XOPEN2K8].
6962 (CLD_KILLED): Likewise.
6963 (CLD_DUMPED): Likewise.
6964 (CLD_TRAPPED): Likewise.
6965 (CLD_STOPPED): Likewise.
6966 (CLD_CONTINUED): Likewise.
6967 (POLL_IN): Likewise.
6968 (POLL_OUT): Likewise.
6969 (POLL_MSG): Likewise.
6970 (POLL_ERR): Likewise.
6971 (POLL_PRI): Likewise.
6972 (POLL_HUP): Likewise.
6973 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6974 (ILL_ILLOPN): Likewise.
6975 (ILL_ILLADR): Likewise.
6976 (ILL_ILLTRP): Likewise.
6977 (ILL_PRVOPC): Likewise.
6978 (ILL_PRVREG): Likewise.
6979 (ILL_COPROC): Likewise.
6980 (ILL_BADSTK): Likewise.
6981 (FPE_INTDIV): Likewise.
6982 (FPE_INTOVF): Likewise.
6983 (FPE_FLTDIV): Likewise.
6984 (FPE_FLTOVF): Likewise.
6985 (FPE_FLTUND): Likewise.
6986 (FPE_FLTRES): Likewise.
6987 (FPE_FLTINV): Likewise.
6988 (FPE_FLTSUB): Likewise.
6989 (SEGV_MAPERR): Likewise.
6990 (SEGV_ACCERR): Likewise.
6991 (BUS_ADRALN): Likewise.
6992 (BUS_ADRERR): Likewise.
6993 (BUS_OBJERR): Likewise.
6994 (BUS_MCEERR_AR): Likewise.
6995 (BUS_MCEERR_AO): Likewise.
6996 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6997 (TRAP_TRACE): Likewise.
6998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6999 __USE_XOPEN2K8].
7000 (CLD_KILLED): Likewise.
7001 (CLD_DUMPED): Likewise.
7002 (CLD_TRAPPED): Likewise.
7003 (CLD_STOPPED): Likewise.
7004 (CLD_CONTINUED): Likewise.
7005 (POLL_IN): Likewise.
7006 (POLL_OUT): Likewise.
7007 (POLL_MSG): Likewise.
7008 (POLL_ERR): Likewise.
7009 (POLL_PRI): Likewise.
7010 (POLL_HUP): Likewise.
7011 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7012 Likewise.
7013 (ILL_ILLOPN): Likewise.
7014 (ILL_ILLADR): Likewise.
7015 (ILL_ILLTRP): Likewise.
7016 (ILL_PRVOPC): Likewise.
7017 (ILL_PRVREG): Likewise.
7018 (ILL_COPROC): Likewise.
7019 (ILL_BADSTK): Likewise.
7020 (ILL_BADIADDR): Likewise.
7021 (ILL_BREAK): Likewise.
7022 (FPE_INTDIV): Likewise.
7023 (FPE_INTOVF): Likewise.
7024 (FPE_FLTDIV): Likewise.
7025 (FPE_FLTOVF): Likewise.
7026 (FPE_FLTUND): Likewise.
7027 (FPE_FLTRES): Likewise.
7028 (FPE_FLTINV): Likewise.
7029 (FPE_FLTSUB): Likewise.
7030 (FPE_DECOVF): Likewise.
7031 (FPE_DECDIV): Likewise.
7032 (FPE_DECERR): Likewise.
7033 (FPE_INVASC): Likewise.
7034 (FPE_INVDEC): Likewise.
7035 (SEGV_MAPERR): Likewise.
7036 (SEGV_ACCERR): Likewise.
7037 (SEGV_PSTKOVF): Likewise.
7038 (BUS_ADRALN): Likewise.
7039 (BUS_ADRERR): Likewise.
7040 (BUS_OBJERR): Likewise.
7041 (BUS_MCEERR_AR): Likewise.
7042 (BUS_MCEERR_AO): Likewise.
7043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7044 (TRAP_TRACE): Likewise.
7045 (TRAP_BRANCH): Likewise.
7046 (TRAP_HWBKPT): Likewise.
7047 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7048 __USE_XOPEN2K8].
7049 (CLD_KILLED): Likewise.
7050 (CLD_DUMPED): Likewise.
7051 (CLD_TRAPPED): Likewise.
7052 (CLD_STOPPED): Likewise.
7053 (CLD_CONTINUED): Likewise.
7054 (POLL_IN): Likewise.
7055 (POLL_OUT): Likewise.
7056 (POLL_MSG): Likewise.
7057 (POLL_ERR): Likewise.
7058 (POLL_PRI): Likewise.
7059 (POLL_HUP): Likewise.
7060 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7061 (ILL_ILLOPN): Likewise.
7062 (ILL_ILLADR): Likewise.
7063 (ILL_ILLTRP): Likewise.
7064 (ILL_PRVOPC): Likewise.
7065 (ILL_PRVREG): Likewise.
7066 (ILL_COPROC): Likewise.
7067 (ILL_BADSTK): Likewise.
7068 (FPE_INTDIV): Likewise.
7069 (FPE_INTOVF): Likewise.
7070 (FPE_FLTDIV): Likewise.
7071 (FPE_FLTOVF): Likewise.
7072 (FPE_FLTUND): Likewise.
7073 (FPE_FLTRES): Likewise.
7074 (FPE_FLTINV): Likewise.
7075 (FPE_FLTSUB): Likewise.
7076 (SEGV_MAPERR): Likewise.
7077 (SEGV_ACCERR): Likewise.
7078 (BUS_ADRALN): Likewise.
7079 (BUS_ADRERR): Likewise.
7080 (BUS_OBJERR): Likewise.
7081 (BUS_MCEERR_AR): Likewise.
7082 (BUS_MCEERR_AO): Likewise.
7083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7084 (TRAP_TRACE): Likewise.
7085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7086 __USE_XOPEN2K8].
7087 (CLD_KILLED): Likewise.
7088 (CLD_DUMPED): Likewise.
7089 (CLD_TRAPPED): Likewise.
7090 (CLD_STOPPED): Likewise.
7091 (CLD_CONTINUED): Likewise.
7092 (POLL_IN): Likewise.
7093 (POLL_OUT): Likewise.
7094 (POLL_MSG): Likewise.
7095 (POLL_ERR): Likewise.
7096 (POLL_PRI): Likewise.
7097 (POLL_HUP): Likewise.
7098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7099 (ILL_ILLOPN): Likewise.
7100 (ILL_ILLADR): Likewise.
7101 (ILL_ILLTRP): Likewise.
7102 (ILL_PRVOPC): Likewise.
7103 (ILL_PRVREG): Likewise.
7104 (ILL_COPROC): Likewise.
7105 (ILL_BADSTK): Likewise.
7106 (FPE_INTDIV): Likewise.
7107 (FPE_INTOVF): Likewise.
7108 (FPE_FLTDIV): Likewise.
7109 (FPE_FLTOVF): Likewise.
7110 (FPE_FLTUND): Likewise.
7111 (FPE_FLTRES): Likewise.
7112 (FPE_FLTINV): Likewise.
7113 (FPE_FLTSUB): Likewise.
7114 (SEGV_MAPERR): Likewise.
7115 (SEGV_ACCERR): Likewise.
7116 (BUS_ADRALN): Likewise.
7117 (BUS_ADRERR): Likewise.
7118 (BUS_OBJERR): Likewise.
7119 (BUS_MCEERR_AR): Likewise.
7120 (BUS_MCEERR_AO): Likewise.
7121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7122 (TRAP_TRACE): Likewise.
7123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7124 __USE_XOPEN2K8].
7125 (CLD_KILLED): Likewise.
7126 (CLD_DUMPED): Likewise.
7127 (CLD_TRAPPED): Likewise.
7128 (CLD_STOPPED): Likewise.
7129 (CLD_CONTINUED): Likewise.
7130 (POLL_IN): Likewise.
7131 (POLL_OUT): Likewise.
7132 (POLL_MSG): Likewise.
7133 (POLL_ERR): Likewise.
7134 (POLL_PRI): Likewise.
7135 (POLL_HUP): Likewise.
7136 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7137 (ILL_ILLOPN): Likewise.
7138 (ILL_ILLADR): Likewise.
7139 (ILL_ILLTRP): Likewise.
7140 (ILL_PRVOPC): Likewise.
7141 (ILL_PRVREG): Likewise.
7142 (ILL_COPROC): Likewise.
7143 (ILL_BADSTK): Likewise.
7144 (FPE_INTDIV): Likewise.
7145 (FPE_INTOVF): Likewise.
7146 (FPE_FLTDIV): Likewise.
7147 (FPE_FLTOVF): Likewise.
7148 (FPE_FLTUND): Likewise.
7149 (FPE_FLTRES): Likewise.
7150 (FPE_FLTINV): Likewise.
7151 (FPE_FLTSUB): Likewise.
7152 (SEGV_MAPERR): Likewise.
7153 (SEGV_ACCERR): Likewise.
7154 (BUS_ADRALN): Likewise.
7155 (BUS_ADRERR): Likewise.
7156 (BUS_OBJERR): Likewise.
7157 (BUS_MCEERR_AR): Likewise.
7158 (BUS_MCEERR_AO): Likewise.
7159 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7160 (TRAP_TRACE): Likewise.
7161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7162 __USE_XOPEN2K8].
7163 (CLD_KILLED): Likewise.
7164 (CLD_DUMPED): Likewise.
7165 (CLD_TRAPPED): Likewise.
7166 (CLD_STOPPED): Likewise.
7167 (CLD_CONTINUED): Likewise.
7168 (POLL_IN): Likewise.
7169 (POLL_OUT): Likewise.
7170 (POLL_MSG): Likewise.
7171 (POLL_ERR): Likewise.
7172 (POLL_PRI): Likewise.
7173 (POLL_HUP): Likewise.
7174 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7175 (ILL_ILLOPN): Likewise.
7176 (ILL_ILLADR): Likewise.
7177 (ILL_ILLTRP): Likewise.
7178 (ILL_PRVOPC): Likewise.
7179 (ILL_PRVREG): Likewise.
7180 (ILL_COPROC): Likewise.
7181 (ILL_BADSTK): Likewise.
7182 (ILL_DBLFLT): Likewise.
7183 (ILL_HARDWALL): Likewise.
7184 (FPE_INTDIV): Likewise.
7185 (FPE_INTOVF): Likewise.
7186 (FPE_FLTDIV): Likewise.
7187 (FPE_FLTOVF): Likewise.
7188 (FPE_FLTUND): Likewise.
7189 (FPE_FLTRES): Likewise.
7190 (FPE_FLTINV): Likewise.
7191 (FPE_FLTSUB): Likewise.
7192 (SEGV_MAPERR): Likewise.
7193 (SEGV_ACCERR): Likewise.
7194 (BUS_ADRALN): Likewise.
7195 (BUS_ADRERR): Likewise.
7196 (BUS_OBJERR): Likewise.
7197 (BUS_MCEERR_AR): Likewise.
7198 (BUS_MCEERR_AO): Likewise.
7199 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7200 (TRAP_TRACE): Likewise.
7201 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7202 __USE_XOPEN2K8].
7203 (CLD_KILLED): Likewise.
7204 (CLD_DUMPED): Likewise.
7205 (CLD_TRAPPED): Likewise.
7206 (CLD_STOPPED): Likewise.
7207 (CLD_CONTINUED): Likewise.
7208 (POLL_IN): Likewise.
7209 (POLL_OUT): Likewise.
7210 (POLL_MSG): Likewise.
7211 (POLL_ERR): Likewise.
7212 (POLL_PRI): Likewise.
7213 (POLL_HUP): Likewise.
7214 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7215 (ILL_ILLOPN): Likewise.
7216 (ILL_ILLADR): Likewise.
7217 (ILL_ILLTRP): Likewise.
7218 (ILL_PRVOPC): Likewise.
7219 (ILL_PRVREG): Likewise.
7220 (ILL_COPROC): Likewise.
7221 (ILL_BADSTK): Likewise.
7222 (FPE_INTDIV): Likewise.
7223 (FPE_INTOVF): Likewise.
7224 (FPE_FLTDIV): Likewise.
7225 (FPE_FLTOVF): Likewise.
7226 (FPE_FLTUND): Likewise.
7227 (FPE_FLTRES): Likewise.
7228 (FPE_FLTINV): Likewise.
7229 (FPE_FLTSUB): Likewise.
7230 (SEGV_MAPERR): Likewise.
7231 (SEGV_ACCERR): Likewise.
7232 (BUS_ADRALN): Likewise.
7233 (BUS_ADRERR): Likewise.
7234 (BUS_OBJERR): Likewise.
7235 (BUS_MCEERR_AR): Likewise.
7236 (BUS_MCEERR_AO): Likewise.
7237 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7238 (TRAP_TRACE): Likewise.
7239 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7240 __USE_XOPEN2K8].
7241 (CLD_KILLED): Likewise.
7242 (CLD_DUMPED): Likewise.
7243 (CLD_TRAPPED): Likewise.
7244 (CLD_STOPPED): Likewise.
7245 (CLD_CONTINUED): Likewise.
7246 (POLL_IN): Likewise.
7247 (POLL_OUT): Likewise.
7248 (POLL_MSG): Likewise.
7249 (POLL_ERR): Likewise.
7250 (POLL_PRI): Likewise.
7251 (POLL_HUP): Likewise.
7252 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7253 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7254
bc61d27c
JM
7255 [BZ #16670]
7256 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7257 before #include of <time.h>.
7258 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7259 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7260 (test-xfail-UNIX98/sched.h/conform): Likewise.
7261
302949e2
MS
72622014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7263
7264 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7265 error absence of trapping exception support.
7266 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7267
a00f522a
JM
72682014-03-07 Joseph Myers <joseph@codesourcery.com>
7269
6f99f280
JM
7270 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7271 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7272 * timezone/Makefile (testdata): Move definition above include of
7273 Rules.
7274 (test-zones): New variable.
7275 (tests-special): Add zone files.
7276 (build-testdata): Use $(evaluate-test).
7277
0b20a9e8
JM
7278 * elf/Makefile (tests-special): Rename tests to end with .out.
7279 ($(objpfx)noload-mem): Likewise.
7280 ($(objpfx)tst-leaks1-mem): Likewise.
7281 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7282 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7283 $(objpfx)test-iconvconfig.out.
7284 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7285 set -e inside subshell and redirect output to file.
7286 * iconvdata/Makefile (generated): Rename tests to end with .out.
7287 Correct type.
7288 (tests-special): Rename tests to end with .out.
7289 ($(objpfx)mtrace-tst-loading): Likewise.
7290 * intl/Makefile (generated): Likewise.
7291 (tests-special): Likewise.
7292 ($(objpfx)mtrace-tst-gettext): Likewise.
7293 * misc/Makefile (generated): Likewise.
7294 (tests-special): Likewise.
7295 ($(objpfx)tst-error1-mem): Likewise.
7296 * nptl/Makefile (tests-special): Likewise.
7297 ($(objpfx)tst-stack3-mem): Likewise.
7298 (generated): Likewise.
7299 * posix/Makefile (generated): Likewise.
7300 (tests-special): Likewise.
7301 (xtests-special): Likewise.
7302 ($(objpfx)tst-fnmatch-mem): Likewise.
7303 ($(objpfx)bug-regex2-mem): Likewise.
7304 ($(objpfx)bug-regex14-mem): Likewise.
7305 ($(objpfx)bug-regex21-mem): Likewise.
7306 ($(objpfx)bug-regex31-mem): Likewise.
7307 ($(objpfx)tst-vfork3-mem): Likewise.
7308 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7309 ($(objpfx)tst-pcre-mem): Likewise.
7310 ($(objpfx)tst-boost-mem): Likewise.
7311 ($(objpfx)bug-ga2-mem): Likewise.
7312 ($(objpfx)bug-glob2-mem): Likewise.
7313 * resolv/Makefile (generate): Likewise.
7314 (tests-special): Likewise.
7315 (xtests-special): Likewise.
7316 (generated): Likewise.
7317 ($(objpfx)mtrace-tst-leaks): Likewise.
7318 ($(objpfx)mtrace-tst-leaks2): Likewise.
7319
265d52ab
JM
7320 * scripts/merge-test-results.sh: New file.
7321 * Makefile (tests-special-notdir): New variable.
7322 (tests): Run merge-test-results.sh.
7323 (xtests): Likewise.
7324 * Rules (tests-special-notdir): New variable.
7325 (xtests-special-notdir): Likewise.
7326 (tests): Run merge-test-results.sh
7327 (xtests): Likewise.
7328
54ee292d
JM
7329 * Makeconfig (test-xfail-name): New variable.
7330 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7331 compute variable name for expected failures.
7332 * conform/Makefile (conformtest-headers-data): New variable.
7333 (conformtest-standards): Likewise.
7334 (conformtest-headers-ISO): Likewise.
7335 (conformtest-headers-ISO99): Likewise.
7336 (conformtest-headers-ISO11): Likewise.
7337 (conformtest-headers-POSIX): Likewise.
7338 (conformtest-headers-XPG3): Likewise.
7339 (conformtest-headers-XPG4): Likewise.
7340 (conformtest-headers-UNIX98): Likewise.
7341 (conformtest-headers-XOPEN2K): Likewise.
7342 (conformtest-headers-POSIX2008): Likewise.
7343 (conformtest-headers-XOPEN2K8): Likewise.
7344 (conformtest-header-list-base): Likewise.
7345 (conformtest-header-list-tests): Likewise.
7346 (conformtest-header-base): Likewise.
7347 (conformtest-header-tests): Likewise.
7348 (tests-special): Add $(conformtest-header-list-tests). If
7349 [$(fast-check) && !$(cross-compiling)], add
7350 $(conformtest-header-tests) instead of
7351 $(objpfx)run-conformtest.out.
7352 (generated): Add $(conformtest-header-list-base). If
7353 [$(fast-check) && !$(cross-compiling)], add
7354 $(conformtest-header-base). Remove previous setting.
7355 ($(conformtest-header-list-tests)): New target.
7356 (test-xfail-run-conformtest): Remove variable.
7357 ($(objpfx)run-conformtest.out): Remove target.
7358 (test-xfail-ISO11/complex.h/conform): New variable.
7359 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7360 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7361 (test-xfail-XPG3/varargs.h/conform): Likewise.
7362 (test-xfail-XPG4/varargs.h/conform): Likewise.
7363 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7364 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7365 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7366 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7367 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7368 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7369 (test-xfail-XPG3/ftw.h/conform): Likewise.
7370 (test-xfail-XPG3/grp.h/conform): Likewise.
7371 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7372 (test-xfail-XPG3/limits.h/conform): Likewise.
7373 (test-xfail-XPG3/pwd.h/conform): Likewise.
7374 (test-xfail-XPG3/search.h/conform): Likewise.
7375 (test-xfail-XPG3/signal.h/conform): Likewise.
7376 (test-xfail-XPG3/stdio.h/conform): Likewise.
7377 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7378 (test-xfail-XPG3/string.h/conform): Likewise.
7379 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7380 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7381 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7382 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7383 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7384 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7385 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7386 (test-xfail-XPG3/termios.h/conform): Likewise.
7387 (test-xfail-XPG3/time.h/conform): Likewise.
7388 (test-xfail-XPG3/unistd.h/conform): Likewise.
7389 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7390 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7391 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7392 (test-xfail-XPG4/netdb.h/conform): Likewise.
7393 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7394 (test-xfail-XPG4/signal.h/conform): Likewise.
7395 (test-xfail-XPG4/stdio.h/conform): Likewise.
7396 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7397 (test-xfail-XPG4/stropts.h/conform): Likewise.
7398 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7399 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7400 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7401 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7402 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7403 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7404 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7405 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7406 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7407 (test-xfail-XPG4/termios.h/conform): Likewise.
7408 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7409 (test-xfail-XPG4/unistd.h/conform): Likewise.
7410 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7411 (test-xfail-POSIX/sched.h/conform): Likewise.
7412 (test-xfail-POSIX/signal.h/conform): Likewise.
7413 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7414 (test-xfail-POSIX/tar.h/conform): Likewise.
7415 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7416 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7417 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7418 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7419 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7420 (test-xfail-UNIX98/sched.h/conform): Likewise.
7421 (test-xfail-UNIX98/signal.h/conform): Likewise.
7422 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7423 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7424 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7425 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7426 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7427 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7428 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7429 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7430 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7431 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7432 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7433 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7434 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7435 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7436 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7437 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7438 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7439 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7440 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7441 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7442 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7443 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7444 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7445 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7446 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7447 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7448 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7449 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7450 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7451 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7452 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7453 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7454 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7455 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7456 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7457 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7458 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7459 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7460 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7461 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7462 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7463 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7464 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7465 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7466 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7467 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7468 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7469 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7470 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7471 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7472 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7473 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7474 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7475 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7476 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7477 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7478 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7479 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7480 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7481 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7482 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7483 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7484 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7485 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7486 (conformtest-cc-flags): Likewise.
7487 ($(conformtest-header-tests): New target.
7488 * conform/check-header-lists.sh: New file.
7489 * conform/run-conformtest.sh: Remove.
7490
a00f522a
JM
7491 * conform/conformtest.pl: Allow ' and \ in values given for
7492 constants.
7493 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7494 inclusion.
7495 [POSIX] (sys/types.h): Likewise.
7496 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7497 inclusion.
7498 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7499 inclusion.
7500 * conform/data/signal.h-data (SIGIO): Remove expectation.
7501 [XPG3] (SIGBUS): Do not expect.
7502 [POSIX || XPG3] (SIGPOLL): Likewise.
7503 [POSIX || XPG3] (SIGPROF): Likewise.
7504 [POSIX || XPG3] (SIGSYS): Likewise.
7505 [XPG3] (SIGTRAP): Likewise.
7506 [POSIX || XPG3] (SIGURG): Likewise.
7507 [POSIX || XPG3] (SIGVTALRM): Likewise.
7508 [POSIX || XPG3] (SIGXCPU): Likewise.
7509 [POSIX || XPG3] (SIGXFSZ): Likewise.
7510 [POSIX] (SA_SIGINFO): Expect.
7511 [XPG3] (siginfo_t): Do not expect type or contents.
7512 [POSIX] (si_pid): Do not expect element.
7513 [POSIX] (si_uid): Likewise.
7514 [POSIX] (si_addr): Likewise.
7515 [POSIX] (si_status): Likewise.
7516 [POSIX] (si_band): Likewise.
7517 [XPG4] (si_value): Likewise.
7518 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7519 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7520 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7521 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7522 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7523 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7524 [POSIX || XPG3] (ILL_COPROC): Likewise.
7525 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7526 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7527 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7528 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7529 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7530 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7531 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7532 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7533 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7534 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7535 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7536 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7537 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7538 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7539 [POSIX || XPG3] (CLD_EXITED): Likewise.
7540 [POSIX || XPG3] (CLD_KILLED): Likewise.
7541 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7542 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7543 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7544 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7545 [POSIX || XPG3] (POLL_IN): Likewise.
7546 [POSIX || XPG3] (POLL_OUT): Likewise.
7547 [POSIX || XPG3] (POLL_MSG): Likewise.
7548 [POSIX || XPG3] (POLL_ERR): Likewise.
7549 [POSIX || XPG3] (POLL_PRI): Likewise.
7550 [POSIX || XPG3] (POLL_HUP): Likewise.
7551 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7552 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7553 (SIG*): Do not allow.
7554 [XPG3] (si_*): Likewise.
7555 [XPG3] (SI_*): Likewise.
7556 [XPG3 || XPG4] (sigev_*): Likewise.
7557 [XPG3 || XPG4] (SIGEV_*): Likewise.
7558 [XPG3 || XPG4] (sival_*): Likewise.
7559 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7560 [POSIX || XPG3] (BUS_*): Likewise.
7561 [POSIX || XPG3] (CLD_*): Likewise.
7562 [POSIX || XPG3] (FPE_*): Likewise.
7563 [POSIX || XPG3] (ILL_*): Likewise.
7564 [POSIX || XPG3] (POLL_*): Likewise.
7565 [POSIX || XPG3] (SEGV_*): Likewise.
7566 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7567 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7568 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7569 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7570 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7571 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7572 Specify type and value.
7573 (TVERSLEN): Likewise.
7574 (REGTYPE): Likewise.
7575 (AREGTYPE): Likewise.
7576 (LNKTYPE): Likewise.
7577 (SYMTYPE): Likewise.
7578 (CHRTYPE): Likewise.
7579 (BLKTYPE): Likewise.
7580 (DIRTYPE): Likewise.
7581 (FIFOTYPE): Likewise.
7582 (CONTTYPE): Likewise.
7583 (TSUID): Likewise.
7584 (TSGID): Likewise.
7585 (TSVTX): Likewise.
7586 (TUREAD): Likewise.
7587 (TUWRITE): Likewise.
7588 (TUEXEC): Likewise.
7589 (TGREAD): Likewise.
7590 (TGWRITE): Likewise.
7591 (TGEXEC): Likewise.
7592 (TOREAD): Likewise.
7593 (TOWRITE): Likewise.
7594 (TOEXEC): Likewise.
7595 [POSIX] (TSVTX): Expect constant.
7596
aa97dee1
JM
75972014-03-06 Joseph Myers <joseph@codesourcery.com>
7598
f214606a
JM
7599 * Makefile (tests): Change dependencies to ....
7600 (tests-special): ... additions to this variable.
7601 (tests): Depend on $(tests-special).
7602 * Makerules (check-abi-list): New variable.
7603 (check-abi): Depend on $(check-abi-list).
7604 [$(subdir) = elf] (tests-special): Add
7605 $(objpfx)check-abi-libc.out.
7606 [$(build-shared) = yes && subdir] (tests-special): Add
7607 $(check-abi-list).
7608 [$(build-shared) = yes && subdir] (tests): Do not depend on
7609 check-abi.
7610 * Rules (tests): Depend on $(tests-special).
7611 (xtests): Depend on $(xtests-special).
7612 * catgets/Makefile (tests): Change dependencies to ....
7613 (tests-special): ... additions to this variable.
7614 * conform/Makefile (tests): Change dependencies to ....
7615 (tests-special): ... additions to this variable.
7616 * elf/Makefile (tests): Change dependencies to ....
7617 (tests-special): ... additions to this variable.
7618 * grp/Makefile (tests): Change dependencies to ....
7619 (tests-special): ... additions to this variable.
7620 * iconv/Makefile (xtests): Change dependencies to ....
7621 (xtests-special): ... additions to this variable.
7622 * iconvdata/Makefile (tests): Change dependencies to ....
7623 (tests-special): ... additions to this variable.
7624 * intl/Makefile (tests): Change dependencies to ....
7625 (tests-special): ... additions to this variable. Also add
7626 $(objpfx)tst-gettext.out.
7627 * io/Makefile (tests): Change dependencies to ....
7628 (tests-special): ... additions to this variable.
7629 * libio/Makefile (tests): Change dependencies to ....
7630 (tests-special): ... additions to this variable.
7631 * malloc/Makefile (tests): Change dependencies to ....
7632 (tests-special): ... additions to this variable.
7633 * misc/Makefile (tests): Change dependencies to ....
7634 (tests-special): ... additions to this variable.
7635 * nptl/Makefile (tests): Change dependencies to ....
7636 (tests-special): ... additions to this variable.
7637 * nptl_db/Makefile (tests): Change dependencies to ....
7638 (tests-special): ... additions to this variable.
7639 * posix/Makefile (tests): Change dependencies to ....
7640 (tests-special): ... additions to this variable.
7641 (xtests): Change dependencies to ....
7642 (xtests-special): ... additions to this variable.
7643 * resolv/Makefile (tests): Change dependencies to ....
7644 (tests-special): ... additions to this variable.
7645 (xtests): Change dependencies to ....
7646 (xtests-special): ... additions to this variable.
7647 * stdio-common/Makefile (tests): Change dependencies to ....
7648 (tests-special): ... additions to this variable.
7649 (do-tst-unbputc): Remove target.
7650 (do-tst-printf): Likewise.
7651 * stdlib/Makefile (tests): Change dependencies to ....
7652 (tests-special): ... additions to this variable.
7653 * string/Makefile (tests): Change dependencies to ....
7654 (tests-special): ... additions to this variable.
7655 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7656 (tests-special): ... additions to this variable.
7657
81700b53
JM
7658 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7659 whole file.
7660 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7661 whole file.
7662 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7663 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7664
2ea18461
JM
7665 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7666 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7667 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7668 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7669 * conform/data/libgen.h-data [XPG3]: Likewise.
7670 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7671 * conform/data/ndbm.h-data [XPG3]: Likewise.
7672 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7673 * conform/data/netdb.h-data [XPG3]: Likewise.
7674 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7675 * conform/data/poll.h-data [XPG3]: Likewise.
7676 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7677 * conform/data/strings.h-data [XPG3]: Likewise.
7678 * conform/data/stropts.h-data [XPG3]: Likewise.
7679 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7680 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7681 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7682 Likewise.
7683 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7684 * conform/data/sys/time.h-data [XPG3]: Likewise.
7685 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7686 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7687 * conform/data/sys/un.h-data [XPG3]: Likewise.
7688 * conform/data/syslog.h-data [XPG3]: Likewise.
7689 * conform/data/ucontext.h-data [XPG3]: Likewise.
7690 * conform/data/utmpx.h-data [XPG3]: Likewise.
7691 * conform/data/varargs.h-data [UNIX98]: Enable file.
7692
355bc986
JM
7693 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7694
215db402
JM
7695 * math/libm-test.inc (struct test_f_f_data): Move expected results
7696 into structure for each rounding mode.
7697 (struct test_ff_f_data): Likewise.
7698 (struct test_ff_f_data_nexttoward): Likewise.
7699 (struct test_fi_f_data): Likewise.
7700 (struct test_fl_f_data): Likewise.
7701 (struct test_if_f_data): Likewise.
7702 (struct test_fff_f_data): Likewise.
7703 (struct test_c_f_data): Likewise.
7704 (struct test_f_f1_data): Likewise.
7705 (struct test_fF_f1_data): Likewise.
7706 (struct test_ffI_f1_data): Likewise.
7707 (struct test_c_c_data): Likewise.
7708 (struct test_cc_c_data): Likewise.
7709 (struct test_f_i_data): Likewise.
7710 (struct test_ff_i_data): Likewise.
7711 (struct test_f_l_data): Likewise.
7712 (struct test_f_L_data): Likewise.
7713 (struct test_fFF_11_data): Likewise.
7714 (RM_): New macro.
7715 (RM_FE_DOWNWARD): Likewise.
7716 (RM_FE_TONEAREST): Likewise.
7717 (RM_FE_TOWARDZERO): Likewise.
7718 (RM_FE_UPWARD): Likewise.
7719 (RUN_TEST_LOOP_f_f): Update references to expected results.
7720 (RUN_TEST_LOOP_2_f): Likewise.
7721 (RUN_TEST_LOOP_fff_f): Likewise.
7722 (RUN_TEST_LOOP_c_f): Likewise.
7723 (RUN_TEST_LOOP_f_f1): Likewise.
7724 (RUN_TEST_LOOP_fF_f1): Likewise.
7725 (RUN_TEST_LOOP_fI_f1): Likewise.
7726 (RUN_TEST_LOOP_ffI_f1): Likewise.
7727 (RUN_TEST_LOOP_c_c): Likewise.
7728 (RUN_TEST_LOOP_cc_c): Likewise.
7729 (RUN_TEST_LOOP_f_i): Likewise.
7730 (RUN_TEST_LOOP_f_i_tg): Likewise.
7731 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7732 (RUN_TEST_LOOP_f_b): Likewise.
7733 (RUN_TEST_LOOP_f_b_tg): Likewise.
7734 (RUN_TEST_LOOP_f_l): Likewise.
7735 (RUN_TEST_LOOP_f_L): Likewise.
7736 (RUN_TEST_LOOP_fFF_11): Likewise.
7737 * math/gen-libm-test.pl (parse_args): Output four copies of
7738 expected results for each test.
7739
67737b8f
JM
7740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7741 (__ASSUME_UTIMES): Remove.
7742 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7743 (__ASSUME_UTIMES): Likewise.
7744
aa97dee1
JM
7745 * math/gen-auto-libm-tests.c: Update comment on output format.
7746 (output_for_one_input_case): Generate before-rounding and
7747 after-rounding information as conditions on output flags not
7748 floating-point format.
7749 * math/auto-libm-test-out: Regenerated.
7750 * math/gen-libm-test.pl (cond_value): New function.
7751 (or_cond_value): Use cond_value.
7752 (generate_testfile): Handle conditional exceptions.
7753
e6b6a857
JM
77542014-03-05 Joseph Myers <joseph@codesourcery.com>
7755
2f0a0f44
JM
7756 * math/libm-test.inc (max_valid_error): New variable.
7757 (init_max_error): Take new argument specifying whether function
7758 results are exactly determined. Set max_valid_error and bound
7759 other variables for errors based on this argument.
7760 (set_max_error): Do not record results above max_valid_error.
7761 (check_float_internal): Only accept errors of up to 0.5ulps if
7762 also at most max_valid_error.
7763 (START): Take new argument EXACT and pass it to init_max_error.
7764 (acos_test): Update call to START.
7765 (acos_test_tonearest): Likewise.
7766 (acos_test_towardzero): Likewise.
7767 (acos_test_downward): Likewise.
7768 (acos_test_upward): Likewise.
7769 (acosh_test): Likewise.
7770 (asin_test): Likewise.
7771 (asin_test_tonearest): Likewise.
7772 (asin_test_towardzero): Likewise.
7773 (asin_test_downward): Likewise.
7774 (asin_test_upward): Likewise.
7775 (asinh_test): Likewise.
7776 (atan_test): Likewise.
7777 (atanh_test): Likewise.
7778 (atan2_test): Likewise.
7779 (cabs_test): Likewise.
7780 (cacos_test): Likewise.
7781 (cacosh_test): Likewise.
7782 (carg_test): Likewise.
7783 (casin_test): Likewise.
7784 (casinh_test): Likewise.
7785 (catan_test): Likewise.
7786 (catanh_test): Likewise.
7787 (cbrt_test): Likewise.
7788 (ccos_test): Likewise.
7789 (ccosh_test): Likewise.
7790 (ceil_test): Likewise.
7791 (cexp_test): Likewise.
7792 (cimag_test): Likewise.
7793 (clog_test): Likewise.
7794 (clog10_test): Likewise.
7795 (conj_test): Likewise.
7796 (copysign_test): Likewise.
7797 (cos_test): Likewise.
7798 (cos_test_tonearest): Likewise.
7799 (cos_test_towardzero): Likewise.
7800 (cos_test_downward): Likewise.
7801 (cos_test_upward): Likewise.
7802 (cosh_test): Likewise.
7803 (cosh_test_tonearest): Likewise.
7804 (cosh_test_towardzero): Likewise.
7805 (cosh_test_downward): Likewise.
7806 (cosh_test_upward): Likewise.
7807 (cpow_test): Likewise.
7808 (cproj_test): Likewise.
7809 (creal_test): Likewise.
7810 (csin_test): Likewise.
7811 (csinh_test): Likewise.
7812 (csqrt_test): Likewise.
7813 (ctan_test): Likewise.
7814 (ctan_test_tonearest): Likewise.
7815 (ctan_test_towardzero): Likewise.
7816 (ctan_test_downward): Likewise.
7817 (ctan_test_upward): Likewise.
7818 (ctanh_test): Likewise.
7819 (ctanh_test_tonearest): Likewise.
7820 (ctanh_test_towardzero): Likewise.
7821 (ctanh_test_downward): Likewise.
7822 (ctanh_test_upward): Likewise.
7823 (erf_test): Likewise.
7824 (erfc_test): Likewise.
7825 (exp_test): Likewise.
7826 (exp_test_tonearest): Likewise.
7827 (exp_test_towardzero): Likewise.
7828 (exp_test_downward): Likewise.
7829 (exp_test_upward): Likewise.
7830 (exp10_test): Likewise.
7831 (exp10_test_tonearest): Likewise.
7832 (exp10_test_towardzero): Likewise.
7833 (exp10_test_downward): Likewise.
7834 (exp10_test_upward): Likewise.
7835 (pow10_test): Likewise.
7836 (exp2_test): Likewise.
7837 (expm1_test): Likewise.
7838 (expm1_test_tonearest): Likewise.
7839 (expm1_test_towardzero): Likewise.
7840 (expm1_test_downward): Likewise.
7841 (expm1_test_upward): Likewise.
7842 (fabs_test): Likewise.
7843 (fdim_test): Likewise.
7844 (floor_test): Likewise.
7845 (fma_test): Likewise.
7846 (fma_test_towardzero): Likewise.
7847 (fma_test_downward): Likewise.
7848 (fma_test_upward): Likewise.
7849 (fmax_test): Likewise.
7850 (fmin_test): Likewise.
7851 (fmod_test): Likewise.
7852 (fpclassify_test): Likewise.
7853 (frexp_test): Likewise.
7854 (hypot_test): Likewise.
7855 (ilogb_test): Likewise.
7856 (isfinite_test): Likewise.
7857 (finite_test): Likewise.
7858 (isgreater_test): Likewise.
7859 (isgreaterequal_test): Likewise.
7860 (isinf_test): Likewise.
7861 (isless_test): Likewise.
7862 (islessequal_test): Likewise.
7863 (islessgreater_test): Likewise.
7864 (isnan_test): Likewise.
7865 (isnormal_test): Likewise.
7866 (issignaling_test): Likewise.
7867 (isunordered_test): Likewise.
7868 (j0_test): Likewise.
7869 (j1_test): Likewise.
7870 (jn_test): Likewise.
7871 (ldexp_test): Likewise.
7872 (lgamma_test): Likewise.
7873 (gamma_test): Likewise.
7874 (lrint_test): Likewise.
7875 (lrint_test_tonearest): Likewise.
7876 (lrint_test_towardzero): Likewise.
7877 (lrint_test_downward): Likewise.
7878 (lrint_test_upward): Likewise.
7879 (llrint_test): Likewise.
7880 (llrint_test_tonearest): Likewise.
7881 (llrint_test_towardzero): Likewise.
7882 (llrint_test_downward): Likewise.
7883 (llrint_test_upward): Likewise.
7884 (log_test): Likewise.
7885 (log10_test): Likewise.
7886 (log1p_test): Likewise.
7887 (log2_test): Likewise.
7888 (logb_test): Likewise.
7889 (logb_test_downward): Likewise.
7890 (lround_test): Likewise.
7891 (llround_test): Likewise.
7892 (modf_test): Likewise.
7893 (nearbyint_test): Likewise.
7894 (nextafter_test): Likewise.
7895 (nexttoward_test): Likewise.
7896 (pow_test): Likewise.
7897 (pow_test_tonearest): Likewise.
7898 (pow_test_towardzero): Likewise.
7899 (pow_test_downward): Likewise.
7900 (pow_test_upward): Likewise.
7901 (remainder_test): Likewise.
7902 (drem_test): Likewise.
7903 (remainder_test_tonearest): Likewise.
7904 (drem_test_tonearest): Likewise.
7905 (remainder_test_towardzero): Likewise.
7906 (drem_test_towardzero): Likewise.
7907 (remainder_test_downward): Likewise.
7908 (drem_test_downward): Likewise.
7909 (remainder_test_upward): Likewise.
7910 (drem_test_upward): Likewise.
7911 (remquo_test): Likewise.
7912 (rint_test): Likewise.
7913 (rint_test_tonearest): Likewise.
7914 (rint_test_towardzero): Likewise.
7915 (rint_test_downward): Likewise.
7916 (rint_test_upward): Likewise.
7917 (round_test): Likewise.
7918 (scalb_test): Likewise.
7919 (scalbn_test): Likewise.
7920 (scalbln_test): Likewise.
7921 (signbit_test): Likewise.
7922 (sin_test): Likewise.
7923 (sin_test_tonearest): Likewise.
7924 (sin_test_towardzero): Likewise.
7925 (sin_test_downward): Likewise.
7926 (sin_test_upward): Likewise.
7927 (sincos_test): Likewise.
7928 (sinh_test): Likewise.
7929 (sinh_test_tonearest): Likewise.
7930 (sinh_test_towardzero): Likewise.
7931 (sinh_test_downward): Likewise.
7932 (sinh_test_upward): Likewise.
7933 (sqrt_test): Likewise.
7934 (sqrt_test_tonearest): Likewise.
7935 (sqrt_test_towardzero): Likewise.
7936 (sqrt_test_downward): Likewise.
7937 (sqrt_test_upward): Likewise.
7938 (tan_test): Likewise.
7939 (tan_test_tonearest): Likewise.
7940 (tan_test_towardzero): Likewise.
7941 (tan_test_downward): Likewise.
7942 (tan_test_upward): Likewise.
7943 (tanh_test): Likewise.
7944 (tgamma_test): Likewise.
7945 (trunc_test): Likewise.
7946 (y0_test): Likewise.
7947 (y1_test): Likewise.
7948 (yn_test): Likewise.
7949 (significand_test): Likewise.
7950
e6b6a857
JM
7951 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7952 individual tests in comment.
7953 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7954 (prev_max_error): New variable.
7955 (prev_real_max_error): Likewise.
7956 (prev_imag_max_error): Likewise.
7957 (compare_ulp_data): Don't refer to test names in comment.
7958 (find_test_ulps): Remove function.
7959 (find_function_ulps): Likewise.
7960 (find_complex_function_ulps): Likewise.
7961 (init_max_error): Take function name as argument. Look up ulps
7962 for that function.
7963 (print_ulps): Remove function.
7964 (print_max_error): Use prev_max_error instead of calling
7965 find_function_ulps.
7966 (print_complex_max_error): Use prev_real_max_error and
7967 prev_imag_max_error instead of calling find_complex_function_ulps.
7968 (check_float_internal): Take max_ulp parameter instead of calling
7969 find_test_ulps. Don't call print_ulps.
7970 (check_float): Update call to check_float_internal.
7971 (check_complex): Update calls to check_float_internal.
7972 (START): Pass argument to init_max_error.
7973 * math/gen-libm-test.pl (%results): Don't include "kind"
7974 information.
7975 (parse_ulps): Don't handle ulps of individual tests.
7976 (print_ulps_file): Likewise.
7977 (output_ulps): Likewise.
7978 * math/README.libm-test: Update.
7979 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7980 individual tests.
7981 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7982 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7983 * sysdeps/arm/libm-test-ulps: Likewise.
7984 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7985 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7986 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7987 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7988 * sysdeps/microblaze/libm-test-ulps: Likewise.
7989 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7990 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7992 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7993 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7994 * sysdeps/sh/libm-test-ulps: Likewise.
7995 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7996 * sysdeps/tile/libm-test-ulps: Likewise.
7997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7998
45adef3c
JM
79992014-03-04 Joseph Myers <joseph@codesourcery.com>
8000
8001 * math/libm-test.inc (print_complex_max_error): Check separately
8002 whether real and imaginary errors are within allowed range and
8003 pass 0 to print_complex_function_ulps instead of value within
8004 allowed range.
8005
000232b9
SP
80062014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8007
d4b17258
SP
8008 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8009 formatting.
8010 (get_handles_fopen): Likewise.
8011 (do_write_test): Likewise.
8012
091eff71
SP
8013 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8014
fa3cd248
SP
8015 * libio/fileops.c (do_ftell): Use cached offset when
8016 available.
8017 * libio/iofwide.c (do_ftell_wide): Likewise.
8018 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8019 _IO_file_attach.
8020 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8021
000232b9
SP
8022 [BZ #16532]
8023 * libio/libioP.h (get_file_offset): New function.
8024 * libio/fileops.c (get_file_offset): Likewise.
8025 (do_ftell): Likewise.
8026 (_IO_new_file_seekoff): Split out ftell logic.
8027 * libio/wfileops.c (do_ftell_wide): Likewise.
8028 (_IO_wfile_seekoff): Split out ftell logic.
8029 * libio/tst-ftell-active-handler.c: New test case.
8030 * libio/Makefile (tests): Add it.
8031
116f4d1a
RM
80322014-03-03 Roland McGrath <roland@hack.frob.com>
8033
8034 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8035 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8036
532a6035
SP
80372014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8038
8039 [BZ #16639]
8040 * nscd/connections.c (nscd_init): Call do_exit.
8041 (start_threads): Call do_exit and notify_parent.
8042 (begin_drop_privileges): Call do_exit.
8043 (finish_drop_privileges): Likewise.
8044 * nscd/selinux.c (preserve_capabilities): Likewise.
8045 (install_real_capabilities): Likewise.
8046 (nscd_selinux_enabled): Likewise.
8047 (avc_create_thread): Likewise.
8048 (avc_alloc_lock): Likewise.
8049 (nscd_avc_init): Likewise.
8050 * nscd/nscd.c (parent_fd): New static variable.
8051 (main): Create a pipe between parent and child processes.
8052 Skip closing parent_fd.
8053 (monitor_child): New function.
8054 (do_exit): Likewise.
8055 (notify_parent): Likewise.
8056 * nscd/nscd.h (notify_parent): Likewise.
8057 (do_exit): Likewise.
8058
d6285c9f
CD
80592014-03-03 Carlos O'Donell <carlos@redhat.com>
8060
8061 * malloc/malloc.c (__libc_calloc): Revert last change.
8062
2b85d2a0
AZ
80632014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8064
8065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8066
c7debbdf
RS
80672014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8068
8069 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8071 implementation.
8072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8073 (__libc_ifunc_impl_list): Likewise.
8074 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8075 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8076 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8077 * string/strrchr.c: Define STRRCHR.
8078
235eed86
OB
80792014-02-28 Ondřej Bílka <neleai@seznam.cz>
8080
8081 * benchtest/bench-strtok.c (simple_strtok): Delete.
8082 (strtok_string): Use as benchmark.
8083 * string/strtok (STRTOK): New macro.
8084
8e25d1e7
CD
80852014-02-28 Carlos O'Donell <carlos@redhat.com>
8086
ef563f92
CD
8087 * manual/threads.texi: Add header and standard comments to all
8088 functions.
8089
8e25d1e7
CD
8090 * elf/dl-lookup.c (check_match): New function.
8091 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8092 (do_lookup_x): Remove nested function check_match. Use non-nested
8093 function check_match.
8094
ff71cc37
RM
80952014-02-28 Roland McGrath <roland@hack.frob.com>
8096
f08e9a26
RM
8097 * csu/Makefile (generated, before-compile): Use += rather than =.
8098 * catgets/Makefile (generated, generated-dirs): Likewise.
8099 * debug/Makefile (generated): Likewise.
8100 * dlfcn/Makefile (generated): Likewise.
8101 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8102 * iconvdata/Makefile (before-compile, generated): Likewise.
8103 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8104 * libio/Makefile (generated): Likewise.
8105 * malloc/Makefile (generated): Likewise.
8106 * manual/Makefile (generated, generated-dirs): Likewise.
8107 * misc/Makefile (generated): Likewise.
8108 * posix/Makefile (generated): Likewise.
8109 * resolv/Makefile (generated): Likewise.
8110 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8111 * timezone/Makefile (generated, generated-dirs): Likewise.
8112
ff71cc37
RM
8113 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8114
fe13a20c
AZ
81152014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8116
57f41c40
AS
8117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8118 power8 implementation.
8119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8120 file: POWER8 llround ifunc implementation.
8121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8122 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8123 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8124 POWER8 llround implementation.
8125
57f41c40
AS
8126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8127 power8 implementation.
8128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8129 file: POWER8 llrint ifunc implementation.
8130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8131 Add POWER8 implementation.
1ad8950a
AZ
8132 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8133 POWER8 llrint implementation.
8134
57f41c40
AS
8135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8136 power8 implementation.
8137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8138 file: POWER8 finite ifunc implementation.
8139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8140 Add POWER8 implementation.
cac626d6
AZ
8141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8142 Likewise.
8143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8144 POWER8 finite implementation.
8145 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8146
57f41c40
AS
8147 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8148 power8 implementation.
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8150 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8152 POWER8 implementation.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8154 Likewise.
57f41c40
AS
8155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8156 isinf implementation.
4393fc11
AZ
8157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8158
57f41c40
AS
8159 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8160 (INIT_ARCH): Add hwcap2 initialization.
8161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8162 power8 implementation.
8163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8164 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8166 POWER8 implementation.
8167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8168 Likewise.
57f41c40
AS
8169 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8170 isnan implementation.
487972ae
AZ
8171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8172
7d92b787
JY
81732014-02-27 Joey Ye <joey.ye@arm.com>
8174
8175 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8176 (_FP_NANFRAC_Q): Set to zero.
8177
1cadc858
SP
81782014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8179
8180 [BZ #16623]
8181 * math/auto-libm-test-in: New test inputs.
8182 * math/auto-libm-test-out: Regenerate.
8183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8184 and DA.
8185 (__cos): Likewise.
8186 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8187
f8c17e79
JM
81882014-02-27 Joseph Myers <joseph@codesourcery.com>
8189
8190 * scripts/evaluate-test.sh: Take new argument indicating whether
8191 failure is expected.
8192 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8193 indicating whether failure is expected.
8194 * conform/Makefile (test-xfail-run-conformtest): New variable.
8195 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8196 level.
8197 * posix/Makefile (test-xfail-annexc): New variable.
8198 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8199
a5f891ac
JM
82002014-02-26 Joseph Myers <joseph@codesourcery.com>
8201
8202 * argp/Makefile: Include Makeconfig immediately after defining
8203 subdir.
8204 * assert/Makefile: Likewise.
8205 * benchtests/Makefile: Likewise.
8206 * catgets/Makefile: Likewise.
8207 * conform/Makefile: Likewise.
8208 * crypt/Makefile: Likewise.
8209 * csu/Makefile: Likewise.
8210 (all): Remove target.
8211 * ctype/Makefile: Include Makeconfig immediately after defining
8212 subdir.
8213 * debug/Makefile: Likewise.
8214 * dirent/Makefile: Likewise.
8215 * dlfcn/Makefile: Likewise.
8216 * gmon/Makefile: Likewise.
8217 * gnulib/Makefile: Likewise.
8218 * grp/Makefile: Likewise.
8219 * gshadow/Makefile: Likewise.
8220 * hesiod/Makefile: Likewise.
8221 * hurd/Makefile: Likewise.
8222 (all): Remove target.
8223 * iconvdata/Makefile: Include Makeconfig immediately after
8224 defining subdir.
8225 * inet/Makefile: Likewise.
8226 * intl/Makefile: Likewise.
8227 * io/Makefile: Likewise.
8228 * libio/Makefile: Likewise.
8229 (all): Remove target.
8230 * locale/Makefile: Include Makeconfig immediately after defining
8231 subdir.
8232 * login/Makefile: Likewise.
8233 * mach/Makefile: Likewise.
8234 (all): Remove target.
8235 * malloc/Makefile: Include Makeconfig immediately after defining
8236 subdir.
8237 (all): Remove target.
8238 * manual/Makefile: Include Makeconfig immediately after defining
8239 subdir.
8240 * math/Makefile: Likewise.
8241 * misc/Makefile: Likewise.
8242 * nis/Makefile: Likewise.
8243 * nss/Makefile: Likewise.
8244 * po/Makefile: Likewise.
8245 (all): Remove target.
8246 * posix/Makefile: Include Makeconfig immediately after defining
8247 subdir.
8248 * pwd/Makefile: Likewise.
8249 * resolv/Makefile: Likewise.
8250 * resource/Makefile: Likewise.
8251 * rt/Makefile: Likewise.
8252 * setjmp/Makefile: Likewise.
8253 * shadow/Makefile: Likewise.
8254 * signal/Makefile: Likewise.
8255 * socket/Makefile: Likewise.
8256 * soft-fp/Makefile: Likewise.
8257 * stdio-common/Makefile: Likewise.
8258 * stdlib/Makefile: Likewise.
8259 * streams/Makefile: Likewise.
8260 * string/Makefile: Likewise.
8261 * sunrpc/Makefile: Likewise.
8262 (all): Remove target.
8263 * sysvipc/Makefile: Include Makeconfig immediately after defining
8264 subdir.
8265 * termios/Makefile: Likewise.
8266 * time/Makefile: Likewise.
8267 * timezone/Makefile: Likewise.
8268 (all): Remove target.
8269 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8270 subdir.
8271 * wctype/Makefile: Likewise.
8272
5b456e9d
SE
82732014-02-26 Steve Ellcey <sellcey@mips.com>
8274
8275 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8276 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8277 (libc_feholdexcept_setround_mips): Ditto.
8278 (libc_feholdsetround): New.
8279 (libc_feholdsetroundf): New.
8280 (libc_feholdsetroundl): New.
8281 (libc_feupdateenv_test_mips): New.
8282 (libc_feupdateenv_test): New.
8283 (libc_feupdateenv_testf): New.
8284 (libc_feupdateenv_testl): New.
8285 (libc_feresetround): New.
8286 (libc_feresetroundf): New.
8287 (libc_feresetroundl): New.
8288 (libc_fetestexcept_mips): New.
8289 (libc_fetestexcept): New.
8290 (libc_fetestexceptf): New.
8291 (libc_fetestexceptl): New.
8292 (HAVE_RM_CTX): New.
8293 (libc_feholdexcept_setround_mips_ctx): New.
8294 (libc_feholdexcept_setround_ctx): New.
8295 (libc_feholdexcept_setroundf_ctx): New.
8296 (libc_feholdexcept_setroundl_ctx): New.
8297 (libc_fesetenv_mips_ctx): New.
8298 (libc_fesetenv_ctx): New.
8299 (libc_fesetenv_ctxf): New.
8300 (libc_fesetenv_ctxl): New.
8301 (libc_feupdateenv_mips_ctx): New.
8302 (libc_feupdateenv_ctx): New.
8303 (libc_feupdateenvf_ctx): New.
8304 (libc_feupdateenvl_ctx): New.
8305 (libc_feholdsetround_mips_ctx): New.
8306 (libc_feholdsetround_ctx): New.
8307 (libc_feholdsetroundf_ctx): New.
8308 (libc_feholdsetroundl_ctx): New.
8309 (libc_feresetround_mips_ctx): New.
8310 (libc_feresetround_ctx): New.
8311 (libc_feresetroundf_ctx): New.
8312 (libc_feresetroundl_ctx): New.
8313
085d0e35
CD
83142014-02-26 Carlos O'Donell <carlos@redhat.com>
8315
f067bf1f
CD
8316 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8317
085d0e35
CD
8318 * manual/ipc.texi: New file.
8319 * manual/Makefile (chapters): Add ipc.
8320 * manual/job.texi: Add "Inter-Process Communication" to next.
8321 * manual/process.texi: Add "Inter-Process Communication" to prev.
8322
86e58c08
AZ
83232014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8324
8325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8326
4248f0da
OB
83272014-02-26 Ondřej Bílka <neleai@seznam.cz>
8328
8329 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8330
cf822e3c
OB
8331 * manual/arith.texi: Fix spaces after sentences.
8332 * manual/charset.texi: Likewise.
8333 * manual/errno.texi: Likewise.
8334 * manual/install.texi: Likewise.
8335 * manual/llio.texi: Likewise.
8336 * manual/locale.texi: Likewise.
8337 * manual/maint.texi: Likewise.
8338 * manual/math.texi: Likewise.
8339 * manual/memory.texi: Likewise.
8340 * manual/message.texi: Likewise.
8341 * manual/probes.texi: Likewise.
8342 * manual/resource.texi: Likewise.
8343 * manual/signal.texi: Likewise.
8344 * manual/socket.texi: Likewise.
8345 * manual/stdio.texi: Likewise.
8346 * manual/string.texi: Likewise.
8347 * manual/time.texi: Likewise.
8348 * manual/users.texi: Likewise.
8349
ade40b10
CD
83502014-02-25 Carlos O'Donell <carlos@redhat.com>
8351
8352 [BZ #16632]
8353 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8354 _DEFAULT_SOURCE is defined.
8355
d0503676
CD
83562014-02-25 Ulrich Drepper <drepper@gmail.com>
8357 Carlos O'Donell <carlos@redhat.com>
8358
8359 [BZ #16613]
8360 * elf/dl-tls.c (_dl_count_modids): New function.
8361 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8362 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8363 audit library and increment generation counter.
8364 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8365 * elf/tst-audit9.c: New file.
8366 * elf/tst-auditmod9a.c: New file.
8367 * elf/tst-auditmod9b.c: New file.
8368 * elf/Makefile: Add rules to build and run tst-audit9.
8369
4cbf380c
FW
83702014-02-25 Florian Weimer <fweimer@redhat.com>
8371
8372 [BZ #15347]
8373 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8374
80a56cc3
WN
83752014-02-25 Will Newton <will.newton@linaro.org>
8376
8377 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8378 (__longjmp): Restore sp and lr before restoring callee
8379 saved registers. Add longjmp and longjmp_target
8380 SystemTap probe point.
8381 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8382 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8383 Define to zero to match jmpbuf layout.
8384 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8385 (__sigsetjmp): Save sp and lr before saving callee
8386 saved registers. Add setjmp SystemTap probe point.
8387
3ea0f74e
SL
83882014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8389
8390 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8391
b04acb26
AS
83922014-02-24 Andreas Schwab <schwab@suse.de>
8393
8394 [BZ #15804]
8395 * elf/pldd.c (wait_for_ptrace_stop): New function.
8396 (main): Call it after attaching.
8397
098ad55c
RM
83982014-02-22 Roland McGrath <roland@hack.frob.com>
8399
d4ec6ae1
RM
8400 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8401 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8402 Versions files is now verboten.
8403 * hurd/Versions (libc: GLIBC_2.0):
8404 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8405 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8406 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8407 * mach/Versions: Likewise.
8408
098ad55c
RM
8409 * csu/Versions: Remove unused %include.
8410 * resolv/Versions: Likewise.
8411
acd7f096
JM
84122014-02-21 Joseph Myers <joseph@codesourcery.com>
8413
f0881698
JM
8414 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8415 ($(objpfx)check-local-headers.out): Likewise.
8416 ($(objpfx)begin-end-check.out): Likewise.
8417 * Makerules (check-abi-%.out): Likewise.
8418 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8419 ($(objpfx)test2.cat): Likewise.
8420 ($(objpfx)de/libc.cat): Likewise.
8421 ($(objpfx)test-gencat.out): Likewise.
8422 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8423 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8424 ($(objpfx)noload-mem): Likewise.
8425 ($(objpfx)tst-pathopt.out): Likewise.
8426 ($(objpfx)tst-rtld-load-self.out): Likewise.
8427 ($(objpfx)tst-array1-cmp.out): Likewise.
8428 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8429 ($(objpfx)tst-array2-cmp.out): Likewise.
8430 ($(objpfx)tst-array3-cmp.out): Likewise.
8431 ($(objpfx)tst-array4-cmp.out): Likewise.
8432 ($(objpfx)tst-array5-cmp.out): Likewise.
8433 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8434 ($(objpfx)check-textrel.out): Likewise.
8435 ($(objpfx)check-execstack.out): Likewise.
8436 ($(objpfx)check-localplt.out): Likewise.
8437 ($(objpfx)order2-cmp.out): Likewise.
8438 ($(objpfx)tst-leaks1-mem): Likewise.
8439 ($(objpfx)tst-leaks1-static-mem): Likewise.
8440 ($(objpfx)tst-initorder-cmp.out): Likewise.
8441 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8442 ($(objpfx)tst-unused-dep.out): Likewise.
8443 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8444 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8445 * iconv/Makefile (test-iconvconfig): Likewise.
8446 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8447 ($(objpfx)iconv-test.out): Likewise.
8448 ($(objpfx)tst-tables.out): Likewise.
8449 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8450 ($(objpfx)tst-gettext.out): Likewise.
8451 ($(objpfx)tst-translit.out): Likewise.
8452 ($(objpfx)tst-gettext2.out): Likewise.
8453 ($(objpfx)tst-gettext4.out): Likewise.
8454 ($(objpfx)tst-gettext6.out): Likewise.
8455 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8456 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8457 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8458 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8459 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8460 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8461 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8462 ($(objpfx)wordexp-tst.out): Likewise.
8463 ($(objpfx)annexc.out): Likewise.
8464 ($(objpfx)tst-fnmatch-mem): Likewise.
8465 ($(objpfx)bug-regex2-mem): Likewise.
8466 ($(objpfx)bug-regex14-mem): Likewise.
8467 ($(objpfx)bug-regex21-mem): Likewise.
8468 ($(objpfx)bug-regex31-mem): Likewise.
8469 ($(objpfx)tst-vfork3-mem): Likewise.
8470 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8471 ($(objpfx)tst-pcre-mem): Likewise.
8472 ($(objpfx)tst-boost-mem): Likewise.
8473 ($(objpfx)tst-getconf.out): Likewise.
8474 ($(objpfx)bug-ga2-mem): Likewise.
8475 ($(objpfx)bug-glob2-mem): Likewise.
8476 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8477 ($(objpfx)mtrace-tst-leaks2): Likewise.
8478 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8479 ($(objpfx)tst-printf.out): Likewise.
8480 ($(objpfx)tst-setvbuf1.out): Likewise.
8481 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8482 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8483 ($(objpfx)tst-fmtmsg.out): Likewise.
8484 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8485 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8486
acd7f096
JM
8487 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8488 * bits/sigaction.h [__USE_MISC]: Likewise.
8489 * bits/waitstatus.h: Update #endif comments.
8490 * ctype/ctype.h: Likewise.
8491 * dirent/dirent.h: Likewise.
8492 [__USE_MISC]: Remove redundant conditionals.
8493 * grp/grp.h: Update #endif comments.
8494 [__USE_GNU]: Remove redundant conditionals.
8495 [__USE_MISC]: Likewise.
8496 * inet/netinet/in.h [__USE_GNU]: Likewise.
8497 * io/sys/stat.h [__USE_MISC]: Likewise.
8498 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8499 * libio/bits/stdio.h: Update #endif comments.
8500 [__USE_MISC]: Remove redundant conditionals.
8501 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8502 * libio/stdio.h: Update #endif comments.
8503 [__USE_MISC]: Remove redundant conditionals.
8504 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8505 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8506 * math/math.h: Update #else and #endif comments.
8507 [__USE_MISC]: Remove redundant conditionals.
8508 * misc/sys/uio.h: Update #endif comments.
8509 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8510 * posix/glob.h [__USE_MISC]: Likewise.
8511 * posix/sys/types.h: Update #endif comments.
8512 [__USE_MISC]: Remove redundant conditionals.
8513 * posix/sys/wait.h: Update #endif comments.
8514 [__USE_MISC]: Remove redundant conditionals.
8515 * posix/unistd.h: Update #endif comments.
8516 [__USE_MISC]: Remove redundant conditionals.
8517 * pwd/pwd.h [__USE_GNU]: Likewise.
8518 [__USE_MISC]: Likewise.
8519 * resolv/netdb.h [__USE_GNU]: Likewise.
8520 * signal/signal.h: Update #endif comments.
8521 [__USE_MISC]: Remove redundant conditionals.
8522 * stdlib/stdlib.h: Update #else and #endif comments.
8523 [__USE_MISC]: Remove redundant conditionals.
8524 [__USE_GNU]: Likewise.
8525 * string/bits/string2.h [__USE_MISC]: Likewise.
8526 * string/string.h: Update #endif comments.
8527 [__USE_MISC]: Remove redundant conditionals.
8528 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8529 Likewise.
8530 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8531 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8532 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8533 Likewise.
8534 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8535 Likewise.
8536 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8537 comments.
8538 [__USE_MISC]: Remove redundant conditionals.
8539 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8540 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8541 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8542 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8543 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8544 Likewise.
8545 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8546 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8547 Likewise.
8548 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8549 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8550 Likewise.
8551 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8552 Likewise.
8553 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8554 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8555 Likewise.
8556 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8557 Likewise.
8558 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8559 * sysdeps/x86/bits/string.h: Update #endif comments.
8560 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8561 conditionals.
8562 * time/sys/time.h: Update #endif comments.
8563 * time/time.h: Likewise.
8564 [__USE_MISC]: Remove redundant conditionals.
8565
a5d82e4e
YG
85662014-02-21 Yury Gribov <y.gribov@samsung.com>
8567
8568 [BZ #16600]
8569 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8570
9a80491d
AS
85712014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8572
8573 * Versions.def (librt): Add GLIBC_2.17.
8574
105fa381
AC
85752014-02-21 Adam Conrad <adconrad@0c3.net>
8576
8577 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8578 synonym for _SYS_AUXV_H to allow direct inclusion.
8579 * sysdeps/sparc/bits/hwcap.h: Likewise.
8580 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8581 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8582 * sysdeps/sparc/sysdep.h: Likewise.
8583
b8cd1c4e
SP
85842014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8585
8586 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8587
bd939d23
RS
85882014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8589
8590 * benchtests/bench-strrchr.c: Print length instead of position.
8591
5d7b57ca
JM
85922014-02-20 Joseph Myers <joseph@codesourcery.com>
8593
bc688c10
JM
8594 [BZ #16611]
8595 * sysdeps/unix/sysv/linux/kernel-features.h
8596 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8597 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8598 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8599 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8600 Likewise.
8601 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8602 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8603 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8604 (__ASSUME_SENDMMSG): Define instead of using previous
8605 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8606 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8607 (__ASSUME_SENDMMSG_SYSCALL): Define.
8608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8609 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8610 Likewise.
8611 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8612 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8613 Likewise.
8614 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8615 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8616 Likewise.
8617 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8618 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8619 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8620 [__ASSUME_SENDMMSG]: Change conditionals to
8621 [__ASSUME_SENDMMSG_SOCKETCALL].
8622 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8623 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8624 Define.
8625 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8626 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8627 Likewise.
8628 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8629 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8630 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8631 [!__ASSUME_SENDMMSG]: Change conditional to
8632 [!__ASSUME_SENDMMSG_SOCKETCALL].
8633 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8634 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8635 Define.
8636
0e31b18c
JM
8637 [BZ #16610]
8638 * sysdeps/unix/sysv/linux/kernel-features.h
8639 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8640 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8641 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8642 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8643 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8644 [__i386__ || __sparc__]
8645 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8646 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8647 (__ASSUME_RECVMMSG): Define instead of using previous
8648 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8649 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8650 (__ASSUME_RECVMMSG_SYSCALL): Define.
8651 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8652 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8653 Likewise.
8654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8655 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8656 Likewise.
8657 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8658 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8659 Likewise.
8660 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8661 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8662 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8663 [__ASSUME_RECVMMSG]: Change condition to
8664 [__ASSUME_RECVMMSG_SOCKETCALL].
8665 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8666 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8667 Define.
8668 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8669 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8670 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8671 Likewise.
8672 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8673 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8674 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8675 [!__ASSUME_RECVMMSG]: Change condition to
8676 [!__ASSUME_RECVMMSG_SOCKETCALL].
8677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8678 (__ASSUME_RECVMMSG_SYSCALL): Define.
8679
dd481ccf
JM
8680 [BZ #16609]
8681 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8682 __powerpc__ || __s390__ || __sh__ || __sparc__]
8683 (__ASSUME_SOCKETCALL): Define.
8684 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8685 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8686 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8687 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8688 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8689 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8690 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8691 (__ASSUME_ACCEPT4): Define instead of using previous
8692 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8693 __powerpc__ || __sparc__ || __s390__)] condition.
8694 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8695 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8696 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8697 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8698 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8699 [!__ASSUME_ACCEPT4]: Change condition to
8700 [!__ASSUME_ACCEPT4_SOCKETCALL].
8701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8702 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8703 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8705 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8706 __ASSUME_ACCEPT4_SYSCALL.
8707 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8708 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8709 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8710 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8711 __ASSUME_ACCEPT4_SYSCALL.
8712 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8713 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8714 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8715 [__ASSUME_ACCEPT4]: Change condition to
8716 [__ASSUME_ACCEPT4_SOCKETCALL].
8717 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8718 (__ASSUME_SOCKETCALL): Define.
8719 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8720 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8721 (__ASSUME_SOCKETCALL): Define.
8722 (__ASSUME_ACCEPT4): Remove.
8723 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8724 Define.
8725 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8726 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8727 Likewise.
8728 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8729 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8730
5d7b57ca
JM
8731 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8732 macro.
8733 (HWCAP_ARM_LPAE): Likewise.
8734 (HWCAP_ARM_EVTSTRM): Likewise.
8735 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8736 Add vpfd32, lpae and evtstrm.
8737 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8738 Increase to 22.
8739
63689d61
JM
87402014-02-19 Joseph Myers <joseph@codesourcery.com>
8741
8742 * math/auto-libm-test-in: Add tests of clog10.
8743 * math/auto-libm-test-out: Regenerated.
8744 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8745 * sysdeps/i386/fpu/libm-test-ulps: Update.
8746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8747
ab09bf61
AS
87482014-02-18 Andreas Schwab <schwab@suse.de>
8749
8750 [BZ #16574]
8751 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8752 Store non-zero if the second buffer was newly allocated.
8753 (send_dg): Likewise.
8754 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8755 to send_vc and send_dg.
8756 (res_nsend): Pass NULL for ansp2_malloced.
8757 * resolv/res_query.c (__libc_res_nquery): Add parameter
8758 answerp2_malloced and pass it down to __libc_res_nsend.
8759 (res_nquery): Pass additional NULL to __libc_res_nquery.
8760 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8761 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8762 second answer buffer if answerp2_malloced was set.
8763 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8764 (__libc_res_nquerydomain): Add parameter
8765 answerp2_malloced and pass it down to __libc_res_nquery.
8766 (res_nquerydomain): Pass additional NULL to
8767 __libc_res_nquerydomain.
8768 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8769 additional NULL to __libc_res_nsend and __libc_res_nquery.
8770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8771 additional NULL to __libc_res_nsearch.
8772 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8773 parameter of __libc_res_nsearch to check for separately allocated
8774 second buffer.
8775 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8776 __libc_res_nquery.
8777 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8778 additional NULL to __libc_res_nquery.
8779 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8780 __libc_res_nsearch.
8781 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8782 * include/resolv.h: Update prototypes of __libc_res_nquery,
8783 __libc_res_nsearch, __libc_res_nsend.
8784
a4fb7861
JM
87852014-02-18 Joseph Myers <joseph@codesourcery.com>
8786
c6af2d89
JM
8787 * math/auto-libm-test-in: Add tests of fma.
8788 * math/auto-libm-test-out: Regenerated.
8789 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8790 (fma_towardzero_test_data): Likewise.
8791 (fma_downward_test_data): Likewise.
8792 (fma_upward_test_data): Likewise.
8793 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8794 mpc_mode.
8795 (rounding_modes): Add values for new field.
8796 (func_calc_method): Add value mpfr_fff_f.
8797 (func_calc_desc): Add mpfr_fff_f union field.
8798 (test_function): Add field exact_args.
8799 (FUNC): Add macro argument EXACT_ARGS.
8800 (FUNC_mpfr_f_f): Update call to FUNC.
8801 (FUNC_mpfr_f_f): Likewise.
8802 (FUNC_mpfr_ff_f): Likewise.
8803 (FUNC_mpfr_if_f): Likewise.
8804 (FUNC_mpc_c_f): Likewise.
8805 (FUNC_mpc_c_c): Likewise.
8806 (test_functions): Add fma. Update calls to FUNC.
8807 (handle_input_arg): Add argument exact_args.
8808 (add_test): Update call to handle_input_arg.
8809 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8810 (output_for_one_input_case): Update call to calc_generic_results.
8811 Recalculate exact zero results in each rounding mode.
8812
a4fb7861
JM
8813 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8814 non-negative before setting low bit.
8815 * math/auto-libm-test-in: Mark one asin test possibly having
8816 spurious underflow.
8817 * math/auto-libm-test-out: Regenerated.
8818 * sysdeps/i386/fpu/libm-test-ulps: Update.
8819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8820
ef114eaf
DH
88212014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8822
2b7f4f2c
SP
8823 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8824 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8825 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8826 * README: Add missing listing for microblaze*-*-linux-gnu.
8827
c70a4b1d
MF
88282014-02-16 Mike Frysinger <vapier@gentoo.org>
8829
8830 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8831 * sysdeps/unix/sysv/linux/ia64: Move directory from
8832 ports/sysdeps/unix/sysv/linux/ia64.
8833 * README: Update listing for ia64-*-linux-gnu.
8834
591aeaf7
TD
88352014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8836 Joseph Myers <joseph@codesourcery.com>
8837
8838 * Makeconfig (test-name): New variable.
8839 (evaluate-test): Likewise.
8840 * Makerules (do-test-clean): Remove .test-result files.
8841 (common-mostlyclean): Likewise.
8842 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8843 * scripts/evaluate-test.sh: New file.
8844
6e89caf1
JM
88452014-02-14 Joseph Myers <joseph@codesourcery.com>
8846
7f98f180
JM
8847 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8848 separate $(objpfx)tst-fopenloc-cmp.out and
8849 $(objpfx)tst-fopenloc-mem.out targets.
8850 (tests): Update dependencies.
8851 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8852 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8853 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8854 (tst-rxspencer-no-utf8-ARGS): New variable.
8855 (tst-rxspencer-no-utf8-ENV): Likewise.
8856 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8857 instead of $(objpfx)tst-rxspencer-mem.
8858 ($(objpfx)tst-rxspencer-mem): Change target to
8859 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8860 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8861 * posix/tst-rxspencer-no-utf8.c: New file.
8862
6e89caf1
JM
8863 * elf/Makefile ($(objpfx)order.out): Remove rule.
8864 [$(run-built-tests) = yes] (tests): Depend on
8865 $(objpfx)order-cmp.out.
8866 ($(objpfx)order-cmp.out): New rule.
8867 [$(run-built-tests) = yes] (tests): Depend on
8868 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8869 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8870 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8871 $(objpfx)tst-array5-static-cmp.out.
8872 ($(objpfx)tst-array1.out): Remove rule.
8873 ($(objpfx)tst-array1-cmp.out): New rule.
8874 ($(objpfx)tst-array1-static.out): Remove rule.
8875 ($(objpfx)tst-array1-static-cmp.out): New rule.
8876 ($(objpfx)tst-array2.out): Remove rule.
8877 ($(objpfx)tst-array2-cmp.out): New rule.
8878 ($(objpfx)tst-array3.out): Remove rule.
8879 ($(objpfx)tst-array3-cmp.out): New rule.
8880 ($(objpfx)tst-array4.out): Remove rule.
8881 ($(objpfx)tst-array4-cmp.out): New rule.
8882 ($(objpfx)tst-array5.out): Remove rule.
8883 ($(objpfx)tst-array5-cmp.out): New rule.
8884 ($(objpfx)tst-array5-static.out): Remove rule.
8885 ($(objpfx)tst-array5-static-cmp.out): New rule.
8886 [$(run-built-tests) = yes] (tests): Depend on
8887 $(objpfx)order2-cmp.out.
8888 ($(objpfx)order2.out): Remove rule.
8889 ($(objpfx)order2-cmp.out): New rule.
8890 ($(objpfx)tst-initorder.out): Remove rule.
8891 [$(run-built-tests) = yes] (tests): Depend on
8892 $(objpfx)tst-initorder-cmp.out.
8893 ($(objpfx)tst-initorder-cmp.out): New rule.
8894 ($(objpfx)tst-initorder2.out): Remove rule.
8895 [$(run-built-tests) = yes] (tests): Depend on
8896 $(objpfx)tst-initorder2-cmp.out.
8897 ($(objpfx)tst-initorder2-cmp.out): New rule.
8898 [$(run-built-tests) = yes] (tests): Depend on
8899 $(objpfx)tst-unused-dep-cmp.out.
8900 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8901 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8902 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8903 on $(objpfx)tst-setvbuf1-cmp.out.
8904 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8905 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8906 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8907 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8908 ($(objpfx)tst-svc.out): Remove rule.
8909 ($(objpfx)tst-svc-cmp.out): New rule.
8910
ed9a38e2
JM
89112014-02-13 Joseph Myers <joseph@codesourcery.com>
8912
8913 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8914 * ctype/ctype.h [__USE_MISC]: Likewise.
8915 * dirent/dirent.h [__USE_MISC]: Likewise.
8916 * grp/grp.h [__USE_MISC]: Likewise.
8917 * io/fcntl.h [__USE_MISC]: Likewise.
8918 * io/sys/stat.h [__USE_MISC]: Likewise.
8919 * libio/stdio.h [__USE_MISC]: Likewise.
8920 * posix/unistd.h [__USE_MISC]: Likewise.
8921 * pwd/pwd.h [__USE_MISC]: Likewise.
8922 * stdlib.h [__USE_MISC]: Likewise.
8923 * string/bits/string2.h [__USE_MISC]: Likewise.
8924 * string/string.h [__USE_MISC]: Likewise.
8925 * time/time.h [__USE_MISC]: Likewise.
8926
d6680619
AS
89272014-02-13 Andreas Schwab <schwab@suse.de>
8928
8929 [BZ #16574]
8930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8931 second answer buffer if it was separately allocated.
8932
ace614b8
JM
89332014-02-12 Joseph Myers <joseph@codesourcery.com>
8934
743151ae
JM
8935 * sysdeps/mips/math-tests.h: Include <features.h>.
8936 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8937 (ROUNDING_TESTS_long_double): Do not define.
8938 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8939 (EXCEPTION_TESTS_long_double): Likewise.
8940 * sysdeps/mips/mips64/libm-test-ulps: Update.
8941
498afc54
JM
8942 * include/features.h (__USE_BSD): Remove macro definitions.
8943 (__USE_SVID): Likewise.
8944 (_BSD_SOURCE): Likewise.
8945 (_SVID_SOURCE): Likewise.
8946 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8947 from definition of _DEFAULT_SOURCE.
8948 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8949 [_DEFAULT_SOURCE].
8950 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8951 * bits/mman.h [__USE_BSD]: Likewise.
8952 * bits/termios.h [__USE_BSD]: Likewise.
8953 * bits/waitstatus.h [__USE_BSD]: Likewise.
8954 * ctype/ctype.h [__USE_SVID]: Likewise.
8955 * dirent/dirent.h [__USE_BSD]: Likewise.
8956 * grp/grp.h [__USE_SVID]: Likewise.
8957 [__USE_BSD]: Likewise.
8958 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8959 * io/fcntl.h [__USE_BSD]: Likewise.
8960 * io/ftw.h [__USE_BSD]: Likewise.
8961 * io/sys/stat.h [__USE_BSD]: Likewise.
8962 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8963 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8964 * libio/stdio.h [__USE_SVID]: Likewise.
8965 [__USE_BSD]: Likewise.
8966 * math/math.h [__USE_SVID]: Likewise.
8967 [__USE_BSD]: Likewise.
8968 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8969 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8970 * misc/search.h [__USE_SVID]: Likewise.
8971 * misc/sys/mman.h [__USE_BSD]: Likewise.
8972 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8973 * misc/sys/uio.h [__USE_BSD]: Likewise.
8974 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8975 * posix/glob.h [__USE_BSD]: Likewise.
8976 * posix/regex.h [__USE_BSD]: Likewise.
8977 * posix/sys/types.h [__USE_BSD]: Likewise.
8978 [__USE_SVID]: Likewise.
8979 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8980 * posix/sys/wait.h [__USE_BSD]: Likewise.
8981 [__USE_SVID]: Likewise.
8982 * posix/unistd.h [__USE_BSD]: Likewise.
8983 [__USE_SVID]: Likewise.
8984 * pwd/pwd.h [__USE_SVID]: Likewise.
8985 * resolv/netdb.h [__USE_BSD]: Likewise.
8986 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8987 * signal/signal.h [__USE_BSD]: Likewise.
8988 [__USE_SVID]: Likewise.
8989 * socket/sys/socket.h [__USE_BSD]: Likewise.
8990 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8991 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8992 [__USE_SVID]: Likewise.
8993 * string/bits/string2.h [__USE_BSD]: Likewise.
8994 [__USE_SVID]: Likewise.
8995 * string/bits/string3.h [__USE_BSD]: Likewise.
8996 * string/endian.h [__USE_BSD]: Likewise.
8997 * string/string.h [__USE_SVID]: Likewise.
8998 [__USE_BSD]: Likewise.
8999 * string/strings.h [__USE_BSD]: Likewise.
9000 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9001 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9002 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9003 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9004 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9005 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9006 Likewise.
9007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9008 Likewise.
9009 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9010 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9011 Likewise.
9012 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9013 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9014 Likewise.
9015 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9016 Likewise.
9017 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9018 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9020 Likewise.
9021 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9022 Likewise.
9023 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9024 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9025 * termios/termios.h [__USE_BSD]: Likewise.
9026 * time/sys/time.h [__USE_BSD]: Likewise.
9027 * time/time.h [__USE_BSD]: Likewise.
9028 [__USE_SVID]: Likewise.
9029
dd7b064c
JM
9030 * Makefile (subdir_targets): Remove subdir_lint.out.
9031
a2c4c199
JM
9032 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9033 (do-tst-printf): Likewise.
9034 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9035 $(objpfx)tst-printf.out.
9036
8756f740
JM
9037 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9038
1b6dd3f1
JM
9039 * Makerules (check-abi-%): Change target to
9040 $(objpfx)check-abi-%.out.
9041 (check-abi target): Update dependencies.
9042 (check-abi-pattern variable): Redirect output of diff to $@.
9043 (check-abi variable): Likewise.
9044 * elf/Makefile (check-abi): Update dependencies.
9045
ace614b8
JM
9046 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9047 unused.
9048 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9049 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9050 subnormal range.
9051 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9052 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9053 value has largest subnormal exponent.
9054 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9055 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9056 * sysdeps/aarch64/soft-fp/sfp-machine.h
9057 (_FP_TININESS_AFTER_ROUNDING): New macro.
9058 * sysdeps/alpha/soft-fp/sfp-machine.h
9059 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9060 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9061 Likewise.
9062 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9063 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9064 * sysdeps/mips/soft-fp/sfp-machine.h
9065 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9066 * sysdeps/powerpc/soft-fp/sfp-machine.h
9067 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9068 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9069 Likewise.
9070 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9071 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9072 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9073 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9074 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9075 Likewise.
9076
fbfdf9cb
DAS
90772014-02-12 Dylan Alex Simon <dylan@dylex.net>
9078
9079 [BZ #16545]
9080 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9081 model 1.
9082
68b7efaa
RH
90832014-02-12 Richard Henderson <rth@redhat.com>
9084
c70a4b1d 9085 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9086 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9087 * sysdeps/unix/sysv/linux/alpha: Move directory from
9088 ports/sysdeps/unix/sysv/linux/alpha.
9089 * README: Update listing for alpha-*-linux-gnu.
9090
cb4a2928
JM
90912014-02-11 Joseph Myers <joseph@codesourcery.com>
9092
c941736c
JM
9093 * include/features.h: Update comment documenting feature test
9094 macros.
9095 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9096 _DEFAULT_SOURCE.
9097 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9098 (_SVID_SOURCE): Likewise.
9099 (_DEFAULT_SOURCE): Update description of default features.
9100 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9101 with _GNU_SOURCE.
9102 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9103 (S_ISVTX): Likewise.
9104 * manual/math.texi (Mathematical Constants): Likewise.
9105 * manual/signal.texi (Interrupted Primitives): Likewise.
9106 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9107 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9108 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9109 Don't refer to _SVID_SOURCE in warning text.
9110
e8d8d7ec
JM
9111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9112
cb4a2928
JM
9113 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9114 already defined.
9115 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9116 * sysdeps/mips/dl-lookup.c: Remove.
9117 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9118
7e6424e3
AK
91192014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9120
9121 [BZ #16447]
9122 * math/auto-libm-test-in: Add testcase for expl.
9123 * math/auto-libm-test-out: Regenerate.
9124 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9125 calculation of unsafe.
9126 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9127
75eff3fe
MS
91282014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9129
9130 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9131 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9132 ports/sysdeps/unix/sysv/linux/aarch64.
9133 * README: Update listing for aarch64*-*-linux-gnu.
9134
d35f1e80
WN
91352014-02-11 Will Newton <will.newton@linaro.org>
9136
9137 * manual/probes.texi (Mathematical Function Probes): Use
9138 "triggered" instead of "hit".
9139
7b3436d4
WN
9140 * manual/probes.texi (Internal Probes): Add documentation
9141 of setjmp, longjmp and longjmp_target probes.
9142
b4f12ca3
WN
9143 * include/stap-probe.h: Add comment about probe argument
9144 format.
9145
c13a72b7
WN
9146 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9147 definition. (tr_where, tr_freehook, tr_mallochook,
9148 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9149
195b8165
DM
91502014-02-11 David S. Miller <davem@davemloft.net>
9151
9152 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9153 processing int_tests.
9154
2ad7600b
JM
91552014-02-10 Joseph Myers <joseph@codesourcery.com>
9156
9157 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9158 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9159 * sysdeps/unix/sysv/linux/mips: Move directory from
9160 ports/sysdeps/unix/sysv/linux/mips.
9161 * README: Update listing for mips-*-linux-gnu and
9162 mips64-*-linux-gnu.
9163
73588a72
AS
91642014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9165
9166 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9167 * sysdeps/unix/sysv/linux/m68k: Move directory from
9168 ports/sysdeps/unix/sysv/linux/m68k.
9169 * README: Update listing for m68k-*-linux-gnu.
9170
4372980f
CM
91712014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9172
9173 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9174 * sysdeps/unix/sysv/linux/generic: Move directory from
9175 ports/sysdeps/unix/sysv/linux/generic.
9176 * sysdeps/unix/sysv/linux/tile: Move directory from
9177 ports/sysdeps/unix/sysv/linux/tile.
9178 * README: Update listing for tile*-*-linux-gnu.
9179
a1ffb40e
OB
91802014-02-10 Ondřej Bílka <neleai@seznam.cz>
9181
57f41c40
AS
9182 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9183 __builtin_expect.
a1ffb40e
OB
9184 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9185 * catgets/open_catalog.c (__open_catalog): Likewise.
9186 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9187 * debug/confstr_chk.c: Likewise.
9188 * debug/fread_chk.c (__fread_chk): Likewise.
9189 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9190 * debug/getgroups_chk.c: Likewise.
9191 * debug/mbsnrtowcs_chk.c: Likewise.
9192 * debug/mbsrtowcs_chk.c: Likewise.
9193 * debug/mbstowcs_chk.c: Likewise.
9194 * debug/memcpy_chk.c: Likewise.
9195 * debug/memmove_chk.c: Likewise.
9196 * debug/mempcpy_chk.c: Likewise.
9197 * debug/memset_chk.c: Likewise.
9198 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9199 * debug/strcat_chk.c (__strcat_chk): Likewise.
9200 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9201 * debug/strncat_chk.c (__strncat_chk): Likewise.
9202 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9203 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9204 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9205 * debug/wcpncpy_chk.c: Likewise.
9206 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9207 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9208 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9209 * debug/wcsncpy_chk.c: Likewise.
9210 * debug/wcsnrtombs_chk.c: Likewise.
9211 * debug/wcsrtombs_chk.c: Likewise.
9212 * debug/wcstombs_chk.c: Likewise.
9213 * debug/wmemcpy_chk.c: Likewise.
9214 * debug/wmemmove_chk.c: Likewise.
9215 * debug/wmempcpy_chk.c: Likewise.
9216 * debug/wmemset_chk.c: Likewise.
9217 * dirent/scandirat.c (SCANDIRAT): Likewise.
9218 * dlfcn/dladdr1.c (dladdr1): Likewise.
9219 * dlfcn/dladdr.c (dladdr): Likewise.
9220 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9221 * dlfcn/dlerror.c (__dlerror): Likewise.
9222 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9223 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9224 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9225 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9226 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9227 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9228 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9229 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9230 Likewise.
9231 * elf/dl-conflict.c: Likewise.
9232 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9233 * elf/dl-dst.h: Likewise.
9234 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9235 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9236 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9237 * elf/dl-init.c (call_init, _dl_init): Likewise.
9238 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9239 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9240 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9241 Likewise.
a1ffb40e
OB
9242 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9243 Likewise.
9244 * elf/dl-minimal.c (__libc_memalign): Likewise.
9245 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9246 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9247 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9248 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9249 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9250 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9251 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9252 * elf/dl-writev.h (_dl_writev): Likewise.
9253 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9254 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9255 (dl_main): Likewise.
a1ffb40e
OB
9256 * elf/setup-vdso.h (setup_vdso): Likewise.
9257 * grp/compat-initgroups.c (compat_call): Likewise.
9258 * grp/fgetgrent.c (fgetgrent): Likewise.
9259 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9260 * grp/putgrent.c (putgrent): Likewise.
9261 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9262 Likewise.
9263 * hurd/hurdinit.c: Likewise.
9264 * iconvdata/8bit-gap.c (struct): Likewise.
9265 * iconvdata/ansi_x3.110.c : Likewise.
9266 * iconvdata/big5.c : Likewise.
9267 * iconvdata/big5hkscs.c : Likewise.
9268 * iconvdata/cp1255.c: Likewise.
9269 * iconvdata/cp1258.c : Likewise.
9270 * iconvdata/cp932.c : Likewise.
9271 * iconvdata/euc-cn.c: Likewise.
9272 * iconvdata/euc-jisx0213.c : Likewise.
9273 * iconvdata/euc-jp.c: Likewise.
9274 * iconvdata/euc-jp-ms.c : Likewise.
9275 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9276 * iconvdata/gb18030.c : Likewise.
9277 * iconvdata/gbbig5.c (const): Likewise.
9278 * iconvdata/gbgbk.c: Likewise.
9279 * iconvdata/gbk.c : Likewise.
9280 * iconvdata/ibm1364.c : Likewise.
9281 * iconvdata/ibm930.c : Likewise.
9282 * iconvdata/ibm932.c: Likewise.
9283 * iconvdata/ibm933.c : Likewise.
9284 * iconvdata/ibm935.c : Likewise.
9285 * iconvdata/ibm937.c : Likewise.
9286 * iconvdata/ibm939.c : Likewise.
9287 * iconvdata/ibm943.c: Likewise.
9288 * iconvdata/iso_11548-1.c: Likewise.
9289 * iconvdata/iso-2022-cn.c : Likewise.
9290 * iconvdata/iso-2022-cn-ext.c : Likewise.
9291 * iconvdata/iso-2022-jp-3.c: Likewise.
9292 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9293 * iconvdata/iso-2022-kr.c : Likewise.
9294 * iconvdata/iso646.c (gconv_end): Likewise.
9295 * iconvdata/iso_6937-2.c : Likewise.
9296 * iconvdata/iso_6937.c : Likewise.
9297 * iconvdata/iso8859-1.c: Likewise.
9298 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9299 * iconvdata/shift_jisx0213.c : Likewise.
9300 * iconvdata/sjis.c : Likewise.
9301 * iconvdata/t.61.c : Likewise.
9302 * iconvdata/tcvn5712-1.c : Likewise.
9303 * iconvdata/tscii.c: Likewise.
9304 * iconvdata/uhc.c : Likewise.
9305 * iconvdata/unicode.c (gconv_end): Likewise.
9306 * iconvdata/utf-16.c (gconv_end): Likewise.
9307 * iconvdata/utf-32.c (gconv_end): Likewise.
9308 * iconvdata/utf-7.c (base64): Likewise.
9309 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9310 * iconv/gconv_close.c (__gconv_close): Likewise.
9311 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9312 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9313 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9314 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9315 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9316 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9317 * iconv/iconv.c (iconv): Likewise.
9318 * iconv/iconv_close.c: Likewise.
9319 * iconv/loop.c (SINGLE): Likewise.
9320 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9321 * include/atomic.h: Likewise.
9322 * inet/inet6_option.c (option_alloc): Likewise.
9323 * intl/bindtextdom.c (set_binding_values): Likewise.
9324 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9325 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9326 * intl/localealias.c (read_alias_file): Likewise.
9327 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9328 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9329 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9330 * libio/fmemopen.c (fmemopen): Likewise.
9331 * libio/iofgets.c (_IO_fgets): Likewise.
9332 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9333 * libio/iofgetws.c (fgetws): Likewise.
9334 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9335 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9336 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9337 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9338 * locale/findlocale.c (_nl_find_locale): Likewise.
9339 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9340 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9341 Likewise.
9342 * locale/setlocale.c (setlocale): Likewise.
9343 * login/programs/pt_chown.c (main): Likewise.
9344 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9345 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9346 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9347 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9348 * math/e_exp2l.c: Likewise.
9349 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9350 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9351 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9352 * math/s_catan.c (__catan): Likewise.
9353 * math/s_catanf.c (__catanf): Likewise.
9354 * math/s_catanh.c (__catanh): Likewise.
9355 * math/s_catanhf.c (__catanhf): Likewise.
9356 * math/s_catanhl.c (__catanhl): Likewise.
9357 * math/s_catanl.c (__catanl): Likewise.
9358 * math/s_ccosh.c (__ccosh): Likewise.
9359 * math/s_ccoshf.c (__ccoshf): Likewise.
9360 * math/s_ccoshl.c (__ccoshl): Likewise.
9361 * math/s_cexp.c (__cexp): Likewise.
9362 * math/s_cexpf.c (__cexpf): Likewise.
9363 * math/s_cexpl.c (__cexpl): Likewise.
9364 * math/s_clog10.c (__clog10): Likewise.
9365 * math/s_clog10f.c (__clog10f): Likewise.
9366 * math/s_clog10l.c (__clog10l): Likewise.
9367 * math/s_clog.c (__clog): Likewise.
9368 * math/s_clogf.c (__clogf): Likewise.
9369 * math/s_clogl.c (__clogl): Likewise.
9370 * math/s_csin.c (__csin): Likewise.
9371 * math/s_csinf.c (__csinf): Likewise.
9372 * math/s_csinh.c (__csinh): Likewise.
9373 * math/s_csinhf.c (__csinhf): Likewise.
9374 * math/s_csinhl.c (__csinhl): Likewise.
9375 * math/s_csinl.c (__csinl): Likewise.
9376 * math/s_csqrt.c (__csqrt): Likewise.
9377 * math/s_csqrtf.c (__csqrtf): Likewise.
9378 * math/s_csqrtl.c (__csqrtl): Likewise.
9379 * math/s_ctan.c (__ctan): Likewise.
9380 * math/s_ctanf.c (__ctanf): Likewise.
9381 * math/s_ctanh.c (__ctanh): Likewise.
9382 * math/s_ctanhf.c (__ctanhf): Likewise.
9383 * math/s_ctanhl.c (__ctanhl): Likewise.
9384 * math/s_ctanl.c (__ctanl): Likewise.
9385 * math/w_pow.c: Likewise.
9386 * math/w_powf.c: Likewise.
9387 * math/w_powl.c: Likewise.
9388 * math/w_scalb.c (sysv_scalb): Likewise.
9389 * math/w_scalbf.c (sysv_scalbf): Likewise.
9390 * math/w_scalbl.c (sysv_scalbl): Likewise.
9391 * misc/error.c (error_tail): Likewise.
9392 * misc/pselect.c (__pselect): Likewise.
9393 * nis/nis_callback.c (__nis_create_callback): Likewise.
9394 * nis/nis_call.c (__nisfind_server): Likewise.
9395 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9396 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9397 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9398 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9399 * nis/nis_lookup.c (nis_lookup): Likewise.
9400 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9401 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9402 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9403 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9404 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9405 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9406 * nis/nss_compat/compat-initgroups.c (add_group)
9407 (internal_getgrent_r): Likewise.
9408 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9409 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9410 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9411 (internal_getspnam_r): Likewise.
9412 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9413 (_nss_nis_getaliasbyname_r): Likewise.
9414 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9415 (_nss_nis_getntohost_r): Likewise.
9416 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9417 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9418 (_nss_nis_getgrgid_r): Likewise.
9419 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9420 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9421 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9422 (_nss_nis_gethostbyname4_r): Likewise.
9423 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9424 (initgroups_netid): Likewise.
a1ffb40e 9425 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9426 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9427 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9428 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9429 (_nss_nis_getprotobynumber_r): Likewise.
9430 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9431 (_nss_nis_getsecretkey): Likewise.
9432 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9433 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9434 (_nss_nis_getpwuid_r): Likewise.
9435 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9436 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9437 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9438 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9439 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9440 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9441 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9442 Likewise.
57f41c40
AS
9443 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9444 (_nss_nisplus_getntohost_r): Likewise.
9445 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9446 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9447 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9448 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9449 Likewise.
57f41c40
AS
9450 * nis/nss_nisplus/nisplus-initgroups.c
9451 (_nss_nisplus_initgroups_dyn): Likewise.
9452 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9453 (_nss_nisplus_getnetbyaddr_r): Likewise.
9454 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9455 (_nss_nisplus_getprotobynumber_r): Likewise.
9456 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9457 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9458 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9459 Likewise.
57f41c40
AS
9460 * nis/nss_nisplus/nisplus-service.c
9461 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9462 (_nss_nisplus_getservbyport_r): Likewise.
9463 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9464 (_nss_nisplus_getspnam_r): Likewise.
9465 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9466 Likewise.
a1ffb40e
OB
9467 * nscd/aicache.c (addhstaiX): Likewise.
9468 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9469 * nscd/connections.c (register_traced_file, send_ro_fd)
9470 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9471 (main_loop_epoll): Likewise.
a1ffb40e
OB
9472 * nscd/grpcache.c (addgrbyX): Likewise.
9473 * nscd/hstcache.c (addhstbyX): Likewise.
9474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9475 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9476 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9477 (addinnetgrX): Likewise.
9478 * nscd/nscd-client.h (__nscd_acquire_maplock)
9479 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9480 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9481 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9482 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9483 Likewise.
9484 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9486 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9487 (__nscd_get_map_ref): Likewise.
a1ffb40e 9488 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9489 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9490 Likewise.
a1ffb40e
OB
9491 * nscd/pwdcache.c (addpwbyX): Likewise.
9492 * nscd/selinux.c (preserve_capabilities): Likewise.
9493 * nscd/servicescache.c (addservbyX): Likewise.
9494 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9495 * posix/fnmatch.c (fnmatch): Likewise.
9496 * posix/getopt.c (_getopt_internal_r): Likewise.
9497 * posix/glob.c (glob, glob_in_dir): Likewise.
9498 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9499 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9500 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9501 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9502 * resolv/res_init.c: Likewise.
9503 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9504 * resolv/res_query.c (__libc_res_nquery): Likewise.
9505 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9506 Likewise.
9507 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9508 * stdio-common/perror.c (perror): Likewise.
9509 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9510 * stdio-common/tmpnam.c (tmpnam): Likewise.
9511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9512 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9513 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9514 Likewise.
a1ffb40e
OB
9515 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9516 * stdlib/putenv.c (putenv): Likewise.
9517 * stdlib/setenv.c (__add_to_environ): Likewise.
9518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9519 * stdlib/strtol_l.c (INTERNAL): Likewise.
9520 * string/memmem.c (memmem): Likewise.
9521 * string/strerror.c (strerror): Likewise.
9522 * string/strnlen.c (__strnlen): Likewise.
9523 * string/test-memmem.c (simple_memmem): Likewise.
9524 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9525 * sunrpc/pm_getport.c (__get_socket): Likewise.
9526 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9527 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9528 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9529 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9530 Likewise.
9531 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9533 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9534 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9535 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9536 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9537 Likewise.
9538 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9539 Likewise.
a1ffb40e
OB
9540 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9541 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9543 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9544 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9546 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9547 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9548 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9549 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9550 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9551 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9552 Likewise.
9553 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9554 Likewise.
9555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9556 Likewise.
9557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9559 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9561 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9562 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9563 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9573 Likewise.
a1ffb40e
OB
9574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9575 Likewise.
9576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9577 Likewise.
9578 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9579 Likewise.
9580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9582 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9583 Likewise.
9584 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9585 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9586 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9587 * sysdeps/posix/sleep.c: Likewise.
9588 * sysdeps/posix/tempname.c: Likewise.
9589 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9591 Likewise.
57f41c40
AS
9592 * sysdeps/powerpc/powerpc32/dl-machine.h
9593 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9594 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9596 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9597 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9598 Likewise.
9599 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9600 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9601 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9602 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9603 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9604 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9605 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9606 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9607 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9608 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9610 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9611 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9613 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9614 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9615 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9616 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9617 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9618 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9619 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9620 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9622 Likewise.
9623 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9624 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9625 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9626 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9627 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9628 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9629 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9630 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9631 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9632 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9633 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9634 Likewise.
9635 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9636 (__posix_fallocate64_l64): Likewise.
9637 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9638 (posix_fallocate): Likewise.
57f41c40
AS
9639 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9640 Likewise.
a1ffb40e 9641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9642 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9643 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9644 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9645 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9646 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9647 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9648 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9649 (__posix_fallocate64_l64): Likewise.
9650 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9651 Likewise.
9652 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9653 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9654 (__get_clockfreq): Likewise.
a1ffb40e
OB
9655 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9656 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9657 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9660 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9661 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9662 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9663 Likewise.
9664 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9665 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9666 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9669 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9670 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9671 Likewise.
9672 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9673 (posix_fallocate): Likewise.
9674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9675 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9676 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9677 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9678 (elf_machine_rela, elf_machine_rela_relative)
9679 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9680 * time/asctime.c (asctime_internal): Likewise.
9681 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9682 * time/tzset.c (__tzset_parse_tz): Likewise.
9683 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9684 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9685 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9686 * wcsmbs/wcsmbsload.h: Likewise.
9687
f3d338c9
OB
9688 [BZ #15894]
9689 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9690
57f41c40
AS
9691 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9692 (arena_get2): Remove THREAD_STATS conditionals.
9693 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9694 (__malloc_stats, int): Likewise.
bdfe308a 9695
d674667c
MF
96962014-02-08 Mike Frysinger <vapier@gentoo.org>
9697
9698 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9699 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9700
6349768c
MF
9701 * manual/setjmp.texi: Fix typos/grammar errors.
9702
0b7c7473
MF
9703 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9704 Only return early when n is <= 0. Delete unused return statement.
9705
ac8cc9e3
MF
9706 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9707 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9708 * debug/tst-longjmp_chk3.c: New file.
9709
c5bb8e23
MF
9710 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9711 (test_main): Replace code with set_fortify_handler call.
9712 * debug/test-strcpy_chk.c: Likewise.
9713 * debug/tst-chk1.c: Likewise.
9714 * debug/tst-longjmp_chk.c: Likewise.
9715 * test-skeleton.c: Include fcntl.h & paths.h
9716 (set_fortify_handler): Define.
9717
10444e42
MF
9718 * debug/tst-longjmp_chk.c: Add header comment and include
9719 ../test-skeleton.c.
9720 (do_test): Mark static.
9721 (TEST_FUNCTION): Define.
9722
1e805e8d
MF
9723 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9724 (IP_PMTUDISC_INTERFACE): Likewise.
9725 (IP_MULTICAST_IF): Likewise.
9726 (IP_MULTICAST_TTL): Likewise.
9727 (IP_MULTICAST_LOOP): Likewise.
9728 (IP_ADD_MEMBERSHIP): Likewise.
9729 (IP_DROP_MEMBERSHIP): Likewise.
9730 (IP_UNBLOCK_SOURCE): Likewise.
9731 (IP_BLOCK_SOURCE): Likewise.
9732 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9733 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9734 (IP_MSFILTER): Likewise.
9735 (MCAST_JOIN_GROUP): Likewise.
9736 (MCAST_BLOCK_SOURCE): Likewise.
9737 (MCAST_UNBLOCK_SOURCE): Likewise.
9738 (MCAST_LEAVE_GROUP): Likewise.
9739 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9740 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9741 (MCAST_MSFILTER): Likewise.
9742 (IP_MULTICAST_ALL): Likewise.
9743 (IP_UNICAST_IF): Likewise.
9744
73f79bb7
MF
9745 * timezone/Makefile: Delete $(have-ksh) check.
9746 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9747 * timezone/tzselect.ksh: Add +x mode bits.
9748
8da79b60
MF
9749 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9750 (ANON_INODE_FS_MAGIC): Likewise.
9751 (BDEVFS_MAGIC): Likewise.
9752 (BINFMTFS_MAGIC): Likewise.
9753 (BTRFS_TEST_MAGIC): Likewise.
9754 (CRAMFS_MAGIC_WEND): Likewise.
9755 (DEBUGFS_MAGIC): Likewise.
9756 (ECRYPTFS_SUPER_MAGIC): Likewise.
9757 (EXT3_SUPER_MAGIC): Likewise.
9758 (EXT4_SUPER_MAGIC): Likewise.
9759 (FUTEXFS_SUPER_MAGIC): Likewise.
9760 (HOSTFS_SUPER_MAGIC): Likewise.
9761 (HUGETLBFS_MAGIC): Likewise.
9762 (MINIX3_SUPER_MAGIC): Likewise.
9763 (MTD_INODE_FS_MAGIC): Likewise.
9764 (NILFS_SUPER_MAGIC): Likewise.
9765 (OPENPROM_SUPER_MAGIC): Likewise.
9766 (PIPEFS_MAGIC): Likewise.
9767 (PSTOREFS_MAGIC): Likewise.
9768 (QNX6_SUPER_MAGIC): Likewise.
9769 (RAMFS_MAGIC): Likewise.
9770 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9771 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9772 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9773 (SECURITYFS_MAGIC): Likewise.
9774 (SELINUX_MAGIC): Likewise.
9775 (SMACK_MAGIC): Likewise.
9776 (SOCKFS_MAGIC): Likewise.
9777 (SQUASHFS_MAGIC): Likewise.
9778 (STACK_END_MAGIC): Likewise.
9779 (TMPFS_MAGIC): Likewise.
9780 (USBDEVICE_SUPER_MAGIC): Likewise.
9781 (V9FS_MAGIC): Likewise.
9782 (XENFS_SUPER_MAGIC): Likewise.
9783 (CRAMFS_MAGIC): Fix typo in comment.
9784 (EXT2_SUPER_MAGIC): Update comment.
9785 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9786
464263cc
JM
97872014-02-08 Joseph Myers <joseph@codesourcery.com>
9788
c6bfe5c4
JM
9789 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9790 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9791 * sysdeps/unix/sysv/linux/arm: Move directory from
9792 ports/sysdeps/unix/sysv/linux/arm.
9793 * README: Update listing for arm-*-linux-gnueabi.
9794
464263cc
JM
9795 * README: Remove mention of am33.
9796
32749f6c
RM
97972014-02-07 Roland McGrath <roland@hack.frob.com>
9798
9799 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9800 than the comma operator, to avoid "rhs of comma has no effect"
9801 compiler warnings.
9802 (__sigfillset, __sigandset, __sigorset): Likewise.
9803 * include/signal.h (__sigemptyset): Likewise.
9804 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9805
d5b396c1
AM
98062014-02-07 Allan McRae <allan@archlinux.org>
9807
9808 * version.h (RELEASE): Set to "development".
9809 (VERSION): Set to "2.19.90"
9810 * NEWS: Add 2.20 section.
9811
3bfff2ed
CD
98122014-02-06 Carlos O'Donell <carlos@redhat.com>
9813
9814 [BZ #16529]
9815 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9816
ee7cc385
SP
98172014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
9819 * manual/contrib.texi: Update entry for Carlos O'Donell,
9820 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9821
f877c4f2
CD
98222014-02-05 Carlos O'Donell <carlos@rehdat.com>
9823
27e839f6
CD
9824 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9825
f877c4f2
CD
9826 * sysdeps/unix/sysv/linux/kernel-features.h
9827 [__LINUX_KERNEL_VERSION >= 0x020621]
9828 (__ASSUME_PROC_PID_TASK_COMM): Define.
9829
68159946
SP
98302014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9831
ba17cdbd
SP
9832 [BZ #16398]
9833 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9834 conversion when destination buffer does not have enough space.
9835 * libio/tst-ftell-partial-wide.c: New test case.
9836 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9837
68159946
SP
9838 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9839 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9840 Leonard and Allan McRae.
9841
2b528732
DM
98422014-02-04 David S. Miller <davem@davemloft.net>
9843
9844 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9845 32-bit.
9846
0ff82463
AZ
98472014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9848
57f41c40
AS
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9850 New file
c01603f7
AZ
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9852 New file
57f41c40
AS
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9854 New file.
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9856 New file.
c01603f7
AZ
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9858 New file.
57f41c40
AS
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9860 New file.
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9862 New file.
c01603f7
AZ
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9864 New file.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9866 New file.
9867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9868 New file.
9869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9870 New file.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9872 New file.
9873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9874 New file.
9875
98762014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9877
0ff82463
AZ
9878 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9879 * shlib-versions: Likewise.
9880
1695c773
AZ
98812014-02-04 Roland McGrath <roland@hack.frob.com>
9882 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9883
9884 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9885 (abilist-pattern): New variable, set to %-le.abilist.
9886
9887 * Makerules (abilist-pattern): New variable.
9888 (vpath): Use $(abilist-pattern) in place of %.abilist.
9889 (check-abi-% pattern rule): Likewise.
9890 (check-abi, update-abi): Likewise.
9891
6c0ce4b4
EW
98922014-02-04 Eric Wong <normalperson@yhbt.net>
9893
9894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9895
481e3524
CD
98962014-02-03 Carlos O'Donell <carlos@redhat.com>
9897
9898 * manual/startup.texi: Add next, previous, and top entries for
9899 the `Program Arguments' and `Environment Variables' nodes.
9900
375592d3
AO
99012014-02-03 Alexandre Oliva <aoliva@redhat.com>
9902
9903 * manual/macros.texi: Add comments before MTASC-safety macros.
9904
f54838ba
AO
9905 * manual/users.texi: Document MTASC-safety properties.
9906
57f41c40
AS
9907 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9908 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9909 @deftypefun, and add @safety note.
9910 * manual/signal.texi: Move comments that analyze the above
9911 functions to their home place.
9912
fd3daba4
AM
99132014-02-03 Allan McRae <allan@archlinux.org>
9914
9915 * po/sl.po: Update Slovenian translation from translation project.
9916
597636d7
AO
99172014-02-02 Alexandre Oliva <aoliva@redhat.com>
9918
9919 * manual/time.texi (timegm): Add missing blank after @c.
9920 Reported by Joseph Myers <joseph@codesourcery.com>.
9921
ee196e3c
AO
99222014-02-01 Alexandre Oliva <aoliva@redhat.com>
9923
9924 * manual/check-safety.sh: New.
9925 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9926
f8d529d5
AO
9927 * manual/terminal.texi: Document MTASC-safety properties.
9928
de55fdf4
AO
9929 * manual/filesys.texi: Document MTASC-safety properties.
9930
c3299c08
AO
9931 * manual/errno.texi: Document MTASC-safety properties.
9932
06e90b14
AO
9933 * manual/intro.texi: Document safety identifiers and
9934 conditionals.
9935
1acd4371
AO
9936 * manual/string.texi (wcstok): Fix prototype.
9937 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9938
23e5b8cb
AO
9939 * manual/time.texi: Document MTASC-safety properties.
9940
11087373
AO
9941 * manual/string.texi: Document MTASC-safety properties.
9942
5da2c93d
AO
9943 * manual/threads.texi: Document MTASC-safety properties.
9944
171e9210
AO
9945 * manual/stdio.texi: Document MTASC-safety properties.
9946
d9e02532
AO
9947 * manual/syslog.texi: Document MTASC-safety properties.
9948
6af8bab7
AO
9949 * manual/sysinfo.texi: Document MTASC-safety properties.
9950
663b02d7
AO
9951 * manual/startup.texi: Document MTASC-safety properties.
9952
973f180b
AO
9953 * manual/socket.texi: Document MTASC-safety properties.
9954
8f3c25c8
AO
9955 * manual/signal.texi: Document MTASC-safety properties.
9956
542210fb
AO
99572014-01-31 Alexandre Oliva <aoliva@redhat.com>
9958
9959 * manual/setjmp.texi: Document MTASC-safety properties.
9960
433c45a2
AO
9961 * manual/search.texi: Document MTASC-safety properties.
9962
c8ce789c
AO
9963 * manual/resource.texi: Document MTASC-safety properties.
9964
19f5d29c
AO
9965 * manual/process.texi: Document MTASC-safety properties.
9966
e2dfb7f4
AO
9967 * manual/platform.texi: Document MTASC-safety properties.
9968
8c1413f5
AO
9969 * manual/pipe.texi: Document MTASC-safety properties.
9970
03483ada
AO
9971 * manual/pattern.texi: Document MTASC-safety properties.
9972
29e7e2df
AO
9973 * manual/message.texi: Document MTASC-safety properties.
9974
9f529d7c
AO
9975 [BZ #12751]
9976 * manual/memory.texi: Document MTASC-safety properties.
9977
27aaa791
AO
9978 * manual/math.texi: Document MTASC-safety properties.
9979
f2d58726
AO
9980 * manual/locale.texi: Document MTASC-safety properties.
9981
2cc3615c
AO
9982 * manual/llio.texi: Document MTASC-safety properties.
9983
d9f0ec97
AO
9984 * manual/libdl.texi: New.
9985
e7c4409a
AO
9986 * manual/lang.texi: Document MTASC-safety properties.
9987
27bdc63c
AO
9988 * manual/job.texi: Document MTASC-safety properties.
9989
a7b90ea9
AO
9990 * manual/getopt.texi: Document MTASC-safety properties.
9991
c49130e3
AO
9992 * manual/ctype.texi: Document MTASC-safety properties.
9993
0d23a5c1
MR
99942014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9995
9996 [BZ #16046]
9997 * csu/libc-tls.c (static_map): Remove variable.
9998 (__libc_setup_tls): Use main executable's link map for TLS data.
9999 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10000 casing for LM_ID_BASE and GL(dl_nns).
10001 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10002 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10003 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10004 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10005 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10006 member.
10007 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10008 l_phnum members.
10009
0037bb60
AO
100102014-01-30 Alexandre Oliva <aoliva@redhat.com>
10011
10012 * manual/debug.texi: Document MTASC-safety properties.
10013
409e00bd
L
100142014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10015
10016 [BZ #16510]
10017 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10018 of __x86_64__ when disabling x87 inline functions.
10019
86e60666
AO
100202014-01-29 Alexandre Oliva <aoliva@redhat.com>
10021
10022 * manual/charset.texi: Document MTASC-safety properties.
10023
76167637
AO
10024 * manual/crypt.texi: Document MTASC-safety properties.
10025
e567f2a0
AO
10026 * manual/conf.texi: Document MTASC-safety properties.
10027
b719dafd
AO
10028 * manual/arith.texi: Document MTASC-safety properties.
10029
4a16c662
AO
10030 * manual/argp.texi: Document MTASC-safety properties.
10031
0a57b83e
AO
10032 * manual/macros.texi: Introduce macros to document multi
10033 thread, asynchronous signal and asynchronous cancellation
10034 safety properties.
10035 * manual/intro.texi: Introduce the properties themselves.
10036
feab2397
KK
100372014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10038
10039 * sysdeps/sh/sh4/Makefile: New file.
10040
1c0d11bc
AS
100412014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10042
10043 * math/gen-libm-test.pl ($srcdir): New variable.
10044 ($auto_input): Use it.
10045
af37a8a3
SP
100462014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10047
d7b00f98
SP
10048 [BZ #16506]
10049 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10050 access beyond array bounds when parsing netgroups file.
10051
af37a8a3
SP
10052 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10053 the old buffer before realloc.
10054
0c00f062
AM
100552014-01-27 Allan McRae <allan@archlinux.org>
10056
10057 * po/fr.po: Update French translation from translation project.
10058
7d69a1b0
KK
100592014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10060
10061 * sysdeps/sh/libm-test-ulps: Regenerate.
10062
6e697ff7
DM
100632014-01-24 David S. Miller <davem@davemloft.net>
10064
10065 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10066
9cadb35c
KK
100672014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10068
10069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10070 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10071
5d41dadf
SP
100722013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10073
10074 [BZ #16474]
10075 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10076 string pointers after reallocation.
10077
0bad441c
KK
100782014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10079
10080 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10081 __SH4A__ instead of __SH_FPU_ANY__.
10082
7007c661
KK
100832014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10084
10085 * sysdeps/sh/fpu_control.h: New file.
10086 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10087 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10088 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10089 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10090 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10091 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10092 * sysdeps/sh/sys/ucontext.h: Remove.
10093 * sysdeps/sh/sys: Remove directory.
10094
0f0c35e4
AK
100952014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10096
10097 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10098 s390/sys/ucontext.h.
10099 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10101
4959e284
L
101022014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10103
10104 [BZ #15605]
10105 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10106
d98720e0
AZ
101072014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108
10109 [BZ#16431]
10110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10111 Adjust the vDSO correctly for internal calls.
10112 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10113
91cbd0bc
AM
101142014-01-20 Allan McRae <allan@archlinux.org>
10115
10116 * po/ca.po: Update Catalan translation from translation project.
10117
7a02cfad
MF
101182014-01-16 Mike Frysinger <vapier@gentoo.org>
10119
10120 * sysdeps/s390/sotruss-lib.c: New file.
10121
736c304a
AZ
101222014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10123
10124 [BZ#16430]
6e077ee5 10125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10126 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10127 local calls issues by not having a PLT stub required for IFUNC calls.
10128 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10129
94d0cea0
JM
101302014-01-16 Joseph Myers <joseph@codesourcery.com>
10131
10132 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10133 * math/test-fpucw-static.c: Likewise.
10134
980cb518
SP
101352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10136
10137 [BZ #16453]
10138 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10139
2393fc01
AZ
101402014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10141
10142 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10143 implementation for powerpc.
10144
d359bcc2
OB
101452014-01-15 Ondřej Bílka <neleai@seznam.cz>
10146
10147 [BZ #14782]
10148 * sysdeps/posix/system.c (__libc_system): Do not enable
10149 asynchronous cancellation.
10150
7beb48cb
AK
101512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10152
10153 [BZ #16427]
10154 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10155 handling only for numbers special also in the IEEE case.
10156
c20d5bf5
AK
101572014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10158
10159 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10160
e83bd4ee
AM
101612014-01-11 Allan McRae <allan@archlinux.org>
10162
76d0ea69
AM
10163 * po/bg.po: Update Bulgarian translation from translation project.
10164
e83bd4ee
AM
10165 * po/de.po: Update German translation from translation project.
10166
bc2ba20a
RM
101672014-01-10 Roland McGrath <roland@hack.frob.com>
10168
10169 * sysdeps/generic/gcc-compat.h: New file.
10170
649ecea2
SP
101712014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10172
10173 * benchtests/asin-inputs: Correct slow inputs.
10174 * benchtests/acos-inputs: Likewise.
10175
1b19c006
AM
101762014-01-10 Allan McRae <allan@archlinux.org>
10177
a46dab08
AM
10178 * po:sv.po: Update Swedish translation from translation project.
10179
421df74a
AM
10180 * po/vi.po: Update Vietnamese translation from translation project.
10181
d61c51a7
AM
10182 * po/eo.po: Update Esperanto translation from translation project.
10183
0339a319
AM
10184 * po/cs.po: Update Czech translation from translation project.
10185
94ad3e99
AM
10186 * po/nl.po: Update Dutch translation from translation project.
10187
e349ca71
AM
10188 * po/pl.po: Update Polish translation from translation project.
10189
ddf930c1
AM
10190 * po/ru.po: Update Russian translation from translation project.
10191
1b19c006
AM
10192 * po/uk.po: Update Ukrainian translation from translation project.
10193
9f236c49
BM
101942014-01-08 Brooks Moses <bmoses@google.com>
10195
10196 * elf/dl-load.c: Fix comment typo.
10197
cd6701cf
CD
101982014-01-08 Carlos O'Donell <carlos@redhat.com>
10199
10200 * po/header.pot: Rename to...
10201 * po/pot.header: ... this.
10202 * po/Makefile: Use pot.header.
10203
66671c84
YK
102042014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10205 Maxim Kuvyrkov <maxim@kugelworks.com>
10206
10207 [BZ #16394]
cd6701cf
CD
10208 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10209 SRC and DEST against LEN.
66671c84 10210
38f34581
AZ
102112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10212
10213 [BZ #16414]
10214 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10215 implementation.
10216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10217
102182014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10219
10220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10221
4c327f2a
JM
102222014-01-08 Joseph Myers <joseph@codesourcery.com>
10223
10224 [BZ #16408]
10225 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10226 for large positive arguments.
10227
b821f414
JM
102282014-01-07 Joseph Myers <joseph@codesourcery.com>
10229
1f0f2067
JM
10230 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10231
a5a326f6
JM
10232 * math/auto-libm-test-in: Mark various tests with
10233 xfail-rounding:ldbl-128ibm.
10234 * math/auto-libm-test-out: Regenerated.
10235
b821f414
JM
10236 [BZ #16407]
10237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10238 Increase overflow threshold.
10239
94c8a4bc
OB
102402014-01-07 Ondřej Bílka <neleai@seznam.cz>
10241
10242 [BZ #14286]
10243 * stdio-common/vfprintf.c: Check for integer overflow.
10244
87ded0c3
AK
102452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10246
10247 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10248 the first argument and return value of __tls_get_addr_internal.
10249
c5eebdd0
AK
102502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10251
10252 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10253 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10254
05d138ef
AK
102552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10256
10257 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10258 * sysdeps/s390/rtld-global-offsets.sym: New file.
10259 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10260 GLIBC_2.19 symbol.
10261 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10262 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10263 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10264 ... this.
10265 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10266 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10267 ... this.
10268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10269 Regenerate.
10270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10271 Regenerate.
10272 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10273 halfs of GPRs for high_gprs contexts.
10274 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10275 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10276 field.
10277 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10278 uc_flags field.
10279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10280 64 bit versions:
10281 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10282 for high GPRs (uc_high_gprs) and for future extensions
10283 (__reserved).
10284 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10285 for future extensions (__reserved).
10286 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10287 64 bit versions:
10288 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10289 SC_HIGHGPRS offset definition.
10290 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10291 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10292
93a45ff1
AK
10293 * Versions.def: Add GLIBC_2.19 for libpthread.
10294 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10295 siglongjmp for libpthread with GLIBC_2.19 symver.
10296 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10297 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10298 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10299 * sysdeps/s390/__longjmp.c: New file.
10300 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10301 * sysdeps/s390/longjmp.c: New file.
10302 * sysdeps/s390/setjmp.S: New file.
10303 * sysdeps/s390/sigjmp.S: New file.
10304 * sysdeps/s390/v1-longjmp.c: New file.
10305 * sysdeps/s390/v1-setjmp.h: New file.
10306 * sysdeps/s390/v1-sigjmp.c: New file.
10307 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10308 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10309 GLIBC_2.19 version.
10310 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10311 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10312 versioned symbols for ____longjmp_chk.
10313 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10314 Likewise.
10315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10316 Regenerate.
10317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10318 Regenerate.
10319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10320 Regenerate.
10321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10322 Regenerate.
10323 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10324 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10325 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10326 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10327 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10328 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10329 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10330 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10331 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10332 * sysdeps/s390/rtld-__longjmp.c: New file.
10333 * sysdeps/s390/rtld-setjmp.S: New file.
10334
eb3fc44b
JM
103352014-01-06 Joseph Myers <joseph@codesourcery.com>
10336
10337 [BZ #16400]
10338 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10339 Return -__logl (x) for small positive arguments without evaluating
10340 a polynomial.
10341
9341dde4
MF
103422014-01-06 Mike Frysinger <vapier@gentoo.org>
10343
10344 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10345 Rename to ...
10346 (__ptrace_peeksiginfo_args): ... this.
10347 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10348 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10350
4cff0293
AM
103512014-01-06 Allan McRae <allan@archlinux.org>
10352
10353 * inet/netinet/in.h: Fix typo in comment.
10354
75595dcf
AJ
103552014-01-05 Andreas Jaeger <aj@suse.de>
10356
10357 * sysdeps/i386/fpu/libm-test-ulps: Update.
10358
79c1e109
AM
103592014-01-05 Allan McRae <allan@archlinux.org>
10360
dd804818
AM
10361 * po/libc.pot: Regenerated.
10362
79c1e109
AM
10363 * malloc/memusagestat.c: Fix gettext call formatting.
10364
0c813d1f
SK
103652014-01-04 Sami Kerola <kerolasa@iki.fi>
10366
10367 * nscd/nscd.c: Improve usage() output.
10368
20f4a8d9
MF
103692014-01-04 Mike Frysinger <vapier@gentoo.org>
10370
10371 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10372 * sysdeps/unix/sysv/linux/configure: Regenerated.
10373 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10374 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10375
22562bb2
JM
103762014-01-03 Joseph Myers <joseph@codesourcery.com>
10377
10378 [BZ #16390]
10379 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10380 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10381
d7ad2d9b
AZ
103822014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10383
10384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10385 extra tokens at end of #undef directive.
10386 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10387 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10388 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10389
7dd009d8
JM
103902014-01-03 Joseph Myers <joseph@codesourcery.com>
10391
24db925a
JM
10392 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10393
7dd009d8
JM
10394 * math/auto-libm-test-in: Mark various tests with
10395 xfail-rounding:ldbl-128ibm.
10396 * math/auto-libm-test-out: Regenerated.
10397
396e3ecf
JM
103982014-01-02 Joseph Myers <joseph@codesourcery.com>
10399
819e5d50
JM
10400 [BZ #16386]
10401 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10402 numbers with subnormal high part when calculating exponent.
10403
90b6a1e5
JM
10404 [BZ #16385]
10405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10406 fabs.
10407
396e3ecf
JM
10408 [BZ #16384]
10409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10410 M_LN2l.
10411 (__ieee754_acoshl): Use __log1pl not __log1p.
10412
6c8dbf00
OB
104132013-01-02 Ondřej Bílka <neleai@seznam.cz>
10414
57f41c40
AS
10415 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10416 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10417 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10418 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10419 (reused_arena, arena_get2): Convert to GNU style.
10420 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10421 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10422 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10423 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10424 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10425 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10426 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10427 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10428 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10429 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10430 * malloc/malloc.h: Likewise.
57f41c40
AS
10431 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10432 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10433 * malloc/mcheck.h: Likewise.
57f41c40
AS
10434 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10435 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10436 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10437 * malloc/morecore.c (__default_morecore): Likewise.
10438 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10439 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10440 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10441 (print_and_abort): Likewise.
6c8dbf00
OB
10442 * malloc/obstack.h: Likewise.
10443 * malloc/set-freeres.c (__libc_freeres): Likewise.
10444 * malloc/tst-mallocstate.c (main): Likewise.
10445 * malloc/tst-mtrace.c (main): Likewise.
10446 * malloc/tst-realloc.c (do_test): Likewise.
10447
d4124212
SP
104482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10449
9a3c6a6f
SP
10450 [BZ #16366]
10451 * nscd/netgroupcache.c (do_notfound): New function.
10452 (addgetnetgrentX): Use it.
10453
d4124212
SP
10454 [BZ # 16365]
10455 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10456 NSS_STATUS_NOTFOUND.
10457
97b9a009
JM
104582014-01-01 Joseph Myers <joseph@codesourcery.com>
10459
10460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10462
d4697bc9
AM
104632014-01-01 Allan McRae <allan@archlinux.org>
10464
ddb3687f
AM
10465 * scripts/update-copyrights: Update configure input file suffix.
10466
88726d48
AM
10467 * NEWS: Update copyright year.
10468 * catgets/gencat.c: Likewise.
10469 * csu/version.c: Likewise.
10470 * debug/catchsegv.sh: Likewise.
10471 * debug/pcprofiledump.c: Likewise.
10472 * debug/xtrace.sh: Likewise.
10473 * elf/ldconfig.c: Likewise.
10474 * elf/ldd.bash.in: Likewise.
10475 * elf/pldd.c: Likewise.
10476 * elf/sotruss.ksh: Likewise.
10477 * elf/sprof.c: Likewise.
10478 * iconv/iconv_prog.c: Likewise.
10479 * iconv/iconvconfig.c: Likewise.
10480 * locale/programs/locale.c: Likewise.
10481 * locale/programs/localedef.c: Likewise.
10482 * login/programs/pt_chown.c: Likewise.
10483 * malloc/memusage.sh: Likewise.
10484 * malloc/memusagestat.c: Likewise.
10485 * malloc/mtrace.pl: Likewise.
10486 * manual/libc.texinfo: Likewise.
10487 * nscd/nscd.c: Likewise.
10488 * nss/getent.c: Likewise.
10489 * nss/makedb.c: Likewise.
10490 * posix/getconf.c: Likewise.
10491 * scripts/test-installation.pl: Likewise.
10492
d4697bc9
AM
10493 * All files with FSF copyright notices: Update copyright dates
10494 using scripts/update-copyrights.
10495 * intl/plural.c: Regenerated.
10496 * locale/programs/charmap-kw.h: Likewise.
10497 * locale/programs/locfile-kw.h: Likewise.
10498
c8590f9d
MF
104992013-12-31 Mike Frysinger <vapier@gentoo.org>
10500
10501 * sysdeps/unix/sysv/linux/configure: Regenerated.
10502 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10503 the linux/fanotify.h header.
10504 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10505 HAVE_LINUX_FANOTIFY_H is defined.
10506
b19221b9
SP
105072013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10508
dd1d85e5
SP
10509 * benchtests/cos-inputs: New inputs.
10510 * benchtests/sin-inputs: Likewise.
10511
1acbb90f
SP
10512 * benchtests/atan-inputs: New inputs. Fix name of multiple
10513 precision fallback inputs.
10514
4c012ed3
SP
10515 * benchtests/atanh-inputs: New inputs.
10516 * benchtests/tanh-inputs: Likewise.
10517
eff98324
SP
10518 * benchtests/acosh-inputs: New inputs.
10519 * benchtests/asinh-inputs: Likewise.
10520
ce641152
SP
10521 * benchtests/cosh-inputs: New inputs.
10522 * benchtests/sinh-inputs: Likewise.
10523
b19221b9
SP
10524 * benchtests/acos-inputs: Add more inputs.
10525 * benchtests/asin-inputs: Likewise.
10526
030a4976 105272013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10528
030a4976 10529 [BZ #16375]
9dcc8f11
VS
10530 * manual/arith.texi: Fix spelling.
10531 * manual/charset.texi: Likewise.
10532 * manual/errno.texi: Likewise.
10533 * manual/filesys.texi: Likewise.
10534 * manual/lang.texi: Likewise.
10535 * manual/llio.texi: Likewise.
10536 * manual/locale.texi: Likewise.
10537 * manual/message.texi: Likewise.
10538 * manual/resource.texi: Likewise.
10539 * manual/search.texi: Likewise.
10540 * manual/setjmp.texi: Likewise.
10541 * manual/stdio.texi: Likewise.
10542 * manual/string.texi: Likewise.
10543 * manual/sysinfo.texi: Likewise.
10544 * manual/time.texi: Likewise.
10545
11520a57
CD
105462013-12-27 Carlos O'Donell <carlos@redhat.com>
10547
10548 * po/sl.po: New file.
10549
471103ae
MF
105502013-12-27 Mike Frysinger <vapier@gentoo.org>
10551
10552 * .gitignore: Add core/.gdbinit/.gdb_history.
10553
6c9642ed
AM
105542013-12-27 Allan McRae <allan@archlinux.org>
10555
10556 [BZ #16369]
10557 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10558 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10559
3f637079
BM
105602013-12-24 Brooks Moses <bmoses@google.com>
10561
10562 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10563 all compilers that claim C++98 compliance, not just GCC.
10564 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10565 Likewise.
10566
abc26e99
MK
105672013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10568
10569 * NEWS: Restore accidentally deleted bug-fix entries.
10570
362b47fe
MK
105712013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10572 Ondřej Bílka <neleai@seznam.cz>
10573
10574 [BZ #15073]
10575 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10576 have_lock.
362b47fe 10577
b9bcbbcb
OB
105782013-12-23 Ondřej Bílka <neleai@seznam.cz>
10579
10580 [BZ #12986]
10581 * manual/stdio.texi (String Input Conversions): Clarify that character
10582 classes are not supported.
10583
fb55fcd2
AZ
105842013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10585
10586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10587
ef7344f0
JM
105882013-12-22 Joseph Myers <joseph@codesourcery.com>
10589
4f40e4b3
JM
10590 [BZ #16337]
10591 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10592 Calculate results for small negative arguments directly rather
10593 than using reflection formula with special underflow handling.
10594
ef7344f0
JM
10595 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10596 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10597 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10598 (fchflags): Likewise.
10599 (revoke): Likewise.
10600 (setlogin): Likewise.
10601 (sigaltstack): Likewise.
10602 (wait4): Likewise.
10603 (sigblock): Remove.
10604 (sigsetmask): Likewise.
10605 (wait3): Likewise.
10606 (waitpid): Likewise.
10607 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10608 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10609 file.
10610 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10611 * sysdeps/unix/bsd/Makefile: ... here.
10612 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10613 * sysdeps/unix/bsd/Versions: ... here.
10614 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10615 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10616 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10617 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10618 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10619 * sysdeps/unix/bsd/sigblock.c: ... here.
10620 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10621 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10622 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10623 * sysdeps/unix/bsd/sigvec.c: ... here.
10624 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10625 * sysdeps/unix/bsd/tcdrain.c: ... here.
10626 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10627 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10628 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10629 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10630 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10631 * sysdeps/unix/bsd/wait.c: ... here.
10632 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10633 * sysdeps/unix/bsd/wait3.c: ... here.
10634 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10635 * sysdeps/unix/bsd/waitpid.c: ... here.
10636
5b0626b9
JM
106372013-12-21 Joseph Myers <joseph@codesourcery.com>
10638
10639 [BZ #16356]
10640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10641 round-to-nearest for [!USE_AS_EXPM1L].
10642 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10643 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10644 more tests of exp and exp10. Expect some exp10 tests to miss
10645 exceptions or fail in directed rounding modes.
10646 * math/auto-libm-test-out: Regenerated.
10647 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10648 (exp10_test_tonearest): New function.
10649 (exp10_towardzero_test_data): New array.
10650 (exp10_test_towardzero): New function.
10651 (exp10_downward_test_data): New array.
10652 (exp10_test_downward): New function.
10653 (exp10_upward_test_data): New array.
10654 (exp10_test_upward): New function.
10655 (main): Call the new functions.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658
7fda5682
JM
106592013-12-20 Joseph Myers <joseph@codesourcery.com>
10660
31e3a405
JM
10661 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10662 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10663 * math/auto-libm-test-out: Regenerated.
10664 * math/libm-test.inc (acosh_test_data): Add more tests.
10665 (atanh_test_data): Likewise.
10666 (ceil_test_data): Likewise.
10667 (copysign_test_data): Likewise.
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
85bff96a
JM
10671 * timezone/checktab.awk: Update from tzcode 2013i.
10672 * timezone/private.h: Likewise.
10673 * timezone/scheck.c: Likewise.
10674 * timezone/tzfile.h: Likewise.
10675 * timezone/tzselect.ksh: Likewise.
10676 * timezone/zdump.c: Likewise.
10677 * timezone/zic.c: Likewise.
10678
b7867a3b
JM
10679 * math/auto-libm-test-in: Add tests of cpow.
10680 * math/auto-libm-test-out: Regenerated.
10681 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10682 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10683 mpc_cc_c.
10684 (func_calc_desc): Add mpc_cc_c union field.
10685 (test_functions): Add cpow.
10686 (special_fill_2pi): New function.
10687 (special_real_inputs): Add 2pi.
10688 (calc_generic_results): Handle mpc_cc_c.
10689 * sysdeps/i386/fpu/libm-test-ulps: Update.
10690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10691
7fda5682
JM
10692 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10693 csqrt, ctan and ctanh.
10694 * math/auto-libm-test-out: Regenerated.
10695 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10696 (TEST_COND_x86): Likewise.
10697 (ccos_test_data): Use AUTO_TESTS_c_c.
10698 (ccosh_test_data): Likewise.
10699 (cexp_test_data): Likewise.
10700 (clog_test_data): Likewise.
10701 (csqrt_test_data): Likewise.
10702 (ctan_test_data): Likewise.
10703 (ctan_tonearest_test_data): Likewise.
10704 (ctan_towardzero_test_data): Likewise.
10705 (ctan_downward_test_data): Likewise.
10706 (ctan_upward_test_data): Likewise.
10707 (ctanh_test_data): Likewise.
10708 (ctanh_tonearest_test_data): Likewise.
10709 (ctanh_towardzero_test_data): Likewise.
10710 (ctanh_downward_test_data): Likewise.
10711 (ctanh_upward_test_data): Likewise.
10712 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10713 mpc_c_c.
10714 (func_calc_desc): Add mpc_c_c union field.
10715 (FUNC_mpc_c_c): New macro.
10716 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10717 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10718 ctanh.
10719 (special_fill_min_subnorm_p120): New function.
10720 (special_real_inputs): Add min_subnorm_p120.
10721 (calc_generic_results): Handle mpc_c_c.
10722 * sysdeps/i386/fpu/libm-test-ulps: Update.
10723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10724
5ff8d60e
SP
107252013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10726
57f41c40
AS
10727 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10728 (do_sin_slow): New functions.
10729 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10730 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10731
84ba214c
SP
10732 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10733 Use M to change sign of result instead of X. Assume X is
10734 positive.
10735 (csloww1): Likewise.
10736 (__sin): Adjust.
10737 (__cos): Adjust.
10738
975195e4
SP
10739 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10740 arguments A and DA.
10741 (__sin): Adjust.
10742 (__cos): Likewise.
10743
5ff8d60e
SP
10744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10745 (__cos): Likewise.
10746 (sloww1): Don't adjust sign of DX.
10747 (csloww1): Likewise.
10748 (sloww2): Use X directly and don't adjust sign of DX.
10749 (csloww2): Likewise.
10750
eb983568
JM
107512013-12-19 Joseph Myers <joseph@codesourcery.com>
10752
64a17f1a
JM
10753 * math/auto-libm-test-in: Add tests of cabs and carg.
10754 * math/auto-libm-test-out: Regenerated.
10755 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10756 (carg_test_data): Likewise.
10757 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10758 mpc_c_f.
10759 (func_calc_desc): Add mpc_c_f union field.
10760 (test_functions): Add cabs and carg.
10761 (calc_generic_results): Handle mpc_c_f.
10762
eb983568
JM
10763 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10764 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10765 as a macro and a compat symbol.
10766 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10767 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10768 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10769 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10770 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10771 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10772 not use .hidden.
10773 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10774 Likewise.
10775 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10776 Likewise.
10777 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10778 Likewise.
10779 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10780 Likewise.
10781 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10782 Likewise.
10783 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10784 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10785 from GLIBC_2.3.2.
10786
6eeb678a
AZ
107872013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10788
10789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10790
6f6fc482
JM
107912013-12-19 Joseph Myers <joseph@codesourcery.com>
10792
21fea2e2
JM
10793 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10794 trailing whitespace removed.
10795 * scripts/config.guess: Update to version 2013-11-29.
10796 * scripts/config.sub: Update to version 2013-10-01.
10797
6f6fc482
JM
10798 * math/auto-libm-test-in: Add tests of sincos.
10799 * math/auto-libm-test-out: Regenerated.
10800 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10802 mpfr_f_11.
10803 (func_calc_desc): Add mpfr_f_11 union field.
10804 (test_functions): Add sincos.
10805 (calc_generic_results): Handle mpfr_f_11.
10806 * sysdeps/i386/fpu/libm-test-ulps: Update.
10807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10808
83f5c32d
AS
108092013-12-19 Andreas Schwab <schwab@suse.de>
10810
10811 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10812 CALL_MCOUNT.
10813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10814 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10815 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10816
c688b419
JM
108172013-12-19 Joseph Myers <joseph@codesourcery.com>
10818
335ee092
JM
10819 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10820 * sysdeps/i386/fpu/libm-test-ulps: Update.
10821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10822
f88acd39
JM
10823 [BZ #16293]
10824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10825 round-to-nearest mode when using frndint.
10826 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10827 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10829 Likewise.
10830 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10831 sinh test to fail.
10832 * math/auto-libm-test-out: Regenerated.
10833 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10834 (TEST_COND_x86): Likewise.
10835 (expm1_tonearest_test_data): New array.
10836 (expm1_test_tonearest): New function.
10837 (expm1_towardzero_test_data): New array.
10838 (expm1_test_towardzero): New function.
10839 (expm1_downward_test_data): New array.
10840 (expm1_test_downward): New function.
10841 (expm1_upward_test_data): New array.
10842 (expm1_test_upward): New function.
10843 (main): Run the new test functions.
10844 * sysdeps/i386/fpu/libm-test-ulps: Update.
10845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10846
c688b419
JM
10847 * include/features.h: Update comment documenting feature test
10848 macros. Mention _DEFAULT_SOURCE in comment.
10849 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10850 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10851 _BSD_SOURCE and _SVID_SOURCE.
10852 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10853 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10854 !_SVID_SOURCE]: Likewise.
10855 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10856 (__USE_POSIX_IMPLICITLY): Define.
10857 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10858 (_POSIX_SOURCE): Undefine and redefine.
10859 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10860 (_POSIX_C_SOURCE): Likewise.
10861 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10862 (Feature Test Macros): Update documentation of default features.
10863
9f6e964c
RS
108642013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10865
10866 * benchtests/Makefile: Add bench-strtok.
10867 * benchtests/bench-strtok.c: New file: strtok benchtest.
10868
ee0a148a
AM
108692013-12-19 Allan McRae <allan@archlinux.org>
10870
10871 * manual/install.texi: Suppress menu for plain text output.
10872 * INSTALL: Regenerated.
10873
b9ab448f
BM
108742013-12-18 Brooks Moses <bmoses@google.com>
10875
10876 [BZ #15846]
10877 * misc/getauxval.c: Include errno.h.
10878 (__getauxval): Set errno to ENOENT if the requested type is not
10879 found.
10880 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10881 don't declare with __attribute_const__.
10882 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10883 * manual/startup.texi: Document that getauxval sets errno.
10884
23776487
JM
108852013-12-18 Joseph Myers <joseph@codesourcery.com>
10886
f889953b
JM
10887 * math/auto-libm-test-in: Add tests of jn and yn.
10888 * math/auto-libm-test-out: Regenerated.
10889 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10890 (yn_test_data): Likewise.
10891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10892 mpfr_if_f.
10893 (func_calc_desc): Add mpfr_if_f union field.
10894 (FUNC_mpfr_if_f): New macro.
10895 (test_functions): Add jn and yn.
10896 (calc_generic_results): Assert type of second input for
10897 mpfr_ff_f. Handle mpfr_if_f.
10898 (output_for_one_input_case): Disable all checking for arguments
10899 fitting floating-point types in case of an integer argument.
10900 * sysdeps/i386/fpu/libm-test-ulps: Update.
10901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10902
23776487
JM
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10904 Don't expect fegetround reference in libm.so.
10905
cb756c6d
MS
109062013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10907
10908 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10909 $(config-cflags-nofma).
10910
2dec468f
JM
109112013-12-18 Joseph Myers <joseph@codesourcery.com>
10912
5953eb3a
JM
10913 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10914 * math/auto-libm-test-out: Regenerated.
10915
2dec468f
JM
10916 [BZ #16338]
10917 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10918 to determine exponent and adjust argument to have exponent of -1.
10919 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10920 log2.
10921 * math/auto-libm-test-out: Regenerated.
10922 * sysdeps/i386/fpu/libm-test-ulps: Update.
10923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10924
4d84e6ad
OB
109252013-12-18 Ondřej Bílka <neleai@seznam.cz>
10926
10927 * manual/probes.texi: Remove cases when per-thread arenas are
10928 disabled.
10929
1818483b
AS
109302013-12-18 Andreas Schwab <schwab@suse.de>
10931
10932 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10933 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10934 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10935 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10936 * sysdeps/i386/i686/multiarch/Makefile: Update.
10937 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10938
25de95bf
JM
109392013-12-17 Joseph Myers <joseph@codesourcery.com>
10940
10941 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10942 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10943
674762d9
PE
109442013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10945
ed27ed83 10946 [BZ #15968]
0748546f
PE
10947 Support TZ transition times < 00:00:00.
10948 This is needed for version-3 tz-format files; it supports time
10949 stamps past 2037 for America/Godthab (the only entry in the tz
10950 database for which this change is relevant).
10951 * manual/time.texi (TZ Variable): Document transition times
10952 from -167:59:59 through -00:00:01.
10953 * time/tzset.c (tz_rule): Time of day is now signed.
10954 (__tzset_parse_tz): Parse negative time of day.
10955
4480e934
PE
10956 Document TZ transition times >= 25:00:00.
10957 * manual/time.texi (TZ Variable): Document transition times from
10958 25:00:00 through 167:59:59. These are already supported, and this
10959 support will help with version-3 tz-format files.
10960
69947401
PE
10961 * manual/time.texi (TZ Variable): Modernize North America example
10962 to reflect current (i.e., 2007-and-later) daylight saving rules.
10963
674762d9
PE
10964 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10965
7011c262
JM
109662013-12-17 Joseph Myers <joseph@codesourcery.com>
10967
2fc6557e
JM
10968 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10969 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10972 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10973 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10974 * sysdeps/unix/bsd/clock.c: Likewise.
10975 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10976 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10977 * sysdeps/unix/bsd/init-posix.c: Likewise.
10978 * sysdeps/unix/bsd/poll.c: Likewise.
10979 * sysdeps/unix/bsd/ptsname.c: Likewise.
10980 * sysdeps/unix/bsd/seekdir.c: Likewise.
10981 * sysdeps/unix/bsd/setegid.c: Likewise.
10982 * sysdeps/unix/bsd/seteuid.c: Likewise.
10983 * sysdeps/unix/bsd/setgid.c: Likewise.
10984 * sysdeps/unix/bsd/setrgid.c: Likewise.
10985 * sysdeps/unix/bsd/setruid.c: Likewise.
10986 * sysdeps/unix/bsd/setsid.c: Likewise.
10987 * sysdeps/unix/bsd/setuid.c: Likewise.
10988 * sysdeps/unix/bsd/sigaction.c: Likewise.
10989 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10990 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10991 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10992 * sysdeps/unix/bsd/telldir.c: Likewise.
10993 * sysdeps/unix/bsd/times.c: Likewise.
10994 * sysdeps/unix/bsd/usleep.c: Likewise.
10995
029c7b25
JM
10996 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10997 ($(objpfx)libbsd-compat.a): Remove rule.
10998
7011c262
JM
10999 * include/features.h (__FAVOR_BSD): Do not define.
11000 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11001 features conflicting with POSIX.
11002 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11003 (_BSD_SOURCE): Remove description of not being a subset of other
11004 feature test macros.
11005 * manual/job.texi (getpgrp): Do not document BSD version.
11006 (getpgid): Do not document by reference to BSD getpgrp.
11007 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11008 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11009 * signal/signal.h [__FAVOR_BSD]: Likewise.
11010 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11011 instead of making contents conditional on [__FAVOR_BSD].
11012 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11013
affb6f78
AZ
110142013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11015
11016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11017
c88769dd
JM
110182013-12-17 Joseph Myers <joseph@codesourcery.com>
11019
6432a540
JM
11020 [BZ #16314]
11021 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11022 values below 2**-450, not 2**-500.
11023 * math/auto-libm-test-in: Don't allow spurious underflow from
11024 hypot.
11025 * math/auto-libm-test-out: Regenerated.
11026
c88769dd
JM
11027 [BZ #16316]
11028 [BZ #16330]
11029 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11030 values of ha and hb and sort them after adjusting subnormal
11031 arguments.
11032 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11033 Likewise.
11034 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11035 values of ea and eb and sort them after adjusting subnormal
11036 arguments.
11037 * math/auto-libm-test-in: Do not expect some hypot tests of
11038 subnormals to fail. Add more hypot tests.
11039 * math/auto-libm-test-out: Regenerated.
11040
29618f6b
KK
110412013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11042
11043 [BZ #13304]
11044 * sysdeps/sh/s_fma.c: New file.
11045 * sysdeps/sh/s_fmaf.c: New file.
11046 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11047 version.
11048 * sysdeps/sh/Implies: Add sh/soft-fp.
11049
eacfdfbf
RM
110502013-12-16 Roland McGrath <roland@hack.frob.com>
11051
11052 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11053 level of indirection to members `objname', `errstring', `malloced'.
11054 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11055 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11056 it as the __longjmp argument (just pass 1 instead).
11057 (_dl_catch_error): Initialize C with argument pointers and address of
11058 volatile local ERRCODE rather than copying values out of C at return.
11059
ff362e5b
JM
110602013-12-16 Joseph Myers <joseph@codesourcery.com>
11061
11062 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11063 * math/auto-libm-test-out: Regenerated.
11064 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11065 (hypot_test_data): Likewise.
11066 (pow_test_data): Likewise.
11067 (pow_tonearest_test_data): Likewise.
11068 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11069 mpfr_ff_f.
11070 (func_calc_desc): Add mpfr_ff_f union field.
11071 (FUNC_mpfr_ff_f): New macro.
11072 (test_functions): Add atan2, hypot and pow.
11073 (special_fill_min): New function.
11074 (special_fill_minus_min): Likewise.
11075 (special_fill_min_subnorm): Likewise.
11076 (special_fill_minus_min_subnorm): Likewise.
11077 (special_real_inputs): Add min, -min, min_subnorm and
11078 -min_subnorm.
11079 (calc_generic_results): Handle mpfr_ff_f.
11080 * sysdeps/i386/fpu/libm-test-ulps: Update.
11081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11082
5764c27f
WN
110832013-12-16 Will Newton <will.newton@linaro.org>
11084
11085 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11086 (Aligned Memory Blocks): Add documentation for aligned_alloc
11087 and suggest it as an alternative to posix_memalign.
11088 (Hooks for Malloc): Document __memalign_hook is also called
11089 for aligned_alloc. (Summary of Malloc): Add summary for
11090 aligned alloc. Document __memalign_hook is also called
11091 for aligned_alloc.
11092
0a096e44
WN
110932013-12-16 Will Newton <will.newton@linaro.org>
11094
11095 * manual/memory.texi (Malloc Examples): Clarify default
11096 alignment documentation. Suggest posix_memalign rather
11097 than memalign or valloc.
11098 (Aligned Memory Blocks): Remove suggestion to use memalign
11099 or valloc. Remove obsolete comment about BSD.
11100 Document memalign errno values and mark the function obsolete.
11101 Document posix_memalign returned error codes. Mark valloc
11102 as obsolete. (Hooks for Malloc): __memalign_hook is also
11103 called for posix_memalign and valloc.
11104 (Summary of Malloc): Add posix_memalign to function summary.
11105 __memalign_hook is also called for posix_memalign and valloc.
11106
8d561986
SP
111072013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11108
11109 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11110 TAYLOR_SIN.
11111 (__sin): Adjust.
11112 (__cos): Likewise.
11113 (sloww): Use mynumber union. Expand ternary operator into
11114 if-else statements.
11115 (cslow): use mynumber union.
11116
73616a74
AM
111172013-12-16 Allan McRae <allan@archlinux.org>
11118
9e8ac24b
AM
11119 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11120 * configure: Regenerated.
11121
6f8e37eb
AM
11122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11123
8894bad3
AM
11124 [BZ #14120]
11125 * configure.ac: Added --enable-maintainer-mode. Check for
11126 autoconf when enabled.
11127 * configure: Regenerated.
11128
73616a74
AM
11129 * nscd/nscd.service: New file.
11130 * nscd/nscd.tmpfiles: New file.
11131
584b18eb
OB
111322013-12-14 Ondřej Bílka <neleai@seznam.cz>
11133
11134 [BZ #12100]
11135 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11136 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11137 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11138 (strstr): Add __strstr_sse2_unaligned ifunc.
11139 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11140 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11141 (strcasestr): Remove __strcasestr_sse42 ifunc.
11142 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11145
8a5c7897
KK
111462013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11147
11148 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11149 * sysdeps/sh/bits/fenv.h: ... here.
11150 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11151
fd712ef3
AZ
111522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11153
11154 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11155
42fcb46c
AZ
11156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11157 hypotf multiarch implementations.
11158 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11159 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11161 multiarch hypot for PPC64.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11165 multiarch hypotf for PPC64.
11166
83efded4
AZ
11167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11168 modff multiarch implementations.
11169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11172 multiarch modf for PPC64.
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11176 multiarch modff for PPC64.
11177
43e246d2
AZ
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11179 and logl multiarch implementations.
11180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11183 multiarch logb for PPC64.
11184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11187 multiarch logb for PPC64.
11188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11191 multiarch logb for PPC64.
11192
8fdad123
AZ
11193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11194 isinff multiarch implementation.
11195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11196 file.
11197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11199 multiarch isinf for PPC64.
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11201 file.
11202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11203 multiarch isinff for PPC64.
11204
1481d706
AZ
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11206 finitef multiarch implementation.
11207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11208 file.
11209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11211 multiarch finite for PPC64.
11212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11213 file.
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11215 multiarch finitef for PPC64.
11216
5ccd5fc8
AZ
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11218 lrint multiarch implementation.
11219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11220 file.
11221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11223 multiarch llrint for PPC64.
11224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11225 multiarch lrint for PPC64.
11226
2568f3fa
AZ
11227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11228 copysignf multiarch implementation.
11229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11230 file.
11231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11232 file.
11233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11234 multiarch copysign for PPC64.
11235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11236 multiarch copysignf for PPC64.
11237
1cb341fd
AZ
11238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11239 multiarch implementation.
11240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11241 file.
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11243 file.
11244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11245 file.
11246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11247 file.
11248 multiarch llround for PPC64.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11250 multiarch trunc for PPC64.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11252 multiarch truncf for PPC64.
11253
59a3e194
AZ
11254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11255 multiarch implementation.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11257 file.
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11259 file.
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11261 file.
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11263 file.
11264 multiarch llround for PPC64.
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11266 multiarch round for PPC64.
11267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11268 multiarch roundf for PPC64.
11269
357fd3b4
AZ
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11271 multiarch implementation.
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11273 file.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11275 file.
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11277 file.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11279 file.
11280 multiarch llround for PPC64.
11281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11282 multiarch floor for PPC64.
11283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11284 multiarch floorf for PPC64.
11285
96770f12
AZ
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11287 multiarch implementation.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11289 file.
11290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11291 file.
11292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11293 file.
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11295 file.
11296 multiarch llround for PPC64.
11297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11298 multiarch ceil for PPC64.
11299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11300 multiarch ceilf for PPC64.
11301
c3627f6e
AZ
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11303 multiarch implementation.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11305 file.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11307 file.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11309 file.
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11311 multiarch llround for PPC64.
11312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11313 multiarch lround for PPC64.
11314
b2284ad7
AZ
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11316 multiarch implementation.
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11320 file.
11321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11324 multiarch isnan for PPC64.
11325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11326 multiarch isnanf for PPC64.
11327
69bbc63d
AZ
11328 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11329 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11330 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11331 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11332 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11334
c24517c9
AZ
11335 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11336 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11339
a52374e8
AZ
11340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11341 multiarch implementations.
11342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11343 (__libc_ifunc_impl_list): Likewise.
11344 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11345 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11346 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11347 multiarch stpcpy for PPC64.
11348
7f5ec113
AZ
11349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11350 multiarch implementations.
11351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11352 (__libc_ifunc_impl_list): Likewise.
11353 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11354 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11355 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11356 multiarch strcpy for PPC64.
11357
e28bcd42
AZ
11358 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11359 redefine function name.
11360 (_wordcopy_fwd_dest_aligned): Likewise.
11361 (_wordcopy_bwd_aligned): Likewise.
11362 (_wordcopy_bwd_dest_aligned): Likewise.
11363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11364 multiarch implementations.
11365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11366 (__libc_ifunc_impl_list): Likewise.
11367 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11368 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11369 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11370 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11371 multiarch wcscpy for PPC64.
11372
92cacfce
AZ
11373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11374 multiarch implementations.
11375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11376 (__libc_ifunc_impl_list): Likewise.
11377 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11378 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11379 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11380 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11381 multiarch wcscpy for PPC64.
11382
7b714620
AZ
11383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11384 multiarch implementations.
11385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11386 (__libc_ifunc_impl_list): Likewise.
11387 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11388 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11389 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11390 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11391 multiarch wcsrchr for PPC64.
11392
16fd2ae3
AZ
11393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11394 multiarch implementations.
11395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11396 (__libc_ifunc_impl_list): Likewise.
11397 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11398 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11399 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11400 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11401 multiarch wcschr for PPC64.
11402
9ee2969b
AZ
11403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11404 multiarch implementations.
11405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11406 (__libc_ifunc_impl_list): Likewise.
11407 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11408 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11409 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11410 multiarch strchrnul for PPC64.
11411
372dc060
AZ
11412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11413 implementations.
11414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11415 (__libc_ifunc_impl_list): Likewise.
11416 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11417 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11418 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11419 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11420 strchr for PPC64.
11421
24c2c3b9
AZ
11422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11423 implementations.
11424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11425 (__libc_ifunc_impl_list): Likewise.
11426 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11427 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11428 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11429 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11430 strncmp for PPC64.
11431
1c92d9a0
AZ
11432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11433 multiarch implementations.
11434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11435 (__libc_ifunc_impl_list): Likewise.
11436 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11437 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11438 strncasecmp for PPC64.
11439 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11440 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11441 multiarch strncasecmp_l for PPC64.
11442
17de3ee3
AZ
11443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11444 multiarch implementations.
11445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11446 (__libc_ifunc_impl_list): Likewise.
11447 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11449 multiarch strcasecmp for PPC64.
11450 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11451 file.
11452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11453 multiarch strcasecmp_l for PPC64.
11454
62982bf9
AZ
11455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11456 implementations.
11457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11458 (__libc_ifunc_impl_list): Likewise.
11459 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11460 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11461 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11462 strnlen for PPC64.
11463
a65f4904
AZ
11464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11465 implementations.
11466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11467 (__libc_ifunc_impl_list): Likewise.
11468 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11469 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11470 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11471 strlen for PPC64.
11472
1fd005ad
AZ
11473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11474 implementations.
11475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11476 (__libc_ifunc_impl_list): Likewise.
11477 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11478 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11479 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11480 rawmemrchr for PPC64.
11481
cd05ba91
AZ
11482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11483 implementation.
11484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11485 (__libc_ifunc_impl_list): Likewise.
11486 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11487 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11488 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11489 memrchr for PPC64.
11490
870f8676
AZ
11491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11492 implementation.
11493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11494 (__libc_ifunc_impl_list): Likewise.
11495 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11496 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11497 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11498 memchr for PPC64.
11499
f00be62b
AZ
11500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11501 implementation.
11502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11503 (__libc_ifunc_impl_list): Likewise.
11504 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11505 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11506 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11507 mempcpy for PPC64.
11508
8a29a3d0
AZ
11509 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11510 avoid cretion of __bzero symbol.
11511 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11512 Likewise.
11513 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11514 Likewise.
11515 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11516 Likewise.
11517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11518 multiarch implementations.
11519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11520 (__libc_ifunc_impl_list): Likewise.
11521 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11522 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11523 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11524 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11525 bzero for PPC32.
11526 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11527 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11528 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11529 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11530 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11531 memset for PPC64.
11532 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11533
07253fcf
AZ
11534 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11536 implementations.
11537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11538 (__libc_ifunc_impl_list): Likewise.
11539 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11540 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11541 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11542 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11543 memcmp for PPC64.
11544
b5beafbc
AZ
11545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11546 multiarch for POWER/PPC64.
11547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11548 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11549 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11550 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11551 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11555 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11556 memcpy for PPC64.
11557
5e6a4d4b
AZ
11558 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11559 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11560 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11561 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11562 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11563 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11564 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11565 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11566 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11567 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11568 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11569 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11570 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11571 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11572 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11580
ddfab6dc
KK
115812013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11582
11583 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11584
19b5525e
SP
115852013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11586
11587 * benchtests/Makefile (bench): Add exp2 and log2.
11588 (LDLIBS-bench-exp2): Add -lm.
11589 (LDLIBS-bench-log2): Likewise.
11590 * benchtests/exp2-inputs: New inputs file.
11591 * benchtests/log2-inputs: New inputs file.
11592 * benchtests/log-inputs: Add new inputs.
11593 * benchtests/tan-inputs: Likewise.
11594
196f7f5d
SP
115952013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11596
7a74607f
SP
11597 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11598 definition...
57f41c40
AS
11599 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11600 (csloww2): ... from here.
7a74607f 11601
196f7f5d
SP
11602 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11603 instead of structures.
11604 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11605 (POLYNOMIAL): Likewise.
11606 (TAYLOR_SLOW): Likewise.
11607 (__sin): Likewise.
11608 (__cos): Likewise.
11609 (slow1): Likewise.
11610 (slow2): Likewise.
11611 (sloww): Likewise.
11612 (sloww1); Likewise.
11613 (sloww2): Likewise.
11614 (bsloww1): Likewise.
11615 (bsloww2): Likewise.
11616 (cslow2): Likewise.
11617 (csloww): Likewise.
11618 (csloww1): Likewise.
11619 (csloww2): Likewise.
11620
0dfa665c
OB
116212013-12-10 Ondřej Bílka <neleai@seznam.cz>
11622
11623 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11624 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11625 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11626 * malloc/hooks.c (realloc_check): Likewise.
11627
5782a80f
OB
11628 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11629 * malloc/arena.c: Remove PER_THREAD conditional.
11630 [!PER_THREAD]: Remove code.
11631 (ptmalloc_unlock_all2): Likewise.
11632 (ptmalloc_init): Likewise.
11633 (_int_new_arena): Likewise.
11634 (arena_get2): Likewise.
11635 * malloc/hooks.c (__malloc_get_state): Likewise.
11636 (__malloc_set_state): Likewise.
11637 * malloc/malloc.c: Likewise.
11638 (struct malloc_state): Likewise.
11639 (struct malloc_par): Likewise.
11640 (__libc_realloc): Likewise.
11641 (__libc_mallopt): Likewise.
11642
aeb95445
AZ
116432013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644
11645 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11646
e8349efd
OB
116472013-12-09 Ondřej Bílka <neleai@seznam.cz>
11648
11649 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11650 macro to a function. Check for zero perturb_byte.
11651 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11652
f3eeb3fc 11653 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11654 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11655 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11656 force_reg by atomic_forced_read.
11657 * malloc/arena.c (ptmalloc_init): Likewise.
11658 * malloc/hooks.c (top_check): Likewise.
11659
be2f9009
AZ
116602013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11661
11662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11663
e7b914bd
MT
116642013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11665
11666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11667
9f0be4f8
JM
116682013-12-08 Joseph Myers <joseph@codesourcery.com>
11669
11670 * math/auto-libm-test-in: Add tests of lgamma.
11671 * math/auto-libm-test-out: Regenerated.
11672 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11673 (M_LOG_2_SQRT_PIl): Likewise.
11674 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11676 mpfr_f_f1.
11677 (func_calc_desc): Add mpfr_f_f1 union field.
11678 (ARGS1): New macro.
11679 (ARGS2): Likewise.
11680 (ARGS3): Likewise.
11681 (ARGS4): Likewise.
11682 (RET1): Likewise.
11683 (RET2): Likewise.
11684 (CALC): Likewise.
11685 (FUNC): Likewise.
11686 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11687 (test_functions): Add lgamma.
11688 (calc_generic_results): Handle mpfr_f_f1.
11689 * sysdeps/i386/fpu/libm-test-ulps: Update.
11690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11691
24eeafdb
AZ
116922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693
11694 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11695 __mpn_add_n for PowerPC64/POWER7.
11696 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11697 __mpn_sub_n for PowerPC64/POWER7.
11698
4a2c0fd4
AZ
11699 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11700 __mpn_addmul_1 for PowerPC64.
11701 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11702 __mpn_submul_1 for PowerPC64.
11703 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11704 for PowerPC64.
11705 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11706 for PowerPC64.
11707
4b5b548c
FS
117082013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11709
11710 [BZ #15089]
11711 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11712
0a3ac0aa
AZ
117132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11714
11715 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11716
ccdc8438
AZ
11717 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11718 add multiarch folders.
11719 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11720 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11721 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11722 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11723 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11724 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11725 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11726 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11727 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11728 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11729 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11736
2e973d99
AZ
11737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11738 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11740 New file.
11741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11742 New file.
11743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11744 multiarch __ieee754_hypot for PowerPC32.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11746 New file.
11747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11748 New file.
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11750 multiarch __ieee754_hypotf for PowerPC32.
11751
2d9470b2
AZ
11752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11753 long_double_symbol only if __logbl is defined.
11754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11755 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11757 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11759 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11761 path for implementation.
11762 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11763 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11765 logb, and logbl multiarch implementations for PowerPC32.
11766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11767 file.
11768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11769 file.
11770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11771 multiarch logb for PowerPC32.
11772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11773 file.
11774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11775 file.
11776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11777 multiarch logbf for PowerPC32.
11778 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11780 file.
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11782 multiarch logbl implementation for PowerPC32.
11783
5212ffce
AZ
11784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11785 and modff multiarch implementations.
11786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11787 New file.
11788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11789 New file.
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11791 multiarch modf for PowerPC32.
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11793 New file.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11795 New file.
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11797 multiarch modff for PowerPC32.
11798
79dccf31
AZ
11799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11800 and lrintf multiarch implementations.
11801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11802 New file.
11803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11804 New file.
11805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11806 multiarch lrint for PowerPC32.
11807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11808 file: multiarch lrintf for PowerPC32.
11809
deb66480
AZ
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11811 and lroundf multiarch implementations.
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11813 New file.
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11815 New file.
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11817 New file.
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11819 multiarch lround for PowerPC32.
11820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11821 file: multiarch lroundf for PowerPC32.
11822
264b036b
AZ
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11824 copysign and copysignf multiarch implementations.
11825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11826 New file.
11827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11828 New file.
11829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11830 file: multiarch copysign for PowerPC32.
11831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11832 file: multiarch copysignf for PowerPC32.
11833
d47db6c9
AZ
11834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11835 and truncf multiarch implementations.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11837 New file.
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11839 file.
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11841 multiarch trunc for PowerPC32.
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11843 New file.
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11845 New file.
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11847 multiarch truncf for PowerPC32.
11848
ddb60b5a
AZ
11849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11850 and roundf multiarch implementations.
11851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11852 New file.
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11854 file.
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11856 multiarch round for PowerPC32.
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11858 New file.
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11860 New file.
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11862 multiarch roundf for PowerPC32.
11863
bedcf49b
AZ
11864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11865 and floorf multiarch implementations.
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11867 New file.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11869 file.
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11871 multiarch floor for PowerPC32.
11872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11873 New file.
11874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11875 New file.
11876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11877 multiarch floorf for PowerPC32.
11878
35ae5b40
AZ
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11880 and ceilf multiarch implementations.
11881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11882 New file.
11883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11884 file.
11885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11886 multiarch ceil for PowerPC32.
11887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11888 New file.
11889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11890 file.
11891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11892 multiarch ceilf for PowerPC32.
11893
ae1a4cd9
AZ
11894 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11895 is defined.
11896 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11897 FINITEF is defined.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11899 and finitef multiarch implementations.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11901 New file.
11902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11903 file.
11904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11905 multiarch finite for PowerPC32.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11907 New file.
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11909 file: multiarch finitef for PowerPC32.
11910
64fffd65
AZ
11911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11912 and isinff multiarch implementations.
11913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11914 file.
11915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11916 file.
11917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11918 multiarch isinf for PowerPC32.
11919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11920 New file.
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11922 multiarch isinff for PowerPC32.
11923
8e4e7ba2
AZ
11924 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11925 alias when __isnan is defined.
11926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11927 and isnanf multiarch implementations.
11928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11929 file.
11930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11931 file.
11932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11933 file.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11935 file.
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11937 multiarch isnan for PowerPC32.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11939 New file.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11941 New file.
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11943 multiarch isnanf for PowerPC32.
11944
ddba588e
AZ
11945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11946 and sqrtf multiarch implementations.
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11948 file.
11949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11950 file.
11951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11952 multiarch sqrt for PowerPC32.
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11954 file.
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11956 file.
11957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11958 multiarch sqrtf for PowerPC32.
11959
0f96a2f0
AZ
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11961 and llroundf multiarch implementations.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11963 New file.
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11965 New file.
11966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11967 New file.
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11969 file: multiarch llround for PowerPC32.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11971 file: multiarch llroundf for PowerPC32.
11972
c9b5d79e
AZ
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11974 multiarch PowerPC32 fpu implementations.
11975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11976 New file.
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11978 New file.
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11980 multiarch llrint for PowerPC32.
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11982 New file.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11984 New file.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11986 file.
11987
9cbb3aab
AZ
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11989
ea5a72f8
AZ
11990 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11991 file.
11992 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11993 file.
11994 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11995 file.
11996 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11997 multiarch wordcopy for PPC32.
11998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11999 wordcopy objects.
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12001 (__libc_ifunc_impl_list): Likewise.
12002 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12003 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12005 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12006 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12007 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12008
93be09e7
AZ
12009 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12011 file.
12012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12013 file.
12014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12015 file.
12016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12017 multiarch wcscpy for PPC32.
12018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12019 multiarch objects.
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12021 (__libc_ifunc_impl_list): Likewise.
12022 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12023 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12024 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12025 sysdeps/powerpc/power6/wcscpy.c.
12026
bb04e529
AZ
12027 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12029 file.
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12031 file.
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12033 file.
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12035 multiarch wcsrchr for PPC32.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12037 multiarch objects.
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12039 (__libc_ifunc_impl_list): Likewise.
12040 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12041 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12042 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12043 sysdeps/powerpc/power6/wcsrchr.c.
12044
05b5cd1c
AZ
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12046 file.
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12048 file.
12049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12051 multiarch wcschr for PPc32.
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12053 multiarch objects.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12055 (__libc_ifunc_impl_list): Likewise.
12056 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12057 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12058 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12059 sysdeps/powerpc/power6/wcschr.c.
12060
ba964147
AZ
12061 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12062 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12063 file.
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12065 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12066 file: multiarch strchr for PPC32.
12067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12068 multiarch objects.
12069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12070 (__libc_ifunc_impl_list): Likewise.
12071
31c81aaa
AZ
12072 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12073 name.
12074 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12075 file.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12077 file.
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12079 multiarch strchrnul for PPC32.
12080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12081 multiarch objects.
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12083 (__libc_ifunc_impl_list): Likewise.
12084
0d0607d9
AZ
12085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12086 file.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12088 multiarch strncasecmp for PPC32.
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12090 file.
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12092 multiarch strncasecmp_l for PPC32.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12094 strncasecmp multiarch objects.
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12096 (__libc_ifunc_impl_list): Likewise.
12097
4dfd5c86
AZ
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12099 file.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12101 multiarch strncasecmp for PPC32.
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12103 New file.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12105 multiarch strcasecmp_l for PPC32.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12107 multiarch objects.
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12109 (__libc_ifunc_impl_list): Likewise.
12110
a19e01a3
AZ
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12112 file.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12114 file.
12115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12116 multiarch strncmp for PPC32.
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12118 multiarch objects.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12120 (__libc_ifunc_impl_list): Likewise.
12121
ae9cf7a2
AZ
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12123 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12124 file.
12125 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12128 multiarch objects.
12129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12130 (__libc_ifunc_impl_list): Likewise.
12131
3148bb7d
AZ
12132 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12133 file.
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12135 file.
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12138 multiarch objects.
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12140 (__libc_ifunc_impl_list): Likewise.
12141
7af8b946
AZ
12142 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12143 file.
12144 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12145 file.
12146 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12147 multiarch rawmemchr for PPC32.
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12149 multiarch objects.
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12151 (__libc_ifunc_impl_list): Likewise.
12152
03a6aa6a
AZ
12153 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12154 file.
12155 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12156 file.
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12158 file: memrchr multiarch for PPC32.
12159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12160 multiarch objects.
12161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12162 (__libc_ifunc_impl_list): Likewise.
12163
1c62e6d9
AZ
12164 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12166 file.
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12168 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12169 multiarch memchr for PPC32.
12170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12171 multiarch objects.
12172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12173 (__libc_ifunc_impl_list): Likewise.
12174
87da8bdb
AZ
12175 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12177 file.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12179 file.
12180 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12181 file: multiarch mempcpy for PPC32.
12182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12183 multiarch objects.
12184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12185 (__libc_ifunc_impl_list): Likewise.
12186
20ed4714
AZ
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12188 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12190 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12191 multiarch bzero for PPC32.
12192 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12193 file.
12194 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12195 file.
12196 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12197 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12198 file: multiarch memset for PPC32.
12199 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12201 memset multiarch objects.
12202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12203 (__libc_ifunc_impl_list): Likewise.
12204
ab3e3a46
AZ
12205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12206 file.
12207 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12209 memcmp for PPC32.
12210 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12212 multiarch objects.
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12214 (__libc_ifunc_impl_list): Likewise.
12215
930de6f0
AZ
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12219 file.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12221 file.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12223 file.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12225 multiarch memcpy for PPC32.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12227 multiarch objects.
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12229 (__libc_ifunc_impl_list): Likewise.
12230
4c628e00
AZ
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12232 support multiarch for POWER/PPC32.
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12234 Likewise.
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12237 Implies file to make multiarch folder appers before the fpu and
12238 default folder for power4 configuration.
12239
f4479220
SP
122402013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12241
12242 * scripts/bench.pl: Append volatile keyword to type.
12243
8517800f
KK
122442013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12245
12246 * sysdeps/sh/sotruss-lib.c: New file.
12247 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12248
180138f1
AZ
122492013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12250
12251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12252
bbf37bdc
JM
122532013-12-05 Joseph Myers <joseph@codesourcery.com>
12254
e47cc4e0
JM
12255 [BZ #6810]
12256 * math/w_tgamma.c: Include <errno.h>.
12257 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12258 * math/w_tgammaf.c: Include <errno.h>.
12259 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12260 * math/w_tgammal.c: Include <errno.h>.
12261 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12262 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12263 underflow. Add more tgamma tests.
12264 * math/auto-libm-test-out: Regenerated.
12265 * sysdeps/i386/fpu/libm-test-ulps: Update.
12266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12267
bbf37bdc
JM
12268 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12269 sin, sinh, tan, tanh, tgamma, y0 and y1.
12270 * math/auto-libm-test-out: Regenerated.
12271 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12272 (TEST_COND_x86): Likewise.
12273 (M_E2l): Remove macro.
12274 (M_E3l): Likewise.
12275 (M_2_SQRT_PIl): Likewise.
12276 (M_SQRT_PIl): Likewise.
12277 (M_1_DIV_El): Likewise.
12278 (log_test_data): Use AUTO_TESTS_f_f.
12279 (log10_test_data): Likewise.
12280 (log1p_test_data): Likewise.
12281 (log2_test_data): Likewise.
12282 (sin_test_data): Likewise.
12283 (sin_tonearest_test_data): Likewise.
12284 (sin_towardzero_test_data): Likewise.
12285 (sin_downward_test_data): Likewise.
12286 (sin_upward_test_data): Likewise.
12287 (sinh_test_data): Likewise.
12288 (sinh_tonearest_test_data): Likewise.
12289 (sinh_towardzero_test_data): Likewise.
12290 (sinh_downward_test_data): Likewise.
12291 (sinh_upward_test_data): Likewise.
12292 (tan_test_data): Likewise.
12293 (tan_tonearest_test_data): Likewise.
12294 (tan_towardzero_test_data): Likewise.
12295 (tan_downward_test_data): Likewise.
12296 (tan_upward_test_data): Likewise.
12297 (tanh_test_data): Likewise.
12298 (tgamma_test_data): Likewise.
12299 (y0_test_data): Likewise.
12300 (y1_test_data): Likewise.
12301 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12302 (special_real_inputs): Add pi/4.
12303 * sysdeps/i386/fpu/libm-test-ulps: Update.
12304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12305
eb5ad6b9
AZ
123062013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12307
12308 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12309 "longjmp_target" static probes.
12310 (__longjmp): Rename to __longjmp_symbol.
12311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12313 on which longjmp to generate.
12314 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12315 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12316 probe.
12317 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12318 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12319 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12321 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12322 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12324 __longjmp_symbol based on which __longjmp to generate.
12325 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12326 probe.
12327 (setjmp): Rename to setjmp_symbol.
12328 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12329 (_setjmp): Rename to _setjmp_symbol.
12330 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12331 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12332 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12333 which setjmp to generate.
12334 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12335 "longjmp_target" static probes.
12336
d136c6dc
SP
123372013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12338
9298ecba
SP
12339 * benchtests/README: Add note about output arguments.
12340 * benchtests/bench-sincos.c: Remove file.
12341 * benchtests/sincos-inputs: New file.
12342 * scripts/bench.pl: Identify output arguments and define
12343 static variables for them.
12344
232983e9
SP
12345 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12346
d136c6dc
SP
12347 [BZ #15941]
12348 * Makefile (INSTALL): Add install-plain.texi as the primary
12349 dependency.
12350 * manual/install-plain.texi: New file.
12351 * manual/install.texi: Include node directive only for
12352 non-plaintext output.
12353
699ff837
JM
123542013-12-04 Joseph Myers <joseph@codesourcery.com>
12355
ab07cea8
JM
12356 * stdlib/longlong.h: Update from GCC.
12357
699ff837
JM
12358 [BZ #6807]
12359 [BZ #15901]
12360 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12361 * math/w_j0f.c (y0f): Likewise.
12362 * math/w_j0l.c (__y0l): Likewise.
12363 * math/w_j1.c (y1): Likewise.
12364 * math/w_j1f.c (y1f): Likewise.
12365 * math/w_j1l.c (__y1l): Likewise
12366 * math/w_jn.c (yn): Likewise.
12367 * math/w_jnf.c (ynf): Likewise.
12368 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12369 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12370 value for Bessel function domain errors outside _SVID_ mode.
12371 Adjust sign of return value for yn (negative integer, 0).
12372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12373 by zero in return for negative x and set sign appropriately for
12374 negative n.
12375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12376 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12377 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12378 expectations in error cases.
12379 (y1_test_data): Likewise.
12380 (yn_test_data): Likewise.
12381 * sysdeps/i386/fpu/libm-test-ulps: Update.
12382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12383
5b118558
UW
123842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12385
12386 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12387 "64" to "64-v1". Add "64-v2".
12388 (abi-64-options): Rename to ...
12389 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12390 (abi-64-condition): Rename to ...
12391 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12392 (abi-64-ld-soname): Rename to ...
12393 (abi-64-v1-ld-soname): ... this.
12394 (abi-64-v2-options): Define.
12395 (abi-64-v2-condition): Likewise.
12396 (abi-64-v2-ld-soname): Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12398 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12402
61cd8fe4
UW
124032013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12404 Alan Modra <amodra@gmail.com>
12405
12406 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12407 New versions for use with the ELFv2 ABI.
12408 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12409 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12410 declaration.
12411 (struct La_ppc64v2_retval): Likewise.
12412 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12413 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12414 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12415 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12416 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12418 Do not save or restore CR.
12419 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12420 (_dl_profile_resolve): Do no save or restore CR. Support extended
12421 return values for ELFv2 ABI. Fix location of FPR return registers.
12422 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12423 updated values for _CALL_ELF == 2.
12424 (La_regs, La_retval, int_retval): Likewise.
12425
8b8a692c
UW
124262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12427
12428 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12429 (FRAME_MIN_SIZE_PARM): Likewise.
12430 (FRAME_BACKCHAIN): Likewise.
12431 (FRAME_CR_SAVE): Likewise.
12432 (FRAME_LR_SAVE): Likewise.
12433 (FRAME_TOC_SAVE): Likewise.
12434 (FRAME_PARM_SAVE): Likewise.
12435 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12436 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12437 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12438 (call_mcount_parm_offset): New macro.
12439 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12440 (PROF): Use symbolic stack frame offsets.
12441 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12442 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12443 Redefine in terms of FRAME_MIN_SIZE.
12444 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12445 (_dl_profile_resolve): Likewise. Update comment.
12446 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12447 symbols stack frame offsets.
12448 (__sigsetjmp): Likewise.
12449 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12450 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12451 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12452 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12453
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12455 (FRAME_BACKCHAIN): Remove.
12456 (FRAME_CR_SAVE): Likewise.
12457 (FRAME_LR_SAVE): Likewise.
12458 (FRAME_COMPILER_DW): Likewise.
12459 (FRAME_LINKER_DW): Likewise.
12460 (FRAME_TOC_SAVE): Likewise.
12461 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12462 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12463 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12464 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12466 (CHECK_SP): Use symbolic stack frame offsets.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12468 zone" instead of caller's parameter save area for temp storage.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12470 Likewise. Also, use symbolic stack frame offsets.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12472 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12473 our own stack frame instead of the caller's.
12474 (__socket): Use symbolic stack frame offsets.
12475
122b66de
UW
124762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12477 Alan Modra <amodra@gmail.com>
12478
12479 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12480 Define.
57f41c40
AS
12481 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12482 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12483 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12484 New function.
12485 (elf_machine_fixup_plt): Call it.
12486 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12487 reloc arguments.
12488 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12490 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12491 r2 before calling target.
12492
696caf1d
UW
124932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12494 Alan Modra <amodra@gmail.com>
12495
12496 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12497 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12498 versions of macros to support ELFv2 ABI.
12499 (LOCALENTRY): New macro.
12500 (ENTRY, EALIGN): Use it.
12501 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12502 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12503 fall through into ENTRY entry point.
12504 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12505 Only define if _CALL_ELF != 2.
12506
12507 (elf_machine_matches_host): Verify ABI version matches.
12508 (RTLD_START): Use LOCALENTRY.
12509 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12510 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12511 (PLT_ENTRY_WORDS): New macro.
12512 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12513 (elf_machine_runtime_setup): Support ELFv2 ABI.
12514 (elf_machine_fixup_plt): Likewise.
12515 (elf_machine_plt_conflict): Likewise.
12516 (resolve_ifunc): Likewise.
12517 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12519 Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12521 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12523 (makecontext): Support ELFv2 ABI.
12524 * elf/elf.h (EF_PPC64_ABI): Define.
12525
d31beafa
UW
125262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12527
57f41c40
AS
12528 * sysdeps/powerpc/powerpc64/sysdep.h
12529 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12530 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12531 (ENTRY) [ASSEMBLER]: ... but instead here ...
12532 (EALIGN) [ASSEMBLER]: ... and here.
12533 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12534 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12535 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12536 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12537 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12538 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12539 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12540 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12542 Use PPC64_LOAD_FUNCPTR.
12543
b525166b
UW
12544 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12545
7ec07d9a
AM
125462013-12-04 Alan Modra <amodra@gmail.com>
12547
12548 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12549 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12550 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12551 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12552
12553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12554 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12555 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12556 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12557 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12558 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12559
5162e7dd
UW
125602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12561
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12563 (__makecontext): Fix incorrect CFI when backtracing out of
12564 context created via makecontext.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12566 (__setcontext): Fix incorrect CFI during switch to new context.
12567 (__novec_setcontext): Likewise.
12568
19e3372b
OB
125692013-12-04 Ondřej Bílka <neleai@seznam.cz>
12570
12571 [BZ #4772]
12572 * time/strptime_l.c (__strptime_internal): Allow modifiers
12573 in strptime.
12574 * time/tst-strptime.c (day_tests): Add testcase.
12575
ecaf142d
SP
125762013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12577
12578 * scripts/bench.pl: Skip over blank lines.
12579
fbf964ae
PE
125802013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12581
12582 [BZ #926]
12583 * manual/time.texi (Calendar Time): Clarify what timezone functions
12584 use.
12585
fa60a674
AZ
125862013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12587
12588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12589
d674f0ef
OB
125902013-12-04 Ondřej Bílka <neleai@seznam.cz>
12591
12592 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12593 implementation.
12594 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12595 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12596 * debug/memset_chk.c (__memset_chk): Likewise.
12597 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12598 * debug/strncpy_chk.c: Likewise.
12599
17dea188
JM
126002013-12-03 Joseph Myers <joseph@codesourcery.com>
12601
749008ff
JM
12602 [BZ #15268]
12603 [BZ #15425]
12604 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12605 (__ieee754_exp): For possibly underflowing results, check size of
12606 result and force underflow exception if required.
12607 * math/auto-libm-test-in: Add more tests of exp.
12608 * math/auto-libm-test-out: Regenerated.
12609 * sysdeps/i386/fpu/libm-test-ulps: Update.
12610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12611
17dea188
JM
12612 [BZ #16283]
12613 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12614 * math/w_exp2f.c (__exp2f): Likewise.
12615 * math/w_exp2l.c (__exp2l): Likewise.
12616 * math/auto-libm-test-in: Do not allow missing errno on exp2
12617 underflow.
12618 * math/auto-libm-test-out: Regenerated.
12619
b20de2c3
OB
126202013-12-03 Ondřej Bílka <neleai@seznam.cz>
12621
12622 [BZ #16274]
12623 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12624 handle filename validation.
12625 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12626 (do_open): Delete.
12627
d8e2dbe3
JM
126282013-12-03 Joseph Myers <joseph@codesourcery.com>
12629
34e16df5
JM
12630 [BZ #6786]
12631 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12632 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12633 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12634 <float.h>.
12635 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12637 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12639 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12640 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12641 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12642 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12643 Add more erfc tests.
12644 * math/auto-libm-test-out: Regenerated.
12645 * sysdeps/i386/fpu/libm-test-ulps: Update.
12646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12647
d8e2dbe3
JM
12648 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12649 exp2, expm1, j0 and j1.
12650 * math/auto-libm-test-out: Regenerated.
12651 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12652 (erfc_test_data): Likewise.
12653 (exp_test_data): Likewise.
12654 (exp_tonearest_test_data): Likewise.
12655 (exp_towardzero_test_data): Likewise.
12656 (exp_downward_test_data): Likewise.
12657 (exp_upward_test_data): Likewise.
12658 (exp10_test_data): Likewise.
12659 (exp2_test_data): Likewise.
12660 (expm1_test_data): Likewise.
12661 (j0_test_data): Likewise.
12662 (j1_test_data): Likewise.
12663 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12664 (input_flag_type): Add flag_xfail_rounding.
12665 (input_flags): Add xfail-rounding.
12666 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12667 (output_for_one_input_case): Handle flag_xfail_rounding.
12668 * sysdeps/i386/fpu/libm-test-ulps: Update.
12669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12670
18d14251
AJ
126712013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12672
3d2e6075 12673 [BZ #16289]
18d14251
AJ
12674 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12675 division by 0.
12676
520d437b
SP
126772013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12678
12679 [BZ #16195]
12680 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12681 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12682 (STAP_PROBE0): New macro.
12683 (STAP_PROBE1): Likewise.
12684 (STAP_PROBE2): Likewise.
12685 (STAP_PROBE3): Likewise.
12686 (STAP_PROBE4): Likewise.
12687
416e0145
OB
126882013-12-02 Ondřej Bílka <neleai@seznam.cz>
12689
12690 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12691
9d17796a
SE
126922013-12-02 Steve Ellcey <sellcey@mips.com>
12693
12694 * benchtests/Makefile (bench): Add sqrt.
12695 (LDLIBS-bench-sqrt): New.
12696 * benchtests/sqrt-input: New.
12697
f524d6a8
PS
126982013-12-02 Pavel Simerda <psimerda@redhat.com>
12699
639a0ef8
PS
12700 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12701 (GAIH_EAI): Likewise.
12702 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12703 (gaih_inet): Likewise.
12704 (getaddrinfo): Don't use GAIH_EAI.
12705
f524d6a8
PS
12706 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12707 (struct gaih): Remove definition.
12708
df3aedaf
SP
127092013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
12711 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12712 Use HERRNOP directly.
12713
1ab19dec
AZ
127142013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12715
b42ad38d 12716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12717
176b0c79
JM
127182013-11-30 Joseph Myers <joseph@codesourcery.com>
12719
12720 * math/gen-auto-libm-tests.c (test_functions): Add more
12721 single-argument functions.
12722 (special_fill_pi_2): New function.
12723 (special_fill_minus_pi_2): Likewise.
12724 (special_fill_pi_6): Likewise.
12725 (special_fill_minus_pi_6): Likewise.
12726 (special_fill_pi_3): Likewise.
12727 (special_fill_2pi_3): Likewise.
12728 (special_fill_e): Likewise.
12729 (special_fill_1_e): Likewise.
12730 (special_fill_e_minus_1): Likewise.
12731 (special_real_inputs): Add more special inputs.
12732 (output_for_one_input_case): Do not require ERANGE on underflow to
12733 zero if round-to-nearest result does not underflow to zero, unless
12734 exact results required.
12735 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12736 atan, atanh, cbrt, cos and cosh.
12737 * math/auto-libm-test-out: Regenerated.
12738 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12739 (acos_tonearest_test_data): Likewise.
12740 (acos_towardzero_test_data): Likewise.
12741 (acos_downward_test_data): Likewise.
12742 (acos_upward_test_data): Likewise.
12743 (acosh_test_data): Likewise.
12744 (asin_test_data): Likewise.
12745 (asin_tonearest_test_data): Likewise.
12746 (asin_towardzero_test_data): Likewise.
12747 (asin_upward_test_data): Likewise.
12748 (asinh_test_data): Likewise.
12749 (atan_test_data): Likewise.
12750 (atanh_test_data): Likewise.
12751 (cbrt_test_data): Likewise.
12752 (cos_test_data): Likewise.
12753 (cos_tonearest_test_data): Likewise.
12754 (cos_towardzero_test_data): Likewise.
12755 (cos_downward_test_data): Likewise.
12756 (cos_upward_test_data): Likewise.
12757 (cosh_test_data): Likewise.
12758 (cosh_tonearest_test_data): Likewise.
12759 (cosh_towardzero_test_data): Likewise.
12760 (cosh_downward_test_data): Likewise.
12761 (cosh_upward_test_data): Likewise.
12762 * sysdeps/i386/fpu/libm-test-ulps: Update.
12763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12764
ffb536d0
JM
127652013-11-29 Joseph Myers <joseph@codesourcery.com>
12766
2a77a467
JM
12767 [BZ #6787]
12768 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12769 * math/w_exp10f.c (__exp10f): Likewise.
12770 * math/w_exp10l.c (__exp10l): Likewise.
12771 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12772 errno settings in existing tests.
12773
ea3bc4e8
JM
12774 [BZ #14032]
12775 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12776 precision control set to double precision.
12777 * sysdeps/i386/fpu/w_sqrt.c: New file.
12778 * math/auto-libm-test-in: Add more tests.
12779 * math/auto-libm-test-out: Update.
12780
0712c9d8
JM
12781 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12782 (sqrt_test_tonearest): New function.
12783 (sqrt_towardzero_test_data): New variable.
12784 (sqrt_test_towardzero): New function.
12785 (sqrt_downward_test_data): New variable.
12786 (sqrt_test_downward): New function.
12787 (sqrt_upward_test_data): New variable.
12788 (sqrt_test_upward): New function.
12789 (main): Call the new functions.
12790
ffb536d0
JM
12791 * math/gen-auto-libm-tests.c: New file.
12792 * math/auto-libm-test-in: Likewise.
12793 * math/auto-libm-test-out: New generated file.
12794 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12795 variables.
12796 (%beautify): Add generated representations of zero.
12797 (top level): Set $auto_input and call parse_auto_input.
12798 (beautify): Remove trailing "f" from hex float constants.
12799 (parse_args): Handle XFAIL_TEST.
12800 (convert_condition): New function.
12801 (or_value): Likewise.
12802 (or_cond_value): Likewise.
12803 (generate_testfile): Handle AUTO_TESTS_* lines.
12804 (parse_auto_input): New function.
12805 * math/libm-test.inc (XFAIL_TEST): New macro.
12806 (ERRNO_UNCHANGED): Update value.
12807 (ERRNO_EDOM): Likewise.
12808 (ERRNO_ERANGE): Likewise.
12809 (IGNORE_RESULT): Likewise.
12810 (TEST_COND_flt_32): New macro.
12811 (TEST_COND_dbl_64): Likewise.
12812 (TEST_COND_ldbl_96_intel): Likewise.
12813 (TEST_COND_ldbl_96_m68k): Likewise.
12814 (TEST_COND_ldbl_128): Likewise.
12815 (TEST_COND_ldbl_128ibm): Likewise.
12816 (TEST_COND_long32): Likewise.
12817 (TEST_COND_long64): Likewise.
12818 (TEST_COND_before_rounding): Likewise.
12819 (TEST_COND_after_rounding): Likewise.
12820 (enable_test): Handle XFAIL_TEST flag.
12821 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12822 with finite results.
12823 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12824 auto-libm-test-out.
12825
acd98a8e
AK
128262013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12827 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12828
12829 [BZ #16214]
12830 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12831 __tls_get_addr_internal instead of __tls_get_offset in order to
12832 avoid GOT pointer dependency. Make rtld export
12833 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12834 __tls_get_addr since we are a __tls_get_offset platform.
12835 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12836 GOT pointer being set up before.
12837 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12838
3c1c46a6
JM
128392013-11-28 Joseph Myers <joseph@codesourcery.com>
12840
7475aef5
JM
12841 * manual/math.texi (Errors in Math Functions): Document accuracy
12842 goals.
12843
8bca7cd8
JM
12844 [BZ #15004]
12845 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12846 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12861
91a1f3fe
JM
12862 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12863 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12864 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12865 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12866 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12867 Likewise.
12868 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12869 Likewise.
12870 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12871 Likewise.
12872 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12873 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12874 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12875 atomic-feupdateenv and flt-rounds.
12876 * sysdeps/powerpc/nofpu/Versions (libc): Add
12877 __atomic_feholdexcept, __atomic_feclearexcept,
12878 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12880 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12881 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12882 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12883 here.
12884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12885 Update.
12886
c5df7609
JM
12887 * manual/arith.texi (FP Exceptions): Document that exceptions may
12888 not be raised when matherr is used.
12889 (Math Error Reporting): Document overflow in directed rounding
12890 modes. Document that errno may not be set when finite values are
12891 returned on overflow. Document intent to set errno on underflow
12892 only for underflow to zero.
12893
3c1c46a6
JM
12894 [BZ #16271]
12895 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12896 round-to-nearest then adjust result for other rounding modes.
12897 * include/fenv.h (fegetround): Use libm_hidden_proto.
12898 * math/fegetround.c (fegetround): Use libm_hidden_def.
12899 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12900 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12901 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12902 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12903 Likewise.
12904 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12905 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12906 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12907 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12908
5a4c6d53
SP
129092013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12910
12911 [BZ #16077]
12912 * nss/Versions (libnss_files): Add
12913 _nss_files_gethostbyname3_r.
12914 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12915 New function.
12916 (HOST_DB_LOOKUP): Remove macro.
12917 (_nss_files_gethostbyname_r): Implement function without the
12918 HOST_DB_LOOKUP macro.
12919 (_nss_files_gethostbyname2_r): Likewise.
12920
897b98ba
OB
129212013-11-28 Ondřej Bílka <neleai@seznam.cz>
12922
12923 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12924
6f476861
UB
129252013-11-26 Uros Bizjak <ubizjak@gmail.com>
12926
12927 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12928 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12929 warning.
12930
bd12ab55
AZ
129312013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12932
12933 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12934 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12935 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12936 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12937 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12938 __fe_nomask_env_priv and attribute_hidden.
12939 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12940 (libc_feupdateenv_test_ppc): Likewise.
12941 (libc_feresetround_ppc): Likewise.
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12943 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12944 compat_symbol macro.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12946 (__fe_nomask_env): Likewise.
12947 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12948
52bb6543
OB
129492013-11-26 Ondřej Bílka <neleai@seznam.cz>
12950
12951 * string/Makefile: Remove ifunc tests.
12952 * string/test-string.h: Define TEST_IFUNC.
12953 * string/test-bcopy-ifunc.c: Remove.
12954 * string/test-bzero-ifunc.c: Likewise.
12955 * string/test-memccpy-ifunc.c: Likewise.
12956 * string/test-memchr-ifunc.c: Likewise.
12957 * string/test-memcmp-ifunc.c: Likewise.
12958 * string/test-memcpy-ifunc.c: Likewise.
12959 * string/test-memmem-ifunc.c: Likewise.
12960 * string/test-memmove-ifunc.c: Likewise.
12961 * string/test-mempcpy-ifunc.c: Likewise.
12962 * string/test-memrchr-ifunc.c: Likewise.
12963 * string/test-memset-ifunc.c: Likewise.
12964 * string/test-rawmemchr-ifunc.c: Likewise.
12965 * string/test-stpcpy-ifunc.c: Likewise.
12966 * string/test-stpncpy-ifunc.c: Likewise.
12967 * string/test-strcasecmp-ifunc.c: Likewise.
12968 * string/test-strcasestr-ifunc.c: Likewise.
12969 * string/test-strcat-ifunc.c: Likewise.
12970 * string/test-strchr-ifunc.c: Likewise.
12971 * string/test-strchrnul-ifunc.c: Likewise.
12972 * string/test-strcmp-ifunc.c: Likewise.
12973 * string/test-strcpy-ifunc.c: Likewise.
12974 * string/test-strcspn-ifunc.c: Likewise.
12975 * string/test-strlen-ifunc.c: Likewise.
12976 * string/test-strncasecmp-ifunc.c: Likewise.
12977 * string/test-strncat-ifunc.c: Likewise.
12978 * string/test-strncmp-ifunc.c: Likewise.
12979 * string/test-strncpy-ifunc.c: Likewise.
12980 * string/test-strnlen-ifunc.c: Likewise.
12981 * string/test-strpbrk-ifunc.c: Likewise.
12982 * string/test-strrchr-ifunc.c: Likewise.
12983 * string/test-strspn-ifunc.c: Likewise.
12984 * string/test-strstr-ifunc.c: Likewise.
12985
ab260039 129862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
12987
12988 * benchtests/Makefile: Remove ifunc tests.
12989 * benchtests/bench-string.h: Define TEST_IFUNC.
12990 * benchtests/bench-bcopy-ifunc.c: Remove.
12991 * benchtests/bench-bzero-ifunc.c: Likewise.
12992 * benchtests/bench-memccpy-ifunc.c: Likewise.
12993 * benchtests/bench-memchr-ifunc.c: Likewise.
12994 * benchtests/bench-memcmp-ifunc.c: Likewise.
12995 * benchtests/bench-memcpy-ifunc.c: Likewise.
12996 * benchtests/bench-memmem-ifunc.c: Likewise.
12997 * benchtests/bench-memmove-ifunc.c: Likewise.
12998 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12999 * benchtests/bench-memrchr-ifunc.c: Likewise.
13000 * benchtests/bench-memset-ifunc.c: Likewise.
13001 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13002 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13003 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13004 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13005 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13006 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13007 * benchtests/bench-strcat-ifunc.c: Likewise.
13008 * benchtests/bench-strchr-ifunc.c: Likewise.
13009 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13010 * benchtests/bench-strcmp-ifunc.c: Likewise.
13011 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13012 * benchtests/bench-strcpy-ifunc.c: Likewise.
13013 * benchtests/bench-strcspn-ifunc.c: Likewise.
13014 * benchtests/bench-strlen-ifunc.c: Likewise.
13015 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13016 * benchtests/bench-strncat-ifunc.c: Likewise.
13017 * benchtests/bench-strncmp-ifunc.c: Likewise.
13018 * benchtests/bench-strncpy-ifunc.c: Likewise.
13019 * benchtests/bench-strnlen-ifunc.c: Likewise.
13020 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13021 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13022 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13023 * benchtests/bench-strspn-ifunc.c: Likewise.
13024 * benchtests/bench-strstr-ifunc.c: Likewise.
13025
130262013-11-26 Ondřej Bílka <neleai@seznam.cz>
13027
ab260039
OB
13028 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13029
d1d9eaf4 130302013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13031
d1d9eaf4
OB
13032 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13033 * rt/aio.h: Likewise.
13034 * sysdeps/gnu/bits/utmp.h: Likewise.
13035 * sysdeps/gnu/bits/utmpx.h: Likewise.
13036 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13037 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13038 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13039 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13040 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13041 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13042 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13043 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13044 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13051 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13052 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13053 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13054 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13055 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13056 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13057 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13059 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13060 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13062 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13063 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13064 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13065 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13066 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13067 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13068 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13069 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13070 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13071 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13072 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13073 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13074 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13075 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13076 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13077 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13078
a7624ed9
CD
130792013-11-25 Carlos O'Donell <carlos@redhat.com>
13080
13081 [BZ #16245]
13082 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13083 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13084
63cfe52b
JM
130852013-11-25 Joseph Myers <joseph@codesourcery.com>
13086
13087 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13088 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13089 Likewise.
13090
41e8926a
AZ
130912013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13092
13093 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13094 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13095 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13096 (__fesetround): Remove define.
13097 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13098 rounding and exceptions handling.
13099 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13100 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13101 (__fe_nomask_env): Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13103 __fegetround instead of fegetround.
13104 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13106
6851bd4d
RM
131072013-11-21 Roland McGrath <roland@hack.frob.com>
13108
070906ff
RM
13109 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13110 it's there.
13111
6851bd4d
RM
13112 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13113
84ae135d
MI
131142013-11-21 Meador Inge <meadori@codesourcery.com>
13115
13116 [BZ #11157]
13117 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13118 (encrypt_r): Likewise.
13119 * malloc/obstack.h (obstack_free): Likewise.
13120 * posix/unistd.h (encrypt): Likewise.
13121
daf75146
GM
131222013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13123
13124 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13125 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13126 DL_CALL_DT_FINI() that call the functions directly.
13127 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13128 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13129 * elf/dl-fini.c: Likewise.
13130
10ad46bc
OB
131312013-11-20 Ondřej Bílka <neleai@seznam.cz>
13132
13133 * malloc/hooks.c (memalign_check): Add alignment rounding.
13134 * malloc/malloc.c (_mid_memalign): New function.
13135 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13136 Implement by calling _mid_memalign.
13137 * manual/probes.texi (Memory Allocation Probes): Remove
13138 memory_valloc_retry and memory_pvalloc_retry.
13139
f3fd2628
SP
131402013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13141
4712799f
SP
13142 * locale/programs/locarchive.c (open_archive): Add const
13143 qualifier to ARCHIVEFNAME and copy default fname to
13144 DEFAULT_FNAME.
13145
0417b20f
SP
13146 [BZ #15601]
13147 * libio/tst-widetext.input: Rename Oriya to Odia.
13148 * locale/iso-639.def: Likewise.
13149
f3fd2628
SP
13150 * manual/probes.texi (Mathematical Function Probes): Add
13151 documentation for sin, cos, asin and acos probes.
13152 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13153 (__sin32): Add slowasin probe.
13154 (__cos32): Add slowacos probe.
13155 (__mpsin): Add slowsin probe.
13156 (__mpcos): Add slowcos probe.
13157
73c1ce4f
JM
131582013-11-19 Joseph Myers <joseph@codesourcery.com>
13159
13160 [BZ #15483]
13161 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13162 thread-local __sim_exceptions_thread and global
13163 __sim_exceptions_global.
13164 (__sim_disabled_exceptions): Change to thread-local
13165 __sim_disabled_exceptions_thread and global
13166 __sim_disabled_exceptions_global.
13167 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13168 and global __sim_round_mode_global.
13169 (__simulate_exceptions): Use thread-local floating-point state and
13170 set global state from it as needed.
13171 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13172 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13173 __sim_round_mode_thread.
13174 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13175 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13176 and global __sim_exceptions_global.
13177 (__sim_disabled_exceptions): Change to thread-local
13178 __sim_disabled_exceptions_thread and global
13179 __sim_disabled_exceptions_global.
13180 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13181 and global __sim_round_mode_global.
13182 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13183 (SIM_SET_GLOBAL): Likewise.
13184 * sysdeps/powerpc/soft-fp/sfp-machine.h
13185 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13186 __sim_round_mode_thread.
13187 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13188 __sim_disabled_exceptions_thread.
13189 (__sim_exceptions): Change to __sim_exceptions_thread.
13190 (__sim_disabled_exceptions): Change to
13191 __sim_disabled_exceptions_thread.
13192 (__sim_round_mode): Change to __sim_round_mode_thread.
13193 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13194 thread-local floating-point state and set global state from it as
13195 needed.
13196 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13197 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13198 (__sim_disabled_exceptions): Remove extern declaration.
13199 (feenableexcept): Use thread-local floating-point state and set
13200 global state from it as needed.
13201 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13202 extern declaration.
13203 (__sim_disabled_exceptions): Likewise.
13204 (__sim_round_mode): Likewise.
13205 (__fegetenv): Use thread-local floating-point state.
13206 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13207 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13208 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13209 floating-point state and set global state from it as needed.
13210 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13211 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13212 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13213 Likewise.
13214 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13215 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13216 Likewise.
13217 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13218 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13219 Use __sim_round_mode_thread.
13220 * math/test-fenv-tls.c: New file.
13221 * math/Makefile (tests): Add test-fenv-tls.
13222 ($(objpfx)test-fenv-tls): Depend on
13223 $(common-objpfx)nptl/libpthread.so.
13224
b5449b12
AS
132252013-11-19 Andreas Schwab <schwab@suse.de>
13226
13227 * locale/programs/locale.c (show_info): Decode wordarray elements.
13228 * locale/categories.def (LC_MONETARY): Add element for
13229 _NL_MONETARY_CRNCYSTR.
13230 * locale/C-monetary.c (conversion_rate): New variable.
13231 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13232 element.
13233
e186536b
CM
132342013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13235
13236 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13237 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13238
5c349950
PP
132392013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13240
13241 * elf/Makefile (tst-auxv): New test.
13242 * elf/tst-auxv.c: New
13243 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13244
699df45b
JM
132452013-11-18 Joseph Myers <joseph@codesourcery.com>
13246
13247 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13248 (hidden_proto): Caller changed.
13249 (hidden_tls_proto): New macro.
13250 (libc_hidden_tls_proto): Likewise.
13251 (rtld_hidden_tls_proto): Likewise.
13252 (libm_hidden_tls_proto): Likewise.
13253 (libresolv_hidden_tls_proto): Likewise.
13254 (librt_hidden_tls_proto): Likewise.
13255 (libdl_hidden_tls_proto): Likewise.
13256 (libnss_files_hidden_tls_proto): Likewise.
13257 (libnsl_hidden_tls_proto): Likewise.
13258 (libnss_nisplus_hidden_tls_proto): Likewise.
13259 (libutil_hidden_tls_proto): Likewise.
13260
b7589107
OB
132612013-11-18 Ondřej Bílka <neleai@seznam.cz>
13262
13263 [BZ #10253]
13264 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13265 (decompose_rpath): Defer expansion to fillin_rpath.
13266 (_dl_init_paths): Pass linkmap to fillin_rpath.
13267
250c23bd
RS
132682013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13269
13270 * benchtests/Makefile: Add strsep.
13271 * benchtests/bench-strsep.c: New file: strsep benchtest.
13272 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13273
a7931fcf
AS
132742013-11-18 Andreas Schwab <schwab@suse.de>
13275
13276 * locale/programs/locale.c (show_info) [case byte]: Check for
13277 '\377' instead of '\177'.
13278 * locale/C-monetary.c (not_available): Always use "\377".
13279 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13280 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13281 detect unavailable sign_posn locale elements.
13282 * locale/localeconv.c (__localeconv): For grouping and
13283 mon_grouping handle "\177" and "\377" like no grouping.
13284 (INT_ELEM): New macro. Use it to set all numeric members.
13285 * locale/programs/ld-monetary.c (monetary_read)
13286 <tok_mon_grouping>: Normalize single -1 to the empty string.
13287 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13288 Likewise.
13289
728dab0e
OB
132902013-11-07 Ondřej Bílka <neleai@seznam.cz>
13291
13292 [BZ #16055]
13293 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13294 when we match (nil).
13295 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13296
66294491
JM
132972013-11-16 Joseph Myers <joseph@codesourcery.com>
13298
ce665817
JM
13299 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13300 (NO_TEST_INLINE): Update value.
13301 (ERRNO_UNCHANGED): Likewise.
13302 (ERRNO_EDOM): Likewise.
13303 (ERRNO_ERANGE): Likewise.
13304 (IGNORE_RESULT): Likewise.
13305 (check_float_internal): Check signs of NaN results if
13306 TEST_NAN_SIGN used.
13307 (check_complex): Pass TEST_NAN_SIGN flag through to second
13308 check_float_internal call.
13309 (copysign_test_data): Add tests with quiet NaNs as second
13310 argument. Use TEST_NAN_SIGN.
13311 (fabs_test_data): Add test of negative quiet NaN argument. Use
13312 TEST_NAN_SIGN.
13313 (signbit_test_data): Add tests of quiet NaN argument.
13314 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13315
ee1466a9
JM
13316 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13317 $ignore_result.
13318 (parse_args): Handle function results specified as IGNORE.
13319 * math/libm-test.inc (IGNORE_RESULT): New macro.
13320 (check_float_internal): Do not check numerical result if flag
13321 IGNORE_RESULT set.
13322 (check_complex): Pass through IGNORE_RESULT to second
13323 check_float_internal call.
13324 (check_int): Do not check numerical result if flag IGNORE_RESULT
13325 set.
13326 (check_long): Likewise.
13327 (check_bool): Likewise.
13328 (check_longlong): Likewise.
13329 (lrint_test_data): Add tests of infinite and NaN arguments.
13330 (lrint_tonearest_test_data): Likewise.
13331 (lrint_towardzero_test_data): Likewise.
13332 (lrint_downward_test_data): Likewise.
13333 (lrint_upward_test_data): Likewise.
13334 (llrint_test_data): Likewise.
13335 (llrint_tonearest_test_data): Likewise.
13336 (llrint_towardzero_test_data): Likewise.
13337 (llrint_downward_test_data): Likewise.
13338 (llrint_upward_test_data): Likewise.
13339 (lround_test_data): Likewise.
13340 (llround_test_data): Likewise.
13341
14407b7e
JM
13342 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13343 (ERRNO_UNCHANGED): Update value.
13344 (ERRNO_EDOM): Likewise.
13345 (ERRNO_ERANGE): Likewise.
13346 (NO_TEST_INLINE_FLOAT): New macro.
13347 (NO_TEST_INLINE_DOUBLE): Likewise.
13348 (enable_test): New function.
13349 (RUN_TEST_f_f): Check enable_test before running test.
13350 (RUN_TEST_2_f): Likewise.
13351 (RUN_TEST_fff_f): Likewise.
13352 (RUN_TEST_c_f): Likewise.
13353 (RUN_TEST_f_f1): Likewise.
13354 (RUN_TEST_fF_f1): Likewise.
13355 (RUN_TEST_fI_f1): Likewise.
13356 (RUN_TEST_ffI_f1): Likewise.
13357 (RUN_TEST_c_c): Likewise.
13358 (RUN_TEST_cc_c): Likewise.
13359 (RUN_TEST_f_i): Likewise.
13360 (RUN_TEST_f_i_tg): Likewise.
13361 (RUN_TEST_ff_i_tg): Likewise.
13362 (RUN_TEST_f_b): Likewise.
13363 (RUN_TEST_f_b_tg): Likewise.
13364 (RUN_TEST_f_l): Likewise.
13365 (RUN_TEST_f_L): Likewise.
13366 (RUN_TEST_fFF_11): Likewise.
13367 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13368 conditionals.
13369 (cosh_test_data): Likewise.
13370 (exp_test_data): Likewise.
13371 (expm1_test_data): Likewise.
13372 (hypot_test_data): Likewise.
13373 (pow_test_data): Likewise.
13374 (sinh_test_data): Likewise.
13375 (tanh_test_data): Likewise.
13376 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13377 flags argument.
13378
ca07f197
JM
13379 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13380 tests with quiet NaN input and output.
13381 (acosh_test_data): Likewise.
13382 (asin_test_data): Likewise.
13383 (asinh_test_data): Likewise.
13384 (atan_test_data): Likewise.
13385 (atanh_test_data): Likewise.
13386 (atan2_test_data): Likewise.
13387 (cbrt_test_data): Likewise.
13388 (cos_test_data): Likewise.
13389 (cosh_test_data): Likewise.
13390 (erf_test_data): Likewise.
13391 (erfc_test_data): Likewise.
13392 (exp_test_data): Likewise.
13393 (exp10_test_data): Likewise.
13394 (exp2_test_data): Likewise.
13395 (expm1_test_data): Likewise.
13396 (hypot_test_data): Likewise.
13397 (j0_test_data): Likewise.
13398 (j1_test_data): Likewise.
13399 (jn_test_data): Likewise.
13400 (lgamma_test_data): Likewise.
13401 (log_test_data): Likewise.
13402 (log10_test_data): Likewise.
13403 (log1p_test_data): Likewise.
13404 (log2_test_data): Likewise.
13405 (pow_test_data): Likewise.
13406 (scalb_test_data): Likewise.
13407 (sin_test_data): Likewise.
13408 (sincos_test_data): Likewise.
13409 (sinh_test_data): Likewise.
13410 (tan_test_data): Likewise.
13411 (tanh_test_data): Likewise.
13412 (tgamma_test_data): Likewise.
13413 (y0_test_data): Likewise.
13414 (y1_test_data): Likewise.
13415 (yn_test_data): Likewise.
13416
66294491
JM
13417 [BZ #16167]
13418 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13419 argument being NaN and avoid computations with second argument in
13420 that case.
13421 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13422 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13423 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13424
1820b143
CL
134252013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13426
13427 * locale/iso-639.def: Add Chitwani Tharu (the).
13428
714bd261
AS
134292013-11-14 Andreas Schwab <schwab@suse.de>
13430
13431 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13432 word instead of empty string.
13433
7ab44563
AZ
134342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13435
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13437 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13439 (__fe_nomask_env): Likewise.
13440
e8470ea2
SE
134412013-11-13 Steve Ellcey <sellcey@mips.com>
13442
13443 * benchtests/bench-timing.h: Include time.h.
13444
17c1d9f0
L
134452013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13446
13447 [BZ #15997]
13448 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13449 to 3.4.0 for x32.
13450 * sysdeps/unix/sysv/linux/configure: Regenerated.
13451
9310c284
JM
134522013-11-13 Joseph Myers <joseph@codesourcery.com>
13453
13454 [BZ #16151]
13455 * stdlib/strtod_l.c (round_and_return): Do not consider
13456 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13457 exponent one less than half the least subnormal exponent.
13458 * stdlib/test-strtod-round-data: Add more tests.
13459 * stdlib/tst-strtod-round.c (tests): Regenerated.
13460
7a2ad8cf
AZ
134612013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13462
13463 [BZ #14143]
13464 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13465 (__fe_mask_env): Likewise.
13466 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13467 libm_hidden_proto and add function prototype.
13468 (__fe_mask_env): Add function prototype.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13470 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13472 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13474 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13475
50727aa7
MS
134762013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13477
b2f386c1 13478 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13479 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13480
a615be46
MS
134812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13482
13483 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13484 of htab_find_slot().
13485
7ddace62
DM
134862013-11-11 David S. Miller <davem@davemloft.net>
13487
13488 [BZ #16150]
13489 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13490 symbol in the non-vis3 case in static builds.
13491 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13492 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13493 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13494 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13495
9182aa67
JK
134962013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13497
13498 [BZ #387]
13499 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13500 it is empty.
13501
450a2e2d
AZ
135022013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13503
b2f386c1
SP
13504 * benchtests/Makefile: Add bench-strtod.
13505 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13506
8ec3f656
AS
135072013-11-11 Andreas Schwab <schwab@suse.de>
13508
13509 [BZ #16153]
13510 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13511 terminating NUL in key length.
13512
76a9b998
AZ
135132013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13514
13515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13516 Add artificial ODP entry for vDSO symbol for PPC64.
13517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13518 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13519
e4368156
OB
135202013-11-07 Ondřej Bílka <neleai@seznam.cz>
13521
13522 [BZ #15374]
13523 * nss/getent.c (services_keys): Recognize services starting with digit.
13524
8d6bb57c
DM
135252013-11-06 David S. Miller <davem@davemloft.net>
13526
13527 [BZ #15985]
13528 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13529 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13530
e256c421
WN
135312013-11-06 Will Newton <will.newton@linaro.org>
13532
13533 * manual/memory.texi (Malloc Examples): Remove register
13534 keyword from examples.
13535
f6e12daa 135362013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13537
f6e12daa 13538 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13539
9d880655
AS
135402013-11-04 Joseph Myers <joseph@codesourcery.com>
13541
fd2f9486 13542 [BZ #6981]
9d880655
AS
13543 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13544 depending on [__GCC_IEC_559 > 0].
13545 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13546 depending on [__GCC_IEC_559_COMPLEX > 0].
13547
ae129d3c
CL
135482013-11-03 Chris Leonard <cjl@sugarlabs.org>
13549
13550 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13551 to iso-639.def.
13552
4a15c2a4 135532013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13554
13555 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13556
8b35e35d
OB
135572013-11-01 Ondřej Bílka <neleai@seznam.cz>
13558
13559 [BZ #16112]
13560 * malloc/malloc (malloc_info): Do not handle first bin as
13561 special case.
13562
1d70fd6c
CL
135632013-11-01 Chris Leonard <cjl@sugarlabs.org>
13564
13565 * locale/iso-639.def: Add Central Nahuatl (nhn).
13566
8c5c2600
BH
135672013-11-01 Bruno Haible <bruno@clisp.org>
13568
13569 [BZ #7003]
13570 * manual/math.texi (BSD Random): Specify range upper bound as
13571 in POSIX.
13572
da5579c2
CL
135732013-10-31 Chris Leonard <cjl@sugarlabs.org>
13574
13575 * locale/iso-639.def: Add Meadow Mari (mhr).
13576
5d30d853
OB
135772013-10-31 Ondřej Bílka <neleai@seznam.cz>
13578
13579 [BZ #14752], [BZ #15763]
13580 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13581 Validate name.
13582 * rt/tst_shm.c: Add test for escaping directory.
13583
a4966c61
AS
135842013-10-31 Andreas Schwab <schwab@suse.de>
13585
8a43e768 13586 [BZ #15917]
a4966c61
AS
13587 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13588 followed by 'x' as part of digit sequence.
13589 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13590
28d708c4
MAP
135912013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13592
13593 [BZ #16037]
13594 * configure.ac: allow GNU Make 4.0 and greater.
13595 * configure: Regenerated.
13596
a56ee40b
WN
135972013-10-30 Will Newton <will.newton@linaro.org>
13598
13599 [BZ #16038]
13600 * malloc/hooks.c (memalign_check): Limit alignment to the
13601 maximum representable power of two.
13602 * malloc/malloc.c (__libc_memalign): Likewise.
13603 * malloc/tst-memalign.c (do_test): Add test for very
13604 large alignment values.
13605 * malloc/tst-posix_memalign.c (do_test): Likewise.
13606
c6e4925d
OB
136072013-10-30 Ondřej Bílka <neleai@seznam.cz>
13608
13609 [BZ #11087]
13610 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13611 (munmap_chunk): Likewise.
13612 (mremap_chunk): Likewise.
13613
136142013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13615
8a43e768 13616 [BZ #15799]
bbea82f7
OB
13617 * stdlib/div.c (div): Remove obsolete code.
13618 * stdlib/ldiv.c (ldiv): Likewise.
13619 * stdlib/lldiv.c (lldiv): Likewise.
13620
977f4b31
SP
136212013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13622
13623 [BZ #16071]
13624 * nss/nss_files/files-XXX.c (get_contents_ret): New
13625 enumerator.
13626 (get_contents): New function.
13627 (internal_getent): Use it. Expand size of LINEBUFLEN.
13628
cb8a6dbd
MF
136292013-10-30 Mike Frysinger <vapier@gentoo.org>
13630
13631 * configure.in: Moved to ...
13632 * configure.ac: ... here. Change reference to configure.in
13633 to configure.ac.
13634 * sysdeps/arm/preconfigure.ac: ... here.
13635 configure.in to configure.ac.
13636 * sysdeps/gnu/configure.in: Moved to ...
13637 * sysdeps/gnu/configure.ac: ... here.
13638 * sysdeps/i386/configure.in: Moved to ...
13639 * sysdeps/i386/configure.ac: ... here.
13640 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13641 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13642 * sysdeps/mach/configure.in: Moved to ...
13643 * sysdeps/mach/configure.ac: ... here.
13644 * sysdeps/mach/hurd/configure.in: Moved to ...
13645 * sysdeps/mach/hurd/configure.ac: ... here.
13646 * sysdeps/powerpc/configure.in: Moved to ...
13647 * sysdeps/powerpc/configure.ac: ... here.
13648 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13649 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13650 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13651 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13652 * sysdeps/s390/s390-32/configure.in: Moved to ...
13653 * sysdeps/s390/s390-32/configure.ac: ... here.
13654 * sysdeps/s390/s390-64/configure.in: Moved to ...
13655 * sysdeps/s390/s390-64/configure.ac: ... here.
13656 * sysdeps/sh/configure.in: Moved to ...
13657 * sysdeps/sh/configure.ac: ... here.
13658 * sysdeps/sparc/configure.in: Moved to ...
13659 * sysdeps/sparc/configure.ac: ... here.
13660 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13661 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13662 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13663 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13664 * sysdeps/x86_64/configure.in: Moved to ...
13665 * sysdeps/x86_64/configure.ac: ... here.
13666 * sysdeps/x86_64/preconfigure.in: Moved to ...
13667 * sysdeps/x86_64/preconfigure.ac: ... here.
13668 * aclocal.m4: Change reference to configure.in to configure.ac.
13669 * config.h.in: Likewise.
13670 * manual/install.texi: Likewise.
13671 * manual/maint.texi: Likewise.
13672 * Makefile: Likewise.
13673 * malloc/Makefile: Likewise.
13674 * nscd/Makefile: Likewise.
13675 * Makeconfig: Change reference to configure.in and
13676 preconfigure.in to configure.ac and preconfigure.ac
13677 respectively.
13678 * INSTALL: Regenerated.
13679 * configure: Likewise.
13680 * sysdeps/gnu/configure: Likewise.
13681 * sysdeps/i386/configure: Likewise.
13682 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13683 * sysdeps/mach/configure: Likewise.
13684 * sysdeps/mach/hurd/configure: Likewise.
13685 * sysdeps/powerpc/configure: Likewise.
13686 * sysdeps/powerpc/powerpc32/configure: Likewise.
13687 * sysdeps/powerpc/powerpc64/configure: Likewise.
13688 * sysdeps/s390/s390-32/configure: Likewise.
13689 * sysdeps/s390/s390-64/configure: Likewise.
13690 * sysdeps/sh/configure: Likewise.
13691 * sysdeps/sparc/configure: Likewise.
13692 * sysdeps/unix/sysv/linux/configure: Likewise.
13693 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13694 * sysdeps/x86_64/configure: Likewise.
13695 * sysdeps/x86_64/preconfigure: Likewise.
13696
36a4953a
AS
136972013-10-29 Andreas Schwab <schwab@suse.de>
13698
13699 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13700
c79a1204
SP
137012013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13702
dfa1b402
SP
13703 * benchtests/pow-inputs: Add new inputs.
13704
54f73d9c
SP
13705 * benchtests/exp-inputs: Add new inputs.
13706
c79a1204
SP
13707 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13708 conditional check for return value.
13709 (__cos32): Likewise.
13710
67beb545 137112013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13712
13713 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13714 to provide a boost for large inputs with word alignment.
13715 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13716 implementation based on optimized PPC64 strcpy.
13717 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13718 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13719 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13720 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13721
151659f6
OB
137222013-10-25 Ondřej Bílka <neleai@seznam.cz>
13723
482a077e 13724 [BZ #2801]
151659f6
OB
13725 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13726
10b0f26b
OB
137272013-10-25 Ondřej Bílka <neleai@seznam.cz>
13728
13729 [BZ #14876]
13730 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13731 * time/tst-strptime.c (day_tests): Add testcase.
13732
ca42d35e
OB
137332013-10-25 Ondřej Bílka <neleai@seznam.cz>
13734
482a077e 13735 [BZ #14029]
ca42d35e
OB
13736 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13737
52e6d801
FB
137382013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13739
13740 [BZ #16074]
13741 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13742 MAP_FAILED on error.
13743
7cbcdb36
SP
137442013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13745
13746 [BZ #16072]
13747 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13748 heap for large requests.
13749
894f3f10
AM
137502013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13751
13752 [BZ #9954]
13753 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13754 result if the result has no associated interface.
13755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13756 interface for all 127.X.Y.Z addresses.
13757
b85545a6
CL
137582013-10-24 Chris Leonard <cjl@sugarlabs.org>
13759
13760 * locale/iso-639.def: Add Ligurian (lij)
13761
d1f23d46
OB
137622013-10-21 Ondřej Bílka <neleai@seznam.cz>
13763
13764 [BZ #15825]
13765 * sunrpc/rpc_main.c: Document rpcgen -5.
13766
4db5b08f
MS
137672013-10-19 Michael Stahl <mstahl@redhat.com>
13768
13769 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13770
a471e96a
OB
137712013-10-19 Ondřej Bílka <neleai@seznam.cz>
13772
d1f23d46 13773 [BZ #10278]
a471e96a
OB
13774 * posix/glob.c: Match only directories when trailing slash is present.
13775 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13776 (main): Add testcase.
13777
45c30c61
OB
137782013-10-19 Ondřej Bílka <neleai@seznam.cz>
13779
13780 [BZ #15670]
13781 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13782
484c12fb
CD
137832013-10-18 Carlos O'Donell <carlos@redhat.com>
13784
3d7dc513
CD
13785 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13786 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13787 AUTH_DES and cindex for FIPS 140-2.
13788 (DES Encryption): Add cindex FIPS 46-3.
13789
484c12fb
CD
13790 * locale/locarchive.h (struct locarhandle): Add fname.
13791 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13792 if an optional argument was specified to --list-archive,
13793 otherwise NULL.
13794 * locale/programs/locarchive.c (show_archive_content): Take new
13795 argument fname and pass it via ah.fname to open_archive.
13796 * locale/programs/localedef.h: Update decl.
13797 (open_archive): If AH->fname is non-null, open that file
13798 rather than the default file name, and don't ignore ENOENT.
13799 (create_archive): Set AH.fname to NULL.
13800 (delete_locales_from_archive): Likewise.
13801 (add_locales_to_archive): Likewise.
13802 * locale/programs/locfile.c (write_all_categories): Likewise.
13803
3c8325fb
JM
138042013-10-18 Joseph Myers <joseph@codesourcery.com>
13805 Aldy Hernandez <aldyh@redhat.com>
13806
13807 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13808 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13809 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13810 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13811 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13812 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13813 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13814 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13815 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13816 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13818 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13819 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13820 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13821 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13822 Likewise.
13823 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13824 Likewise.
13825 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13826 Likewise.
13827 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13828 Likewise.
13829 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13830 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13831 Likewise.
13832 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13833 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13834 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13835 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13836 Likewise.
13837 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13838 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13839 * sysdeps/powerpc/preconfigure: Likewise.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13841 Likewise.
13842 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13843 Replace contents of file by #include of <fenv_libc.h>.
13844 * sysdeps/powerpc/soft-fp/sfp-machine.h
13845 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13846 and <sys/prctl.h>.
13847 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13850 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13851 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13856 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13857 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13860 Allow copysignl PLT reference to be missing.
13861
5abe0682
RS
138622013-10-18 Richard Sandiford <richard@codesourcery.com>
13863 Joseph Myers <joseph@codesourcery.com
13864
13865 [BZ #15948]
13866 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13867 single character.
13868 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13869
c7738d08
SP
138702013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13871
13872 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13873 * elf/tst-tls1.c: Likewise.
13874 * elf/tst-tls10.h: Likewise.
13875 * elf/tst-tls14.c: Likewise.
13876 * elf/tst-tls2.c: Likewise.
13877 * elf/tst-tls3.c: Likewise.
13878 * elf/tst-tls4.c: Likewise.
13879 * elf/tst-tls5.c: Likewise.
13880 * elf/tst-tls6.c: Likewise.
13881 * elf/tst-tls7.c: Likewise.
13882 * elf/tst-tls8.c: Likewise.
13883 * elf/tst-tls9.c: Likewise.
13884 * elf/tst-tlsmod1.c: Likewise.
13885 * elf/tst-tlsmod13.c: Likewise.
13886 * elf/tst-tlsmod13a.c: Likewise.
13887 * elf/tst-tlsmod14a.c: Likewise.
13888 * elf/tst-tlsmod16a.c: Likewise.
13889 * elf/tst-tlsmod16b.c: Likewise.
13890 * elf/tst-tlsmod2.c: Likewise.
13891 * elf/tst-tlsmod3.c: Likewise.
13892 * elf/tst-tlsmod4.c: Likewise.
13893 * elf/tst-tlsmod5.c: Likewise.
13894 * elf/tst-tlsmod6.c: Likewise.
13895
0bfcf2c7
OB
138962013-10-18 Ondřej Bílka <neleai@seznam.cz>
13897
13898 [BZ #12486]
13899 * malloc/malloc.c: remove checks for statistics.
13900
264aad1e
OB
139012013-10-17 Ondřej Bílka <neleai@seznam.cz>
13902
13903 [BZ #15277]
13904 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13905 * inet/tst-network.c: Add testcase.
13906
b957ced8
AS
139072013-10-17 Andreas Schwab <schwab@suse.de>
13908
13909 [BZ #15218]
13910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13911 to determine canonical name.
13912
c5d5d574
OB
139132013-10-17 Ondřej Bílka <neleai@seznam.cz>
13914
13915 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13916 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13939 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13940 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13945 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13973
e5c2c2d0
JM
139742013-10-17 Joseph Myers <joseph@codesourcery.com>
13975
13976 [BZ #16041]
13977 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13978 make result into a quiet NaN.
13979
51ca9e29
JM
139802013-10-16 Joseph Myers <joseph@codesourcery.com>
13981
13982 * soft-fp/adddf3.c: Fix horizontal whitespace.
13983 * soft-fp/addsf3.c: Likewise.
13984 * soft-fp/addtf3.c: Likewise.
13985 * soft-fp/divdf3.c: Likewise.
13986 * soft-fp/divsf3.c: Likewise.
13987 * soft-fp/divtf3.c: Likewise.
13988 * soft-fp/double.h: Likewise.
13989 * soft-fp/eqdf2.c: Likewise.
13990 * soft-fp/eqsf2.c: Likewise.
13991 * soft-fp/eqtf2.c: Likewise.
13992 * soft-fp/extenddftf2.c: Likewise.
13993 * soft-fp/extended.h: Likewise.
13994 * soft-fp/extendsfdf2.c: Likewise.
13995 * soft-fp/extendsftf2.c: Likewise.
13996 * soft-fp/extendxftf2.c: Likewise.
13997 * soft-fp/fixdfdi.c: Likewise.
13998 * soft-fp/fixdfsi.c: Likewise.
13999 * soft-fp/fixdfti.c: Likewise.
14000 * soft-fp/fixsfdi.c: Likewise.
14001 * soft-fp/fixsfsi.c: Likewise.
14002 * soft-fp/fixsfti.c: Likewise.
14003 * soft-fp/fixtfdi.c: Likewise.
14004 * soft-fp/fixtfsi.c: Likewise.
14005 * soft-fp/fixtfti.c: Likewise.
14006 * soft-fp/fixunsdfdi.c: Likewise.
14007 * soft-fp/fixunsdfsi.c: Likewise.
14008 * soft-fp/fixunsdfti.c: Likewise.
14009 * soft-fp/fixunssfdi.c: Likewise.
14010 * soft-fp/fixunssfsi.c: Likewise.
14011 * soft-fp/fixunssfti.c: Likewise.
14012 * soft-fp/fixunstfdi.c: Likewise.
14013 * soft-fp/fixunstfsi.c: Likewise.
14014 * soft-fp/fixunstfti.c: Likewise.
14015 * soft-fp/floatdidf.c: Likewise.
14016 * soft-fp/floatdisf.c: Likewise.
14017 * soft-fp/floatditf.c: Likewise.
14018 * soft-fp/floatsidf.c: Likewise.
14019 * soft-fp/floatsisf.c: Likewise.
14020 * soft-fp/floatsitf.c: Likewise.
14021 * soft-fp/floattidf.c: Likewise.
14022 * soft-fp/floattisf.c: Likewise.
14023 * soft-fp/floattitf.c: Likewise.
14024 * soft-fp/floatundidf.c: Likewise.
14025 * soft-fp/floatundisf.c: Likewise.
14026 * soft-fp/floatunditf.c: Likewise.
14027 * soft-fp/floatunsidf.c: Likewise.
14028 * soft-fp/floatunsisf.c: Likewise.
14029 * soft-fp/floatunsitf.c: Likewise.
14030 * soft-fp/floatuntidf.c: Likewise.
14031 * soft-fp/floatuntisf.c: Likewise.
14032 * soft-fp/floatuntitf.c: Likewise.
14033 * soft-fp/fmadf4.c: Likewise.
14034 * soft-fp/fmasf4.c: Likewise.
14035 * soft-fp/fmatf4.c: Likewise.
14036 * soft-fp/gedf2.c: Likewise.
14037 * soft-fp/gesf2.c: Likewise.
14038 * soft-fp/getf2.c: Likewise.
14039 * soft-fp/ledf2.c: Likewise.
14040 * soft-fp/lesf2.c: Likewise.
14041 * soft-fp/letf2.c: Likewise.
14042 * soft-fp/muldf3.c: Likewise.
14043 * soft-fp/mulsf3.c: Likewise.
14044 * soft-fp/multf3.c: Likewise.
14045 * soft-fp/negdf2.c: Likewise.
14046 * soft-fp/negsf2.c: Likewise.
14047 * soft-fp/negtf2.c: Likewise.
14048 * soft-fp/op-1.h: Likewise.
14049 * soft-fp/op-2.h: Likewise.
14050 * soft-fp/op-4.h: Likewise.
14051 * soft-fp/op-8.h: Likewise.
14052 * soft-fp/op-common.h: Likewise.
14053 * soft-fp/quad.h: Likewise.
14054 * soft-fp/single.h: Likewise.
14055 * soft-fp/soft-fp.h: Likewise.
14056 * soft-fp/sqrtdf2.c: Likewise.
14057 * soft-fp/sqrtsf2.c: Likewise.
14058 * soft-fp/sqrttf2.c: Likewise.
14059 * soft-fp/subdf3.c: Likewise.
14060 * soft-fp/subsf3.c: Likewise.
14061 * soft-fp/subtf3.c: Likewise.
14062 * soft-fp/truncdfsf2.c: Likewise.
14063 * soft-fp/trunctfdf2.c: Likewise.
14064 * soft-fp/trunctfsf2.c: Likewise.
14065 * soft-fp/trunctfxf2.c: Likewise.
14066 * soft-fp/unorddf2.c: Likewise.
14067 * soft-fp/unordsf2.c: Likewise.
14068 * soft-fp/unordtf2.c: Likewise.
14069
9ebb0332
JM
140702013-10-15 Joseph Myers <joseph@codesourcery.com>
14071
14072 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14073 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14074
4b1a6d8b
OB
140752013-10-15 Ondřej Bílka <neleai@seznam.cz>
14076
14077 * elf/dl-libc.c: Clear initfini list after freeing.
14078
1e145589
JM
140792013-10-14 Joseph Myers <joseph@codesourcery.com>
14080
14081 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14082 * soft-fp/addsf3.c: Likewise.
14083 * soft-fp/addtf3.c: Likewise.
14084 * soft-fp/divdf3.c: Likewise.
14085 * soft-fp/divsf3.c: Likewise.
14086 * soft-fp/divtf3.c: Likewise.
14087 * soft-fp/double.h: Likewise.
14088 * soft-fp/eqdf2.c: Likewise.
14089 * soft-fp/eqsf2.c: Likewise.
14090 * soft-fp/eqtf2.c: Likewise.
14091 * soft-fp/extenddftf2.c: Likewise.
14092 * soft-fp/extended.h: Likewise.
14093 * soft-fp/extendsfdf2.c: Likewise.
14094 * soft-fp/extendsftf2.c: Likewise.
14095 * soft-fp/extendxftf2.c: Likewise.
14096 * soft-fp/fixdfdi.c: Likewise.
14097 * soft-fp/fixdfsi.c: Likewise.
14098 * soft-fp/fixdfti.c: Likewise.
14099 * soft-fp/fixsfdi.c: Likewise.
14100 * soft-fp/fixsfsi.c: Likewise.
14101 * soft-fp/fixsfti.c: Likewise.
14102 * soft-fp/fixtfdi.c: Likewise.
14103 * soft-fp/fixtfsi.c: Likewise.
14104 * soft-fp/fixtfti.c: Likewise.
14105 * soft-fp/fixunsdfdi.c: Likewise.
14106 * soft-fp/fixunsdfsi.c: Likewise.
14107 * soft-fp/fixunsdfti.c: Likewise.
14108 * soft-fp/fixunssfdi.c: Likewise.
14109 * soft-fp/fixunssfsi.c: Likewise.
14110 * soft-fp/fixunssfti.c: Likewise.
14111 * soft-fp/fixunstfdi.c: Likewise.
14112 * soft-fp/fixunstfsi.c: Likewise.
14113 * soft-fp/fixunstfti.c: Likewise.
14114 * soft-fp/floatdidf.c: Likewise.
14115 * soft-fp/floatdisf.c: Likewise.
14116 * soft-fp/floatditf.c: Likewise.
14117 * soft-fp/floatsidf.c: Likewise.
14118 * soft-fp/floatsisf.c: Likewise.
14119 * soft-fp/floatsitf.c: Likewise.
14120 * soft-fp/floattidf.c: Likewise.
14121 * soft-fp/floattisf.c: Likewise.
14122 * soft-fp/floattitf.c: Likewise.
14123 * soft-fp/floatundidf.c: Likewise.
14124 * soft-fp/floatundisf.c: Likewise.
14125 * soft-fp/floatunsidf.c: Likewise.
14126 * soft-fp/floatunsisf.c: Likewise.
14127 * soft-fp/floatuntidf.c: Likewise.
14128 * soft-fp/floatuntisf.c: Likewise.
14129 * soft-fp/floatuntitf.c: Likewise.
14130 * soft-fp/fmadf4.c: Likewise.
14131 * soft-fp/fmasf4.c: Likewise.
14132 * soft-fp/fmatf4.c: Likewise.
14133 * soft-fp/gedf2.c: Likewise.
14134 * soft-fp/gesf2.c: Likewise.
14135 * soft-fp/getf2.c: Likewise.
14136 * soft-fp/ledf2.c: Likewise.
14137 * soft-fp/lesf2.c: Likewise.
14138 * soft-fp/letf2.c: Likewise.
14139 * soft-fp/muldf3.c: Likewise.
14140 * soft-fp/mulsf3.c: Likewise.
14141 * soft-fp/multf3.c: Likewise.
14142 * soft-fp/negdf2.c: Likewise.
14143 * soft-fp/negsf2.c: Likewise.
14144 * soft-fp/negtf2.c: Likewise.
14145 * soft-fp/op-1.h: Likewise.
14146 * soft-fp/op-2.h: Likewise.
14147 * soft-fp/op-4.h: Likewise.
14148 * soft-fp/op-8.h: Likewise.
14149 * soft-fp/op-common.h: Likewise.
14150 * soft-fp/quad.h: Likewise.
14151 * soft-fp/single.h: Likewise.
14152 * soft-fp/soft-fp.h: Likewise.
14153 * soft-fp/sqrtdf2.c: Likewise.
14154 * soft-fp/sqrtsf2.c: Likewise.
14155 * soft-fp/sqrttf2.c: Likewise.
14156 * soft-fp/subdf3.c: Likewise.
14157 * soft-fp/subsf3.c: Likewise.
14158 * soft-fp/subtf3.c: Likewise.
14159 * soft-fp/truncdfsf2.c: Likewise.
14160 * soft-fp/trunctfdf2.c: Likewise.
14161 * soft-fp/trunctfsf2.c: Likewise.
14162 * soft-fp/trunctfxf2.c: Likewise.
14163 * soft-fp/unorddf2.c: Likewise.
14164 * soft-fp/unordsf2.c: Likewise.
14165 * soft-fp/unordtf2.c: Likewise.
14166
17c48a60
OB
141672013-10-14 Ondřej Bílka <neleai@seznam.cz>
14168
14169 [BZ #15672]
14170 * misc/error.c (error_tail): Fix possible buffer overflow.
14171
cabba934
OB
141722013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14173
14174 [BZ #13028]
14175 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14176 address.
14177
94bf958a
PM
141782013-10-14 P. J. McDermott <pj@pehjota.net>
14179
14180 [BZ #832]
14181 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14182 testing pipefail option.
14183
71b4dea7
JM
141842013-10-12 Joseph Myers <joseph@codesourcery.com>
14185
14186 * soft-fp/double.h: Indent preprocessor directives inside #if.
14187 * soft-fp/extended.h: Likewise.
14188 * soft-fp/op-2.h: Likewise.
14189 * soft-fp/op-4.h: Likewise.
14190 * soft-fp/op-common.h: Likewise.
14191 * soft-fp/quad.h: Likewise.
14192 * soft-fp/single.h: Likewise.
14193 * soft-fp/soft-fp.h: Likewise.
14194
55602758
YC
141952013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14196
14197 * iconv/iconv_prog.c: Fix typos.
14198 * stdio-common/psiginfo-data.h: Likewise.
14199
9cd83302
RT
142002013-10-12 Reuben Thomas <rrt@sc3d.org>
14201
14202 [BZ #15764]
14203 * locale/setlocale.c: Fix typo.
14204
99fd9f47
JM
142052013-10-12 Joseph Myers <joseph@codesourcery.com>
14206
b7ea74f0
JM
14207 [BZ #16036]
14208 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14209 signaling NaN arguments.
14210 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14211 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14212
8a509447
JM
14213 [BZ #14910]
14214 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14215 unordered operands.
14216 * soft-fp/gesf2.c (__gesf2): Likewise.
14217 * soft-fp/getf2.c (__getf2): Likewise.
14218 * soft-fp/ledf2.c (__ledf2): Likewise.
14219 * soft-fp/lesf2.c (__lesf2): Likewise.
14220 * soft-fp/letf2.c (__letf2): Likewise.
14221
98998e9f
JM
14222 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14223 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14224 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14225 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14226 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14227 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14228 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14229 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14230 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14231 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14232 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14233 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14234 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14235 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14236 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14237 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14238 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14239 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14240 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14241 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14242 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14243 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14244 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14245 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14246 * soft-fp/floattidf.c (__floattidf): Likewise.
14247 * soft-fp/floattisf.c (__floattisf): Likewise.
14248 * soft-fp/floattitf.c (__floattitf): Likewise.
14249 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14250 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14251 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14252 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14253 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14254 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14255 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14256 * soft-fp/gesf2.c (__gesf2): Likewise.
14257 * soft-fp/getf2.c (__getf2): Likewise.
14258 * soft-fp/ledf2.c (__ledf2): Likewise.
14259 * soft-fp/lesf2.c (__lesf2): Likewise.
14260 * soft-fp/letf2.c (__letf2): Likewise.
14261
8edc4a11
JM
14262 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14263 Undefine and redefine.
14264 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14265 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14266 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14267 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14268 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14269 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14270 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14271 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14272 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14273 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14274 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14275 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14276 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14277 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14278 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14279
8399acaf
JM
14280 [BZ #16032]
14281 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14282 without decrementing exponent if mantissa >= that for the
14283 denominator, not >.
14284 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14285 denominator, not >. Decrement exponent in < case instead of
14286 incrementing in >= case.
14287 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14288 without decrementing exponent if mantissa >= that for the
14289 denominator, not >.
14290
99fd9f47
JM
14291 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14292 computing saturated result for unsigned overflow.
14293
10e1cf6b
SP
142942013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14295 Jeff Law <law@redhat.com>
14296
14297 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14298 (atan2Mp): Add systemtap probe marker.
14299 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14300 (__ieee754_log): Add systemtap probe marker.
14301 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14302 (atanMp): Add systemtap probe marker.
14303 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14304 (tanMp): Add systemtap probe marker.
14305 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14306 (__slowexp): Add systemtap probe marker.
14307 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14308 (__slowpow): Add systemtap probe marker.
14309 * manual/probes.texi: Document probes.
14310
3d110c7c
EB
143112013-10-11 Eric Biggers <ebiggers3@gmail.com>
14312
14313 [BZ #15362]
14314 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14315 written.
14316 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14317 written.
14318 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14319 written to buffer but not flushed.
14320 * libio/iofwrite_u.c: Likewise.
14321 * libio/iopadn.c: Return bytes returned even if EOF was
14322 encountered.
14323 * libio/iowpadn.c: Likewise.
14324 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14325 if _IO_padn does not write the whole buffer.
14326 [!COMPILE_WPRINTF] (PAD): Likewise.
14327
75b4202a
DM
143282013-10-10 David S. Miller <davem@davemloft.net>
14329
14330 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14331 directory block.
14332
6c6352e6
JM
143332013-10-10 Joseph Myers <joseph@codesourcery.com>
14334
33b853c3
JM
14335 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14336 instead of FSF address.
14337 * soft-fp/fixdfti.c: Likewise.
14338 * soft-fp/fixsfti.c: Likewise.
14339 * soft-fp/fixtfti.c: Likewise.
14340 * soft-fp/fixunsdfti.c: Likewise.
14341 * soft-fp/fixunssfti.c: Likewise.
14342 * soft-fp/fixunstfti.c: Likewise.
14343 * soft-fp/floattidf.c: Likewise.
14344 * soft-fp/floattisf.c: Likewise.
14345 * soft-fp/floattitf.c: Likewise.
14346 * soft-fp/floatuntidf.c: Likewise.
14347 * soft-fp/floatuntisf.c: Likewise.
14348 * soft-fp/floatuntitf.c: Likewise.
14349 * soft-fp/trunctfxf2.c: Likewise.
14350
6c6352e6
JM
14351 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14352 * soft-fp/fixdfti.c: Likewise.
14353 * soft-fp/fixsfti.c: Likewise.
14354 * soft-fp/fixtfti.c: Likewise.
14355 * soft-fp/fixunsdfti.c: Likewise.
14356 * soft-fp/fixunssfti.c: Likewise.
14357 * soft-fp/fixunstfti.c: Likewise.
14358 * soft-fp/floattidf.c: Likewise.
14359 * soft-fp/floattisf.c: Likewise.
14360 * soft-fp/floattitf.c: Likewise.
14361 * soft-fp/floatuntidf.c: Likewise.
14362 * soft-fp/floatuntisf.c: Likewise.
14363 * soft-fp/floatuntitf.c: Likewise.
14364 * soft-fp/trunctfxf2.c: Likewise.
14365
3bf78b71
DM
143662013-10-10 David S. Miller <davem@davemloft.net>
14367
14368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14369
6f10289e
JM
143702013-10-10 Joseph Myers <joseph@codsourcery.com>
14371
bd878fc0
JM
14372 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14373 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14374 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14375 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14376 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14377 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14378 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14379
6f10289e
JM
14380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14381 for NaNs before doing comparisons on argument.
14382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14383 Likewise.
14384
321e2684
WN
143852013-10-10 Will Newton <will.newton@linaro.org>
14386
14387 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14388 passed to _int_memalign does not overflow.
14389
40fefba1
TR
143902013-10-10 Torvald Riegel <triegel@redhat.com>
14391
14392 * scripts/bench.pl: Add include-sources directive.
14393 * benchtests/README: Update documentation.
14394
2ae21ed2
JM
143952013-10-10 Joseph Myers <joseph@codesourcery.com>
14396
dcc2dd3f
JM
14397 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14398 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14399 instead of FP_INIT_ROUNDMODE.
14400 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14401 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14402
2ae21ed2
JM
14403 [BZ #16034]
14404 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14405 copy class of input value.
14406 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14407 not handle exceptions.
14408 * soft-fp/negsf2.c (__negsf2): Likewise.
14409 * soft-fp/negtf2.c (__negtf2): Likewise.
14410 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14411
cb8f9562
JM
144122013-10-09 Joseph Myers <joseph@codesourcery.com>
14413
14414 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14415 semicolon. From Linux kernel.
14416
5b60c59d
AB
144172013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14418
14419 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14420
b86835ca
YC
144212013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14422
14423 [BZ #156]
14424 * manual/socket.texi: Added statement about buffer
14425 for gethostbyname2_r.
14426
e7044ea7
OB
144272013-10-08 Ondřej Bílka <neleai@seznam.cz>
14428
14429 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14430 Use .p2align directive instead, throughout.
14431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14432 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14433 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14436 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14437 * sysdeps/x86_64/strchr.S: Likewise.
14438 * sysdeps/x86_64/strrchr.S: Likewise.
14439
09544cbc
SP
144402013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14441
88576635
SP
14442 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14443
e7b2d1dd
SP
14444 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14445
09544cbc
SP
14446 * sysdeps/generic/math_private.h (__mpsin1): Remove
14447 declaration.
14448 (__mpcos1): Likewise.
14449 (__mpsin): New argument __range_reduce.
14450 (__mpcos): Likewise.
14451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14452 (slow): Use __mpsin and __mpcos.
14453 (slow1): Likewise.
14454 (slow2): Likewise.
14455 (sloww): Likewise.
14456 (sloww1): Likewise.
14457 (sloww2): Likewise.
14458 (bsloww): Likewise.
14459 (bsloww1): Likewise.
14460 (bsloww2): Likewise.
14461 (cslow2): Likewise.
14462 (csloww): Likewise.
14463 (csloww1): Likewise.
14464 (csloww2): Likewise.
14465 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14466 range_reduce. Merge in __mpsin1.
14467 (__mpcos): Likewise.
14468 (__mpsin1): Remove.
14469 (__mpcos1): Likewise.
14470
7602d070
JM
144712013-10-07 Joseph Myers <joseph@codesourcery.com>
14472
14473 * locale/loadlocale.c (_nl_intern_locale_data): Use
14474 LOCFILE_ALIGNED_P.
14475 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14476 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14477 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14478 obstack data is appropriately aligned.
14479 (obstack_int32_grow_fast): Likewise.
14480 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14481 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14482 (add_locale_uint32_array): Likewise.
14483
a357259b
SP
144842013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14485
14486 * benchtests/Makefile: Remove ARGLIST and RET variables.
14487 ($(objpfx)bench-%.c): Pass only function name to the script.
14488 * benchtests/README: Update documentation.
14489 * benchtests/acos-inputs: Add new directives.
14490 * benchtests/acosh-inputs: Likewise.
14491 * benchtests/asin-inputs: Likewise.
14492 * benchtests/asinh-inputs: Likewise.
14493 * benchtests/atan-inputs: Likewise.
14494 * benchtests/atanh-inputs: Likewise.
14495 * benchtests/cos-inputs: Likewise.
14496 * benchtests/cosh-inputs: Likewise.
14497 * benchtests/exp-inputs: Likewise.
14498 * benchtests/log-inputs: Likewise.
14499 * benchtests/pow-inputs: Likewise.
14500 * benchtests/rint-inputs: Likewise.
14501 * benchtests/sin-inputs: Likewise.
14502 * benchtests/sinh-inputs: Likewise.
14503 * benchtests/tan-inputs: Likewise.
14504 * benchtests/tanh-inputs: Likewise.
14505 * scripts/bench.pl: Add support for new directives.
14506
9ec1b13d
AM
145072013-10-07 Alan Modra <amodra@gmail.com>
14508
14509 * README: Fix careless merge.
14510
8b7d57cd
AM
145112013-10-05 Alan Modra <amodra@gmail.com>
14512
14513 * NEWS: Mention powerpc64le support and bugs fixed.
14514 * README: Both big-endian and little-endian powerpc64 supported.
14515
7b7bab13
ST
145162013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14517
57f41c40
AS
14518 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14519 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14520 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14521 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14522
d39baad1
RA
145232013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14524
14525 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14526 match prototype.
14527
cd78f7e7
JM
145282013-10-04 Joseph Myers <joseph@codesourcery.com>
14529
29d73d86
JM
14530 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14531 Move -mhard-float appending from
14532 ports/sysdeps/powerpc/powerpc32/Makefile.
14533 [$(with-fp) = yes] (ASFLAGS): Likewise.
14534 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14535 * sysdeps/powerpc/nofpu: Move directory from
14536 ports/sysdeps/powerpc/nofpu.
14537 * sysdeps/powerpc/soft-fp: Move directory from
14538 ports/sysdeps/powerpc/soft-fp.
14539 * sysdeps/powerpc/powerpc32/405: Move directory from
14540 ports/sysdeps/powerpc/powerpc32/405.
14541 * sysdeps/powerpc/powerpc32/440: Move directory from
14542 ports/sysdeps/powerpc/powerpc32/440.
14543 * sysdeps/powerpc/powerpc32/464: Move directory from
14544 ports/sysdeps/powerpc/powerpc32/464.
14545 * sysdeps/powerpc/powerpc32/476: Move directory from
14546 ports/sysdeps/powerpc/powerpc32/476.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14548 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14550 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14552 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14554 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14556 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14557 * README: Update for powerpc-*-linux-gnu software floating point
14558 support in libc.
14559
e246b347
JM
14560 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14561 case to powerpc/powerpc32*.
14562 * sysdeps/unix/sysv/linux/configure: Regenerated.
14563
89c2003e
JM
14564 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14565 (_FPU_MASK_OM): Define as 0x04.
14566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14568 0x00c10080.
14569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14570 0x0000003c.
14571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14572
cd78f7e7
JM
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14574 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14575 getcontext_e500.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14577 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14578 setcontext_e500.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14580 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14581 and setcontext_e500.
14582
c755294d
CL
145832013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14584
14585 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14586
e16d221c
SP
145872013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14588
14589 * manual/threads.texi (Default Thread Attributes): Fix typo.
14590
215c7d43
WN
145912013-10-04 Will Newton <will.newton@linaro.org>
14592
14593 * malloc/Makefile: Add tst-memalign.
14594 * malloc/tst-memalign.c: New file.
14595
27d0461b
WN
14596 * malloc/tst-posix_memalign.c: Add comments.
14597 (do_test): Add comments and call free on all potentially
14598 allocated pointers. Add space after cast.
14599
1bc92709
WN
14600 * malloc/tst-pvalloc.c: Add comments.
14601 (do_test): Add comments and call free on all potentially
14602 allocated pointers. Remove duplicate check for NULL pointer.
14603 Add space after cast.
14604
66a9be9d
WN
14605 * malloc/tst-valloc.c: Add comments.
14606 (do_test): Add comments and call free on all potentially
14607 allocated pointers. Remove duplicate check for NULL pointer.
14608 Add space after cast.
14609
4cb81307
AM
146102013-10-04 Alan Modra <amodra@gmail.com>
14611
14612 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14613 Use stdint types in rather than __attribute__((mode())).
14614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14615
f8e3e9f3
AM
146162013-10-04 Alan Modra <amodra@gmail.com>
14617
14618 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14619 Correct handling of unaligned relocs for little-endian.
14620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14621
8f9ebb08
AM
146222013-10-04 Alan Modra <amodra@gmail.com>
14623
14624 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14625 * configure: Regenerate.
14626 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14627 * shlib-versions: Likewise.
14628
0edf96c2
AM
146292013-10-04 Alan Modra <amodra@gmail.com>
14630
14631 * string/tester.c (test_memrchr): Increment reported test cycle.
14632
e0f7a380
AM
146332013-10-04 Alan Modra <amodra@gmail.com>
14634
14635 * string/test-memcpy.c (do_one_test): When reporting errors, print
14636 string address and don't overrun end of string.
14637
466b0393
AM
146382013-10-04 Alan Modra <amodra@gmail.com>
14639
14640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14641 insrdi. Make better use of reg selection to speed exit slightly.
14642 Schedule entry path a little better. Remove useless "are we done"
14643 checks on entry to main loop. Handle wrapping around zero address.
14644 Correct main loop count. Handle single left-over word from main
14645 loop inline rather than by using loop_small. Remove extra word
14646 case in loop_small caused by wrong loop count. Add little-endian
14647 support.
14648 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14650 cache hint.
14651 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14652 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14653 support. Avoid rlwimi.
14654 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14655
3be87c77
AM
146562013-10-04 Alan Modra <amodra@gmail.com>
14657
14658 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14659 insrdi. Formatting.
3be87c77
AM
14660 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14661 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14662 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14663 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14664 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14665 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14666
759cfef3
AM
146672013-10-04 Alan Modra <amodra@gmail.com>
14668
14669 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14670 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14672 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14673 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14674 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14678 use of regs. Use power7 mtocrf. Tidy function tails.
14679
fe6e95d7
AM
146802013-10-04 Alan Modra <amodra@gmail.com>
14681
14682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14683 Formatting. Consistently use rXXX register defines or rN defines.
14684 Use early exit labels that avoid restoring unused non-volatile regs.
14685 Make cr field use more consistent with rWORDn compares. Rename
14686 regs used as shift registers for unaligned loop, using rN defines
14687 for short lifetime/multiple use regs.
14688 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14690 addi 1,1,64 to pop stack frame. Simplify return value code.
14691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14692
664318c3
AM
146932013-10-04 Alan Modra <amodra@gmail.com>
14694
14695 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14696 support. Correct typos, formatting. Optimize tail. Use insrdi
14697 rather than rlwimi.
14698 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14699 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14700 little-endian support. Correct typos.
14701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14702 rather than rlwimi.
14703 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14704 in loop and entry code to keep "and." results.
14705 (strchr): Add little-endian support. Comment. Move cntlzd
14706 earlier in tail.
14707 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14708
43b84013
AM
147092013-10-04 Alan Modra <amodra@gmail.com>
14710
14711 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14712 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14713 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14715
8a7413f9
AM
147162013-10-04 Alan Modra <amodra@gmail.com>
14717
14718 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14719 (rTMP): Define as r11.
14720 (strcmp): Add little-endian support. Optimise tail.
14721 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14722 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14723 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14728
33ee81de
AM
147292013-10-04 Alan Modra <amodra@gmail.com>
14730
14731 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14732 little-endian support. Remove unnecessary "are we done" tests.
14733 Handle "s" wrapping around zero and extremely large "size".
14734 Correct main loop count. Handle single left-over word from main
14735 loop inline rather than by using small_loop. Correct comments.
14736 Delete "zero" tail, use "end_max" instead.
14737 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14738
db9b4570
AM
147392013-10-04 Alan Modra <amodra@gmail.com>
14740
14741 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14742 support. Don't branch over align.
14743 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14744 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14745 support. Rearrange tmp reg use to suit. Comment.
14746 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14747
f7c399cf
AM
147482013-10-04 Alan Modra <amodra@gmail.com>
14749
14750 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14751
0b2c2ace
AM
147522013-10-04 Alan Modra <amodra@gmail.com>
14753
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14755 conditional form of branch and link when obtaining pc.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14757
02f04a6c
AM
147582013-10-04 Alan Modra <amodra@gmail.com>
14759
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14761 HIWORD/LOWORD.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14764
9b874b2f
AM
147652013-10-04 Alan Modra <amodra@gmail.com>
14766
14767 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14768 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14769 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14771 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14772 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14773 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14774 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14775 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14776 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14777
be1e5d31
AB
147782013-10-04 Anton Blanchard <anton@au1.ibm.com>
14779 Alistair Popple <alistair@ozlabs.au.ibm.com>
14780 Alan Modra <amodra@gmail.com>
14781
14782 [BZ #15723]
14783 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14784 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14785 _dl_hwcap access for little-endian.
14786 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14787 destroy vmx regs when saving unaligned.
14788 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14789 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14790 destroy vmx regs when saving unaligned.
14791
fef13a78
AM
147922013-10-04 Alan Modra <amodra@gmail.com>
14793
14794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14795 Don't use a union to pack hi/low value.
14796
76a66d51
AB
147972013-10-04 Anton Blanchard <anton@au1.ibm.com>
14798
14799 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14800 for little-endian.
14801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14804 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14805 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14806
6a31fe7f
AM
148072013-10-04 Alan Modra <amodra@gmail.com>
14808
14809 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14810 constants to usual value for .cst8 section, and remove redundant
14811 high address load.
14812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14813 constant for 0x1p52. Load little-endian words of double from
14814 correct stack offsets.
14815
7b88401f
AM
148162013-10-04 Alan Modra <amodra@gmail.com>
14817
14818 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14819 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14820 words of double from correct stack offsets.
14821 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14822 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14823 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14825 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14828 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14829 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14833 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14834 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14835 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14836 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14837 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14838
9c008155
AM
148392013-10-04 Alan Modra <amodra@gmail.com>
14840
14841 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14842 64-bit int/double union.
14843 (_FPU_SETCW): Likewise.
14844 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14845 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14846
da13146d
AM
148472013-10-04 Alan Modra <amodra@gmail.com>
14848
14849 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14850 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14851
603e8410
AM
148522013-10-04 Alan Modra <amodra@gmail.com>
14853
14854 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14855 use vector int constants.
14856 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14857
4a28b3ca
AB
148582013-10-04 Anton Blanchard <anton@au1.ibm.com>
14859
14860 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14861 array with long long.
14862 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14863 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14864 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14865 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14867 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14868 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14869 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14870 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14871 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14872 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14873 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14874 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14875
2ca85d2b
AB
148762013-10-04 Anton Blanchard <anton@au1.ibm.com>
14877
14878 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14879 (__signbit): Likewise. Correct for little-endian.
14880 (__signbitl): Call __signbit.
14881 (lrint): Correct for little-endian.
14882 (lrintf): Call lrint.
14883
62a728ae
AM
148842013-10-04 Alan Modra <amodra@gmail.com>
14885
14886 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14887 union 32-bit int array member with 64-bit int array.
14888 (t515, tm256): Double rather than long double.
14889 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14890
32c301df
AM
148912013-10-04 Alan Modra <amodra@gmail.com>
14892
14893 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14894 Delete.
14895 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14897 version of math_ldbl.h.
14898
650ef4bd
AM
148992013-10-04 Alan Modra <amodra@gmail.com>
14900
14901 [BZ #15734], [BZ #15735]
14902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14903 all uses of ieee875 long double macros and unions. Simplify test
14904 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14905 ldbl_extract_mantissa value for ix,iy exponents. Properly
14906 normalize after ldbl_extract_mantissa, and don't add hidden bit
14907 already handled. Don't treat low word of ieee854 mantissa like
14908 low word of IBM long double and mask off bit when testing for
14909 zero.
14910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14911 all uses of ieee875 long double macros and unions. Simplify tests
14912 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14913 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14914 two1022, instead use their values. Recognise that tests for large
14915 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14916 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14917 Rewrite all uses of ieee875 long double macros and unions. Simplify
14918 test for 0.0L and nan. Correct negation.
14919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14920 ieee875 long double macros and unions. Correct output for large
14921 magnitude x. Correct absolute value calculation.
14922 (__erfcl): Likewise.
14923 * math/libm-test.inc: Add tests for errors discovered in IBM long
14924 double versions of fmodl, remainderl, erfl and erfcl.
14925
765714ca
AM
149262013-10-04 Alan Modra <amodra@gmail.com>
14927
14928 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14929 all uses of ieee854 long double macros and unions. Simplify tests
14930 for long doubles that are fully specified by the high double.
14931 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14932 Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14934 Remove dead code too.
14935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14936 (__ieee754_ynl): Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14940 Remove dead code too.
14941 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14945 Simplify.
14946 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14947 Simplify.
14948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14951 Comment on variable precision.
14952 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14954 Likewise.
14955 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14960
4ebd120c
AM
149612013-10-04 Alan Modra <amodra@gmail.com>
14962
14963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14965 all uses of ieee854 long double macros and unions.
14966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14972 Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14979 Simplify sign and nan test too.
14980 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14984 Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14987 Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14994
1b6adf88
AM
149952013-10-04 Alan Modra <amodra@gmail.com>
14996
14997 * stdio-common/printf_size.c (__printf_size): Don't use
14998 union ieee854_long_double in fpnum union.
14999 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15000 signbit macro to retrieve sign from long double.
15001 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15002 retrieve sign from long double.
15003 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15004 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15006 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15007 * math/test-misc.c (main): Don't use union ieee854_long_double.
15008
4cf69995
AM
150092013-10-04 Alan Modra <amodra@gmail.com>
15010
15011 [BZ #15680]
15012 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15013 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15014 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15015 calculation. Remove unnecessary test for denormal exponent.
15016 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15017 Correct handling of denormals. Avoid undefined shift behaviour.
15018 Correct normalisation of low mantissa when low double is denormal.
15019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15020 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15021 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15022 Correct normalisation of low mantissa. Test for overflow of high
15023 mantissa and normalise.
15024 (ldbl_nearbyint): Use more readable constant for two52.
15025 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15026 (__mpn_construct_long_double): Fix test for overflow of high
15027 mantissa and correct normalisation. Avoid undefined shift.
15028
9605ca6c
AM
150292013-10-04 Alan Modra <amodra@gmail.com>
15030
15031 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15032 (union ibm_extended_long_double): Define as an array of ieee754_double.
15033 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15034 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15035 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15044
975569d0
JM
150452013-10-03 Joseph Myers <joseph@codesourcery.com>
15046
d3d23756
JM
15047 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15048 page size instead of calling getpagesize.
15049
975569d0
JM
15050 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15051 (LOCFILE_ALIGN_MASK): Likewise.
15052 (LOCFILE_ALIGN_UP): Likewise.
15053 (LOCFILE_ALIGNED_P): Likewise.
15054 * locale/programs/ld-collate.c (collate_output): Use the new
15055 macros instead of __alignof__ (int32_t).
15056 * locale/weight.h (findidx): Likewise.
15057
b1fe1f2b
OB
150582013-10-03 Ondřej Bílka <neleai@seznam.cz>
15059
15060 [BZ #431]
15061 * manual/string.texi: Fix strncat and wcsncat.
15062
5f855e35
BM
150632013-10-03 Brooks Moses <bmoses@google.com>
15064
15065 [BZ #15915]
15066 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15067 * Makerules: ...here, and adjust associated comments.
15068
3cef6009
WN
150692013-10-02 Will Newton <will.newton@linaro.org>
15070
15071 * malloc/Makefile: Add tst-pvalloc.
15072 * malloc/tst-pvalloc.c: New file.
15073
7815420b
WN
150742013-10-02 Will Newton <will.newton@linaro.org>
15075
15076 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15077 improve test coverage.
15078
4868b204
WN
150792013-10-02 Will Newton <will.newton@linaro.org>
15080
15081 * malloc/Makefile: Add tst-posix_memalign.
15082 * malloc/tst-posix_memalign.c: New file.
15083
29c793b3
EB
150842013-10-01 Eric Blake <eblake@redhat.com>
15085
15086 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15087 Use __THROWNL rather than __THROW on static functions.
15088
fd967522
PM
150892013-09-30 Petr Machata <pmachata@redhat.com>
15090
15091 * elf/elf.h (R_AARCH64_ABS16): New macro.
15092 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15093 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15094 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15095 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15096 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15097 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15098 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15099 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15100 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15101 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15102 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15103 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15104 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15105 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15106 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15107 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15108 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15109 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15110 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15111 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15112 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15113 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15114 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15115 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15116 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15117 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15118 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15119 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15120 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15121 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15122 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15123 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15124 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15125 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15126 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15127 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15128 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15129 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15130 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15131 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15132 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15133 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15134 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15135 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15136 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15137 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15138 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15139 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15140 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15141 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15142 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15143 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15144 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15145 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15146 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15147 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15148 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15149 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15150 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15151 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15152 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15153 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15154 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15155 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15156 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15157 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15158 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15159 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15160 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15161 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15162 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15163 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15164 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15165 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15166 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15167 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15168 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15169 (R_AARCH64_TLSDESC_LDR): Likewise.
15170 (R_AARCH64_TLSDESC_ADD): Likewise.
15171 (R_AARCH64_TLSDESC_CALL): Likewise.
15172
b2179107
AS
151732013-09-30 Andreas Schwab <schwab@suse.de>
15174
15175 [BZ #15048]
15176 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15177 the nss database lookup.
15178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15180
47f28d0a
MF
151812013-09-28 Mike Frysinger <vapier@gentoo.org>
15182
15183 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15184
151852013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15186
15187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15188 ${Bash-specific parameter/pattern/string} parameter expansion.
15189 * sysdeps/unix/make-syscalls.sh: Likewise.
15190
f4518a17
KK
151912013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15192
15193 * sysdeps/sh/stackguard-macros.h: New file.
15194
dc1a95c7
OB
151952013-09-26 Ondřej Bílka <neleai@seznam.cz>
15196
15197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15199 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15202 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15203
5ebbff8f
AZ
152042013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15205
15206 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15207 Fix thread ID register.
15208
4fd2cf9f
JM
152092013-09-25 Joseph Myers <joseph@codesourcery.com>
15210
15211 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15212 [POSIX || UNIX98]: Require rather than permitting all symbols from
15213 <time.h>.
15214 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15215 element of struct sched_param.
15216 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15217 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15218 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15219 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15220 constant.
15221
12c22bc4
OL
152222013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15223
15224 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15225 argument calculation.
15226
a03d8ea7
JM
152272013-09-24 Joseph Myers <joseph@codesourcery.com>
15228
15229 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15230 Expect macro.
15231 [POSIX] (pthread_attr_t): Do not require type.
15232 [POSIX] (pthread_cond_t): Likewise.
15233 [POSIX] (pthread_condattr_t): Likewise.
15234 [POSIX] (pthread_key_t): Likewise.
15235 [POSIX] (pthread_mutex_t): Likewise.
15236 [POSIX] (pthread_mutexattr_t): Likewise.
15237 [POSIX] (pthread_once_t): Likewise.
15238 [POSIX] (pthread_t): Likewise.
15239 [POSIX-based standards] (pthread_atfork): Expect function.
15240
6055173a
JM
152412013-09-24 Joseph Myers <joseph@codesourcery.com>
15242 Richard Sandiford <richard@codesourcery.com>
15243
15244 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15245 (swap_endianness_p): New extern variable.
15246 (set_big_endian): New inline function.
15247 (maybe_swap_uint32): Likewise.
15248 (maybe_swap_uint32_array): Likewise.
15249 (maybe_swap_uint32_obstack): Likewise.
15250 * locale/programs/locfile.c: Include <stdbool.h>.
15251 (swap_endianness_p): New variable.
15252 (add_locale_uint32): Call maybe_swap_uint32.
15253 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15254 (write_locale_data): Call maybe_swap_uint32_array.
15255 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15256 maybe_swap_uint32.
15257 (obstack_int32_grow_fast): Likewise.
15258 (output_weightwc): Call maybe_swap_uint32_obstack.
15259 (collate_output): Likewise.
15260 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15261 (OPT_LITTLE_ENDIAN): Likewise.
15262 (options): Add --little-endian and --big-endian options.
15263 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15264 * locale/programs/locarchive.c: Include "locfile.h".
15265 (GET): New macro.
15266 (SET): Likewise.
15267 (INC): Likewise.
15268 (create_archive): Use the new macros to access fields of
15269 structures directly mapped from or written to locale archives.
15270 (oldlocrecentcmp): Likewise.
15271 (enlarge_archive): Likewise.
15272 (insert_name): Likewise.
15273 (add_alias): Likewise.
15274 (add_locale): Likewise.
15275 (delete_locales_from_archive): Likewise.
15276 (show_archive_content): Likewise.
15277 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15278 locale data.
15279
39bf0bb4
RM
152802013-09-24 Roland McGrath <roland@hack.frob.com>
15281
15282 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15283 http://www.gnu.org/doc/freemanuals.texi.
15284 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15285
f02eed10
WN
152862013-09-24 Will Newton <will.newton@linaro.org>
15287
15288 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15289 macro.
15290
a3a6c312
JM
152912013-09-23 Joseph Myers <joseph@codesourcery.com>
15292
15293 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15294 unsigned char.
15295
107375ac
MR
152962013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15297
15298 * manual/threads.texi (POSIX Threads): Fix a typo.
15299
141f3a77
SP
153002013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15301
303e567a
SP
15302 [BZ #14547]
15303 * string/tst-strcoll-overflow.c: New test case.
15304 * string/Makefile (xtests): Add tst-strcoll-overflow.
15305 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15306 cache if string sizes may cause integer overflow.
15307
141f3a77
SP
15308 [BZ #14547]
15309 * string/strcoll_l.c (coll_seq): New members rule, idx,
15310 save_idx and back_us.
15311 (get_next_seq_nocache): New function.
15312 (do_compare_nocache): New function.
15313 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15314 when malloc fails.
15315
c61b4d41
CD
153162013-09-23 Carlos O'Donell <carlos@redhat.com>
15317
0b1f8e35
CD
15318 [BZ #15754]
15319 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15320 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15321 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15322
c61b4d41
CD
15323 [BZ #15754]
15324 * elf/Makefile (tests): Add tst-ptrguard1.
15325 (tests-static): Add tst-ptrguard1-static.
15326 (tst-ptrguard1-ARGS): Define.
15327 (tst-ptrguard1-static-ARGS): Define.
15328 * elf/tst-ptrguard1.c: New file.
15329 * elf/tst-ptrguard1-static.c: New file.
15330 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15331 * sysdeps/i386/stackguard-macros.h: Likewise.
15332 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15333 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15334 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15335 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15336 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15337 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15338
153392013-09-23 Hector Marco <hecmargi@upv.es>
15340 Ismael Ripoll <iripoll@disca.upv.es>
15341 Carlos O'Donell <carlos@redhat.com>
15342
15343 [BZ #15754]
15344 * sysdeps/generic/stackguard-macros.h: Define
15345 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15346 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15347 Define __pointer_chk_guard_local.
15348 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15349 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15350
f5f4e7b4
VV
153512013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15352
15353 [BZ #15859]
15354 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15355
5bb43a43
AS
153562013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15357
15358 * include/string.h (__ffs): Declare as hidden.
15359 * string/ffs.c (__ffs): Define as hidden.
15360 * sysdeps/i386/ffs.c (__ffs): Likewise.
15361 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15362 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15363 * sysdeps/s390/ffs.c (__ffs): Likewise.
15364 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15365
3ea5be54
AO
153662013-09-20 Alexandre Oliva <aoliva@redhat.com>
15367
ffb89e53
AO
15368 * NEWS: Mention malloc probes.
15369
322dea08
AO
15370 * malloc/arena.c (new_heap): New memory_heap_new probe.
15371 (grow_heap): New memory_heap_more probe.
15372 (shrink_heap): New memory_heap_less probe.
15373 (heap_trim): New memory_heap_free probe.
15374 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15375 (systrim): New memory_sbrk_less probe.
15376 * manual/probes.texi: Document them.
15377
655673f3
AO
15378 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15379 * manual/probes.texi: Document it.
15380
35fed6f1
AO
15381 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15382 (__libc_realloc): Add memory_realloc_retry probe.
15383 (__libc_memalign): Add memory_memalign_retry probe.
15384 (__libc_valloc): Add memory_valloc_retry probe.
15385 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15386 (__libc_calloc): Add memory_calloc_retry probe.
15387 * manual/probes.texi: Document them.
15388
6999d38c
AO
15389 * malloc/arena.c (get_free_list): Add probe
15390 memory_arena_reuse_free_list.
15391 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15392 and memory_arena_reuse.
15393 (arena_get2) [!PER_THREAD]: Likewise.
15394 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15395 memory_arena_reuse_realloc.
15396 * manual/probes.texi: Document them.
15397
0653427f
AO
15398 * malloc/malloc.c (__libc_free): Add
15399 memory_mallopt_free_dyn_thresholds probe.
15400 (__libc_mallopt): Add multiple memory_mallopt probes.
15401 * manual/probes.texi: Document them.
15402
3ea5be54
AO
15403 * malloc/malloc.c: Include stap-probe.h.
15404 (__libc_mallopt): Add memory_mallopt probe.
15405 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15406 * manual/probes.texi: New.
15407 * manual/Makefile (chapters): Add probes.
15408 * manual/threads.texi: Set next node.
15409
e35696c3 154102013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15411
e35696c3
CL
15412 [BZ #15963, #13985]
15413 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15414 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15415 Add `Chinese' to `nan' entry name.
15416
4aafb73c
SP
154172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15418
15419 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15420 (POLYNOMIAL): Likewise.
15421 (TAYLOR_SINCOS): Likewise.
15422 (TAYLOR_SLOW): Likewise.
15423 (__sin): Use TAYLOR_SINCOS.
15424 (__cos): Likewise.
15425 (slow): Use TAYLOR_SLOW.
15426 (sloww): Likewise.
15427 (bsloww): Likewise.
15428 (csloww): Likewise.
15429
d84f25c7
LD
154302013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15431
15432 * stdlib/strtod_l.c: Fix buffer overrun.
15433
5eea0404
SP
154342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15435
7849ff93
SP
15436 * benchtests/Makefile (bench): Add sincos.
15437 * benchtests/bench-sincos.c: New file.
15438
cfa3c886
SP
15439 * math/libm-test.inc (cos_test_data): New test inputs.
15440 (sin_test_data): Likewise.
15441
b348e1e3
SP
15442 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15443 macro.
15444 (__sin): Use it.
15445 (__cos): Likewise.
15446 (slow1): Likewise.
15447 (slow2): Likewise.
15448 (sloww1): Likewise.
15449 (sloww2): Likewise.
15450 (bsloww1): Likewise.
15451 (bsloww2): Likewise.
15452 (cslow2): Likewise.
15453 (csloww1): Likewise.
15454 (csloww2): Likewise.
15455
6cce25f8
SP
15456 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15457 function.
15458 (__sin): Use it.
15459 (__cos): Likewise.
15460
5eea0404
SP
15461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15462 gotos.
15463 (__cos): Likewise.
15464
9c21573c
MR
154652013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15466
15467 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15468 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15469 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15470 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15471 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15472 * elf/cache.c (print_entry): Handle the new cache flags.
15473
24d22e65
JM
154742013-09-18 Joseph Myers <joseph@codesourcery.com>
15475 Aldy Hernandez <aldyh@redhat.com>
15476
15477 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15478 Change condition to [_SOFT_FLOAT].
15479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15491 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15494 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15495 declaration.
15496
d13ef066
JM
154972013-09-18 Joseph Myers <joseph@codesourcery.com>
15498
2e071de0
JM
15499 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15500 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15501 (__longjmp): Use LOAD_GP to load saved GPRs.
15502 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15503 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15504 (__sigsetjmp): Use SAVE_GP to save GPRs.
15505
d13ef066
JM
15506 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15507 Do not append -msoft-float.
15508 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15509
97a0650b
SP
155102013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15511
15512 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15513
11ca09e9
JM
155142013-09-17 Joseph Myers <joseph@codesourcery.com>
15515
15516 [BZ #15966]
15517 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15518 (_FPU_GETCW): Use initial "__" on variable and field names but not
15519 on macro parameter name.
15520 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15521 parentheses around reference to macro parameter.
15522
08ffcf34
RS
155232013-09-13 Richard Sandiford <richard@codesourcery.com>
15524
15525 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15526 prototype.
15527 (ctype_startup): Use uint32_t in cast and sizeof for
15528 ctype->charnames.
15529
ae7080d3
JL
155302013-09-11 Jia Liu <proljc@gmail.com>
15531
15532 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15533 __daddr_t_defined.
15534 [__FreeBSD__]: Likewise.
15535
5905e7b3
OB
155362013-09-11 Ondřej Bílka <neleai@seznam.cz>
15537
15538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15539 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15540 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15541 (strchr): Remove __strchr_sse42 ifunc selection.
15542 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15543 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15544
b987c776
WN
155452013-09-11 Will Newton <will.newton@linaro.org>
15546
15547 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15548 parameter to RES. Remove hardcoded 1000 value.
15549 * benchtests/bench-skeleton.c (main): Pass RES parameter
15550 to TIMING_INIT and multiply result by 1000.
15551
ddf985af
AZ
155522013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15553
15554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15555
ffdd3181
AS
155562013-09-11 Andreas Schwab <schwab@suse.de>
15557
15558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15559 if not defined.
15560 (O_TMPFILE) [__USE_GNU]: Define.
15561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15562 Define.
15563
b73ed247
WN
155642013-09-11 Will Newton <will.newton@linaro.org>
15565
15566 [BZ #15857]
15567 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15568 does not overflow.
15569
55e17aad
WN
155702013-09-11 Will Newton <will.newton@linaro.org>
15571
15572 [BZ #15856]
15573 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15574 does not overflow.
15575
1159a193
WN
155762013-09-11 Will Newton <will.newton@linaro.org>
15577
15578 [BZ #15855]
15579 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15580 does not overflow.
15581
5905e7b3 155822013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15583
15584 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15586 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15587 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15589
cdfc721b
AM
155902013-09-10 Allan McRae <allan@archlinux.org>
15591
aa04af00
AM
15592 [BZ #15748]
15593 * manual/arith.texi (Parsing of Floats): Clarify
15594 cross-reference.
15595
cdfc721b
AM
15596 [BZ #15849]
15597 * manual/install.texi (Running make install): Mention
15598 --enable-pt-chown.
15599 * INSTALL: Regenerated.
15600
95e7cf29
MR
156012013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15602
15603 * csu/init-first.c (_init): Remove the !SHARED condition around
15604 FPU control word initialization.
15605 * elf/dl-support.c (_dl_fpu_control): New variable.
15606 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15607 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15608 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15609 * math/test-fpucw-static.c: New file.
15610 * math/test-fpucw-ieee.c: New file.
15611 * math/test-fpucw-ieee-static.c: New file.
15612 * math/Makefile (tests): Add `test-fpucw-ieee' and
15613 `$(tests-static)'.
15614 (tests-static): New variable.
15615 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15616 dependency to...
15617 [($(build-shared),yes)]
15618 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15619 ... this.
15620 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15621 New dependency.
15622
83e43bf0
AM
156232013-09-09 Allan McRae <allan@archlinux.org>
15624
a9f5ce09
AM
15625 [BZ #15939]
15626 * manual/string.texi (Collation Functions): Fix typo in
15627 strcoll example.
15628 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15629
34829bc2
AM
15630 [BZ #15893]
15631 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15632
3932737d
AM
15633 [BZ #15892]
15634 * libio/memstream.c (open_memstream): Fix memory leak.
15635 * libio/wmemstream.c (open_wmemstream): Likewise.
15636
83e43bf0
AM
15637 [BZ #15895]
15638 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15639
0c66b8e9
WN
156402013-09-09 Will Newton <will.newton@linaro.org>
15641
15642 * malloc/Makefile: Add tst-realloc to tests.
15643 * malloc/tst-realloc.c: New file.
15644
f6b00fd1
AM
156452013-09-09 Allan McRae <allan@archlinux.org>
15646
15647 [BZ #15844]
15648 * COPYING: Update from GNU website to fix FSF address.
15649 * COPYING.LIB: Likewise.
15650
eec55e16
DM
156512013-09-06 David S. Miller <davem@davemloft.net>
15652
15653 * po/zh_TW.po: Update Chinese (traditional) translation from
15654 translation project.
15655
1ecbb381
RS
156562013-09-06 Richard Sandiford <richard@codesourcery.com>
15657 Joseph Myers <joseph@codesourcery.com>
15658
15659 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15660 "localeinfo.h".
15661 (obstack_chunk_alloc): New macro.
15662 (obstack_chunk_free): Likewise.
15663 (record_offset): New function.
15664 (init_locale_data): Likewise.
15665 (align_locale_data): Likewise.
15666 (add_locale_empty): Likewise.
15667 (add_locale_raw_data): Likewise.
15668 (add_locale_raw_obstack): Likewise.
15669 (add_locale_string): Likewise.
15670 (add_locale_wstring): Likewise.
15671 (add_locale_uint32): Likewise.
15672 (add_locale_uint32_array): Likewise.
15673 (add_locale_char): Likewise.
15674 (start_locale_structure): Likewise.
15675 (end_locale_structure): Likewise.
15676 (start_locale_prelude): Likewise.
15677 (end_locale_prelude): Likewise.
15678 (write_locale_data): Take locale_file structure rather than an
15679 iovec.
15680 * locale/programs/locfile.h: Include "obstack.h".
15681 (struct locale_file): Change to store locale file contents instead
15682 of header.
15683 (init_locale_data): New prototype.
15684 (align_locale_data): Likewise.
15685 (add_locale_empty): Likewise.
15686 (add_locale_raw_data): Likewise.
15687 (add_locale_raw_obstack): Likewise.
15688 (add_locale_string): Likewise.
15689 (add_locale_wstring): Likewise.
15690 (add_locale_uint32): Likewise.
15691 (add_locale_uint32_array): Likewise.
15692 (add_locale_char): Likewise.
15693 (start_locale_structure): Likewise.
15694 (end_locale_structure): Likewise.
15695 (start_locale_prelude): Likewise.
15696 (end_locale_prelude): Likewise.
15697 (write_locale_data): Update prototype.
15698 * locale/programs/3level.h (struct TABLE): Remove result field.
15699 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15700 Use new locale_file interface.
15701 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15702 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15703 * locale/programs/ld-address.c (address_output): Use new
15704 locale_file interface.
15705 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15706 NO_ADD_LOCALE.
15707 (collate_finish): Don't call collseq_table_finalize.
15708 (collate_output): Use new locale_file interface.
15709 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15710 in file.
15711 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15712 (TABLE): Move defines earlier in file.
15713 (ELEMENT): Likewise.
15714 (DEFAULT): Likewise.
15715 (wctrans_table_add): Move macro and inline function earlier in
15716 file.
15717 (struct wctype_table): Move type earlier in file.
15718 (add_locale_wctype_table): New static prototype.
15719 (struct locale_ctype_t): Use logical types instead of struct iovec
15720 pointers for members.
15721 (ctype_output): Use new locale_file interface.
15722 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15723 new locale_file interface.
15724 (allocate_arrays): Update for use of new locale_file interface.
15725 * locale/programs/ld-identification.c (identification_output): Use
15726 new locale_file interface.
15727 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15728 * locale/programs/ld-messages.c (messages_output): Likewise.
15729 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15730 * locale/programs/ld-name.c (name_output): Likewise.
15731 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15732 * locale/programs/ld-paper.c (paper_output): Likewise.
15733 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15734 * locale/programs/ld-time.c (time_output): Likewise.
15735
e029e2e5
AZ
157362013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15737
15738 * benchtests/Makefile: Add memrchr benchmark.
15739 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15740 benchmark as memrchr.
15741 * benchtests/bench-memrchr-ifunc.c: New file.
15742 * benchtests/bench-memrchr.c: New file.
15743
bbf6e8e4
WN
157442013-09-06 Will Newton <will.newton@linaro.org>
15745
15746 * benchtests/Makefile (string-bench): Add memcpy.
15747
6c82a2f8
CD
157482013-09-05 Carlos O'Donell <carlos@redhat.com>
15749 Cong Wang <amwang@redhat.com>
15750
e732c5f0 15751 [BZ #15850]
6c82a2f8
CD
15752 * sysdeps/unix/sysv/linux/bits/in.h
15753 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15754 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15755 before __USE_KERNEL_IPV6_DEFS uses.
15756 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15757 IPPROTO_BEETPH.
15758 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15759 sockaddr_in6, or ipv6_mreq.
15760
5430fc65
AZ
157612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15762
15763 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15764 memory access for final bytes in some large inputs.
15765 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15766
4660856c
AZ
157672013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15768
15769 * string/test-memrchr.c: New file.
15770 * string/test-memrchr-ifunc.c: New file.
15771 * string/Makefile: Add new memrchr testcase.
15772
bb8ea713
MF
157732013-09-05 Mike Frysinger <vapier@gentoo.org>
15774
15775 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15776 fanotify_init returns EPERM.
15777
b92a20b5
JM
157782013-09-04 Joseph Myers <joseph@codesourcery.com>
15779
15780 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15781 errors.
15782 (top level): Treat second token from macro or constant entries for
15783 allowed headers as allowed.
15784 * include/complex.h: Condition internal declarations on
15785 [!_ISOMAC].
15786 * include/fenv.h: Condition include of <stdbool.h> and internal
15787 declarations on [!_ISOMAC].
7447ccd9
CL
15788
157892013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15790
3e181dda 15791 [BZ #15923]
7447ccd9
CL
15792 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15793
3f2e46a4
JM
157942013-09-04 Joseph Myers <joseph@codesourcery.com>
15795
15796 * configure.in (--enable-versioning): Remove configure option.
15797 (libc_cv_asm_symver_directive): Remove configure test.
15798 (libc_cv_ld_version_script_option): Likewise.
15799 (VERSIONING): Remove variable and AC_SUBST.
15800 (DO_VERSIONING): Remove AC_DEFINE.
15801 * configure: Regenerated.
15802 * config.h.in (DO_VERSIONING): Remove macro.
15803 * Makerules [$(versioning) = yes]: Change conditionals to
15804 [$(build-shared) = yes].
15805 * config.make.in (versioning): Remove variable.
15806 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15807 [$(build-shared) = yes].
15808 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15809 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15810 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15811 [$(build-shared) = yes].
15812 * extra-lib.mk [$(versioning) = yes]: Likewise.
15813 * hurd/Makefile [$(versioning) = yes]: Likewise.
15814 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15815 [SHARED].
15816 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15817 [SHARED].
15818 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15819 [SHARED && !NO_HIDDEN].
15820 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15821 [SHARED].
15822 [SHARED && DO_VERSIONING]: Likewise..
15823 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15824 [$(build-shared) = yes].
15825 * manual/install.texi (--disable-versioning): Remove
15826 documentation.
15827 * INSTALL: Regenerated.
15828 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15829 to [SHARED].
15830 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15831 [$(build-shared) = yes].
15832 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15833 * sysdeps/i386/i686/multiarch/strstr-c.c
15834 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15835 [SHARED && !NO_HIDDEN].
15836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15837 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15838 * sysdeps/powerpc/powerpc32/dl-machine.c
15839 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15840 * sysdeps/powerpc/powerpc32/sysdep.h
15841 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15842 to [SHARED && PIC && !NO_HIDDEN].
15843 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15844 conditional to [SHARED].
15845
44558701
WN
158462013-09-04 Will Newton <will.newton@linaro.org>
15847
15848 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15849 * benchtests/bench-string.h: Include bench-timing.h instead
15850 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15851 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15852 call to HP_TIMING_DIFF_INIT.
15853 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15854 instead of hp-timing.h macros.
15855 * benchtests/bench-memchr.c: Likewise.
15856 * benchtests/bench-memcmp.c: Likewise.
15857 * benchtests/bench-memcpy.c: Likewise.
15858 * benchtests/bench-memmem.c: Likewise.
15859 * benchtests/bench-memmove.c: Likewise.
15860 * benchtests/bench-memset.c: Likewise.
15861 * benchtests/bench-rawmemchr.c: Likewise.
15862 * benchtests/bench-strcasecmp.c: Likewise.
15863 * benchtests/bench-strcasestr.c: Likewise.
15864 * benchtests/bench-strcat.c: Likewise.
15865 * benchtests/bench-strchr.c: Likewise.
15866 * benchtests/bench-strcmp.c: Likewise.
15867 * benchtests/bench-strcpy.c: Likewise.
15868 * benchtests/bench-strcpy_chk.c: Likewise.
15869 * benchtests/bench-strlen.c: Likewise.
15870 * benchtests/bench-strncasecmp.c: Likewise.
15871 * benchtests/bench-strncat.c: Likewise.
15872 * benchtests/bench-strncmp.c: Likewise.
15873 * benchtests/bench-strncpy.c: Likewise.
15874 * benchtests/bench-strnlen.c: Likewise.
15875 * benchtests/bench-strpbrk.c: Likewise.
15876 * benchtests/bench-strrchr.c: Likewise.
15877 * benchtests/bench-strspn.c: Likewise.
15878 * benchtests/bench-strstr.c: Likewise.
15879
cae16d66
WN
158802013-09-04 Will Newton <will.newton@linaro.org>
15881
15882 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15883
ffa3cd7f
JM
158842013-09-03 Joseph Myers <joseph@codesourcery.com>
15885
15886 [BZ #15427]
15887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15888 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15889 * math/libm-test.inc (lgamma_test_data): Add more tests.
15890 * sysdeps/i386/fpu/libm-test-ulps: Update.
15891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15892
8f02859f
OB
158932013-09-03 Ondřej Bílka <neleai@seznam.cz>
15894
15895 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15896 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15897 Add ifunc.
15898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15899 Add strcmp-sse2-unaligned
15900 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15901
18d43716
MF
159022013-09-02 Mike Frysinger <vapier@gentoo.org>
15903
15904 * Versions.def (libc): Add GLIBC_2.19.
15905
ac444012
MF
159062013-09-02 Mike Frysinger <vapier@gentoo.org>
15907
15908 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15909 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15910
b7835e32
JM
159112013-09-02 Joseph Myers <joseph@codesourcery.com>
15912
15913 [BZ #14155]
15914 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15915 intermediate calculations in recurrence.
15916 (__ieee754_ynf): Likewise.
15917 * math/libm-test.inc (jn_test_data): Do not allow spurious
15918 underflow exception. Add more tests.
15919 (yn_test_data): Add more tests.
15920 * sysdeps/i386/fpu/libm-test-ulps: Update.
15921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15922
8220f4f0
OB
159232013-09-02 Ondřej Bílka <neleai@seznam.cz>
15924
15925 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15926
f24a6d08
OB
159272013-08-30 Ondřej Bílka <neleai@seznam.cz>
15928
15929 * csu/init-first.c: Fix then/than typos.
15930 * locale/programs/ld-collate.c: Likewise.
15931 * locale/programs/linereader.h: Likewise.
15932 * manual/charset.texi: Likewise.
15933 * manual/filesys.texi: Likewise.
15934 * manual/stdio.texi: Likewise.
15935 * manual/string.texi: Likewise.
15936 * stdlib/fmtmsg.c: Likewise.
15937 * sysdeps/i386/stpncpy.S: Likewise.
15938 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15939 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15941 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15942
382466e0
OB
159432013-08-30 Ondřej Bílka <neleai@seznam.cz>
15944
15945 * elf/dl-open.c: Fix typos.
15946 * iconvdata/gbbig5.c: Likewise.
15947 * iconvdata/iso-2022-jp.c: Likewise.
15948 * iconv/gconv_int.h: Likewise.
15949 * iconv/loop.c: Likewise.
15950 * nis/rpcsvc/nis.h: Likewise.
15951 * resolv/ns_name.c: Likewise.
15952 * stdio-common/vfscanf.c: Likewise.
15953 * streams/stropts.h: Likewise.
15954 * sunrpc/rpc_thread.c: Likewise.
15955 * sysdeps/i386/strpbrk.S: Likewise.
15956 * sysdeps/ieee754/k_standard.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15959 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15960 * sysdeps/mach/hurd/profil.c: Likewise.
15961 * sysdeps/s390/dl-procinfo.h: Likewise.
15962 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15963 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15964 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15965 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15967
0186c6e9
OB
159682013-08-30 Ondřej Bílka <neleai@seznam.cz>
15969
15970 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15972
d4e16af1
OB
159732013-08-29 Ondřej Bílka <neleai@seznam.cz>
15974
15975 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15976 aix specific files.
15977 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15979 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15981 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15982 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15983 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15985
88335980
TS
159862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15987 Roland McGrath <roland@hack.frob.com>
15988
15989 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15990 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15991
ed479b02
ST
159922013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15993
15994 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15995 __executable_start symbol instead of _start.
15996
f1cc4c86
TS
159972013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15998
d821f07c
TS
15999 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16000 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16001 Move macros to...
16002 * sysdeps/gnu/ldsodefs.h: ... this new file.
16003
c54290cf
TS
16004 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16005 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16006 instead of ELFOSABI_LINUX.
16007
0007fc9b 16008 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16009 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16010 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16011 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16012 Likewise.
16013 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16014 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16016 Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16018 (ibm_extended_long_double): Add ieee_nan member.
16019 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16020 (do_test): New function.
16021
f1cc4c86
TS
16022 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16023 TEST_TRUNC.
16024 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16025 functions, renamed from truncdfsf_test, trunctfsf_test,
16026 trunctfdf_test.
16027 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16028 functions.
16029 (do_test): Run all these.
16030
6f65e668
OB
160312013-08-29 Ondřej Bílka <neleai@seznam.cz>
16032
16033 * argp/argp-help.c: Fix typos.
16034 * argp/argp-parse.c: Likewise.
16035 * debug/backtracesyms.c: Likewise.
16036 * elf/elf.h: Likewise.
16037 * malloc/malloc.c: Likewise.
16038 * nis/nis_print.c: Likewise.
16039 * resolv/res_comp.c: Likewise.
16040 * stdlib/stdlib.h: Likewise.
16041 * sunrpc/clnt_tcp.c: Likewise.
16042 * sunrpc/clnt_udp.c: Likewise.
16043 * sunrpc/clnt_unix.c: Likewise.
16044 * sysdeps/unix/bsd/ptsname.c: Likewise.
16045 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16046 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16048 Likewise.
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16050 Likewise.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16052 Likewise.
6f65e668
OB
16053 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16054
3a309239
SP
160552013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16056
16057 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16059
3b813b29
MF
160602013-08-27 Mike Frysinger <vapier@gentoo.org>
16061
16062 [BZ #15897]
16063 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16064 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16065 ($(objpfx)bug-dl-leaf): New rule.
16066 ($(objpfx)bug-dl-leaf.so): Likewise.
16067 ($(objpfx)bug-dl-leaf.out): Likewise.
16068 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16069 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16070 * dlfcn/bug-dl-leaf.c: New test.
16071 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16072 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16073 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16074 (dlclose): Likewise.
16075 (dlmopen): Likewise.
16076
8cc3269f
RM
160772013-08-27 Roland McGrath <roland@hack.frob.com>
16078
7f9d0034
RM
16079 * include/netdb.h [!_ISOMAC]:
16080 Don't include <tls.h>.
16081 (h_errno, __libc_h_errno): Move declaration and macros out of
16082 [_LIBC_REENTRANT].
16083
fb431262
RM
16084 * include/resolv.h [_RESOLV_H_]:
16085 Don't include <tls.h>.
16086 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16087 * resolv/res_libc.c: Don't include <tls.h>.
16088 (_res): Use __attribute__ ((nocommon)) in place of
16089 __attribute__ ((section (".bss"))).
16090
bd81123a
RM
16091 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16092 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16093
c4e42566
RM
16094 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16095
f890a59b
RM
16096 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16097 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16098
16099 * resolv/res_mkquery.c: Include <sys/time.h>.
16100
5d1f0a09
RM
16101 * inet/ifreq.c: Moved to ...
16102 * sysdeps/unix/ifreq.c: ... here.
16103 * inet/ifreq.c: New file, true stub version.
16104
6fcf28b3
RM
16105 * socket/sa_len.c: New file.
16106 * socket/Makefile (aux): Add it.
16107 * sysdeps/unix/sysv/linux/Makefile
16108 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16109 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16110 and #include <socket/sa_len.c>.
16111 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16112 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16113
e041fb8b
RM
16114 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16115 * bits/socket.h: ... here.
16116
8cc3269f
RM
16117 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16118 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16119 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16120
5d228a43
AS
161212013-08-27 Andreas Schwab <schwab@suse.de>
16122
45b8accc
AS
16123 [BZ #15736]
16124 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16125 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16126 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16127 * string/test-strcasecmp.c (test_main): Run tests in several
16128 locales.
16129 * string/test-strncasecmp.c (test_main): Likewise.
16130
5d228a43
AS
16131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16132 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16133 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16135 (__strncasecmp_ssse3) [PIC]: Likewise.
16136
59d112a4
RM
161372013-08-26 Roland McGrath <roland@hack.frob.com>
16138
53234cc3
RM
16139 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16140
59d112a4
RM
16141 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16142 instead of explicitly declaring xdecrypt.
16143 * nis/nss_nis/nis-publickey.c: Likewise.
16144
595aba70
SP
161452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16146
16147 [BZ #15890]
16148 * nscd/aicache.c: Include res_hconf.h.
16149 (addhstaiX): Initialize res_hconf.
16150
ffabd393
AS
161512013-08-26 Andreas Schwab <schwab@suse.de>
16152
16153 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16154 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16155
e0a69f5c
SP
161562013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16157
16158 * nscd/aicache.c (addhstaiX): Fix indentation.
16159
8c12f01d
MF
161602013-08-25 Mike Frysinger <vapier@gentoo.org>
16161
16162 * configure.ac: Quote $build_pt_chown test.
16163 * configure: Regenerated.
16164
8fe89494
JM
161652013-08-23 Joseph Myers <joseph@codesourcery.com>
16166
16167 [BZ #15532]
16168 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16169 * math/s_cexpf.c (__cexpf): Likewise.
16170 * math/s_cexpl.c (__cexpl): Likewise.
16171 * math/libm-test.inc (cexp_test_data): Correct expected return
16172 value for NaN + i0. Add another test.
16173
75b181d6
DM
161742013-08-22 David S. Miller <davem@davemloft.net>
16175
16176 * po/ca.po: Update Catalan translation from translation project.
936241e4 16177 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16178
acd06bb1
JM
161792013-08-21 Joseph Myers <joseph@codesourcery.com>
16180
16181 [BZ #15797]
16182 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16183 is infinite, not alongside NaN test.
16184 * math/s_fdimf.c (__fdimf): Likewise.
16185 * math/s_fdiml.c (__fdiml): Likewise.
16186 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16187 errno is unchanged.
16188
c0c3f78a
OB
161892013-08-21 Ondřej Bílka <neleai@seznam.cz>
16190
16191 * argp/argp-help.c: Fix typos.
16192 * crypt/speeds.c: Likewise.
16193 * csu/check_fds.c: Likewise.
16194 * elf/dl-load.c: Likewise.
16195 * elf/dl-open.c: Likewise.
16196 * elf/reldep3.c: Likewise.
16197 * elf/reldep.c: Likewise.
16198 * elf/sprof.c: Likewise.
16199 * iconv/iconv_charmap.c: Likewise.
16200 * iconv/skeleton.c: Likewise.
16201 * iconv/strtab.c: Likewise.
16202 * io/lockf64.c: Likewise.
16203 * libio/libioP.h: Likewise.
16204 * resolv/gai_notify.c: Likewise.
16205 * resolv/ns_name.c: Likewise.
16206 * resolv/ns_samedomain.c: Likewise.
16207 * resolv/res_send.c: Likewise.
16208 * stdlib/random.c: Likewise.
16209 * sunrpc/rpc/xdr.h: Likewise.
16210 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16212 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16213 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16218 * sysdeps/mach/hurd/check_fds.c: Likewise.
16219 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16220 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16221 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16222 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16223 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16224 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16225 * sysdeps/pthread/aio_notify.c: Likewise.
16226 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16227 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16228 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16230 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16231
46ed1038
LD
162322013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16233
16234 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16235 version if bit_Slow_SSE4_2 is set.
16236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16238
d400dcac
AZ
162392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16240
16241 [BZ #15867]
16242 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16243 trampoline stack frame information.
16244 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16246 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16247 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16248 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16249 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16250 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16251 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16252 sa_flags value.
16253 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16254 interrupting a syscall and set with option SA_SIGINFO.
16255
42c8fdd8
JM
162562013-08-20 Joseph Myers <joseph@codesourcery.com>
16257
c980f2f4
JM
16258 [BZ #15531]
16259 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16260 argument is infinite.
16261 * math/s_cprojf.c (__cprojf): Likewise.
16262 * math/s_cprojl.c (__cprojl): Likewise.
16263 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16264 * math/libm-test.inc (cproj_test_data): Add more tests.
16265
0716c4fc
JM
16266 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16267
42c8fdd8
JM
16268 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16269 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16270 size. Use __ffs to determine corresponding shift.
16271
b31469d0
JM
162722013-08-20 Joseph Myers <joseph@codesourcery.com>
16273 Roland McGrath <roland@hack.frob.com>
16274
16275 * Makefile (INSTALL): Remove trailing blank lines from output of
16276 makeinfo.
16277
4e39af6e
AK
162782013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16279
16280 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16281 Align 32 bit compat elf_greg to 8 bytes.
16282
f315524e
AA
162832013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16284
16285 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16286
1326ba1a
SP
162872013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16288
16289 * string/strcoll_l.c (coll_seq): New structure.
16290 (get_next_seq_cached): New function.
16291 (get_next_seq): New function.
16292 (do_compare): New function.
16293 (STRCOLL): Use GNU style definition. Simplify implementation
16294 by using get_next_seq, get_next_seq_cached and do_compare.
16295
91ce4085
FW
162962013-08-16 Florian Weimer <fweimer@redhat.com>
16297
16298 [BZ #14699]
16299 CVE-2013-4237
16300 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16301 member.
16302 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16303 member.
16304 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16305 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16306 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16307 conditional.
16308 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16309 GETDENTS_64BIT_ALIGNED.
16310 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16311 * manual/filesys.texi (Reading/Closing Directory): Document
16312 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16313 strongly.
16314 * manual/conf.texi (Limits for Files): Add portability note to
16315 NAME_MAX, PATH_MAX.
16316 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16317
ca0a6bc4
AS
163182013-08-13 Andreas Schwab <schwab@suse.de>
16319
16320 [BZ #15749]
16321 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16322 of fabs.
16323 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16324 LDBL_MAX_EXP >= 16384]: Add tests for it.
16325
6c1fd795
DM
163262013-08-12 David S. Miller <davem@davemloft.net>
16327
16328 * version.h (RELEASE): Set to "development".
16329 (VERSION): Set to "2.18.90".
16330 * NEWS: Add 2.19 section.
16331
31ad488d
DM
163322013-08-03 David S. Miller <davem@davemloft.net>
16333
16334 * po/ko.po: Update Korean translation from translation project.
16335
db24e684
DM
163362013-08-01 David S. Miller <davem@davemloft.net>
16337
16338 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16339 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16340 Bilka.
16341
f723285b
DM
163422013-07-30 David S. Miller <davem@davemloft.net>
16343
16344 * po/fr.po: Update French translation from translation project.
16345
3cbc52db
DM
163462013-07-28 David S. Miller <davem@davemloft.net>
16347
30bbc0cc
DM
16348 * po/cs.po: Update Czech translation from translation project.
16349
3cbc52db
DM
16350 * po/sv.po: Update Swedish translation from translation project.
16351
d492e6d0
DM
163522013-07-27 David S. Miller <davem@davemloft.net>
16353
f1a7f492
DM
16354 * po/eo.po: Update Esperanto translation from translation project.
16355
90e62a4a
DM
16356 * po/vi.po: Update Vietnamese translation from translation project.
16357
d492e6d0
DM
16358 * po/de.po: Update German translation from translation project.
16359
d4baa62d
DM
163602013-07-26 David S. Miller <davem@davemloft.net>
16361
641aa7b4
DM
16362 * po/bg.po: Update Bulgarian translation from translation project.
16363
d4baa62d
DM
16364 * po/nl.po: Update Dutch translation from translation project.
16365 * po/pl.po: Update Polish translation from translation project.
16366 * po/ru.po: Update Russian translation from translation project.
16367
61a9dcb9
DM
163682013-07-24 David S. Miller <davem@davemloft.net>
16369
16370 * po/libc.pot: Update.
16371
7b1f8b58
AZ
163722013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16373
16374 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16375 variable page size.
16376 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16377 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16378 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16379
a8fc7a03
AK
163802013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16381
16382 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16383
e4608715
CD
163842013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16385 Andreas Schwab <schwab@suse.de>
16386 Roland McGrath <roland@hack.frob.com>
16387 Joseph Myers <joseph@codesourcery.com>
16388 Carlos O'Donell <carlos@redhat.com>
16389
16390 [BZ #15755]
16391 * config.h.in: Define HAVE_PT_CHOWN.
16392 * config.make.in (build-pt-chown): New variable.
16393 * configure.in (--enable-pt_chown): New configure option.
16394 * configure: Regenerate.
16395 * login/Makefile: Include Makeconfig. Build pt_chown only if
16396 build-pt-chown is enabled.
16397 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16398 pt_chown to fix pty ownership.
16399 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16400 CLOSE_ALL_FDS.
16401 * manual/install.texi (Configuring and compiling): Mention
16402 --enable-pt_chown. Add @findex for grantpt.
16403 * INSTALL: Regenerate.
16404
da2d62df
DM
164052013-07-20 David S. Miller <davem@davemloft.net>
16406
16407 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16408 difference between 32-bit and 64-bit.
16409
d7e06450
CD
164102013-07-15 Carlos O'Donell <carlos@redhat.com>
16411
16412 [BZ #15711]
16413 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16414 Avoid system header dependency with -ffreestanding.
16415 ($(objpfx)bits/syscall%d): Likewise.
16416
f959cfd7
DM
164172013-07-13 David S. Miller <davem@davemloft.net>
16418
16419 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16420 underflows from atanl/atan2l due to bug 15319.
16421 (casinh_test_data): Likewise.
16422
c61f8513
DM
164232013-07-07 David S. Miller <davem@davemloft.net>
16424
16425 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16426
72c90ed0
JA
164272013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16428
16429 * sysdeps/i386/fpu/libm-test-ulps: Update.
16430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431
52dfbe13
SP
164322013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16433
16434 * configure.in (--enable-lock-elision): Fix message text.
16435 * INSTALL: Regenerate.
16436 * configure: Regenerate.
16437
3f169543
AZ
164382013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16439
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16441
521c6785
AJ
164422013-07-03 Andreas Jaeger <aj@suse.de>
16443
16444 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16445 define.
16446 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16447 (ptrace_peeksiginfo_args): Add.
16448 (__ptrace_peeksiginfo_flags): Add.
16449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16452
d2cc15cb
AM
164532013-07-03 Allan McRae <allan@archlinux.org>
16454
16455 * sysdeps/i386/fpu/libm-test-ulps: Update.
16456
3aaeeca7
DM
164572013-07-02 David S. Miller <davem@davemloft.net>
16458
16459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16460
5314ed1a
MT
164612013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16462
16463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16464
67338156
JM
164652013-07-02 Joseph Myers <joseph@codesourcery.com>
16466
16467 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16469
1717da59
AK
164702013-07-02 Andi Kleen <ak@linux.intel.com>
16471
16472 * config.h.in (ENABLE_LOCK_ELISION): Add.
16473 * configure.in (--enable-lock-elision): Add option.
16474 * manual/install.texi: Document --enable lock elision.
16475 * configure: Regenerate
16476 * INSTALL: Regenerate.
16477
1c81621c
L
164782013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16481 SSE4.2 strcasecmp for libc.a.
16482 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16483
77f01ab5
JM
164842013-07-02 Joseph Myers <joseph@codesourcery.com>
16485
16486 [BZ #13304]
16487 * soft-fp/op-common.h (_FP_FMA): New macro.
16488 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16489 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16490 (_FP_MUL_MEAT_1_imm): ... here.
16491 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16492 (_FP_MUL_MEAT_1_wide): ... here.
16493 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16494 (_FP_MUL_MEAT_1_hard): ... here.
16495 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16496 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16497 (_FP_MUL_MEAT_2_wide): ... here.
16498 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16499 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16500 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16501 (_FP_MUL_MEAT_2_gmp): ... here.
16502 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16503 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16504 (_FP_MUL_MEAT_4_wide): ... here.
16505 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16506 (_FP_MUL_MEAT_4_gmp): ... here.
16507 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16508 (_FP_WFRACBITS_DW_S): Likewise.
16509 (_FP_WFRACXBITS_DW_S): Likewise.
16510 (_FP_HIGHBIT_DW_S): Likewise.
16511 (FP_FMA_S): Likewise.
16512 (_FP_FRAC_HIGH_DW_S): Likewise.
16513 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16514 (_FP_WFRACBITS_DW_D): Likewise.
16515 (_FP_WFRACXBITS_DW_D): Likewise.
16516 (_FP_HIGHBIT_DW_D): Likewise.
16517 (FP_FMA_D): Likewise.
16518 (_FP_FRAC_HIGH_DW_D): Likewise.
16519 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16520 (_FP_WFRACBITS_DW_E): Likewise.
16521 (_FP_WFRACXBITS_DW_E): Likewise.
16522 (_FP_HIGHBIT_DW_E): Likewise.
16523 (FP_FMA_E): Likewise.
16524 (_FP_FRAC_HIGH_DW_E): Likewise.
16525 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16526 (_FP_WFRACBITS_DW_Q): Likewise.
16527 (_FP_WFRACXBITS_DW_Q): Likewise.
16528 (_FP_HIGHBIT_DW_Q): Likewise.
16529 (FP_FMA_Q): Likewise.
16530 (_FP_FRAC_HIGH_DW_Q): Likewise.
16531 * soft-fp/fmasf4.c: New file.
16532 * soft-fp/fmadf4.c: Likewise.
16533 * soft-fp/fmatf4.c: Likewise.
16534
6308fd9a
LD
165352013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16536
16537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16538 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16539 Silvermont.
16540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16541 macro.
16542 (index_Slow_SSE4_2): Likewise.
16543 (index_Prefer_PMINUB_for_stringop): Likewise.
16544 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16545 bit_Slow_SSE4_2 is set.
16546 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16548
89cd9569
RA
165492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16550
16551 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16552 rtld_global._dl_hwcap2.
16553 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16554 POWER8.
16555 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16556 POWER8 feature descriptions defined in _dl_hwcap2.
16557 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16558 string handling for POWER8 feature bits.
16559 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16560 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16561 _dl_powerpc_cap_flags.
16562 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16563 * sysdeps/powerpc/rtld-global-offsets.sym
16564 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16565 _dl_hwcap2 in the rtld_global_ro structure.
16566
1ae8bfe0
RA
165672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16568
16569 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16570 hardware capabilities in support of AT_HWCAP2.
16571 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16572 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16573 GLRO(dl_hwcap2).
16574 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16575 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16576 explicitly the unknown a_type display mechanism is used.
16577 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16578 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16579 struct member.
16580 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16581 to macro prototype for AT_HWCAP2 support.
16582 * sysdeps/i386/dl-procinfo.h: Likewise.
16583 * sysdeps/s390/dl-procinfo.h: Likewise.
16584 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16585 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16586 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16587 return -1 for unknown a_type display fallback.
16588 * sysdeps/sparc/dl-procinfo.h: Likewise.
16589 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16591
8fbec010
JM
165922013-06-28 Joseph Myers <joseph@codesourcery.com>
16593
16594 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16595 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16596
0432680e
PY
165972013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16598
16599 [BZ #12492]
16600 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16601 mprotect making __stack_prot writable.
16602
ce61a2ad
NF
166032013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16604 Joseph Myers <joseph@codesourcery.com>
16605
16606 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16607 as being properly aligned.
16608
f91f1c0f
MR
166092013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16610
3d0f5d0c
MR
16611 * dlfcn/modstatic5.c: New file.
16612 * dlfcn/tststatic5.c: New file.
16613 * dlfcn/Makefile (tests): Add tststatic5.
16614 (tests-static): Likewise.
16615 (modules-names): Add modstatic5.
16616 (tststatic5-ENV): New variable.
16617 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16618
f91f1c0f
MR
16619 [BZ #15022]
16620 * elf/dl-support.c (_dl_main_map): New variable.
16621 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16622 (_dl_nns, _dl_load_adds): Set to 1.
16623 (_dl_initial_searchlist): Refer to _dl_main_map.
16624 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16625 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16626 call to _dl_get_origin.
16627 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16628 around call_map.
16629 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16630 * dlfcn/modstatic3.c: New file.
16631 * dlfcn/tststatic3.c: New file.
16632 * dlfcn/tststatic4.c: New file.
16633 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16634 (tests-static): Likewise.
16635 (modules-names): Add modstatic3.
16636 (tststatic3-ENV, tststatic4-ENV): New variables.
16637 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16638 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16639
cbe7d24b
JM
166402013-06-26 Joseph Myers <joseph@codesourcery.com>
16641
16642 * configure.in (CC): Require GCC version 4.4 or later.
16643 * configure: Regenerated.
16644 * manual/install.texi (Tools for Compilation): Update GCC version
16645 requirement.
16646 * INSTALL: Regenerated.
16647
11b8a0e1
LD
166482013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16649
16650 [BZ #15674]
bb5bb87c
L
16651 * string/test-memcmp.c (check2): New.
16652 (main): Call check2.
16653
11b8a0e1
LD
16654 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16655
b0037103
MR
166562013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16657
16658 [BZ #15022]
16659 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16660 over to...
16661 (dl_open_worker) [!SHARED]: ... here.
16662
c18c701d
RA
166632013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16664
16665 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16666
1d17fa5f
RH
166672013-06-25 Richard Henderson <rth@redhat.com>
16668
16669 * locale/programs/locarchive.c: Include <libc-internal.h>
16670
8fcb833a
JM
166712013-06-25 Joseph Myers <joseph@codesourcery.com>
16672
16673 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16674 trailing whitespace removed.
16675
17db6e8d
MF
166762013-06-24 Mike Frysinger <vapier@gentoo.org>
16677
16678 [BZ #10283]
17db6e8d
MF
16679 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16680 * locale/programs/locarchive.c: Include libc-mmap.h.
16681 (prepare_address_space): Take two new outputs (the mmap base and len).
16682 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16683 values.
16684 (create_archive): Declare new mmap base and len values for
16685 prepare_address_space, and store the result in ah.
16686 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16687 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16688 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16689 Declare new mmap base and len values for
16690 prepare_address_space, and store the result in new_ah.
16691 (open_archive): Declare new mmap base and len values for
16692 prepare_address_space, and store the result in ah.
16693 (close_archive): If ah->mmap_base is not NULL, use that and
16694 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16695 * sysdeps/generic/libc-mmap.h: New file.
16696
d605071e
MF
166972013-06-24 Mike Frysinger <vapier@gentoo.org>
16698
16699 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16700 (ALIGN_UP): Likewise.
16701 (PTR_ALIGN_DOWN): Likewise.
16702 (PTR_ALIGN_UP): Likewise.
16703
2f063a6e
RA
167042013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16705
16706 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16707 entry mapped to PPC_PLATFORM_POWER8.
16708 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16709 POWER8.
16710 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16711 (_dl_string_platform): Add case for exporting platform position for
16712 POWER8.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16714 search path to sysdeps/powerpc/powerpc32/power8 directory.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16716 search path to sysdeps/powerpc/powerpc64/power8 directory.
16717 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16718 power7 directories.
16719 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16720 power7 directories.
16721
a31ee4b3
SP
167222013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16723
a74ca98f
SP
16724 * INSTALL: Regenerate.
16725
a31ee4b3
SP
16726 * nscd/connections.c (nscd_init): Fix comment.
16727
695c378f
JM
167282013-06-22 Joseph Myers <joseph@codesourcery.com>
16729
d8412221
JM
16730 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16731
695c378f
JM
16732 [BZ #15667]
16733 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16734 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16735
d1d54715
MR
167362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16737
16738 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16739 DL_DST_REQ_STATIC.
16740 (DL_DST_REQ_STATIC): Remove macro.
16741
8fdda7af
JM
167422013-06-21 Joseph Myers <joseph@codesourcery.com>
16743
16744 [BZ #7006]
16745 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16746 with a shift of 0 bits.
16747
f3bc5e5a
MR
167482013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16749
16750 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16751 $(tststatic-ENV).
16752
be09e8c9
KK
167532013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16754
16755 [BZ #15655]
16756 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16757
85c2e611
AZ
167582013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16759
16760 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16761 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16762 accepts -fno-tree-loop-distribute-patterns.
16763 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16764 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16765 recursive call.
16766 * string/memset.c (memset): Likewise.
16767 * string/test-memmove.c (simple_memmove): Disable loop transformation
16768 to library calls.
16769 * string/test-memset.c (simple_memset): Likewise.
16770 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16771 * benchtests/bench-memset.c (simple_memset): Likewise.
16772 * configure: Regenerated.
16773
c91e0825
JM
167742013-06-20 Joseph Myers <joseph@codesourcery.com>
16775
b8c792af
JM
16776 * math/test-misc.c (main): Ignore fesetround failure when failures
16777 of subsequent rounding tests would be ignored.
16778
c91e0825
JM
16779 [BZ #15654]
16780 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16781 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16782 * math/fegetenv.c (__fegetenv): Return 0.
16783 * math/fegetexcept.c (fegetexcept): Return 0.
16784 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16785 FE_TONEAREST.
16786 * math/feholdexcpt.c (feholdexcept): Return 0.
16787 * math/fesetenv.c (__fesetenv): Return 0.
16788 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16789 argument FE_TONEAREST.
16790 * math/feupdateenv.c (__feupdateenv): Return 0.
16791 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16792
bfcacbde
RM
167932013-06-18 Roland McGrath <roland@hack.frob.com>
16794
16795 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16796 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16797 ($(objpfx)rtld-%.os rules): Use them.
16798
e55a9b25
AZ
167992013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16800
16801 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16802 fields.
16803
346d65b3
RM
168042013-06-17 Roland McGrath <roland@hack.frob.com>
16805
12086fb4
RM
16806 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16807 length of target pattern, then descending length of dependency pattern.
16808 * configure.in (AWK): Require gawk 3.1.2 or newer.
16809 * manual/install.texi (Tools for Compilation): Say that we do.
16810 * configure: Regenerated.
16811
346d65b3
RM
16812 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16813 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16814 * scripts/sysd-rules.awk: ... this new script.
16815 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16816 than a glob-style pattern.
16817
1a846317
JM
168182013-06-17 Joseph Myers <joseph@codesourcery.com>
16819
16820 * math/test-misc.c (main): Do not treat incorrectly rounded
16821 conversions as failure unless ROUNDING_TESTS passes.
16822
8fc75e6f
JM
168232013-06-15 Joseph Myers <joseph@codesourcery.com>
16824
3711a167
JM
16825 [BZ #15631]
16826 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16827 restore exception state around main square root computation, then
16828 check for inexactness explicitly.
16829
8fc75e6f
JM
16830 * math/libm-test.inc (fma_test_data): Add another test.
16831
61dd6208
SP
168322013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16833
adf23d2c
SP
16834 * manual/threads.texi (Non-POSIX Extensions): New document
16835 node. Document pthread_getattr_default_np and
16836 pthread_setattr_default_np.
16837
61dd6208
SP
16838 * Versions.def (libpthread): Add GLIBC_2.18.
16839 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16841 Likewise.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16843 Likewise.
16844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16845 Likewise.
16846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16847 Likewise.
16848 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16849 Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16851 Likewise.
16852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16853 Likewise.
16854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16855 Likewise.
16856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16857 Likewise.
16858
d086fc7b
LD
168592013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16860
16861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16862 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16863
747ef469
SP
168642013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16865 H.J. Lu <hjl.tools@gmail.com>
16866
16867 [BZ #15627]
16868 * sysdeps/x86_64/rtld-memset.c: Remove file.
16869 * sysdeps/x86_64/rtld-memset.S: New file.
16870
1b2feed2
JM
168712013-06-14 Joseph Myers <joseph@codesourcery.com>
16872
16873 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16874 (test_in_one_mode): Take arguments for whether the rounding mode
16875 is supported for each floating-point type.
16876 (do_test): Pass new arguments to test_in_one_mode using
16877 ROUNDING_TESTS.
16878
a58ad3f8
RM
168792013-06-13 Roland McGrath <roland@hack.frob.com>
16880
16881 * posix/tst-waitid.c (do_test): Distinguish different instances of
16882 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16883 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16884 before entering the kernel for waitpid.
16885
c204ab28
SP
168862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16887
16888 * NEWS: Fix note on clock function precision. Text by Roland
16889 McGrath.
16890
f4a29fba
RM
168912013-06-13 Roland McGrath <roland@hack.frob.com>
16892
16893 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16894 it into place only when and if the sanity check passes.
16895
1f24b9ad
JM
168962013-06-13 Joseph Myers <joseph@codesourcery.com>
16897
16898 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16899 output for whether conversion result is exact. Take argument
16900 indicating whether type is IBM long double.
16901 (round_for_all): Change need_exact field to ibm_ld.
16902 * stdlib/tst-strtod-round.c (struct exactness): New type.
16903 (struct test): Change bool ld_ok field to struct exactness exact.
16904 (TEST): Update all definitions for change to field.
16905 (tests): Regenerate array contents.
16906 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16907 field value. Check for IBM long double here.
16908 (do_test): Update calls to test_in_one_mode.
16909
58206c68
SP
169102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16911
16912 [BZ #12515]
16913 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16914 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16915
2d6f4c5b 169162013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16917
16918 [BZ #15605]
16919 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16920 generated by the compiler on loop optimizations.
16921 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16922 general definitions.
16923
94f2c076
JM
169242013-06-12 Joseph Myers <joseph@codesourcery.com>
16925
16926 * math/bug-nextafter.c: Include <math-tests.h>.
16927 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16928 the relevant type.
16929 * math/bug-nexttoward.c: Include <math-tests.h>.
16930 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16931 the relevant type.
16932 * math/test-misc.c: Include <math-tests.h>.
16933 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16934 the relevant type.
16935
e0e50a0a
AJ
169362013-06-12 Andreas Jaeger <aj@suse.de>
16937
16938 * po/ia.po: Update Interlingua translation from translation
16939 project.
16940
25061094
SP
169412013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16942
16943 * include/fenv.h: Include stdbool.h.
16944 (struct rm_ctx): New structure.
16945 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16946 Define macro.
16947 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16948 (SET_RESTORE_ROUNDF): Likewise.
16949 (SET_RESTORE_ROUNDL): Likewise.
16950 (SET_RESTORE_ROUND_NOEX): Likewise.
16951 (SET_RESTORE_ROUND_NOEXF): Likewise.
16952 (SET_RESTORE_ROUND_NOEXL): Likewise.
16953 (SET_RESTORE_ROUND_53BIT): Likewise.
16954 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16955 (libc_feresetround_noexf_ctx): Likewise.
16956 (libc_feresetround_noexl_ctx): Likewise.
16957 (libc_feholdsetround_53bit_ctx): Likewise.
16958 (libc_feresetround_53bit_ctx): Likewise.
16959 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16960 (libc_feholdexcept_setround_sse_ctx): New function.
16961 (libc_fesetenv_sse_ctx): Likewise.
16962 (libc_feupdateenv_sse_ctx): Likewise.
16963 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16964 (libc_feholdexcept_setround_387_ctx): Likewise.
16965 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16966 (libc_feholdsetround_387_prec_ctx): Likewise.
16967 (libc_feholdsetround_387_ctx): Likewise.
16968 (libc_feholdsetround_387_53bit_ctx): Likewise.
16969 (libc_feholdsetround_sse_ctx): Likewise.
16970 (libc_feresetround_sse_ctx): Likewise.
16971 (libc_feresetround_387_ctx): Likewise.
16972 (libc_feupdateenv_387_ctx): Likewise.
16973 (libc_feholdexcept_setroundf_ctx): Define macro.
16974 (libc_fesetenvf_ctx): Likewise.
16975 (libc_feupdateenvf_ctx): Likewise.
16976 (libc_feholdsetroundf_ctx): Likewise.
16977 (libc_feresetroundf_ctx): Likewise.
16978 (libc_feholdexcept_setround_ctx): Likewise.
16979 (libc_fesetenv_ctx): Likewise.
16980 (libc_feupdateenv_ctx): Likewise.
16981 (libc_feholdsetround_ctx): Likewise.
16982 (libc_feresetround_ctx): Likewise.
16983 (libc_feholdexcept_setroundl_ctx): Likewise.
16984 (libc_feupdateenvl_ctx): Likewise.
16985 (libc_feholdsetroundl_ctx): Likewise.
16986 (libc_feresetroundl_ctx): Likewise.
16987 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16988 (libc_feresetround_53bit_ctx): Likewise.
16989
59b30555
SP
169902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16991
16992 * locale/iso-639.def: Convert to UTF-8.
16993
f1d73d30
JM
169942013-06-11 Joseph Myers <joseph@codesourcery.com>
16995
16996 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16997 (EXCEPTION_TESTS_double): Likewise.
16998 (EXCEPTION_TESTS_long_double): Likewise.
16999 (EXCEPTION_TESTS): Likewise.
17000 * math/libm-test.inc (test_exceptions): Only test exceptions if
17001 EXCEPTION_TESTS (FLOAT).
17002
94aca5e7
SP
170032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17004
17005 * benchtests/Makefile (string-bench): Add strcpy_chk and
17006 stpcpy_chk.
17007 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17008 * benchtests/bench-stpcpy_chk.c: New file.
17009 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17010 * benchtests/bench-strcpy_chk.c: New file.
17011 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17012 code.
17013 (do_test): Likewise.
17014
fac0c5f2
RA
170152013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17016
17017 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17018 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17019 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17020 with tabs where appropriate.
17021 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17022 dl-procinfo.h.
17023 [PPC_PLATFORM_PPC440]: Likewise.
17024 [PPC_PLATFORM_PPC464]: Likewise.
17025 [PPC_PLATFORM_PPC476]: Likewise.
17026 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17027 ppc464, and ppc476 platform strings merging from ports/
17028 dl-procinfo.h.
17029
f22bc486
AS
170302013-06-11 Andreas Schwab <schwab@suse.de>
17031
17032 [BZ #14991]
17033 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17034 (from_ucs4_idx): Regenerate.
17035 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17036 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17037 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17038 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17039 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17040 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17041 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17042 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17043 from FROM_LOOP and TO_LOOP specific macros.
17044 (BODY): Handle combining characters.
17045 * iconvdata/BIG5HKSCS.irreversible: Update.
17046 * iconvdata/BIG5HKSCS.precomposed: New file.
17047 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17048 characters.
17049 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17050
c1f75dc3
SP
170512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17052
4eacded2
SP
17053 * include/sys/time.h: Fix indentation and add copyright header.
17054
fec799f8
SP
17055 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17056 (do_test): Likewise.
17057 * string/test-memchr.c (do_one_test): Likewise.
17058 (do_test): Likewise.
17059 * string/test-memcmp.c (do_one_test): Likewise.
17060 (do_test): Likewise.
17061 * string/test-memcpy.c (do_one_test): Likewise.
17062 (do_test): Likewise.
17063 * string/test-memmem.c (do_one_test): Likewise.
17064 (do_test): Likewise.
17065 (do_random_tests): Likewise.
17066 * string/test-memmove.c (do_one_test): Likewise.
17067 (do_test): Likewise.
17068 * string/test-memset.c (do_one_test): Likewise.
17069 (do_test): Likewise.
17070 * string/test-rawmemchr.c (do_one_test): Likewise.
17071 (do_test): Likewise.
17072 * string/test-strcasecmp.c (do_one_test): Likewise.
17073 (do_test): Likewise.
17074 * string/test-strcasestr.c (do_one_test): Likewise.
17075 (do_test): Likewise.
17076 * string/test-strcat.c (do_one_test): Likewise.
17077 (do_test): Likewise.
17078 * string/test-strchr.c (do_one_test): Likewise.
17079 (do_test): Likewise.
17080 * string/test-strcmp.c (do_one_test): Likewise.
17081 (do_test): Likewise.
17082 * string/test-strcpy.c (do_one_test): Likewise.
17083 (do_test): Likewise.
17084 * string/test-string.h: Likewise.
17085 (test_init): Likewise.
17086 * string/test-strlen.c (do_one_test): Likewise.
17087 (do_test): Likewise.
17088 * string/test-strncasecmp.c (do_one_test): Likewise.
17089 (do_test): Likewise.
17090 * string/test-strncat.c (do_one_test): Likewise.
17091 (do_test): Likewise.
17092 * string/test-strncmp.c (do_one_test): Likewise.
17093 (do_test_limit): Likewise.
17094 (do_test): Likewise.
17095 * string/test-strncpy.c (do_one_test): Likewise.
17096 (do_test): Likewise.
17097 * string/test-strnlen.c (do_one_test): Likewise.
17098 (do_test): Likewise.
17099 * string/test-strpbrk.c (do_one_test): Likewise.
17100 (do_test): Likewise.
17101 * string/test-strrchr.c (do_one_test): Likewise.
17102 (do_test): Likewise.
17103 * string/test-strspn.c (do_one_test): Likewise.
17104 (do_test): Likewise.
17105 * string/test-strstr.c (do_one_test): Likewise.
17106 (do_test): Likewise.
17107
97020474
SP
17108 * benchtests/Makefile (string-bench): Add string benchmarks.
17109 * benchtests/bench-bcopy-ifunc.c: New file.
17110 * benchtests/bench-bcopy.c: New file.
17111 * benchtests/bench-bzero-ifunc.c: New file.
17112 * benchtests/bench-bzero.c: New file.
17113 * benchtests/bench-memccpy-ifunc.c: New file.
17114 * benchtests/bench-memccpy.c: New file.
17115 * benchtests/bench-memchr-ifunc.c: New file.
17116 * benchtests/bench-memchr.c: New file.
17117 * benchtests/bench-memcmp-ifunc.c: New file.
17118 * benchtests/bench-memcmp.c: New file.
17119 * benchtests/bench-memmem-ifunc.c: New file.
17120 * benchtests/bench-memmem.c: New file.
17121 * benchtests/bench-memmove-ifunc.c: New file.
17122 * benchtests/bench-memmove.c: New file.
17123 * benchtests/bench-mempcpy-ifunc.c: New file.
17124 * benchtests/bench-mempcpy.c: New file.
17125 * benchtests/bench-memset-ifunc.c: New file.
17126 * benchtests/bench-memset.c: New file.
17127 * benchtests/bench-rawmemchr-ifunc.c: New file.
17128 * benchtests/bench-rawmemchr.c: New file.
17129 * benchtests/bench-stpcpy-ifunc.c: New file.
17130 * benchtests/bench-stpcpy.c: New file.
17131 * benchtests/bench-stpncpy-ifunc.c: New file.
17132 * benchtests/bench-stpncpy.c: New file.
17133 * benchtests/bench-strcasecmp-ifunc.c: New file.
17134 * benchtests/bench-strcasecmp.c: New file.
17135 * benchtests/bench-strcasestr-ifunc.c: New file.
17136 * benchtests/bench-strcasestr.c: New file.
17137 * benchtests/bench-strcat-ifunc.c: New file.
17138 * benchtests/bench-strcat.c: New file.
17139 * benchtests/bench-strchr-ifunc.c: New file.
17140 * benchtests/bench-strchr.c: New file.
17141 * benchtests/bench-strchrnul-ifunc.c: New file.
17142 * benchtests/bench-strchrnul.c: New file.
17143 * benchtests/bench-strcmp-ifunc.c: New file.
17144 * benchtests/bench-strcmp.c: New file.
17145 * benchtests/bench-strcpy-ifunc.c: New file.
17146 * benchtests/bench-strcpy.c: New file.
17147 * benchtests/bench-strcspn-ifunc.c: New file.
17148 * benchtests/bench-strcspn.c: New file.
17149 * benchtests/bench-strlen-ifunc.c: New file.
17150 * benchtests/bench-strlen.c: New file.
17151 * benchtests/bench-strncasecmp-ifunc.c: New file.
17152 * benchtests/bench-strncasecmp.c: New file.
17153 * benchtests/bench-strncat-ifunc.c: New file.
17154 * benchtests/bench-strncat.c: New file.
17155 * benchtests/bench-strncmp-ifunc.c: New file.
17156 * benchtests/bench-strncmp.c: New file.
17157 * benchtests/bench-strncpy-ifunc.c: New file.
17158 * benchtests/bench-strncpy.c: New file.
17159 * benchtests/bench-strnlen-ifunc.c: New file.
17160 * benchtests/bench-strnlen.c: New file.
17161 * benchtests/bench-strpbrk-ifunc.c: New file.
17162 * benchtests/bench-strpbrk.c: New file.
17163 * benchtests/bench-strrchr-ifunc.c: New file.
17164 * benchtests/bench-strrchr.c: New file.
17165 * benchtests/bench-strspn-ifunc.c: New file.
17166 * benchtests/bench-strspn.c: New file.
17167 * benchtests/bench-strstr-ifunc.c: New file.
17168 * benchtests/bench-strstr.c: New file.
17169
c1f75dc3
SP
17170 * benchtests/Makefile: Disable parallel execution of targets.
17171 (string-bench): Add memcpy.
17172 (benchset): New variable to store a list of benchmark sets.
17173 (bench-func): Renamed from bench.
17174 (bench-set): New target.
17175 (bench): Depend on bench-func and bench-set.
17176 * benchtests/README: Add section on benchmark sets.
17177 * benchtests/bench-memcpy-ifunc.c: New file.
17178 * benchtests/bench-memcpy.c: New file.
17179 * benchtests/bench-string.h: New file.
17180
50fd745b
AS
171812013-06-11 Andreas Schwab <schwab@suse.de>
17182
17183 [BZ #15577]
17184 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17185 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17186 values in the triple.
17187 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17188 terminator in the group key.
17189
3ee7e9fe
AJ
171902013-06-11 Andreas Jaeger <aj@suse.de>
17191
17192 * po/zh_TW.po: Update Chinese (traditional) translation from
17193 translation project.
17194
89fb6835
SP
171952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17196
17197 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17198 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17199 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17201 (clock_getcpuclockid): Likewise.
17202 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17203 Add weak_alias and libc_hidden_def.
17204 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17205 * rt/clock_gettime.c (clock_gettime): Rename to
17206 __clock_gettime. Add weak_alias and libc_hidden_def.
17207 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17208 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17209 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17210 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17211 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17212 Likewise.
17213 * rt/clock_settime.c (clock_settime): Rename to
17214 __clock_settime. Add weak_alias and libc_hidden_def.
17215 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17216
0efa6f8b
JM
172172013-06-10 Joseph Myers <joseph@codesourcery.com>
17218
b8c61b4b
JM
17219 * mach/err_boot.sub: Remove trailing whitespace.
17220 * mach/err_ipc.sub: Likewise.
17221 * mach/err_mach.sub: Likewise.
17222
0efa6f8b
JM
17223 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17224 (ROUNDING_TESTS_double): Likewise.
17225 (ROUNDING_TESTS_long_double): Likewise.
17226 (ROUNDING_TESTS): Likewise.
17227 * math/libm-test.inc: Include <math-tests.h>.
17228 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17229 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17230 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17231 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17232
50b818bf
SP
172332013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17234
17235 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17236 of assigning.
17237
60d2f8f3
JM
172382013-06-08 Joseph Myers <joseph@codesourcery.com>
17239
4902d2c3
JM
17240 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17241 otherwise empty TRANS lines.
17242 * sysdeps/gnu/errlist.c: Regenerated.
17243
60d2f8f3
JM
17244 * catgets/gencat.c (error_print): Use (void) in function
17245 definition.
17246 * crypt/crypt_util.c (__init_des): Likewise.
17247 * crypt/speeds.c (Stop): Likewise.
17248 (main): Likewise.
17249 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17250 * inet/ruserpass.c (token): Likewise.
17251 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17252 * intl/localealias.c (extend_alias_table): Likewise.
17253 * intl/plural-exp.c (init_germanic_plural): Likewise.
17254 * libio/fcloseall.c (__fcloseall): Likewise.
17255 * libio/genops.c (_IO_flush_all): Likewise.
17256 (_IO_flush_all_linebuffered): Likewise.
17257 (_IO_cleanup): Likewise.
17258 (_IO_iter_begin): Likewise.
17259 (_IO_iter_end): Likewise.
17260 (_IO_list_lock): Likewise.
17261 (_IO_list_unlock): Likewise.
17262 (_IO_list_resetlock): Likewise.
17263 * libio/getchar.c (getchar): Likewise.
17264 * libio/getchar_u.c (getchar_unlocked): Likewise.
17265 * libio/getwchar.c (getwchar): Likewise.
17266 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17267 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17268 * login/getpt.c (__getpt): Likewise.
17269 * login/tst-utmp.c (main): Likewise.
17270 * malloc/hooks.c (__malloc_check_init): Likewise.
17271 * malloc/malloc.c (__malloc_stats): Likewise.
17272 * malloc/mtrace.c (tr_break): Likewise.
17273 (mtrace): Likewise.
17274 (muntrace): Likewise.
17275 * misc/fstab.c (endfsent): Likewise.
17276 * misc/getclktck.c (__getclktck): Likewise.
17277 * misc/getdtsz.c (__getdtablesize): Likewise.
17278 * misc/gethostid.c (gethostid): Likewise.
17279 * misc/getpagesize.c (__getpagesize): Likewise.
17280 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17281 (__get_nprocs): Likewise.
17282 (__get_phys_pages): Likewise.
17283 (__get_avphys_pages): Likewise.
17284 * misc/getttyent.c (getttyent): Likewise.
17285 (setttyent): Likewise.
17286 (endttyent): Likewise.
17287 * misc/getusershell.c (getusershell): Likewise.
17288 (endusershell): Likewise.
17289 (setusershell): Likewise.
17290 (initshells): Likewise.
17291 * misc/hsearch.c (__hdestroy): Likewise.
17292 * misc/sync.c (sync): Likewise.
17293 * misc/syslog.c (closelog_internal): Likewise.
17294 (closelog): Likewise.
17295 * misc/ttyslot.c (ttyslot): Likewise.
17296 * misc/vhangup.c (vhangup): Likewise.
17297 * posix/fork.c (__fork): Likewise.
17298 * posix/getegid.c (__getegid): Likewise.
17299 * posix/geteuid.c (__geteuid): Likewise.
17300 * posix/getgid.c (__getgid): Likewise.
17301 * posix/getpid.c (__getpid): Likewise.
17302 * posix/getppid.c (__getppid): Likewise.
17303 * posix/getuid.c (__getuid): Likewise.
17304 * posix/pause.c (pause): Likewise.
17305 * posix/setpgrp.c (setpgrp): Likewise.
17306 * posix/setsid.c (__setsid): Likewise.
17307 * posix/test-vfork.c (noop): Likewise.
17308 * resolv/gethnamaddr.c (_endhtent): Likewise.
17309 (_gethtent): Likewise.
17310 (ht_endhostent): Likewise.
17311 (gethostent): Likewise.
17312 (dns_service): Likewise.
17313 * stdlib/drand48.c (drand48): Likewise.
17314 * stdlib/lrand48.c (lrand48): Likewise.
17315 * stdlib/mrand48.c (mrand48): Likewise.
17316 * stdlib/rand.c (rand): Likewise.
17317 * stdlib/random.c (__random): Likewise.
17318 * stdlib/setenv.c (clearenv): Likewise.
17319 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17320 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17321 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17322 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17323 (__get_nprocs): Likewise.
17324 (__get_phys_pages): Likewise.
17325 (__get_avphys_pages): Likewise.
17326 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17327 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17328 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17329 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17330 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17331 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17332 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17333 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17334 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17335 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17336 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17337 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17338 * sysdeps/posix/clock.c (clock): Likewise.
17339 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17340 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17341 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17342 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17343 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17345 (__get_nprocs_conf): Likewise.
17346 (__get_phys_pages): Likewise.
17347 (__get_avphys_pages): Likewise.
17348 * time/clock.c (clock): Likewise.
17349 * time/tzset.c (__tzname_max): Likewise.
17350
2e09a79a
JM
173512013-06-07 Joseph Myers <joseph@codesourcery.com>
17352
17353 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17354 (__bswap_32): Do not use "register".
17355 * crypt/crypt.c (_ufc_doit_r): Likewise.
17356 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17357 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17358 * gmon/gmon.c (__monstartup): Likewise.
17359 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17360 * hurd/hurdmalloc.c (more_memory): Likewise.
17361 (malloc): Likewise.
17362 (free): Likewise.
17363 (realloc): Likewise.
17364 (malloc_fork_prepare): Likewise.
17365 (malloc_fork_parent): Likewise.
17366 (malloc_fork_child): Likewise.
17367 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17368 (_svcauth_des): Likewise.
17369 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17370 * inet/inet_net.c (inet_network): Likewise.
17371 * inet/inet_netof.c (inet_netof): Likewise.
17372 * inet/rcmd.c (__validuser2_sa): Likewise.
17373 * io/fts.c (fts_open): Likewise.
17374 (fts_load): Likewise.
17375 (fts_close): Likewise.
17376 (fts_read): Likewise.
17377 (fts_children): Likewise.
17378 (fts_build): Likewise.
17379 (fts_stat): Likewise.
17380 (fts_sort): Likewise.
17381 (fts_alloc): Likewise.
17382 (fts_lfree): Likewise.
17383 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17384 (_IO_file_xsgetn): Likewise.
17385 (_IO_file_xsgetn_mmap): Likewise.
17386 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17387 (_IO_cookie_write): Likewise.
17388 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17389 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17390 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17391 * malloc/obstack.c (_obstack_begin): Likewise.
17392 (_obstack_begin_1): Likewise.
17393 (_obstack_newchunk): Likewise.
17394 (_obstack_allocated_p): Likewise.
17395 (obstack_free): Likewise.
17396 (_obstack_memory_used): Likewise.
17397 * misc/getttyent.c (getttynam): Likewise.
17398 (getttyent): Likewise.
17399 (skip): Likewise.
17400 (value): Likewise.
17401 * misc/getusershell.c (initshells): Likewise.
17402 * misc/syslog.c (__vsyslog_chk): Likewise.
17403 * misc/ttyslot.c (ttyslot): Likewise.
17404 * nis/nis_hash.c (__nis_hash): Likewise.
17405 * posix/fnmatch_loop.c (FCT): Likewise.
17406 * posix/getconf.c (print_all): Likewise.
17407 (main): Likewise.
17408 * posix/getopt.c (exchange): Likewise.
17409 * posix/glob.c (globfree): Likewise.
17410 (prefix_array): Likewise.
17411 (__glob_pattern_type): Likewise.
17412 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17413 (NS_GET32): Likewise.
17414 (NS_PUT16): Likewise.
17415 (NS_PUT32): Likewise.
17416 * resolv/gethnamaddr.c (getanswer): Likewise.
17417 (gethostbyname2): Likewise.
17418 (gethostbyaddr): Likewise.
17419 (_gethtent): Likewise.
17420 (_gethtbyname2): Likewise.
17421 (_gethtbyaddr): Likewise.
17422 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17423 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17424 * resolv/res_init.c (__res_vinit): Likewise.
17425 (net_mask): Likewise.
17426 * resolv/res_mkquery.c (outchar): Likewise.
17427 (PRINT): Likewise.
17428 * stdio-common/printf_fp.c (outchar): Likewise.
17429 (PRINT): Likewise.
17430 * stdio-common/printf_fphex.c (outchar): Likewise.
17431 (PRINT): Likewise.
17432 * stdio-common/printf_size.c (outchar): Likewise.
17433 (PRINT): Likewise.
17434 * stdio-common/test_rdwr.c (main): Likewise.
17435 * stdio-common/tfformat.c (matches): Likewise.
17436 * stdio-common/vfprintf.c (outchar): Likewise.
17437 (printf_unknown): Likewise.
17438 (buffered_vfprintf): Likewise.
17439 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17440 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17441 (ReadFile): Likewise.
17442 * stdlib/qsort.c (SWAP): Likewise.
17443 (_quicksort): Likewise.
17444 * stdlib/setenv.c (__add_to_environ): Likewise.
17445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17446 * stdlib/strtol_l.c (__strtol_l): Likewise.
17447 * stdlib/tst-strtod.c (main): Likewise.
17448 * stdlib/tst-strtol.c (main): Likewise.
17449 * stdlib/tst-strtoll.c (main): Likewise.
17450 * string/bits/string2.h (__strcmp_cc): Likewise.
17451 (__strcmp_cg): Likewise.
17452 (__strcspn_c1): Likewise.
17453 (__strcspn_c2): Likewise.
17454 (__strcspn_c3): Likewise.
17455 (__strspn_c1): Likewise.
17456 (__strspn_c2): Likewise.
17457 (__strspn_c3): Likewise.
17458 (__strsep_1c): Likewise.
17459 (__strsep_2c): Likewise.
17460 (__strsep_3c): Likewise.
17461 * string/memccpy.c (__memccpy): Likewise.
17462 * string/stpcpy.c (__stpcpy): Likewise.
17463 * string/strcmp.c (strcmp): Likewise.
17464 * string/strrchr.c (strrchr): Likewise.
17465 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17466 Likewise.
17467 * sysdeps/mach/hurd/getcwd.c
17468 (_hurd_canonicalize_directory_name_internal): Likewise.
17469 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17470 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17471 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17472 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17473 Likewise, in both definitions.
17474 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17475 definitions.
17476 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17477 64] (__bswap_64): Likewise.
17478 * time/test_time.c (main): Likewise.
17479 * time/tzfile.c (__tzfile_read): Likewise.
17480 (__tzfile_compute): Likewise.
17481 * time/tzset.c (__tzset_parse_tz): Likewise.
17482 (tzset_internal): Likewise.
17483 (compute_change): Likewise.
17484 * wcsmbs/wcscat.c (__wcscat): Likewise.
17485 * wcsmbs/wcschr.c (wcschr): Likewise.
17486 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17487 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17488 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17489 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17490 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17491 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17492 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17493 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17494 * wcsmbs/wmemset.c (wmemset): Likewise.
17495
9e54314b
JM
174962013-06-06 Joseph Myers <joseph@codesourcery.com>
17497
17498 * scripts/config.guess: Update to version 2013-05-16.
17499 * scripts/config.sub: Update to version 2013-04-24.
17500 * scripts/install-sh: Update to version 2011-11-20.07.
17501 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17502 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17503
350635a5
OB
175042013-06-06 Ondřej Bílka <neleai@seznam.cz>
17505
17506 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17507 * elf/sln.c: Likewise.
17508 * hurd/hurd/ioctl.h: Likewise.
17509 * hurd/hurdmalloc.c: Likewise.
17510 * hurd/xattr.c: Likewise.
17511 * include/shlib-compat.h: Likewise.
17512 * inet/ruserpass.c: Likewise.
17513 * libio/iofgets_u.c: Likewise.
17514 * libio/iofgetws_u.c: Likewise.
17515 * locale/programs/ld-identification.c: Likewise.
17516 * locale/programs/ld-time.c: Likewise.
17517 * mach/msg-destroy.c: Likewise.
17518 * nss/nss_files/files-netgrp.c: Likewise.
17519 * resolv/res_data.c: Likewise.
17520 * soft-fp/op-1.h: Likewise.
17521 * soft-fp/op-2.h: Likewise.
17522 * soft-fp/op-4.h: Likewise.
17523 * soft-fp/op-common.h: Likewise.
17524 * stdio-common/printf_fphex.c: Likewise.
17525 * stdlib/strtod_l.c: Likewise.
17526 * sunrpc/rpc/clnt.h: Likewise.
17527 * sysdeps/generic/framestate.c: Likewise.
17528 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17529 * sysdeps/i386/bsd-setjmp.S: Likewise.
17530 * sysdeps/i386/__longjmp.S: Likewise.
17531 * sysdeps/i386/setjmp.S: Likewise.
17532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17533 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17534 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17550 * sysdeps/ieee754/support.c: Likewise.
17551 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17552 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17553 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17554 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17555 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17556 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17557 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17558 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17559 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17560 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17561 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17562 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17563 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17564 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17565 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17566 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17567 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17569
44a988af
OB
175702013-06-05 Ondřej Bílka <neleai@seznam.cz>
17571
25506f09 17572 * posix/transbug.c: Remove executable mode.
44a988af 17573
9c84384c
JM
175742013-06-05 Joseph Myers <joseph@codesourcery.com>
17575
17576 * crypt/speeds.c: Remove trailing whitespace.
17577 * dlfcn/default.c: Likewise.
17578 * elf/ifuncdep2.c: Likewise.
17579 * elf/ifuncmain1.c: Likewise.
17580 * elf/ifuncmain1vis.c: Likewise.
17581 * elf/testobj.h: Likewise.
17582 * elf/tst-stackguard1.c: Likewise.
17583 * gmon/sys/gmon.h: Likewise.
17584 * hurd/hurdmsg.c: Likewise.
17585 * hurd/new-fd.c: Likewise.
17586 * hurd/ports-get.c: Likewise.
17587 * iconvdata/ibm1008_420.c: Likewise.
17588 * inet/tst-getni1.c: Likewise.
17589 * inet/tst-getni2.c: Likewise.
17590 * libio/ioungetc.c: Likewise.
17591 * libio/wfiledoalloc.c: Likewise.
17592 * manual/libm-err-tab.pl: Likewise.
17593 * math/w_dremf.c: Likewise.
17594 * misc/ftruncate.c: Likewise.
17595 * posix/bug-glob2.c: Likewise.
17596 * posix/tst-pcre.c: Likewise.
17597 * posix/wait4.c: Likewise.
17598 * resolv/README: Likewise.
17599 * resolv/res_debug.h: Likewise.
17600 * resolv/tst-inet_ntop.c: Likewise.
17601 * setjmp/bug269-setjmp.c: Likewise.
17602 * soft-fp/extended.h: Likewise.
17603 * soft-fp/op-1.h: Likewise.
17604 * soft-fp/op-2.h: Likewise.
17605 * soft-fp/op-4.h: Likewise.
17606 * soft-fp/op-8.h: Likewise.
17607 * soft-fp/testit.c: Likewise.
17608 * stdio-common/bug16.c: Likewise.
17609 * stdlib/random.c: Likewise.
17610 * sunrpc/rpcsvc/rquota.x: Likewise.
17611 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17618 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17620 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17621 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17627 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17629 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17640 * sysdeps/ieee754/s_lib_version.c: Likewise.
17641 * sysdeps/mach/hurd/check_fds.c: Likewise.
17642 * sysdeps/mach/hurd/getsockname.c: Likewise.
17643 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17644 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17645 * sysdeps/powerpc/bits/link.h: Likewise.
17646 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17647 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17648 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17649 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17650 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17651 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17652 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17653 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17654 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17655 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17656 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17657 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17658 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17659 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17660 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17661 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17664 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17665 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17666 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17667 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17669 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17670 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17671 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17672 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17674 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17675 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17677 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17679 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17680 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17681 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17682 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17683 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17684 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17685 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17686 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17687 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17688 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17689 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17690 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17691 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17692 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17693 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17694 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17695 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17698 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17699 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17701 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17702 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17704 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17705 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17706 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17707 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17708 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17709 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17710 * sysdeps/powerpc/sysdep.h: Likewise.
17711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17712 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17713 * sysdeps/sh/dl-trampoline.S: Likewise.
17714 * sysdeps/sh/memset.S: Likewise.
17715 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17716 * sysdeps/sh/strlen.S: Likewise.
17717 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17718 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17719 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17720 * sysdeps/sparc/sparc32/rem.S: Likewise.
17721 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17722 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17723 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17724 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17725 * sysdeps/sparc/sparc32/urem.S: Likewise.
17726 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17727 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17728 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17729 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17730 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17731 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17732 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17733 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17734 * sysdeps/unix/bsd/times.c: Likewise.
17735 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17736 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17740 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17741 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17742 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17744 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17745 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17746 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17747 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17748 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17749 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17750 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17751 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17752 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17753 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17754 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17755 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17756 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17757 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17758 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17759 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17760 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17761 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17763 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17764 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17765 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17766 * sysdeps/x86_64/strcspn.S: Likewise.
17767
869378a5
RA
177682013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17769
17770 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17771 generated file. Regenerate properly from gen-translit.pl.
17772 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17773 locale/C-translit.h.
17774
840e2943
AS
177752013-06-05 Andreas Schwab <schwab@suse.de>
17776
17777 [BZ #15100]
17778 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17779 week as 6 instead of -1.
17780 * time/tst-strptime.c (day_tests): Add test case.
17781
4c60cb0c
SP
177822013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17783
17784 * sysdeps/generic/math_private.h
17785 (libc_feholdexcept_setround_53bit): Replace with
17786 libc_feholdsetround_53bit.
17787 (libc_feupdateenv_53bit): Replace with
17788 libc_feresetround_53bit.
17789 (SET_RESTORE_ROUND_53BIT): Adjust.
17790
d180203e
SP
177912013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17792
96df079a
SP
17793 * string/test-strchrnul.c: Add copyright header.
17794
d180203e
SP
17795 * posix/tst-getaddrinfo4.c: Increase test timeout.
17796
8b0ccb2d
CD
177972013-06-03 Carlos O'Donell <carlos@redhat.com>
17798
17799 [BZ #15536]
17800 * math/libm-test.inc (MAX_EXP): Remove
17801 (MIN_EXP): Define.
17802 (ulp): Use MIN_EXP - MANT_DIG.
17803 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17804
3b3c4d40
CD
178052013-05-31 Carlos O'Donell <carlos@redhat.com>
17806
17807 * po/be.po: Revert last change.
17808 * po/zh_CN.po: Likewise.
17809 * po/header.pot: Likewise.
17810
fab7ce3f
JM
178112013-05-31 Joseph Myers <joseph@codesourcery.com>
17812
17813 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17814 link-libc-deps to empty as target-specific variable.
17815 * Makerules (link-libc-args): New variable.
17816 (libc-for-link): Likewise.
17817 (link-libc-deps): Likewise.
17818 (lib%.so): Depend on $(link-libc-deps). Link with
17819 $(link-libc-args).
17820 (build-module): Link with $(link-libc-args).
17821 (build-module-asneeded): Likewise.
17822 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17823 list of objects.
17824 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17825 target-specific variable.
17826 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17827 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17828 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17829 libc.
17830 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17831 libc and ld.so.
17832 ($(objpfx)libpcprofile.so): Likewise.
17833 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17834 libc_nonshared.a.
17835 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17836 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17837 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17838 $(link-libc-deps).
17839 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17840 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17841 * login/Makefile ($(objpfx)libutil.so): Likewise.
17842 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17843 * math/Makefile ($(objpfx)libm.so): Likewise.
17844 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17845 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17846 variable instead of depending directly on libc.
17847 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17848 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17849 $(link-libc-deps).
17850 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17851 libc.
17852 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17853 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17854 ($(objpfx)libanl.so): Likewise.
17855 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17856 ld.so.
17857 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17858 $(link-libc-deps).
17859 * sysdeps/i386/fpu/Makefile: Remove file.
17860 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17861 ($(objpfx)libm.so): Remove dependency on ld.so.
17862
eca5920c
PF
178632013-05-30 Patsy Franklin <pfrankli@redhat.com>
17864
17865 [BZ # 15553]
17866 * nis/yp_xdr.c (XDRMAXNAME): Define.
17867 (XDRMAXRECORD): Define.
17868 (xdr_domainname): Use XDRMAXNAME.
17869 (xdr_mapname): Likewise.
17870 (xdr_peername): Likewise.
17871 (xdr_keydat): Use XDRMAXRECORD.
17872 (xdr_valdat): Likewise.
17873
178742013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17875
17876 [BZ #14256]
17877 * manual/errno.texi (ESTALE): Update to account for more than
17878 just NFS file systems.
17879 * sysdeps/gnu/errlist.c: Regenerated.
17880
b9375348
SP
178812013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17882
17883 [BZ #15465]
17884 * elf/Makefile (tests): Add tst-null-argv.
17885 (modules-names): Add tst-null-argv-lib.
17886 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17887 (tst-null-argv-ENV): Set environment for tst-null-argv.
17888 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17889 (RTLD_PROGNAME): New macro.
17890 * elf/tst-null-argv.c: New test case.
17891 * elf/tst-null-argv-lib.c: Library for test case.
17892 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17893 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17894 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17895 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17896 * elf/dl-init.c (call_init): Likewise.
17897 (_dl_init): Likewise.
17898 * elf/dl-load.c (print_search_path): Likewise.
17899 (_dl_map_object): Likewise.
17900 * elf/dl-lookup.c (do_lookup_x): Likewise.
17901 (add_dependency): Likewise.
17902 (_dl_lookup_symbol_x): Likewise.
17903 (_dl_debug_bindings): Likewise.
17904 * elf/dl-open.c (_dl_show_scope): Likewise.
17905 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17906 * elf/dl-version.c (match_symbol): Likewise.
17907 (_dl_check_map_versions): Likewise.
17908 * elf/rtld.c (dl_main): Likewise.
17909 (print_unresolved): Use RTLD_PROGNAME.
17910 (print_missing_version): Likewise.
17911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17912 (elf_machine_rela): Likewise.
17913 * sysdeps/powerpc/powerpc32/dl-machine.c
17914 (__process_machine_rela): Likewise.
17915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17916 Likewise.
17917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17918 Likewise.
17919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17920 Likewise.
17921 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17923 Likewise.
17924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17925 Likewise.
17926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17927
8a9f20c8
CD
179282013-05-28 Carlos O'Donell <carlos@redhat.com>
17929
17930 * po/be.po: Add descriptive title.
17931 * po/zh_CN.po: Likewise.
17932 * po/header.pot: Likewise.
17933
0e60d68e
MF
179342013-05-28 Mike Frysinger <vapier@gentoo.org>
17935
17936 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17937 error message.
17938 (enlarge_archive): Likewise.
17939
56b672e9
BN
179402013-05-28 Ben North <ben@redfrontdoor.org>
17941
17942 * manual/arith.texi (frexp): It is the magnitude of the return
17943 value which lies in [0.5, 1), not the return value itself.
17944
5e056687
AZ
179452013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946
17947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17948
2b66ef5d
TS
179492013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17950
528c2405
TS
17951 * stdio-common/bug26.c (main): Correct fscanf template.
17952
07b4c13d
TS
17953 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17954 declare _dl_skip_args.
17955
ec9dd97c
TS
17956 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17957 Don't declare.
17958
2b66ef5d
TS
17959 * manual/platform.texi: Add missing @end deftypefun.
17960
4f8dfe27
JM
179612013-05-24 Joseph Myers <joseph@codesourcery.com>
17962
0323d086
JM
17963 [BZ #15529]
17964 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17965 bit of mantissa of 2^16382.
17966 * math/libm-test.inc (hypot_test_data): Add more tests.
17967
dd4259b9
JM
17968 * math/libm-test.inc: Add drem and pow10 to list of tested
17969 functions.
17970 (pow10_test): New function.
17971 (drem_test): Likewise.
17972 (drem_test_tonearest): Likewise.
17973 (drem_test_towardzero): Likewise.
17974 (drem_test_downward): Likewise.
17975 (drem_test_upward): Likewise.
17976 (main): Call the new functions.
17977
4f8dfe27
JM
17978 * math/libm-test.inc (finite_test_data): Remove.
17979 (finite_test): Run tests from isfinite_test_data.
17980 (gamma_test_data): Remove.
17981 (gamma_test): Run tests from lgamma_test_data.
17982 * sysdeps/i386/fpu/libm-test-ulps: Update.
17983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17984
d116b7c4
AZ
179852013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17986
17987 * manual/platform.texi: Add PowerPC PPR function set documentation.
17988 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17989 implementation.
17990
e96e3767
CD
179912013-05-24 Carlos O'Donell <carlos@redhat.com>
17992
17993 * math/libm-test.inc (MAX_EXP): Define.
17994 (ULPDIFF): Define.
17995 (ulp): New function.
17996 (check_float_internal): Use ULPDIFF.
17997 (cpow_test): Disable failing test.
17998 (check_ulp): Test ulp() implemetnation.
17999 (main): Call check_ulp before starting tests.
18000
b679a606
JM
180012013-05-24 Joseph Myers <joseph@codesourcery.com>
18002
e8bdba36
JM
18003 * math/gen-libm-test.pl (generate_testfile): Do not handle
18004 START_DATA and END_DATA.
18005 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18006 END_DATA.
18007 (acos_tonearest_test_data): Likewise.
18008 (acos_towardzero_test_data): Likewise.
18009 (acos_downward_test_data): Likewise.
18010 (acos_upward_test_data): Likewise.
18011 (acosh_test_data): Likewise.
18012 (asin_test_data): Likewise.
18013 (asin_tonearest_test_data): Likewise.
18014 (asin_towardzero_test_data): Likewise.
18015 (asin_downward_test_data): Likewise.
18016 (asin_upward_test_data): Likewise.
18017 (asinh_test_data): Likewise.
18018 (atan_test_data): Likewise.
18019 (atanh_test_data): Likewise.
18020 (atan2_test_data): Likewise.
18021 (cabs_test_data): Likewise.
18022 (cacos_test_data): Likewise.
18023 (cacosh_test_data): Likewise.
18024 (carg_test_data): Likewise.
18025 (casin_test_data): Likewise.
18026 (casinh_test_data): Likewise.
18027 (catan_test_data): Likewise.
18028 (catanh_test_data): Likewise.
18029 (cbrt_test_data): Likewise.
18030 (ccos_test_data): Likewise.
18031 (ccosh_test_data): Likewise.
18032 (ceil_test_data): Likewise.
18033 (cexp_test_data): Likewise.
18034 (cimag_test_data): Likewise.
18035 (clog_test_data): Likewise.
18036 (clog10_test_data): Likewise.
18037 (conj_test_data): Likewise.
18038 (copysign_test_data): Likewise.
18039 (cos_test_data): Likewise.
18040 (cos_tonearest_test_data): Likewise.
18041 (cos_towardzero_test_data): Likewise.
18042 (cos_downward_test_data): Likewise.
18043 (cos_upward_test_data): Likewise.
18044 (cosh_test_data): Likewise.
18045 (cosh_tonearest_test_data): Likewise.
18046 (cosh_towardzero_test_data): Likewise.
18047 (cosh_downward_test_data): Likewise.
18048 (cosh_upward_test_data): Likewise.
18049 (cpow_test_data): Likewise.
18050 (cproj_test_data): Likewise.
18051 (creal_test_data): Likewise.
18052 (csin_test_data): Likewise.
18053 (csinh_test_data): Likewise.
18054 (csqrt_test_data): Likewise.
18055 (ctan_test_data): Likewise.
18056 (ctan_tonearest_test_data): Likewise.
18057 (ctan_towardzero_test_data): Likewise.
18058 (ctan_downward_test_data): Likewise.
18059 (ctan_upward_test_data): Likewise.
18060 (ctanh_test_data): Likewise.
18061 (ctanh_tonearest_test_data): Likewise.
18062 (ctanh_towardzero_test_data): Likewise.
18063 (ctanh_downward_test_data): Likewise.
18064 (ctanh_upward_test_data): Likewise.
18065 (erf_test_data): Likewise.
18066 (erfc_test_data): Likewise.
18067 (exp_test_data): Likewise.
18068 (exp_tonearest_test_data): Likewise.
18069 (exp_towardzero_test_data): Likewise.
18070 (exp_downward_test_data): Likewise.
18071 (exp_upward_test_data): Likewise.
18072 (exp10_test_data): Likewise.
18073 (exp2_test_data): Likewise.
18074 (expm1_test_data): Likewise.
18075 (fabs_test_data): Likewise.
18076 (fdim_test_data): Likewise.
18077 (finite_test_data): Likewise.
18078 (floor_test_data): Likewise.
18079 (fma_test_data): Likewise.
18080 (fma_towardzero_test_data): Likewise.
18081 (fma_downward_test_data): Likewise.
18082 (fma_upward_test_data): Likewise.
18083 (fmax_test_data): Likewise.
18084 (fmin_test_data): Likewise.
18085 (fmod_test_data): Likewise.
18086 (fpclassify_test_data): Likewise.
18087 (frexp_test_data): Likewise.
18088 (gamma_test_data): Likewise.
18089 (hypot_test_data): Likewise.
18090 (ilogb_test_data): Likewise.
18091 (isfinite_test_data): Likewise.
18092 (isgreater_test_data): Likewise.
18093 (isgreaterequal_test_data): Likewise.
18094 (isinf_test_data): Likewise.
18095 (isless_test_data): Likewise.
18096 (islessequal_test_data): Likewise.
18097 (islessgreater_test_data): Likewise.
18098 (isnan_test_data): Likewise.
18099 (isnormal_test_data): Likewise.
18100 (issignaling_test_data): Likewise.
18101 (isunordered_test_data): Likewise.
18102 (j0_test_data): Likewise.
18103 (j1_test_data): Likewise.
18104 (jn_test_data): Likewise.
18105 (ldexp_test_data): Likewise.
18106 (lgamma_test_data): Likewise.
18107 (lrint_test_data): Likewise.
18108 (lrint_tonearest_test_data): Likewise.
18109 (lrint_towardzero_test_data): Likewise.
18110 (lrint_downward_test_data): Likewise.
18111 (lrint_upward_test_data): Likewise.
18112 (llrint_test_data): Likewise.
18113 (llrint_tonearest_test_data): Likewise.
18114 (llrint_towardzero_test_data): Likewise.
18115 (llrint_downward_test_data): Likewise.
18116 (llrint_upward_test_data): Likewise.
18117 (log_test_data): Likewise.
18118 (log10_test_data): Likewise.
18119 (log1p_test_data): Likewise.
18120 (log2_test_data): Likewise.
18121 (logb_test_data): Likewise.
18122 (logb_downward_test_data): Likewise.
18123 (lround_test_data): Likewise.
18124 (llround_test_data): Likewise.
18125 (modf_test_data): Likewise.
18126 (nearbyint_test_data): Likewise.
18127 (nextafter_test_data): Likewise.
18128 (nexttoward_test_data): Likewise.
18129 (pow_test_data): Likewise.
18130 (pow_tonearest_test_data): Likewise.
18131 (pow_towardzero_test_data): Likewise.
18132 (pow_downward_test_data): Likewise.
18133 (pow_upward_test_data): Likewise.
18134 (remainder_test_data): Likewise.
18135 (remainder_tonearest_test_data): Likewise.
18136 (remainder_towardzero_test_data): Likewise.
18137 (remainder_downward_test_data): Likewise.
18138 (remainder_upward_test_data): Likewise.
18139 (remquo_test_data): Likewise.
18140 (rint_test_data): Likewise.
18141 (rint_tonearest_test_data): Likewise.
18142 (rint_towardzero_test_data): Likewise.
18143 (rint_downward_test_data): Likewise.
18144 (rint_upward_test_data): Likewise.
18145 (round_test_data): Likewise.
18146 (scalb_test_data): Likewise.
18147 (scalbn_test_data): Likewise.
18148 (scalbln_test_data): Likewise.
18149 (signbit_test_data): Likewise.
18150 (sin_test_data): Likewise.
18151 (sin_tonearest_test_data): Likewise.
18152 (sin_towardzero_test_data): Likewise.
18153 (sin_downward_test_data): Likewise.
18154 (sin_upward_test_data): Likewise.
18155 (sincos_test_data): Likewise.
18156 (sinh_test_data): Likewise.
18157 (sinh_tonearest_test_data): Likewise.
18158 (sinh_towardzero_test_data): Likewise.
18159 (sinh_downward_test_data): Likewise.
18160 (sinh_upward_test_data): Likewise.
18161 (sqrt_test_data): Likewise.
18162 (tan_test_data): Likewise.
18163 (tan_tonearest_test_data): Likewise.
18164 (tan_towardzero_test_data): Likewise.
18165 (tan_downward_test_data): Likewise.
18166 (tan_upward_test_data): Likewise.
18167 (tanh_test_data): Likewise.
18168 (tgamma_test_data): Likewise.
18169 (trunc_test_data): Likewise.
18170 (y0_test_data): Likewise.
18171 (y1_test_data): Likewise.
18172 (yn_test_data): Likewise.
18173 (significand_test_data): Likewise.
18174
b679a606
JM
18175 * math/gen-libm-test.pl (@functions): Remove variable.
18176 (generate_testfile): Don't handle START and END lines.
18177 * math/libm-test.inc (START): New macro.
18178 (END): Likewise.
18179 (END_COMPLEX): Likewise.
18180 (acos_test): Use END macro without arguments.
18181 (acos_test_tonearest): Likewise.
18182 (acos_test_towardzero): Likewise.
18183 (acos_test_downward): Likewise.
18184 (acos_test_upward): Likewise.
18185 (acosh_test): Likewise.
18186 (asin_test): Likewise.
18187 (asin_test_tonearest): Likewise.
18188 (asin_test_towardzero): Likewise.
18189 (asin_test_downward): Likewise.
18190 (asin_test_upward): Likewise.
18191 (asinh_test): Likewise.
18192 (atan_test): Likewise.
18193 (atanh_test): Likewise.
18194 (atan2_test): Likewise.
18195 (cabs_test): Likewise.
18196 (cacos_test): Use END_COMPLEX macro without arguments.
18197 (cacosh_test): Likewise.
18198 (carg_test): Use END macro without arguments.
18199 (casin_test): Use END_COMPLEX macro without arguments.
18200 (casinh_test): Likewise.
18201 (catan_test): Likewise.
18202 (catanh_test): Likewise.
18203 (cbrt_test): Use END macro without arguments.
18204 (ccos_test): Use END_COMPLEX macro without arguments.
18205 (ccosh_test): Likewise.
18206 (ceil_test): Use END macro without arguments.
18207 (cexp_test): Use END_COMPLEX macro without arguments.
18208 (cimag_test): Use END macro without arguments.
18209 (clog_test): Use END_COMPLEX macro without arguments.
18210 (clog10_test): Likewise.
18211 (conj_test): Likewise.
18212 (copysign_test): Use END macro without arguments.
18213 (cos_test): Likewise.
18214 (cos_test_tonearest): Likewise.
18215 (cos_test_towardzero): Likewise.
18216 (cos_test_downward): Likewise.
18217 (cos_test_upward): Likewise.
18218 (cosh_test): Likewise.
18219 (cosh_test_tonearest): Likewise.
18220 (cosh_test_towardzero): Likewise.
18221 (cosh_test_downward): Likewise.
18222 (cosh_test_upward): Likewise.
18223 (cpow_test): Use END_COMPLEX macro without arguments.
18224 (cproj_test): Likewise.
18225 (creal_test): Use END macro without arguments.
18226 (csin_test): Use END_COMPLEX macro without arguments.
18227 (csinh_test): Likewise.
18228 (csqrt_test): Likewise.
18229 (ctan_test): Likewise.
18230 (ctan_test_tonearest): Likewise.
18231 (ctan_test_towardzero): Likewise.
18232 (ctan_test_downward): Likewise.
18233 (ctan_test_upward): Likewise.
18234 (ctanh_test): Likewise.
18235 (ctanh_test_tonearest): Likewise.
18236 (ctanh_test_towardzero): Likewise.
18237 (ctanh_test_downward): Likewise.
18238 (ctanh_test_upward): Likewise.
18239 (erf_test): Use END macro without arguments.
18240 (erfc_test): Likewise.
18241 (exp_test): Likewise.
18242 (exp_test_tonearest): Likewise.
18243 (exp_test_towardzero): Likewise.
18244 (exp_test_downward): Likewise.
18245 (exp_test_upward): Likewise.
18246 (exp10_test): Likewise.
18247 (exp2_test): Likewise.
18248 (expm1_test): Likewise.
18249 (fabs_test): Likewise.
18250 (fdim_test): Likewise.
18251 (finite_test): Likewise.
18252 (floor_test): Likewise.
18253 (fma_test): Likewise.
18254 (fma_test_towardzero): Likewise.
18255 (fma_test_downward): Likewise.
18256 (fma_test_upward): Likewise.
18257 (fmax_test): Likewise.
18258 (fmin_test): Likewise.
18259 (fmod_test): Likewise.
18260 (fpclassify_test): Likewise.
18261 (frexp_test): Likewise.
18262 (gamma_test): Likewise.
18263 (hypot_test): Likewise.
18264 (ilogb_test): Likewise.
18265 (isfinite_test): Likewise.
18266 (isgreater_test): Likewise.
18267 (isgreaterequal_test): Likewise.
18268 (isinf_test): Likewise.
18269 (isless_test): Likewise.
18270 (islessequal_test): Likewise.
18271 (islessgreater_test): Likewise.
18272 (isnan_test): Likewise.
18273 (isnormal_test): Likewise.
18274 (issignaling_test): Likewise.
18275 (isunordered_test): Likewise.
18276 (j0_test): Likewise.
18277 (j1_test): Likewise.
18278 (jn_test): Likewise.
18279 (ldexp_test): Likewise.
18280 (lgamma_test): Likewise.
18281 (lrint_test): Likewise.
18282 (lrint_test_tonearest): Likewise.
18283 (lrint_test_towardzero): Likewise.
18284 (lrint_test_downward): Likewise.
18285 (lrint_test_upward): Likewise.
18286 (llrint_test): Likewise.
18287 (llrint_test_tonearest): Likewise.
18288 (llrint_test_towardzero): Likewise.
18289 (llrint_test_downward): Likewise.
18290 (llrint_test_upward): Likewise.
18291 (log_test): Likewise.
18292 (log10_test): Likewise.
18293 (log1p_test): Likewise.
18294 (log2_test): Likewise.
18295 (logb_test): Likewise.
18296 (logb_test_downward): Likewise.
18297 (lround_test): Likewise.
18298 (llround_test): Likewise.
18299 (modf_test): Likewise.
18300 (nearbyint_test): Likewise.
18301 (nextafter_test): Likewise.
18302 (nexttoward_test): Likewise.
18303 (pow_test): Likewise.
18304 (pow_test_tonearest): Likewise.
18305 (pow_test_towardzero): Likewise.
18306 (pow_test_downward): Likewise.
18307 (pow_test_upward): Likewise.
18308 (remainder_test): Likewise.
18309 (remainder_test_tonearest): Likewise.
18310 (remainder_test_towardzero): Likewise.
18311 (remainder_test_downward): Likewise.
18312 (remainder_test_upward): Likewise.
18313 (remquo_test): Likewise.
18314 (rint_test): Likewise.
18315 (rint_test_tonearest): Likewise.
18316 (rint_test_towardzero): Likewise.
18317 (rint_test_downward): Likewise.
18318 (rint_test_upward): Likewise.
18319 (round_test): Likewise.
18320 (scalb_test): Likewise.
18321 (scalbn_test): Likewise.
18322 (scalbln_test): Likewise.
18323 (signbit_test): Likewise.
18324 (sin_test): Likewise.
18325 (sin_test_tonearest): Likewise.
18326 (sin_test_towardzero): Likewise.
18327 (sin_test_downward): Likewise.
18328 (sin_test_upward): Likewise.
18329 (sincos_test): Likewise.
18330 (sinh_test): Likewise.
18331 (sinh_test_tonearest): Likewise.
18332 (sinh_test_towardzero): Likewise.
18333 (sinh_test_downward): Likewise.
18334 (sinh_test_upward): Likewise.
18335 (sqrt_test): Likewise.
18336 (tan_test): Likewise.
18337 (tan_test_tonearest): Likewise.
18338 (tan_test_towardzero): Likewise.
18339 (tan_test_downward): Likewise.
18340 (tan_test_upward): Likewise.
18341 (tanh_test): Likewise.
18342 (tgamma_test): Likewise.
18343 (trunc_test): Likewise.
18344 (y0_test): Likewise.
18345 (y1_test): Likewise.
18346 (yn_test): Likewise.
18347 (significand_test): Likewise.
18348
bae143d2
OB
183492013-05-24 Ondřej Bílka <neleai@seznam.cz>
18350
18351 [BZ #15381]
18352 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18353
9323d39b
EM
183542013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18355
d4ea44a0 18356 [BZ #14894]
9323d39b
EM
18357 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18358 __ppc_mdoio and __ppc_mdoom.
18359 * manual/platform.texi: Document new functions __ppc_yield,
18360 __ppc_mdoio and __ppc_mdoom.
18361
13e23af7
CD
183622013-05-22 Carlos O'Donell <carlos@redhat.com>
18363
18364 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18365 (main): Mention "tls" pseudo-hwcap is legacy.
18366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18367
351fe550
JM
183682013-05-22 Joseph Myers <joseph@codesourcery.com>
18369
18370 * math/gen-libm-test.pl (parse_args): Output only string of
18371 arguments as text for test name, not full call or descriptions of
18372 tests for extra outputs.
18373 (generate_testfile): Do not pass function name to parse_args.
18374 Generate this_func variable from START.
18375 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18376 field to arg_str.
18377 (struct test_ff_f_data): Likewise.
18378 (test_ff_f_data_nexttoward): Likewise.
18379 (struct test_fi_f_data): Likewise.
18380 (struct test_fl_f_data): Likewise.
18381 (struct test_if_f_data): Likewise.
18382 (struct test_fff_f_data): Likewise.
18383 (struct test_c_f_data): Likewise.
18384 (struct test_f_f1_data): Likewise. Remove field extra_name.
18385 (struct test_fF_f1_data): Likewise.
18386 (struct test_ffI_f1_data): Likewise.
18387 (struct test_c_c_data): Rename test_name field to arg_str.
18388 (struct test_cc_c_data): Likewise.
18389 (struct test_f_i_data): Likewise.
18390 (struct test_ff_i_data): Likewise.
18391 (struct test_f_l_data): Likewise.
18392 (struct test_f_L_data): Likewise.
18393 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18394 and extra2_name.
18395 (COMMON_TEST_SETUP): New macro.
18396 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18397 (COMMON_TEST_CLEANUP): Likewise.
18398 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18399 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18400 macros.
18401 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18402 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18403 macros.
18404 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18405 (RUN_TEST_fff_f): Take argument string. Call new setup and
18406 cleanup macros.
18407 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18408 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18409 macros.
18410 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18411 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18412 macros.
18413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18414 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18415 cleanup macros.
18416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18417 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18418 cleanup macros.
18419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18420 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18421 cleanup macros.
18422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18423 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18424 macros.
18425 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18426 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18427 macros.
18428 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18429 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18430 macros.
18431 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18432 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18433 cleanup macros.
18434 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18435 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18436 cleanup macros.
18437 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18438 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18439 macros.
18440 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18441 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18442 cleanup macros.
18443 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18444 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18445 macros.
18446 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18447 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18448 macros.
18449 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18450 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18451 cleanup macros.
18452 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18453
85118d4d
EBM
184542013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18455
18456 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18457 to _sifields.sigfault.
18458 (si_addr_lsb): Define new macro.
18459 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18461 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18462
7a44c18f
CD
184632013-05-03 Carlos O'Donell <carlos at redhat.com>
18464
18465 [BZ #15441]
18466 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18467 returns -1.
18468 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18469 null return -1.
18470 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18471 loading the domain.
18472
b50a7181
JM
184732013-05-22 Joseph Myers <joseph@codesourcery.com>
18474
18475 * math/gen-libm-test.pl (parse_args): Do not include expected
18476 result in test name.
18477 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18480 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18483
051063c8
SP
184842013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18485
3ce9e010
SP
18486 * benchtests/Makefile: Sort function entries.
18487
051063c8
SP
18488 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18489 tanh, asinh, acosh, atanh.
18490 * benchtests/acos-inputs: New file.
18491 * benchtests/acosh-inputs: New file.
18492 * benchtests/asin-inputs: New file.
18493 * benchtests/asinh-inputs: New file.
18494 * benchtests/atanh-inputs: New file.
18495 * benchtests/cosh-inputs: New file.
18496 * benchtests/log-inputs: New file.
18497 * benchtests/sinh-inputs: New file.
18498 * benchtests/tanh-inputs: New file.
18499
47c22455
DL
185002013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18501
18502 [BZ #15339]
18503 * posix/tst-getaddrinfo4.c: New test.
18504 * posix/Makefile (tests): Add it.
18505
3d04f5db
SP
185062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18507
18508 [BZ #15339]
18509 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18510 when no services were used.
18511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18512 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18513
d5dd6189
AS
185142013-05-21 Andreas Schwab <schwab@suse.de>
18515
18516 [BZ #15014]
18517 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18518 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18519 successful.
18520 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18521 redundant variable declarations and reallocation of buffer when
18522 parsing as IPv6 address. Always set NSS status when called from
18523 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18524 buffer too small. Correct computation of needed size.
18525 * nss/Makefile (tests): Add test-digits-dots.
18526 * nss/test-digits-dots.c: New test.
18527
fef94eab
SP
185282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18529
18530 * benchtests/Makefile: Remove instructions for adding
18531 benchmark tests.
18532 * benchtests/README: New file to explain how to execute and
18533 enhance the benchmark tests.
18534
e39adf43
AS
185352013-05-21 Andreas Schwab <schwab@suse.de>
18536
18537 [BZ #15493]
18538 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18539 * setjmp/tst-sigsetjmp.c: New test.
18540
b2b671b6
OB
185412013-05-20 Ondřej Bílka <neleai@seznam.cz>
18542
18543 * sysdeps/x86_64/memset.S (memset): New implementation.
18544 (__bzero): Likewise.
18545 (__memset_tail): New function.
18546
2d48b41c
OB
185472013-05-20 Ondřej Bílka <neleai@seznam.cz>
18548
18549 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18550 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18551 __memcpy_sse2_unaligned ifunc selection.
18552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18553 Add memcpy-sse2-unaligned.S.
18554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18555 Add: __memcpy_sse2_unaligned.
18556
f16cc3eb
JM
185572013-05-19 Joseph Myers <joseph@codesourcery.com>
18558
3e694268
JM
18559 [BZ #15490]
18560 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18561 math_force_eval before restoring floating-point envrionment.
18562 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18564 Likewise.
18565 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18566 <math_private.h>.
18567 (__nearbyintl): Use math_force_eval before restoring
18568 floating-point environment.
18569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18570
db62a907
JM
18571 * math/gen-libm-test.pl (special_functions): Remove.
18572 (parse_args): Don't handle TEST_extra. Handle functions with no
18573 return value.
18574 * math/libm-test.inc (struct test_sincos_data): Replace with
18575 struct test_fFF_11_data.
18576 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18577 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18578 (sincos_test_data): Change element type to struct
18579 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18580 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18581 RUN_TEST_LOOP_sincos.
18582 * math/README.libm-test: Don't mention special handling of
18583 individual functions.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18586 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18587 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18588 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18590
f16cc3eb
JM
18591 * math/gen-libm-test.pl (get_variable): Remove function.
18592 (parse_args): Don't show pointer parameters to call in test
18593 names. Use "extra output N" in test names for extra outputs
18594 rather than naming variables.
18595
3779b5b6
JM
185962013-05-18 Joseph Myers <joseph@codesourcery.com>
18597
2ee094ff
JM
18598 [BZ #15488]
18599 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18600 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18601 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18602 double tests.
18603 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18604 disable.
18605 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18606 check_long_double.
18607
3779b5b6
JM
18608 * math/gen-libm-test.pl (@tests): Remove variable.
18609 ($count): Likewise.
18610 (new_test): Remove function.
18611 (show_exceptions): New function.
18612 (special_functions): Use show_exceptions instead of new_test.
18613 (parse_args): Likewise.
18614 (generate_testfile): Pass only function name in generated call to
18615 print_max_error or print_complex_max_error.
18616 (get_ulps): Do not handle complex tests specially.
18617 (output_test): Rename to ...
18618 (get_all_ulps_for_test): ... this. Return a string rather than
18619 printing to a file. Require ulps to be present.
18620 (output_ulps): Generate arrays rather than #defines.
18621 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18622 (struct ulp_data): New type.
18623 (BUILD_COMPLEX_ULP): Remove macro.
18624 (compare_ulp_data): New function.
18625 (find_ulps): Likewise.
18626 (find_test_ulps): Likewise.
18627 (find_function_ulps): Likewise.
18628 (find_complex_function_ulps): Likewise.
18629 (print_max_error): Determine allowed ulps using
18630 find_function_ulps.
18631 (print_complex_max_error): Determine allowed ulps using
18632 find_complex_function_ulps.
18633 (check_float_internal): Determine max ulps using find_test_ulps.
18634 (check_float): Do not take max_ulp parameter. Update call to
18635 check_float_internal.
18636 (check_complex): Likewise.
18637 (check_int): Do not take max_ulp parameter.
18638 (check_long): Likewise.
18639 (check_bool): Likewise.
18640 (check_longlong): Likewise.
18641 (struct test_f_f_data): Remove max_ulp field.
18642 (struct test_ff_f_data): Likewise.
18643 (struct test_ff_f_data_nexttoward): Likewise.
18644 (struct test_fi_f_data): Likewise.
18645 (struct test_fl_f_data): Likewise.
18646 (struct test_if_f_data): Likewise.
18647 (struct test_fff_f_data): Likewise.
18648 (struct test_c_f_data): Likewise.
18649 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18650 (struct test_fF_f1_data): Likewise.
18651 (struct test_ffI_f1_data): Likewise.
18652 (struct test_c_c_data): Remove max_ulp field.
18653 (struct test_cc_c_data): Likewise.
18654 (struct test_f_i_data): Likewise.
18655 (struct test_ff_i_data): Likewise.
18656 (struct test_f_l_data): Likewise.
18657 (struct test_f_L_data): Likewise.
18658 (struct test_sincos_data): Likewise.
18659 (RUN_TEST_f_f): Do not handle ulps.
18660 (RUN_TEST_LOOP_f_f): Likewise.
18661 (RUN_TEST_2_f): Likewise.
18662 (RUN_TEST_LOOP_2_f): Likewise.
18663 (RUN_TEST_fff_f): Likewise.
18664 (RUN_TEST_LOOP_fff_f): Likewise.
18665 (RUN_TEST_c_f): Likewise.
18666 (RUN_TEST_LOOP_c_f): Likewise.
18667 (RUN_TEST_f_f1): Likewise.
18668 (RUN_TEST_LOOP_f_f1): Likewise.
18669 (RUN_TEST_fF_f1): Likewise.
18670 (RUN_TEST_LOOP_fF_f1): Likewise.
18671 (RUN_TEST_fI_f1): Likewise.
18672 (RUN_TEST_LOOP_fI_f1): Likewise.
18673 (RUN_TEST_ffI_f1): Likewise.
18674 (RUN_TEST_LOOP_ffI_f1): Likewise.
18675 (RUN_TEST_c_c): Likewise.
18676 (RUN_TEST_LOOP_c_c): Likewise.
18677 (RUN_TEST_cc_c): Likewise.
18678 (RUN_TEST_LOOP_cc_c): Likewise.
18679 (RUN_TEST_f_i): Likewise.
18680 (RUN_TEST_LOOP_f_i): Likewise.
18681 (RUN_TEST_f_i_tg): Likewise.
18682 (RUN_TEST_LOOP_f_i_tg): Likewise.
18683 (RUN_TEST_ff_i_tg): Likewise.
18684 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18685 (RUN_TEST_f_b): Likewise.
18686 (RUN_TEST_LOOP_f_b): Likewise.
18687 (RUN_TEST_f_b_tg): Likewise.
18688 (RUN_TEST_LOOP_f_b_tg): Likewise.
18689 (RUN_TEST_f_l): Likewise.
18690 (RUN_TEST_LOOP_f_l): Likewise.
18691 (RUN_TEST_f_L): Likewise.
18692 (RUN_TEST_LOOP_f_L): Likewise.
18693 (RUN_TEST_sincos): Likewise.
18694 (RUN_TEST_LOOP_sincos): Likewise.
18695
8269107f
JM
186962013-05-17 Joseph Myers <joseph@codesourcery.com>
18697
bb38759d
JM
18698 [BZ #15480]
18699 [BZ #15485]
18700 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18701 main case of finite arguments, set rounding mode to FE_TONEAREST
18702 and discard exceptions.
18703 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18704 exceptions.
18705 (remainder_tonearest_test_data): New variable.
18706 (remainder_test_tonearest): New function.
18707 (remainder_towardzero_test_data): New variable.
18708 (remainder_test_towardzero): New function.
18709 (remainder_downward_test_data): New variable.
18710 (remainder_test_downward): New function.
18711 (remainder_upward_test_data): New variable.
18712 (remainder_test_upward): New function.
18713 (main): Call the new test functions.
18714
a00bdcf0
JM
18715 * math/libm-test.inc (struct test_f_f1_data): Remove field
18716 extra_init.
18717 (struct test_fF_f1_data): Likewise.
18718 (struct test_ffI_f1_data): Likewise.
18719 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18720 based on value of EXTRA_EXPECTED.
18721 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18722 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18723 EXTRA_VAR based on value of EXTRA_EXPECTED.
18724 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18725 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18726 EXTRA_VAR based on value of EXTRA_EXPECTED.
18727 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18728 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18729 EXTRA_VAR based on value of EXTRA_EXPECTED.
18730 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18731 * math/gen-libm-test.pl (parse_args): Don't output initializers
18732 for extra output values.
18733
de407f79
JM
18734 * math/libm-test.inc (check_int): Expect result to be exactly
18735 equal to expected value and do not handle ulps.
18736 (check_long): Likewise.
18737 (check_longlong): Likewise.
18738
8269107f
JM
18739 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18740 exceptions.
18741 (cimag_test_data): Likewise.
18742 (conj_test_data): Likewise.
18743 (copysign_test_data): Likewise.
18744 (cproj_test_data): Likewise.
18745 (creal_test_data): Likewise.
18746 (fabs_test_data): Likewise.
18747 (fdim_test_data): Likewise.
18748 (finite_test_data): Likewise.
18749 (floor_test_data): Likewise.
18750 (fmax_test_data): Likewise.
18751 (fmin_test_data): Likewise.
18752 (fmod_test_data): Likewise.
18753 (fpclassify_test_data): Likewise.
18754 (frexp_test_data): Likewise.
18755 (ilogb_test_data): Likewise.
18756 (isfinite_test_data): Likewise.
18757 (isgreater_test_data): Likewise.
18758 (isgreaterequal_test_data): Likewise.
18759 (isinf_test_data): Likewise.
18760 (isless_test_data): Likewise.
18761 (islessequal_test_data): Likewise.
18762 (islessgreater_test_data): Likewise.
18763 (isnan_test_data): Likewise.
18764 (isnormal_test_data): Likewise.
18765 (issignaling_test_data): Likewise.
18766 (isunordered_test_data): Likewise.
18767 (ldexp_test_data): Likewise.
18768 (lrint_test_data): Likewise.
18769 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18770 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18771 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18772 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18773 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18774 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18775 test input.
18776 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18777 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18778 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18779 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18780 that test input.
18781 (lrint_downward_test_data): Test for "inexact" exceptions.
18782 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18783 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18784 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18785 test input.
18786 (lrint_upward_test_data): Test for "inexact" exceptions.
18787 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18788 test input.
18789 (llrint_test_data): Test for "inexact" exceptions.
18790 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18791 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18792 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18793 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18794 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18795 (llrint_downward_test_data): Test for "inexact" exceptions.
18796 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18797 (llrint_upward_test_data): Test for "inexact" exceptions.
18798 (logb_test_data): Likewise.
18799 (logb_downward_test_data): Likewise.
18800 (nextafter_test_data): Likewise.
18801 (nexttoward_test_data): Likewise.
18802 (remainder_test_data): Likewise.
18803 (remquo_test_data): Likewise.
18804 (scalbn_test_data): Likewise.
18805 (scalbln_test_data): Likewise.
18806 (signbit_test_data): Likewise.
18807 (sqrt_test_data): Likewise.
18808 (significand_test_data): Likewise.
18809
48a18de1
SP
188102013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18811
18812 [BZ #15424]
18813 * benchtests/bench-modf.c (struct args): Mark arg0 as
18814 volatile.
18815 * scripts/bench.pl: Mark members of struct args as volatile.
18816
13d3b41a
AZ
188172013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18818
68191c1d 18819 [BZ # 15497]
13d3b41a
AZ
18820 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18821 negative infinity on POWER6 or lower.
18822 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18823
2848b105
MR
188242013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18825
18826 [BZ #15442]
18827 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18828 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18829 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18830 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18831 (_FP_SETQNAN): New macro.
18832 (_FP_SETQNAN_SEMIRAW): Likewise.
18833 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18834 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18835 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18836 (FP_EXTEND): Use _FP_FRAC_SNANP.
18837 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18838 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18839 into account.
18840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18841 New macro.
18842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18843 Likewise.
18844
323e5cb7
JM
188452013-05-16 Joseph Myers <joseph@codesourcery.com>
18846
c58b274f
JM
18847 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18848 with DIVIDE_BY_ZERO_EXCEPTION.
18849 (gamma_test_data): Likewise.
18850 (lgamma_test_data): Likewise.
18851 (log_test_data): Likewise.
18852 (log10_test_data): Likewise.
18853 (log2_test_data): Likewise.
18854 (tgamma_test_data): Likewise.
18855
0ab34904
JM
18856 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18857 (acos_test_tonearest): Likewise.
18858 (acos_test_towardzero): Likewise.
18859 (acos_test_downward): Likewise.
18860 (acos_test_upward): Likewise.
18861 (acosh_test): Likewise.
18862 (asin_test): Likewise.
18863 (asin_test_tonearest): Likewise.
18864 (asin_test_towardzero): Likewise.
18865 (asin_test_downward): Likewise.
18866 (asin_test_upward): Likewise.
18867 (asinh_test): Likewise.
18868 (atan_test): Likewise.
18869 (atanh_test): Likewise.
18870 (atan2_test): Likewise.
18871 (cabs_test): Likewise.
18872 (cacos_test): Likewise.
18873 (cacosh_test): Likewise.
18874 (casin_test): Likewise.
18875 (casinh_test): Likewise.
18876 (catan_test): Likewise.
18877 (catanh_test): Likewise.
18878 (cbrt_test): Likewise.
18879 (ccos_test): Likewise.
18880 (ccosh_test): Likewise.
18881 (cexp_test): Likewise.
18882 (clog_test): Likewise.
18883 (clog10_test): Likewise.
18884 (cos_test): Likewise.
18885 (cos_test_tonearest): Likewise.
18886 (cos_test_towardzero): Likewise.
18887 (cos_test_downward): Likewise.
18888 (cos_test_upward): Likewise.
18889 (cosh_test): Likewise.
18890 (cosh_test_tonearest): Likewise.
18891 (cosh_test_towardzero): Likewise.
18892 (cosh_test_downward): Likewise.
18893 (cosh_test_upward): Likewise.
18894 (cpow_test): Likewise.
18895 (csin_test): Likewise.
18896 (csinh_test): Likewise.
18897 (csqrt_test): Likewise.
18898 (ctan_test): Likewise.
18899 (ctan_test_tonearest): Likewise.
18900 (ctan_test_towardzero): Likewise.
18901 (ctan_test_downward): Likewise.
18902 (ctan_test_upward): Likewise.
18903 (ctanh_test): Likewise.
18904 (ctanh_test_tonearest): Likewise.
18905 (ctanh_test_towardzero): Likewise.
18906 (ctanh_test_downward): Likewise.
18907 (ctanh_test_upward): Likewise.
18908 (erf_test): Likewise.
18909 (erfc_test): Likewise.
18910 (exp_test): Likewise.
18911 (exp_test_tonearest): Likewise.
18912 (exp_test_towardzero): Likewise.
18913 (exp_test_downward): Likewise.
18914 (exp_test_upward): Likewise.
18915 (exp10_test): Likewise.
18916 (exp2_test): Likewise.
18917 (expm1_test): Likewise.
18918 (fmod_test): Likewise.
18919 (gamma_test): Likewise.
18920 (hypot_test): Likewise.
18921 (j0_test): Likewise.
18922 (j1_test): Likewise.
18923 (jn_test): Likewise.
18924 (lgamma_test): Likewise.
18925 (log_test): Likewise.
18926 (log10_test): Likewise.
18927 (log1p_test): Likewise.
18928 (log2_test): Likewise.
18929 (logb_test_downward): Likewise.
18930 (pow_test): Likewise.
18931 (pow_test_tonearest): Likewise.
18932 (pow_test_towardzero): Likewise.
18933 (pow_test_downward): Likewise.
18934 (pow_test_upward): Likewise.
18935 (remainder_test): Likewise.
18936 (remquo_test): Likewise.
18937 (sin_test): Likewise.
18938 (sin_test_tonearest): Likewise.
18939 (sin_test_towardzero): Likewise.
18940 (sin_test_downward): Likewise.
18941 (sin_test_upward): Likewise.
18942 (sincos_test): Likewise.
18943 (sinh_test): Likewise.
18944 (sinh_test_tonearest): Likewise.
18945 (sinh_test_towardzero): Likewise.
18946 (sinh_test_downward): Likewise.
18947 (sinh_test_upward): Likewise.
18948 (sqrt_test): Likewise.
18949 (tan_test): Likewise.
18950 (tan_test_tonearest): Likewise.
18951 (tan_test_towardzero): Likewise.
18952 (tan_test_downward): Likewise.
18953 (tan_test_upward): Likewise.
18954 (tanh_test): Likewise.
18955 (tgamma_test): Likewise.
18956 (y0_test): Likewise.
18957 (y1_test): Likewise.
18958 (yn_test): Likewise.
18959
323e5cb7
JM
18960 * math/gen-libm-test.pl (adjust_arg): Remove function.
18961 (special_function): Remove argument $in_func. Only handle
18962 generating output for tables of tests, not inside functions.
18963 (parse_args): Likewise.
18964 (generate_testfile): Remove variable $in_func. Update call to
18965 parse_args.
18966 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18967 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18968 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18969 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18970 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18971 (MAX_VALUE_INIT): Rename macro to max_value.
18972 (MIN_VALUE_INIT): Rename macro to min_value.
18973 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18974 (plus_zero): Remove variable.
18975 (minus_zero): Likewise.
18976 (plus_infty): Likewise.
18977 (minus_infty): Likewise.
18978 (qnan_value): Likewise.
18979 (max_value): Likewise.
18980 (min_value): Likewise.
18981 (min_subnorm_value): Likewise.
18982
e054f494
RA
189832013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18984
18985 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18986 uint64_t or uint32_t usage.
18987 * crypt/sha256-block.c: Likewise.
18988 * crypt/sha256-crypt.c: Likewise.
18989 * crypt/sha256.c: Likewise.
18990 * crypt/sha512-block.c: Likewise.
18991 * crypt/sha512-crypt.c: Likewise.
18992 * crypt/sha512.c: Likewise.
18993 * debug/backtrace-tst.c: Likewise.
18994 * debug/pcprofiledump.c: Likewise.
18995 * elf/cache.c: Likewise.
18996 * elf/dl-cache.c: Likewise.
18997 * elf/dl-misc.c: Likewise.
18998 * elf/dl-profile.c: Likewise.
18999 * elf/dl-support.c: Likewise.
19000 * elf/ldconfig.c: Likewise.
19001 * elf/sprof.c: Likewise.
19002 * iconv/dummy-repertoire.c: Likewise.
19003 * iconv/iconv_charmap.c: Likewise.
19004 * iconv/skeleton.c: Likewise.
19005 * iconvdata/8bit-generic.c: Likewise.
19006 * iconvdata/cp737.h: Likewise.
19007 * iconvdata/cp775.h: Likewise.
19008 * iconvdata/ibm1008.h: Likewise.
19009 * iconvdata/ibm1025.h: Likewise.
19010 * iconvdata/ibm1046.h: Likewise.
19011 * iconvdata/ibm1097.h: Likewise.
19012 * iconvdata/ibm1112.h: Likewise.
19013 * iconvdata/ibm1122.h: Likewise.
19014 * iconvdata/ibm1123.h: Likewise.
19015 * iconvdata/ibm1124.h: Likewise.
19016 * iconvdata/ibm1129.h: Likewise.
19017 * iconvdata/ibm1130.h: Likewise.
19018 * iconvdata/ibm1132.h: Likewise.
19019 * iconvdata/ibm1133.h: Likewise.
19020 * iconvdata/ibm1137.h: Likewise.
19021 * iconvdata/ibm1140.h: Likewise.
19022 * iconvdata/ibm1141.h: Likewise.
19023 * iconvdata/ibm1142.h: Likewise.
19024 * iconvdata/ibm1143.h: Likewise.
19025 * iconvdata/ibm1144.h: Likewise.
19026 * iconvdata/ibm1145.h: Likewise.
19027 * iconvdata/ibm1146.h: Likewise.
19028 * iconvdata/ibm1147.h: Likewise.
19029 * iconvdata/ibm1148.h: Likewise.
19030 * iconvdata/ibm1149.h: Likewise.
19031 * iconvdata/ibm1153.h: Likewise.
19032 * iconvdata/ibm1154.h: Likewise.
19033 * iconvdata/ibm1155.h: Likewise.
19034 * iconvdata/ibm1156.h: Likewise.
19035 * iconvdata/ibm1157.h: Likewise.
19036 * iconvdata/ibm1158.h: Likewise.
19037 * iconvdata/ibm1160.h: Likewise.
19038 * iconvdata/ibm1161.h: Likewise.
19039 * iconvdata/ibm1162.h: Likewise.
19040 * iconvdata/ibm1163.h: Likewise.
19041 * iconvdata/ibm1164.h: Likewise.
19042 * iconvdata/ibm1166.h: Likewise.
19043 * iconvdata/ibm1167.h: Likewise.
19044 * iconvdata/ibm12712.h: Likewise.
19045 * iconvdata/ibm1390.h: Likewise.
19046 * iconvdata/ibm1399.h: Likewise.
19047 * iconvdata/ibm16804.h: Likewise.
19048 * iconvdata/ibm4517.h: Likewise.
19049 * iconvdata/ibm4899.h: Likewise.
19050 * iconvdata/ibm4909.h: Likewise.
19051 * iconvdata/ibm4971.h: Likewise.
19052 * iconvdata/ibm5347.h: Likewise.
19053 * iconvdata/ibm803.h: Likewise.
19054 * iconvdata/ibm856.h: Likewise.
19055 * iconvdata/ibm901.h: Likewise.
19056 * iconvdata/ibm902.h: Likewise.
19057 * iconvdata/ibm9030.h: Likewise.
19058 * iconvdata/ibm9066.h: Likewise.
19059 * iconvdata/ibm921.h: Likewise.
19060 * iconvdata/ibm922.h: Likewise.
19061 * iconvdata/ibm9448.h: Likewise.
19062 * iconvdata/isiri-3342.h: Likewise.
19063 * iconvdata/jis0201.h: Likewise.
19064 * include/link.h: Likewise.
19065 * include/netdb.h: Likewise.
19066 * inet/check_native.c: Likewise.
19067 * inet/check_pf.c: Likewise.
19068 * inet/getipv4sourcefilter.c: Likewise.
19069 * inet/getnameinfo.c: Likewise.
19070 * inet/getsourcefilter.c: Likewise.
19071 * inet/htonl.c: Likewise.
19072 * inet/setipv4sourcefilter.c: Likewise.
19073 * inet/setsourcefilter.c: Likewise.
19074 * inet/test-inet6_opt.c: Likewise.
19075 * inet/tst-network.c: Likewise.
19076 * locale/C-collate.c: Likewise.
19077 * locale/C-ctype.c: Likewise.
19078 * locale/C-time.c: Likewise.
19079 * locale/C-translit.h: Likewise.
19080 * locale/loadarchive.c: Likewise.
19081 * locale/programs/3level.h: Likewise.
19082 * locale/programs/charmap.c: Likewise.
19083 * locale/programs/charmap.h: Likewise.
19084 * locale/programs/ld-address.c: Likewise.
19085 * locale/programs/ld-collate.c: Likewise.
19086 * locale/programs/ld-ctype.c: Likewise.
19087 * locale/programs/ld-identification.c: Likewise.
19088 * locale/programs/ld-measurement.c: Likewise.
19089 * locale/programs/ld-messages.c: Likewise.
19090 * locale/programs/ld-monetary.c: Likewise.
19091 * locale/programs/ld-name.c: Likewise.
19092 * locale/programs/ld-numeric.c: Likewise.
19093 * locale/programs/ld-paper.c: Likewise.
19094 * locale/programs/ld-telephone.c: Likewise.
19095 * locale/programs/ld-time.c: Likewise.
19096 * locale/programs/linereader.c: Likewise.
19097 * locale/programs/locale.c: Likewise.
19098 * locale/programs/locarchive.c: Likewise.
19099 * locale/programs/locfile.h: Likewise.
19100 * locale/programs/repertoire.c: Likewise.
19101 * locale/programs/simple-hash.c: Likewise.
19102 * locale/programs/simple-hash.h: Likewise.
19103 * malloc/memusage.c: Likewise.
19104 * malloc/memusagestat.c: Likewise.
19105 * nis/nis_defaults.c: Likewise.
19106 * nis/nis_hash.c: Likewise.
19107 * nis/nis_print.c: Likewise.
19108 * nis/nis_xdr.c: Likewise.
19109 * nscd/connections.c: Likewise.
19110 * nscd/hstcache.c: Likewise.
19111 * nscd/nscd_gethst_r.c: Likewise.
19112 * nscd/nscd_getserv_r.c: Likewise.
19113 * nscd/nscd_helper.c: Likewise.
19114 * nscd/servicescache.c: Likewise.
19115 * nss/makedb.c: Likewise.
19116 * nss/nss_db/db-XXX.c: Likewise.
19117 * nss/nss_db/db-initgroups.c: Likewise.
19118 * nss/nss_db/db-netgrp.c: Likewise.
19119 * nss/nss_files/files-network.c: Likewise.
19120 * nss/nss_files/files-parse.c: Likewise.
19121 * posix/bug-regex5.c: Likewise.
19122 * posix/fnmatch_loop.c: Likewise.
19123 * posix/regcomp.c: Likewise.
19124 * posix/regexec.c: Likewise.
19125 * posix/tst-rfc3484-2.c: Likewise.
19126 * posix/tst-rfc3484-3.c: Likewise.
19127 * posix/tst-rfc3484.c: Likewise.
19128 * resolv/nss_dns/dns-canon.c: Likewise.
19129 * resolv/nss_dns/dns-network.c: Likewise.
19130 * resolv/res_init.c: Likewise.
19131 * resolv/res_mkquery.c: Likewise.
19132 * resolv/tst-aton.c: Likewise.
19133 * stdlib/cxa_atexit.c: Likewise.
19134 * stdlib/cxa_finalize.c: Likewise.
19135 * stdlib/gen-fpioconst.c: Likewise.
19136 * stdlib/strtol_l.c: Likewise.
19137 * string/tst-endian.c: Likewise.
19138 * sunrpc/auth_des.c: Likewise.
19139 * sunrpc/clnt_udp.c: Likewise.
19140 * sunrpc/rtime.c: Likewise.
19141 * sunrpc/svcauth_des.c: Likewise.
19142 * sunrpc/xdr.c: Likewise.
19143 * sunrpc/xdr_intXX_t.c: Likewise.
19144 * sunrpc/xdr_rec.c: Likewise.
19145 * sysdeps/generic/ldconfig.h: Likewise.
19146 * sysdeps/generic/ldsodefs.h: Likewise.
19147 * sysdeps/generic/memusage.h: Likewise.
19148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19150 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19151 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19152 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19154 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19156 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19158 * sysdeps/posix/getaddrinfo.c: Likewise.
19159 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19161 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19162 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19163 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19164 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19165 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19166 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19167 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19168 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19169 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19170 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19171 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19172 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19174 * sysdeps/x86_64/dl-tls.h: Likewise.
19175 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19176 * time/alt_digit.c: Likewise.
19177 * time/era.c: Likewise.
19178 * wcsmbs/tst-c16c32-1.c: Likewise.
19179
8c75f674
JM
191802013-05-16 Joseph Myers <joseph@codesourcery.com>
19181
19182 * math/libm-test.inc (struct test_sincos_data): New type.
19183 (RUN_TEST_LOOP_sincos): New macro.
19184 (sincos_test_data): New variable.
19185 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19186
e6e49e59
RH
191872013-05-16 Richard Henderson <rth@redhat.com>
19188
19189 * math/atest-exp2.c (LIMB64): New macro.
19190 (CONSTSZ): New macro.
19191 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19192 (hexdig): Move ...
19193 (print_mpn_fp): ... to function scope.
19194 (read_mpn_hex): Remove.
19195 (get_log2): Remove.
19196 (exp2_mpn): Use mp_log2.
19197 (main): Use mp_exp1.
19198
15c7c18d
JM
191992013-05-16 Joseph Myers <joseph@codesourcery.com>
19200
105a07df
JM
19201 * math/libm-test.inc: Remove comment about not testing "inexact"
19202 exceptions.
19203 (INEXACT_EXCEPTION): New macro.
19204 (NO_INEXACT_EXCEPTION): Likewise.
19205 (INVALID_EXCEPTION_OK): Update value.
19206 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19207 (OVERFLOW_EXCEPTION_OK): Likewise.
19208 (UNDERFLOW_EXCEPTION_OK): Likewise.
19209 (IGNORE_ZERO_INF_SIGN): Likewise.
19210 (ERRNO_UNCHANGED): Likewise.
19211 (ERRNO_EDOM): Likewise.
19212 (ERRNO_ERANGE): Likewise.
19213 (test_exceptions): Handle testing "inexact" exceptions.
19214 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19215 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19216 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19217 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19218 INEXACT_EXCEPTION.
19219 (rint_towardzero_test_data): Likewise.
19220 (rint_downward_test_data): Likewise.
19221 (rint_upward_test_data): Likewise.
19222
e9eee333
JM
19223 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19224 with OVERFLOW_EXCEPTION.
19225 (exp10_test_data): Likewise.
19226 (exp2_test_data): Likewise.
19227 (expm1_test_data): Likewise.
19228 (lgamma_test_data): Likewise.
19229 (pow_test_data): Likewise.
19230 (tgamma_test_data): Likewise.
19231 (yn_test_data): Remove duplicate test of overflow.
19232
1c38ff73
JM
19233 * math/libm-test.inc (struct test_cc_c_data): New type.
19234 (RUN_TEST_LOOP_cc_c): New macro.
19235 (cpow_test_data): New variable.
19236 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19237
15c7c18d
JM
19238 * math/libm-test.inc (struct test_f_L_data): New type.
19239 (RUN_TEST_LOOP_f_L): New macro.
19240 (llrint_test_data): New variable.
19241 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19242 (llrint_tonearest_test_data): New variable.
19243 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19244 (llrint_towardzero_test_data): New variable.
19245 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19246 (llrint_downward_test_data): New variable.
19247 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19248 (llrint_upward_test_data): New variable.
19249 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19250 (llround_test_data): New variable.
19251 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19252
f137ff13
PC
192532013-05-13 Peter Collingbourne <pcc@google.com>
19254
19255 * math/atest-exp2.c (get_log2): Remove const attribute.
19256
3608cb24
JM
192572013-05-15 Joseph Myers <joseph@codesourcery.com>
19258
19259 * math/libm-test.inc (struct test_f_l_data): New type.
19260 (RUN_TEST_LOOP_f_l): New macro.
19261 (lrint_test_data): New variable.
19262 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19263 (lrint_tonearest_test_data): New variable.
19264 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19265 (lrint_towardzero_test_data): New variable.
19266 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19267 (lrint_downward_test_data): New variable.
19268 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19269 (lrint_upward_test_data): New variable.
19270 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19271 (lround_test_data): New variable.
19272 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19273
39b1f617
PC
192742013-05-15 Peter Collingbourne <pcc@google.com>
19275
1deff3dc
PC
19276 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19277 (EXTRACT_WORDS64) Use where appropriate.
19278 (INSERT_WORDS64) Likewise.
19279
791f3ba0
PC
19280 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19281 constraints with x constraints.
19282 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19283
39b1f617
PC
19284 * malloc/obstack.c (_obstack_compat): Add initializer.
19285
12fba011
EM
192862013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19287
19288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19289 si_trapno and add si_addr_lsb to _sifields.sigfault.
19290 (si_trapno): Remove macro.
19291 (si_addr_lsb): Define new macro.
19292 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19293
d369f531
JM
192942013-05-15 Joseph Myers <joseph@codesourcery.com>
19295
b861c6c4
JM
19296 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19297 instead of TEST_f_l.
19298 (llrint_test_tonearest): Likewise.
19299 (llrint_test_towardzero): Likewise.
19300 (llrint_test_downward): Likewise.
19301 (llrint_test_upward): Likewise.
19302 (llround_test): Likewise.
19303
7abeee12
JM
19304 * math/libm-test.inc (struct test_f_i_data): Add comment.
19305 (RUN_TEST_LOOP_f_b): New macro.
19306 (RUN_TEST_LOOP_f_b_tg): Likewise.
19307 (finite_test_data): New variable.
19308 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19309 (isfinite_test_data): New variable.
19310 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19311 (isinf_test_data): New variable.
19312 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19313 (isnan_test_data): New variable.
19314 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19315 (isnormal_test_data): New variable.
19316 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19317 (issignaling_test_data): New variable.
19318 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19319 (signbit_test_data): New variable.
19320 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19321
cbe8c4d3
JM
19322 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19323 with INVALID_EXCEPTION.
19324 (acosh_test_data): Likewise.
19325 (asin_test_data): Likewise.
19326 (atanh_test_data): Likewise.
19327 (fmod_test_data): Likewise.
19328 (log_test_data): Likewise.
19329 (log10_test_data): Likewise.
19330 (log2_test_data): Likewise.
19331 (pow_test_data): Likewise.
19332 (sqrt_test_data): Likewise.
19333 (y0_test_data): Likewise.
19334 (y1_test_data): Likewise.
19335 (yn_test_data): Likewise.
19336
5575c0e5
JM
19337 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19338 function contents.
19339
d369f531
JM
19340 * math/libm-test.inc (struct test_ff_i_data): New type.
19341 (RUN_TEST_LOOP_ff_i_tg): New macro.
19342 (isgreater_test_data): New variable.
19343 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19344 (isgreaterequal_test_data): New variable.
19345 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19346 (isless_test_data): New variable.
19347 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19348 (islessequal_test_data): New variable.
19349 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19350 (islessgreater_test_data): New variable.
19351 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19352 (isunordered_test_data): New variable.
19353 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19354
781fd748
DM
193552013-05-14 David S. Miller <davem@davemloft.net>
19356
19357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19358
87aa21df
JM
193592013-05-14 Joseph Myers <joseph@codesourcery.com>
19360
5e908270
JM
19361 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19362
f71172e5
JM
19363 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19364 extra_test to int.
19365 (struct test_f_i_data): Change type of max_ulp to int.
19366
8cfa635a
JM
19367 * math/libm-test.inc (test_ffI_f1_data): New type.
19368 (RUN_TEST_LOOP_ffI_f1): New macro.
19369 (remquo_test_data): New variable.
19370 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19371
2bcb36b2
JM
19372 * setjmp/tst-setjmp-fp.c: New file.
19373 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19374 (link-libm): New variable.
19375 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19376
acbd839a
JM
19377 * math/libm-test.inc (struct test_f_i_data): New type.
19378 (RUN_TEST_LOOP_f_i): New macro.
19379 (RUN_TEST_LOOP_f_i_tg): Likewise.
19380 (fpclassify_test_data): New variable.
19381 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19382 (ilogb_test_data): New variable.
19383 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19384
e414d745
JM
19385 * math/libm-test.inc (scalbln_test): Correct function name in END
19386 call.
19387
d9c2a0fd
JM
19388 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19389 (RUN_TEST_LOOP_fI_f1): New macro.
19390 (frexp_test_data): New variable.
19391 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19392
9dc9095d
JM
19393 * math/libm-test.inc (struct test_fF_f1_data): New type.
19394 (RUN_TEST_LOOP_fF_f1): New macro.
19395 (modf_test_data): New variable.
19396 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19397
87aa21df
JM
19398 * math/libm-test.inc (struct test_f_f1_data): New type.
19399 (RUN_TEST_LOOP_f_f1): New macro.
19400 (gamma_test_data): New variable.
19401 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19402 (lgamma_test_data): New variable.
19403 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19404
141af660
CD
194052013-05-13 Carlos O'Donell <carlos@redhat.com>
19406
19407 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19408 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19409 (main): Comment "tls" pseudo-hwcap.
19410
6d33265c
JM
194112013-05-13 Joseph Myers <joseph@codesourcery.com>
19412
68fc074c
JM
19413 * math/libm-test.inc (struct test_fl_f_data): New type.
19414 (RUN_TEST_LOOP_fl_f): New variable.
19415 (scalbln_test_data): New variable.
19416 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19417
243216e1
JM
19418 * math/libm-test.inc (struct test_fi_f_data): New type.
19419 (RUN_TEST_LOOP_fi_f): New macro.
19420 (ldexp_test_data): New variable.
19421 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19422 (scalbn_test_data): New variable.
19423 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19424
6a1992e2
JM
19425 * math/libm-test.inc (struct test_c_f_data): New type.
19426 (RUN_TEST_LOOP_c_f): New macro.
19427 (cabs_test_data): New variable.
19428 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19429 (carg_test_data): New variable.
19430 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19431 (cimag_test_data): New variable.
19432 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19433 (creal_test_data): New variable.
19434 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19435
0e400df5
JM
19436 * math/libm-test.inc (struct test_if_f_data): New type.
19437 (RUN_TEST_LOOP_if_f): New macro.
19438 (jn_test_data): New variable.
19439 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19440 (yn_test_data): New variable.
19441 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19442
6d33265c
JM
19443 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19444
f98ece5f
AZ
194452013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19446
19447 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19448 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19449
0f7d347b
SP
194502013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19451
43fe811b
SP
19452 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19453 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19454 (bench-deps): Add bench-timing.h.
19455 * benchtests-bench-skeleton.c: Include bench-timing.h.
19456 (main): Use TIMING_* macros instead of clock_gettime.
19457 * benchtests/bench-timing.h: New file.
19458
0f7d347b
SP
19459 [BZ #14582]
19460 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19461 Renamed from _LIB_VERSION.
19462 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19463
601a3a5f
JM
194642013-05-12 Joseph Myers <joseph@codesourcery.com>
19465
4f184d30
JM
19466 * math/libm-test.inc (struct test_fff_f_data): New type.
19467 (RUN_TEST_LOOP_fff_f): New macro.
19468 (fma_test_data): New variable.
19469 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19470 (fma_towardzero_test_data): New variable.
19471 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19472 (fma_downward_test_data): New variable.
19473 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19474 (fma_upward_test_data): New variable.
19475 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19476
08198877
JM
19477 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19478 (struct test_c_c_data): New type.
19479 (RUN_TEST_LOOP_c_c): New macro.
19480 (cacos_test_data): New variable.
19481 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19482 (cacosh_test_data): New variable.
19483 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19484 (casin_test_data): New variable.
19485 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19486 (casinh_test_data): New variable.
19487 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19488 (catan_test_data): New variable.
19489 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19490 (catanh_test_data): New variable.
19491 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19492 (ccos_test_data): New variable.
19493 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19494 (ccosh_test_data): New variable.
19495 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19496 (cexp_test_data): New variable.
19497 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19498 (clog_test_data): New variable.
19499 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19500 (clog10_test_data): New variable.
19501 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19502 (conj_test_data): New variable.
19503 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19504 (cproj_test_data): New variable.
19505 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19506 (csin_test_data): New variable.
19507 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19508 (csinh_test_data): New variable.
19509 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19510 (csqrt_test_data): New variable.
19511 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19512 (ctan_test_data): New variable.
19513 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19514 (ctan_tonearest_test_data): New variable.
19515 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19516 (ctan_towardzero_test_data): New variable.
19517 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19518 (ctan_downward_test_data): New variable.
19519 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19520 (ctan_upward_test_data): New variable.
19521 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19522 (ctanh_test_data): New variable.
19523 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19524 (ctanh_tonearest_test_data): New variable.
19525 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19526 (ctanh_towardzero_test_data): New variable.
19527 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19528 (ctanh_downward_test_data): New variable.
19529 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19530 (ctanh_upward_test_data): New variable.
19531 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19532 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19533 of BUILD_COMPLEX.
19534
601a3a5f
JM
19535 * math/libm-test.inc (struct test_ff_f_data): New type.
19536 (struct test_ff_f_data_nexttoward): Likewise.
19537 (RUN_TEST_LOOP_2_f): New macro.
19538 (RUN_TEST_LOOP_ff_f): Likewise.
19539 (atan2_test_data): New variable.
19540 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19541 (copysign_test_data): New variable.
19542 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19543 (fdim_test_data): New variable.
19544 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19545 (fmax_test_data): New variable.
19546 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19547 (fmin_test_data): New variable.
19548 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19549 (fmod_test_data): New variable.
19550 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19551 (hypot_test_data): New variable.
19552 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19553 (nextafter_test_data): New variable.
19554 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19555 (nexttoward_test_data): New variable.
19556 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19557 (pow_test_data): New variable.
19558 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19559 (pow_tonearest_test_data): New variable.
19560 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19561 (pow_towardzero_test_data): New variable.
19562 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19563 (pow_downward_test_data): New variable.
19564 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19565 (pow_upward_test_data): New variable.
19566 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19567 (remainder_test_data): New variable.
19568 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19569 (scalb_test_data): New variable.
19570 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19571 * sysdeps/i386/fpu/libm-test-ulps: Update.
19572
74c57478
JM
195732013-05-11 Joseph Myers <joseph@codesourcery.com>
19574
8329e4da
JM
19575 * math/libm-test.inc (fma_test): Use max_value instead of local
19576 variable fltmax.
19577 (nextafter_test): Likewise.
19578
74c57478
JM
19579 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19580 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19581 (acos_downward_test_data): New variable.
19582 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19583 (acos_upward_test_data): New variable.
19584 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19585 (acosh_test_data): New variable.
19586 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19587 (asin_test_data): New variable.
19588 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19589 (asin_tonearest_test_data): New variable.
19590 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19591 (asin_towardzero_test_data): New variable.
19592 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19593 (asin_downward_test_data): New variable.
19594 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19595 (asin_upward_test_data): New variable.
19596 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19597 (asinh_test_data): New variable.
19598 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19599 (atan_test_data): New variable.
19600 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19601 (atanh_test_data): New variable.
19602 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19603 (cbrt_test_data): New variable.
19604 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19605 (ceil_test_data): New variable.
19606 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19607 (cos_test_data): New variable.
19608 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19609 (cos_tonearest_test_data): New variable.
19610 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19611 (cos_towardzero_test_data): New variable.
19612 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19613 (cos_downward_test_data): New variable.
19614 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19615 (cos_upward_test_data): New variable.
19616 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19617 (cosh_test_data): New variable.
19618 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19619 (cosh_tonearest_test_data): New variable.
19620 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19621 (cosh_towardzero_test_data): New variable.
19622 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19623 (cosh_downward_test_data): New variable.
19624 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19625 (cosh_upward_test_data): New variable.
19626 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19627 (erf_test_data): New variable.
19628 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19629 (erfc_test_data): New variable.
19630 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19631 (exp_test_data): New variable.
19632 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19633 (exp_tonearest_test_data): New variable.
19634 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19635 (exp_towardzero_test_data): New variable.
19636 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19637 (exp_downward_test_data): New variable.
19638 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19639 (exp_upward_test_data): New variable.
19640 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19641 (exp10_test_data): New variable.
19642 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19643 (exp2_test_data): New variable.
19644 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19645 (expm1_test_data): New variable.
19646 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19647 (fabs_test_data): New variable.
19648 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19649 (floor_test_data): New variable.
19650 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19651 (j0_test_data): New variable.
19652 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19653 (j1_test_data): New variable.
19654 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19655 (log_test_data): New variable.
19656 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19657 (log10_test_data): New variable.
19658 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19659 (log1p_test_data): New variable.
19660 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19661 (log2_test_data): New variable.
19662 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19663 (logb_test_data): New variable.
19664 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19665 (logb_downward_test_data): New variable.
19666 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19667 (nearbyint_test_data): New variable.
19668 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19669 (rint_test_data): New variable.
19670 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19671 (rint_tonearest_test_data): New variable.
19672 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19673 (rint_towardzero_test_data): New variable.
19674 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19675 (rint_downward_test_data): New variable.
19676 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19677 (rint_upward_test_data): New variable.
19678 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19679 (round_test_data): New variable.
19680 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19681 (sin_test_data): New variable.
19682 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19683 (sin_tonearest_test_data): New variable.
19684 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19685 (sin_towardzero_test_data): New variable.
19686 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19687 (sin_downward_test_data): New variable.
19688 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19689 (sin_upward_test_data): New variable.
19690 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19691 (sinh_test_data): New variable.
19692 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19693 (sinh_tonearest_test_data): New variable.
19694 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19695 (sinh_towardzero_test_data): New variable.
19696 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19697 (sinh_downward_test_data): New variable.
19698 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19699 (sinh_upward_test_data): New variable.
19700 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19701 (sqrt_test_data): New variable.
19702 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19703 (tan_test_data): New variable.
19704 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19705 (tan_tonearest_test_data): New variable.
19706 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19707 (tan_towardzero_test_data): New variable.
19708 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19709 (tan_downward_test_data): New variable.
19710 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19711 (tan_upward_test_data): New variable.
19712 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19713 (tanh_test_data): New variable.
19714 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19715 (tgamma_test_data): New variable.
19716 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19717 (trunc_test_data): New variable.
19718 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19719 (y0_test_data): New variable.
19720 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19721 (y1_test_data): New variable.
19722 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19723 (significand_test_data): New variable.
19724 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19725
7187d844
CG
197262013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19727
19728 [BZ #12387]
19729 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19730
f63fae73
PT
197312013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19732
19733 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19734
8a67a4b3
AJ
197352013-05-10 Andreas Jaeger <aj@suse.de>
19736
19737 [BZ #15448]
19738 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19739 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19740
51df539d
JM
197412013-05-10 Joseph Myers <joseph@codesourcery.com>
19742
19743 * math/gen-libm-test.pl (adjust_arg): New function.
19744 (special_functions): Handle generating output in both functions
19745 and arrays.
19746 (parse_args): Likewise.
19747 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19748 $in_func argument to parse_args.
19749 * math/libm-test.inc (struct test_f_f_data): New type.
19750 (IF_ROUND_INIT_): New macro.
19751 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19752 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19753 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19754 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19755 (ROUND_RESTORE_): Likewise.
19756 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19757 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19758 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19759 (ROUND_RESTORE_FE_UPWARD): Likewise.
19760 (RUN_TEST_LOOP_f_f): New macro.
19761 (acos_test_data): New variable.
19762 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19763 (acos_tonearest_test_data): New variable.
19764 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19765
5c637fe5
SP
197662013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19767
19768 * benchtests/bench-skeleton.c (startup): Fix coding style.
19769
ab2b9461
JM
197702013-05-10 Joseph Myers <joseph@codesourcery.com>
19771
19772 [BZ #6809]
19773 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19774 negative infinity argument.
19775 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19776 negative infinity argument.
19777 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19778 negative infinity argument.
19779 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19780 domain errors.
19781
4c0fe6fe
FW
197822013-05-10 Florian Weimer <fweimer@redhat.com>
19783
19784 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19785 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19786 * iconv/iconv_prog.c (main): Likewise.
19787 * locale/programs/charmap-dir.c (charmap_readdir)
19788 (fopen_uncompressed): Likewise.
19789 * locale/programs/locfile.c (siblings_uncached)
19790 (write_locale_data): Use lstat64 instead of lstat.
19791 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19792 stat.
19793
a3375d29
AJ
197942013-05-10 Andreas Jaeger <aj@suse.de>
19795
19796 [BZ #15395]
19797 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19798 localization.
19799 Include <locale.h>.
19800
36129722
CD
198012013-05-09 Carlos O'Donell <carlos@redhat.com>
19802
19803 * elf/dl-close.c (_dl_close_worker): Add comments.
19804
faa7f811
JM
198052013-05-09 Joseph Myers <joseph@codesourcery.com>
19806
ed41ffef
JM
19807 [BZ #15359]
19808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19809 high part of pi/2.
19810 (__ieee754_rem_pio2l): Update comments.
19811
d0213cd0
JM
19812 [BZ #15429]
19813 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19814 high part of pi/2.
19815 (__ieee754_rem_pio2l): Update comments.
19816
0d3e777a
JM
19817 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19818 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19819
24f56066
JM
19820 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19821 M_PI_4l.
19822
faa7f811
JM
19823 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19824 (M_PI_34_LOG10El): Likewise.
19825 (M_PI2_LOG10El): Likewise.
19826 (M_PI4_LOG10El): Likewise.
19827 (M_PI_LOG10El): Likewise.
19828
e9a5e0fd
AZ
198292013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19830
19831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19832
d8cd06db
JM
198332013-05-08 Joseph Myers <joseph@codesourcery.com>
19834
a0d9f9d7
JM
19835 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19836 (MINUS_ZERO_INIT): Likewise.
19837 (PLUS_INFTY_INIT): Likewise.
19838 (MINUS_INFTY_INIT): Likewise.
19839 (QNAN_VALUE_INIT): Likewise.
19840 (MAX_VALUE_INIT): Likewise.
19841 (MIN_VALUE_INIT): Likewise.
19842 (MIN_SUBNORM_VALUE_INIT): Likewise.
19843 (plus_zero): Initialize with PLUS_ZERO_INIT.
19844 (minus_zero): Initialize with MINUS_ZERO_INIT.
19845 (plus_infty): Initialize with PLUS_INFTY_INIT.
19846 (minus_infty): Initialize with MINUS_INFTY_INIT.
19847 (qnan_value): Initialize with QNAN_VALUE_INIT.
19848 (max_value): Initialize with MAX_VALUE_INIT.
19849 (min_value): Initialize with MIN_VALUE_INIT.
19850 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19851
ae08db3b
JM
19852 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19853 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19854 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19855 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19856
f44bf14a
JM
19857 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19858 (RUN_TEST_2_f): Likewise.
19859 (RUN_TEST_ff_f): Likewise.
19860 (RUN_TEST_fi_f): Likewise.
19861 (RUN_TEST_fl_f): Likewise.
19862 (RUN_TEST_fff_f): Likewise.
19863 (RUN_TEST_c_f): Likewise.
19864 (RUN_TEST_f_f1): Likewise.
19865 (RUN_TEST_fF_f1): Likewise.
19866 (RUN_TEST_fI_f1): Likewise.
19867 (RUN_TEST_ffI_f1): Likewise.
19868 (RUN_TEST_c_c): Likewise.
19869 (RUN_TEST_cc_c): Likewise.
19870 (RUN_TEST_f_i): Likewise.
19871 (RUN_TEST_f_i_tg): Likewise.
19872 (RUN_TEST_ff_i_tg): Likewise.
19873 (RUN_TEST_f_b): Likewise.
19874 (RUN_TEST_f_b_tg): Likewise.
19875 (RUN_TEST_f_l): Likewise.
19876 (RUN_TEST_f_L): Likewise.
19877 (RUN_TEST_sincos): Likewise.
19878 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19879 whether to show exceptions. Do not include ");\n" in return
19880 value.
19881 (special_functions): Output call to RUN_TEST_sincos instead of
19882 check_float calls. Update calls to new_test.
19883 (parse_args): Output call to single RUN_TEST_* macro instead of
19884 check_* calls and other assignments. Update calls to new_test.
19885
d8cd06db
JM
19886 [BZ #2546]
19887 [BZ #2560]
19888 [BZ #5159]
19889 [BZ #15426]
19890 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19891 input to result for tgamma overflow.
19892 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19893 (gamma_coeff): New variable.
19894 (NCOEFF): New macro.
19895 (gamma_positive): New function.
19896 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19897 underflow here. Use gamma_positive instead of exp (lgamma) for
19898 other arguments.
19899 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19900 (gamma_coeff): New variable.
19901 (NCOEFF): New macro.
19902 (gammaf_positive): New function.
19903 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19904 underflow here. Use gamma_positive instead of exp (lgamma) for
19905 other arguments.
19906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19907 (gamma_coeff): New variable.
19908 (NCOEFF): New macro.
19909 (gammal_positive): New function.
19910 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19911 underflow here. Use gamma_positive instead of exp (lgamma) for
19912 other arguments.
19913 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19914 (gamma_coeff): New variable.
19915 (NCOEFF): New macro.
19916 (gammal_positive): New function.
19917 (__ieee754_gammal_r): Handle positive infinity, overflow and
19918 underflow here. Handle NaN the same as positive infinity. Remove
19919 check x < 0xffffffff for negative integers. Use gamma_positive
19920 instead of exp (lgamma) for other arguments.
19921 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19922 (gamma_coeff): New variable.
19923 (NCOEFF): New macro.
19924 (gammal_positive): New function.
19925 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19926 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19927 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19929 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19930 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19931 * sysdeps/generic/math_private.h (__gamma_productf): New
19932 prototype.
19933 (__gamma_product): Likewise.
19934 (__gamma_productl): Likewise.
19935 * math/Makefile (libm-calls): Add gamma_product.
19936 * math/libm-test.inc (tgamma_test): Add more tests.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19939
bb7cf681
OB
199402013-05-08 Ondřej Bílka <neleai@seznam.cz>
19941
19942 * benchtests/bench-skeleton.c (main): Preheat CPU.
19943
ba853947
AJ
199442013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19945
19946 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19947
8347c74c
RM
199482013-05-07 Roland McGrath <roland@hack.frob.com>
19949
19950 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19951 and _dl_skip_args_internal.
19952
e8dd4791
CD
199532013-05-07 Carlos O'Donell <carlos@redhat.com>
19954
19955 * manual/message.texi (Message Translation): Talk about users.
19956 Message to key mapping impacts design.
19957
c7405830
RM
199582013-05-06 Roland McGrath <roland@hack.frob.com>
19959
a9173057
RM
19960 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19961
976e2f03
RM
19962 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19963
9723ffc5
RM
19964 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19965 * sysdeps/wordsize-64/glob64.c: ... here.
19966
962e6658
RM
19967 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19968 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19969 New macros.
19970
ee586a6d
RM
19971 * debug/getlogin_r_chk.c: Moved to ...
19972 * login/getlogin_r_chk.c: ... here.
19973 * debug/Makefile (routines): Move getlogin_r_chk to ...
19974 * login/Makefile (routines): ... here.
19975 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19976 * login/Versions (libc: GLIBC_2.4): ... here.
19977
355f9165
RM
19978 * io/poll.c (__poll): Renamed from poll.
19979 Add libc_hidden_def.
19980 (poll): Define as weak alias.
19981
bd9ffde6
RM
19982 * debug/ptsname_r_chk.c: Moved to ...
19983 * login/ptsname_r_chk.c: ... here.
19984 * debug/Makefile (routines): Move ptsname_r_chk to ...
19985 * login/Makefile (routines): ... here.
19986 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19987 * login/Versions (libc: GLIBC_2.4): ... here.
19988
8fb16a04
RM
19989 * posix/getlogin.c: Moved to ...
19990 * login/getlogin.c: ... here.
19991 * posix/getlogin_r.c: Moved to ...
19992 * login/getlogin_r.c: ... here.
19993 * posix/getlogin_r.c: Moved to ...
19994 * login/getlogin_r.c: ... here.
19995 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19996 * login/Makefile (routines): ... here.
19997 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19998 * login/Versions (libc: GLIBC_2.0): ... here.
19999
b99b892f
RM
20000 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20001 (setrlimit): Define as weak alias.
20002
c7405830
RM
20003 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20004 Call __ names for open, ftruncate, and close.
20005 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20006 (truncate): Define as weak alias.
20007
5bf96de5
JM
200082013-05-06 Joseph Myers <joseph@codesourcery.com>
20009
9ea3513c
JM
20010 * math/gen-libm-test.pl (parse_args): Initialize x before each
20011 test of frexp, modf and remquo.
20012
5bf96de5
JM
20013 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20014 test signgam value.
20015
16e616a7
AZ
200162013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20017
20018 [BZ #15418]
20019 [BZ #15419]
20020 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20021 internal tests.
20022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20023
d5e82754
RM
200242013-05-06 Roland McGrath <roland@hack.frob.com>
20025
20026 * elf/dl-writev.h: New file.
20027 * elf/dl-misc.c: Include it.
20028 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20029 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20030
a7548d41
JM
200312013-05-04 Joseph Myers <joseph@codesourcery.com>
20032
b7dab1e4
JM
20033 * math/libm-test.inc (noXFails): Remove variable.
20034 (noXPasses): Likewise.
20035 (BUILD_COMPLEX_INT): Remove macro.
20036 (print_screen): Remove xfail argument.
20037 (print_screen_max_error): Likewise.
20038 (update_stats): Likewise.
20039 (print_max_error): Likewise. Update calls to other affected
20040 functions.
20041 (print_complex_max_error): Likewise.
20042 (test_single_exception): Update calls to print_screen.
20043 (test_single_errno): Likewise.
20044 (check_float_internal): Remove xfail argument. Update calls to
20045 other affected functions.
20046 (check_float): Likewise.
20047 (check_complex): Likewise.
20048 (check_int): Likewise.
20049 (check_long): Likewise.
20050 (check_bool): Likewise.
20051 (check_longlong): Likewise.
20052 (main): Don't print noXFails and noXPasses.
20053 * math/gen-libm-test.pl (top level): Don't mention expected
20054 failure handling in comment.
20055 (new_test): Don't handle expected failures.
20056 (parse_args): Don't mention expected failure handling in comment.
20057 (generate_testfile): Don't handle expected failures.
20058 (parse_ulps): Likewise.
20059 (print_ulps_file): Likewise.
20060 (get_failure): Remove function.
20061 (output_test): Don't handle expected failures.
20062 * make/README.libm-test: Don't mention expected failure handling.
20063
a7548d41
JM
20064 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20065 (minus_zero): Likewise.
20066 (plus_infty): Likewise.
20067 (minus_infty): Likewise.
20068 (qnan_value): Likewise.
20069 (max_value): Likewise.
20070 (min_value): Likewise.
20071 (min_subnorm_value): Likewise.
20072 (initialize): Do not initialize those variables dynamically.
20073
60bfd54c
RM
200742013-05-03 Roland McGrath <roland@hack.frob.com>
20075
cc0e6ed8
RM
20076 * io/open.c (__open_2): Moved to ...
20077 * io/open_2.c: ... this new file.
20078 * io/open64.c (__open64_2): Moved to ...
20079 * io/open64_2.c: ... this new file.
20080 * io/openat.c (__openat_2): Moved to ...
20081 * io/openat_2.c: ... this new file.
20082 * io/openat64.c (__openat64_2): Moved to ...
20083 * io/openat64_2.c: ... this new file.
20084 * io/Makefile (routines): Add them.
20085 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20086 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20087 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20088 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20089 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20090 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20091 (__openat64): Add hidden_ver.
20092 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20093 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20094
60bfd54c
RM
20095 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20096 Separately conditionalize setting of GLRO(dl_sysinfo) so
20097 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20098 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20099
83e7640f
AZ
201002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20101
20102 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20103 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20104 definition.
20105 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20106 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20107 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20108 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20109 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20110
d5dc2af3
JM
201112013-05-03 Joseph Myers <joseph@codesourcery.com>
20112
c31a5b1e
JM
20113 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20114 test signgam value.
20115
d5dc2af3
JM
20116 * math/libm-test.inc (hypot_test): Do not use
20117 IGNORE_ZERO_INF_SIGN.
20118
164fd39d
AJ
201192013-05-03 Andreas Jaeger <aj@suse.de>
20120
20121 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20122 Linux 3.9.
20123 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20124 (PF_MAX): Adjust for VSOCK change.
20125
8237f48c
AZ
201262013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20127
20128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20129
9df02941
CD
201302013-05-02 Carlos O'Donell <carlos@redhat.com>
20131
20132 [BZ #15264]
20133 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20134 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20135 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20136
d422395e
DM
201372013-05-02 David S. Miller <davem@davemloft.net>
20138
20139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20140
a07c5731
OB
201412013-05-01 Ondřej Bílka <neleai@seznam.cz>
20142
20143 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20144
1324e37f
RM
201452013-05-01 Roland McGrath <roland@hack.frob.com>
20146
20147 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20148
0695940b
RS
201492013-05-01 Richard Smith <richard@metafoo.co.uk>
20150
bb5f27ad 20151 [BZ #14952]
0695940b
RS
20152 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20153 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20154 Use __attribute__ ((__gnu_inline__)).
20155 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20156 Don't use __attribute__ ((__gnu_inline__)).
20157
10de07f5
JM
201582013-05-01 Joseph Myers <joseph@codesourcery.com>
20159
20160 [BZ #15423]
20161 * math/s_catan.c (__catan): Handle small real or imaginary part of
20162 input specially to avoid spurious underflow.
20163 * math/s_catanf.c (__catanf): Likewise.
20164 * math/s_catanh.c (__catanh): Likewise.
20165 * math/s_catanhf.c (__catanhf): Likewise.
20166 * math/s_catanhl.c (__catanhl): Likewise.
20167 * math/s_catanl.c (__catanl): Likewise.
20168 * math/libm-test.inc (catan_test): Add more tests.
20169 (catanh_test): Likewise.
20170 * sysdeps/i386/fpu/libm-test-ulps: Update.
20171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20172
cb4d5414
AZ
201732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20174
20175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20176
caf84319
JM
201772013-04-30 Joseph Myers <joseph@codesourcery.com>
20178
20179 [BZ #15416]
20180 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20181 accurately for denominator in atan2.
20182 * math/s_catanf.c (__catanf): Likewise.
20183 * math/s_catanh.c (__catanh): Likewise.
20184 * math/s_catanhf.c (__catanhf): Likewise.
20185 * math/s_catanhl.c (__catanhl): Likewise.
20186 * math/s_catanl.c (__catanl): Likewise.
20187 * math/libm-test.inc (catan_test): Add more tests.
20188 (catanh_test): Likewise.
20189 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20191
d569c6ee
SP
201922013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20193
6dbe713d
SP
20194 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20195
f0ee064b
SP
20196 * benchtests/Makefile (bench): Remove slow benchmarks.
20197 * benchtests/atan-inputs: Add slow benchmark inputs.
20198 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20199 (BENCH_FUNC): Accept variant offset.
20200 (VARIANT): Define.
20201 * benchtests/bench-skeleton.c (main): Run benchmark for each
20202 variant.
20203 * benchtests/cos-inputs: Add slow benchmark inputs.
20204 * benchtests/exp-inputs: Likewise.
20205 * benchtests/pow-inputs: Likewise.
20206 * benchtests/sin-inputs: Likewise.
20207 * benchtests/slowatan-inputs: Remove.
20208 * benchtests/slowatan.c: Remove.
20209 * benchtests/slowcos-inputs: Remove.
20210 * benchtests/slowcos.c: Remove.
20211 * benchtests/slowexp-inputs: Remove.
20212 * benchtests/slowexp.c: Remove.
20213 * benchtests/slowpow-inputs: Remove.
20214 * benchtests/slowpow.c: Remove.
20215 * benchtests/slowsin-inputs: Remove.
20216 * benchtests/slowsin.c: Remove.
20217 * benchtests/slowtan-inputs: Remove.
20218 * benchtests/slowtan.c: Remove.
20219 * benchtests/tan-inputs: Add slow benchmark inputs.
20220 * scripts/bench.pl: Parse comments and directives.
20221
d569c6ee
SP
20222 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20223 in CPPFLAGS.
20224 ($(objpfx)bench-%.c): Remove *-ITER.
20225 * benchtests/bench-modf.c: Remove definition of ITER.
20226 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20227 (main): Loop for DURATION seconds instead of fixed number of
20228 iterations.
20229 * scripts/bench.pl: Don't expect iterations in parameters.
20230
a6a242fe
RM
202312013-04-29 Roland McGrath <roland@hack.frob.com>
20232
20233 * io/fchdir.c (__fchdir): Renamed from fchdir.
20234 (fchdir): Define as weak alias.
20235
f2da7793
JM
202362013-04-29 Joseph Myers <joseph@codesourcery.com>
20237
20238 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20239 (ERRNO_EDOM): Likewise.
20240 (ERRNO_ERANGE): Likewise.
20241 (noErrnoTests): New variable.
20242 (init_max_error): Set errno to 0.
20243 (test_single_errno): New function.
20244 (test_errno): Likewise.
20245 (check_float_internal): Call test_errno. Set errno to 0.
20246 (check_complex): Refer to errno tests in comment.
20247 (check_int): Call test_errno. Set errno to 0.
20248 (check_long): Likewise.
20249 (check_bool): Likewise.
20250 (check_longlong): Likewise.
20251 (cos_test): Use ERRNO_* flags for errno tests instead of
20252 check_int.
20253 (expm1_test): Likewise.
20254 (fmod_test): Likewise.
20255 (ilogb_test): Likewise.
20256 (lgamma_test): Likewise.
20257 (pow_test): Likewise.
20258 (remainder_test): Likewise.
20259 (sin_test): Likewise.
20260 (tan_test): Likewise.
20261 (yn_test): Likewise.
20262 (initialize): Set errno to 0.
20263 (main): Print number of errno tests.
20264 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20265
b1a36ceb
AJ
202662013-04-29 Andreas Jaeger <aj@suse.de>
20267
c3ed8088
AJ
20268 [BZ #15084]
20269 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20270 and RES_USEVC.
20271
f1a24198
AJ
20272 [BZ #15085]
20273 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20274 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20275 unimplemented.
20276
9ce3b2cb
AJ
20277 [BZ #15380]
20278 * stdlib/random.c (__initstate): Return NULL if
20279 __initstate fails.
20280
f1a24198 20281 [BZ #15086]
b1a36ceb
AJ
20282 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20283 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20284 RES_SNGLKUPREOP.
20285
7e7b6f36
AZ
202862013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20287
20288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20289
4d14f449
JM
202902013-04-29 Joseph Myers <joseph@codesourcery.com>
20291
20292 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20293 of individual tests.
20294 (casin_test): Likewise.
20295 (casinh_test): Likewise.
20296
5b4217d7
JM
202972013-04-27 Joseph Myers <joseph@codesourcery.com>
20298
20299 [BZ #15409]
20300 * math/s_catan.c (__catan): Handle arguments with large real or
20301 imaginary part separately without squaring.
20302 * math/s_catanf.c (__catanf): Likewise.
20303 * math/s_catanh.c (__catanh): Likewise.
20304 * math/s_catanhf.c (__catanhf): Likewise.
20305 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20306 and redefine.
20307 (__catanhl): Handle arguments with large real or imaginary part
20308 separately without squaring.
20309 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20310 and redefine.
20311 (__catanl): Handle arguments with large real or imaginary part
20312 separately without squaring.
20313 * math/libm-test.inc (catan_test): Add more tests.
20314 (catanh_test): Likewise.
20315 * sysdeps/i386/fpu/libm-test-ulps: Update.
20316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20317
4220c3ef
AJ
203182013-04-27 Andreas Jaeger <aj@suse.de>
20319
20320 [BZ #15007]
20321 * stdlib/stdlib.h: Update guards for qecvt.
20322 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20323 <stdlib.h>.
20324
4721b2d1
AM
203252013-04-27 Allan McRae <allan@archlinux.org>
20326
20327 * sysdeps/i386/fpu/libm-test-ulps: Update.
20328
f0302940
JM
203292013-04-26 Joseph Myers <joseph@codesourcery.com>
20330
9457fd95
JM
20331 [BZ #15406]
20332 * math/s_catan.c: Include <float.h>.
20333 (__catan): Ensure underflow exception occurs for underflowed
20334 result.
20335 * math/s_catanf.c: Include <float.h>.
20336 (__catanf): Ensure underflow exception occurs for underflowed
20337 result.
20338 * math/s_catanh.c: Include <float.h>.
20339 (__catanh): Ensure underflow exception occurs for underflowed
20340 result.
20341 * math/s_catanhf.c: Include <float.h>.
20342 (__catanhf): Ensure underflow exception occurs for underflowed
20343 result.
20344 * math/s_catanhl.c: Include <float.h>.
20345 (__catanhl): Ensure underflow exception occurs for underflowed
20346 result.
20347 * math/s_catanl.c: Include <float.h>.
20348 (__catanl): Ensure underflow exception occurs for underflowed
20349 result.
20350 * math/libm-test.inc (catan_test): Add more tests.
20351 (catanh_test): Likewise.
20352
f0302940
JM
20353 [BZ #15405]
20354 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20355 underflowed result.
20356 * math/s_ccoshf.c (__ccoshf): Likewise.
20357 * math/s_ccoshl.c (__ccoshl): Likewise.
20358 * math/s_csin.c (__csin): Likewise.
20359 * math/s_csinf.c (__csinf): Likewise.
20360 * math/s_csinh.c (__csinh): Likewise.
20361 * math/s_csinhf.c (__csinhf): Likewise.
20362 * math/s_csinhl.c (__csinhl): Likewise.
20363 * math/s_csinl.c (__csinl): Likewise.
20364 * math/libm-test.inc (ccos_test): Add more tests.
20365 (ccosh_test): Likewise.
20366 (csin_test): Likewise.
20367 (csinh_test): Likewise.
20368
aa630f59
AZ
203692013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20370
20371 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20372 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20373 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20374 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20375 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20376 powerpc/power5+/fpu folders.
20377 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20378
20379
1b835983
MT
203802013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20381
20382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20383
73709b26
JM
203842013-04-25 Joseph Myers <joseph@codesourcery.com>
20385
20386 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20387 additions to variable.
20388 [$(config-machine) = x86_64] (modules-names): Likewise.
20389 ($(objpfx)tst-audit3): Remove dependency.
20390 ($(objpfx)tst-audit3.out): Likewise.
20391 ($(objpfx)tst-audit4): Likewise.
20392 ($(objpfx)tst-audit4.out): Likewise.
20393 ($(objpfx)tst-audit5): Likewise.
20394 ($(objpfx)tst-audit5.out): Likewise.
20395 ($(objpfx)tst-audit6): Likewise.
20396 ($(objpfx)tst-audit6.out): Likewise.
20397 ($(objpfx)tst-audit7): Likewise.
20398 ($(objpfx)tst-audit7.out): Likewise.
20399 (tst-audit3-ENV): Remove variable.
20400 (tst-audit4-ENV): Likewise.
20401 (tst-audit5-ENV): Likewise.
20402 (tst-audit6-ENV): Likewise.
20403 (tst-audit7-ENV): Likewise.
20404 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20405 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20406 addition to variable.
20407 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20408 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20409 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20412 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20413 tst-audit3, tst-audit4 and tst-audit5.
20414 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20415 tst-audit6 and tst-audit7.
20416 [$(subdir) = elf] (modules-names): Add audit modules for those
20417 tests.
20418 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20419 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20420 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20421 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20422 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20423 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20424 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20425 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20426 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20427 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20428 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20429 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20430 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20431 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20432 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20433 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20434 Likewise.
20435 [$(subdir) = elf && $(config-cflags-avx) = yes]
20436 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20437 [$(subdir) = elf && $(config-cflags-avx) = yes]
20438 (CFLAGS-tst-auditmod4a.c): Likewise.
20439 [$(subdir) = elf && $(config-cflags-avx) = yes]
20440 (CFLAGS-tst-auditmod4b.c): Likewise.
20441 [$(subdir) = elf && $(config-cflags-avx) = yes]
20442 (CFLAGS-tst-auditmod6b.c): Likewise.
20443 [$(subdir) = elf && $(config-cflags-avx) = yes]
20444 (CFLAGS-tst-auditmod6c.c): Likewise.
20445 [$(subdir) = elf && $(config-cflags-avx) = yes]
20446 (CFLAGS-tst-auditmod7b.c): Likewise.
20447 * elf/tst-audit3.c: Move to ...
20448 * sysdeps/x86_64/tst-audit3.c: ... here.
20449 * elf/tst-audit4.c: Move to ...
20450 * sysdeps/x86_64/tst-audit4.c: ... here.
20451 * elf/tst-audit5.c: Move to ...
20452 * sysdeps/x86_64/tst-audit5.c: ... here.
20453 * elf/tst-audit6.c: Move to ...
20454 * sysdeps/x86_64/tst-audit6.c: ... here.
20455 * elf/tst-audit7.c: Move to ...
20456 * sysdeps/x86_64/tst-audit7.c: ... here.
20457 * elf/tst-auditmod3a.c: Move to ...
20458 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20459 * elf/tst-auditmod3b.c: Move to ...
20460 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20461 * elf/tst-auditmod4a.c: Move to ...
20462 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20463 * elf/tst-auditmod4b.c: Move to ...
20464 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20465 * elf/tst-auditmod5a.c: Move to ...
20466 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20467 * elf/tst-auditmod5b.c: Move to ...
20468 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20469 * elf/tst-auditmod6a.c: Move to ...
20470 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20471 * elf/tst-auditmod6b.c: Move to ...
20472 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20473 * elf/tst-auditmod6c.c: Move to ...
20474 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20475 * elf/tst-auditmod7a.c: Move to ...
20476 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20477 * elf/tst-auditmod7b.c: Move to ...
20478 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20479
1ef74943
PP
204802013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20481
20482 [BZ #15366]
20483 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20484 define unconditionally.
20485 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20486 define unconditionally.
20487 (INT8_C, INT16_C, etc.): Likewise.
20488
93fd48c5
MR
204892013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20490
ae9552cf
MR
20491 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20492 __ehdr_start with hidden visibility.
20493
93fd48c5
MR
20494 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20495
418601aa
CD
204962013-04-24 Carlos O'Donell <carlos@redhat.com>
20497
20498 * math/libm-test.inc (cos_test): Use accurate hex constants.
20499 (sincost_test): Likewise.
20500
2f38fbfe
JM
205012013-04-24 Joseph Myers <joseph@codesourcery.com>
20502
5e221800
JM
20503 * math/libm-test.inc (catan_test): Add more tests.
20504 (catanh_test): Likewise.
20505
77f143fd
JM
20506 * math/s_catanf.c (__catanf): Use suffixed floating-point
20507 constants.
20508 * math/s_catanhf.c (__catanhf): Likewise.
20509 * math/s_catanhl.c (__catanhl): Likewise.
20510 * math/s_catanl.c (__catanl): Likewise.
20511
2f38fbfe
JM
20512 [BZ #15394]
20513 * math/s_catan.c (__catan): Calculate imaginary part of result
20514 with log1p not log unless computing log of number close to 0.
20515 * math/s_catanf.c (__catanf): Likewise.
20516 * math/s_catanl.c (__catanl): Likewise.
20517 * math/s_catanh.c (__catanh): Calculate real part of result with
20518 log1p not log unless computing log of number close to 0.
20519 * math/s_catanhf.c (__catanhf): Likewise.
20520 * math/s_catanhl.c (__catanhl): Likewise.
20521 * math/libm-test.inc (catan_test): Add more tests.
20522 (catanh_test): Likewise.
20523 * sysdeps/i386/fpu/libm-test-ulps: Update.
20524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20525
45d69176
SP
205262013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20527
20528 * benchtests/Makefile: Mention files in which fast and slow
20529 paths of math functions are implemented.
20530
87f51853
RM
205312013-04-23 Roland McGrath <roland@hack.frob.com>
20532
20533 * sysdeps/posix/timespec_get.c: New file.
20534
3c026539
AZ
205352013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20536
20537 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20538 POWER.
20539 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20540 for POWER.
20541 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20542 powerpc/power5/fpu folders.
20543 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20544 * benchtests/Makefile: Add modf testcase.
20545 * benchtests/bench-modf.c: New file: Benchmark test for mo
20546
ff491d14
SP
205472013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20548
20549 [BZ #14888]
20550 * time/Makefile (tests): Add tst-strptime-whitespace.
20551 * time/strptime_l.c (get_number): Use ISSPACE.
20552 (__strptime_internal): Likewise.
20553 * time/tst-strptime-whitespace.c: New test case.
20554
7ed3f4e8
AS
205552013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20556
20557 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20558 member.
20559 (_nss_files_init): Set it here.
20560
5c95f7b6
HC
205612013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20562
20563 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20564 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20565 unsigned.
20566
d34c9158
JBG
205672013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20568
20569 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20570
2169712d
SP
205712013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20572
20573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20574 size just once.
20575
29c5de99
DM
205762013-04-21 David S. Miller <davem@davemloft.net>
20577
20578 * po/ru.po: Update Russion translation from translation project.
20579
ccdad15d
AC
205802013-04-17 Adam Conrad <adconrad@0c3.net>
20581
20582 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20583 and setfsgid.
20584
0f122b8d
CD
205852013-04-17 Carlos O'Donell <carlos@redhat.com>
20586
5c5b07da 20587 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20588 * configure: Regenerate.
5c5b07da 20589 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20590 Add example to error message.
20591 * sysdeps/i386/configure: Regenerate.
20592
037714dd
SP
205932013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20594
20595 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20596 slowtan.
20597 * benchtests/cos-inputs: New file.
20598 * benchtests/slowcos-inputs: New file.
20599 * benchtests/slowcos.c: New file.
20600 * benchtests/slowtan-inputs: New file.
20601 * benchtests/slowtan.c: New file.
20602 * benchtests/tan-inputs: New file.
20603
e913141d
RM
206042013-04-16 Roland McGrath <roland@hack.frob.com>
20605
20606 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20607 considered kosher.
20608
a2964074
SP
206092013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20610
4856bcd2
SP
20611 * benchtests/Makefile: Include cppflags-iterator.mk to add
20612 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20613
a2964074
SP
20614 * Makefile.in (bench-clean): New target.
20615 * benchtests/Makefile (bench-clean): Likewise.
20616
9fbf9aca
DH
206172013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20618
20619 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20620
207d1e2a
TS
206212013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20622
20623 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20624
306dfba9
AS
206252013-04-15 Andreas Schwab <schwab@suse.de>
20626
20627 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20629 * nscd/pwdcache.c (cache_addpw): Likewise.
20630 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20631 more than recsize.
20632
206a6699
SP
206332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20634
20635 * benchtests/Makefile (bench): Write all output to
20636 bench-out.tmp together.
20637
0582f6b3
AS
206382013-04-15 Andreas Schwab <schwab@suse.de>
20639
20640 * nscd/nscd.c (main): Don't fork again after closing files.
20641
acb4325f
SP
206422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20643
5cb26d0a
SP
20644 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20645
acb4325f
SP
20646 * benchtests/Rules (bench-deps): Collect dependencies into a
20647 single variable. Add Makefile to dependencies.
20648 ($(objpfx)bench-%.c): Depend on bench-deps.
20649
47792506
RM
206502013-04-12 Roland McGrath <roland@hack.frob.com>
20651 Xavier Roche <roche+kml2@exalead.com>
20652
20653 [BZ #15361]
20654 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20655 just that it's a file descriptor.
20656 * manual/llio.texi (Synchronizing AIO Operations): Update description
20657 for EBADF error from aio_fsync.
20658
8fc1bee5
SP
206592013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20660
20661 * Rules (bench): Move target definition...
20662 * benchtests/Makefile: ... here.
20663
aba5e333
CD
206642013-04-11 Carlos O'Donell <carlos@redhat.com>
20665
20666 * math/libm-test.inc (cos_test): Fix PI/2 test.
20667 (sincos_test): Likewise.
20668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20669 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20670
273cdee8
AS
206712013-04-11 Andreas Schwab <schwab@suse.de>
20672
6ecec3b6
AS
20673 [BZ #13988]
20674 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20675 accept exponent character only when digits were seen.
20676 * stdio-common/Makefile (tests): Add bug26.
20677 * stdio-common/bug26.c: New file.
20678
273cdee8
AS
20679 [BZ #14293]
20680 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20681 non-freeable.
20682
8da491f5
SP
206832013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20684
01dc6df9
SP
20685 * Makeconfig (rtld-prefix): Define built linker prefix.
20686 * Rules (run-bench): Use it.
20687 * math/Makefile (run-regen-ulps): Likewise.
20688
8da491f5
SP
20689 * Rules (bench): Remove eval.
20690
abe7f530
SP
206912013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20692 Roland McGrath <roland@hack.frob.com>
20693 Ondrej Bilka <neleai@seznam.cz>
20694
20695 [BZ #15346]
20696 * time/getdate.c: Include ctype.h and alloca.h.
20697 (__getdate_r): Trim leading and trailing spaces of input.
20698 * time/tst-getdate.c (tests): Add tests with leading and
20699 trailing spaces.
20700
61c23e62
RM
207012013-04-08 Roland McGrath <roland@hack.frob.com>
20702
20703 [BZ #14280]
20704 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20705 when computing value.
20706
7208a313
CD
207072013-04-06 Carlos O'Donell <carlos@redhat.com>
20708
085b2d41
CD
20709 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20710 Use testrun.sh to run libm tests.
20711
7208a313
CD
20712 [BZ #15309]
20713 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20714
872c0acd
MM
207152013-04-06 Marko Myllynen <myllynen@redhat.com>
20716
20717 [BZ #15264]
20718 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20719
26510bdd
CD
207202013-04-06 Carlos O'Donell <carlos@redhat.com>
20721
20722 * Makefile.in (regen-ulps): New target.
20723 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20724 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20725 [ifneq (no,$(PERL)] (regen-ulps): New target.
20726 [ifeq (no,$(PERL)] (regen-ulps): New target.
20727 * math/libm-test.inc (ulps_file_name): Define.
20728 (output_dir): New variable.
20729 (options): Add "output-dir" option.
20730 (parse_opt): Handle 'o' case.
20731 (main): If output_dir is non-NULL use it as a prefix
20732 otherwise use "".
20733 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20734
a01f19c8
CD
207352013-04-06 Carlos O'Donell <carlos@redhat.com>
20736
20737 [BZ #10060, #10062]
20738 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20739 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20740 fail configure if __sync_val_compare_and_swap is not inlined.
20741 * sysdeps/i386/configure: Regenerate.
20742 * configure.in: Build for i686 when configured for i386.
20743 * configure: Regenerate.
20744 * README: Remove i386 reference.
20745
b7a329a5
CD
207462013-04-06 Carlos O'Donell <carlos@redhat.com>
20747
20748 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20750
bf0f50df
TS
207512013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20752
ee091edf
TS
20753 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20754 (lmsnanval): New variables.
20755 (F): Add conversion tests.
20756 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20757 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20758
a8b792d6
TS
20759 * stdio-common/tstdiomisc.c (F): Properly collect individual
20760 tests' results.
20761
a1cbf437
TS
20762 [BZ #14686, #15336]
20763 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20764 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20765 Instead, use input NaN values or generate a qNaN by arithmetic
20766 operation. Also fix bugs to comply with the standard.
20767 * math/libm-test.inc (remainder_test): Add more tests.
20768
8b43a0c9
TS
20769 [BZ #15335, #15342]
20770 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20772 input NaN values or generate a qNaN by arithmetic operation.
20773
d91da4ce
TS
20774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20775 unreachable code.
20776
bf0f50df
TS
20777 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20778 definitions.
20779
05e166c8
JM
207802013-04-03 Joseph Myers <joseph@codesourcery.com>
20781
20782 [BZ #14478]
20783 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20784 underflowed result.
20785 * math/s_cexpf.c (__cexpf): Likewise.
20786 * math/s_cexpl.c (__cexpl): Likewise.
20787 * math/libm-test.inc (cexp_test): Add more tests.
20788
1cef1b19
AS
207892013-04-03 Andreas Schwab <schwab@suse.de>
20790
20791 [BZ #15330]
20792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20793 order arrays from heap if bigger than alloca cutoff.
20794
74d87055
TS
207952013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20796
20797 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20798 (SNAN_TESTS_double): Refer to GCC PR56831.
20799 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20800 GCC PR56828.
20801
d755bba4
SP
208022013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20803
90d5d5bb
SP
20804 * Rules (bench): Move bench.out after the run is complete.
20805
73e0cd5d
SP
20806 * Rules (bench): Echo currently running benchmark.
20807
64aabd4b
SP
20808 * benchtests/Makefile (bench): Add atan and slowatan.
20809 * benchtests/atan-inputs: New file.
20810 * benchtests/slowatan-inputs: New file.
20811 * benchtests/slowatan.c: New file.
20812
c871eccd
SP
20813 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20815 its value.
20816
d755bba4
SP
20817 [BZ #15305]
20818 * sysdeps/unix/sysv/linux/kernel-features.h
20819 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20820 __ASSUME_XFS_RESTRICTED_CHOWN.
20821 * sysdeps/unix/sysv/linux/pathconf.c
20822 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20823 Save and restore errno.
20824
52ce4860
JM
208252013-04-02 Joseph Myers <joseph@codesourcery.com>
20826
20827 [BZ #15327]
20828 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20829 arguments using __kernel_casinh.
20830 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20831 arguments using __kernel_casinhf.
20832 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20833 arguments using __kernel_casinhl.
20834 * math/libm-test.inc (cacosh_test): Add more tests.
20835 * sysdeps/i386/fpu/libm-test-ulps: Update.
20836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20837
81f311c2
SP
208382013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20839
e7906a47
SP
20840 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20842
92e3664b
SP
20843 * bench/Makefile (bench): Add sin and slowsin.
20844 * benchtests/sin-inputs: New file.
20845 * benchtests/slowsin-inputs: New file.
20846 * benchtests/slowsin.c: New file.
20847
81f311c2
SP
20848 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20849 (bench): Add slowexp and slowpow.
20850 (exp-ITER): Increase iterations.
20851 (pow-ITER): Likewise.
20852 * benchtests/exp-inputs: Change input.
20853 * benchtests/pow-inputs: Likewise.
20854 * benchtests/slowexp-inputs: New file.
20855 * benchtests/slowexp.c: New file.
20856 * benchtests/slowpow-inputs: New file.
20857 * benchtests/slowpow.c: New file.
20858
ab0f1aa9
AZ
208592013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20860
20861 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20862 instructions.
20863 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20864 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20866 * benchtests/Makefile: Add rint benchtest.
20867 * benchtests/rint-inputs: Input for rint benchtest.
20868
57267616
TS
208692013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20870
20871 * Versions.def (libm): Add GLIBC_2.18.
20872 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20873 hidden libm prototypes.
20874 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20875 * math/Makefile (libm-calls): Add s_issignaling.
20876 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20877 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20878 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20879 declaration.
20880 * math/math.h [__USE_GNU] (issignaling): New macro.
20881 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20882 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20884 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20886 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20887 * manual/arith.texi (issignaling): New section.
20888 * manual/libm-err-tab.pl (@all_functions): Update comment.
20889 * math/gen-libm-test.pl (parse_args): Apply special handling for
20890 issignaling.
20891 * math/libm-test.inc (print_float, issignaling_test): New
20892 functions.
20893 (check_float_internal): Add issignaling checks.
20894 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20895 default definition.
20896 * sysdeps/powerpc/math-tests.h: New file.
20897 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20898 tests.
20899 * math/test-snan.c (TEST_FUNC): Likewise.
20900
6142896d
DM
209012013-03-30 David S. Miller <davem@davemloft.net>
20902
20903 * po/de.po: Update from translation team.
20904
ccc8cadf
JM
209052013-03-30 Joseph Myers <joseph@codesourcery.com>
20906
20907 [BZ #10357]
20908 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20909 imaginary part less than 1.0 and real part less than 0.5
20910 specially.
20911 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20912 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20913 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20914 (cacos_test): Add more tests.
20915 (casin_test): Likewise.
20916 (casinh_test): Likewise.
20917 * sysdeps/i386/fpu/libm-test-ulps: Update.
20918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20919
0f6a8d4b
SP
209202013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20921
0d1029de
SP
20922 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20923 ONE with its value.
20924
c2d94018
SP
20925 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20926 (__pow_mp): Replace ONE and MONE with their values.
20927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20932 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20933
27ec37f1
SP
20934 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20935
a64d7e0e
SP
20936 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20937 (__pow_mp): Replace ZERO and MZERO with their values.
20938 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20939 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20942 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20943 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20944 (__sqr): Likewise.
20945
d26dd3eb
SP
20946 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20947
0f6a8d4b
SP
20948 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20949
e57b0c61
RM
209502013-03-28 Roland McGrath <roland@hack.frob.com>
20951
20952 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20953 Declare with __attribute__ ((weak)).
20954 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20955 Call __call_tls_dtors only if it's not NULL.
20956
356b3480
RM
209572013-03-28 Roland McGrath <roland@hack.frob.com>
20958
288f7d79
RM
20959 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20960 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20961 magic __ehdr_start linker symbol if it's defined.
20962 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20963 them up here if it was already done.
20964
dc0a0263
RM
20965 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20966 (_dl_aux_init): Use const in cast when setting it.
20967 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20968 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20969 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20970
3d3436ae
RM
20971 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20972 Declare them here.
20973 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20974 * csu/libc-tls.c: Nor here.
20975 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20976
356b3480
RM
20977 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20978 (__libc_message): Never call vsyslog.
20979
b0f1246a
AM
209802013-03-28 Alan Modra <amodra@gmail.com>
20981
20982 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20983 Define as empty.
20984 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20985 Likewise.
20986
fbbe2b9a
AZ
209872013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20988
20989 [BZ #15214]
20990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20991 underflow.
20992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20993
1728ab37
SP
209942013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20995
7a86be6e
SP
20996 [BZ #15304]
20997 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20998 Don't add gid passed as argument.
20999
1728ab37
SP
21000 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21001
3a7182a1
JM
210022013-03-27 Joseph Myers <joseph@codesourcery.com>
21003
21004 [BZ #15307]
21005 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21006 imaginary part between 1.0 and 1.5 and real part less than 0.5
21007 specially.
21008 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21009 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21010 * math/libm-test.inc (cacos_test): Add more tests.
21011 (casin_test): Likewise.
21012 (casinh_test): Likewise.
21013 * sysdeps/i386/fpu/libm-test-ulps: Update.
21014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21015
6f2e90e7
SP
210162013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21017
5739f705
SP
21018 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21019 constants.
21020 (norm): Likewise.
21021 (denorm): Likewise.
21022 (__dbl_mp): Likewise.
21023 (add_magnitudes): Likewise.
21024 (sub_magnitudes): Likewise.
21025 (__add): Likewise.
21026 (__sub): Likewise.
21027 (__mul): Likewise.
21028 (__sqr): Likewise.
21029 (__inv): Likewise.
21030 (__dvd): Likewise.
21031
e375e83d
SP
21032 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21033 commented code.
21034 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21035 (__dubcos): Likewise.
21036 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21037 (__ieee754_acos): Likewise.
21038 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21039 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21040 (__exp1): Likewise.
21041 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21043 (log1): Likewise.
21044 (my_log2): Likewise.
21045 (checkint): Likewise.
21046 * sysdeps/ieee754/dbl-64/e_remainder.c
21047 (__ieee754_remainder): Likewise.
21048 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21050 (bsloww): Likewise.
21051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21052
6f2e90e7
SP
21053 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21054 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21055 MANTISSA_STORE_T to store computations on mantissa. Use
21056 macros for rounding and division.
21057 (denorm): Likewise.
21058 (__dbl_mp): Likewise.
21059 (add_magnitudes): Likewise.
21060 (sub_magnitudes): Likewise.
21061 (__mul): Likewise.
21062 (__sqr): Likewise.
21063 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21064 powers of two in terms of TWOPOW macro.
21065 (mp_no): Make type of mantissa as MANTISSA_T.
21066 [!RADIXI]: Define RADIXI.
21067 [!TWO52]: Define TWO52.
21068 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21069
fce14d4e
AZ
210702013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21071
21072 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21073 llroundl symbol when building for PPC32.
21074
9ad027fb
MW
210752013-03-24 Mark H Weaver <mhw@netris.org>
21076
21077 * manual/arith.texi (Normalization Functions): Fix prototypes for
21078 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21079
e42a38dd
AZ
210802013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21081
21082 [BZ #13889]
21083 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21084 high value to check if expl overflow.
21085 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21086 to check for underflow and overflow.
21087 * math/libm-test.inc: Add exp test.
21088
2e0fb521
DL
210892013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21090
21091 [BZ #11120]
21092 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21093 with NOT_IN_libc.
21094
b5784d95
AZ
210952013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21096
21097 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21098 symbol.
21099
5aa4a1a1
TS
211002013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21101
bdef0be7
TS
21102 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21103 wrap blocks consisting of several statements.
21104
5aa4a1a1
TS
21105 * sysdeps/generic/math-tests.h: New file.
21106 * sysdeps/i386/fpu/math-tests.h: Likewise.
21107 * math/test-snan.c: Include it.
21108 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21109
98c48fe5
JM
211102013-03-21 Joseph Myers <joseph@codesourcery.com>
21111
21112 [BZ #15285]
21113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21114 (__ieee754_j0l): Do not improve calculations using cos of twice
21115 input for inputs above LDBL_MAX / 2.0L.
21116 (__ieee754_y0l): Likewise.
21117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21118 (__ieee754_j1l): Do not improve calculations using cos of twice
21119 input for inputs above LDBL_MAX / 2.0L.
21120 (__ieee754_y1l): Likewise.
21121 * math/libm-test.inc (j0_test): Add another test.
21122 (j1_test): Likewise.
21123 (y0_test): Likewise.
21124 (y1_test): Likewise.
21125 * sysdeps/i386/fpu/libm-test-ulps: Update.
21126
3775a8bc
SP
211272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21128
21129 * Rules ($(objpfx)bench-%.c): Include code from a C source
21130 file.
21131
0a1b2ae6
JM
211322013-03-21 Joseph Myers <joseph@codesourcery.com>
21133
21134 [BZ #15287]
21135 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21136 imaginary part 1.0 and real part less than 0.5 specially.
21137 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21138 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21139 * math/libm-test.inc (cacos_test): Add more tests.
21140 (casin_test): Likewise.
21141 (casinh_test): Likewise.
21142 * sysdeps/i386/fpu/libm-test-ulps: Update.
21143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21144
b33d4ce4
SP
211452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21146
21147 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21148 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21149
bef0b507
JM
211502013-03-20 Joseph Myers <joseph@codesourcery.com>
21151
21152 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21153 * config.make.in (config-cflags-sse4): Remove variable.
21154 (config-cflags-avx): Likewise.
21155 (config-cflags-sse2avx): Likewise.
21156 (config-cflags-novzeroupper): Likewise.
21157 (config-asflags-i686): Likewise.
21158 (have-mfma4): Likewise.
21159 (have-as-vis3): Likewise.
21160 (MIG): Likewise.
21161 * configure.in (MIG): Do not AC_SUBST.
21162 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21163 (libc_cv_cc_sse4): Do not AC_SUBST.
21164 (libc_cv_cc_avx): Likewise.
21165 (libc_cv_cc_sse2avx): Likewise.
21166 (libc_cv_cc_novzeroupper): Likewise.
21167 (libc_cv_cc_fma4): Likewise.
21168 (libc_cv_as_i686): Likewise.
21169 (libc_cv_sparc_as_vis3): Likewise.
21170 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21171 LIBC_CONFIG_VAR.
21172 (config-asflags-i686): Likewise.
21173 (config-cflags-avx): Likewise.
21174 (config-cflags-sse2avx): Likewise.
21175 (have-mfma4): Likewise.
21176 (config-cflags-novzeroupper): Likewise.
21177 * sysdeps/mach/configure.in (MIG): Likewise.
21178 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21179 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21180 LIBC_CONFIG_VAR.
21181 (config-cflags-avx): Likewise.
21182 (config-cflags-sse2avx): Likewise.
21183 (have-mfma4): Likewise.
21184 (config-cflags-novzeroupper): Likewise.
21185 * configure: Regenerated.
21186 * sysdeps/i386/configure: Likewise.
21187 * sysdeps/mach/configure: Likewise.
21188 * sysdeps/sparc/configure: Likewise.
21189 * sysdeps/x86_64/configure: Likewise.
21190
912cc4b3
RM
211912013-03-20 Roland McGrath <roland@hack.frob.com>
21192
21193 [BZ #14812]
21194 * locale/programs/localedef.c (options): Put N_ translation marker
21195 on argument names, not just descriptions.
21196
04eed2b0
MS
211972013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21198
21199 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21200
a065ceff
OB
212012013-03-20 Ondřej Bílka <neleai@seznam.cz>
21202
9bb2a810 21203 [BZ #14176]
a065ceff
OB
21204 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21205
a600e5ce
RM
212062013-03-19 Roland McGrath <roland@hack.frob.com>
21207
21208 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21209 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21210 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21211 [!BEFORE_ABORT] (before_abort): New function.
21212 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21213 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21214 (writev_for_fatal): New function.
21215 (WRITEV_FOR_FATAL): New macro; call that.
21216 (backtrace_and_maps): New function.
21217 (BEFORE_ABORT): New macro; call that.
21218 (struct str_list): Type removed.
21219 (__libc_message, __libc_fatal): Functions removed.
21220 Include <sysdeps/posix/libc_fatal.c> instead.
21221
6b18bea6
JM
212222013-03-19 Joseph Myers <joseph@codesourcery.com>
21223
21224 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21225 constants.
21226 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21227 double constants.
21228
aaa8cb4b
AS
212292013-03-19 Andreas Schwab <schwab@suse.de>
21230
44673770
AS
21231 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21232 * sysdeps/gnu/configure: Regenerate.
21233
aaa8cb4b
AS
21234 * configure.in: Substitute libc_cv_rtlddir.
21235 * configure: Regenerate.
21236 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21237 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21238 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21239 * elf/Makefile (install-others, CFLAGS-interp.c)
21240 (ldso_install, common-ldd-rewrite): Likewise.
21241 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21242 $(inst_slibdir)/$(rtld-installed-name).
21243 * scripts/rellns-sh: Add -p option.
21244 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21245 for source.
21246
d3cfc668
SP
212472013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21248
21249 * manual/nptl.texi: Renamed to ...
21250 * manual/threads.texi: ... this.
21251 * manual/Makefile (chapters): Update.
21252
0e2b9cdd
RM
212532013-03-18 Roland McGrath <roland@hack.frob.com>
21254
21255 [BZ #14812]
21256 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21257 on argument names, not just descriptions.
0e2b9cdd
RM
21258 * malloc/memusagestat.c (options): Likewise.
21259 * nss/getent.c (options): Likewise.
63270c24
RM
21260
212612013-03-18 Benno Schulenberg <bensberg@justemail.net>
21262
21263 [BZ #14812]
21264 * iconv/iconv_prog.c (options): Put N_ translation marker
21265 on argument names, not just descriptions.
21266 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21267
b2e1393c
OB
212682013-03-18 Ondrej Bilka <neleai@seznam.cz>
21269
21270 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21271 implementation which is faster on all x86_64 architectures.
21272 Tested on AMD, Intel Nehalem, SNB, IVB.
21273 * sysdeps/x86_64/strnlen.S: Likewise.
21274
21275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21276 Remove all multiarch strlen and strnlen versions.
21277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21278 Remove strlen and strnlen related parts.
21279
21280 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21281 Inline strlen part.
21282 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21283
21284 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21285 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21286 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21287 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21288 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21289 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21290
ec4ff04d
CD
212912013-03-17 Carlos O'Donell <carlos@redhat.com>
21292
21293 * manual/memory.texi (Malloc Tunable Parameters):
21294 Sort parameters alphabetically. Add comments for missing entries.
21295
cd18e90a
DM
212962013-03-17 David S. Miller <davem@davemloft.net>
21297
21298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21299
2a185d32
JM
213002013-03-16 Joseph Myers <joseph@codesourcery.com>
21301
d2f9799e
JM
21302 [BZ #15283]
21303 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21304 for arguments at most half maximum finite value.
21305 * math/libm-test.inc (j0_test): Add more tests.
21306 (j1_test): Likewise.
21307 (y0_test): Likewise.
21308 (y1_test): Likewise.
21309 * sysdeps/i386/fpu/libm-test-ulps: Update.
21310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21311
2a185d32
JM
21312 [BZ #14155]
21313 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21314 1 / x and functions P and Q for arguments above 0x1p256L.
21315 (__ieee754_y0l): Likewise.
21316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21317 (__ieee754_y1l): Likewise.
21318 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21319 (j1_test): Likewise.
21320 (y0_test): Likewise.
21321 (y1_test): Likewise.
21322
6cbec759
TS
213232013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21324
21325 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21326 variable.
21327
bc16e260
RM
213282013-03-15 Roland McGrath <roland@hack.frob.com>
21329
aefc9b8c
RM
21330 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21331 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21332 zero since it's initialized to EXEC_PAGESIZE.
21333
bc16e260
RM
21334 * sysdeps/unix/sysv/linux/ldsodefs.h
21335 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21336 * sysdeps/generic/ldsodefs.h: ... here.
21337
a57da955
TS
213382013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21339
af00a34d
TS
21340 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21341
495ded2c
TS
21342 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21343 math/test-snan.c.
21344 * math/test-snan.c: Renamed from
21345 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21346 * math/Makefile (tests): Add test-snan.
21347 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21348 test-powerpc-snan.
21349
777b0332
TS
21350 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21351 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21352 functions.
21353 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21354 __builtin_nan family of functions.
21355 * math/libm-test.inc (initialize): Initialize qnan_value with
21356 __builtin_nan family of functions.
21357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21358 Remove variables.
21359 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21360 Remove functions.
21361 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21362 storage class. Initialize qNaN_var and sNaN_var with
21363 __builtin_nan and __builtin_nans families of functions,
21364 respectively.
21365
64d063b8
TS
21366 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21367 (sqrt_test): Remove duplicate test with qNaN input.
21368 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21369 (round_test, signbit_test, significand_test): Note missing +/-Inf
21370 as well as qNaN tests.
21371
67e971f1
TS
21372 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21373 qNaN_var. Fix a few strings, too.
21374 * math/libm-test.inc (nan_value): Rename to qnan_value.
21375 * math/gen-libm-test.pl (%beautify): Adjust to that.
21376 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21377 * math/test-misc.c (main): Likewise.
21378 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21379 to __qnan_bytes, and __qnan_union, respectively.
21380 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21381 Likewise.
21382 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21383 and lqnanval, respectively.
21384 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21385 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21386 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21387 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21388
64487e12
TS
21389 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21390 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21391 doubles.
21392
e015e27b
TS
21393 * math/test-misc.c (main): Fix copy'n'pastos.
21394 * misc/tst-efgcvt.c (special): Likewise.
21395
a57da955
TS
21396 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21397 Remove declarations.
21398
1e380345
SP
213992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21400
21401 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21402 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21403 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21404 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21405
ef26eece
AZ
214062013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21407
21408 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21409 macro to return vdso values correctly in IFUNC implementations.
21410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21411 Optimization by using IFUNC.
21412
8cfdb7e0
SP
214132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21414 Richard Henderson <rth@redhat.com>
21415 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21416
21417 * Makefile.in (bench): New target.
21418 * NEWS: Mention the benchmark framework.
21419 * Rules (bench): Likewise.
21420 (binaries-bench): Generate binaries for functions to
21421 benchmark.
21422 * benchtests/Makefile: New makefile for benchmark tests.
21423 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21424 programs.
21425 * benchtests/exp-inputs: New input file for EXP function.
21426 * benchtests/pow-inputs: New input file for POW function.
21427 * scripts/bench.pl: New script to generate source files for
21428 benchmark programs.
21429
bcda9880
SP
214302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21431
d22ca8cd
SP
21432 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21434 computations on mantissa. Use macros for rounding and
21435 division.
21436 (denorm): Likewise.
21437 (__dbl_mp): Likewise.
21438 (add_magnitudes): Likewise.
21439 (sub_magnitudes): Likewise.
21440 (__mul): Likewise.
21441 (__sqr): Likewise.
21442 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21443 powers of two in terms of TWOPOW macro.
21444 (mp_no): Make type of mantissa as MANTISSA_T.
21445 [!RADIXI]: Define RADIXI.
21446 [!TWO52]: Define TWO52.
21447 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21448
bcda9880
SP
21449 * manual/nptl.texi (cindex): Modify threads to pthreads.
21450
06d5adfb
JM
214512013-03-15 Joseph Myers <joseph@codesourcery.com>
21452
21453 * sysdeps/x86_64/preconfigure: Regenerated.
21454
41c7328e
JM
214552013-03-14 Joseph Myers <joseph@codesourcery.com>
21456
21457 [BZ #14155]
21458 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21459 0x1p28 and above.
21460 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21461 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21462 0x1p28 and above.
21463 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21464 * math/libm-test.inc (j0_test): Do not allow one spurious
21465 underflow exception.
21466 (y1_test): Likewise.
21467
e25cfa60
SP
214682013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21469
0409959c
SP
21470 * manual/Makefile (chapters): Add nptl.
21471 * manual/debug.texi (Debugging Support): Add link to Threads
21472 chapter.
21473 * manual/nptl.texi: New file.
21474
e25cfa60
SP
21475 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21476
58a1335e
PB
214772013-03-14 Petr Baudis <pasky@ucw.cz>
21478
21479 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21480 for non-NULL pointer before the memory validity test. Pointed
21481 out by Holger Brunck <holger.brunck@keymile.com>.
21482
9dc7c64f
AS
214832013-03-13 Andreas Schwab <schwab@suse.de>
21484
21485 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21486 instead of .os.
21487
54206aa6
JM
214882013-03-13 Joseph Myers <joseph@codesourcery.com>
21489
21490 * timezone/zic.c: Update from tzcode 2013b.
21491
e98cdb38
CD
214922013-03-12 Carlos O'Donell <carlos@redhat.com>
21493
21494 * manual/install.texi (Configuring and compiling):
21495 Mention i686 and i586.
21496 * INSTALL: Regenerate.
21497
9967e003
RM
214982013-03-12 Roland McGrath <roland@hack.frob.com>
21499
21500 * sysdeps/init_array/elf-init.c: New file.
21501 * csu/elf-init.c
21502 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21503 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21504
21505 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21506 __gmon_start__ as global, but as static with a .preinit_array pointer.
21507 * sysdeps/init_array/gmon-start.c: New file. Use that.
21508 * sysdeps/init_array/crti.S: New file, empty except for comments.
21509 * sysdeps/init_array/crtn.S: Likewise.
21510
e6b5a293 215112013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21512
21513 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21514 definining bcopy.
80f844c9
OB
21515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21516 Remove Prefer_SSE_for_memop.
21517 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21518 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21519 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21521 memset-x86-64.
80f844c9 21522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21523 Remove bzero, memset ifunc support.
80f844c9
OB
21524 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21525 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21526 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21527 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21528
fb6b0fcb
AS
215292013-03-11 Andreas Schwab <schwab@suse.de>
21530
21531 [BZ #15234]
21532 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21533 by SHLIB_COMPAT.
21534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21535 (GLIBC_2.16): Remove pthread_atfork.
21536
3e6bd4b1
PP
215372013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21538
21539 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21540 (ptestcases.h): Likewise.
21541
222d7f00
RM
215422013-03-08 Roland McGrath <roland@hack.frob.com>
21543
21544 * Makeconfig ($(common-objpfx)config.status): Depend on
21545 sysdeps/*/preconfigure{,.in} too.
21546
1ba4f030
JM
215472013-03-08 Joseph Myers <joseph@codesourcery.com>
21548
a222d91a
JM
21549 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21550 (__free_hook): Use void * instead of __malloc_ptr_t.
21551 (__malloc_hook): Likewise.
21552 (__realloc_hook): Likewise.
21553 (__memalign_hook): Likewise.
21554 (__after_morecore_hook): Likewise.
21555 * malloc/arena.c (save_malloc_hook): Likewise.
21556 (save_free_hook): Likewise.
21557 * malloc/hooks.c (malloc_hook_ini): Likewise.
21558 (realloc_hook_ini): Likewise.
21559 (memalign_hook_ini): Likewise.
21560 * malloc/malloc.c (malloc_hook_ini): Likewise.
21561 (realloc_hook_ini): Likewise.
21562 (memalign_hook_ini): Likewise.
21563 (__free_hook): Likewise.
21564 (__malloc_hook): Likewise.
21565 (__realloc_hook): Likewise.
21566 (__memalign_hook): Likewise.
21567 (__libc_malloc): Likewise.
21568 (__libc_free): Likewise.
21569 (__libc_realloc): Likewise.
21570 (__libc_memalign): Likewise.
21571 (__libc_valloc): Likewise.
21572 (__libc_pvalloc): Likewise.
21573 (__libc_calloc): Likewise.
21574 (__posix_memalign): Likewise.
21575 * malloc/morecore.c (__sbrk): Likewise.
21576 (__default_morecore): Likewise.
21577
5cc45e10
JM
21578 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21579
dd54b864
JM
21580 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21581 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21582 __malloc_ptrdiff_t.
21583
1ba4f030
JM
21584 * malloc/malloc.h (__malloc_size_t): Remove macro.
21585 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21586 __malloc_size_t.
21587 (old_memalign_hook): Likewise.
21588 (old_realloc_hook): Likewise.
21589 (struct hdr): Likewise.
21590 (flood): Likewise.
21591 (mallochook): Likewise.
21592 (memalignhook): Likewise.
21593 (reallochook): Likewise.
21594 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21595 (tr_old_realloc_hook): Likewise.
21596 (tr_old_memalign_hook): Likewise.
21597 (tr_mallochook): Likewise.
21598 (tr_reallochook): Likewise.
21599 (tr_memalignhook): Likewise.
21600
edf66e57
AZ
216012013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21602
21603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21604 default_ldbl_pack and using as default implementation.
21605 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21606 implementation.
21607 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21608 redundant definition.
21609 (ldbl_insert_mantissa): Likewise.
21610 (ldbl_canonicalize): Likewise.
21611 (ldbl_nearbyint): Likewise.
21612 (ldbl_pack): Rename to ldbl_pack_ppc.
21613 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21614 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21615 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21616
6d9145d8
SP
216172013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21618
21619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21620 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21622 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21625 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21626 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21627
4dd4e157
AJ
216282013-03-07 Andreas Jaeger <aj@suse.de>
21629
21630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21631 bits/mman-linux.h.
21632
adbb8027
SP
216332013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21634
ce544b5b
SP
21635 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21636 Include mpa.h and declare __MPEXP.
21637 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21639 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21641 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21642 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21643 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21644
4cc149fd
SP
21645 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21646 (__slowpow): Use long double EXPL and LOGL functions to
21647 compute POW.
21648 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21649 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21650 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21651 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21652 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21654
e6ebd4a7
SP
21655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21656 intermediate variable to calculate exponent.
21657 (__sqr): Likewise.
21658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21659 Likewise.
21660 (__sqr): Likewise.
21661
82a9811d
SP
21662 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21663 [!NO__SQR]: Define __sqr.
21664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21665 and NO__SQR. Remove all code except __mul and __sqr. Include
21666 sysdeps/ieee754/dbl-64/mpa.c.
21667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21668
adbb8027
SP
21669 [BZ #12723]
21670 * posix/Makefile (tests): Add tst-pathconf.
21671 * posix/tst-pathconf.c: New test case.
21672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21673 _PC_PIPE_BUF.
21674 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21675
39120df9
PF
216762013-03-06 Patsy Franklin <pfrankli@redhat.com>
21677
21678 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21679
67525cb8
AJ
216802013-03-06 Andreas Jaeger <aj@suse.de>
21681
664a9ce4
AJ
21682 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21683 definition via __MAP_ANONYMOUS.
21684
8e39047d
AJ
21685 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21686 it's not part of Linux headers.
21687
67525cb8
AJ
21688 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21689 (MAP_HUGE_MASK): Define.
21690
21691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21692 Define.
21693 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21695 Define.
21696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21697 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21698 Define.
21699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21701 Define.
21702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21703
21704 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21705 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21706 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21707 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21708 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21709 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21710
21711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21712 Handle f2fs.
21713
21714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21715 Handle f2fs and efivarfs.
21716
21717 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21718 f2fs.
21719
21720 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21721 (EFIVARFS_MAGIC): Add.
21722 (F2FS_LINK_MAX): Add.
21723
e1b42695
PP
217242013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21725
21726 * stdio-common/vfprintf.c: Replace __builtin_expect with
21727 __glibc_unlikely.
21728
2d67d91a
JM
217292013-03-06 Joseph Myers <joseph@codesourcery.com>
21730
21731 [BZ #13550]
21732 * sysdeps/generic/bp-sym.h: Remove file.
21733 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21735 <bp-sym.h> and <bp-asm.h>.
21736 (__longjmp): Don't use BP_SYM.
21737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21738 and <bp-asm.h>.
21739 (memcpy): Don't use BP_SYM.
21740 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21741 <bp-sym.h> and <bp-asm.h>.
21742 (memcpy): Don't use BP_SYM.
21743 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21744 <bp-asm.h>.
21745 (memcpy): Don't use BP_SYM.
21746 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21747 <bp-asm.h>.
21748 (memset): Don't use BP_SYM.
21749 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21750 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21751 (__bzero): Don't use BP_SYM.
21752 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21753 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21754 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21755 <bp-sym.h> and <bp-asm.h>.
21756 (memcmp): Don't use BP_SYM. Remove comment about bounded
21757 pointers.
21758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21759 <bp-sym.h> and <bp-asm.h>.
21760 (memcpy): Don't use BP_SYM.
21761 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21762 <bp-sym.h> and <bp-asm.h>.
21763 (memset): Don't use BP_SYM.
21764 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21765 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21766 (__bzero): Don't use BP_SYM.
21767 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21768 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21769 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21770 <bp-sym.h> and <bp-asm.h>.
21771 (strncmp): Don't use BP_SYM. Remove comment about bounded
21772 pointers.
21773 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21774 <bp-sym.h> and <bp-asm.h>.
21775 (memcpy): Don't use BP_SYM.
21776 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21777 <bp-sym.h> and <bp-asm.h>.
21778 (memset): Don't use BP_SYM.
21779 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21780 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21781 (__bzero): Don't use BP_SYM.
21782 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21783 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21785 <bp-sym.h> and <bp-asm.h>.
21786 (__memchr): Don't use BP_SYM.
21787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21788 <bp-sym.h> and <bp-asm.h>.
21789 (memcmp): Don't use BP_SYM. Remove comment about bounded
21790 pointers.
21791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21792 <bp-sym.h> and <bp-asm.h>.
21793 (memcpy): Don't use BP_SYM.
21794 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21795 <bp-sym.h> and <bp-asm.h>.
21796 (__mempcpy): Don't use BP_SYM.
21797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21798 <bp-sym.h> and <bp-asm.h>.
21799 (__memrchr): Don't use BP_SYM.
21800 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21801 <bp-sym.h> and <bp-asm.h>.
21802 (memset): Don't use BP_SYM.
21803 (__bzero): Likewise.
21804 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21805 <bp-sym.h> and <bp-asm.h>.
21806 (__rawmemchr): Don't use BP_SYM.
21807 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21808 <bp-sym.h> and <bp-asm.h>.
21809 (__STRCMP): Don't use BP_SYM.
21810 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21811 <bp-sym.h> and <bp-asm.h>.
21812 (strchr): Don't use BP_SYM.
21813 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21814 <bp-sym.h> and <bp-asm.h>.
21815 (__strchrnul): Don't use BP_SYM.
21816 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21817 <bp-sym.h> and <bp-asm.h>.
21818 (strlen): Don't use BP_SYM.
21819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21820 <bp-sym.h> and <bp-asm.h>.
21821 (strncmp): Don't use BP_SYM. Remove comment about bounded
21822 pointers.
21823 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21824 <bp-sym.h> and <bp-asm.h>.
21825 (__strnlen): Don't use BP_SYM.
21826 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21827 <bp-sym.h> and <bp-asm.h>.
21828 (__GI__setjmp): Don't use BP_SYM.
21829 (_setjmp): Likewise.
21830 (__sigsetjmp): Likewise.
21831 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21832 (L(start_addresses)): Don't use BP_SYM.
21833 (_start): Likewise.
21834 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21835 <bp-asm.h>.
21836 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21837 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21838 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21839 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21840 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21841 <bp-asm.h>.
21842 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21843 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21844 about bounded pointers.
21845 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21846 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21847 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21848 <bp-asm.h>.
21849 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21850 about bounded pointers. Remove GKM FIXME comments.
21851 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21852 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21853 <bp-asm.h>.
21854 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21855 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21856 Remove GKM FIXME comments.
21857 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21858 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21859 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21860 <bp-asm.h>.
21861 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21862 about bounded pointers. Remove GKM FIXME comment.
21863 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21864 and <bp-asm.h>.
21865 (strncmp): Don't use BP_SYM. Remove comment about bounded
21866 pointers.
21867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21868 <bp-sym.h> and <bp-asm.h>.
21869 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21871 <bp-sym.h> and <bp-asm.h>.
21872 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21873 comment.
21874
cdcf361f
PP
218752013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21876
21877 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21878 call free(NULL).
21879
3c4a2b15
DM
218802013-03-05 David S. Miller <davem@davemloft.net>
21881
21882 * po/es.po: Update from translation team.
21883
cdcf361f 218842013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21885
21886 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21887 <bits/mman-linux.h>.
21888 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21889 is fine.
21890 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21891 <bits/mman-linux.h> to end of file.
21892 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21893 is fine.
21894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21895 <bits/mman-linux.h> to end of file.
21896 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21897 is fine.
21898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21899 <bits/mman-linux.h> to end of file.
21900
21901 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21902 (MCL_CURRENT, MCL_FUTURE): Define here.
21903
5f67c04f
AK
219042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21905
8a4473cc 21906 [BZ #15232]
5f67c04f
AK
21907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21908 attribute_hidden.
21909 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21910
c3e94a95
AK
219112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21912
21913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21914 fourth parameter needed for rt_sigprocmask syscall.
21915 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21916 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21918 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21919 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21920 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21921
cfb6382a
JM
219222013-03-04 Joseph Myers <joseph@codesourcery.com>
21923
21924 [BZ #13550]
21925 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21926 comment about bounded pointers.
21927 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21928 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21929
539d8e01
AJ
219302013-03-04 Andreas Jaeger <aj@suse.de>
21931
21932 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21933 common definitions.
21934
21935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21936 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21937 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21941
2e167a70 219422013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21943
21944 [BZ #15055]
21945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21946 __ieee754_sqrl instead of __sqrl.
21947
68508633
JM
219482013-03-01 Joseph Myers <joseph@codesourcery.com>
21949
21950 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21951 * sysdeps/powerpc/fpu_control.h: ... here.
21952 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21953 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21954 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21955 * sysdeps/powerpc/bits/mathinline.h: ... here.
21956
7775448e
RM
219572013-03-01 Roland McGrath <roland@hack.frob.com>
21958
21959 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21960 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21961 to just [NEED_DL_SYSINFO_DSO].
21962 * elf/dl-support.c: Likewise.
21963 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21964 * elf/rtld.c (dl_main): Likewise.
21965 * elf/setup-vdso.h (setup_vdso): Likewise.
21966 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21967 * sysdeps/unix/sysv/linux/dl-sysdep.c
21968 (_dl_discover_osversion): Likewise.
21969
4e9b5995
CD
219702013-03-01 Carlos O'Donell <carlos@redhat.com>
21971
21972 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21973 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21974
e23872c8
SP
219752013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21976
e5c74c63
SP
21977 * NEWS: Mention libm performance improvements and non-x86 PI
21978 futex support.
21979
e23872c8
SP
21980 * csu/libc-start.c (__pthread_initialize_minimal): Change
21981 function arguments.
21982 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21983
b5510883
JM
219842013-02-28 Joseph Myers <joseph@codesourcery.com>
21985
21986 [BZ #13550]
21987 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21988 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21989 <bp-sym.h> and <bp-asm.h>.
21990 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21992 and <bp-asm.h>.
21993 (memcpy): Don't use BP_SYM.
21994 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21995 <bp-asm.h>.
21996 (__mpn_add_n): Don't use BP_SYM.
21997 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21998 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21999 and <bp-asm.h>.
22000 (__mpn_addmul_1): Don't use BP_SYM.
22001 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22002 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22003 <bp-sym.h>.
22004 (_setjmp): Don't use BP_SYM.
22005 (__novmx_setjmp): Likewise.
22006 (__GI__setjmp): Likewise.
22007 (__vmx_setjmp): Likewise.
22008 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22009 <bp-sym.h>.
22010 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22011 (__bzero): Don't use BP_SYM.
22012 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22013 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22014 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22015 <bp-sym.h> and <bp-asm.h>.
22016 (memcpy): Don't use BP_SYM.
22017 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22018 <bp-sym.h> and <bp-asm.h>.
22019 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22021 <bp-sym.h> and <bp-asm.h>.
22022 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22023 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22024 <bp-asm.h>.
22025 (__mpn_lshift): Don't use BP_SYM.
22026 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22027 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22028 <bp-asm.h>.
22029 (memset): Don't use BP_SYM.
22030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22032 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22033 <bp-asm.h>.
22034 (__mpn_mul_1): Don't use BP_SYM.
22035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22037 <bp-sym.h> and <bp-asm.h>.
22038 (memcmp): Don't use BP_SYM.
22039 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22040 <bp-sym.h> and <bp-asm.h>.
22041 (memcpy): Don't use BP_SYM.
22042 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22043 <bp-sym.h> and <bp-asm.h>.
22044 (memset): Don't use BP_SYM.
22045 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22046 <bp-sym.h> and <bp-asm.h>.
22047 (strncmp): Don't use BP_SYM.
22048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22049 <bp-sym.h> and <bp-asm.h>.
22050 (memcpy): Don't use BP_SYM.
22051 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22052 <bp-sym.h> and <bp-asm.h>.
22053 (memset): Don't use BP_SYM.
22054 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22055 <bp-sym.h> and <bp-asm.h>.
22056 (__memchr): Don't use BP_SYM.
22057 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22058 <bp-sym.h> and <bp-asm.h>.
22059 (memcmp): Don't use BP_SYM.
22060 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22061 <bp-sym.h> and <bp-asm.h>.
22062 (memcpy): Don't use BP_SYM.
22063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22064 <bp-sym.h> and <bp-asm.h>.
22065 (__mempcpy): Don't use BP_SYM.
22066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22067 <bp-sym.h> and <bp-asm.h>.
22068 (__memrchr): Don't use BP_SYM.
22069 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22070 <bp-sym.h> and <bp-asm.h>.
22071 (memset): Don't use BP_SYM.
22072 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22073 <bp-sym.h> and <bp-asm.h>.
22074 (__rawmemchr): Don't use BP_SYM.
22075 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22076 <bp-sym.h> and <bp-asm.h>.
22077 (__STRCMP): Don't use BP_SYM.
22078 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22079 <bp-sym.h> and <bp-asm.h>.
22080 (strchr): Don't use BP_SYM.
22081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22082 <bp-sym.h> and <bp-asm.h>.
22083 (__strchrnul): Don't use BP_SYM.
22084 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22085 <bp-sym.h> and <bp-asm.h>.
22086 (strlen): Don't use BP_SYM.
22087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22088 <bp-sym.h> and <bp-asm.h>.
22089 (strncmp): Don't use BP_SYM.
22090 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22091 <bp-sym.h> and <bp-asm.h>.
22092 (__strnlen): Don't use BP_SYM.
22093 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22094 <bp-asm.h>.
22095 (__mpn_rshift): Don't use BP_SYM.
22096 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22097 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22098 <bp-sym.h> and <bp-asm.h>.
22099 (__sigsetjmp): Don't use BP_SYM.
22100 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22101 (L(start_addresses)): Don't use BP_SYM.
22102 (_start): Likewise.
22103 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22104 <bp-asm.h>.
22105 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22106 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22107 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22108 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22109 <bp-asm.h>.
22110 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22111 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22112 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22113 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22114 <bp-asm.h>.
22115 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22116 comments.
22117 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22118 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22119 <bp-asm.h>.
22120 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22121 FIXME comments.
22122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22124 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22125 <bp-asm.h>.
22126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22127 comment.
22128 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22129 and <bp-asm.h>.
22130 (strncmp): Don't use BP_SYM,
22131 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22132 <bp-asm.h>.
22133 (__mpn_sub_n): Don't use BP_SYM.
22134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22135 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22136 and <bp-asm.h>.
22137 (__mpn_submul_1): Don't use BP_SYM.
22138 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22140 <bp-sym.h> and <bp-asm.h>.
22141 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22143 <bp-sym.h> and <bp-asm.h>.
22144 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22145 comment.
22146
8d19fe64
SP
221472013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22148
22149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22150 Use ZK to minimize writes to Z.
22151 (sub_magnitudes): Simplify code a bit.
22152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22153 Use ZK to minimize writes to Z.
22154 (sub_magnitudes): Simplify code a bit.
22155
85bd816a
RM
221562013-02-27 Roland McGrath <roland@hack.frob.com>
22157
22158 * csu/gmon-start.c: Add special exception to license text.
22159
b5977bf2
RH
221602013-02-27 Richard Henderson <rth@redhat.com>
22161
22162 * scripts/config.guess: Update from config.git.
22163 * scripts/config.sub: Likewise.
22164
11d6e2f2
SP
221652013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22166
09c14ed2
SP
22167 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22168
a688864e
SP
22169 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22170
6295157a
SP
22171 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22172
b8de2202
SP
22173 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22174
11d6e2f2
SP
22175 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22176
7e80ddb8
RM
221772013-02-26 Roland McGrath <roland@hack.frob.com>
22178
22179 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22180 [$(build-shared = yes].
7e80ddb8 22181
7da6d9ed
SP
221822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22183
45f05884
SP
22184 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22185 (__mul): Reduce iterations for calculating mantissa.
22186
2236d359
SP
22187 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22188 MPTWO.
22189 (__mpranred): Likewise.
22190
7da6d9ed
SP
22191 [BZ #15160]
22192 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22193 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22194
b7688c42
PE
221952013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22196
22197 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22198 Define __attribute__.
22199
53a5c423
SP
222002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22201
22202 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22203 unused.
22204 * posix/regex_internal.h (__attribute): Remove.
22205 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22206 (re_string_context_at): Likewise.
22207 (bitset_not): Use __attribute__ and mark function as possibly
22208 unused.
22209 (bitset_merge): Likewise.
22210 (bitset_mask): Likewise.
22211 (re_string_char_size_at): Likewise.
22212 (re_string_wchar_at): Likewise.
22213 (re_string_elem_size_at): Likewise.
22214
60f5a8b5
SP
222152013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22216
2a983a2e
SP
22217 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22218 code.
22219 (cc32): Likewise.
22220
e69804d1
SP
22221 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22222 (__acr): Likewise.
22223 (__cpy): Likewise.
22224 (norm): Likewise.
22225 (denorm): Likewise.
22226 (__dbl_mp): Likewise.
22227 (add_magnitudes): Likewise.
22228 (sub_magnitudes): Likewise.
22229 (__mul): Likewise.
22230 (__inv): Likewise.
22231
2f22a1e8
SP
22232 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22233 style.
22234
8930ddc7
SP
22235 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22236 style.
22237
dc60cb11
SP
22238 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22239 code.
22240
60f5a8b5
SP
22241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22242 up changes with default code.
22243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22244 Likewise.
22245
b4d1fd33
AM
222462013-02-24 Allan McRae <allan@archlinux.org>
22247
faf6f8bc
AM
22248 * manual/socket.texi (The Internet Namespace): Order menu items
22249 to match that in the file.
22250
b4d1fd33
AM
22251 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22252 node listing of the info page menu.
22253
2366713d
JM
222542013-02-21 Joseph Myers <joseph@codesourcery.com>
22255
22256 [BZ #13550]
22257 * sysdeps/i386/bp-asm.h: Remove file.
22258 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22259 (PARMS): Do not use macros from bp-asm.h.
22260 (S1): Likewise.
22261 (S2): Likewise.
22262 (SIZE): Likewise.
22263 (__mpn_add_n): Do not use BP_SYM
22264 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22265 "bp-asm.h".
22266 (PARMS): Do not use macros from bp-asm.h.
22267 (S1): Likewise.
22268 (SIZE): Likewise.
22269 (__mpn_addmul_1): Do not use BP_SYM
22270 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22271 "bp-asm.h".
22272 (PARMS): Do not use macros from bp-asm.h.
22273 (SIGMSK): Likewise.
22274 (_setjmp): Likewise. Do not use BP_SYM.
22275 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22276 "bp-asm.h".
22277 (PARMS): Do not use macros from bp-asm.h.
22278 (SIGMSK): Likewise.
22279 (setjmp): Likewise. Do not use BP_SYM.
22280 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22281 "bp-asm.h".
22282 (PARMS): Do not use macros from bp-asm.h.
22283 (__frexp): Do not use BP_SYM.
22284 (frexp): Likewise.
22285 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22286 "bp-asm.h".
22287 (PARMS): Do not use macros from bp-asm.h.
22288 (__frexpf): Do not use BP_SYM.
22289 (frexpf): Likewise.
22290 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22291 "bp-asm.h".
22292 (PARMS): Do not use macros from bp-asm.h.
22293 (__frexpl): Do not use BP_SYM.
22294 (frexpl): Likewise.
22295 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22296 "bp-asm.h".
22297 (PARMS): Do not use macros from bp-asm.h.
22298 (__remquo): Do not use BP_SYM.
22299 (remquo): Likewise.
22300 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22301 "bp-asm.h".
22302 (PARMS): Do not use macros from bp-asm.h.
22303 (__remquof): Do not use BP_SYM.
22304 (remquof): Likewise.
22305 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22306 "bp-asm.h".
22307 (PARMS): Do not use macros from bp-asm.h.
22308 (__remquol): Do not use BP_SYM.
22309 (remquol): Likewise.
22310 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22311 "bp-asm.h".
22312 (PARMS): Do not use macros from bp-asm.h.
22313 (DEST): Likewise.
22314 (SRC): Likewise.
22315 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22316 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22317 "bp-asm.h".
22318 (PARMS): Do not use macros from bp-asm.h.
22319 (strlen): Do not use BP_SYM.
22320 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22321 "bp-asm.h".
22322 (PARMS): Do not use macros from bp-asm.h.
22323 (S1): Likewise.
22324 (S2): Likewise.
22325 (SIZE): Likewise.
22326 (__mpn_add_n): Do not use BP_SYM.
22327 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22328 "bp-asm.h".
22329 (PARMS): Do not use macros from bp-asm.h.
22330 (S1): Likewise.
22331 (SIZE): Likewise.
22332 (__mpn_addmul_1): Do not use BP_SYM.
22333 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22334 weak_alias.
22335 (bzero): Likewise.
22336 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22337 "bp-asm.h".
22338 (PARMS): Do not use macros from bp-asm.h.
22339 (S): Likewise.
22340 (SIZE): Likewise.
22341 (__mpn_lshift): Do not use BP_SYM.
22342 * sysdeps/i386/i586/memcpy.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 (LEN): Likewise.
22348 (memcpy): Likewise. Do not use BP_SYM.
22349 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22350 libc_hidden_def and weak_alias.
22351 (mempcpy): Do not use BP_SYM in weak_alias.
22352 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22353 "bp-asm.h".
22354 (PARMS): Do not use macros from bp-asm.h.
22355 (DEST): Likewise.
22356 (LEN): Likewise.
22357 [!BZERO_P] (CHR): Likewise.
22358 (memset): Likewise. Do not use BP_SYM.
22359 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
22365 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22366 "bp-asm.h".
22367 (PARMS): Do not use macros from bp-asm.h.
22368 (S): Likewise.
22369 (SIZE): Likewise.
22370 (__mpn_rshift): Do not use BP_SYM.
22371 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22372 "bp-asm.h".
22373 (PARMS): Do not use macros from bp-asm.h.
22374 (STR): Likewise.
22375 (CHR): Likewise.
22376 (strchr): Likewise. Do not use BP_SYM.
22377 (index): Do not use BP_SYM in weak_alias.
22378 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22379 "bp-asm.h".
22380 (PARMS): Do not use macros from bp-asm.h.
22381 (DEST): Likewise.
22382 (SRC): Likewise.
22383 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22384 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22385 "bp-asm.h".
22386 (PARMS): Do not use macros from bp-asm.h.
22387 (strlen): Do not use BP_SYM.
22388 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22389 "bp-asm.h".
22390 (PARMS): Do not use macros from bp-asm.h.
22391 (S1): Likewise.
22392 (S2): Likewise.
22393 (SIZE): Likewise.
22394 (__mpn_sub_n): Do not use BP_SYM.
22395 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22396 "bp-asm.h".
22397 (PARMS): Do not use macros from bp-asm.h.
22398 (S1): Likewise.
22399 (SIZE): Likewise.
22400 (__mpn_submul_1): Do not use BP_SYM.
22401 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22402 "bp-asm.h".
22403 (PARMS): Do not use macros from bp-asm.h.
22404 (S1): Likewise.
22405 (S2): Likewise.
22406 (SIZE): Likewise.
22407 (__mpn_add_n): Do not use BP_SYM.
22408 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22409 weak_alias.
22410 (bzero): Likewise.
22411 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22412 "bp-asm.h".
22413 (PARMS): Do not use macros from bp-asm.h.
22414 (BLK2): Likewise.
22415 (LEN): Likewise.
22416 (memcmp): Do not use BP_SYM.
22417 (bcmp): Do not use BP_SYM in weak_alias.
22418 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22419 "bp-asm.h".
22420 (PARMS): Do not use macros from bp-asm.h.
22421 (DEST): Likewise.
22422 (SRC): Likewise.
22423 (LEN): Likewise.
22424 (memcpy): Likewise. Do not use BP_SYM.
22425 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22426 "bp-asm.h".
22427 (PARMS): Do not use macros from bp-asm.h.
22428 (DEST): Likewise.
22429 (SRC): Likewise.
22430 (LEN): Likewise.
22431 (memmove): Likewise. Do not use BP_SYM.
22432 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22433 "bp-asm.h".
22434 (PARMS): Do not use macros from bp-asm.h.
22435 (DEST): Likewise.
22436 (SRC): Likewise.
22437 (LEN): Likewise.
22438 (__mempcpy): Likewise. Do not use BP_SYM.
22439 (mempcpy): Do not use BP_SYM in weak_alias.
22440 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22441 "bp-asm.h".
22442 (PARMS): Do not use macros from bp-asm.h.
22443 (DEST): Likewise.
22444 (LEN): Likewise.
22445 [!BZERO_P] (CHR): Likewise.
22446 (memset): Likewise. Do not use BP_SYM.
22447 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22448 "bp-asm.h".
22449 (PARMS): Do not use macros from bp-asm.h.
22450 (STR2): Likewise.
22451 (strcmp): Do not use BP_SYM.
22452 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22453 "bp-asm.h".
22454 (PARMS): Do not use macros from bp-asm.h.
22455 (STR): Likewise.
22456 (DELIM): Likewise.
22457 [USE_AS_STRTOK_R] (SAVE): Likewise.
22458 (FUNCTION): Likewise. Do not use BP_SYM.
22459 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22460 aliases.
22461 (strtok_r): Likewise.
22462 (__GI___strtok_r): Likewise.
22463 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22464 (PARMS): Do not use macros from bp-asm.h.
22465 (S): Likewise.
22466 (SIZE): Likewise.
22467 (__mpn_lshift): Do not use BP_SYM.
22468 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22469 (PARMS): Do not use macros from bp-asm.h.
22470 (STR): Likewise.
22471 (CHR): Likewise.
22472 (__memchr): Do not use BP_SYM.
22473 (memchr): Do not use BP_SYM in weak_alias.
22474 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22475 (PARMS): Do not use macros from bp-asm.h.
22476 (BLK2): Likewise.
22477 (LEN): Likewise.
22478 (memcmp): Do not use BP_SYM.
22479 (bcmp): Do not use BP_SYM in weak_alias.
22480 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22481 (PARMS): Do not use macros from bp-asm.h.
22482 (S1): Likewise.
22483 (SIZE): Likewise.
22484 (__mpn_mul_1): Do not use BP_SYM.
22485 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22486 "bp-asm.h".
22487 (PARMS): Do not use macros from bp-asm.h.
22488 (STR): Likewise.
22489 (CHR): Likewise.
22490 (__rawmemchr): Do not use BP_SYM.
22491 (rawmemchr): Do not use BP_SYM in weak_alias.
22492 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22493 (PARMS): Do not use macros from bp-asm.h.
22494 (S): Likewise.
22495 (SIZE): Likewise.
22496 (__mpn_rshift): Do not use BP_SYM.
22497 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22498 (PARMS): Do not use macros from bp-asm.h.
22499 (SIGMSK): Likewise.
22500 (__sigsetjmp): Likewise. Do not use BP_SYM.
22501 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22502 (_start): Do not use BP_SYM.
22503 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22504 (PARMS): Do not use macros from bp-asm.h.
22505 (DEST): Likewise.
22506 (SRC): Likewise.
22507 (__stpcpy): Likewise. Do not use BP_SYM.
22508 (stpcpy): Do not use BP_SYM in weak_alias.
22509 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22510 "bp-asm.h".
22511 (PARMS): Do not use macros from bp-asm.h.
22512 (DEST): Likewise.
22513 (SRC): Likewise.
22514 (LEN): Likewise.
22515 (__stpncpy): Likewise. Do not use BP_SYM.
22516 (stpncpy): Do not use BP_SYM in weak_alias.
22517 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22518 (PARMS): Do not use macros from bp-asm.h.
22519 (STR): Likewise.
22520 (CHR): Likewise.
22521 (strchr): Likewise. Do not use BP_SYM.
22522 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22523 "bp-asm.h".
22524 (PARMS): Do not use macros from bp-asm.h.
22525 (STR): Likewise.
22526 (CHR): Likewise.
22527 (__strchrnul): Likewise. Do not use BP_SYM.
22528 (strchrnul): Do not use BP_SYM in weak_alias.
22529 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22530 "bp-asm.h".
22531 (PARMS): Do not use macros from bp-asm.h.
22532 (STOP): Likewise.
22533 (strcspn): Do not use BP_SYM.
22534 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22535 "bp-asm.h".
22536 (PARMS): Do not use macros from bp-asm.h.
22537 (STR): Likewise.
22538 (STOP): Likewise.
22539 (strpbrk): Likewise. Do not use BP_SYM.
22540 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22541 "bp-asm.h".
22542 (PARMS): Do not use macros from bp-asm.h.
22543 (STR): Likewise.
22544 (CHR): Likewise.
22545 (strrchr): Likewise. Do not use BP_SYM.
22546 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22547 (PARMS): Do not use macros from bp-asm.h.
22548 (SKIP): Likewise.
22549 (strspn): Do not use BP_SYM.
22550 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22551 (PARMS): Do not use macros from bp-asm.h.
22552 (STR): Likewise.
22553 (DELIM): Likewise.
22554 (SAVE): Likewise.
22555 (FUNCTION): Likewise. Do not use BP_SYM.
22556 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22557 aliases.
22558 (strtok_r): Likewise.
22559 (__GI___strtok_r): Likewise.
22560 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22561 (PARMS): Do not use macros from bp-asm.h.
22562 (S1): Likewise.
22563 (S2): Likewise.
22564 (SIZE): Likewise.
22565 (__mpn_sub_n): Do not use BP_SYM.
22566 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22567 "bp-asm.h".
22568 (PARMS): Do not use macros from bp-asm.h.
22569 (S1): Likewise.
22570 (SIZE): Likewise.
22571 (__mpn_submul_1): Do not use BP_SYM.
22572 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22573 <bp-sym.h>.
22574 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22575 and <bp-asm.h>.
22576 (PARMS): Do not use macros from bp-asm.h.
22577 (FLAGS): Likewise.
22578 (PTID): Likewise.
22579 (TLS): Likewise.
22580 (CTID): Likewise.
22581 (__clone): Do not use BP_SYM.
22582 (clone): Do not use BP_SYM in weak_alias.
22583 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22584 and <bp-asm.h>.
22585 (PARMS): Do not use macros from bp-asm.h.
22586 (LEN): Likewise.
22587 (__mmap64): Do not use BP_SYM.
22588 (mmap64): Do not use BP_SYM in weak_alias.
22589 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22590 <bp-sym.h> and <bp-asm.h>.
22591 (PARMS): Do not use macros from bp-asm.h.
22592 (__posix_fadvise64_l64): Do not use BP_SYM.
22593 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22594 (PARMS): Do not use macros from bp-asm.h.
22595 (NSOPS): Likewise.
22596 (semtimedop): Do not use BP_SYM.
22597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22598 and <bp-asm.h>.
22599
582a3cff
AM
226002013-02-21 Allan McRae <allan@archlinux.org>
22601
22602 * manual/message.texi (Charset conversion in gettext):
22603 Move @end statement to beginning of line.
22604
bab8a695
SP
226052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22606
80945231
SP
22607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22608 static.
22609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22610 Likewise.
22611
bab8a695
SP
22612 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22613 (denorm): Likewise.
22614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22616
e21d7aa7
AK
226172013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22618
22619 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22620 tail-call to the resolved function if pltexit isn't needed.
22621
4c7a4263
SP
226222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22623
22624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22625 or Y being zero as being unlikely.
22626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22627 Likewise.
22628
41f49342
CD
226292013-02-20 Carlos O'Donell <carlos@redhat.com>
22630
22631 * manual/nss.texi (System Databases and Name Service Switch):
22632 Remove frobnicate @pxref.
22633
50022a93
TS
226342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22635
22636 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22637 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22638
08cbd996
PM
226392013-02-20 Petr Machata <pmachata@redhat.com>
22640
22641 * elf/elf.h (R_ARM_TARGET1): New macro.
22642 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22643 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22644 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22645 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22646 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22647 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22648 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22649 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22650 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22651 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22652 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22653 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22654 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22655 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22656 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22657 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22658 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22659 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22660 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22661 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22662 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22663 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22664 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22665 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22666 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22667 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22668 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22669 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22670 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22671 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22672 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22673 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22674 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22675 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22676 (R_ARM_THM_GOT_BREL12): Likewise.
22677 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22678 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22679 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22680 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22681 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22682 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22683 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22684 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22685 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22686
c7b275d6
TS
226872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22688
22689 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22690 __attribute_used__ to __attribute__ ((unused)).
22691
20cd7fb3
SP
226922013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22693
22694 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22695 powerpc mpa.c.
22696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22697 comment formatting.
22698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22699
92945b52
JM
227002013-02-19 Joseph Myers <joseph@codesourcery.com>
22701
22702 [BZ #13550]
22703 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22704 Remove macro.
22705 (ENTER): Remove both macro definitions.
22706 (LEAVE): Likewise.
22707 (CHECK_BOUNDS_LOW): Likewise.
22708 (CHECK_BOUNDS_HIGH): Likewise.
22709 (CHECK_BOUNDS_BOTH): Likewise.
22710 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22711 (RETURN_BOUNDED_POINTER): Likewise.
22712 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22713 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22714 (POP_ERRNO_LOCATION_RETURN): Likewise.
22715 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22716 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22717 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22718 macros.
22719 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22720 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22721 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22722 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22723 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22724 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22725 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22726 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22727 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22728 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22729 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22730 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22731 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22732 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22733 removed macros.
22734 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22735 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22736 macros.
22737 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22738 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22739 * sysdeps/i386/i586/memset.S (memset): Likewise.
22740 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22741 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22742 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22743 macros.
22744 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22745 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22746 Change uses of L(2) to L(out).
22747 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22748 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22749 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22750 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22751 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22752 removed macros.
22753 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22754 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22755 macros.
22756 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22757 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22758 (RETURN): Do not use macro LEAVE.
22759 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22760 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22761 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22762 * sysdeps/i386/i686/memset.S (memset): Likewise.
22763 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22764 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22765 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22766 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22767 Likewise.
22768 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22769 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22770 L(1_2) and L(1_3) into L(1).
22771 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22772 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22773 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22775 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22776 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22777 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22778 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22779 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22780 macros.
22781 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22782 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22783 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22784 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22785 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22786 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22787 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22788 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22789 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22790 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22791 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22792 * sysdeps/i386/strspn.S (strspn): Likewise.
22793 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22794 conditional code.
22795 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22796 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22797 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22798 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22799 L(1_3) into L(1_1).
22800 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22801 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22802 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22803 macros.
22804 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22805
2389741a
JJ
228062013-02-19 Jakub Jelinek <jakub@redhat.com>
22807
22808 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22809 macro.
22810
2016b3cd
SP
228112013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22812
e4f22324
SP
22813 * math/atest-exp.c (exp_mpn): Remove ROUND.
22814 * math/atest-exp2.c (exp_mpn): Likewise.
22815 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22816
2016b3cd
SP
22817 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22818 * stdlib/tst-tls-atexit-lib.c: Likewise.
22819 * stdlib/tst-tls-atexit.c: Likewise.
22820
4be9b544
MF
228212013-02-18 Mike Frysinger <vapier@gentoo.org>
22822
22823 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22824 and __attribute_alloc_size__.
22825
2f62b9ee
MF
228262013-02-18 Mike Frysinger <vapier@gentoo.org>
22827
22828 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22829 __attribute_alloc_size__.
22830 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22831 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22832
6ff444c4
MF
228332013-02-18 Mike Frysinger <vapier@gentoo.org>
22834
22835 * include/programs/xmalloc.h: New file.
22836 * catgets/gencat.c: Include it.
22837 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22838 * elf/pldd.c: Likewise.
22839 * iconv/iconv_charmap.c: Likewise.
22840 * iconv/iconvconfig.c: Likewise.
22841 * iconv/strtab.c: Likewise.
22842 * locale/programs/locale.c: Likewise.
22843 * locale/programs/localedef.h: Likewise.
22844 * locale/programs/simple-hash.c: Likewise.
22845 * nscd/nscd.h: Likewise.
22846 * nss/makedb.c: Likewise.
22847 * sysdeps/generic/ldconfig.h: Likewise.
22848
be179c8a
SP
228492013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22850
ba384f6e
SP
22851 * Versions.def: Add GLIBC_2.18.
22852 * include/link.h (struct link_map): New member l_tls_dtor_count.
22853 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22854 (__call_tls_dtors): Likewise.
22855 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22856 __cxa_thread_atexit_impl.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22858 Likewise.
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22860 Likewise.
22861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22862 Likewise.
22863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22864 Likewise.
22865 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22867 Likewise.
22868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22869 Likewise.
22870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22872 Likewise.
22873 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22874 (tests): Add test case tst-tls-atexit.
22875 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22876 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22877 (GLIBC_PRIVATE): Add __call_tls_dtors.
22878 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22879 for libstdc++.
22880 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22881 * stdlib/tst-tls-atexit.c: New test case.
22882 * stdlib/tst-tls-atexit-lib.c: New test case.
22883
ffaa74cf 22884 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22885
be179c8a
SP
22886 * elf/Versions (ld): Add _dl_find_dso_for_object.
22887 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22888 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22889 (dl_open_worker): Use _dl_find_dso_for_object.
22890 * elf/dl-sym.c (do_sym): Likewise.
22891 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22892
f78b5caa
AK
228932013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22894
22895 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22896 Syntactic changes only.
22897 (_dl_runtime_profile): Do a tail-call to the resolved function.
22898
29691210
JM
228992013-02-17 Joseph Myers <joseph@codesourcery.com>
22900
22901 [BZ #13550]
22902 * sysdeps/x86_64/bp-asm.h: Remove file.
22903 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22904 <bp-sym.h> and <bp-asm.h>.
22905 (__clone): Do not use BP_SYM.
22906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22907 <bp-sym.h> and <bp-asm.h>.
22908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22909 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22910 "bp-asm.h".
22911 (_setjmp): Do not use BP_SYM.
22912 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22913 "bp-asm.h".
22914 (setjmp): Do not use BP_SYM.
22915 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22916 libc_hidden_def.
22917 (mempcpy): Do not use BP_SYM in weak_alias.
22918 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22919 "bp-asm.h".
22920 (strchr): Do not use BP_SYM.
22921 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22922 "bp-asm.h".
22923 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22924 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22925 (_start): Do not use BP_SYM.
22926 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22927 "bp-asm.h".
22928 (strcat): Do not use BP_SYM.
22929 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22930 "bp-asm.h".
22931 (STRCMP): Do not use BP_SYM.
22932 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22933 "bp-asm.h".
22934 (STRCPY): Do not use BP_SYM.
22935 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22936 "bp-asm.h".
22937 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22938 "bp-asm.h".
22939 (FUNCTION): Do not use BP_SYM.
22940 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22941 weak_alias.
22942 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22943
f238fd19
AJ
229442013-02-17 Andreas Jaeger <aj@suse.de>
22945
22946 * time/Versions: Sort entries.
22947 * string/Versions: Likewise.
22948 * resolv/Versions: Likewise.
22949 * posix/Versions: Likewise.
22950 * iconv/Versions: Likewise.
22951 * elf/Versions: Likewise.
22952 * wcsmbs/Versions: Likewise.
22953
bd07f23c 229542013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22955
22af19f9
SP
22956 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22957 loop termination condition.
22958
4709fe76
SP
22959 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22960 variable to calculate EZ.
22961 (__sqr): Likewise.
2d0e0f29
SP
22962
22963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22964 the lower precision input.
22965
daaa7713
JM
229662013-02-15 Joseph Myers <joseph@codesourcery.com>
22967
22968 [BZ #13550]
22969 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22970 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22971 (run-via-rtld-prefix): Do not handle %-bp tests.
22972 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22973 (all-object-suffixes): Remove .ob.
22974 (bppfx): Remove variable.
22975 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22976 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22977 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22978 [$(build-bounded) = yes] (libtype.ob): Likewise.
22979 * Makerules (elide-routines.ob): Remove variable.
22980 (do-tests-clean): Do not handle *-bp.out.
22981 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22982 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22983 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22984 (tests): Do not include $(tests-bp.out).
22985 (xtests): Do not include $(xtests-bp.out).
22986 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22987 [$(build-bounded) = yes] ($(addprefix
22988 $(objpfx),$(binaries-bounded))): Remove rule.
22989 ($(objpfx)%-bp.out): Remove rule.
22990 * config.make.in (build-bounded): Remove variable.
22991 * crypt/Makefile [$(build-bounded) = yes]
22992 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22993 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22994 append to variable.
22995 [$(build-bounded) = yes] (install-lib): Likewise.
22996 [$(build-bounded) = yes] (generated): Likewise.
22997 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22998 Remove rule.
22999 * intl/Makefile [$(build-bounded) = yes]
23000 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23001 * math/Makefile [$(build-bounded) = yes]
23002 ($(tests:%=$(objpfx)%-bp): Likewise.
23003 * misc/Makefile [$(build-bounded) = yes]
23004 ($(objpfx)tst-tsearch-bp): Likewise.
23005 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23006 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23007 Remove dependency.
23008 * string/Makefile (o-objects.ob): Remove variable.
23009 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23010 (CFLAGS-.ob): Remove variable.
23011 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23012 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23013 both definitions of variable.
23014 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23015 (ASFLAGS-.ob): Remove variable.
23016
e97ed6dd
JM
230172013-02-14 Joseph Myers <joseph@codesourcery.com>
23018
2bdd4ca6
JM
23019 [BZ #13550]
23020 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23021 Remove __BOUNDED_POINTERS__ from condition.
23022 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23023 * string/bits/string2.h [!__NO_STRING_INLINES &&
23024 !__BOUNDED_POINTERS__]: Likewise.
23025 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23026 Likewise.
23027 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23028 Remove conditional code.
23029 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23030 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23031 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23032 condition.
23033
e97ed6dd
JM
23034 [BZ #13550]
23035 * csu/libc-start.c: Do not include <bp-sym.h>.
23036 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23037 * elf/dl-open.c: Do not include <bp-sym.h>.
23038 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23039 * math/fegetenv.c: Do not include <bp-sym.h>.
23040 (fegetenv): Do not use BP_SYM in versioned symbols.
23041 * nptl/sysdeps/pthread/bits/libc-lockP.h
23042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23043 <bp-sym.h>.
23044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23045 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23047 (__pthread_mutex_destroy): Likewise.
23048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23049 (__pthread_mutex_lock): Likewise.
23050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23051 (__pthread_mutex_trylock): Likewise.
23052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23053 (__pthread_mutex_unlock): Likewise.
23054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23055 (__pthread_mutexattr_init): Likewise.
23056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23057 (__pthread_mutexattr_destroy): Likewise.
23058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23059 (__pthread_mutexattr_settype): Likewise.
23060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23061 (__pthread_rwlock_init): Likewise.
23062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23063 (__pthread_rwlock_destroy): Likewise.
23064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23065 (__pthread_rwlock_rdlock): Likewise.
23066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23067 (__pthread_rwlock_tryrdlock): Likewise.
23068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23069 (__pthread_rwlock_wrlock): Likewise.
23070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23071 (__pthread_rwlock_trywrlock): Likewise.
23072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23073 (__pthread_rwlock_unlock): Likewise.
23074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23075 (__pthread_key_create): Likewise.
23076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23077 (__pthread_setspecific): Likewise.
23078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23079 (__pthread_getspecific): Likewise.
23080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23081 Likewise.
23082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23083 (_pthread_cleanup_push_defer): Likewise.
23084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23085 (_pthread_cleanup_pop_restore): Likewise.
23086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23087 (pthread_setcancelstate): Likewise.
23088 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23089 <bp-sym.h>.
23090 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23091 (memchr): Do not use BP_SYM in weak_alias.
23092 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23093 (fegetenv): Do not use BP_SYM in versioned symbols.
23094 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23095 (fesetenv): Do not use BP_SYM in versioned symbols.
23096 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23097 (feupdateenv): Do not use BP_SYM in versioned symbols.
23098 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23099 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23100 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23101 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23102 (open64): Do not use BP_SYM in weak_alias.
23103 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23104 (fegetenv): Do not use BP_SYM in versioned symbols.
23105 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23106 (fesetenv): Do not use BP_SYM in versioned symbols.
23107 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23108 (feupdateenv): Do not use BP_SYM in versioned symbols.
23109 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23110 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23111 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23112 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23113 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23114 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23115 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23116 <bp-sym.h>.
23117 (__libc_start_main): Do not use BP_SYM.
23118
d6752ccd
SP
231192013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23120
cb57ce60
SP
23121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23122 redundant return line.
23123 (norm): Likewise.
23124 (denorm): Likewise.
23125 (dbl_mp): Likewise.
23126 (sub_magnitudes): Likewise.
23127 (__add): Likewise.
23128 (__sub): Likewise.
23129 (__mul): Likewise.
23130 (__inv): Likewise.
23131 (__dvd): Likewise.
23132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23133 (norm): Likewise.
23134 (denorm): Likewise.
23135 (dbl_mp): Likewise.
23136 (sub_magnitudes): Likewise.
23137 (__add): Likewise.
23138 (__sub): Likewise.
23139 (__mul): Likewise.
23140 (__inv): Likewise.
23141 (__dvd): Likewise.
23142
f414520d
SP
23143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23144 instead of __mul.
23145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23146 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23147 (cc32): Likewise.
23148
d6752ccd
SP
23149 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23150 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23152 of __mul for squares.
23153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23154 function
23155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23156 Likewise.
23157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23159
70d9946a
JM
231602013-02-13 Joseph Myers <joseph@codesourcery.com>
23161
23162 [BZ #13550]
23163 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23164 code.
23165 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23166 prototype or function definition. Rename ubp_* variables and
23167 parameters. Remove argv definitions conditional on
23168 [__BOUNDED_POINTERS__].
23169 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23170 * elf/dl-runtime.c (_dl_fixup): Likewise.
23171 * include/set-hooks.h (RUN_HOOK): Likewise.
23172 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23173 definition.
23174 * string/strcpy.c (strcpy): Do not use __unbounded.
23175 * sysdeps/generic/frame.h (struct layout): Likewise.
23176 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23177 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23178 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23179 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23180 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23181 (__backtrace): Likewise.
23182 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23183 use __ptrvalue.
23184 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23185 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23186 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23187 Likewise.
23188 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23189 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23190 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23191 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23192 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23193 Do not use __unbounded.
23194 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23195 Rename __unboundedrlimits parameter to rlimits in prototype.
23196 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23197 Do not use __unbounded.
23198 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23199 not use __ptrvalue.
23200 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23201 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23202 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23203 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23204 __ptrvalue or __unbounded.
23205 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23206 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23207 use __unbounded.
23208 (__new_msgctl): Do not use __ptrvalue.
23209 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23210 __unbounded.
23211 (__libc_msgrcv): Do not use __ptrvalue.
23212 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23213 startup_info): Do not use __unbounded.
23214 (__libc_start_main): Likewise. Rename ubp_* variables and
23215 parameters. Remove argv definitions conditional on
23216 [__BOUNDED_POINTERS__].
23217 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23218 __ptrvalue.
23219 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23220 use __unbounded.
23221 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23222 or __ptrvalue.
23223 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23224 use __unbounded.
23225 (__new_shmctl): Do not use __ptrvalue.
23226 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23227 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23228 Likewise.
23229 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23231 (__libc_sigaction): Likewise.
23232 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23234 Likewise.
23235 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23236
cc7834d6
OB
232372013-02-13 Ondřej Bílka <neleai@seznam.cz>
23238
ffb1ec7b 23239 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23240
23241 * string/mempcpy.c: Implement by calling memcpy.
23242
bdf02814
SP
232432013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23244
c2af38aa
SP
23245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23246
4e92d59e
SP
23247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23248 evaluation.
23249
909279a5
SP
23250 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23251 values in the mantissa.
23252
bdf02814
SP
23253 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23254 minimize writes to Z.
23255 (sub_magnitudes): Simplify code a bit.
23256
cd525923
RM
232572013-02-12 Roland McGrath <roland@hack.frob.com>
23258
23259 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23260 from the message. The linker prefixes all warnings with that already.
23261
7e2f0d2d
AS
232622013-02-12 Andreas Schwab <schwab@suse.de>
23263
a445af0b
AS
23264 [BZ #15078]
23265 * posix/regexec.c (extend_buffers): Add parameter min_len.
23266 (check_matching): Pass minimum needed length.
23267 (clean_state_log_if_needed): Likewise.
23268 (get_subexp): Likewise.
23269 * posix/Makefile (tests): Add bug-regex34.
23270 (bug-regex34-ENV): Define.
23271 * posix/bug-regex34.c: New file.
23272
7e2f0d2d
AS
23273 [BZ #11561]
23274 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23275 elements compare against the byte sequence of it, not its name.
23276 * posix/Makefile (tests): Add bug-regex35.
23277 (bug-regex35-ENV): Define.
23278 * posix/bug-regex35.c: New file.
23279
a175b684
TV
232802013-02-11 Tom de Vries <tom@codesourcery.com>
23281
23282 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23283 comment.
23284 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23285 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23286 (CHECK_EOL): Add undef.
23287
310998fe 232882013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23289
23290 * bits/stdlib-bsearch.h: New file.
23291 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23292 * stdlib/stdlib.h: Likewise.
41eda41d 23293
8ded91fb
RM
232942013-02-11 Roland McGrath <roland@hack.frob.com>
23295
23296 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23297 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23298 declaration.
23299 * manual/search.texi (Array Search Function): Add missing const in
23300 lfind prototype.
23301 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23302 declaration to use rlim_t.
23303 (Basic Scheduling Functions): Remove erroneous const from
23304 sched_getparam prototype. Remove erroneous * from
23305 sched_get_priority_max and sched_get_priority_min prototypes.
23306 (Resource Usage): Fix summary @comment on vtimes to refer to
23307 sys/vtimes.h rather than vtimes.h.
23308 Add missing *s in vtimes prototype.
23309 (Limits on Resources): Fix ulimit prototype to return long int.
23310 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23311 prototypes to use long int rather than double.
23312 (BSD Random): Fix initstate and setstate to use char *, not void *.
23313 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23314 prototype to make second argument 'struct aiocb64 *const[]'.
23315 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23316 (Status of AIO Operations): Remove erroneous const in aio_return and
23317 aio_return64 prototypes.
23318 (Synchronizing I/O): Fix sync prototype to return void.
23319 * manual/startup.texi (Suboptions): Remove an erroneous const in
23320 getsubopt prototype.
23321 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23322 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23323 use size_t rather than int.
23324 (Scanning All Users): Likewise for getpwent_r.
23325 (Setting Groups): Add missing const to setgroups prototype.
23326 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23327 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23328 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23329 'const void *' rather than 'const char *'.
23330 (Host Address Functions): Likewise for inet_ntop.
23331 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23332 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23333 ssize_t for return value.
23334 (Sending Data): Likewise for send, sendto, sendmsg.
23335 (Socket Option Functions): Add a missing const in setsockopt prototype.
23336 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23337 use wchar_t for the argument.
23338 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23339 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23340 take no arguments.
23341 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23342 double/float/long double for second argument.
23343 Fix return types of significand, significandf, significandl.
23344 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23345 argument in fchmod prototype.
23346 (File Owner): Use uid_t and gid_t in fchown prototype.
23347 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23348 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23349 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23350 use 'const struct dirent **' as argument types to CMP function pointer
23351 argument.
23352 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23353 (File Times): Fix summary magic @comment for struct utimbuf and utime
23354 to refer to utime.h, not time.h.
23355 * manual/string.texi (Argz Functions): Add missing const in
23356 argz_extract and argz_next prototypes.
23357 (Finding Tokens in a String): Likewise for basename.
23358 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23359 (Copying and Concatenation): Fix typo in wmemmove prototype.
23360 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23361 (Signal Stack): Remove erroneous const in sigstack prototype.
23362 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23363 prototype.
23364 (Simple Calendar Time): Likewise for stime.
23365 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23366 prototype.
23367 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23368 say sys/sysctl.h instead.
23369 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23370 and vsyslog prototypes.
23371
fe77fe6d
TV
233722013-02-11 Tom de Vries <tom@codesourcery.com>
23373
23374 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23375 Remove.
23376
3a09b620
RM
233772013-02-11 Roland McGrath <roland@hack.frob.com>
23378
23379 * misc/sys/mman.h: Fix typo in mremap comment.
23380
550a0b89
RM
233812013-02-08 Roland McGrath <roland@hack.frob.com>
23382
23383 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23384 the '\0' terminator.
23385
a2da1673
JM
233862013-02-08 Joseph Myers <joseph@codesourcery.com>
23387
23388 [BZ #13550]
23389 * debug/segfault.c: Don't include <bp-checks.h>.
23390 * sysdeps/generic/bp-checks.h: Remove file.
23391 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23392 (__GETDENTS): Don't use CHECK_N.
23393 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23395 (__getgroups): Don't use CHECK_N.
23396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23397 (setgroups): Don't use CHECK_N.
23398 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23399 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23400 (__libc_msgrcv): Don't use CHECK_N.
23401 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23402 (__libc_msgsnd): Don't use CHECK_N.
23403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23404 <bp-checks.h>.
23405 (__libc_pread): Don't use CHECK_N.
23406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23407 include <bp-checks.h>.
23408 (__libc_pread64): Don't use CHECK_N.
23409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23410 include <bp-checks.h>.
23411 (__libc_pwrite): Don't use CHECK_N.
23412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23413 include <bp-checks.h>.
23414 (__libc_pwrite64): Don't use CHECK_N.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23416 <bp-checks.h>.
23417 (__libc_pread): Don't use CHECK_N.
23418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23419 include <bp-checks.h>.
23420 (__libc_pread64): Don't use CHECK_N.
23421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23422 include <bp-checks.h>.
23423 (__libc_pwrite): Don't use CHECK_N.
23424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23425 include <bp-checks.h>.
23426 (__libc_pwrite64): Don't use CHECK_N.
23427 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23428 (do_pread): Don't use CHECK_N.
23429 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23430 (do_pread64): Don't use CHECK_N.
23431 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23432 (do_pwrite): Don't use CHECK_N.
23433 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23434 (do_pwrite64): Don't use CHECK_N.
23435 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23436 (__libc_readv): Don't use CHECK_N.
23437 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23438 (semop): Don't use CHECK_N.
23439 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23440 <bp-checks.h>.
23441 (semtimedop): Don't use CHECK_N.
23442 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23443 (__libc_pread): Don't use CHECK_N.
23444 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23445 <bp-checks.h>.
23446 (__libc_pread64): Don't use CHECK_N.
23447 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23448 <bp-checks.h>.
23449 (__libc_pwrite): Don't use CHECK_N.
23450 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23451 <bp-checks.h>.
23452 (__libc_pwrite64): Don't use CHECK_N.
23453 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23454 <bp-checks.h>.
23455 (__libc_msgrcv): Don't use CHECK_N.
23456 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23457 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23458 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23459 (__libc_writev): Don't use CHECK_N.
23460
b84660a8
RM
234612013-02-08 Roland McGrath <roland@hack.frob.com>
23462
7f3e75f8
RM
23463 * string/strcpy.c: Removed unused variable.
23464
b84660a8
RM
23465 * Makeconfig (+sysdep-includes): Define with := rather than =.
23466 Use an existing include/ subdir of each sysdeps dir before it.
23467
471514d3
CD
234682013-02-08 Carlos O'Donell <carlos@redhat.com>
23469
23470 * nscd/connection.c (register_traced_file): Comment function.
23471 [HAVE_INOTIFY] (union __inev): Define.
23472 [HAVE_INOTIFY] (inotify_check_files): New function.
23473 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23474 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23475 clear_db_cache.
23476 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23477
b2d3c3be
CD
234782013-02-08 Carlos O'Donell <carlos@redhat.com>
23479
23480 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23481 loaded if not already and that a failure is permanent.
23482
b39949d2
CD
234832013-02-08 Carlos O'Donell <carlos@redhat.com>
23484
ddacd1db 23485 [BZ #15006]
b39949d2
CD
23486 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23487 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23488
b2c9eff4
JM
234892013-02-08 Joseph Myers <joseph@codesourcery.com>
23490
f3aae3f3
JM
23491 [BZ #13550]
23492 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23493 (CHECK_1_NULL_OK): Likewise.
23494 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23495 (__fxstat): Do not use CHECK_1.
23496 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23497 <bp-checks.h>.
23498 (___fxstat64): Do not use CHECK_1.
23499 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23500 <bp-checks.h>.
23501 (__fxstatat): Do not use CHECK_1.
23502 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23503 <bp-checks.h>.
23504 (__fxstatat64): Do not use CHECK_1.
23505 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23506 <bp-checks.h>.
23507 (__fxstat): Do not use CHECK_1.
23508 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23509 <bp-checks.h>.
23510 (__fxstatat): Do not use CHECK_1.
23511 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23512 <bp-checks.h>.
23513 (__getresgid): Do not use CHECK_1.
23514 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23515 <bp-checks.h>.
23516 (__getresuid): Do not use CHECK_1.
23517 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23518 <bp-checks.h>.
23519 (__lxstat): Do not use CHECK_1.
23520 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23521 <bp-checks.h>.
23522 (__old_msgctl): Do not use CHECK_1.
23523 (__new_msgctl): Likewise.
23524 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23525 <bp-checks.h>.
23526 (__new_setrlimit): Do not use CHECK_1.
23527 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23528 <bp-checks.h>.
23529 (__old_shmctl): Do not use CHECK_1.
23530 (__new_shmctl): Likewise.
23531 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23532 <bp-checks.h>.
23533 (__xstat): Do not use CHECK_1.
23534 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23535 (__lxstat): Do not use CHECK_1.
23536 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23537 <bp-checks.h>.
23538 (___lxstat64): Do not use CHECK_1.
23539 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23540 (__old_msgctl): Do not use CHECK_1.
23541 (__new_msgctl): Likewise.
23542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23543 <bp-checks.h>.
23544 (__gettimeofday): Do not use CHECK_1.
23545 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23546 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23547 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23548 <bp-checks.h>.
23549 (__gettimeofday): Do not use CHECK_1.
23550 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23551 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23552 (__new_shmctl): Do not use CHECK_1.
23553 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23554 <bp-checks.h>.
23555 (do_sigtimedwait): Do not use CHECK_1.
23556 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23557 <bp-checks.h>.
23558 (do_sigwaitinfo): Do not use CHECK_1.
23559 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23560 <bp-checks.h>.
23561 (msgctl): Do not use CHECK_1.
23562 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23563 <bp-checks.h>.
23564 (shmctl): Do not use CHECK_1.
23565 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23566 (ustat): Do not use CHECK_1.
23567 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23568 <bp-checks.h>.
23569 (__fxstat): Do not use CHECK_1.
23570 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23571 <bp-checks.h>.
23572 (__fxstatat): Do not use CHECK_1.
23573 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23574 <bp-checks.h>.
23575 (__lxstat): Do not use CHECK_1.
23576 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23577 <bp-checks.h>.
23578 (__xstat): Do not use CHECK_1.
23579 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23580 (__xstat): Do not use CHECK_1.
23581 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23582 (___xstat64): Do not use CHECK_1.
23583
b2c9eff4
JM
23584 [BZ #13550]
23585 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23586 definitions.
23587 (CHECK_BOUNDS_HIGH): Likewise.
23588 * string/strcpy.c: Do not include <bp-checks.h>.
23589 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23590
f1d70dad
RM
235912013-02-07 Roland McGrath <roland@hack.frob.com>
23592
23593 * nscd/nscd-client.h (__nscd_drop_map_ref):
23594 Add __attribute__ ((unused)).
23595 * nis/nss-nisplus.h (niserr2nss): Likewise.
23596
23597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23598 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23599
23600 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23601 Remove inline keyword.
23602 * include/rounding-mode.h (round_away): Likewise.
23603 * libio/wfileops.c (adjust_wide_data): Likewise.
23604 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23605 (__m128i_strloadu_tolower): Likewise.
23606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23607 (__m128i_strloadu_tolower): Likewise.
23608 * time/mktime.c (ydhms_diff): Likewise.
23609 * locale/elem-hash.h (elem_hash): Likewise.
23610 * locale/setlocale.c (setdata): Likewise.
23611 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23612 (re_string_wchar_at): Likewise.
23613 (bitset_not, bitset_merge, bitset_mask): Likewise.
23614 [!(__GNUC__ > 3)] (inline): Remove macro.
23615 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23616 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23617 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23618 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23619 * string/memcmp.c (memcmp_bytes): Likewise.
23620 * locale/programs/locarchive.c (compute_hashval): Likewise.
23621 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23622 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23623 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23624 * nss/getent.c (print_rpc, print_protocols): Likewise.
23625 (print_passwd, print_group, print_aliases): Likewise.
23626 * nis/nss-nisplus.h (niserr2nss): Likewise.
23627 * nscd/connections.c (restart_p): Likewise.
23628 Change return type to bool.
23629
eab55bfb
RM
236302013-02-05 Roland McGrath <roland@hack.frob.com>
23631
7bd642f5
RM
23632 * Makeconfig (all-Depend-files): Add existing
23633 $(sorted-subdirs:=/Depend) files.
23634 (all-subdirs): Remove nss.
23635 * sysdeps/unix/inet/Subdirs: Add it here instead.
23636 * hesiod/Depend: New file.
23637
573c29b2
RM
23638 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23639 instead of calling alloca.
23640
b2e25af0
RM
23641 * io/lseek.c (__lseek): Rename to __libc_lseek.
23642 Define __lseek as an alias.
23643
eab55bfb
RM
23644 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23645
9a0d1941
CD
236462013-02-04 Carlos O'Donell <carlos@redhat.com>
23647
23648 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23649 else clause and remove check for non-standard endianness.
23650
b83bbec4
DM
236512013-02-04 David S. Miller <davem@davemloft.net>
23652
23653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23654
6277fdab
JM
236552013-02-04 Joseph Myers <joseph@codesourcery.com>
23656
23657 [BZ #13550]
23658 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23659 (__ubp_memchr): Remove prototype.
23660 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23661 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23662 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23663 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23664 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23665 Remove alias.
23666 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23667 (__ubp_memchr): Likewise.
23668 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23669 (__ubp_memchr): Likewise.
23670 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23671 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23672 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23673 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23674 CHECK_STRING.
23675 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23676 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23677 (__getcwd): Do not use CHECK_STRING.
23678 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23679 <bp-checks.h>.
23680 (__real_chown): Do not use CHECK_STRING.
23681 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23682 <bp-checks.h>.
23683 (fchownat): Do not use CHECK_STRING.
23684 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23685 CHECK_STRING.
23686 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23687 <bp-checks.h>.
23688 (__lchown): Do not use CHECK_STRING.
23689 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23690 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23691 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23692 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23694 include <bp-checks.h>.
23695 (truncate64): Do not use CHECK_STRING.
23696 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23697 <bp-checks.h>.
23698 (__real_chown): Do not use CHECK_STRING.
23699 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23700 <bp-checks.h>.
23701 (__lchown): Do not use CHECK_STRING.
23702 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23703 <bp-checks.h>.
23704 (__chown): Do not use CHECK_STRING.
23705 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23706 <bp-checks.h>.
23707 (truncate64): Do not use CHECK_STRING.
23708 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23709 Likewise.
23710 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23711 (__xmknod): Do not use CHECK_STRING.
23712 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23713 <bp-checks.h>.
23714 (__xmknodat): Do not use CHECK_STRING.
23715 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23716 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23717
903ae060
AS
237182013-02-04 Andreas Schwab <schwab@suse.de>
23719
23720 [BZ #14142]
23721 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23722 * include/netdb.h: Likewise for h_errno.
23723 * elf/tst-stackguard1.c: Include <tls.h>.
23724
542f9466
JK
237252013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23726
23727 * elf/link.h (struct link_map): Extend the l_addr comment.
23728 * include/link.h (struct link_map): Likewise.
23729
e782a927
JM
237302013-02-01 Joseph Myers <joseph@codesourcery.com>
23731
23732 [BZ #13550]
23733 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23734 (BOUNDED_1): Remove macro.
23735 * debug/backtrace.c: Don't include <bp-checks.h>.
23736 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23737 (__backtrace): Likewise.
23738 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23739 <bp-checks.h>.
23740 (__backtrace): Don't use BOUNDED_1.
23741 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23742 <bp-checks.h>.
23743 (__backtrace): Don't use BOUNDED_1.
23744 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23745 (__backtrace): Don't use BOUNDED_1.
23746 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23747 (shmat): Don't use BOUNDED_N.
23748
8cf28c5e
JM
237492013-01-31 Joseph Myers <joseph@codesourcery.com>
23750
3a7ac8a0
JM
23751 [BZ #13550]
23752 * sysdeps/generic/bp-start.h: Remove file.
23753 * csu/libc-start.c: Don't include <bp-start.h>.
23754 (LIBC_START_MAIN): Set up __environ directly instead of using
23755 INIT_ARGV_and_ENVIRON.
23756 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23757 <bp-start.h>.
23758
f3499f95
JM
23759 [BZ #13550]
23760 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23761 definitions.
23762 (CHECK_FCNTL): Likewise.
23763 (CHECK_N_PAGES): Likewise.
23764
32a45bea
JM
23765 [BZ #13550]
23766 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23767 definitions.
23768 (CHECK_SIGSET_NULL_OK): Likewise.
23769 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23770 <bp-checks.h>.
23771 (sigpending): Don't use CHECK_SIGSET.
23772 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23773 <bp-checks.h>.
23774 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23775 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23776 <bp-checks.h>.
23777 (do_sigsuspend): Don't use CHECK_SIGSET.
23778 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23779 use CHECK_SIGSET.
23780 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23781 (do_sigwait): Don't use CHECK_SIGSET.
23782 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23783 use CHECK_SIGSET.
23784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23785 include <bp-checks.h>.
23786 (sigpending): Don't use CHECK_SIGSET.
23787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23788 include <bp-checks.h>.
23789 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23790 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23791 <bp-checks.h>.
23792 (sigpending): Don't use CHECK_SIGSET.
23793 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23794 <bp-checks.h>.
23795 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23796
2e8a5c8c
JM
23797 [BZ #13550]
23798 * sysdeps/generic/bp-semctl.h: Remove file.
23799 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23800 <bp-checks.h> and <bp-semctl.h>.
23801 (__old_semctl): Don't use CHECK_SEMCTL.
23802 (__new_semctl): Likewise.
23803 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23804 and <bp-semctl.h>.
23805 (__old_semctl): Don't use CHECK_SEMCTL.
23806 (__new_semctl): Likewise.
23807 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23808 <bp-checks.h> and <bp-semctl.h>.
23809 (__old_semctl): Don't use CHECK_SEMCTL.
23810 (__new_semctl): Likewise.
23811 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23812 <bp-checks.h> and <bp-semctl.h>.
23813 (semctl): Don't use CHECK_SEMCTL.
23814
c2d54929
JM
23815 [BZ #13550]
23816 * Makerules (elide-bp-thunks): Remove variable.
23817 (elide-routines.oS): Don't use $(elide-bp-thunks).
23818 (elide-routines.os): Likewise.
23819 (elide-routines.o): Likewise.
23820 (elide-routines.op): Likewise.
23821 (elide-routines.og): Likewise.
23822 (objects): Don't use $(bp-thunks).
23823 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23824 include.
23825 (common-generated): Do not add s-proto-bp.d.
23826 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23827 (int): Likewise.
23828 (typ): Likewise.
23829 Do not generate makefile rules for bounded-pointer thunks.
23830 * sysdeps/generic/bp-thunks.h: Remove file.
23831 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23832 * sysdeps/unix/s-proto-bp.S: Likewise.
23833
8cf28c5e
JM
23834 [BZ #15062]
23835 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23836 parts of result separately when argument is not close to line from
23837 -i to i and one part of argument is small.
23838 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23839 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23840 * math/libm-test.inc (cacos_test): Add more tests.
23841 (casin_test): Likewise.
23842 (casinh_test): Likewise.
23843 * sysdeps/i386/fpu/libm-test-ulps: Update.
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845
c4e33b8d
DM
238462013-01-31 David S. Miller <davem@davemloft.net>
23847
23848 * po/de.po: Update from translation team.
23849
3b60b421
MK
238502013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23851
23852 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23853
bb931195
TS
238542013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23855
b5a5da23
TS
23856 * configure.in (_AC_PROG_CC_C89): New definition.
23857 * configure: Regenerate.
23858
bb931195
TS
23859 * configure.in (AC_PROG_CPP): New definition.
23860 * configure: Regenerate.
23861
8c53a12c
JM
238622013-01-23 Joseph Myers <joseph@codesourcery.com>
23863
23864 * debug/tst-backtrace.h: New file.
23865 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23866 (ret): Remove variable.
23867 (x): Likewise.
23868 (FAIL): Remove macro.
23869 (NO_INLINE): Likewise.
23870 (fn1): Use match function instead of strstr.
23871 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23872 (ret): Remove variable.
23873 (x): Likewise.
23874 (FAIL): Remove macro.
23875 (NO_INLINE): Likewise.
23876 (fn): Use match function instead of strstr.
23877 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23878 (ret): Remove variable.
23879 (x): Likewise.
23880 (FAIL): Remove macro.
23881 (NO_INLINE): Likewise.
23882 (handle_signal): Use match function instead of strstr.
23883 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23884 (ret): Remove variable.
23885 (x): Likewise.
23886 (FAIL): Remove macro.
23887 (NO_INLINE): Likewise.
23888 (handle_signal): Use match function instead of strstr.
23889
4858fa2a
RM
238902013-01-23 Roland McGrath <roland@hack.frob.com>
23891
23892 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23893
bae8e7f5
DM
238942013-01-23 David S. Miller <davem@davemloft.net>
23895
23896 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23897 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23898 argument of CAS if possible.
23899 * sysdeps/sparc/sparc64/bits/atomic.h
23900 (__arch_compare_and_exchange_val_32_acq): Likewise.
23901 (__arch_compare_and_exchange_val_64_acq): Likewise.
23902
9cbbc4ae
PT
239032013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23904
23905 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23906 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23907 Include <limits.h>.
67b3f58c 23908 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23909
5655a0b5
AC
239102013-01-23 Adam Conrad <adconrad@0c3.net>
23911
23912 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23913 (LDFLAGS-tst-array5): Likewise.
23914
052aff95
JM
239152013-01-23 Joseph Myers <joseph@codesourcery.com>
23916
23917 [BZ #15036]
23918 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23919 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23920 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23921 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23922
7c1e01aa
DM
239232013-01-21 David S. Miller <davem@davemloft.net>
23924
23925 * sysdeps/sparc/backtrace.c: New file.
23926 * sysdeps/sparc/sparc32/backtrace.h: New file.
23927 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23928 * sysdeps/sparc/sparc64/backtrace.h: New file.
23929 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23930 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23931 -funwind-tables.
23932
ab087e0a
AS
239332013-01-21 Andreas Schwab <schwab@suse.de>
23934
23935 [BZ #15020]
23936 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23937 closed its stdout.
23938
ed689c2f
AS
239392013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23940
23941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23942 "mpa2.h".
23943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23944
31d470ac
JM
239452013-01-18 Joseph Myers <joseph@codesourcery.com>
23946 Mark Mitchell <mark@codesourcery.com>
23947 Tom de Vries <tom@codesourcery.com>
23948 Paul Pluzhnikov <ppluzhnikov@google.com>
23949
23950 * debug/tst-backtrace2.c: New file.
23951 * debug/tst-backtrace3.c: Likewise.
23952 * debug/tst-backtrace4.c: Likewise.
23953 * debug/tst-backtrace5.c: Likewise.
23954 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23955 (CFLAGS-tst-backtrace3.c): Likewise.
23956 (CFLAGS-tst-backtrace4.c): Likewise.
23957 (CFLAGS-tst-backtrace5.c): Likewise.
23958 (LDFLAGS-tst-backtrace2): Likewise.
23959 (LDFLAGS-tst-backtrace3): Likewise.
23960 (LDFLAGS-tst-backtrace4): Likewise.
23961 (LDFLAGS-tst-backtrace5): Likewise.
23962 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23963 tst-backtrace4 and tst-backtrace5.
23964
90567f30 239652013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23966 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23967
23968 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23969 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23971 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23973 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23974 "+r" and remove output regs list as redundant. Add explicit inline
23975 asm to specify register of return val to work around compiler codegen
23976 bug. Remove (int) cast on return value. Add return type parameter to
23977 use in macro so that this macro does not truncate return value for
23978 64-bit values.
23979 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23980 pass to INTERNAL_VSYSCALL_NCS.
23981 (INLINE_VSYSCALL): Add 'long int' as return type to
23982 INTERNAL_VSYSCALL_NCS macro invocation.
23983 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23984 INTERNAL_VSYSCALL_NCS macro invocation.
23985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23986
d3b9ea61
SP
239872013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23988
0b57daeb
SP
23989 [BZ #14496]
23990 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23991 Fix application of SIMD FP exception mask.
23992
caa99d06
SP
23993 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23994 mp_no from a power of two.
23995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23996 __mpexp_twomm1. Use __pow_mp.
23997
d3b9ea61
SP
23998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23999 multiplication.
24000
1dbaee3c
DM
240012013-01-17 David S. Miller <davem@davemloft.net>
24002
24003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24004
728d7b43
JM
240052013-01-17 Joseph Myers <joseph@codesourcery.com>
24006
24007 [BZ #15023]
24008 * include/complex.h: Condition contents on [!_COMPLEX_H].
24009 (__kernel_casinhf): New prototype.
24010 (__kernel_casinh): Likewise.
24011 (__kernel_casinhl): Likewise.
24012 * math/Makefile (libm_calls): Add k_casinh.
24013 * math/k_casinh.c: New file.
24014 * math/k_casinhf.c: Likewise.
24015 * math/k_casinhl.c: Likewise.
24016 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24017 finite nonzero arguments.
24018 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24019 finite nonzero arguments.
24020 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24021 finite nonzero arguments.
24022 * math/s_casinh.c: Do not include <float.h>.
24023 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24024 * math/s_casinhf.c: Do not include <float.h>.
24025 (__casinhf): Move code for finite nonzero arguments to
24026 k_casinhf.c.
24027 * math/s_casinhl.c: Do not include <float.h>.
24028 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24029 redefine.
24030 (__casinhl): Move code for finite nonzero arguments to
24031 k_casinhl.c.
24032 * math/libm-test.inc (cacos_test): Add more tests.
24033 * sysdeps/i386/fpu/libm-test-ulps: Update.
24034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24035
2a26ef3a
PT
240362013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24037
24038 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24039 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24040 [!HAVE_MREMAP]: Remove [defined linux] case.
24041 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24042
a897655d
SP
240432013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24044
24045 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24046
881ebe89 240472013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24048
24049 * elf/elf.h (R_386_SIZE32): New relocation.
24050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24051 R_386_SIZE32.
24052 (elf_machine_rela): Likewise.
24053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24054 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24055
59981e9b
JM
240562013-01-17 Joseph Myers <joseph@codesourcery.com>
24057
24058 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24059 (FP_FAST_FMA): Do not define.
24060 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24061 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24062 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24063 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24064 !_SOFT_FLOAT]: Likewise.
24065 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24066 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24067 value.
24068 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24069 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24070 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24071 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24072 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24073 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24074 file.
24075
cfa8054f
AS
240762013-01-16 Andreas Schwab <schwab@suse.de>
24077
24078 [BZ #14327]
24079 * include/stdlib.h (__mktemp): Add declaration.
24080 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24081 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24082
dd930cc5
SP
240832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24084
881ebe89
SP
24085 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24086 definitions.
24087 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24088 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24089 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24090 definitions here.
24091 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24092 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24093 definitions.
24094 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24095 and ONE.
24096 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24097 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24099 definitions.
24100 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24101 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24102 definitions.
24103 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24104
dd930cc5
SP
24105 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24106
c19a9f89
DM
241072013-01-15 David S. Miller <davem@davemloft.net>
24108
1aa61767
DM
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24110 trunc{,f} to libm-sysdep_routes.
24111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24113 file.
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24116 file.
24117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24118 file.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24121 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24122 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24127
c42d5e98
DM
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24129 nearbyint{,f} to libm-sysdep_routes.
24130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24132 New file.
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24134 file.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24136 New file.
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24138 file.
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24142 file.
24143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24145 file.
24146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24147 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24148 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24149
c19a9f89
DM
24150 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24151 libc_feholdexcept and libc_fesetenv.
24152
357679d2
MF
241532013-01-15 Mike Frysinger <vapier@gentoo.org>
24154
24155 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24156
65a82e3d
DM
241572013-01-14 David S. Miller <davem@davemloft.net>
24158
8b954ab9
DM
24159 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24160 (SPARC_ASM_VIS2_IFUNC): Likewise.
24161 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24163 use of 'siam' instruction.
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24165 Likewise.
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24167 Likewise.
24168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24169 Likewise.
24170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24175 file.
24176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24177 file.
24178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24179 file.
24180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24181 file.
24182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24187 new VIS2 routines.
24188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24191 Likewise.
24192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24197 routines to libm-sysdep_routines.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24199
65a82e3d
DM
24200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24201 fdim/fdimf to libm-sysdep_routines.
24202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24203 file.
24204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24206 file.
24207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24210 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24211 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24212 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24213 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24214
e34ab705
SP
242152013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24216
2a91b573
SP
24217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24218 to optimize copies.
24219
1066a534
SP
24220 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24223
e34ab705
SP
24224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24225 local variable MPTWO.
24226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24227 Likewise.
24228
aba5e596
MF
242292013-01-13 Mike Frysinger <vapier@gentoo.org>
24230
24231 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24232 GLOB_NOESCAPE.
24233
e557e9e5
MF
242342013-01-13 Mike Frysinger <vapier@gentoo.org>
24235
24236 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24237
0428cec9
MF
242382013-01-13 Mike Frysinger <vapier@gentoo.org>
24239
24240 * manual/pattern.texi (glob_t): Document gl_flags.
24241 (glob64_t): Likewise.
24242
8794a964
DM
242432013-01-11 David S. Miller <davem@davemloft.net>
24244
66438c3f
RM
24245 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24246 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24247 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24248 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24249 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24250 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24251 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24252 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24253 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24254 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24255 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24256 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24258
4ae4244d
DM
24259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24260 sparc V9 rather than using V8 code.
24261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24263
8794a964
DM
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24265 Move to...
24266 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24267 Here.
24268
6270516e
RM
242692013-01-11 Roland McGrath <roland@hack.frob.com>
24270
24271 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24272 not in the main loop.
24273 * configure: Regenerated.
24274
6a57d931
JM
242752013-01-11 Joseph Myers <joseph@codesourcery.com>
24276
24277 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24278 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24279 to just #else.
24280 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24281 [!__GLIBC_HAVE_LONG_LONG] case.
24282 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24283 condition to just #else.
24284 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24285 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24286 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24287 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24288 unconditional.
24289 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24290 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24291 #elif condition to just #else.
24292 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24293 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24294 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24295 #elif condition to just #else.
24296
0e8529e9
SE
242972013-01-11 Steve Ellcey <sellcey@mips.com>
24298
24299 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24300 (EF_MIPS_ARCH_64): Fix value.
24301 (EF_MIPS_ARCH_32R2): New.
24302 (EF_MIPS_ARCH_64R2): New.
24303
740b3dbe
L
243042013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 * Makeconfig (+link-pie-before-libc): New.
24307 (+link-pie-after-libc): Likewise.
24308 (+link-pie-tests): Likewise.
24309 (+link-pie): Rewritten.
24310 (link-before-libc): Remove $(config-LDFLAGS).
24311 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24312 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24313 (config-LDFLAGS): Renamed to ...
24314 (rtld-LDFLAGS): This.
24315 (rtld-tests-LDFLAGS): New macro.
24316 (link-libc-rpath-link): Likewise.
24317 (link-libc-tests-rpath-link): Likewise.
24318 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24319 (link-libc): Prepand $(link-libc-rpath-link).
24320 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24321 (test-program-prefix): New macro.
24322 (test-via-rtld-prefix): Likewise.
24323 (test-program-cmd): Likewise.
24324 (host-test-program-cmd): Likewise.
24325 * Makefile ($(common-objpfx)testrun.sh): Replace
24326 $(run-program-prefix) with $(test-program-prefix).
24327 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24328 $(rtld-LDFLAGS).
24329 ($(common-objpfx)shlib.lds): Likewise.
24330 (build-module-helper): Likewise.
24331 ($(common-objpfx)format.lds): Likewise.
24332 * Rules (binaries-pie-tests): New.
24333 (binaries-pie-notests): Likewise.
24334 (binaries-pie): Rewritten.
24335 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24336 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24337 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24338 (make-test-out): Replace $(host-built-program-cmd) with
24339 $(host-test-program-cmd).
24340 * config.make.in (build-hardcoded-path-in-tests): New variable.
24341 * configure.in (--enable-hardcoded-path-in-tests): New configure
24342 option.
24343 (hardcoded_path_in_tests): New AC_SUBST.
24344 * configure: Regenerated.
24345 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24346 $(built-program-cmd) with $(test-program-cmd).
24347 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24348 (test_program_cmd): This.
24349 * elf/Makefile ($(objpfx)order.out): Run test with
24350 $(test-program-prefix).
24351 ($(objpfx)order2.out): Likewise.
24352 ($(objpfx)tst-initorder.out): Likewise.
24353 ($(objpfx)tst-initorder2.out): Likewise.
24354 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24355 $(test-program-cmd).
24356 ($(objpfx)tst-array1-static.out): Likewise.
24357 ($(objpfx)tst-array2.out): Likewise.
24358 ($(objpfx)tst-array3.out): Likewise.
24359 ($(objpfx)tst-array4.out): Likewise.
24360 ($(objpfx)tst-array5.out): Likewise.
24361 ($(objpfx)tst-array5-static.out): Likewise.
24362 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24363 $(test-program-cmd).
24364 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24365 $(run-program-prefix) with $(test-program-prefix).
24366 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24367 (test_program_prefix): This.
24368 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24369 $(run-program-prefix) with $(test-program-prefix).
24370 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24371 (test_program_prefix): This.
24372 * iconvdata/tst-tables.sh: Likewise.
24373 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24374 $(run-program-prefix) with $(test-program-prefix).
24375 ($(objpfx)tst-translit.out): Likewise.
24376 ($(objpfx)tst-gettext2.out): Likewise.
24377 ($(objpfx)tst-gettext4.out): Likewise.
24378 ($(objpfx)tst-gettext6.out): Likewise.
24379 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24380 (test_program_prefix): This.
24381 * intl/tst-gettext2.sh: Likewise.
24382 * intl/tst-gettext4.sh Likewise.
24383 * intl/tst-gettext6.sh: Likewise.
24384 * intl/tst-translit.sh: Likewise.
24385 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24386 with $(test-program-cmd).
24387 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24388 $(run-program-prefix) with $(test-program-prefix).
24389 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24390 (test_program_prefix): This.
24391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24392 $(run-program-prefix) with $(test-program-prefix).
24393 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24394 (test_program_prefix): This.
24395 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24396 * posix/Makefile ($(objpfx)globtest.out): Replace
24397 $(run-via-rtld-prefix) and $(test-wrapper) with
24398 $(test-program-prefix) and $(test-via-rtld-prefix).
24399 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24400 $(test-program-prefix).
24401 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24402 $(host-test-program-cmd).
24403 (tst-spawn-ARGS): Likewise.
24404 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24405 $(test-program-prefix).
24406 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24407 (test_via_rtld_prefix): This.
24408 (test_wrapper): Renamed to ...
24409 (test_program_prefix): This.
24410 (run_program_prefix): Replaced by test_program_prefix.
24411 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24412 (test_program_prefix): This.
24413 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24414 with $(host-test-program-cmd).
24415 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24416 $(run-program-prefix) with $(test-program-prefix).
24417 ($(objpfx)tst-printf.out): Likewise.
24418 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24419 $(test-program-cmd).
24420 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24421 (test_program_prefix): This.
24422 * stdio-common/tst-unbputc.sh: Likewise.
24423 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24424 $(run-program-prefix) with $(test-program-prefix).
24425 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24426 (test_program_prefix): This.
24427 * string/Makefile ($(objpfx)tst-svc.out): Replace
24428 $(built-program-cmd) with $(test-program-cmd).
24429
c6fe55cf
AJ
244302013-01-11 Andreas Jaeger <aj@suse.de>
24431
24432 [BZ #15003]
24433 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24434 value. Sync with Linux 3.7.
24435
9e6919c8
DM
244362013-01-10 David S. Miller <davem@davemloft.net>
24437
24438 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24439 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24440 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24441
1c9f1a02
RM
244422013-01-10 Roland McGrath <roland@hack.frob.com>
24443
24444 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24445 never set.
24446 * configure: Regenerated.
24447
b9de2dde
DM
244482013-01-10 David S. Miller <davem@davemloft.net>
24449
24450 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24451 sparc V9 rather than using V8 code.
24452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24454
e7f68ef4
RM
244552013-01-10 Roland McGrath <roland@hack.frob.com>
24456
24457 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24458 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24459 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24460 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24461 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24462 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24463 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24464 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24465 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24466 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24467 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24468 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24469 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24470 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24471 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24472 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24473 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24474 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24475 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24476 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24477 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24478 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24479 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24480 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24481 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24482 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24483 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24484
5a47cc9c
DM
244852013-01-10 David S. Miller <davem@davemloft.net>
24486
24487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24488
4cf8f209
L
244892013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * posix/Makefile (tests-static): New variable.
24492 (tests): Add $(tests-static).
24493 (tst-exec-static-ARGS): New variable.
24494 (tst-spawn-static-ARGS): Likewise.
24495 * posix/tst-exec-static.c: New file.
24496 * posix/tst-spawn-static.c: Likewise.
24497 * posix/tst-exec.c: Support run directly.
24498 * posix/tst-spawn.c: Likewise.
24499
fed0faa1
JM
245002013-01-10 Joseph Myers <joseph@codesourcery.com>
24501
828beb13
JM
24502 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24503 long.
24504 * math/bits/mathcalls.h (llrint): Likewise.
24505 (llround): Likewise.
24506 * stdlib/stdlib.h (struct drand48_data): Likewise.
24507 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24508 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24509 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24510 Likewise.
24511 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24512 Likewise.
24513 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24514 (elf_greg_t): Likewise.
24515 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24516 (__jmp_buf): Likewise.
24517 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24518 definitions.
24519 (llrint): Likewise, for all definitions.
24520 (llrintl): Likewise.
24521
fed0faa1
JM
24522 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24523 Remove [__GNUC__] condition.
24524 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24525 condition to just [__USE_ISOC99].
24526 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24527
1a20cb20
L
245282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24529
24530 [BZ #14200]
24531 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24532 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24533 defined.
24534 (_POSIX_V6_ILP32_OFF32): Likewise.
24535 (_XBS5_ILP32_OFF32): Likewise.
24536 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24537 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24538
751b85f7
SP
245392013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24540
7490eb81
SP
24541 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24542
751b85f7
SP
24543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24544 doubles __mpexp_twomm1. Adjust usage.
24545 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24546 Remove.
24547
988197f0
AS
245482013-01-10 Andreas Schwab <schwab@suse.de>
24549
24550 [BZ #14964]
24551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24552 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24553
e83d7298
DM
245542013-01-09 David S. Miller <davem@davemloft.net>
24555
034ed64b 24556 [BZ #15003]
57f41c40
AS
24557 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24558 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24559 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24560 (TCP_FASTOPEN): Define.
e83d7298
DM
24561 (tcp_repair_opt): New structure.
24562 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24563 enum values.
57f41c40
AS
24564 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24565 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24566 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24567 (tcp_cookie_transactions): New structure.
24568
d5e0b9bd
AB
245692013-01-09 Anton Blanchard <anton@samba.org>
24570
24571 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24572 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24574 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24575
0c07e3ea
JM
245762013-01-09 Joseph Myers <joseph@codesourcery.com>
24577
24578 * include/features.h (__USE_ANSI): Remove.
24579
232f7002
RM
245802013-01-09 Roland McGrath <roland@hack.frob.com>
24581
ad98e30c
RM
24582 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24583
232f7002
RM
24584 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24585
950c99ca
SP
245862013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24587
b5792741
SP
24588 * sysdeps/s390/fpu/libm-test-ulps: Update.
24589
47cf2278
SP
24590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24591
950c99ca
SP
24592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24593 (__acr): Likewise.
24594 (__cpy): Likewise.
24595 (norm): Likewise.
24596 (denorm): Likewise.
24597 (__mp_dbl): Likewise.
24598 (__dbl_mp): Likewise.
24599 (add_magnitudes): Likewise.
24600 (sub_magnitudes): Likewise.
24601 (__add): Likewise.
24602 (__sub): Likewise.
24603 (__mul): Likewise.
24604 (__inv): Likewise.
24605 (__dvd): Likewise.
24606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24607 (__acr): Likewise.
24608 (__cpy): Likewise.
24609 (norm): Likewise.
24610 (denorm): Likewise.
24611 (__mp_dbl): Likewise.
24612 (__dbl_mp): Likewise.
24613 (add_magnitudes): Likewise.
24614 (sub_magnitudes): Likewise.
24615 (__add): Likewise.
24616 (__sub): Likewise.
24617 (__mul): Likewise.
24618 (__inv): Likewise.
24619 (__dvd): Likewise.
24620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24621 (__acr): Likewise.
24622 (__cpy): Likewise.
24623 (norm): Likewise.
24624 (denorm): Likewise.
24625 (__mp_dbl): Likewise.
24626 (__dbl_mp): Likewise.
24627 (add_magnitudes): Likewise.
24628 (sub_magnitudes): Likewise.
24629 (__add): Likewise.
24630 (__sub): Likewise.
24631 (__mul): Likewise.
24632 (__inv): Likewise.
24633 (__dvd): Likewise.
24634
eede9df9
JM
246352013-01-08 Joseph Myers <joseph@codesourcery.com>
24636
24637 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24638 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24639 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24640 2 && __USE_EXTERN_INLINES]: Likewise.
24641
c40ea3d9
AJ
246422013-01-08 Andreas Jaeger <aj@suse.de>
24643
24644 [BZ# 14985]
24645 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24646 Remove.
24647 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24648 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24649
2ccdea26
AB
246502013-01-07 Anton Blanchard <anton@samba.org>
24651
24652 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24653 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24654 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24655 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24656 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24657 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24658 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24659 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24663 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24664 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24666 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24667 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24668 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24670 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24671 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24672 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24673 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24675 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24676 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24677 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24678 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24679 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24681 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24682 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24684 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24686 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24687 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24688 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24695
a9708fed
JM
246962013-01-07 Joseph Myers <joseph@codesourcery.com>
24697
375607b9
JM
24698 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24699 (__MALLOC_PMT): Likewise.
24700 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24701 [__GNUC__], only on [_LIBC].
24702 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24703 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24704 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24705 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24706 forward declaration.
24707 (realloc_hook_ini): Likewise.
24708 (memalign_hook_ini): Likewise.
24709 (__libc_memalign): Do not use __MALLOC_PMT in variable
24710 declaration.
24711 (__libc_valloc): Likewise.
24712 (__libc_pvalloc): Likewise.
24713 (__libc_calloc): Likewise.
24714 (__posix_memalign): Likewise.
24715
a9708fed
JM
24716 [BZ #14996]
24717 * math/s_casinh.c: Include <float.h>.
24718 (__casinh): Do not do computation with squaring and square root
24719 for large arguments.
24720 * math/s_casinhf.c: Include <float.h>.
24721 (__casinhf): Do not do computation with squaring and square root
24722 for large arguments.
24723 * math/s_casinhl.c: Include <float.h>.
24724 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24725 (__casinhl): Do not do computation with squaring and square root
24726 for large arguments.
24727 * math/libm-test.inc (casin_test): Add more tests.
24728 (casinh_test): Likewise.
24729 * sysdeps/i386/fpu/libm-test-ulps: Update.
24730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24731
afec409a
L
247322013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24733
24734 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24735 (__x86_64_raw_data_cache_size): Likewise.
24736 (__x86_64_data_cache_size_half): Likewise.
24737 (__x86_64_raw_data_cache_size_half): Likewise.
24738 (__x86_64_shared_cache_size): Likewise.
24739 (__x86_64_raw_shared_cache_size): Likewise.
24740 (__x86_64_shared_cache_size_half): Likewise.
24741 (__x86_64_raw_shared_cache_size_half): Likewise.
24742 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24743 to ...
24744 (__x86_data_cache_size): This.
24745 (__x86_64_raw_data_cache_size): Renamed to ...
24746 (__x86_raw_data_cache_size): This.
24747 (__x86_64_data_cache_size_half): Renamed to ...
24748 (__x86_data_cache_size_half): This.
24749 (__x86_64_raw_data_cache_size_half): Renamed to ...
24750 (__x86_raw_data_cache_size_half): This.
24751 (__x86_64_shared_cache_size): Renamed to ...
24752 (__x86_shared_cache_size): This.
24753 (__x86_64_raw_shared_cache_size): Renamed to ...
24754 (__x86_raw_shared_cache_size): This.
24755 (__x86_64_shared_cache_size_half): Renamed to ...
24756 (__x86_shared_cache_size_half): This.
24757 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24758 (__x86_raw_shared_cache_size_half): This.
24759 * sysdeps/x86_64/memcpy.S: Updated.
24760 * sysdeps/x86_64/memset.S: Likewise.
24761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24764
0b3986d0
DM
247652013-01-04 David S. Miller <davem@davemloft.net>
24766
24767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24768
e47686e9
AS
247692013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24770
d643bac1
AS
24771 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24772 1 to avoid redefinition warning.
24773 (__USE_GNU): Don't define.
24774 (init_signaling_nan): Protoize.
24775
e47686e9
AS
24776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24777
b18decba
SP
247782013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24779
fffb407f
SP
24780 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24782 (__cpymn): Likewise.
24783 (norm): Remove commented code.
24784 (denorm): Likewise.
24785 (__mp_dbl): Likewise.
24786 (__inv): Likewise.
24787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24788 (__cpymn): Likewise.
24789 (norm): Remove commented code.
24790 (denorm): Likewise.
24791 (__mp_dbl): Likewise.
24792 (__inv): Likewise.
24793
b18decba
SP
24794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24795 mp_no value for 1.0 and 2.0.
24796 (norm): Use RADIXI instead of radixi.d.
24797 (denorm): Likewise.
24798 (__mul): Use 0.0 instead of zero.d.
24799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24800 mp_no value for 1.0 and 2.0.
24801 (norm): Use RADIXI instead of radixi.d.
24802 (denorm): Likewise.
24803 (__mul): Use 0.0 instead of zero.d.
24804
cdc1c96f
JM
248052013-01-04 Joseph Myers <joseph@codesourcery.com>
24806
24807 [BZ #14994]
24808 * math/s_casinh.c (__casinh): Reduce finite argument to first
24809 quadrant then set signs of results at the end.
24810 * math/s_casinhf.c (__casinhf): Likewise.
24811 * math/s_casinhl.c (__casinhl): Likewise.
24812 * math/libm-test.inc (casin_test): Add more tests.
24813 (casinh_test): Likewise.
24814 * sysdeps/i386/fpu/libm-test-ulps: Update.
24815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24816
302913e1
SP
248172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24818
6420d207
SP
24819 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24820
a9e48ab4
SP
24821 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24822
b7837264
SP
24823 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24824 declarations.
24825 (denorm): Likewise.
24826 (__mp_dbl): Likewise.
24827 (__inv): Likewise.
24828
f8af25d2
SP
24829 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24830 and adjust the header comment.
24831
302913e1
SP
24832 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24833 variable name from declaration.
24834
5d7dd1ca
L
248352013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24836
24837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24838 Initialize COMMON_CPUID_INDEX_7 element.
24839 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24840 (CPUID_RTM): Likewise.
24841 (HAS_RTM): Likewise.
24842 (COMMON_CPUID_INDEX_7): New enum.
24843
2f5f40f4
AS
248442013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24845
24846 [BZ #14981]
24847 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24848 size is zero, record memory as freed.
24849
4056f4a0
AJ
248502013-01-03 Andreas Jaeger <aj@suse.de>
24851
24852 * po/ia.po: Add new Interlingua translation.
24853
ab15736f 248542012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24855
24856 * locale/programs/localedef.c: Fix description of '--posix' flag.
24857
568035b7
JM
248582013-01-02 Joseph Myers <joseph@codesourcery.com>
24859
e6898b8d
JM
24860 * NEWS: Update dates in second copyright notice.
24861 * README: Update copyright dates in example.
24862 * manual/libc.texinfo: Update copyright dates.
24863 * scripts/test-installation.pl: Update copyright date in --version
24864 output.
24865
0e2f9562
JM
24866 * hurd/ctty-input.c: Fix copyright notice formatting.
24867 * hurd/ctty-output.c: Likewise.
24868 * hurd/dtable.c: Likewise.
24869 * hurd/hurd-raise.c: Likewise.
24870 * hurd/hurdprio.c: Likewise.
24871 * hurd/msgportdemux.c: Likewise.
24872 * misc/sys/file.h: Likewise.
24873 * misc/sys/ioctl.h: Likewise.
24874 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24875 * sysdeps/mach/hurd/chdir.c: Likewise.
24876 * sysdeps/mach/hurd/fchdir.c: Likewise.
24877 * sysdeps/mach/hurd/rename.c: Likewise.
24878 * sysdeps/mach/hurd/rmdir.c: Likewise.
24879 * sysdeps/mach/hurd/seekdir.c: Likewise.
24880 * sysdeps/mach/hurd/setsid.c: Likewise.
24881 * sysdeps/posix/wait3.c: Likewise.
24882
568035b7
JM
24883 * All files with FSF copyright notices: Update copyright dates
24884 using scripts/update-copyrights.
24885 * intl/plural.c: Regenerated.
24886 * locale/programs/charmap-kw.h: Likewise.
24887 * locale/programs/locfile-kw.h: Likewise.
24888
da08f647
SP
248892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24890
0f5477af
SP
24891 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24892 four values.
24893
44e0d4c2
SP
24894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24895 calculation loop and add branch prediction.
24896
4d55b4e5
SP
24897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24898 check access beyond bounds of m1np.
24899
da08f647
SP
24900 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24901 MPTWO.
24902 (__inv): Remove local variable MPTWO to use the global
24903 constant.
24904 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24906 variable MPTWO.
24907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24908 MP3HALFS static const.
24909
8e051029
DM
249102013-01-01 David S. Miller <davem@davemloft.net>
24911
24912 * po/ca.po: Update from translation team.
24913
f4cf5f2d
JM
249142013-01-01 Joseph Myers <joseph@codesourcery.com>
24915
24916 * scripts/update-copyrights: New file.
24917 * Makeconfig: Reformat copyright notice.
24918 * ctype/ctype.h: Likewise.
24919 * debug/swprintf_chk.c: Likewise.
24920 * elf/dl-cache.c: Likewise.
24921 * elf/dl-debug.c: Likewise.
24922 * elf/dl-object.c: Likewise.
24923 * grp/initgroups.c: Likewise.
24924 * hurd/Makefile: Likewise.
24925 * hurd/hurd/signal.h: Likewise.
24926 * hurd/hurdfault.c: Likewise.
24927 * hurd/hurdioctl.c: Likewise.
24928 * hurd/hurdlookup.c: Likewise.
24929 * hurd/intr-msg.c: Likewise.
24930 * iconv/gconv_open.c: Likewise.
24931 * libio/swprintf.c: Likewise.
24932 * locale/lc-ctype.c: Likewise.
24933 * locale/nl_langinfo.c: Likewise.
24934 * mach/Machrules: Likewise.
24935 * mach/Makefile: Likewise.
24936 * malloc/obstack.h: Likewise.
24937 * manual/Makefile: Likewise.
24938 * manual/tsort.awk: Likewise.
24939 * misc/bits/stab.def: Likewise.
24940 * nis/nis_print_group_entry.c: Likewise.
24941 * nis/nis_table.c: Likewise.
24942 * nis/nss_compat/compat-pwd.c: Likewise.
24943 * nis/nss_compat/compat-spwd.c: Likewise.
24944 * po/Makefile: Likewise.
24945 * posix/fnmatch.c: Likewise.
24946 * posix/regex.h: Likewise.
24947 * resolv/Makefile: Likewise.
24948 * resolv/nss_dns/dns-network.c: Likewise.
24949 * resolv/res_hconf.c: Likewise.
24950 * scripts/gen-sorted.awk: Likewise.
24951 * soft-fp/soft-fp.h: Likewise.
24952 * stdio-common/printf.h: Likewise.
24953 * stdlib/monetary.h: Likewise.
24954 * stdlib/random.c: Likewise.
24955 * stdlib/random_r.c: Likewise.
24956 * sysdeps/generic/Makefile: Likewise.
24957 * sysdeps/gnu/Makefile: Likewise.
24958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24969 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24971 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24972 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24974 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24978 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24979 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24984 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24986 * sysdeps/mach/hurd/errnos.awk: Likewise.
24987 * sysdeps/mach/hurd/fork.c: Likewise.
24988 * sysdeps/mach/hurd/getcwd.c: Likewise.
24989 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24990 * sysdeps/mach/hurd/mmap.c: Likewise.
24991 * sysdeps/mach/hurd/utimes.c: Likewise.
24992 * sysdeps/mach/hurd/xmknod.c: Likewise.
24993 * sysdeps/posix/profil.c: Likewise.
24994 * sysdeps/posix/readdir_r.c: Likewise.
24995 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24996 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24997 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24998 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25001 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25002 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25006 * sysdeps/pthread/lio_listio.c: Likewise.
25007 * sysdeps/sparc/dl-procinfo.h: Likewise.
25008 * sysdeps/unix/i386/sysdep.S: Likewise.
25009 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25010 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25011 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25012 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25014 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25015 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25016 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25017 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25018 * sysdeps/wordsize-32/divdi3.c: Likewise.
25019 * time/sys/time.h: Likewise.
25020 * wcsmbs/Makefile: Likewise.
25021
0549fbba
DM
250222013-01-01 David S. Miller <davem@davemloft.net>
25023
a141f1a7
DM
25024 * po/fr.po: Update from translation team.
25025
0549fbba
DM
25026 * catgets/gencat.c: Update copyright year.
25027 * csu/version.c: Likewise.
25028 * debug/catchsegv.sh: Likewise.
25029 * debug/pcprofiledump.c: Likewise.
25030 * debug/xtrace.sh: Likewise.
25031 * elf/ldconfig.c: Likewise.
25032 * elf/ldd.bash.in: Likewise.
25033 * elf/pldd.c: Likewise.
25034 * elf/sotruss.ksh: Likewise.
25035 * elf/sprof.c: Likewise.
25036 * iconv/iconv_prog.c: Likewise.
25037 * iconv/iconvconfig.c: Likewise.
25038 * locale/programs/locale.c: Likewise.
25039 * locale/programs/localedef.c: Likewise.
25040 * login/programs/pt_chown.c: Likewise.
25041 * malloc/memusage.sh: Likewise.
25042 * malloc/memusagestat.c: Likewise.
25043 * malloc/mtrace.pl: Likewise.
25044 * nscd/nscd.c: Likewise.
25045 * nss/getent.c: Likewise.
25046 * nss/makedb.c: Likewise.
25047 * posix/getconf.c: Likewise.
25048
18ea052c
SP
250492012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25050
25051 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25052 numbers.
25053
9c89fca6
MF
250542012-12-30 Mike Frysinger <vapier@gentoo.org>
25055
25056 * math/bits/mathcalls.h (modf): Use __nonnull.
25057
085ec079
SP
250582012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25059
25060 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25061 (split): Use macro CN instead of the bare value.
25062 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25063 could be used.
25064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25065 instead of the bare value.
25066 (power1): Likewise.
25067
6d9f97e1
SP
250682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25069
d63f73be
SP
25070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25071 __ATAN_TWOM.
25072 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25073
6d9f97e1
SP
25074 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25075 their values.
25076 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25078 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25079 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25080
4c4febf5
AJ
250812012-12-28 Andreas Jaeger <aj@suse.de>
25082
af5843ef
AJ
25083 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25084 values are from Linux 3.7.
25085
4c4febf5
AJ
25086 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25087 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25088
99136f82
SP
250892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25090
2f216c3c 25091 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25092 TRUE case.
25093
99136f82
SP
25094 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25095 (norm): Likewise.
25096 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25097 variables with preprocessor constants.
25098 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25099 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25100 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25101
7fffbdff
BH
251022012-12-27 Bruno Haible <bruno@clisp.org>
25103
25104 [BZ #14317]
25105 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25106 only if needed.
25107
b76eb5f0
SP
251082012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25109
31a7fe5c
SP
25110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25111 and use variable directly.
25112 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25113
b76eb5f0
SP
25114 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25115 MPONE.
25116 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25118 variable MPONE.
25119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25121 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25122 include directive. Remove local variable MPONE.
25123 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25126
2c8bfe7d
DM
251272012-12-25 David S. Miller <davem@davemloft.net>
25128
25129 * version.h (RELEASE): Set to "development".
25130 (VERSION): Set to "2.17.90".
25131 * NEWS: Add 2.18 section.
25132
147d03b0
DM
251332012-12-21 David S. Miller <davem@davemloft.net>
25134
25135 * po/hr.po: Update from translation team.
25136
a8ebb2b9
AK
251372012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25138
25139 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25140
95b4f1b6
SE
251412012-12-19 Steve Ellcey <sellcey@mips.com>
25142
b2d94007 25143 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25144
cedb2a90
MS
251452012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25146
25147 * manual/contrib.texi (Contributors): Spelling correction.
25148
bbf527d6
DM
251492012-12-15 David S. Miller <davem@davemloft.net>
25150
25151 * po/ru.po: Update from translation team.
25152
bc38c906
DM
251532012-12-13 David S. Miller <davem@davemloft.net>
25154
85429b1a
DM
25155 * NEWS: Mention IFUNC testsuite enhancements.
25156
d283e353
DM
25157 * po/pl.po: Update from translation team.
25158 * po/bg.po: Likewise.
25159
bc38c906
DM
25160 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25161 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25162
a181b0d7
DM
251632012-12-11 David S. Miller <davem@davemloft.net>
25164
4641d57e
DM
25165 * po/sv.po: Update from translation team.
25166
f7bc6495
DM
25167 * po/vi.po: Update from translation team.
25168
6fc9048f
DM
25169 * po/cs.po: Update from translation team.
25170
a181b0d7
DM
25171 * po/de.po: Update from translation team.
25172 * po/eo.po: Likewise.
25173 * po/nl.po: Likewise.
25174
f70bfe80
SP
251752012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25176
3c8b4190
SP
25177 [BZ #14246]
25178 * manual/argp.texi (Argp Helper Functions): Move node to follow
25179 Argp Parsing State.
25180
f70bfe80
SP
25181 [BZ #14872]
25182 * manual/conf.texi (Limits on File System Capacity): Mention if
25183 terminating null is included in the max size.
25184
188f0adf
AJ
251852012-12-10 Andreas Jaeger <aj@suse.de>
25186
25187 * po/cs.po: Update from translation team.
25188
56e7d3ad
SP
251892012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25190
25191 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25192 void pointer and cast to uintptr_t.
25193 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25194 path.
25195 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25196 * sysdeps/s390/s390-64/memset.S: Likewise.
25197
76f2d2ea 251982012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25199
25200 [BZ #14833]
25201 * menual/message.texi (Message Translation): Fix typos.
25202 (Helper programs for gettext): Likewise.
25203
67cbf9a2
AS
252042012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25205
25206 [BZ #14898]
25207 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25208 Change to -1.
25209
682d0e9a
DM
252102012-12-07 David S. Miller <davem@davemloft.net>
25211
25212 * po/libc.pot: Update.
25213
573cd484
RH
252142012-12-07 Richard Henderson <rth@redhat.com>
25215
7e9da188 25216 [BZ #10114]
573cd484
RH
25217 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25218 normal/normal case to before the switch.
25219 (_FP_DIV): Likewise.
25220
e933a943
MF
252212012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25222 Mike Frysinger <vapier@gentoo.org>
25223
25224 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25225 check for __NR_fadvise64_64.
25226
82123268
CM
252272012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25228
25229 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25230 0, not just to plain "0" as a statement.
25231 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25232 with cw.
25233
d9814526
JM
252342012-12-06 Joseph Myers <joseph@codesourcery.com>
25235
25236 * NEWS: Use sourceware.org in Bugzilla URL.
25237
7728c574
SP
252382012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25239
f16946dd
SP
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25241 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25242
5704bbcb
SP
25243 * stdio-common/tst-put-error.c (do_test): Add newline to the
25244 padded test to ensure flush.
25245
17aa0516
JL
252462012-12-05 Jeff Law <law@redhat.com>
25247
25248 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25249
363313b5
JM
252502012-12-05 Joseph Myers <joseph@codesourcery.com>
25251
effbd42a
JM
25252 * README: Don't refer to ports add-on as distributed separately.
25253 Mention AArch64 in list of systems supported in the ports add-on.
25254
87600365
JM
25255 * LICENSES: Add more non-FSF copyright and license notices.
25256
a0d7066a
JM
25257 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25258 ((unused)).
25259
66ca5a5b
JM
25260 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25261
363313b5
JM
25262 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25263 10000 as width of padded output.
25264
b37984ad
JM
252652012-12-04 Joseph Myers <joseph@codesourcery.com>
25266
9003570a
JM
25267 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25268
b37984ad
JM
25269 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25270 variable LX with __attribute__ ((unused)).
25271 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25272 Likewise.
25273 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25276 with __attribute__ ((unused)).
25277
c8df52ec
DM
252782012-12-04 David S. Miller <davem@abraco.davemloft.net>
25279
25280 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25281
b3b099af
JM
252822012-12-04 Joseph Myers <joseph@codesourcery.com>
25283
c33aa6e3
JM
25284 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25285 (CFLAGS-nldbl-acos.c): New variable.
25286 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25287 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25288 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25289 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25290 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25291 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25292 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25293 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25294 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25295 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25296 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25297 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25298 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25299 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25300 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25301 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25302 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25303 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25304 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25305 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25306 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25307 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25308 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25309 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25310 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25311 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25312 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25313 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25314 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25315 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25316 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25317 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25318 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25319 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25320 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25321 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25322 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25323 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25324 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25325 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25326 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25327 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25328 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25329 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25330 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25331 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25332 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25333 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25334 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25335 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25336 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25337 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25338 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25339 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25340 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25341 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25342 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25343 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25344 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25345 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25346 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25347 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25348 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25349 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25350 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25351 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25352 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25353 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25354 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25355 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25356 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25357 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25358 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25359 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25360 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25361 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25362 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25363 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25364 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25365 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25366 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25367 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25368 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25369 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25370 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25371 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25372 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25373 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25374 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25375 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25376 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25377 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25378 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25379 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25380 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25381 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25382 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25383
20f0018d
JM
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25385 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25386
b3b099af
JM
25387 [BZ #14914]
25388 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25389 whole low double instead of just low 47 bits when splitting values
25390 into two parts.
25391
029264d1
AM
253922012-12-03 Allan McRae <allan@archlinux.org>
25393
25394 * manual/stdio.texi (Predefined Printf Handlers): Remove
25395 @hsep and @vsep usage.
25396
c9d6789e
MF
253972012-12-03 Mike Frysinger <vapier@gentoo.org>
25398
25399 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25400 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25401
4b7634a5
JL
254022012-12-03 Jeff Law <law@redhat.com>
25403
25404 * time/sys/time.h (settimeofday): Do not mark TV argument
25405 as __nonnull.
25406
eb6cbd24
MF
254072012-12-01 Mike Frysinger <vapier@gentoo.org>
25408
25409 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25410 when currently writing and seek to current position when not.
25411 * libio/Makefile (tests): Remove bug-fclose1.
25412 * libio/bug-fclose1.c: Delete.
25413
f638872a
JM
254142012-12-01 Joseph Myers <joseph@codesourcery.com>
25415
25416 * manual/arith.texi (feenableexcept): Fix typo.
25417 (fedisableexcept): Likewise.
25418
48085d14
RM
254192012-11-30 Roland McGrath <roland@hack.frob.com>
25420
25421 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25422 second, differently-typed declaration, rather than a cast.
25423
1a538b9f
SP
254242012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25425
25426 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25427 * include/rpc/svc.h: ... here.
25428
d07f2ff1 254292012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25430
25431 [BZ #13013]
25432 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25433 depending n and resplen2 to catch cases where answer
25434 equals answerp2.
25435
c93ec1f0
CD
254362012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25437
25438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25439 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25440
37db69de
MF
254412012-11-29 Mike Frysinger <vapier@gentoo.org>
25442
25443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25444
e10c4e4f
RM
254452012-11-29 Roland McGrath <roland@hack.frob.com>
25446
25447 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25448
2af1b328
JL
254492012-11-28 Jeff Law <law@redhat.com>
25450
25451 [BZ #13761]
25452 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25453 dataset_temporary. Track alloca usage into alloca_used.
25454 If dataset is large allocate and release it via malloc/free.
25455
111db5b1
FW
254562012-06-04 Florian Weimer <fweimer@redhat.com>
25457
f06cc227 25458 [BZ #14197]
111db5b1
FW
25459 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25460
dd694abd
DM
254612012-11-28 David S. Miller <davem@davemloft.net>
25462
25463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25464
9984dd01
JM
254652012-11-28 Joseph Myers <joseph@codesourcery.com>
25466
25467 [BZ #14803]
25468 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25469 of pi/2 rounded to nearest to 64 bits.
25470 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25471 nearest to 64 bits.
25472 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25473 bits.
25474
14bc93a9
JL
254752012-11-28 Jeff Law <law@redhat.com>
25476 Martin Osvald <mosvald@redhat.com>
25477
25478 [BZ #14889]
25479 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25480 * sunrpc/svc.c: Include time.h.
25481 (__svc_accept_failed): New function.
25482 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25483 any reason other than EINTR, call __svc_accept_failed.
25484 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25485 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25486
e3c6aa3a
AS
254872012-11-28 Andreas Schwab <schwab@suse.de>
25488
25489 * scripts/abilist.awk: Also handle indirect functions in .opd
25490 section.
25491
1bead169
JM
254922012-11-28 Joseph Myers <joseph@codesourcery.com>
25493
25494 [BZ #13881]
25495 * sysdeps/x86/fpu/powl_helper.c: New file.
25496 * sysdeps/x86/fpu/Makefile: Likewise.
25497 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25498 (p3): New object.
25499 (__ieee754_powl): Use __powl_helper for finite arguments except
25500 integer exponents below 8.
25501 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25502 (p3): New object.
25503 (__ieee754_powl): Use __powl_helper for finite arguments except
25504 integer exponents below 8.
25505 * math/libm-test.inc (pow_test): Add more tests and enable some
25506 previously disabled tests.
25507 * sysdeps/i386/fpu/libm-test-ulps: Update.
25508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25509
0817d63d
SP
255102012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25511 Carlos O'Donell <carlos_odonell@mentor.com>
25512
25513 * nss/makedb.c (is_prime): Assert that input is odd and greater
25514 than 4. Note that fact in a comment too.
25515 (next_prime): Add 4 to input.
25516
de2fd463
SP
255172012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25518
25519 [BZ #11741]
25520 * libio/Makefile (tests): Add test case tst-fwrite-error.
25521 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25522 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25523 * libio/tst-fwrite-error.c: New test case.
25524
c515fb51
L
255252012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25526
25527 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25528 before casting to void *.
25529 * include/libc-internal.h (__pointer_type): New macro.
25530 (__integer_if_pointer_type_sub): Likewise.
25531 (__integer_if_pointer_type): Likewise.
25532 (cast_to_integer): Likewise.
25533 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25534 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25535 before casting to atomic64_t.
25536 (atomic_exchange_acq): Likewise.
25537 (__arch_exchange_and_add_body): Likewise.
25538 (__arch_add_body): Likewise.
25539 (atomic_add_negative): Likewise.
25540 (atomic_add_zero): Likewise.
25541
4cf77aa9
JM
255422012-11-26 Joseph Myers <joseph@codesourcery.com>
25543
25544 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25545 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25546 (add_fdes): Likewise.
25547 (linear_search_fdes): Likewise.
25548 (binary_search_unencoded_fdes): Likewise.
25549
d260b3b4
AS
255502012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25551
25552 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25553
67060746
AC
255542012-11-24 Adam Conrad <adconrad@0c3.net>
25555
25556 * configure.in: Autodetect C++ header directories.
25557 * configure: Regenerated.
25558
800938a1
MF
255592012-11-23 Mike Frysinger <vapier@gentoo.org>
25560
25561 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25562
4e6e34e6
AS
255632012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25564
25565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25566
7c7feb47
JM
255672012-11-22 Joseph Myers <joseph@codesourcery.com>
25568
7184dcdf
JM
25569 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25570 LDBL_MANT_DIG == 106]: Disable some tests.
25571 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25572 Likewise.
25573 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25574 Likewise.
25575
0a42601f
JM
25576 [BZ #14871]
25577 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25578 input for small inputs. Return +/- pi/2 for large inputs.
25579 * math/libm-test.inc (atan_test): Add more tests.
25580
79c9b9fe
JM
25581 * sysdeps/generic/unwind-dw2-fde-glibc.c
25582 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25583 __attribute__ ((unused)).
25584
c60d3bf2
JM
25585 [BZ #14645]
25586 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25587 x * y if x and y are nonzero and z is zero.
25588
ef1e0867
JM
25589 [BZ #14811]
25590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25591 nonzero exponents with absolute value below 0x1p-117 to +/-
25592 0x1p-117.
25593
1468ded3
JM
25594 [BZ #14869]
25595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25596 up arguments below 2**-450, not just those below 2**-500.
25597 * math/libm-test.inc (hypot_test): Add another test.
25598
8e27e3cc
JM
25599 [BZ #14868]
25600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25601 Return a+b for ratio over 2**120, not 2**60.
25602 * math/libm-test.inc (hypot_test): Add another test.
25603
c9c0279b
JM
25604 * math/libm-test.inc (clog_test): Use
25605 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25606 (clog10_test): Likewise.
25607
7c7feb47
JM
25608 [BZ #6778]
25609 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25610
fff1530e
AS
256112012-11-22 Andreas Schwab <schwab@suse.de>
25612
25613 * sysdeps/i386/fpu/libm-test-ulps: Update.
25614
94558d30
PT
256152012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25616
25617 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25618 printf output with newline.
25619
7e1be741
L
256202012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25621
6bfea974
L
25622 [BZ #14865]
25623 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25624 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25625 -z nodlopen, -z initfirst and -z execstack support.
25626 * configure: Regenerated.
25627
7e1be741
L
25628 * elf/elf.h (DF_1_NODIRECT): New macro.
25629 (DF_1_IGNMULDEF): Likewise.
25630 (DF_1_NOKSYMS): Likewise.
25631 (DF_1_NOHDR): Likewise.
25632 (DF_1_EDITED): Likewise.
25633 (DF_1_NORELOC): Likewise.
25634 (DF_1_SYMINTPOSE): Likewise.
25635 (DF_1_GLOBAUDIT): Likewise.
25636 (DF_1_SINGLETON): Likewise.
25637 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25638 DT_1_SUPPORTED_MASK bits.
25639 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25640
105ce2ce
CD
256412012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25642
25643 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25644
123be9de
TS
256452012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25646
d072f3f7
TS
25647 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25648 macro.
25649
123be9de
TS
25650 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25651 (sendmmsg): Move declarations...
25652 * socket/sys/socket.h: ... here.
25653 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25654 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25655 include it from...
25656 * socket/recvmmsg.c: ... this new file.
25657 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25658 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25659 definition of __sendmmsg hidden.
25660 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25661 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25662 Move ENOSYS stub into and include it from...
25663 * socket/sendmmsg.c: ... this new file.
25664 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25665 (sysdep_routines): Move recvmmsg and sendmmsg...
25666 * socket/Makefile (routines): ... here.
25667 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25668 (GLIBC_PRIVATE): Add __sendmmsg.
25669 * include/sys/socket.h (__sendmmsg): Add declarations.
25670 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25671 sendmmsg.
25672
cf9a5d18
JM
256732012-11-20 Joseph Myers <joseph@codesourcery.com>
25674
25675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25676 variable I1 with __attribute__ ((unused)).
25677 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25678
ecd4caf9
JM
256792012-11-19 Joseph Myers <joseph@codesourcery.com>
25680
be14d48f
JM
25681 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25682 DUMMY variables with __attribute__ ((unused)).
25683
ecd4caf9
JM
25684 * bits/byteswap.h: Include <bits/types.h>.
25685 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25686
986cab95
PT
256872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25688
25689 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25690 string_t. Do not manually set errno.
25691 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25692 length with __strnlen. Make sure to both set errno and return it on
25693 failure.
25694
6d33cc9d
DM
256952012-11-19 David S. Miller <davem@davemloft.net>
25696
25697 With help from Joseph Myers.
25698 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25699 very large arguments properly.
25700 * math/libm-test.inc (atan_test): New tests.
25701 (atan2_test): New tests.
25702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25704
ee663277
JM
257052012-11-19 Joseph Myers <joseph@codesourcery.com>
25706
877f2d8e
JM
25707 [BZ #14856]
25708 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25709 Define to 3.
25710
116fc08a
JM
25711 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25712 [POSIX] (EADDRNOTAVAIL): Likewise.
25713 [POSIX] (EAFNOSUPPORT): Likewise.
25714 [POSIX] (EALREADY): Likewise.
25715 [POSIX] (ECONNABORTED): Likewise.
25716 [POSIX] (ECONNREFUSED): Likewise.
25717 [POSIX] (ECONNRESET): Likewise.
25718 [POSIX] (EDESTADDRREQ): Likewise.
25719 [POSIX] (EDQUOT): Likewise.
25720 [POSIX] (EHOSTUNREACH): Likewise.
25721 [POSIX] (EIDRM): Likewise.
25722 [POSIX] (EISCONN): Likewise.
25723 [POSIX] (ELOOP): Likewise.
25724 [POSIX] (EMULTIHOP): Likewise.
25725 [POSIX] (ENETDOWN): Likewise.
25726 [POSIX] (ENETUNREACH): Likewise.
25727 [POSIX] (ENOBUFS): Likewise.
25728 [POSIX] (ENODATA): Likewise.
25729 [POSIX] (ENOLINK): Likewise.
25730 [POSIX] (ENOMSG): Likewise.
25731 [POSIX] (ENOPROTOOPT): Likewise.
25732 [POSIX] (ENOSR): Likewise.
25733 [POSIX] (ENOSTR): Likewise.
25734 [POSIX] (ENOTCONN): Likewise.
25735 [POSIX] (ENOTSOCK): Likewise.
25736 [POSIX] (EOPNOTSUPP): Likewise.
25737 [POSIX] (EOVERFLOW): Likewise.
25738 [POSIX] (EPROTO): Likewise.
25739 [POSIX] (EPROTONOSUPPORT): Likewise.
25740 [POSIX] (EPROTOTYPE): Likewise.
25741 [POSIX] (ESTALE): Likewise.
25742 [POSIX] (ETIME): Likewise.
25743 [POSIX] (ETXTBSY): Likewise.
25744 [POSIX] (EWOULDBLOCK): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25746 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25747 [POSIX] (SEEK_CUR): Likewise.
25748 [POSIX] (SEEK_END): Likewise.
25749 [POSIX || UNIX98] (mode_t): Do not require.
25750 [POSIX] (off_t): Likewise.
25751 [POSIX] (pid_t): Likewise.
25752 [POSIX] (sys/stat.h): Do not allow header.
25753 [POSIX] (unistd.h): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25755 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25756 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25757 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25758 require.
25759 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25760 sigevent): Specify elements.
25761 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25762 entry.
25763 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25764 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25765
a483863f
JM
25766 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25767 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25768 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25769 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25770 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25771 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25772 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25773 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25774 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25775 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25776 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25777 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25778 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25779 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25780 Likewise.
25781 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25782 Likewise.
25783 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25784 Likewise.
25785 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25786 Likewise.
25787 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25788 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25789 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25790 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25791 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25792 Specify lower bound on value.
25793 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25794 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25795 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25796 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25797 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25798 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25799 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25800 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25801 value.
25802 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25803 as optional.
25804 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25805 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25806 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25807 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25808 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25809 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25810 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25811 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25812 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25813 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25814 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25815 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25816 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25817 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25818 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25819 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25820 entry.
25821 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25822 optional.
25823 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25824 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25825 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25826 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25827 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25828 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25829 Likewise.
25830 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25831 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25832 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25833 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25834 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25835 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25836 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25837 as optional.
25838 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25840 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25841 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25842 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25843 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25844 specify as optional.
25845 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25846 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25847 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25848 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25849 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25850 [XPG3] (NL_LANGMAX): Likewise.
25851 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25852 [POSIX || XPG3] (NL_NMAX): Likewise.
25853 [POSIX || XPG3] (NL_SETMAX): Likewise.
25854 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25855 [XPG3] (NZERO): Likewise.
25856 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25857 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25858 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25859 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25860 (REG_ERANGE): Expect.
25861 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25862 optional-constant.
25863 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25864 Use (void) in prototype.
25865 [POSIX] (*_t): Allow.
25866 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25867 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25868 (WRDE_BADVAL): Expect.
25869
5ba924e3
JM
25870 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25871 expect.
25872 [XPG3 || XPG4] (O_RSYNC): Likewise.
25873 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25874 Likewise.
25875 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25876 [XPG3 || XPG4] (sigqueue): Likewise.
25877 [XPG3 || XPG4] (sigtimedwait): Likewise.
25878 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25879 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25880 [XPG3 || XPG4] (vsnprintf): Likewise.
25881 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25882 Likewise.
25883 [XPG3 || XPG4] (blksize_t): Likewise.
25884 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25885 Likewise.
25886 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25887 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25888 [XPG3 || XPG4] (struct itimerspec): Likewise.
25889 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25890 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25891 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25892 [XPG3 || XPG4] (clockid_t): Likewise.
25893 [XPG3 || XPG4] (timer_t): Likewise.
25894 [XPG3 || XPG4] (clock_getres): Likewise.
25895 [XPG3 || XPG4] (clock_gettime): Likewise.
25896 [XPG3 || XPG4] (clock_settime): Likewise.
25897 [XPG3 || XPG4] (nanosleep): Likewise.
25898 [XPG3 || XPG4] (timer_create): Likewise.
25899 [XPG3 || XPG4] (timer_delete): Likewise.
25900 [XPG3 || XPG4] (timer_gettime): Likewise.
25901 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25902 [XPG3 || XPG4] (timer_settime): Likewise.
25903 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25904 [XPG3 || XPG4] (getlogin_r): Likewise.
25905 [XPG3 || XPG4] (pread): Likewise.
25906 [XPG3 || XPG4] (pthread_atfork): Likewise.
25907 [XPG3 || XPG4] (pwrite): Likewise.
25908
ee663277
JM
25909 [BZ #14835]
25910 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25911 <bits/siginfo.h>.
25912
942caa16
PT
259132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25914
e19af380
PT
25915 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25916 finalizing MALLSTREAM.
25917
942caa16
PT
25918 * sysdeps/mach/hurd/syncfs.c: New file.
25919
cfde9b46
SP
259202012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25921
25922 [BZ #14719]
25923 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25924 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25925 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25926 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25927 (_nss_dns_gethostbyname4_r): Likewise.
25928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25929 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25930
f6da27e5
PH
259312012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25932
25933 [BZ #13763]
25934 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25935
6665d4a2
SM
259362012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25937
1f51ee92
SM
25938 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25939 * elf/cache.c (print_entry): Print ",AArch64" for
25940 FLAG_AARCH64_LIB64
25941
6665d4a2
SM
25942 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25943 * elf/cache.c (print_entry): Print ",hard-float" for
25944 FLAG_ARM_LIBHF.
25945
05b227bd
DM
259462012-11-18 David S. Miller <davem@davemloft.net>
25947
25948 With help from Joseph Myers.
25949 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25950 cutoff to 2**-13.
25951 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25952 cutoff to 2**-25.
25953 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25954 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25955 small.
25956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25957 * math/libm-test.inc (y0_test): New tests.
25958 (y1_test): New tests.
25959 * sysdeps/i386/fpu/libm-test-ulps: Update.
25960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25962
786b0b67
AS
259632012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25964
25965 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25966 64-bit targets.
25967 * configure: Regenerated.
25968
8e18b86d
DM
259692012-11-17 David S. Miller <davem@davemloft.net>
25970
25971 [BZ #14811]
25972 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25973 nonzero exponents with absolute value below 0x1p-128 to +/-
25974 0x1p-128.
25975
531f1ae0
JM
259762012-11-17 Joseph Myers <joseph@codesourcery.com>
25977
12df29e2
JM
25978 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25979
150dc1a0
JM
25980 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25981
531f1ae0
JM
25982 * posix/getconf-speclist.c: New file.
25983 * posix/posix-envs.def: Likewise.
25984 * posix/confstr.c (START_ENV_GROUP): New macro.
25985 (END_ENV_GROUP): Likewise.
25986 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25987 (KNOWN_PRESENT_ENV_STRING): Likewise.
25988 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25989 (UNKNOWN_ENVIRONMENT): Likewise.
25990 (confstr): Include posix-envs.def instead of handling
25991 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25992 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25993 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25994 (END_ENV_GROUP): Likewise.
25995 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25996 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25997 (UNKNOWN_ENVIRONMENT): Likewise.
25998 (__sysconf): Include posix-envs.def instead of handling associated
25999 cases directly here.
26000 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26001 preprocessing getconf-speclist.c rather than running getconf or
26002 generating empty file.
26003
a93f9cbc
PT
260042012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26005
26006 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26007
d64d9f87
AL
260082012-11-16 Andrej Lajovic <natrij@gmail.com>
26009
26010 [BZ #14672]
26011 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26012
447885eb
DM
260132012-11-16 David S. Miller <davem@davemloft.net>
26014
26015 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26016 smaller than LDBL_EPSILON/2.0L, just return xm1.
26017
bcbf9830
L
260182012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26019
26020 * elf/tst-array1.c (init): Set constructor priority to 1000.
26021 (fini): Set destructor priority to 1000.
26022 * elf/tst-array2dep.c: Likewise.
26023
2b766585
SP
260242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26025
26026 [BZ #11741]
26027 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26028 (_IO_new_file_xsputn): Also return EOF if none of the input
26029 data was written when overflow failed.
26030 * libio/iopadn.c (_IO_padn): Likewise.
26031 * libio/iowpadn.c (_IO_wpadn): Likewise.
26032 * stdio-common/tst-put-error.c: Add copyright notice.
26033 (do_test): Add case for printing padded string.
26034 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26035 _IO_padn returned error.
26036 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26037 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26038 return EOF.
26039
b1848fde
SP
260402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26041
26042 * libio/libioP.h: Add comment note that the references to C++
26043 bits are now obsolete.
26044
2fd89785
MS
260452012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26046
26047 * math/libm-test.inc (check_complex): Use asprintf.
26048
e3ea5409
JM
260492012-11-14 Joseph Myers <joseph@codesourcery.com>
26050
26051 * debug/pcprofiledump.c (print_version): Update copyright year.
26052 * malloc/memusagestat.c (print_version): Likewise.
26053
2e64d265
L
260542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26055
26056 [BZ #14831]
26057 * elf/Makefile (tests): Add tst-audit8.
26058 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26059 ($(objpfx)tst-audit8.out): New target.
26060 (tst-audit8-ENV): New variable.
26061 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26062 audit if l_reloc_result is NULL.
26063 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26064 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26065 * elf/tst-audit8.c: New file.
26066
c485e4d2
MS
260672012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26068
26069 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26070 * misc/Makefile (CFLAGS-select.c): Define.
26071 * posix/Makefile (CFLAGS-pause.c): Define.
26072
3a0d900a
DM
260732012-11-13 David S. Miller <davem@davemloft.net>
26074
26075 * crypt/Makefile: Move test targets after toplevel Rules
26076 inclusion. Grab any necessary sysdep routines when linking.
26077 * crypt/md5.c (md5_process_block): Remove define, we will always
26078 name it __md5_process_block.
26079 (md5_finish_ctx): Update md5_process_block call.
26080 (md5_stream): Likewise.
26081 (md5_process_bytes): Likewise.
26082 (md5_process_block): Rename to __md5_process_block and move to ...
26083 * crypt/md5-block.c: ... here.
26084 * crypt/sha256.c (sha256_process_block): Move to ...
26085 * crypt/sha256-block.c: ... here.
26086 * crypt/sha512.c (sha512_process_block): Move to ...
26087 * crypt/sha512-block.c: ... here.
26088 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26089 path.
26090 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26091 * sysdeps/sparc/sparc64/multiarch/Makefile
26092 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26093 crypt subdir.
26094 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26096 multiarch changes.
26097 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26098 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26099 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26100 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26101 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26102 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26103 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26104 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26105 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26106 file.
26107 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26109 file.
26110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26111
8ca89318
JM
261122012-11-13 Joseph Myers <joseph@codesourcery.com>
26113
e27d476a
JM
26114 * timezone/tzselect.ksh: Update from tzcode git revision
26115 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26116 * timezone/zdump.c: Likewise.
26117 * timezone/zic.c: Likewise.
26118 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26119 in TZVERSION setting, not $(PKGVERSION).
26120 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26121 REPORT_BUGS_TO settings.
26122
8ca89318
JM
26123 [BZ #14838]
26124 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26125 macro.
26126
47594329
MS
261272012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26128
26129 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26130 detection to immediately after _FP_ROUND().
26131 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26132 bits are 0.
26133
640ac3f1
DM
261342012-11-11 David S. Miller <davem@davemloft.net>
26135
26136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26137 inttypes.h
26138 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26139 __close rather than their public counterparts.
26140
3d2577bb
JM
261412012-11-10 Joseph Myers <joseph@codesourcery.com>
26142
26143 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26144 file.
26145 [UNIX98] (sem_timedwait): Do not expect.
26146 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26147 [XPG4 || UNIX98] (sockatmark): Do not expect.
26148 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26149 (clock_getcpuclockid): Do not expect.
26150 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26151 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26152 Do not expect.
26153 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26154 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26155 [UNIX98] (vwscanf): Likewise.
26156 [UNIX98] (vswscanf): Likewise.
26157
fb1ae1ee
JM
261582012-11-09 Joseph Myers <joseph@codesourcery.com>
26159
9ec6f8bd
JM
26160 * timezone/version.h: Remove file.
26161 * timezone/README: Do not refer to version.h.
26162 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26163 $(objpfx)version.h.
26164 ($(objpfx)zdump.o): Likewise.
c3f81911 26165 ($(objpfx)version.h): New target.
9ec6f8bd 26166
0aa8f8a1
JM
26167 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26168 2012i.
26169 * timezone/README: Don't mention modification to tzselect.ksh.
26170 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26171 work on unmodified tzselect.ksh. Substitute version numbers in
26172 tzselect.ksh.
26173
4e87147f
JM
26174 * Makefile (format-me): Remove.
26175 (INSTALL): Adjust indentation. Use commands directly instead of
26176 using $(format-me).
26177
8b748aed
JM
26178 * aclocal.m4 (ACX_PKGVERSION): New macro.
26179 (ACX_BUGURL): Likewise.
26180 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26181 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26182 (REPORT_BUGS_TO): Likewise.
26183 * configure: Regenerated.
26184 * config.h.in (PKGVERSION): New macro.
26185 (REPORT_BUGS_TO): Likewise.
26186 * config.make.in (PKGVERSION): New variable.
26187 (PKGVERSION_TEXI): Likewise.
26188 (REPORT_BUGS_TO): Likewise.
26189 (REPORT_BUGS_TEXI): Likewise.
26190 * Makefile (format-me): Use -I$(common-objpfx)manual.
26191 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26192 ($(common-objpfx)manual/%): New target.
26193 (manual/%): Remove target.
26194 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26195 (print_version): Use PKGVERSION.
26196 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26197 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26198 and REPORT_BUGS_TO.
26199 ($(objpfx)xtrace): Likewise.
26200 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26201 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26202 (print_version): Use PKGVERSION.
26203 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26204 (do_version): Use PKGVERSION.
26205 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26206 REPORT_BUGS_TO.
26207 (common-ldd-rewrite): Likewise.
26208 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26209 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26210 (print_version): Use PKGVERSION.
26211 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26212 * elf/pldd.c (argp_program_bug_address): Remove variable.
26213 (more_help): New function.
26214 (argp): Use more_help.
26215 (print_version): Use PKGVERSION.
26216 * elf/sln.c (main): Use PKGVERSION.
26217 (usage): Use REPORT_BUGS_TO.
26218 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26219 (top level): Use PKGVERSION.
26220 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26221 (print_version): Use PKGVERSION.
26222 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26223 (print_version): Use PKGVERSION.
26224 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26225 (print_version): Use PKGVERSION.
26226 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26227 (print_version): Use PKGVERSION.
26228 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26229 (print_version): Use PKGVERSION.
26230 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26231 (print_version): Use PKGVERSION.
26232 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26233 and BUGURL.
26234 ($(objpfx)memusage): Likewise.
26235 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26236 (do_version): Use PKGVERSION.
26237 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26238 (print_version): Use PKGVERSION.
26239 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26240 ($PKGVERSION): New variable.
26241 ($REPORT_BUGS_TO): Likewise.
26242 (usage): Use $REPORT_BUGS_TO.
26243 (top level): Use $PKGVERSION.
26244 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26245 ($(objpfx)pkgvers.texi): New rule.
26246 ($(objpfx)stamp-pkgvers): Likewise.
26247 * manual/install.texi: Include pkgvers.texi.
26248 (--with-pkgversion): Document new configure option.
26249 (--with-bugurl): Likewise.
26250 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26251 than necessarily for this particular distribution. Use
26252 REPORT_BUGS_TO for where to report bugs.
26253 * INSTALL: Regenerated.
26254 * manual/libc.texinfo: Include pkgvers.texi.
26255 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26256 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26257 (print_version): Use PKGVERSION.
26258 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26259 (print_version): Use PKGVERSION.
26260 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26261 (print_version): Use PKGVERSION.
26262 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26263 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26264 macro.
26265 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26266 (print_version): Use PKGVERSION.
26267 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26268 (print_version): Use PKGVERSION.
26269 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26270 and PKGVERSION.
26271
92e4b6a9
JM
26272 * timezone/checktab.awk: Update from tzcode 2012i.
26273 * timezone/ialloc.c: Likewise.
26274 * timezone/private.h: Likewise.
26275 * timezone/scheck.c: Likewise.
26276 * timezone/tzfile.h: Likewise.
26277 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26278 (TZVERSION): Hardcode tzcode version number.
26279 * timezone/zdump.c: Update from tzcode 2012i.
26280 * timezone/zic.c: Likewise.
26281 * timezone/version.h: New file.
26282 * timezone/README: Describe version.h. Update upstream location.
26283
9bde902c
JM
26284 [BZ #14824]
26285 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26286 (mktemp): Enable declaration.
26287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26291 Likewise.
26292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26293 Likewise.
26294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26295 Likewise.
26296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26297 Likewise.
26298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26299 Likewise.
26300 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26301 Likewise.
26302
fb1ae1ee
JM
26303 [BZ #14821]
26304 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26305 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26306 for copies of such integer values.
26307 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26308 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26309
2c1adbcb
AJ
263102012-11-09 Andreas Jaeger <aj@suse.de>
26311
26312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26313 definitions and declarations that are provided by
26314 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26315
d0f8457e
AK
263162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26317
3a235abb 26318 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26319 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26320 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26321 definition.
26322
57241e26
MS
263232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26324
26325 * elf/elf.h: Update comment before AArch64 relocations.
26326
60e8270d
DM
263272012-11-07 David S. Miller <davem@davemloft.net>
26328
26329 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26330 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26331 (__start_context): Declare.
26332 (__makecontext_ret): Delete.
26333 (__makecontext): Hook up __start_context instead of
26334 __makecontext_ret.
26335 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26336 (sysdep_routines): Add __start_context when in stdlib.
26337
0fbb0fbc
JM
263382012-11-07 Joseph Myers <joseph@codesourcery.com>
26339
26340 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26341 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26342 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26343 hardcoded "nm".
26344 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26345 (READELF): New variable. Use it instead of hardcoded "readelf".
26346
eb48db7e
L
263472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26348
26349 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26350 * sysdeps/x86/Makefile: Here.
26351 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26352 * sysdeps/x86/tst-xmmymm.sh: This.
26353
05bcf62a
JM
263542012-11-07 Joseph Myers <joseph@codesourcery.com>
26355
c4b6cf53
JM
26356 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26357 expectations.
26358 [UNIX98] (pthread_barrier_t): Do not expect.
26359 [UNIX98] (pthread_barrierattr_t): Likewise.
26360 [UNIX98] (pthread_spinlock_t): Likewise.
26361 [UNIX98] (pthread_barrier_destroy): Likewise.
26362 [UNIX98] (pthread_barrier_init): Likewise.
26363 [UNIX98] (pthread_barrier_wait): Likewise.
26364 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26365 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26366 [UNIX98] (pthread_barrierattr_init): Likewise.
26367 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26368 [UNIX98] (pthread_getcpuclockid): Likewise.
26369 [UNIX98] (pthread_mutex_timedlock): Likewise.
26370 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26371 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26372 [UNIX98] (pthread_sigmask): Likewise.
26373 [UNIX98] (pthread_spin_destroy): Likewise.
26374 [UNIX98] (pthread_spin_init): Likewise.
26375 [UNIX98] (pthread_spin_lock): Likewise.
26376 [UNIX98] (pthread_spin_trylock): Likewise.
26377 [UNIX98] (pthread_spin_unlock): Likewise.
26378 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26379 Do not expect.
26380 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26381 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26382 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26383 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26384 [XPG3 || XPG4] (pthread_key_t): Likewise.
26385 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26386 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26387 [XPG3 || XPG4] (pthread_once_t): Likewise.
26388 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26389 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26390 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26391 [XPG3 || XPG4] (pthread_t): Likewise.
26392
cbe6e120
JM
26393 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26394 not expect.
26395 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26396
1b126443
JM
26397 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26398 Change function return type to int.
26399
b961a573
JM
26400 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26401 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26402 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26403 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26404 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26405 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26406 [!POSIX] (posix_madvise): Likewise.
26407 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26408 && !UNIX98].
26409 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26410 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26411 (mode_t): Likewise.
26412 (posix_mem_offset): Likewise.
26413 (posix_typed_mem_get_info): Likewise.
26414 (posix_typed_mem_open): Likewise.
26415
9e188909
JM
26416 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26417 Change condition to [XOPEN2K8].
26418
05bcf62a
JM
26419 * conform/conformtest.pl: Preprocess allow-header data with -x c
26420 instead of from stdin.
26421 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26422 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26423 [C99-based standards] (cerfc): Likewise.
26424 [C99-based standards] (cexp2): Likewise.
26425 [C99-based standards] (cexpm1): Likewise.
26426 [C99-based standards] (clog10): Likewise.
26427 [C99-based standards] (clog1p): Likewise.
26428 [C99-based standards] (clog2): Likewise.
26429 [C99-based standards] (clgamma): Likewise.
26430 [C99-based standards] (ctgamma): Likewise.
26431 [C99-based standards] (cerff): Likewise.
26432 [C99-based standards] (cerfcf): Likewise.
26433 [C99-based standards] (cexp2f): Likewise.
26434 [C99-based standards] (cexpm1f): Likewise.
26435 [C99-based standards] (clog10f): Likewise.
26436 [C99-based standards] (clog1pf): Likewise.
26437 [C99-based standards] (clog2f): Likewise.
26438 [C99-based standards] (clgammaf): Likewise.
26439 [C99-based standards] (ctgammaf): Likewise.
26440 [C99-based standards] (cerfl): Likewise.
26441 [C99-based standards] (cerfcl): Likewise.
26442 [C99-based standards] (cexp2l): Likewise.
26443 [C99-based standards] (cexpm1l): Likewise.
26444 [C99-based standards] (clog10l): Likewise.
26445 [C99-based standards] (clog1pl): Likewise.
26446 [C99-based standards] (clog2l): Likewise.
26447 [C99-based standards] (clgammal): Likewise.
26448 [C99-based standards] (ctgammal): Likewise.
26449 * conform/data/inttypes.h-data [C99-based standards]: Include
26450 stdint.h-data. Remove all expectations for stdint.h contents.
26451 [C99-based standards] (PRI*): Do not allow.
26452 [C99-based standards] (SCN*): Likewise.
26453 [C99-based standards] (*_t): Likewise.
26454 [C99-based-standards] (PRId8): Expect macro.
26455 [C99-based-standards] (PRIi8): Likewise.
26456 [C99-based-standards] (PRIo8): Likewise.
26457 [C99-based-standards] (PRIu8): Likewise.
26458 [C99-based-standards] (PRIx8): Likewise.
26459 [C99-based-standards] (PRIX8): Likewise.
26460 [C99-based-standards] (SCNd8): Likewise.
26461 [C99-based-standards] (SCNi8): Likewise.
26462 [C99-based-standards] (SCNo8): Likewise.
26463 [C99-based-standards] (SCNu8): Likewise.
26464 [C99-based-standards] (SCNx8): Likewise.
26465 [C99-based-standards] (PRIdLEAST8): Likewise.
26466 [C99-based-standards] (PRIiLEAST8): Likewise.
26467 [C99-based-standards] (PRIoLEAST8): Likewise.
26468 [C99-based-standards] (PRIuLEAST8): Likewise.
26469 [C99-based-standards] (PRIxLEAST8): Likewise.
26470 [C99-based-standards] (PRIXLEAST8): Likewise.
26471 [C99-based-standards] (SCNdLEAST8): Likewise.
26472 [C99-based-standards] (SCNiLEAST8): Likewise.
26473 [C99-based-standards] (SCNoLEAST8): Likewise.
26474 [C99-based-standards] (SCNuLEAST8): Likewise.
26475 [C99-based-standards] (SCNxLEAST8): Likewise.
26476 [C99-based-standards] (PRIdFAST8): Likewise.
26477 [C99-based-standards] (PRIiFAST8): Likewise.
26478 [C99-based-standards] (PRIoFAST8): Likewise.
26479 [C99-based-standards] (PRIuFAST8): Likewise.
26480 [C99-based-standards] (PRIxFAST8): Likewise.
26481 [C99-based-standards] (PRIXFAST8): Likewise.
26482 [C99-based-standards] (SCNdFAST8): Likewise.
26483 [C99-based-standards] (SCNiFAST8): Likewise.
26484 [C99-based-standards] (SCNoFAST8): Likewise.
26485 [C99-based-standards] (SCNuFAST8): Likewise.
26486 [C99-based-standards] (SCNxFAST8): Likewise.
26487 [C99-based-standards] (PRId16): Likewise.
26488 [C99-based-standards] (PRIi16): Likewise.
26489 [C99-based-standards] (PRIo16): Likewise.
26490 [C99-based-standards] (PRIu16): Likewise.
26491 [C99-based-standards] (PRIx16): Likewise.
26492 [C99-based-standards] (PRIX16): Likewise.
26493 [C99-based-standards] (SCNd16): Likewise.
26494 [C99-based-standards] (SCNi16): Likewise.
26495 [C99-based-standards] (SCNo16): Likewise.
26496 [C99-based-standards] (SCNu16): Likewise.
26497 [C99-based-standards] (SCNx16): Likewise.
26498 [C99-based-standards] (PRIdLEAST16): Likewise.
26499 [C99-based-standards] (PRIiLEAST16): Likewise.
26500 [C99-based-standards] (PRIoLEAST16): Likewise.
26501 [C99-based-standards] (PRIuLEAST16): Likewise.
26502 [C99-based-standards] (PRIxLEAST16): Likewise.
26503 [C99-based-standards] (PRIXLEAST16): Likewise.
26504 [C99-based-standards] (SCNdLEAST16): Likewise.
26505 [C99-based-standards] (SCNiLEAST16): Likewise.
26506 [C99-based-standards] (SCNoLEAST16): Likewise.
26507 [C99-based-standards] (SCNuLEAST16): Likewise.
26508 [C99-based-standards] (SCNxLEAST16): Likewise.
26509 [C99-based-standards] (PRIdFAST16): Likewise.
26510 [C99-based-standards] (PRIiFAST16): Likewise.
26511 [C99-based-standards] (PRIoFAST16): Likewise.
26512 [C99-based-standards] (PRIuFAST16): Likewise.
26513 [C99-based-standards] (PRIxFAST16): Likewise.
26514 [C99-based-standards] (PRIXFAST16): Likewise.
26515 [C99-based-standards] (SCNdFAST16): Likewise.
26516 [C99-based-standards] (SCNiFAST16): Likewise.
26517 [C99-based-standards] (SCNoFAST16): Likewise.
26518 [C99-based-standards] (SCNuFAST16): Likewise.
26519 [C99-based-standards] (SCNxFAST16): Likewise.
26520 [C99-based-standards] (PRId32): Likewise.
26521 [C99-based-standards] (PRIi32): Likewise.
26522 [C99-based-standards] (PRIo32): Likewise.
26523 [C99-based-standards] (PRIu32): Likewise.
26524 [C99-based-standards] (PRIx32): Likewise.
26525 [C99-based-standards] (PRIX32): Likewise.
26526 [C99-based-standards] (SCNd32): Likewise.
26527 [C99-based-standards] (SCNi32): Likewise.
26528 [C99-based-standards] (SCNo32): Likewise.
26529 [C99-based-standards] (SCNu32): Likewise.
26530 [C99-based-standards] (SCNx32): Likewise.
26531 [C99-based-standards] (PRIdLEAST32): Likewise.
26532 [C99-based-standards] (PRIiLEAST32): Likewise.
26533 [C99-based-standards] (PRIoLEAST32): Likewise.
26534 [C99-based-standards] (PRIuLEAST32): Likewise.
26535 [C99-based-standards] (PRIxLEAST32): Likewise.
26536 [C99-based-standards] (PRIXLEAST32): Likewise.
26537 [C99-based-standards] (SCNdLEAST32): Likewise.
26538 [C99-based-standards] (SCNiLEAST32): Likewise.
26539 [C99-based-standards] (SCNoLEAST32): Likewise.
26540 [C99-based-standards] (SCNuLEAST32): Likewise.
26541 [C99-based-standards] (SCNxLEAST32): Likewise.
26542 [C99-based-standards] (PRIdFAST32): Likewise.
26543 [C99-based-standards] (PRIiFAST32): Likewise.
26544 [C99-based-standards] (PRIoFAST32): Likewise.
26545 [C99-based-standards] (PRIuFAST32): Likewise.
26546 [C99-based-standards] (PRIxFAST32): Likewise.
26547 [C99-based-standards] (PRIXFAST32): Likewise.
26548 [C99-based-standards] (SCNdFAST32): Likewise.
26549 [C99-based-standards] (SCNiFAST32): Likewise.
26550 [C99-based-standards] (SCNoFAST32): Likewise.
26551 [C99-based-standards] (SCNuFAST32): Likewise.
26552 [C99-based-standards] (SCNxFAST32): Likewise.
26553 [C99-based-standards] (PRId64): Likewise.
26554 [C99-based-standards] (PRIi64): Likewise.
26555 [C99-based-standards] (PRIo64): Likewise.
26556 [C99-based-standards] (PRIu64): Likewise.
26557 [C99-based-standards] (PRIx64): Likewise.
26558 [C99-based-standards] (PRIX64): Likewise.
26559 [C99-based-standards] (SCNd64): Likewise.
26560 [C99-based-standards] (SCNi64): Likewise.
26561 [C99-based-standards] (SCNo64): Likewise.
26562 [C99-based-standards] (SCNu64): Likewise.
26563 [C99-based-standards] (SCNx64): Likewise.
26564 [C99-based-standards] (PRIdLEAST64): Likewise.
26565 [C99-based-standards] (PRIiLEAST64): Likewise.
26566 [C99-based-standards] (PRIoLEAST64): Likewise.
26567 [C99-based-standards] (PRIuLEAST64): Likewise.
26568 [C99-based-standards] (PRIxLEAST64): Likewise.
26569 [C99-based-standards] (PRIXLEAST64): Likewise.
26570 [C99-based-standards] (SCNdLEAST64): Likewise.
26571 [C99-based-standards] (SCNiLEAST64): Likewise.
26572 [C99-based-standards] (SCNoLEAST64): Likewise.
26573 [C99-based-standards] (SCNuLEAST64): Likewise.
26574 [C99-based-standards] (SCNxLEAST64): Likewise.
26575 [C99-based-standards] (PRIdFAST64): Likewise.
26576 [C99-based-standards] (PRIiFAST64): Likewise.
26577 [C99-based-standards] (PRIoFAST64): Likewise.
26578 [C99-based-standards] (PRIuFAST64): Likewise.
26579 [C99-based-standards] (PRIxFAST64): Likewise.
26580 [C99-based-standards] (PRIXFAST64): Likewise.
26581 [C99-based-standards] (SCNdFAST64): Likewise.
26582 [C99-based-standards] (SCNiFAST64): Likewise.
26583 [C99-based-standards] (SCNoFAST64): Likewise.
26584 [C99-based-standards] (SCNuFAST64): Likewise.
26585 [C99-based-standards] (SCNxFAST64): Likewise.
26586 [C99-based-standards] (PRIdMAX): Likewise.
26587 [C99-based-standards] (PRIiMAX): Likewise.
26588 [C99-based-standards] (PRIoMAX): Likewise.
26589 [C99-based-standards] (PRIuMAX): Likewise.
26590 [C99-based-standards] (PRIxMAX): Likewise.
26591 [C99-based-standards] (PRIXMAX): Likewise.
26592 [C99-based-standards] (SCNdMAX): Likewise.
26593 [C99-based-standards] (SCNiMAX): Likewise.
26594 [C99-based-standards] (SCNoMAX): Likewise.
26595 [C99-based-standards] (SCNuMAX): Likewise.
26596 [C99-based-standards] (SCNxMAX): Likewise.
26597 [C99-based-standards] (PRIdPTR): Likewise.
26598 [C99-based-standards] (PRIiPTR): Likewise.
26599 [C99-based-standards] (PRIoPTR): Likewise.
26600 [C99-based-standards] (PRIuPTR): Likewise.
26601 [C99-based-standards] (PRIxPTR): Likewise.
26602 [C99-based-standards] (PRIXPTR): Likewise.
26603 [C99-based-standards] (SCNdPTR): Likewise.
26604 [C99-based-standards] (SCNiPTR): Likewise.
26605 [C99-based-standards] (SCNoPTR): Likewise.
26606 [C99-based-standards] (SCNuPTR): Likewise.
26607 [C99-based-standards] (SCNxPTR): Likewise.
26608 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26609 allow.
26610 * conform/data/stdint.h-data: Update comments to clarify
26611 requirements.
26612 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26613 type.
26614 [C99-based standards] (INT8_MAX): Likewise.
26615 [C99-based standards] (INT16_MIN): Likewise.
26616 [C99-based standards] (INT16_MAX): Likewise.
26617 [C99-based standards] (INT32_MIN): Likewise.
26618 [C99-based standards] (INT32_MAX): Likewise.
26619 [C99-based standards] (INT64_MIN): Likewise.
26620 [C99-based standards] (INT64_MAX): Likewise.
26621 [C99-based standards] (UINT8_MAX): Likewise.
26622 [C99-based standards] (UINT16_MAX): Likewise.
26623 [C99-based standards] (UINT32_MAX): Likewise.
26624 [C99-based standards] (UINT64_MAX): Likewise.
26625 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26626 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26627 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26628 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26629 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26630 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26631 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26632 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26633 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26634 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26635 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26636 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26637 [C99-based standards] (INT_FAST8_MIN): Likewise.
26638 [C99-based standards] (INT_FAST8_MAX): Likewise.
26639 [C99-based standards] (INT_FAST16_MIN): Likewise.
26640 [C99-based standards] (INT_FAST16_MAX): Likewise.
26641 [C99-based standards] (INT_FAST32_MIN): Likewise.
26642 [C99-based standards] (INT_FAST32_MAX): Likewise.
26643 [C99-based standards] (INT_FAST64_MIN): Likewise.
26644 [C99-based standards] (INT_FAST64_MAX): Likewise.
26645 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26646 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26647 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26648 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26649 [C99-based standards] (INTPTR_MIN): Likewise.
26650 [C99-based standards] (INTPTR_MAX): Likewise.
26651 [C99-based standards] (UINTPTR_MAX): Likewise.
26652 [C99-based standards] (INTMAX_MIN): Likewise.
26653 [C99-based standards] (INTMAX_MAX): Likewise.
26654 [C99-based standards] (UINTMAX_MAX): Likewise.
26655 [C99-based standards] (PTRDIFF_MIN): Likewise.
26656 [C99-based standards] (PTRDIFF_MAX): Likewise.
26657 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26658 [C99-based standards] (SIZE_MAX): Likewise.
26659 [C99-based standards] (WCHAR_MAX): Likewise.
26660 [C99-based standards] (WINT_MAX): Likewise.
26661 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26662 constraint on value.
26663 [C99-based standards] (WCHAR_MIN): Likewise.
26664 [C99-based standards] (WINT_MIN): Likewise.
26665 [C99-based standards] (*_t): Allow.
26666 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26667 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26668 Include math.h-data and complex.h-data. Remove all expectations
26669 of math.h and complex.h contents.
26670 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26671 at end of line.
26672 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26673 (struct tm): Expect tag.
26674 [C99-based-standards] (wcstof): Expect function.
26675 [C99-based-standards] (wcstold): Likewise.
26676 [C99-based-standards] (wcstoll): Likewise.
26677 [C99-based-standards] (wcstoull): Likewise.
26678 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26679 macro-int-constant. Specify type.
26680 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26681 constraint on value.
26682 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26683 Specify type.
26684 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26685 Specify value.
26686 [ISO C standards]: Do not allow headers.
26687 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26688 wcs[abcdefghijklmnopqrstuvwxyz]*.
26689 [ISO C standards] (*_t): Do not allow.
26690 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26691 Expect function.
26692 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26693 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26694 Specify type.
26695 [ISO C standards]: Do not allow headers.
26696 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26697 is[abcdefghijklmnopqrstuvwxyz]*.
26698 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26699 to[abcdefghijklmnopqrstuvwxyz]*.
26700 [ISO C standards] (*_t): Do not allow.
26701 * conform/data/stdalign.h-data: New file.
26702 * conform/data/stdbool.h-data: Likewise.
26703 * conform/data/stdnoreturn.h-data: Likewise.
26704
7514feb8
RM
267052012-11-07 Roland McGrath <roland@hack.frob.com>
26706
26707 [BZ #14815]
26708 * manual/filesys.texi (Directory Entries): Typo fix.
26709 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26710
19b2ecfc
MS
267112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26712
26713 * elf/elf.h (EM_AARCH64): New macro.
26714 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26715 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26716 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26717 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26718 (R_AARCH64_TLSDESC): Likewise.
26719 (NT_ARM_TLS): Likewise.
26720 (NT_ARM_HW_BREAK): Likewise.
26721 (NT_ARM_HW_WATCH): Likewise.
26722
60e235ee
JM
267232012-11-07 Joseph Myers <joseph@codesourcery.com>
26724
26725 [BZ #14811]
26726 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26727 (__ieee754_powl): Saturate nonzero exponents with absolute value
26728 below 0x1p-79 to +/- 0x1p-79.
26729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26730 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26731 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26732 nonzero exponents with absolute value below 0x1p-32 to +/-
26733 0x1p-32.
26734 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26735 (__ieee754_powl): Saturate nonzero exponents with absolute value
26736 below 0x1p-79 to +/- 0x1p-79.
26737 * math/libm-test.inc (pow_test): Add more tests.
26738
0ab234b7
AK
267392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26740
26741 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26742 _dl_s390_cap_flags with kernel. Increase string length.
26743 (_dl_s390_platforms): Add z196 and zEC12.
26744
45832f74
JM
267452012-11-07 Joseph Myers <joseph@codesourcery.com>
26746
26747 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26748 Change XOPEN21K to XOPEN2K.
26749
19218757
MK
267502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26751
26752 * string/memmove.c: Use memcpy when possible.
26753
c5f45721
AJ
267542012-11-06 Andreas Jaeger <aj@suse.de>
26755
26756 * po/eo.po: Update from translation team.
26757
82477c28
JM
267582012-11-06 Joseph Myers <joseph@codesourcery.com>
26759
26760 [BZ #14793]
26761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26762 exponent and small x and y exponents, scale x or y up. Increase
26763 by 2 the exponent used in scaling up.
26764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26766 * math/libm-test.inc (fma_test): Add more tests.
26767 (fma_test_towardzero): Likewise.
26768 (fma_test_downward): Likewise.
26769 (fma_test_upward): Likewise.
26770
99252c8c
JM
267712012-11-05 Joseph Myers <joseph@codesourcery.com>
26772
acfa885f
JM
26773 [BZ #14805]
26774 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26775 fenv_t *.
26776
99252c8c
JM
26777 [BZ #14801]
26778 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26779 namespace for names of struct fields.
26780 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26781 fenv_t fields.
26782 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26783 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26784
d6d98dea
ST
267852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26786
26787 [BZ #3665]
26788 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26789
e10bb107
TS
267902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26791
26792 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26793 PTR_DEMANGLE.
26794
26795 [BZ #5246]
26796 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26797 PTR_DEMANGLE.
26798
a0c2940d
JM
267992012-11-04 Joseph Myers <joseph@codesourcery.com>
26800
26801 [BZ #14797]
26802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26803 definitely overflow as x * y not x * y + z.
26804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26806 * math/libm-test.inc (fma_test): Add more tests.
26807 (fma_test_towardzero): Likewise.
26808 (fma_test_downward): Likewise.
26809 (fma_test_upward): Likewise.
26810
b830319d
TS
268112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26812
26813 [BZ #157]
26814
26815 * include/stub-tag.h: Remove file.
26816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26817 '#include' of it.
26818 * manual/maint.texi (Porting): Don't reference it.
26819 * Makerules ($(objpfx)stubs): Likewise.
26820 * dirent/closedir.c: Don't include <stub-tag.h>.
26821 * dirent/dirfd.c: Likewise.
26822 * dirent/fdopendir.c: Likewise.
26823 * dirent/getdents.c: Likewise.
26824 * dirent/getdents64.c: Likewise.
26825 * dirent/opendir.c: Likewise.
26826 * dirent/readdir.c: Likewise.
26827 * dirent/readdir64.c: Likewise.
26828 * dirent/readdir64_r.c: Likewise.
26829 * dirent/readdir_r.c: Likewise.
26830 * dirent/rewinddir.c: Likewise.
26831 * dirent/seekdir.c: Likewise.
26832 * dirent/telldir.c: Likewise.
26833 * gmon/profil.c: Likewise.
26834 * grp/setgroups.c: Likewise.
26835 * inet/if_index.c: Likewise.
26836 * io/access.c: Likewise.
26837 * io/chdir.c: Likewise.
26838 * io/chmod.c: Likewise.
26839 * io/chown.c: Likewise.
26840 * io/close.c: Likewise.
26841 * io/dup.c: Likewise.
26842 * io/dup2.c: Likewise.
26843 * io/dup3.c: Likewise.
26844 * io/euidaccess.c: Likewise.
26845 * io/faccessat.c: Likewise.
26846 * io/fchdir.c: Likewise.
26847 * io/fchmod.c: Likewise.
26848 * io/fchmodat.c: Likewise.
26849 * io/fchown.c: Likewise.
26850 * io/fchownat.c: Likewise.
26851 * io/fcntl.c: Likewise.
26852 * io/flock.c: Likewise.
26853 * io/fstatfs.c: Likewise.
26854 * io/fstatfs64.c: Likewise.
26855 * io/fstatvfs.c: Likewise.
26856 * io/fstatvfs64.c: Likewise.
26857 * io/futimens.c: Likewise.
26858 * io/fxstat.c: Likewise.
26859 * io/fxstat64.c: Likewise.
26860 * io/fxstatat.c: Likewise.
26861 * io/fxstatat64.c: Likewise.
26862 * io/getcwd.c: Likewise.
26863 * io/isatty.c: Likewise.
26864 * io/lchmod.c: Likewise.
26865 * io/lchown.c: Likewise.
26866 * io/link.c: Likewise.
26867 * io/linkat.c: Likewise.
26868 * io/lseek.c: Likewise.
26869 * io/lseek64.c: Likewise.
26870 * io/lxstat64.c: Likewise.
26871 * io/mkdir.c: Likewise.
26872 * io/mkdirat.c: Likewise.
26873 * io/mkfifo.c: Likewise.
26874 * io/mkfifoat.c: Likewise.
26875 * io/open.c: Likewise.
26876 * io/open64.c: Likewise.
26877 * io/openat.c: Likewise.
26878 * io/openat64.c: Likewise.
26879 * io/pipe.c: Likewise.
26880 * io/pipe2.c: Likewise.
26881 * io/poll.c: Likewise.
26882 * io/posix_fadvise.c: Likewise.
26883 * io/posix_fadvise64.c: Likewise.
26884 * io/posix_fallocate.c: Likewise.
26885 * io/posix_fallocate64.c: Likewise.
26886 * io/read.c: Likewise.
26887 * io/readlink.c: Likewise.
26888 * io/readlinkat.c: Likewise.
26889 * io/rmdir.c: Likewise.
26890 * io/sendfile.c: Likewise.
26891 * io/sendfile64.c: Likewise.
26892 * io/statfs.c: Likewise.
26893 * io/statfs64.c: Likewise.
26894 * io/statvfs.c: Likewise.
26895 * io/statvfs64.c: Likewise.
26896 * io/symlink.c: Likewise.
26897 * io/symlinkat.c: Likewise.
26898 * io/ttyname.c: Likewise.
26899 * io/ttyname_r.c: Likewise.
26900 * io/umask.c: Likewise.
26901 * io/unlink.c: Likewise.
26902 * io/unlinkat.c: Likewise.
26903 * io/utime.c: Likewise.
26904 * io/utimensat.c: Likewise.
26905 * io/write.c: Likewise.
26906 * io/xmknod.c: Likewise.
26907 * io/xmknodat.c: Likewise.
26908 * io/xstat.c: Likewise.
26909 * io/xstat64.c: Likewise.
26910 * login/getpt.c: Likewise.
26911 * login/grantpt.c: Likewise.
26912 * login/unlockpt.c: Likewise.
26913 * math/e_acoshl.c: Likewise.
26914 * math/e_acosl.c: Likewise.
26915 * math/e_asinl.c: Likewise.
26916 * math/e_atan2l.c: Likewise.
26917 * math/e_atanhl.c: Likewise.
26918 * math/e_coshl.c: Likewise.
26919 * math/e_expl.c: Likewise.
26920 * math/e_fmodl.c: Likewise.
26921 * math/e_gammal_r.c: Likewise.
26922 * math/e_hypotl.c: Likewise.
26923 * math/e_j0l.c: Likewise.
26924 * math/e_j1l.c: Likewise.
26925 * math/e_jnl.c: Likewise.
26926 * math/e_lgammal_r.c: Likewise.
26927 * math/e_log10l.c: Likewise.
26928 * math/e_log2l.c: Likewise.
26929 * math/e_logl.c: Likewise.
26930 * math/e_powl.c: Likewise.
26931 * math/e_rem_pio2l.c: Likewise.
26932 * math/e_sinhl.c: Likewise.
26933 * math/e_sqrtl.c: Likewise.
26934 * math/fclrexcpt.c: Likewise.
26935 * math/fedisblxcpt.c: Likewise.
26936 * math/feenablxcpt.c: Likewise.
26937 * math/fegetenv.c: Likewise.
26938 * math/fegetexcept.c: Likewise.
26939 * math/fegetround.c: Likewise.
26940 * math/feholdexcpt.c: Likewise.
26941 * math/fesetenv.c: Likewise.
26942 * math/fesetround.c: Likewise.
26943 * math/feupdateenv.c: Likewise.
26944 * math/fgetexcptflg.c: Likewise.
26945 * math/fraiseexcpt.c: Likewise.
26946 * math/fsetexcptflg.c: Likewise.
26947 * math/ftestexcept.c: Likewise.
26948 * math/k_cosl.c: Likewise.
26949 * math/k_rem_pio2l.c: Likewise.
26950 * math/k_sinl.c: Likewise.
26951 * math/k_tanl.c: Likewise.
26952 * math/s_asinhl.c: Likewise.
26953 * math/s_atanl.c: Likewise.
26954 * math/s_cbrtl.c: Likewise.
26955 * math/s_erfl.c: Likewise.
26956 * math/s_expm1l.c: Likewise.
26957 * math/s_log1pl.c: Likewise.
26958 * math/s_tanhl.c: Likewise.
26959 * misc/acct.c: Likewise.
26960 * misc/brk.c: Likewise.
26961 * misc/chflags.c: Likewise.
26962 * misc/chroot.c: Likewise.
26963 * misc/fchflags.c: Likewise.
26964 * misc/fgetxattr.c: Likewise.
26965 * misc/flistxattr.c: Likewise.
26966 * misc/fremovexattr.c: Likewise.
26967 * misc/fsetxattr.c: Likewise.
26968 * misc/fsync.c: Likewise.
26969 * misc/ftruncate.c: Likewise.
26970 * misc/futimes.c: Likewise.
26971 * misc/futimesat.c: Likewise.
26972 * misc/getdomain.c: Likewise.
26973 * misc/getdtsz.c: Likewise.
26974 * misc/gethostid.c: Likewise.
26975 * misc/gethostname.c: Likewise.
26976 * misc/getloadavg.c: Likewise.
26977 * misc/getpagesize.c: Likewise.
26978 * misc/getsysstats.c: Likewise.
26979 * misc/getxattr.c: Likewise.
26980 * misc/gtty.c: Likewise.
26981 * misc/ioctl.c: Likewise.
26982 * misc/lgetxattr.c: Likewise.
26983 * misc/listxattr.c: Likewise.
26984 * misc/llistxattr.c: Likewise.
26985 * misc/lremovexattr.c: Likewise.
26986 * misc/lsetxattr.c: Likewise.
26987 * misc/lutimes.c: Likewise.
26988 * misc/madvise.c: Likewise.
26989 * misc/mincore.c: Likewise.
26990 * misc/mlock.c: Likewise.
26991 * misc/mlockall.c: Likewise.
26992 * misc/mmap.c: Likewise.
26993 * misc/mprotect.c: Likewise.
26994 * misc/msync.c: Likewise.
26995 * misc/munlock.c: Likewise.
26996 * misc/munlockall.c: Likewise.
26997 * misc/munmap.c: Likewise.
26998 * misc/preadv.c: Likewise.
26999 * misc/preadv64.c: Likewise.
27000 * misc/ptrace.c: Likewise.
27001 * misc/pwritev.c: Likewise.
27002 * misc/pwritev64.c: Likewise.
27003 * misc/readv.c: Likewise.
27004 * misc/reboot.c: Likewise.
27005 * misc/remap_file_pages.c: Likewise.
27006 * misc/removexattr.c: Likewise.
27007 * misc/revoke.c: Likewise.
27008 * misc/select.c: Likewise.
27009 * misc/setdomain.c: Likewise.
27010 * misc/setegid.c: Likewise.
27011 * misc/seteuid.c: Likewise.
27012 * misc/sethostid.c: Likewise.
27013 * misc/sethostname.c: Likewise.
27014 * misc/setregid.c: Likewise.
27015 * misc/setreuid.c: Likewise.
27016 * misc/setxattr.c: Likewise.
27017 * misc/sstk.c: Likewise.
27018 * misc/stty.c: Likewise.
27019 * misc/swapoff.c: Likewise.
27020 * misc/swapon.c: Likewise.
27021 * misc/sync.c: Likewise.
27022 * misc/syncfs.c: Likewise.
27023 * misc/syscall.c: Likewise.
27024 * misc/truncate.c: Likewise.
27025 * misc/ualarm.c: Likewise.
27026 * misc/usleep.c: Likewise.
27027 * misc/ustat.c: Likewise.
27028 * misc/utimes.c: Likewise.
27029 * misc/vhangup.c: Likewise.
27030 * misc/writev.c: Likewise.
27031 * posix/_exit.c: Likewise.
27032 * posix/alarm.c: Likewise.
27033 * posix/execve.c: Likewise.
27034 * posix/fexecve.c: Likewise.
27035 * posix/fork.c: Likewise.
27036 * posix/fpathconf.c: Likewise.
27037 * posix/getaddrinfo.c: Likewise.
27038 * posix/getegid.c: Likewise.
27039 * posix/geteuid.c: Likewise.
27040 * posix/getgid.c: Likewise.
27041 * posix/getgroups.c: Likewise.
27042 * posix/getlogin.c: Likewise.
27043 * posix/getlogin_r.c: Likewise.
27044 * posix/getpgid.c: Likewise.
27045 * posix/getpid.c: Likewise.
27046 * posix/getppid.c: Likewise.
27047 * posix/getresgid.c: Likewise.
27048 * posix/getresuid.c: Likewise.
27049 * posix/getsid.c: Likewise.
27050 * posix/getuid.c: Likewise.
27051 * posix/glob64.c: Likewise.
27052 * posix/nanosleep.c: Likewise.
27053 * posix/pathconf.c: Likewise.
27054 * posix/pause.c: Likewise.
27055 * posix/posix_madvise.c: Likewise.
27056 * posix/pread.c: Likewise.
27057 * posix/pread64.c: Likewise.
27058 * posix/pwrite.c: Likewise.
27059 * posix/pwrite64.c: Likewise.
27060 * posix/sched_getaffinity.c: Likewise.
27061 * posix/sched_getp.c: Likewise.
27062 * posix/sched_gets.c: Likewise.
27063 * posix/sched_primax.c: Likewise.
27064 * posix/sched_primin.c: Likewise.
27065 * posix/sched_rr_gi.c: Likewise.
27066 * posix/sched_setaffinity.c: Likewise.
27067 * posix/sched_setp.c: Likewise.
27068 * posix/sched_sets.c: Likewise.
27069 * posix/sched_yield.c: Likewise.
27070 * posix/setgid.c: Likewise.
27071 * posix/setlogin.c: Likewise.
27072 * posix/setpgid.c: Likewise.
27073 * posix/setresgid.c: Likewise.
27074 * posix/setresuid.c: Likewise.
27075 * posix/setsid.c: Likewise.
27076 * posix/setuid.c: Likewise.
27077 * posix/sleep.c: Likewise.
27078 * posix/spawni.c: Likewise.
27079 * posix/sysconf.c: Likewise.
27080 * posix/times.c: Likewise.
27081 * posix/wait.c: Likewise.
27082 * posix/wait3.c: Likewise.
27083 * posix/wait4.c: Likewise.
27084 * posix/waitpid.c: Likewise.
27085 * resolv/gai_sigqueue.c: Likewise.
27086 * resource/getpriority.c: Likewise.
27087 * resource/getrlimit.c: Likewise.
27088 * resource/getrusage.c: Likewise.
27089 * resource/nice.c: Likewise.
27090 * resource/setpriority.c: Likewise.
27091 * resource/setrlimit.c: Likewise.
27092 * resource/ulimit.c: Likewise.
27093 * rt/aio_cancel.c: Likewise.
27094 * rt/aio_fsync.c: Likewise.
27095 * rt/aio_read.c: Likewise.
27096 * rt/aio_sigqueue.c: Likewise.
27097 * rt/aio_suspend.c: Likewise.
27098 * rt/aio_write.c: Likewise.
27099 * rt/clock_getres.c: Likewise.
27100 * rt/clock_gettime.c: Likewise.
27101 * rt/clock_nanosleep.c: Likewise.
27102 * rt/clock_settime.c: Likewise.
27103 * rt/lio_listio.c: Likewise.
27104 * rt/mq_close.c: Likewise.
27105 * rt/mq_getattr.c: Likewise.
27106 * rt/mq_notify.c: Likewise.
27107 * rt/mq_open.c: Likewise.
27108 * rt/mq_receive.c: Likewise.
27109 * rt/mq_send.c: Likewise.
27110 * rt/mq_setattr.c: Likewise.
27111 * rt/mq_timedreceive.c: Likewise.
27112 * rt/mq_timedsend.c: Likewise.
27113 * rt/mq_unlink.c: Likewise.
27114 * rt/shm_open.c: Likewise.
27115 * rt/shm_unlink.c: Likewise.
27116 * rt/timer_create.c: Likewise.
27117 * rt/timer_delete.c: Likewise.
27118 * rt/timer_getoverr.c: Likewise.
27119 * rt/timer_gettime.c: Likewise.
27120 * rt/timer_settime.c: Likewise.
27121 * setjmp/__longjmp.c: Likewise.
27122 * setjmp/setjmp.c: Likewise.
27123 * signal/kill.c: Likewise.
27124 * signal/killpg.c: Likewise.
27125 * signal/raise.c: Likewise.
27126 * signal/sigaction.c: Likewise.
27127 * signal/sigaltstack.c: Likewise.
27128 * signal/sigblock.c: Likewise.
27129 * signal/sigignore.c: Likewise.
27130 * signal/sigintr.c: Likewise.
27131 * signal/signal.c: Likewise.
27132 * signal/sigpause.c: Likewise.
27133 * signal/sigpending.c: Likewise.
27134 * signal/sigqueue.c: Likewise.
27135 * signal/sigreturn.c: Likewise.
27136 * signal/sigset.c: Likewise.
27137 * signal/sigsetmask.c: Likewise.
27138 * signal/sigstack.c: Likewise.
27139 * signal/sigsuspend.c: Likewise.
27140 * signal/sigtimedwait.c: Likewise.
27141 * signal/sigvec.c: Likewise.
27142 * signal/sigwait.c: Likewise.
27143 * signal/sigwaitinfo.c: Likewise.
27144 * signal/sysv_signal.c: Likewise.
27145 * socket/accept.c: Likewise.
27146 * socket/accept4.c: Likewise.
27147 * socket/bind.c: Likewise.
27148 * socket/connect.c: Likewise.
27149 * socket/getpeername.c: Likewise.
27150 * socket/getsockname.c: Likewise.
27151 * socket/getsockopt.c: Likewise.
27152 * socket/isfdtype.c: Likewise.
27153 * socket/listen.c: Likewise.
27154 * socket/recv.c: Likewise.
27155 * socket/recvfrom.c: Likewise.
27156 * socket/recvmsg.c: Likewise.
27157 * socket/send.c: Likewise.
27158 * socket/sendmsg.c: Likewise.
27159 * socket/sendto.c: Likewise.
27160 * socket/setsockopt.c: Likewise.
27161 * socket/shutdown.c: Likewise.
27162 * socket/sockatmark.c: Likewise.
27163 * socket/socket.c: Likewise.
27164 * socket/socketpair.c: Likewise.
27165 * stdio-common/ctermid.c: Likewise.
27166 * stdio-common/cuserid.c: Likewise.
27167 * stdio-common/remove.c: Likewise.
27168 * stdio-common/rename.c: Likewise.
27169 * stdio-common/renameat.c: Likewise.
27170 * stdio-common/tempname.c: Likewise.
27171 * stdlib/getcontext.c: Likewise.
27172 * stdlib/makecontext.c: Likewise.
27173 * stdlib/setcontext.c: Likewise.
27174 * stdlib/swapcontext.c: Likewise.
27175 * stdlib/system.c: Likewise.
27176 * streams/fattach.c: Likewise.
27177 * streams/fdetach.c: Likewise.
27178 * streams/getmsg.c: Likewise.
27179 * streams/getpmsg.c: Likewise.
27180 * streams/putmsg.c: Likewise.
27181 * streams/putpmsg.c: Likewise.
27182 * sysdeps/unix/bsd/getpt.c: Likewise.
27183 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27184 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27185 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27187 Likewise.
27188 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27190 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27191 * sysvipc/msgctl.c: Likewise.
27192 * sysvipc/msgget.c: Likewise.
27193 * sysvipc/msgrcv.c: Likewise.
27194 * sysvipc/msgsnd.c: Likewise.
27195 * sysvipc/semctl.c: Likewise.
27196 * sysvipc/semget.c: Likewise.
27197 * sysvipc/semop.c: Likewise.
27198 * sysvipc/semtimedop.c: Likewise.
27199 * sysvipc/shmat.c: Likewise.
27200 * sysvipc/shmctl.c: Likewise.
27201 * sysvipc/shmdt.c: Likewise.
27202 * sysvipc/shmget.c: Likewise.
27203 * termios/tcdrain.c: Likewise.
27204 * termios/tcflow.c: Likewise.
27205 * termios/tcflush.c: Likewise.
27206 * termios/tcgetattr.c: Likewise.
27207 * termios/tcgetpgrp.c: Likewise.
27208 * termios/tcsendbrk.c: Likewise.
27209 * termios/tcsetattr.c: Likewise.
27210 * termios/tcsetpgrp.c: Likewise.
27211 * time/adjtime.c: Likewise.
27212 * time/clock.c: Likewise.
27213 * time/getitimer.c: Likewise.
27214 * time/gettimeofday.c: Likewise.
27215 * time/setitimer.c: Likewise.
27216 * time/settimeofday.c: Likewise.
27217 * time/stime.c: Likewise.
27218 * time/time.c: Likewise.
27219
272202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27221
a20492cf
PT
27222 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27223 /usr/old/bin.
27224
72e182e3
PT
27225 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27226 instead of spaces.
27227 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27228
fbeafede
JM
272292012-11-03 Joseph Myers <joseph@codesourcery.com>
27230
5b5b04d6
JM
27231 [BZ #14796]
27232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27233 FE_TONEAREST before applying Dekker multiplication and Knuth
27234 addition. Clear inexact exceptions and check for exact zero
27235 results afterwards.
27236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27237 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27239 * math/libm-test.inc (fma_test): Add more tests.
27240 (fma_test_towardzero): Likewise.
27241 (fma_test_downward): Likewise.
27242 (fma_test_upward): Likewise.
27243 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27244 function.
27245 (libc_fesetround): New macro.
27246 (libc_fesetroundf): Likewise.
27247 (libc_fesetroundl): Likewise.
27248 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27249 function.
27250 (libc_fesetround_387): Likewise.
27251 (libc_fesetroundf): New macro.
27252 (libc_fesetround): Likewise.
27253 (libc_fesetroundl): Likewise.
27254 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27255 function.
27256 (libc_fesetroundf): New macro.
27257 (libc_fesetround): Likewise.
27258 (libc_fesetroundl): Likewise.
27259 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27260 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27261 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27262 libm_hidden_ver.
27263 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27264 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27265 libm_hidden_def.
27266 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27267 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27268 libm_hidden_ver.
27269 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27270 libm_hidden_def.
27271
fbeafede
JM
27272 [BZ #3439]
27273 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27274 integer constant usable in #if and use that to give value to enum
27275 constant.
27276 (FE_DIVBYZERO): Likewise.
27277 (FE_UNDERFLOW): Likewise.
27278 (FE_OVERFLOW): Likewise.
27279 (FE_INVALID): Likewise.
27280 (FE_INVALID_SNAN): Likewise.
27281 (FE_INVALID_ISI): Likewise.
27282 (FE_INVALID_IDI): Likewise.
27283 (FE_INVALID_ZDZ): Likewise.
27284 (FE_INVALID_IMZ): Likewise.
27285 (FE_INVALID_COMPARE): Likewise.
27286 (FE_INVALID_SOFTWARE): Likewise.
27287 (FE_INVALID_SQRT): Likewise.
27288 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27289 (FE_TONEAREST): Likewise.
27290 (FE_TOWARDZERO): Likewise.
27291 (FE_UPWARD): Likewise.
27292 (FE_DOWNWARD): Likewise.
27293 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27294 (FE_DIVBYZERO): Likewise.
27295 (FE_OVERFLOW): Likewise.
27296 (FE_UNDERFLOW): Likewise.
27297 (FE_INEXACT): Likewise.
27298 (FE_TONEAREST): Likewise.
27299 (FE_DOWNWARD): Likewise.
27300 (FE_UPWARD): Likewise.
27301 (FE_TOWARDZERO): Likewise.
27302 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27303 (FE_UNDERFLOW): Likewise.
27304 (FE_OVERFLOW): Likewise.
27305 (FE_DIVBYZERO): Likewise.
27306 (FE_INVALID): Likewise.
27307 (FE_TONEAREST): Likewise.
27308 (FE_TOWARDZERO): Likewise.
27309 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27310 (FE_OVERFLOW): Likewise.
27311 (FE_UNDERFLOW): Likewise.
27312 (FE_DIVBYZERO): Likewise.
27313 (FE_INEXACT): Likewise.
27314 (FE_TONEAREST): Likewise.
27315 (FE_TOWARDZERO): Likewise.
27316 (FE_UPWARD): Likewise.
27317 (FE_DOWNWARD): Likewise.
27318 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27319 (FE_DIVBYZERO): Likewise.
27320 (FE_OVERFLOW): Likewise.
27321 (FE_UNDERFLOW): Likewise.
27322 (FE_INEXACT): Likewise.
27323 (FE_TONEAREST): Likewise.
27324 (FE_DOWNWARD): Likewise.
27325 (FE_UPWARD): Likewise.
27326 (FE_TOWARDZERO): Likewise.
27327
105ca950
CM
273282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27329
27330 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27331
a542b389
AS
273322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27333
27334 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27335 commands. Quote $PWD.
27336 (blacklist_exports): Don't use remove_newlines. Replace "declare
27337 -x" by "export".
27338 (remove_newlines): Remove.
27339
f62c8abc
L
273402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27341
27342 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27343 * stdlib/stdlib.h (atof): Moved to ...
27344 * include/bits/stdlib-float.h: Here. New file.
27345 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27346 * stdlib/bits/stdlib-float.h: New file.
27347 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27348 -mno-sse -mno-mmx.
27349 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27350 <xmmintrin.h>.
27351
0155d5b2
JM
273522012-11-02 Joseph Myers <joseph@codesourcery.com>
27353
a68d0680
JM
27354 * conform/conformtest.pl (@headers): Add fenv.h.
27355 * conform/data/fenv.h-data: New file.
27356 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27357 include of <math/fenv.h>.
27358
caf7f573
JM
27359 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27360 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27361 && !UNIX98]. Enables tests for XOPEN2K8.
27362 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27363 POSIX2008]: Likewise.
27364
6c073ad6
JM
27365 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27366 (struct rusage): Do not expect type or its members.
27367
0155d5b2
JM
27368 [BZ #3439]
27369 * math/math.h (FP_NAN): Define macro to integer constant usable in
27370 #if and use that to give value to enum constant.
27371 (FP_INFINITE): Likewise.
27372 (FP_ZERO): Likewise.
27373 (FP_SUBNORMAL): Likewise.
27374 (FP_NORMAL): Likewise.
27375
b5dcacb4
AS
273762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27377
27378 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27379 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27380 arguments.
27381
f7934be8
RM
273822012-11-02 Roland McGrath <roland@hack.frob.com>
27383
27384 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27385 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27386 autoconf-time if not.
27387 * configure.in: Remove AC_PREREQ.
27388
d7d08bde
TMQMF
273892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27390
27391 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27392 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27393 of the internal implementation.
27394
dcdae19a
JM
273952012-11-02 Joseph Myers <joseph@codesourcery.com>
27396
27397 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27398 except include of <misc/sys/syslog.h>.
27399
d6cffd3e
AS
274002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27401
27402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27403 function returns with a NULL context exit with zero.
27404
b3563932
TMQMF
274052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27406
27407 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27408
b288a93d
L
274092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27410
27411 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27412 (run_program_cmd): This.
27413 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27414 (tst_langinfo): New variable. Use it.
27415
a2421a68
SAS
274162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27417
27418 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27419 floating point opcodes.
27420
6f796e1b
TS
274212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27422
7402596b
TS
27423 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27424 variable.
27425
d0d4f868
TS
27426 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27427
6f796e1b
TS
27428 * sysdeps/mach/hurd/powerpc: Remove directory.
27429 * sysdeps/mach/powerpc: Likewise.
27430
4da224a2
AS
274312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27432
27433 * scripts/check-local-headers.sh: Ignore c++ headers.
27434
341dd673
TS
274352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27436
27437 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27438 __libc_cleanup_region_start argument.
27439
473611b2
JM
274402012-11-01 Joseph Myers <joseph@codesourcery.com>
27441
27442 [BZ #14784]
27443 [BZ #14785]
27444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27445 x * y using scaling, not as x * y + z.
27446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27448 * math/libm-test.inc (fma_test): Add more tests.
27449 (fma_test_towardzero): Likewise.
27450 (fma_test_downward): Likewise.
27451 (fma_test_upward): Likewise.
27452
4078da3d
TS
274532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27454
27455 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27456
903252aa
JM
274572012-10-31 Joseph Myers <joseph@codesourcery.com>
27458
27459 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27460 New variable.
27461
cbc818d0
TS
274622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27463
27464 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27465
5a03cb1e
AS
274662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27467
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27469 Fix sort order.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27471 Likewise.
27472
90aff2ff
TMQMF
274732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27474
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27476 Fix the order of the list for glibc 2.17.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27478 Likewise.
27479
1818fcb7
AS
274802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27481
27482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27483
ef82f4da
JM
274842012-10-31 Joseph Myers <joseph@codesourcery.com>
27485
16a0e2ec
JM
27486 [BZ #14610]
27487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27488 for low part of x being zero before using __atanl (y).
27489 * math/libm-test.inc (atan2_test): Add another test.
27490
0eb69512
JM
27491 * manual/install.texi (Configuring and compiling): Document
27492 general use of test-wrapper and test-wrapper-env.
27493 * INSTALL: Regenerated.
27494
ef82f4da
JM
27495 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27496 (__fma): Do not extract and scale down low bits on after-rounding
27497 systems when result rounded to normal precision would have normal
27498 exponent.
27499 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27500 (__fmal): Do not extract and scale down low bits on after-rounding
27501 systems when result rounded to normal precision would have normal
27502 exponent.
27503 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27504 (__fmal): Do not extract and scale down low bits on after-rounding
27505 systems when result rounded to normal precision would have normal
27506 exponent.
27507 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27508 macro.
27509 (fma_test): Add more tests.
27510 (fma_test_towardzero): Likewise.
27511 (fma_test_downward): Likewise.
27512 (fma_test_upward): Likewise.
27513
954ef0d9
L
275142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27515
27516 * sysdeps/i386/tininess.h: Renamed to ...
27517 * sysdeps/x86/tininess.h: This.
27518 * sysdeps/x86_64/tininess.h: Removed.
27519
df61ffb2
JM
275202012-10-30 Joseph Myers <joseph@codesourcery.com>
27521
27522 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27523 input. Use $(build-program-cmd).
27524 ($(objpfx)tst-array1-static.out): Likewise.
27525 ($(objpfx)tst-array2.out): Likewise.
27526 ($(objpfx)tst-array3.out): Likewise.
27527 ($(objpfx)tst-array4.out): Likewise.
27528 ($(objpfx)tst-array5.out): Likewise.
27529 ($(objpfx)tst-array5-static.out): Likewise.
27530
01767843
CM
275312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27532
47cc1490
CM
27533 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27534 if defined.
27535
01767843
CM
27536 * nss/nsswitch.h (nss_interface_function): Provide new
27537 macro for use with NSS functions.
27538 * grp/initgroups.c: Use new macro.
27539 * nss/getXXbyYY.c: Likewise.
27540 * nss/getXXbyYY_r.c: Likewise.
27541 * nss/getXXent.c: Likewise.
27542 * nss/getXXent_r.c: Likewise.
27543 * sysdeps/posix/getaddrinfo.c: Likewise.
27544
8321aa97
AJ
275452012-10-30 Andreas Jaeger <aj@suse.de>
27546
27547 * po/ru.po: Update Russion translation from translation project.
27548
2a27fd6d
JM
275492012-10-30 Joseph Myers <joseph@codesourcery.com>
27550
8627a232
JM
27551 [BZ #14152]
27552 [BZ #14783]
27553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27554 result and shift together with sticky bit instead of replicating
27555 round-to-nearest rounding.
27556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27558 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27559 missing underflow exceptions.
27560 (fma_test_towardzero): Add more tests.
27561 (fma_test_downward): Likewise.
27562 (fma_test_upward): Likewise.
27563
2a27fd6d
JM
27564 [BZ #14047]
27565 * sysdeps/generic/tininess.h: New file.
27566 * sysdeps/i386/tininess.h: Likewise.
27567 * sysdeps/sh/tininess.h: Likewise.
27568 * sysdeps/x86_64/tininess.h: Likewise.
27569 * stdlib/tst-strtod-underflow.c: Likewise.
27570 * stdlib/tst-tininess.c: Likewise.
27571 * stdlib/strtod_l.c: Include <tininess.h>.
27572 (round_and_return): Do not set errno for exact underflow cases.
27573 Force an underflow exception when setting errno for underflow.
27574 Determine underflow based on rounding to normal precision if
27575 TININESS_AFTER_ROUNDING.
27576 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27577 ERANGE for exact underflow cases.
27578 * stdlib/Makefile (tests): Add tst-tininess and
27579 tst-strtod-underflow.
27580 ($(objpfx)tst-tininess): Use $(link-libm).
27581 ($(objpfx)tst-strtod-underflow): Likewise.
27582
e7170363
AJ
275832012-10-30 Andreas Jaeger <aj@suse.de>
27584
e5088dc6
AJ
27585 [BZ#14767]
27586 * elf/Makefile (tests): Remove conditional for have-initfini-array
27587 since this is now always required and the variable does not exist
27588 anymore.
27589 (tests-static): Likewise.
27590 (modules-names): Likewise.
27591
e7170363 27592 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27593
27594 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27595 merged with constructor/destructor.
27596 (init_array): Likewise.
27597 * elf/tst-array2dep.c (fini_array): Likewise.
27598 (init_array): Likewise.
27599
60457d8a
MF
276002012-10-29 Mike Frysinger <vapier@gentoo.org>
27601
27602 * manual/message.texi: Delete @cartouche tags.
27603
8bece752
PT
276042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27605
94ce799f
PT
27606 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27607 EOPNOTSUPP.
27608 * sysdeps/mach/hurd/fsync.c: Likewise.
27609
8bece752
PT
27610 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27611 [_POSIX_REALTIME_SIGNALS]: Change condition to
27612 [_POSIX_REALTIME_SIGNALS > 0].
27613
86ebe6b1
AJ
276142012-10-27 Andreas Jaeger <aj@suse.de>
27615
27616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27617 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27619 [__WORDSIZE != 64]: Likewise.
27620
54399c08
L
276212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27622
27623 * iconvdata/tst-table.sh: Remove ${SHELL}.
27624 * iconvdata/tst-tables.sh: Likewise.
27625
e2211bed
DM
276262012-10-25 David S. Miller <davem@davemloft.net>
27627
27628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27629 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27630 of strtoull.
27631
f303f97c
DM
27632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27633 ifunc-impl-list.c
27634 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27635 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27636 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27637 file.
27638
1e9d84cd
RM
276392012-10-25 Roland McGrath <roland@hack.frob.com>
27640
27641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27642 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27643 __getdirentries.
27644
df381762
JM
276452012-10-25 Joseph Myers <joseph@codesourcery.com>
27646 Jim Blandy <jimb@codesourcery.com>
27647
27648 * scripts/cross-test-ssh.sh: New file.
27649 * manual/install.texi (Configuring and compiling): Document use of
27650 cross-test-ssh.sh.
27651 * INSTALL: Regenerated.
27652
bff64913
PT
276532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27654
27655 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27656 EOPNOTSUPP.
27657
25fe8932
JM
276582012-10-25 Joseph Myers <joseph@codesourcery.com>
27659
27660 * Makeconfig (run-program-prefix): Fix comment.
27661
cc1290d0
JM
276622012-10-24 Joseph Myers <joseph@codesourcery.com>
27663 Jim Blandy <jimb@codesourcery.com>
27664
27665 * Makeconfig (test-wrapper): New variable,
27666 (test-wrapper-env): Likewise.
27667 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27668 (run-built-tests): Define to yes.
27669 (run-program-prefix): Use $(test-wrapper).
27670 (built-program-cmd): Likewise.
27671 * Rules (make-test-out): Use $(test-wrapper-env) and
27672 $(host-built-program-cmd).
27673 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27674 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27675 tst-pathopt.sh.
27676 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27677 $(test-wrapper-env) to tst-rtld-load-self.sh.
27678 ($(objpfx)order2.out): Use $(test-wrapper).
27679 ($(objpfx)tst-initorder.out): Likewise.
27680 ($(objpfx)tst-initorder2.out): Likewise.
27681 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27682 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27683 (test_wrapper_env): New variable. Use it to run ld.so.
27684 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27685 Use it to run ld.so.
27686 (test_wrapper_env): Likewise.
27687 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27688 $(test-wrapper) to run-iconv-test.sh.
27689 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27690 (ICONV): Use $test_wrapper.
27691 * posix/Makefile ($(objpfx)globtest.out): Pass
27692 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27693 globtest.sh, not $(run-program-prefix).
27694 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27695 (test_wrapper): Likewise.
27696 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27697 set together with run_via_rtld_prefix.
27698 (run_program_prefix): Define in terms of test_wrapper and
27699 run_via_rtld_prefix.
27700
6e6249d0
RM
277012012-10-24 Roland McGrath <roland@hack.frob.com>
27702
27703 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27704 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27705 Targets removed.
27706
27707 [BZ #14743]
27708 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27709 Declare __clock_getres, __clock_gettime, __clock_settime,
27710 __clock_nanosleep, and __clock_getcpuclockid.
27711 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27712 Remove librt_hidden_def (clock_gettime).
27713 * sysdeps/unix/clock_gettime.c: Likewise.
27714 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27716 * rt/clock_getres.c: Define __clock_getres as an alias.
27717 * sysdeps/posix/clock_getres.c: Likewise.
27718 * rt/clock_settime.c: Define __clock_settime as an alias.
27719 * sysdeps/unix/clock_settime.c: Likewise.
27720 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27721 * sysdeps/unix/clock_nanosleep.c: Likewise.
27722 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27723 * rt/clock-compat.c: New file.
27724 * rt/Makefile (librt-routines): Add clock-compat and move
27725 $(clock-routines) to ...
27726 (routines): ... here, new variable.
27727 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27728 Don't add get_clockfreq here.
27729 * rt/Versions (libc: GLIBC_2.17): New version set.
27730 Add clock_* symbols here.
27731 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27733 (GLIBC_2.17): Add clock_* symbols.
27734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27736 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27738 Likewise.
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27740 Likewise.
27741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27745 * NEWS: Mention the move.
27746
27747 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27748 Use __open, __read, __close rather than their public counterparts.
27749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27750 (__get_clockfreq_via_cpuinfo): Likewise.
27751 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27752 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27753
27754 * config.h.in (HAVE_IFUNC): New #undef.
27755 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27756 was successful.
27757 * configure: Regenerated.
27758
0cae3f4b
MF
277592012-10-24 Mike Frysinger <vapier@gentoo.org>
27760
27761 * configure.in: Move READELF check to start of file.
27762 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27763 libc_cv_asm_gnu_indirect_function in the process.
27764 * configure: Regenerated.
27765
8175a253
MF
277662012-10-24 Mike Frysinger <vapier@gentoo.org>
27767
27768 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27769 send the output to /dev/null.
27770 (libc_cv_cc_with_libunwind): Likewise.
27771 (libc_cv_as_noexecstack): Likewise.
27772 * configure: Regenerate.
27773
0708a7d1
JM
277742012-10-24 Joseph Myers <joseph@codesourcery.com>
27775
10b40d85
JM
27776 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27777
0708a7d1
JM
27778 * posix/globtest.sh (TMPDIR): Do not set.
27779 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27780 (testout): Likewise.
27781
9fddec1a
AJ
277822012-10-24 Andreas Jaeger <aj@suse.de>
27783
3a8db22f
AJ
27784 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27785 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27786 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27787 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27788 posix_fadvise64, posix_fallocate64.
27789
9fddec1a
AJ
27790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27791 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27792 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27793 Likewise.
27794 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27795 Likewise.
27796 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27797
27798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27799 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27800 <bits/fcntl-linux.h>.
27801 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27802
27803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27804 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27805 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27806 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27807 [__WORDSIZE != 64]: Likewise.
27808
ebfd1bbd
JM
278092012-10-23 Joseph Myers <joseph@codesourcery.com>
27810
03ac099f
JM
27811 * Makeconfig (run-built-tests): New variable.
27812 * Rules [$(cross-compiling) = yes]: Change condition to
27813 [$(run-built-tests) = no].
27814 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27815 to [$(run-built-tests) = yes].
27816 * elf/Makefile [$(cross-compiling) = no]: Likewise
27817 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27818 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27819 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27820 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27821 * io/Makefile [$(cross-compiling) = no]: Likewise.
27822 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27823 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27824 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27825 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27826 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27827 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27828 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27829 * string/Makefile [$(cross-compiling) = no]: Likewise.
27830
ebfd1bbd
JM
27831 * posix/Makefile ($(objpfx)globtest.out): Pass
27832 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27833 $(rtld-installed-name).
27834 * posix/globtest.sh (elf_objpfx): Remove variable.
27835 (rtld_installed_name): Likewise.
27836 (library_path): Likewise.
27837 (run_program_prefix): New variable. Use for running globtest
27838 binary.
27839
166bca24
JB
278402012-10-23 Jim Blandy <jimb@codesourcery.com>
27841 Joseph Myers <joseph@codesourcery.com>
27842
27843 * Makeconfig (host-built-program-cmd): New variable.
27844 * elf/Makefile (tst-stackguard1-ARGS): Use
27845 $(host-built-program-cmd).
27846 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27847 (tst-spawn-ARGS): Likewise.
27848 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27849
88866099
JM
278502012-10-23 Joseph Myers <joseph@codesourcery.com>
27851 Jim Blandy <jimb@codesourcery.com>
27852
27853 * Makeconfig (run-via-rtld-prefix): New variable.
27854 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27855 (built-program-cmd): Likewise.
27856
b4b4c296
AJ
278572012-10-22 Andreas Jaeger <aj@suse.de>
27858
27859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27860 __O_RSYNC if it exists, otherwise to O_SYNC.
27861
6fb54a22
JB
278622012-10-22 Jim Blandy <jimb@codesourcery.com>
27863 Joseph Myers <joseph@codesourcery.com>
27864
27865 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27866 /dev/null.
27867 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27868 from /dev/null
27869 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27870 /dev/null.
27871
481b90b9
AJ
278722012-10-22 Andreas Jaeger <aj@suse.de>
27873
2a0e2669
AJ
27874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27875 Define always.
27876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27877
76e38f9a
AJ
27878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27879 bits/fcntl-linux.h.
27880
7cd37b43
AJ
27881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27882 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27883
481b90b9
AJ
27884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27885 to __O_LARGEFILE.
27886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27887 to __O_LARGEFILE.
27888
aba75984
JB
278892012-10-21 Jim Blandy <jimb@codesourcery.com>
27890 Joseph Myers <joseph@codesourcery.com>
27891
27892 * config.make.in (NM): New variable.
27893
88d4247f
AJ
278942012-10-21 Andreas Jaeger <aj@suse.de>
27895
27896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27897 definitions and declarations that are provided by
27898 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27899
f2eed205
L
279002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27901
27902 [BZ #14683]
27903 * elf/Makefile (tests-static): Add tst-leaks1-static.
27904 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27905 ($(objpfx)tst-leaks1-static): New rule.
27906 ($(objpfx)tst-leaks1-static-mem): Likewise.
27907 (tst-leaks1-static-ENV): New macro.
27908 * elf/dl-open.c (dl_open_worker): Check the main application
27909 only if SHARED is defined.
27910 * elf/tst-leaks1-static.c: New file.
27911
335e6931
AJ
279122012-10-20 Andreas Jaeger <aj@suse.de>
27913
27914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27915 generic values for Linux.
27916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27917 and declarations that are provided by <bits/fcntl-linux.h> and
27918 include <bits/fcntl-linux.h>.
27919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27921
ac5c94d3
RM
279222012-10-20 Roland McGrath <roland@hack.frob.com>
27923
27924 * io/fcntl.h: Move include of <bits/types.h> to the top and
27925 include it unconditionally.
27926
de54b33a
L
279272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27928
228cfb01
L
27929 * wcsmbs/Makefile (tests-ifunc): New variable.
27930 (tests): Add $(tests-ifunc).
27931 * wcsmbs/test-wcschr-ifunc.c: New file.
27932 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27933 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27934 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27935 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27936 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27937
69f07e5f
L
27938 * string/Makefile (tests-ifunc): New variable.
27939 (tests): Add $(tests-ifunc).
27940 * string/test-memccpy.c (TEST_NAME): New macro.
27941 * string/test-memchr.c (TEST_NAME): Likewise.
27942 * string/test-memcmp.c (TEST_NAME): Likewise.
27943 * string/test-memcpy.c (TEST_NAME): Likewise.
27944 * string/test-memmem.c (TEST_NAME): Likewise.
27945 * string/test-memmove.c (TEST_NAME): Likewise.
27946 * string/test-memset.c (TEST_NAME): Likewise.
27947 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27948 * string/test-stpcpy.c (TEST_NAME): Likewise.
27949 * string/test-stpncpy.c (TEST_NAME): Likewise.
27950 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27951 * string/test-strcasestr.c (TEST_NAME): Likewise.
27952 * string/test-strcat.c (TEST_NAME): Likewise.
27953 * string/test-strchr.c (TEST_NAME): Likewise.
27954 * string/test-strcmp.c(TEST_NAME): Likewise.
27955 * string/test-strcpy.c (TEST_NAME): Likewise.
27956 * string/test-strcspn.c (TEST_NAME): Likewise.
27957 * string/test-strlen.c (TEST_NAME): Likewise.
27958 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27959 * string/test-strncmp.c (TEST_NAME): Likewise.
27960 * string/test-strncpy.c (TEST_NAME): Likewise.
27961 * string/test-strnlen.c (TEST_NAME): Likewise.
27962 * string/test-strpbrk.c (TEST_NAME): Likewise.
27963 * string/test-strrchr.c (TEST_NAME): Likewise.
27964 * string/test-strspn.c (TEST_NAME): Likewise.
27965 * string/test-strstr.c (TEST_NAME): Likewise.
27966 * string/test-bcopy-ifunc.c: New file.
27967 * string/test-bzero-ifunc.c: Likewise.
27968 * string/test-memccpy-ifunc.c: Likewise.
27969 * string/test-memchr-ifunc.c: Likewise.
27970 * string/test-memcmp-ifunc.c: Likewise.
27971 * string/test-memcpy-ifunc.c: Likewise.
27972 * string/test-memmem-ifunc.c: Likewise.
27973 * string/test-memmove-ifunc.c: Likewise.
27974 * string/test-mempcpy-ifunc.c: Likewise.
27975 * string/test-memset-ifunc.c: Likewise.
27976 * string/test-rawmemchr-ifunc.c: Likewise.
27977 * string/test-stpcpy-ifunc.c: Likewise.
27978 * string/test-stpncpy-ifunc.c: Likewise.
27979 * string/test-strcasecmp-ifunc.c: Likewise.
27980 * string/test-strcasestr-ifunc.c: Likewise.
27981 * string/test-strcat-ifunc.c: Likewise.
27982 * string/test-strchr-ifunc.c: Likewise.
27983 * string/test-strchrnul-ifunc.c: Likewise.
27984 * string/test-strcmp-ifunc.c: Likewise.
27985 * string/test-strcpy-ifunc.c: Likewise.
27986 * string/test-strcspn-ifunc.c: Likewise.
27987 * string/test-strlen-ifunc.c: Likewise.
27988 * string/test-strncasecmp-ifunc.c: Likewise.
27989 * string/test-strncat-ifunc.c: Likewise.
27990 * string/test-strncmp-ifunc.c: Likewise.
27991 * string/test-strncpy-ifunc.c: Likewise.
27992 * string/test-strnlen-ifunc.c: Likewise.
27993 * string/test-strpbrk-ifunc.c: Likewise.
27994 * string/test-strrchr-ifunc.c: Likewise.
27995 * string/test-strspn-ifunc.c: Likewise.
27996 * string/test-strstr-ifunc.c: Likewise.
27997
de54b33a
L
27998 * debug/Makefile (tests-ifunc): New variable.
27999 (tests): Add $(tests-ifunc).
28000 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28001 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28002 * debug/test-stpcpy_chk-ifunc.c: New file.
28003 * debug/test-strcpy_chk-ifunc.c: Likewise.
28004
88481c16
SP
280052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28006
28007 [BZ #13601]
28008 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28009 header is not read in.
28010
135948bd
JM
280112012-10-19 Joseph Myers <joseph@codesourcery.com>
28012
89f1c388
JM
28013 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28014 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28015 directly. Pass built executable to script as
28016 $(built-program-cmd).
28017 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28018 $testprogram without using LD_LIBRARY_PATH and $ldso.
28019
e40a0d21
JM
28020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28021 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28022 $(rtld-installed-name).
28023 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28024 (rtld_installed_name): Likewise.
28025 (library_path): Likewise.
28026 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28027 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28028 $(run-program-prefix) to tst-tables.sh.
28029 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28030 it to run tst-table-from and tst-table-to.
28031 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28032 Pass it to tst-table.sh.
28033 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28034 $(run-program-prefix) to tst-gettext.sh.
28035 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28036 tst-translit.sh.
28037 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28038 tst-gettext2.sh.
28039 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28040 to run tst-gettext.
28041 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28042 to run tst-gettext2.
28043 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28044 to run tst-translit.
28045 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28046 $(run-program-prefix) to tst-mtrace.sh.
28047 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28048 to run tst-mtrace.
28049 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28050 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28051 $(rtld-installed-name).
28052 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28053 (rtld_installed_name): Likewise.
28054 (run_program_prefix): New variable. Use it to run wordexp-test.
28055
728e272a
JM
28056 * Makeconfig (ARCH): Remove all definitions.
28057 (machine): Likewise.
28058 [ARCH]: Remove conditional code.
28059 [!objdir]: Give error.
28060 [!objdir] (objpfx): Remove.
28061 [!objdir] (common-objpfx): Likewise.
28062 [!objdir] (common-objdir): Likewise.
28063 * configure.in (config_makefile): Remove. Hardcode Makefile in
28064 AC_CONFIG_FILES call.
28065 * configure: Regenerated.
28066
d528cdcf
JM
28067 [BZ #13888]
28068 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28069 or TMPDIR.
28070 (testout): Likewise.
28071
135948bd
JM
28072 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28073 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28074 $(rtld-installed-name).
28075 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28076 (rtld_installed_name): Likwise.
28077 (runit): Remove function.
28078 (run_getconf): New variable, Use it for running getconf binary.
28079
38c78296
L
280802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28081
28082 [BZ #14716]
28083 * string/test-memmem.c (check_result): New function.
28084 (do_one_test): Use it.
28085 (check1): New function.
28086 (test_main): Use it.
28087
d077f65f
MT
280882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28089
28090 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28091
ced52c71
JM
280922012-10-18 Joseph Myers <joseph@codesourcery.com>
28093
28094 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28095 (_G_LSEEK64): Likewise.
28096 (_G_MMAP64): Likewise.
28097 (_G_FSTAT64): Likewise.
28098 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28099 (_G_LSEEK64): Likewise.
28100 (_G_MMAP64): Likewise.
28101 (_G_FSTAT64): Likewise.
28102 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28103 unconditional. Call __mmap64 directly.
28104 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28105 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28106 __lseek64 directly.
28107 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28108 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28109 __mmap64 directly.
28110 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28111 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28112 __lseek64 directly.
28113 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28114 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28115 __lseek64 directly.
28116 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28117 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28118 __lseek64 directly.
28119 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28120 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28121 __fxstat64 directly.
28122 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28123 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28124 unconditional.
28125 (freopen64) [!_G_OPEN64]: Remove conditional code.
28126 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28127 unconditional.
28128 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28129 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28130 unconditional.
28131 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28132 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28133 unconditional.
28134 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28135 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28136 unconditional.
28137 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28138 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28139 unconditional.
28140 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28141 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28142 unconditional.
28143 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28144 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28145 unconditional.
28146 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28147
b741de23
SP
281482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28149
28150 [BZ #12140]
28151 * manual/memory.texi (Malloc Tunable Parameters): Add note
28152 about free list pointers overwriting some perturb bytes.
28153 Wording suggested by Roland McGrath.
28154
f9b9d9c9
JM
281552012-10-17 Joseph Myers <joseph@codesourcery.com>
28156
28157 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28158 (lgamma_test): Likewise.
28159 (tgamma_test): Likewise.
28160
172a631a
FW
281612012-10-16 Florian Weimer <fweimer@redhat.com>
28162
28163 [BZ #14700]
28164 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28165 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28166
e9f37252
MK
281672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28168
28169 * NEWS: Mention BZ #14716.
28170 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28171 when removing AVAILABLE1_USES_J macro.
28172
d394eb74
L
281732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28174
28175 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28176 (__bswap_64): __uint64_t for unsigned 64-bit int.
28177
ca38dc17
AS
281782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28179
28180 * include/string.h (memmem): Declare libc hidden alias.
28181 * string/memmem.c (memmem): Define libc hidden alias.
28182 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28183 __read, __close instead of open, read, close.
28184
9a387d1f
L
281852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28186
ac49ecaf
L
28187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28188 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28189 global and hidden.
28190 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28191 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28192 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28193 Likewise.
28194 (__rawmemchr_sse2): Likewise.
28195 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28196 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28197 (__strchr_sse2): Likewise.
28198 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28199 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28200 (__strcasecmp_sse2): Likewise.
28201 (__strncasecmp_sse2): Likewise.
28202 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28203 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28204 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28205 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28206 (__strrchr_sse2): Likewise.
28207 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28208 ifunc-impl-list.c.
28209 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28210 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28211 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28212 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28213 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28214 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28215 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28216 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28217 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28218 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28219 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28220 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28221 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28222 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28223 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28224 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28225 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28226 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28227 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28228 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28229 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28230 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28231 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28232 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28233 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28234 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28235 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28236 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28237 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28238 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28239
b090e8ea
L
28240 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28241 global and hidden.
28242 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28243 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28244 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28245 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28246 Likewise.
28247 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28248 Likewise.
28249 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28250 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28251 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28252 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28253 ifunc-impl-list.c.
28254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28255 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28256 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28257 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28258 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28259 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28260 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28261 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28262 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28263 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28264 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28265 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28266 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28267 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28268 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28270 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28271 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28272 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28273 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28275 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28276 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28277 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28279 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28280 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28281 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28282 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28283 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28284 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28285 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28286 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28287 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28288 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28289 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28290 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28291 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28292 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28293 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28294 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28295
11dd4af6
L
28296 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28297 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28298 * include/ifunc-impl-list.h: New file.
28299 * misc/ifunc-impl-list.c: Likewise.
28300 * misc/Makefile (routines): Add ifunc-impl-list.
28301 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28302 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28303 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28304 TEST_NAME]: New variables.
11dd4af6
L
28305 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28306 are defined.
28307 (test_init): Call __libc_ifunc_impl_list to initialize
28308 func_list if TEST_IFUNC and TEST_NAME are defined.
28309
9a387d1f
L
28310 * string/Makefile (strop-tests): Add bcopy and bzero.
28311 * string/test-bcopy.c: New file.
28312 * string/test-bzero.c: Likewise.
28313 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28314 defined.
28315 * string/test-memset.c: Support bzero test if TEST_BZERO is
28316 defined.
28317 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28318 __libc_memmove.
28319 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28320 __libc_memset.
28321 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28322 of memset.
28323
472371b9
JM
283242012-10-10 Joseph Myers <joseph@codesourcery.com>
28325
1e4a9536
JM
28326 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28327 * configure: Regenerated.
28328
d173d12e
JM
28329 * Makeconfig (+link-static-before-libc): Don't include
28330 $(link-static-libc).
28331
472371b9
JM
28332 * libio/libio.h (_IO_pos_t): Remove.
28333
89a3ad0b
AO
283342012-10-10 Alexandre Oliva <aoliva@redhat.com>
28335
28336 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28337 McGrath.
28338
e7451425
AO
283392012-10-10 Alexandre Oliva <aoliva@redhat.com>
28340
28341 * crypt/crypt-entry.c: Include fips-private.h.
28342 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28343 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28344 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28345 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28346
4ba74a35
AO
283472012-10-10 Alexandre Oliva <aoliva@redhat.com>
28348
28349 * crypt/crypt-private.h: Include stdbool.h.
28350 (_ufc_setup_salt_r): Return bool.
28351 * crypt/crypt-entry.c: Include errno.h.
28352 (__crypt_r): Return NULL with EINVAL for bad salt.
28353 * crypt/crypt_util.c (bad_for_salt): New.
28354 (_ufc_setup_salt_r): Check that salt is long enough and within
28355 the specified alphabet.
28356 * crypt/badsalttest.c: New file.
28357 * crypt/Makefile (tests): Add it.
28358 ($(objpfx)badsalttest): New.
28359
f96f1242
MK
283602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28361
28362 * NEWS: Add entry for BZ #14602.
28363
0e8e0c1c
JM
283642012-10-09 Joseph Myers <joseph@codesourcery.com>
28365
28366 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28367 type-generic.
28368 * math/libm-test.inc: Update comment listing what functions and
28369 macros are tested.
28370 (isgreater_test): New function.
28371 (isgreaterequal_test): Likewise.
28372 (isless_test): Likewise.
28373 (islessequal_test): Likewise.
28374 (islessgreater_test): Likewise.
28375 (isunordered_test): Likewise.
28376 (main): Call the new functions.
28377
273edc5e
RM
283782012-10-09 Roland McGrath <roland@hack.frob.com>
28379
b8493de0
RM
28380 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28381 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28382 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28383 * sysdeps/i386/configure: Regenerated.
28384 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28385 * sysdeps/mach/configure: Regenerated.
28386 * sysdeps/mach/hurd/configure: Regenerated.
28387 * sysdeps/powerpc/configure: Regenerated.
28388 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28389 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28390 * sysdeps/s390/s390-32/configure: Regenerated.
28391 * sysdeps/s390/s390-64/configure: Regenerated.
28392 * sysdeps/sh/configure: Regenerated.
28393 * sysdeps/sparc/configure: Regenerated.
28394 * sysdeps/unix/sysv/linux/configure: Regenerated.
28395 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28396 * sysdeps/x86_64/configure: Regenerated.
28397
273edc5e
RM
28398 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28399 defined. Don't check if MAP is NULL.
28400
c8450f70
JM
284012012-10-09 Joseph Myers <joseph@codesourcery.com>
28402
28403 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28404 (_G_stat64): Likewise.
28405 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28406 (_G_stat64): Likewise.
28407 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28408 instead of struct _G_stat64.
28409 * libio/fileops.c (mmap_remap_check): Likewise.
28410 (decide_maybe_mmap): Likewise.
28411 (_IO_new_file_seekoff): Likewise.
28412 (_IO_file_stat): Likewise.
28413 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28414 _G_off64_t.
28415 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28416 instead of struct _G_stat64.
28417 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28418
57e605ba
MK
284192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28420
28421 [BZ #14602]
28422 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28423 Replace with ...
28424 (CHECK_EOL): New macro.
28425 (two_way_short_needle): Check beginning of haystack for EOL. Use
28426 CHECK_EOL.
28427 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28428 Replace with CHECK_EOL.
28429 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28430 Replace with CHECK_EOL.
28431
ef1bb361
JM
284322012-10-08 Joseph Myers <joseph@codesourcery.com>
28433
28434 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28435 type-generic.
28436 * math/libm-test.inc: Update comment listing what functions and
28437 macros are tested.
28438 (finite_test): New function.
28439 (isinf_test): Likewise.
28440 (isnan_test): Likewise.
28441 (fpclassify_test): Test subnormal input.
28442 (isfinite_test): Likewise.
28443 (isnormal_test): Likewise.
28444 (main): Call the new functions.
28445
55f11534
JN
284462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28447
28448 [BZ #14660]
28449 * Makerules (%.dynsym): Force C locale when running
28450 $(OBJDUMP) --dynamic-syms.
28451
1ab29350
AS
284522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28453
28454 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28455 <stdint.h>.
28456
f1ecb7ef
DM
284572012-10-06 David S. Miller <davem@davemloft.net>
28458
28459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28460 upper 32-bits of the length value in %o2 since we use branch-on-register
28461 tests which consider the entire 64-bit register.
28462
5d41d91a
L
284632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28464
28465 * string/test-strstr.c (check2): Add a test for page boundary.
28466
3baddb72
DM
284672012-10-05 David S. Miller <davem@davemloft.net>
28468
28469 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28470 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28471 file.
28472 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28473 sysdep_routines.
28474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28475 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28476 and bzero when HWCAP_SPARC_CRYPTO is present.
28477
9cee5585
L
284782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28479
d7e0dab9
L
28480 [BZ #14602]
28481 * string/test-strstr.c (check2): New function.
28482 (test_main): Call check2.
28483
03759f47
L
28484 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28485 and bug-strchr1.
28486 * string/bug-strcasestr1.c (do_test): Moved to ...
28487 * string/test-strcasestr.c (check1): Here. New function.
28488 (do_one_test): Break out result checking code into ...
28489 (check_result): This. New function.
28490 (do_one_test): Call check_result.
28491 (test_main): Call check1.
28492 * string/bug-strchr1.c (do_test): Moved to ...
28493 * string/test-strchr.c (check1): Here. New function.
28494 (do_one_test): Break out result checking code into ...
28495 (check_result): This. New function.
28496 (do_one_test): Call check_result.
28497 (test_main): Call check1.
28498 * string/bug-strstr1.c (main): Moved to ...
046f153e 28499 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28500 (do_one_test): Break out result checking code into ...
28501 (check_result): This. New function.
28502 (do_one_test): Call check_result.
28503 (test_main): Call check1.
28504 * string/bug-strcasestr1.c: Removed.
28505 * string/bug-strchr1.c: Likewise.
28506 * string/bug-strstr1.c: Likewise.
28507
53cea63e
L
28508 * elf/Makefile (dl-routines): Add hwcaps.
28509 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28510 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28511 (_dl_important_hwcaps): Moved to ...
28512 * elf/dl-hwcaps.c: Here. New file.
28513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28514
9cee5585 28515 [BZ #14557]
bb859b06
L
28516 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28517 if IS_IN_rtld isn't defined.
28518
9cee5585
L
28519 * elf/dl-support.c (_dl_sysinfo_map): New.
28520 Include "get-dynamic-info.h" and "setup-vdso.h".
28521 (_dl_non_dynamic_init): Call setup_vdso.
28522 * elf/dynamic-link.h: Don't include <assert.h>.
28523 (elf_get_dynamic_info): Moved to ...
28524 * elf/get-dynamic-info.h: Here. New file.
28525 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28526 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28527 * elf/setup-vdso.h: Here. New file.
28528 * elf/rtld.c: Include "setup-vdso.h".
28529 (dl_main): Call setup_vdso.
28530
23c31b76
JM
285312012-10-05 Joseph Myers <joseph@codesourcery.com>
28532
28234b07
JM
28533 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28534 creal in comment listing functions tested. List finite, isinf,
28535 isnan, isless, islessequal, isgreater, isgreaterequal,
28536 islessgreater, isunordered, lgamma_r and pow10 as functions and
28537 macros not tested. Mention which functions not tested are aliases
28538 for other functions. Fix typo. Note that signs of NaNs are not
28539 tested.
28540
23c31b76
JM
28541 * scripts/config.guess: Update from config.git.
28542 * scripts/config.sub: Likewise.
28543
9043e228
RM
285442012-10-04 Roland McGrath <roland@hack.frob.com>
28545
28546 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28547 * misc/madvise.c (madvise): Renamed to __madvise.
28548 Make madvise a weak alias.
28549 * include/sys/mman.h: Declare __madvise.
28550 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28551 * sysdeps/unix/syscalls.list
28552 (madvise): Make __madvise the strong name, and madvise a weak alias.
28553 * sysdeps/unix/sysv/linux/syscalls.list
28554 (madvise, mmap): Remove redundant entries.
28555 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28556 * malloc/malloc.c (mtrim): Likewise.
28557 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28558
f57f8055
RM
285592012-10-03 Roland McGrath <roland@hack.frob.com>
28560
28561 * sysdeps/mach/hurd/dl-cache.c: File removed.
28562 * config.h.in (USE_LDCONFIG): New #undef.
28563 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28564 * configure: Regenerated.
28565 * elf/Makefile (dl-routines): Add dl-cache only under
28566 [$(use-ldconfig) = yes].
28567 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28568 cache on [USE_LDCONFIG].
28569 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28570 [USE_LDCONFIG].
28571 * elf/rtld.c (dl_main): Likewise.
28572
5bb0c10a
PT
285732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28574
28575 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28576 _SC_LEVEL4_CACHE_LINESIZE.
28577
010188c6
RM
285782012-10-03 Roland McGrath <roland@hack.frob.com>
28579
28580 * sysdeps/unix/bsd/confstr.h: File removed.
28581
b6c5ec07
AO
285822012-10-02 Alexandre Oliva <aoliva@redhat.com>
28583
28584 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28585 sys/sdt-config.h.
28586
408223d4
RM
285872012-10-02 Roland McGrath <roland@hack.frob.com>
28588
28589 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28590 Make 'mapoff' field ElfW(Off) rather than off_t.
28591
bb9510dc
DL
285922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28593
fc997c6e
DL
28594 * nscd/Makefile: Remove nscd-cflags and all its users.
28595 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28596 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28597
bb9510dc
DL
28598 [BZ #10631]
28599 * malloc.c (malloc_printerr): Clarify error message.
28600
05699367
L
286012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28602
28603 [BZ #14648]
28604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28605 Set bit_FMA_Usable if FMA is supported.
28606 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28607 macro.
28608 (bit_FMA4_Usable): Updated.
28609 (index_FMA_Usable): New macro.
28610 (CPUID_FMA): Likewise
28611 (HAS_FMA): Defined with bit_FMA_Usable.
28612
51367701
RM
286132012-10-01 Roland McGrath <roland@hack.frob.com>
28614
28615 * bits/types.h (__swblk_t): Type removed.
28616 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28617 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28619 (__SWBLK_T_TYPE): Likewise.
28620 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28621 (__SWBLK_T_TYPE): Likewise.
28622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28623 (__SWBLK_T_TYPE): Likewise.
28624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28625 (__SWBLK_T_TYPE): Likewise.
28626
4d57bf63 286272012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28628 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28629
28630 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28631 (xdr_mapname): Use YPMAXMAP as maxsize.
28632 (xdr_peername): Use YPMAXPEER as maxsize.
28633 (xdr_keydat): Use YPAXRECORD as maxsize.
28634 (xdr_valdat): Use YPMAXRECORD as maxsize.
28635
93c65d43
RM
286362012-10-01 Roland McGrath <roland@hack.frob.com>
28637
497a03d6
RM
28638 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28639
93c65d43
RM
28640 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28641 * csu/init-first.c: ... here.
28642 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28643 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28644 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28645 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28646 * sysdeps/i386/init-first.c: File removed.
28647 * sysdeps/sh/init-first.c: File removed.
28648
bec749fd
JM
286492012-10-01 Joseph Myers <joseph@codesourcery.com>
28650
28651 [BZ #14645]
28652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28653 if x * y might underflow to zero and z is zero.
28654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28656 * math/libm-test.inc (min_subnorm_value): New variable.
28657 (fma_test): Add more tests.
28658 (fma_test_towardzero): Likewise.
28659 (fma_test_downward): Likewise
28660 (fma_test_upward): Likewise.
28661 (initialize): Set min_subnorm_value.
28662
8ec5b013
JM
286632012-09-29 Joseph Myers <joseph@codesourcery.com>
28664
28665 [BZ #14638]
28666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28667 0 + 0.
28668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28669 mode for addition resulting in exact zero.
28670 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28672 exact 0 + 0.
28673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28675 * math/libm-test.inc (fma_test): Add more tests.
28676 (fma_test_towardzero): New function.
28677 (fma_test_downward): Likewise.
28678 (fma_test_upward): Likewise.
28679 (main): Call the new functions.
28680
b1fa802e
DM
286812012-09-28 David S. Miller <davem@davemloft.net>
28682
28683 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28684
d3b9fd9e
RM
286852012-09-28 Roland McGrath <roland@hack.frob.com>
28686
ea4d37b3
RM
28687 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28688 instead of SIGALRM.
28689
ac51c949
RM
28690 * sysdeps/gnu/_G_config.h: Moved to ...
28691 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28692 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28693 * sysdeps/generic/_G_config.h: ... here.
28694
28c195f7
RM
28695 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28696
848917f9
RM
28697 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28698
6bacf05b
RM
28699 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28700 Conditionalize target on [libnss_test1.so-version].
28701
91363dbb
RM
28702 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28703
cc87f7d8
RM
28704 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28705 (elfobjdir): Move out of conditionals.
28706
b1c608fe
RM
28707 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28708 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28709 (__nss_lookup_function): Conditionalize label remove_from_tree on
28710 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28711
1d9a6d96
DM
287122012-09-28 David S. Miller <davem@davemloft.net>
28713
28714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28715 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28716 file.
28717 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28718 sysdep_routines.
28719 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28721 when HWCAP_SPARC_CRYPTO is present.
28722
72581615
PT
287232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28724
28725 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28726
715a900c
JL
287272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28728
28729 [BZ #6530]
28730 * stdio-common/vfprintf.c (process_string_arg): Revert
28731 2000-07-22 change.
28732
287332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28734
28735 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28736 for testcase.
28737 * stdio-common/tst-sprintf.c: Include <locale.h>
28738 (main): Test sprintf's handling of incomplete multibyte
28739 characters.
28740
9bac1d86
L
287412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28742
28743 * elf/dl-runtime.c (VERSYMIDX): Removed.
28744 * elf/dl-version.c (VERSYMIDX): Likewise.
28745 * elf/do-rel.h (VERSYMIDX): Likewise.
28746 (VALIDX): Likewise.
28747 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28748 * elf/rtld.c (VALIDX): Likewise.
28749 (ADDRIDX): Likewise.
9bac1d86
L
28750 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28751 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28752 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28753 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28754 (VALIDX): Likewise.
28755 (ADDRIDX): Likewise.
9bac1d86 28756
b31606c0
PT
287572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28758
28759 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28760
11541177
JL
287612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28762
28763 [BZ #11438]
28764 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28765 to global scope.
28766 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28767 addresses are in the same scope as 192.0.2/24.
28768 * posix/gai.conf: Document new scope table defaults.
28769
adb26fae
SP
287702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28771
28772 [BZ #5298]
28773 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28774 for ftell. Compute offsets from write pointers instead.
28775 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28776
4573c6b0
SP
287772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28778
28779 [BZ #14543]
28780 * libio/Makefile (tests): New test case tst-fseek.
28781 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28782 combination works in wide mode.
28783 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28784 state when the external buffer state changes.
28785
aa9bbfe6
DM
287862012-09-27 David S. Miller <davem@davemloft.net>
28787
28788 [BZ #14376]
28789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28790 pass reloc->r_addend in as the 'high' argument to
28791 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28792
784421e7
DM
28793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28794
c39bc8b8
PT
287952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28796
28797 * rt/tst-aio2.c: Include <pthread.h>.
28798 * rt/tst-aio3.c: Likewise.
28799
1ccc2399
SE
288002012-09-27 Steve Ellcey <sellcey@mips.com>
28801
28802 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28803
31ed4153
L
288042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28805
25f5f885
L
28806 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28807 contents on [SHARED].
31ed4153 28808
b7bfe116
MP
288092012-09-26 Marek Polacek <polacek@redhat.com>
28810
28811 [BZ #14530]
28812 [BZ #13741]
28813 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28814 for C++ and GCC <4.3 as well as for non GCC compilers.
28815
43c4edba
MT
288162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28817
28818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28819
6a1bf82f
RM
288202012-09-25 Roland McGrath <roland@hack.frob.com>
28821
28822 * Makefile.in (all, install): Declare with .PHONY.
28823 Reported by Michael Hope <michael.hope@linaro.org>.
28824
8ad11b9a
TMQMF
288252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28826
28827 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28828 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28829 system header.
28830 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28831 Likewise.
28832 (sydep_routines): Add the new and the internal functions.
28833 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28834 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28836 (GLIBC_2.17): Add the new function.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28838 (GLIBC_2.17): Likewise.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28840 (GLIBC_2.17): Likewise.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28842 (GLIBC_2.17): Likewise.
28843 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28844
7e2fca8d
AM
288452012-09-25 Alan Modra <amodra@gmail.com>
28846
28847 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28848 Add release barrier before setting once_control to say
28849 initialisation is done. Add hints on lwarx. Use macro in
28850 place of isync.
28851 (clear_once_control): Add release barrier.
28852
b87c4b24
JM
288532012-09-25 Joseph Myers <joseph@codesourcery.com>
28854
d032e0d2
JM
28855 [BZ #13629]
28856 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28857 specially.
28858 * math/s_clog10.c (__clog10): Likewise.
28859 * math/s_clog10f.c (__clog10f): Likewise.
28860 * math/s_clog10l.c (__clog10l): Likewise.
28861 * math/s_clogf.c (__clogf): Likewise.
28862 * math/s_clogl.c (__clogl): Likewise.
28863 * math/Makefile (libm-calls): Add x2y2m1.
28864 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28865 (__x2y2m1): Likewise.
28866 (__x2y2m1l): Likewise.
28867 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28868 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28871 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28872 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28873 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28874 * sysdeps/i386/fpu/libm-test-ulps: Update.
28875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28876
b87c4b24
JM
28877 [BZ #14621]
28878 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28879 int as type of variable DEPTH.
28880 (glob): Use size_t instead of int as type of variables NEWCOUNT
28881 and OLD_PATHC.
28882
6d3bf199
LD
288832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28884
22bf5c17
LD
28885 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28886 Add s_sincosf-sse2.
28887 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28888 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28889 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28890 macros for using routine as __sincosf_ia32.
28891 Use macro for function declaration and weak_alias.
28892 * sysdeps/i386/fpu/libm-test-ulps: Update.
28893
28894 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28896
28897 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28898 subnormal argument.
28899 * math/s_cexpf.c (__cexpf): Likewise.
28900 * math/s_csinf.c (__csinf): Likewise.
28901 * math/s_csinhf.c (__csinhf): Likewise.
28902 * math/s_ctanf.c (__ctanf): Likewise.
28903 * math/s_ctanhf.c (__ctanhf): Likewise.
28904 * math/s_ccosh.c (__ccoshf): Likewise.
28905 * math/s_cexp.c (__cexpl): Likewise.
28906 * math/s_csin.c (__csin): Likewise.
28907 * math/s_csinh.c (__csinh): Likewise.
28908 * math/s_ctan.c (__ctan): Likewise.
28909 * math/s_ctanh.c (ctanh): Likewise.
28910 * math/s_ccoshl.c (__ccoshl): Likewise.
28911 * math/s_cexpl.c (__cexpl): Likewise.
28912 * math/s_csinl.c (__csinl): Likewise.
28913 * math/s_csinhl.c (__csinhl): Likewise.
28914 * math/s_ctanl.c (__ctanl): Likewise.
28915 * math/s_ctanhl.c (__ctanhl): Likewise.
28916
203e5603
JM
289172012-09-25 Joseph Myers <joseph@codesourcery.com>
28918
28919 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28920 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28921 (_IO_off_t): Define to __off_t, not _G_off_t.
28922 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28923 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28924 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28925 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28926 type of __dummy and __dummy2 fields.
28927 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28928 (_G_ssize_t): Likewise.
28929 (_G_off_t): Likewise.
28930 (_G_pid_t): Likewise.
28931 (_G_uid_t): Likewise.
28932 (_G_wchar_t): Likewise.
28933 (_G_wint_t): Likewise.
28934 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28935 (_G_ssize_t): Likewise.
28936 (_G_off_t): Likewise.
28937 (_G_pid_t): Likewise.
28938 (_G_uid_t): Likewise.
28939 (_G_wchar_t): Likewise.
28940 (_G_wint_t): Likewise.
28941 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28942 (_G_ssize_t): Likewise.
28943 (_G_off_t): Likewise.
28944 (_G_pid_t): Likewise.
28945 (_G_uid_t): Likewise.
28946 (_G_wchar_t): Likewise.
28947 (_G_wint_t): Likewise.
28948
9fab36eb
SP
289492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28950
28951 * malloc/arena.c: Include malloc-sysdep.h.
28952 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28953 is sufficient to shrink the heap or an unmap is needed.
28954 * sysdeps/generic/malloc-sysdep.h: New file. Define
28955 new function check_may_shrink_heap.
28956 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28957 new function check_may_shrink_heap.
28958
2b4f00d1
SP
289592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28960
28961 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28962 comments.
28963
9a9028b1
DL
289642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28965
57c69bef
DL
28966 * catgets/test-gencat.sh: Add "set -e".
28967 * elf/tst-pathopt.sh: Likewise.
28968 * grp/tst_fgetgrent.sh: Likewise.
28969 * iconvdata/run-iconv-test.sh: Likewise.
28970 * intl/tst-gettext.sh: Likewise.
28971 * intl/tst-gettext2.sh: Likewise.
28972 * intl/tst-gettext4.sh: Likewise.
28973 * intl/tst-gettext6.sh: Likewise.
28974 * intl/tst-translit.sh: Likewise.
28975 * io/ftwtest-sh: Likewise.
28976 * libio/test-freopen.sh: Likewise.
28977 * malloc/tst-mtrace.sh: Likewise.
28978 * posix/globtest.sh: Likewise.
28979 * posix/tst-getconf.sh: Likewise.
28980 * posix/wordexp-tst.sh: Likewise.
28981 * stdio-common/tst-printf.sh: Likewise.
28982 * stdio-common/tst-unbputc.sh: Likewise.
28983 * stdlib/tst-fmtmsg.sh: Likewise.
28984 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28985 * catgets/Makefile: Do not specify -e option when running
28986 testsuite shell scripts.
28987 * elf/Makefile: Likewise.
28988 * grp/Makefile: Likewise.
28989 * iconvdata/Makefile: Likewise.
28990 * intl/Makefile: Likewise.
28991 * io/Makefile: Likewise.
28992 * libio/Makefile: Likewise.
28993 * malloc/Makefile: Likewise.
28994 * posix/Makefile: Likewise.
28995 * stdio-common/Makefile: Likewise.
28996 * stdlib/Makefile: Likewise.
28997 * sysdeps/x86_64/Makefile: Likewise.
28998
9a9028b1
DL
28999 * io/ftwtest-sh: Add copyright header.
29000 * posix/globtest.sh: Likewise.
29001 * posix/tst-getconf.sh: Likewise.
29002 * posix/wordexp-tst.sh: Likewise.
29003 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29004
ced6f16e
L
290052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29006
94b32c39
L
29007 [BZ #13679]
29008 * Makeconfig (+link): Defined as $(+link-static) if
29009 $(build-shared) isn't yes.
29010 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29011 isn't yes.
29012 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29013
189e935b
L
29014 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29015
ced6f16e
L
29016 [BZ #14562]
29017 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29018 new chunk size with MALLOC_ALIGN_MASK.
29019
a9f8e53a
JM
290202012-09-24 Joseph Myers <joseph@codesourcery.com>
29021
29022 [BZ #5044]
29023 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29024 <rounding-mode.h>.
29025 (__printf_fphex): Determine rounding using get_rounding_mode and
29026 round_away.
29027 * stdio-common/tst-printf-round.c (struct hex_test): New
29028 structure.
29029 (hex_tests): New variable.
29030 (test_hex_in_one_mode): New function.
29031 (do_test): Also run tests for hex float output.
29032
43153109
JM
290332012-09-21 Joseph Myers <joseph@codesourcery.com>
29034
29035 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29036 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29037 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29038 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29039 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29040 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29041 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29042 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29043
8a26625d
JM
290442012-09-20 Joseph Myers <joseph@codesourcery.com>
29045
29046 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29047 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29048 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29049 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29050
f3fd569c
DL
290512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29052
29053 [BZ #14579]
29054 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29055 mode only.
29056 * elf/tst-rtld-load-self.sh: New test.
29057 * elf/Makefile: Run it.
29058
63bbedd4
JM
290592012-09-18 Joseph Myers <joseph@codesourcery.com>
29060
29061 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29062 (tst-writev-ENV): Remove.
29063 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29064
626f8b6a
CM
290652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29066
29067 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29068
b7aaa4d6
JM
290692012-09-17 Joseph Myers <joseph@codesourcery.com>
29070
29071 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29072 unconditional.
29073 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29074 Likewise.
29075 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29076 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29077 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29078 Likewise.
29079
65513990
L
290802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29081
29082 [BZ #14587]
29083 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29084 * config.make.in (have-cpp-asm-debuginfo): Removed.
29085 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29086 * configure: Regenerated.
29087
784761be
JM
290882012-09-14 Joseph Myers <joseph@codesourcery.com>
29089
29090 [BZ #5044]
29091 * stdio-common/printf_fp.c: Include <stdbool.h> and
29092 <rounding-mode.h>.
29093 (___printf_fp): Determine rounding using get_rounding_mode and
29094 round_away.
29095 * stdio-common/tst-printf-round.c: New file.
29096 * stdio-common/Makefile (tests): Add tst-printf-round.
29097 (link-libm): New variable.
29098 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29099
9503345f
L
291002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29101
29102 [BZ #14576]
29103 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29104 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29105 Likewise.
29106 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29107 Likewise.
29108
ad35fc00
JM
291092012-09-13 Joseph Myers <joseph@codesourcery.com>
29110
29111 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29112 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29113 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29114 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29115
6c9b0f68
JM
291162012-09-12 Joseph Myers <joseph@codesourcery.com>
29117
29118 [BZ #14518]
29119 * include/rounding-mode.h: New file.
29120 * sysdeps/generic/get-rounding-mode.h: Likewise.
29121 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29122 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29123 (MAX_VALUE): New macro.
29124 (MIN_VALUE): Likewise.
29125 (overflow_value): New function.
29126 (underflow_value): Likewise.
29127 (round_and_return): Use overflow_value and underflow_value to
29128 determine return values in overflow and underflow cases. Use
29129 round_away to determine rounding depending on rounding mode.
29130 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29131 determine return values in overflow and underflow cases.
29132 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29133 (struct test_results): New structure.
29134 (struct test): Use struct test_results to store expected results
29135 for all rounding modes.
29136 (TEST): Include expected results for all rounding modes.
29137 (test_in_one_mode): New function.
29138 (do_test): Use test_in_one_mode to compute and check results.
29139 Check results for all rounding modes.
29140 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29141 $(link-libm).
29142
19fcedd5
AM
291432012-12-09 Allan McRae <allan@archlinux.org>
29144
1e9d84cd 29145 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29146
8bbfd2f1
JM
291472012-09-11 Joseph Myers <joseph@codesourcery.com>
29148
29149 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29150 (_G_int32_t): Likewise.
29151 (_G_uint16_t): Likewise.
29152 (_G_uint32_t): Likewise.
29153 (_G_HAVE_BOOL): Likewise.
29154 (_G_HAVE_ATEXIT): Likewise.
29155 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29156 (_G_HAVE_IO_FILE_OPEN): Likewise.
29157 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29158 (_G_int32_t): Likewise.
29159 (_G_uint16_t): Likewise.
29160 (_G_uint32_t): Likewise.
29161 (_G_HAVE_BOOL): Likewise.
29162 (_G_HAVE_ATEXIT): Likewise.
29163 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29164 (_G_HAVE_IO_FILE_OPEN): Likewise.
29165 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29166 (_G_int32_t): Likewise.
29167 (_G_uint16_t): Likewise.
29168 (_G_uint32_t): Likewise.
29169 (_G_HAVE_BOOL): Likewise.
29170 (_G_HAVE_ATEXIT): Likewise.
29171 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29172 (_G_HAVE_IO_FILE_OPEN): Likewise.
29173
b1dc5912
L
291742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29175
29176 * csu/libc-tls.c: Update copyright years.
29177
0e886ef9
JM
291782012-09-10 Joseph Myers <joseph@codesourcery.com>
29179
28361c5e
JM
29180 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29181 [!_G_USING_THUNKS]: Remove conditional code.
29182 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29183 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29184
0e886ef9
JM
29185 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29186 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29187 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29188 (_G_VTABLE_LABEL_PREFIX): Likewise.
29189 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29190 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29191 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29192 (_G_VTABLE_LABEL_PREFIX): Likewise.
29193 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29194 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29195 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29196 (_G_VTABLE_LABEL_PREFIX): Likewise.
29197 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29198
bcba7aa2
L
291992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29200
29201 * libio/Makefile: Include ../Makeconfig before tests.
29202 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29203 only if $(build-shared) is yes.
29204
06585ee8
L
29205 * iconv/gconv_db.c: Update copyright years.
29206
80ccd52c
LD
292072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29208
29209 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29210 unwind info if defined PIC. Fix special cases description.
29211 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29212
29213 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29214 DP_HI_MASK entry.
29215 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29216
691bc9c1
L
292172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29218
3d9b46b3
L
29219 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29220
de2139a9
L
29221 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29222 is NULL.
29223
5ca78dd0
L
29224 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29225 (LDLIBS-tst-chk4): This.
29226 (LDFLAGS-tst-chk5): Renamed to ...
29227 (LDLIBS-tst-chk5): This.
29228 (LDFLAGS-tst-chk6): Renamed to ...
29229 (LDLIBS-tst-chk6): This.
29230 (LDFLAGS-tst-lfschk4): Renamed to ...
29231 (LDLIBS-tst-lfschk4): This.
29232 (LDFLAGS-tst-lfschk5): Renamed to ...
29233 (LDLIBS-tst-lfschk5): This.
29234 (LDFLAGS-tst-lfschk6): Renamed to ...
29235 (LDLIBS-tst-lfschk6): This.
29236
691bc9c1
L
29237 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29238 on $(common-objpfx)soversions.mk.
29239
65cafb1c
JM
292402012-09-07 Joseph Myers <joseph@codesourcery.com>
29241
29242 [BZ #10014]
29243 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29244 example host name.
29245
c78ab094
SP
292462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29247
29248 * malloc/arena.c (arena_get_retry): New function that gets
29249 another arena for the caller to try its request on.
29250 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29251 current arena cannot fulfill the request.
29252 (__libc_memalign): Likewise.
29253 (__libc_memalign): Likewise.
29254 (__libc_pvalloc): Likewise.
29255 (__libc_calloc): Likewise.
29256
01f49f59
JT
292572012-09-05 John Tobey <john.tobey@gmail.com>
29258
29259 [BZ #13542]
29260 * manual/arith.texi (Operations on Complex): Fix description
29261 of carg branch cut.
29262
4c23fed5
JM
292632012-09-06 Joseph Myers <joseph@codesourcery.com>
29264
1d3c8572
JM
29265 [BZ #10014]
29266 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29267 host name.
29268
4c23fed5
JM
29269 [BZ #10038]
29270 * manual/memory.texi (Memory): Make order of menu items match
29271 order of sections.
29272
04570aaa
L
292732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29274
29275 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29276 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29277 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29278
b80af2f4
L
292792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29280
29281 * csu/libc-tls.c (static_dtv): Renamed to ...
29282 (_dl_static_dtv): This. Make it global.
29283 (_dl_initial_dtv): Removed.
29284 (__libc_setup_tls): Updated.
29285 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29286 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29287 DL_INITIAL_DTV.
29288
2abe9f15
PM
292892012-09-06 Petr Machata <pmachata@redhat.com>
29290
29291 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29292 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29293 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29294 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29295
0948c3af
L
292962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29297
29298 [BZ #14545]
29299 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29300 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29301 freeing dtv[-1].
29302
a5055ad1
L
293032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 [BZ #14544]
29306 * Makeconfig (link-static-before-libc): Replace $(+prector)
29307 with $(+prectorT).
29308 (link-static-after-libc): Replace $(+postctor) with
29309 $(+postctorT).
29310 (link-bounded): Replace $(+prector)/$(+postctor) with
29311 $(+prectorT)/$(+postctorT).
29312 (+prectorT): New macro.
29313 (+postctorT): Likewise.
29314
ed8c2ecd
JM
293152012-09-06 Joseph Myers <joseph@codesourcery.com>
29316
29317 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29318 (round_str): Handle values above the maximum for IBM long double
29319 as inexact.
29320 * stdlib/tst-strtod-round.c (tests): Regenerated.
29321
14c996c8
AK
293222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29323
29324 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29325 assembler flag.
29326 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29327 zarch_nohighgprs around the zarch optimized routines.
29328 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29329 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29331 for zarch.
29332
430d6ce6
DM
293332012-09-05 David S. Miller <davem@davemloft.net>
29334
29335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29336
57f41c40
AS
29337 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29338 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29339 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29340 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29341 entries.
29342
24d4e01b
AO
293432012-09-05 Alexandre Oliva <aoliva@redhat.com>
29344
29345 * malloc/arena.c: Fold copyright years.
29346 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29347
61d58174
AO
293482012-09-05 Alexandre Oliva <aoliva@redhat.com>
29349
29350 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29351
20196a5e
AO
293522012-09-05 Alexandre Oliva <aoliva@redhat.com>
29353
29354 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29355
5c447383
AO
293562012-09-05 Alexandre Oliva <aoliva@redhat.com>
29357
29358 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29359 change internal state upon failure.
29360
fad64255
AO
293612012-09-05 Alexandre Oliva <aoliva@redhat.com>
29362
29363 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29364 * malloc/memusage.c (mmap): Likewise.
29365 (mmap64, mremap): Likewise. Adjust name in comment.
29366
1ffb8c90
SP
293672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29368
29369 * libio/fileops.c: Fix typos in comments.
29370 * libio/oldfileops.c: Likewise.
29371 * libio/wfileops.c: Likewise.
29372
6ef9cc37
SP
293732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29374
29375 [BZ #1349]
29376 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29377 (tst-malloc-usable-ENV): Set environment for test case.
29378 * malloc/hooks.c (malloc_check_get_size): New function to get
29379 requested size.
29380 * malloc/malloc.c (musable): Use malloc_check_get_size.
29381 * malloc/tst-malloc-usable.c: New test case.
29382
4d038ae3
AS
293832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29384
29385 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29386
c4e85184
AM
293872012-09-05 Allan McRae <allan@archlinux.org>
29388
b9dafc56 29389 [BZ #13966]
c4e85184
AM
29390 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29391 determine header location.
29392 * configure: Regenerated.
29393
e1343020
AS
293942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29395
29396 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29397 float format.
29398 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29399 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29400 format.
e1343020
AS
29401 (test): Regenerate.
29402
0a9f1987
DM
294032012-09-04 David S. Miller <davem@davemloft.net>
29404
29405 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29406 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29407 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29408
29237804
FW
294092012-09-04 Florian Weimer <fweimer@redhat.com>
29410
29411 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29412 failures.
29413
edb3cb88
FW
29414 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29415
60160d83
JM
294162012-09-04 Joseph Myers <joseph@codesourcery.com>
29417
29418 [BZ #9914]
29419 * libio/iogetdelim.c: Include <limits.h>.
29420 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29421 + len + 1 would overflow.
29422
bcd6c8dc
AJ
294232012-09-03 Andreas Jaeger <aj@suse.de>
29424
29425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29426 * sysdeps/i386/fpu/libm-test-ulps: Update.
29427
4ffffbd2
LD
294282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29429
29430 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29431 Add s_sinf-sse2, s_conf-sse2.
29432
29433 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29434 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29435 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29436 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29437
29438 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29439 for using routine as __sinf_ia32.
29440 Use macro for function declaration and weak_alias.
29441 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29442 for using routine as __cosf_ia32.
29443 Use macro for function declaration and weak_alias.
29444
29445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29446 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29447
29448 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29449 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29451
29452 * math/libm-test.inc (cos_test): Add more test cases.
29453 (sin_test): Likewise.
29454 (sincos_test): Likewise.
29455
511fa286
AK
294562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29457
29458 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29459 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29460 hidden.
29461 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29462
5f30cfec
L
294632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29464
29465 [BZ #14538]
29466 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29467 first element of the GOT.
29468 (elf_machine_load_address): Return the difference between
29469 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29470
0786794f
AM
294712012-09-01 Allan McRae <allan@archlinux.org>
29472
5f30cfec
L
29473 [BZ #13412]
29474 * configure.in (AWK): Require gawk version 3.0 or later.
29475 * configure: Regenerated.
0786794f 29476
26889eac
JM
294772012-09-01 Joseph Myers <joseph@codesourcery.com>
29478
29479 * sysdeps/unix/sysv/linux/kernel-features.h
29480 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29482 [__NR_clock_getres]: Make code unconditional.
29483 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29484 (clock_getcpuclockid): Remove code left unreachable by removal of
29485 conditionals.
29486 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29487 code unconditional.
29488 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29489 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29490 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29491 Make code unconditional.
29492 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29493 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29494 * sysdeps/unix/sysv/linux/clock_settime.c
29495 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29496 conditional code.
29497 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29499
d22e28b0
L
295002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29501
29502 [BZ #14476]
29503 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29504 scripts/test-installation.pl.
29505
29506 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29507 and $ld_so_version if it is set.
29508
050af9c4
SP
295092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29510
29511 [BZ #14516]
29512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29513 failure if reading from procfs failed.
29514 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29515
ad845c0b
JM
295162012-08-27 Joseph Myers <joseph@codesourcery.com>
29517
29518 * sysdeps/unix/sysv/linux/kernel-features.h
29519 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29520 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29521 Remove conditional code.
29522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29523 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29524 Remove conditional code.
29525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29526 * sysdeps/unix/sysv/linux/i386/fxstat.c
29527 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29529 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29532 * sysdeps/unix/sysv/linux/i386/lxstat.c
29533 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29535 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29536 Remove conditional code.
29537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29538 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29539 Remove conditional code.
29540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29541 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29542 <kernel-features.h>.
29543 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29544 Remove.
29545 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29546 Remove conditional code.
29547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29548 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29549 Remove conditional.
29550
5dbf56af
MF
295512012-08-27 Mike Frysinger <vapier@gentoo.org>
29552
29553 [BZ #5400]
29554 * NEWS: Add fixed bug number.
29555
d6e70f43
JM
295562012-08-27 Joseph Myers <joseph@codesourcery.com>
29557
7efb4737
JM
29558 [BZ #14519]
29559 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29560 underflowing exponent in case of negative sign.
29561 * stdlib/tst-strtod-round-data: Add more tests.
29562 * stdlib/tst-strtod-round.c (tests): Regenerated.
29563
af92131a
JM
29564 [BZ #3479]
29565 * stdlib/strtod_l.c (NDIG): Remove.
29566 (HEXNDIG): Likewise.
29567 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29568 smallest representable value.
29569 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29570 lie within an exact representation of 1/2 ulp of the result.
29571 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29572 unconditionally.
29573 (TENS_P9_IDX): Define unconditionally.
29574 (TENS_P9_SIZE): Likewise.
29575 (TENS_P10_IDX): Likewise.
29576 (TENS_P10_SIZE): Likewise.
29577 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29578 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29579 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29580 entries for 10^2^13 and 10^2^14.
29581 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29582 (TENS_P13_IDX): Define.
29583 (TENS_P13_SIZE): Likewise.
29584 (TENS_P14_IDX): Likewise.
29585 (TENS_P14_SIZE): Likewise.
29586 (_fpioconst_pow10): Change array size to
29587 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29588 unconditional.
29589 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29590 1024]: Add entries for 10^2^13 and 10^2^14.
29591 [LAST_POW10 > _LAST_POW10]: Remove #error.
29592 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29593 (_fpioconst_pow10): Change array size to
29594 FPIOCONST_POW10_ARRAY_SIZE.
29595 * stdlib/gen-fpioconst.c: New file.
29596 * stdlib/gen-tst-strtod-round.c: Likewise.
29597 * stdlib/tst-strtod-round-data: Likewise.
29598 * stdlib/tst-strtod-round.c: Likewise.
29599 * stdlib/Makefile (tests): Add tst-strtod-round.
29600
d6e70f43
JM
29601 [BZ #14459]
29602 * stdlib/strtod_l.c: Include <stdint.h>.
29603 (NDEBUG): Do not define.
29604 (round_and_return): Change EXPONENT parameter to type intmax_t.
29605 Rearrange calculations to avoid internal overflow possibilities.
29606 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29607 Rearrange calculations to avoid internal overflow possibilities.
29608 Assert that number fits inside MPNSIZE limbs.
29609 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29610 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29611 calculations and add assertions to avoid internal overflow
29612 possibilities. Add casts to avoid signed/unsigned operations.
29613 * stdlib/tst-strtod-overflow.c: New file.
29614 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29615
1f529f7d
MP
296162012-08-25 Marek Polacek <polacek@redhat.com>
29617
29618 * time/time.h: Fix some typos in comments.
29619
59a629f1
RM
296202012-08-23 Roland McGrath <roland@hack.frob.com>
29621
29622 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29623 * posix/tst-rfc3484-2.c: Likewise.
29624 * posix/tst-rfc3484-3.c: Likewise.
29625
d3bafbc9
SM
296262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29627
29628 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29629 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29630
4efcc022
JM
296312012-08-23 Joseph Myers <joseph@codesourcery.com>
29632
29633 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29634 #include of fxstatat64.c.
29635
3cc3ef96
RM
296362012-08-22 Roland McGrath <roland@hack.frob.com>
29637
f04e2132
RM
29638 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29639 * shadow/getspent_r.c: Likewise.
29640 * shadow/getspnam.c: Likewise.
29641 * shadow/getspnam_r.c: Likewise.
29642 * gshadow/getsgent.c: Likewise.
29643 * gshadow/getsgent_r.c: Likewise.
29644 * gshadow/getsgnam.c: Likewise.
29645 * gshadow/getsgnam_r.c: Likewise.
29646 * inet/getnetbyad.c: Likewise.
29647 * inet/getnetbyad_r.c: Likewise.
29648 * inet/getnetbynm.c: Likewise.
29649 * inet/getnetbynm_r.c: Likewise.
29650 * inet/getnetent.c: Likewise.
29651 * inet/getnetent_r.c: Likewise.
29652 * inet/getproto.c: Likewise.
29653 * inet/getproto_r.c: Likewise.
29654 * inet/getprtent.c: Likewise.
29655 * inet/getprtent_r.c: Likewise.
29656 * inet/getprtname.c: Likewise.
29657 * inet/getprtname_r.c: Likewise.
29658 * inet/getrpcbyname.c: Likewise.
29659 * inet/getrpcbyname_r.c: Likewise.
29660 * inet/getrpcbynumber.c: Likewise.
29661 * inet/getrpcbynumber_r.c: Likewise.
29662 * inet/getrpcent.c: Likewise.
29663 * inet/getrpcent_r.c: Likewise.
29664 * inet/getaliasent.c: Likewise.
29665 * inet/getaliasent_r.c: Likewise.
29666 * inet/getaliasname.c: Likewise.
29667 * inet/getaliasname_r.c: Likewise.
29668 * nscd/getgrgid_r.c: Likewise.
29669 * nscd/getgrnam_r.c: Likewise.
29670 * nscd/gethstbyad_r.c: Likewise.
29671 * nscd/gethstbynm3_r.c: Likewise.
29672 * nscd/getpwnam_r.c: Likewise.
29673 * nscd/getpwuid_r.c: Likewise.
29674 * nscd/getsrvbynm_r.c: Likewise.
29675 * nscd/getsrvbypt_r.c: Likewise.
29676 * nscd/gai.c: Likewise.
29677
c53d909c
RM
29678 * configure.in (build_nscd): New substituted variable, set
29679 by --disable-build-nscd and defaults to $use_nscd.
29680 * configure: Regenerated.
29681 * config.make.in (build-nscd): New substituted variable.
29682 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29683 Change conditional to require [$(build-nscd) = yes] as well.
29684 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29685
3cc3ef96
RM
29686 [BZ# 13696]
29687 * configure.in (use_nscd): New substituted variable, set by
29688 --disable-nscd. If enabled, define USE_NSCD.
29689 * configure: Regenerated.
29690 * config.h.in: Add USE_NSCD.
29691 * config.make.in (use-nscd): New substituted variable.
29692 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29693 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29694 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29695 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29696 (CFLAGS-getgrnam_r.c): Likewise.
29697 (CFLAGS-initgroups.c): Likewise.
29698 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29699 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29700 Variables removed.
29701 * inet/getnetgrent_r.c
29702 (nscd_setnetgrent): New function, broken out of ...
29703 (setnetgrent): ... here. Call it.
29704 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29705 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29706 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29707 * nscd/Makefile (routines, aux): Move definitions after include of
29708 Makeconfig. Conditionalize on [$(use-nscd) != no].
29709 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29710 Conditionalize on [USE_NSCD].
29711 (is_nscd, nscd_init_cb): Likewise.
29712 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29713 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29714 * nss/nss_db/db-init.c: Likewise.
29715 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29716 [USE_NSCD].
29717 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29718 (make_request): Use it.
29719 (cache_valid_p): New function.
29720 (__check_pf): Use it.
29721 * NEWS: Add item for --disable-nscd.
29722
07e51550
DL
297232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29724
29725 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29726 to support sed >= 4.2.1-20-ga9bf076.
29727 * configure: Regenerated.
29728
35a5b08b
RM
297292012-08-22 Roland McGrath <roland@hack.frob.com>
29730
29731 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29732 Conditionalize whole body on [IREL].
29733
8479f23a
JL
297342012-08-22 Jeff Law <law@redhat.com>
29735
29736 [BZ #14505]
29737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29738 if the family is PF_UNSPEC.
29739
48da0b21
MF
297402012-08-22 Mike Frysinger <vapier@gentoo.org>
29741
29742 * Makerules (lib-version): Rename from V.
29743 (install-lib-nosubdir): Change V to lib-version.
29744
15d0da8c
WS
297452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29746
29747 [BZ #14252]
29748 * powerpc32/power6/wcschr.c: New file.
29749 * powerpc32/power6/wcscpy.c: New file.
29750 * powerpc32/power6/wcsrchr.c: New file.
29751 * powerpc64/power6/wcschr.c: New file.
29752 * powerpc64/power6/wcscpy.c: New file.
29753 * powerpc64/power6/wcsrchr.c: New file.
29754
bcca0895
MK
297552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29756
29757 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29758 (two_way_short_needle): Use it.
5a4aaa33
RM
29759 * string/strstr.c (AVAILABLE1_USES_J): Define.
29760 * string/strcasestr.c: Likewise.
99677e57
MK
29761
29762 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29763 array references.
29764 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29765
400726de
MK
29766 [BZ #11607]
29767 * NEWS: Add an entry.
29768 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29769 define their defaults.
29770 (two_way_short_needle): Detect end-of-string on-the-fly.
29771 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29772 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29773 * string/bug-strcasestr1.c: New test.
29774 * string/Makefile: Run it.
29775
20a71f2c
MK
297762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29777
29778 [BZ #11607]
29779 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29780 the first character.
29781
21ad0558
RM
297822012-08-21 Roland McGrath <roland@hack.frob.com>
29783
29784 * csu/elf-init.c (__libc_csu_irel): Function removed.
29785 * csu/libc-start.c (apply_irel): New function.
29786 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29787
0e1d9911
JM
297882012-08-21 Joseph Myers <joseph@codesourcery.com>
29789
29790 * sysdeps/unix/sysv/linux/kernel-features.h
29791 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29792 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29793 <kernel-features.h>.
29794 [__NR_fadvise64_64]: Make code unconditional.
29795 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29796 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29797 !__NR_fadvise64_64)]: Likewise.
29798 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29799 !__NR_fadvise64_64))]: Likewise.
29800 [__NR_fadvise64]: Make code unconditional.
29801 [!__NR_fadvise64]: Remove conditional code.
29802 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29803 <kernel-features.h>.
29804 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29805 unconditional.
29806 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29807 conditional code.
29808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29809 not include <kernel-features.h>.
29810 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29811 unconditional.
29812 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29813 conditional code.
29814 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29815 include <kernel-features.h>.
29816 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29817 unconditional.
29818 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29819 conditional code.
29820
14a50c9d
WS
298212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29822
29823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29824 slight instruction rearrangements per scrollpipe analysis.
29825 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29826
c0f4faf0
RM
298272012-08-20 Roland McGrath <roland@hack.frob.com>
29828
696da859
RM
29829 * manual/syslog.texi (syslog; vsyslog, closelog):
29830 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29831 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29832
c0f4faf0
RM
29833 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29834 DSOCAPS to match condition on defining it.
29835
348363b2
JM
298362012-08-20 Joseph Myers <joseph@codesourcery.com>
29837
a35cbf28
JM
29838 * sysdeps/unix/sysv/linux/kernel-features.h
29839 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29841 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29842 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29847 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29848 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29849
445f7ecd
JM
29850 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29851 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29852
348363b2
JM
29853 * sysdeps/unix/sysv/linux/kernel-features.h
29854 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29855 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29856 unconditional.
29857 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29858 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29859 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29860 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29861 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29862 Make code unconditional.
29863 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29864 (__mmap64) [!__NR_mmap2]: Likewise.
29865 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29866 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29867 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29868 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29869 [__NR_mmap2]: Make code unconditional.
29870 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29871 (__mmap64) [!__NR_mmap2]: Likewise.
29872
bc5bc0e5
AK
298732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29874
29875 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29876
88d506de
AJ
298772012-08-18 Andreas Jaeger <aj@suse.de>
29878
29879 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29880
493387d2
MF
298812012-08-18 Mike Frysinger <vapier@gentoo.org>
29882
29883 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29884 * include/unistd.h (__have_sock_cloexec): Likewise.
29885 (__have_pipe2): Likewise.
29886 (__have_dup3): Likewise.
29887
a277af22
MF
298882012-08-18 Mike Frysinger <vapier@gentoo.org>
29889
29890 [BZ #9685]
29891 * include/unistd.h (__have_pipe2): Change define into an extern int.
29892 (__have_dup3): Likewise.
29893 * socket/have_sock_cloexec.c: Include fcntl.h.
29894 (__have_pipe2): New variable.
29895 (__have_dup3): Likewise.
29896
fdab8fd3
MF
298972012-08-17 Mike Frysinger <vapier@gentoo.org>
29898
29899 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29900
31035e80
MP
299012012-08-17 Marek Polacek <polacek@redhat.com>
29902
29903 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29904 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29905
3bd9e993
RM
299062012-08-17 Roland McGrath <roland@hack.frob.com>
29907
c91c505f
RM
29908 * configure.in: Add AC_SUBST for sysheaders.
29909 * configure: Regenerated.
29910 * config.make.in (sysheaders): New substituted variable.
29911
7c6f9d53
RM
29912 * sysdeps/unix/mkfifo.c: Moved ...
29913 * sysdeps/posix/mkfifo.c: ... here.
29914 * sysdeps/unix/mkfifoat.c: Moved ...
29915 * sysdeps/posix/mkfifoat.c: ... here.
29916
29917 * sysdeps/unix/utime.c: Moved ...
29918 * sysdeps/posix/utime.c: ... here.
29919
29920 * sysdeps/unix/time.c: Moved ...
29921 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29922 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29923 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29924
29925 * sysdeps/unix/nice.c: Moved ...
29926 * sysdeps/posix/nice.c: ... here.
29927
29928 * sysdeps/unix/alarm.c: Moved ...
29929 * sysdeps/posix/alarm.c: ... here.
29930
3bd9e993
RM
29931 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29932
d1f09384
JL
299332012-08-17 Jeff Law <law@redhat.com>
29934
29935 * intl/Makefile (codeset_mo): New variable.
29936 ($(codeset_mo)): New target.
29937 (tst-codeset.out): Depend on that. Remove explicit rule.
29938 (tst-gettext3.out, tst-gettext5.out): Likewise.
29939 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29940 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29941 * intl/tst-codeset.sh: Remove.
29942 * intl/tst-gettext3.sh: Likewise.
29943 * intl/tst-gettext5.sh: Likewise.
29944
2ae1ae5c
RM
299452012-08-17 Roland McGrath <roland@hack.frob.com>
29946
c31fdb83
RM
29947 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29948 * sysdeps/unix/syscalls.list: ... here.
29949
a0844057
RM
29950 * sysdeps/posix/getaddrinfo.c
29951 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29952 (gaiconf_init, gaiconf_reload): Use them.
29953 [!_STATBUF_ST_NSEC]
29954 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29955 Define using time_t rather than struct timespec.
29956
750c1f2a
RM
29957 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29958 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29959 Macros removed.
29960 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29961 [!NO_THREADS].
29962 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29963 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29964 Likewise.
29965
2ae1ae5c
RM
29966 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29967 __libc_cleanup_push argument.
29968
e66a42f5
RM
29969 * bits/param.h: New file.
29970 * misc/sys/param.h: New file.
29971 * include/sys/param.h: New file.
29972 * misc/Makefile (headers): Add bits/param.h.
29973 * sysdeps/generic/sys/param.h: File removed.
29974 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29975 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29976 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 29977 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 29978
b7c08a66
RM
29979 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29980 last change.
29981
b2e1c562
RM
29982 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29983 [_IO_MTSAFE_IO].
29984 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29985 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29986 New macros.
29987
c75ccd4c
RM
29988 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29989 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29990 rather than -D_IO_MTSAFE_IO conditionally.
29991 * stdio-common/Makefile (CPPFLAGS): Likewise.
29992 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29993 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29994 Use $(libio-mtsafe).
29995 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29996 of -D_IO_MTSAFE_IO.
29997 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29998 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29999 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30000 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30001 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30002 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30003 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30004 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30005 (CFLAGS-fread_u_chk.c): Likewise.
30006 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30007 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30008 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30009 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30010 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30011 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30012 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30013 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30014 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30015
30016 * libio/Makefile: Test [$(libc-reentrant) = yes]
30017 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30018
30019 * Makeconfig
30020 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30021 * sysdeps/pthread/configure: File removed.
30022 * sysdeps/pthread/Makeconfig: New file.
30023 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30024 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30025
d9195db8
GB
300262012-08-16 Gary Benson <gbenson@redhat.com>
30027
30028 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30029 unmapping the first object in a namespace.
30030
86466cd9
RM
300312012-08-16 Roland McGrath <roland@hack.frob.com>
30032
30033 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30034 (__internal_setnetgrent): ... this. Add internal_function to
30035 definition. Add libc_hidden_def.
30036 (setnetgrent): Update caller.
30037 (internal_endnetgrent): Renamed to ...
30038 (__internal_endnetgrent): ... this. Add internal_function to
30039 definition. Add libc_hidden_def.
30040 (endnetgrent): Update caller.
30041 (internal_getnetgrent_r): Renamed to ...
30042 (__internal_getnetgrent_r): ... this. Add internal_function to
30043 definition. Add libc_hidden_def.
30044 (__getnetgrent_r): Update caller.
30045 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30046
c3c8283c
JM
300472012-08-16 Joseph Myers <joseph@codesourcery.com>
30048
30049 * stdlib/longlong.h: Update from GCC.
30050
db1ee0a8
RM
300512012-08-16 Roland McGrath <roland@hack.frob.com>
30052
30053 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30054 on _QL, which is set by umul_ppmm but never used.
30055 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30056 variables, which are set by GMP macros but never used.
30057 * stdio-common/_itowa.c (_itowa): Likewise.
30058 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30059 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30060
30f69637
CD
300612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30062
30063 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30064 struct La_sh_regs is not constant.
30065 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30066 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30067 and struct La_sparc64_regs are not constant.
30068
93a78ac4
JM
300692012-08-16 Joseph Myers <joseph@codesourcery.com>
30070
30071 * sysdeps/unix/sysv/linux/kernel-features.h
30072 (__ASSUME_POSIX_TIMERS): Remove.
30073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30074 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30075 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30076 Make code unconditional.
30077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30078 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30079 Make code unconditional.
30080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30081 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30082 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30084 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30085 Make code unconditional.
30086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30087 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30088 (__libc_missing_posix_timers): Remove.
30089
dd924cd7
RM
300902012-08-15 Roland McGrath <roland@hack.frob.com>
30091
4b4f2771
RM
30092 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30093 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30094
601c888b
RM
30095 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30096
176790a7
RM
30097 * elf/dl-sym.c: Include <stdlib.h>.
30098
329bc018
RM
30099 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30100 constants, which avoids warnings in 32-bit builds.
30101
e04e272d
RM
30102 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30103 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30104
952bf94a
RM
30105 * misc/lseek.c: File moved to ...
30106 * io/lseek.c: ... here.
30107
7c99b50a
RM
30108 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30109
dd924cd7
RM
30110 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30111 shifting LEN more than 31 bits at once.
30112
b3f479a8
LD
301132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30114
30115 [BZ #14195]
8c4ae0d4
RM
30116 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30117 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30118 * string/test-strncasecmp.c (check1): Renamed to...
30119 (bz12205): ...this.
30120 (bz14195): Add new testcase for two empty input strings and N > 0.
30121 (test_main): Call new testcase, adapt for renamed function.
30122
9c55864e
AJ
301232012-08-15 Andreas Jaeger <aj@suse.de>
30124
30125 [BZ #14090]
30126 * crypt/md5test2.c: New test, based on test supplied by Serge
30127 Belyshev <belyshev@depni.sinp.msu.ru>.
30128 * crypt/Makefile (xtests): Add md5test-giant..
30129 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30130
02dcb6c5
PE
301312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30132
30133 [BZ #14090]
30134 * crypt/md5.c (md5_process_block): Don't assume the buffer
30135 length is less than 2**32.
30136 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30137 length is less than 2**64.
30138
a3f95dcc
RM
301392012-08-15 Roland McGrath <roland@hack.frob.com>
30140
be75d758
RM
30141 * string/str-two-way.h: Include <sys/param.h>.
30142 (MAX): Macro removed.
30143
7312ca90
RM
30144 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30145 Move #define and #undef of memmove to just before and after
30146 including <string.h>.
30147
9a0a5486
RM
30148 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30149 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30150 and after including <string.h>. Move declarations of
30151 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30152 to before #include "string/memmove.c".
30153
67cc348d
RM
30154 * include/dirent.h: Declare __getdirentries.
30155
a3f95dcc
RM
30156 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30157 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30158
ca98e171
MF
301592012-08-14 Mike Frysinger <vapier@gentoo.org>
30160
30161 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30162 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30163 * sysdeps/i386/configure: Regenerated.
30164 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30165 STABS_CURRENT_FILE, and STABS_FUN.
30166 (END): Remove call to STABS_FUN_END.
30167 (STABS_CURRENT_FILE1): Delete.
30168 (STABS_CURRENT_FILE): Likewise.
30169 (STABS_FUN): Likewise.
30170 (STABS_FUN_END): Likewise.
30171 (STABS_FUN2): Likewise.
30172 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30173 * sysdeps/x86_64/configure: Regenerated.
30174
5908bf46
RM
301752012-08-14 Roland McGrath <roland@hack.frob.com>
30176
30177 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30178 * elf/dl-lookup.c: Likewise.
5908bf46 30179
f2c05b9e
JM
301802012-08-14 Joseph Myers <joseph@codesourcery.com>
30181
30182 * sysdeps/unix/sysv/linux/kernel-features.h
30183 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30184 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30185 unconditionally.
30186 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30187 unconditionally.
30188 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30189 condition on __ASSUME_CLONE_THREAD_FLAGS.
30190
e11f5155
AJ
301912012-08-14 Andreas Jaeger <aj@suse.de>
30192
30193 * sysdeps/i386/fpu/libm-test-ulps: Update.
30194
51a9ba86
MK
301952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30196
2fdd4f78
AJ
30197 * include/atomic.h (atomic_exchange_and_add): Split into ...
30198 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30199 New atomic macros.
51a9ba86 30200
ba6cba9e
MT
302012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30202
30203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30204
42443a47
JL
302052012-08-13 Jeff Law <law@redhat.com>
30206
30207 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30208 null byte in the output string.
30209
121dce05
JM
302102012-08-10 Joseph Myers <joseph@codesourcery.com>
30211
30212 * sysdeps/unix/sysv/linux/kernel-features.h
30213 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30214 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30215 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30217 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30218 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30219 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30220
bf51f568
JL
302212012-08-09 Jeff Law <law@redhat.com>
30222
30223 [BZ #13939]
30224 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30225 When avoid_arena is set, don't retry in the that arena. Pick the
30226 next one, whatever it might be.
30227 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30228 (arena_lock): Pass in new parameter to arena_get2.
30229 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30230 arena_get2.
30231 (__libc_malloc): Unify retrying after main arena failure with
30232 __libc_memalign version.
30233 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30234
f85fa270
L
302352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30236
30237 [BZ #14166]
30238 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30239 to __redirect_strstr.
30240 (__strstr_sse42): Use typeof __redirect_strstr.
30241 (__strstr_ia32): Likewise.
30242 (__libc_strstr): New prototype.
30243 (strstr): Renamed to ...
30244 (__libc_strstr): This.
30245 (strstr): New strong alias of __libc_strstr.
30246 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30247 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30248 __redirect_time.
30249 Include <time.h>.
30250 (__libc_time): New prototype.
30251 (time_ifunc): Replace time with __libc_time.
30252 (time): New strong alias and hidden definition of __libc_time.
30253 (__GI_time): Remove strong alias.
30254 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30255 Include <stddef.h>.
30256 (memmove): Redefined to __redirect_memmove.
30257 (__memmove_sse2): Use typeof __redirect_memmove.
30258 (__memmove_ssse3): Likewise.
30259 (__memmove_ssse3_back): Likewise.
30260 (__libc_memmove): New prototype.
30261 (memmove): Renamed to ...
30262 (__libc_memmove): This.
30263 (memmove): New strong alias of __libc_memmove.
30264
33b4a91e
MS
302652012-08-08 Mark Salter <msalter@redhat.com>
30266
30267 * elf/elf.h
30268 (R_MN10300_TLS_GD): Define.
30269 (R_MN10300_TLS_LD): Likewise.
30270 (R_MN10300_TLS_LDO): Likewise.
30271 (R_MN10300_TLS_GOTIE): Likewise.
30272 (R_MN10300_TLS_IE): Likewise.
30273 (R_MN10300_TLS_LE): Likewise.
30274 (R_MN10300_TLS_DTPMOD): Likewise.
30275 (R_MN10300_TLS_DTPOFF): Likewise.
30276 (R_MN10300_TLS_TPOFF): Likewise.
30277 (R_MN10300_SYM_DIFF): Likewise.
30278 (R_MN10300_ALIGN): Likewise.
30279 (R_MN10300_NUM): Update.
30280
b36137f1
JM
302812012-08-08 Joseph Myers <joseph@codesourcery.com>
30282
30283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30284 Remove.
30285
cdd915fd
RM
302862012-08-08 Roland McGrath <roland@hack.frob.com>
30287
a2433aac
RM
30288 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30289
cdd915fd
RM
30290 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30291 sysdeps/unix -> sysdeps/posix move.
30292 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30293
bf9b740a
AM
302942012-08-07 Allan McRae <allan@archlinux.org>
30295
30296 [BZ #14303]
30297 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30298 (SUNOS_CPP): Likewise.
30299 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30300 not found.
30301 (open_input): Call CPP using execvp.
30302
93df14ee
JM
303032012-08-07 Joseph Myers <joseph@codesourcery.com>
30304
30305 * sysdeps/unix/sysv/linux/kernel-features.h
30306 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30307 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30308 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30309 (__ASSUME_WAITID_SYSCALL): Likewise.
30310 * sysdeps/unix/sysv/linux/dl-execstack.c
30311 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30312 code unconditional.
30313 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30314 conditional code.
30315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30316 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30317 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30318 code.
30319 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30320 unconditional.
30321 [__ASSUME_WAITID_SYSCALL]: Likewise.
30322 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30323
d34689de
RM
303242012-08-07 Roland McGrath <roland@hack.frob.com>
30325
a281decc
RM
30326 * sysdeps/unix/closedir.c: Renamed to ...
30327 * sysdeps/posix/closedir.c: ... here.
30328 * sysdeps/unix/dirfd.c: Renamed to ...
30329 * sysdeps/posix/dirfd.c: ... here.
30330 * sysdeps/unix/dirstream.h: Renamed to ...
30331 * sysdeps/posix/dirstream.h: ... here.
30332 * sysdeps/unix/fdopendir.c: Renamed to ...
30333 * sysdeps/posix/fdopendir.c: ... here.
30334 * sysdeps/unix/opendir.c: Renamed to ...
30335 * sysdeps/posix/opendir.c: ... here.
30336 * sysdeps/unix/readdir.c: Renamed to ...
30337 * sysdeps/posix/readdir.c: ... here.
30338 * sysdeps/unix/readdir_r.c: Renamed to ...
30339 * sysdeps/posix/readdir_r.c: ... here.
30340 * sysdeps/unix/rewinddir.c: Renamed to ...
30341 * sysdeps/posix/rewinddir.c: ... here.
30342 * sysdeps/unix/seekdir.c: Renamed to ...
30343 * sysdeps/posix/seekdir.c: ... here.
30344 * sysdeps/unix/telldir.c: Renamed to ...
30345 * sysdeps/posix/telldir.c: ... here.
30346 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30347 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30348 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30349 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30350
22895b47
RM
30351 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30352 * bits/fcntl.h: ... here.
30353
707a53b6
RM
30354 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30355 not 0.
30356 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30357 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30358 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30359 (struct flock): Move l_start, l_len to the beginning.
30360 Use __pid_t for l_pid.
30361 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30362 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30363 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30364 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30365 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30366 [__USE_LARGEFILE64] (struct flock64): New type.
30367 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30368
f0bd3e25
RM
30369 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30370 * bits/dirent.h: ... here.
30371
d34689de
RM
30372 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30373 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30374
6dad2c06
JM
303752012-08-07 Joseph Myers <joseph@codesourcery.com>
30376
30377 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30378 Change from 2.6.0 to 2.6.16.
30379 * sysdeps/unix/sysv/linux/configure: Regenerated.
30380 * sysdeps/unix/sysv/linux/kernel-features.h
30381 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30382 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30383 version.
30384 (__ASSUME_UTIMES): Likewise.
30385 (__ASSUME_CLONE_STOPPED): Remove.
30386 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30387 architectures, not kernel version.
30388 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30389 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30390 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30391 (__ASSUME_WAITID_SYSCALL): Likewise.
30392 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30393 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30394 * README: State 2.6.16 as minimum Linux kernel version. Do not
30395 refer to older versions.
30396
03af9520
RM
303972012-08-06 Roland McGrath <roland@hack.frob.com>
30398
8e49df1d
RM
30399 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30400 Define alphasort64 as an alias.
30401 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30402 Define versionsort64 as an alias.
30403 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30404 Define scandir64 as an alias.
30405 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30406 Define scandirat64 as an alias.
30407 * dirent/alphasort64.c (alphasort64):
30408 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30409 * dirent/versionsort64.c: Likewise.
30410 * dirent/scandir64.c: Likewise.
30411 * dirent/scandirat64.c: Likewise.
30412 * sysdeps/wordsize-64/alphasort.c: File removed.
30413 * sysdeps/wordsize-64/alphasort64.c: File removed.
30414 * sysdeps/wordsize-64/scandir.c: File removed.
30415 * sysdeps/wordsize-64/scandir64.c: File removed.
30416 * sysdeps/wordsize-64/scandirat.c: File removed.
30417 * sysdeps/wordsize-64/scandirat64.c: File removed.
30418 * sysdeps/wordsize-64/versionsort.c: File removed.
30419 * sysdeps/wordsize-64/versionsort64.c: File removed.
30420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30421 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30422 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30423 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30424 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30425 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30426 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30427 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30428
30429 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30431 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30433 [defined __arch64__ || defined __sparcv9]
30434 (__INO_T_MATCHES_INO64_T): New macro.
30435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30436 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30437 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30438 * sysdeps/unix/sysv/linux/bits/dirent.h
30439 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30440 (_DIRENT_MATCHES_DIRENT64): New macro.
30441
03af9520
RM
30442 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30443 Define lockf64 as an alias.
30444 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30445 Define fseeko64 as an alias.
30446 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30447 Define ftello64 as an alias.
30448 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30449 Define _IO_fgetpos64 and fgetpos64 as aliases.
30450 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30451 Define _IO_fsetpos64 and fsetpos64 as aliases.
30452 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30453 Conditionalize body on this.
30454 * libio/fseeko64.c: Likewise.
30455 * libio/ftello64.c: Likewise.
30456 * libio/iofgetpos64.c: Likewise.
30457 * libio/iofsetpos64.c: Likewise.
30458 * sysdeps/wordsize-64/lockf.c: File removed.
30459 * sysdeps/wordsize-64/lockf64.c: File removed.
30460 * sysdeps/wordsize-64/fseeko.c: File removed.
30461 * sysdeps/wordsize-64/fseeko64.c: File removed.
30462 * sysdeps/wordsize-64/ftello.c: File removed.
30463 * sysdeps/wordsize-64/ftello64.c: File removed.
30464 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30465 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30466 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30467 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30468 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30470 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30471 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30472 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30473 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30474 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30475 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30476 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30477 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30478
30479 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30481 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30483 [defined __arch64__ || defined __sparcv9]
30484 (__OFF_T_MATCHES_OFF64_T): New macro.
30485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30486 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30488 (__OFF_T_MATCHES_OFF64_T): New macro.
30489
c5757acd
L
304902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30491
30492 * stdlib/secure-getenv.c (__secure_getenv): Replace
30493 GLIBC_2_16 with GLIBC_2_17.
30494
3a31811e
L
304952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30496
30497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30499
faa2bccb
DM
305002012-08-03 David S. Miller <davem@davemloft.net>
30501
30502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30503
85fe1997
JM
305042012-08-03 Joseph Myers <joseph@codesourcery.com>
30505
30506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30507 Remove.
30508 (__ASSUME_CORRECT_SI_PID): Likewise.
30509 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30510 (__ASSUME_TMPFS_NAME): Likewise.
30511 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30512 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30513 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30514 (HAVE_AUX_SECURE): Make definition unconditional.
30515 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30516 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30517
4f75b7a0
RM
305182012-08-03 Roland McGrath <roland@hack.frob.com>
30519
30520 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30521 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30522 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30523 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30524 __eloop_threshold instead of SYMLOOP_MAX.
30525
30526 * sysdeps/generic/eloop-threshold.h: New file.
30527 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30528 of MAXSYMLINKS.
30529 * elf/chroot_canon.c (chroot_canon): Likewise.
30530
7aab07e4
JM
305312012-08-03 Joseph Myers <joseph@codesourcery.com>
30532
30533 [BZ #13717]
30534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30535 Change to 2.6.0 everywhere.
30536 * sysdeps/unix/sysv/linux/configure: Regenerated.
30537 * sysdeps/unix/sysv/linux/kernel-features.h
30538 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30539 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30540 kernel versions.
30541 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30542 (__ASSUME_FUTEX_REQUEUE): Remove.
30543 (__ASSUME_STATFS64): Define unconditionally.
30544 (__ASSUME_AT_SECURE): Likewise.
30545 (__ASSUME_CORRECT_SI_PID): Likewise.
30546 (__ASSUME_TGKILL): Define without depending on kernel version for
30547 i386.
30548 (__ASSUME_UTIMES): Likewise.
30549 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30550 kernel version.
30551 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30552 (__ASSUME_TMPFS_NAME): Likewise.
30553 * README: Update reference to Linux kernel versions.
30554
b67e9372
MP
305552012-08-02 Marek Polacek <polacek@redhat.com>
30556
1f529f7d 30557 [BZ# 14150]
b67e9372
MP
30558 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30559 libc_cv_asm_type_prefix with %.
30560 * configure: Regenerated.
d2441631
RM
30561 * include/libc-symbols.h: Remove comment about
30562 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30563 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30564 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30565 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30566 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30567 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30568 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30569 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30570 * elf/tst-unique2mod1.c: Likewise.
30571 * elf/tst-unique1mod2.c: Likewise.
30572 * elf/tst-unique1mod1.c: Likewise.
30573 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30574 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30575 Replace ASM_TYPE_DIRECTIVE with .type.
30576 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30577 * sysdeps/i386/sysdep.h: Likewise.
30578 * sysdeps/x86_64/sysdep.h: Likewise.
30579 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30581 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30582 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30583 * sysdeps/powerpc/powerpc32/sysdep.h:
30584 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30585 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30586 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30587 * sysdeps/i386/fpu/e_powf.S: Likewise.
30588 * sysdeps/i386/fpu/e_expl.S: Likewise.
30589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30590 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30591 * sysdeps/i386/fpu/e_pow.S: Likewise.
30592 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30593 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30594 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30595 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30596 * sysdeps/i386/fpu/e_log2.S: Likewise.
30597 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30599 * sysdeps/i386/fpu/e_powl.S: Likewise.
30600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30601 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30602 * sysdeps/i386/fpu/e_logl.S: Likewise.
30603 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30604 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30605 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30607 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30608 * sysdeps/i386/fpu/e_log.S: Likewise.
30609 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30610 * sysdeps/i386/fpu/e_logf.S: Likewise.
30611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30612 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30613 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30614 * sysdeps/i386/fpu/e_log10.S: Likewise.
30615 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30616 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30617 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30618 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30620 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30621 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30622 * sysdeps/i386/i686/strtok.S: Likewise.
30623 * sysdeps/i386/i386-mcount.S: Likewise.
30624 * sysdeps/i386/strtok.S: Likewise.
30625 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30626 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30629 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30630 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30631 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30632 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30633 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30634 * sysdeps/x86_64/_mcount.S: Likewise.
30635 * sysdeps/x86_64/strtok.S: Likewise.
30636 * sysdeps/sh/_mcount.S: Likewise.
30637
2747bf9a
RM
306382012-08-01 Roland McGrath <roland@hack.frob.com>
30639
30640 * libio/iofopen.c: Include <fcntl.h>.
30641 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30642 (_IO_fopen64, fopen64): Define as aliases.
30643 * libio/iofopen64.c: Include <fcntl.h>.
30644 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30645 Conditionalize body on this.
30646 * sysdeps/wordsize-64/iofopen.c: File removed.
30647 * sysdeps/wordsize-64/iofopen64.c: File removed.
30648
3fb791b8
MP
306492012-08-01 Marek Polacek <polacek@redhat.com>
30650
30651 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30652 Use dlfcn directly instead of a variable.
30653 (binfmt-subdir): Do not define.
30654 (dlfcn): Likewise.
30655
a9f1039f
JM
306562012-08-01 Joseph Myers <joseph@codesourcery.com>
30657
23bddc06
JM
30658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30659 Remove all definitions.
30660 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30661 <kernel-features.h>.
30662 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30663 (miss_F_GETOWN_EX): Remove all definitions.
30664 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30665 macro definition.
30666 [!__ASSUME_FCNTL64]: Remove conditional code.
30667 [__ASSUME_FCNTL64]: Make code unconditional.
30668 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30669 <kernel-features.h>.
30670 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30671 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30672 (lockf64) [__NR_fcntl64]: Make code unconditional.
30673 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30674
a9f1039f
JM
30675 * sysdeps/unix/sysv/linux/kernel-features.h
30676 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30677 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30678 Make code unconditional.
30679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30682 [__NR_vfork]: Make code unconditional.
30683 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30684 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30686 [__NR_vfork]: Make code unconditional.
30687 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30688 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30689
09c0ee5f
RM
306902012-08-01 Roland McGrath <roland@hack.frob.com>
30691
48aec5b9
RM
30692 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30693 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30694
cd97c966
RM
30695 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30696 Define mkstemp64 as an alias.
3f55550c
RM
30697 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30698 Define mkstemps64 as an alias.
cd97c966
RM
30699 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30700 Define mkostemp64 as an alias.
b8625cfc
RM
30701 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30702 Define mkostemps64 as an alias.
cd97c966
RM
30703 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30704 Conditionalize body on this.
30705 * misc/mkostemp64.c: Likewise.
b8625cfc 30706 * misc/mkostemps64.c: Likewise.
3f55550c 30707 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30708 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30709 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30710 * sysdeps/wordsize-64/mkostemp.c: File removed.
30711 * sysdeps/wordsize-64/mkstemp.c: File removed.
30712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30713 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30714 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30716
09c0ee5f
RM
30717 [BZ #14138]
30718 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30719 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30720 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30721 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30722
30723 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30724 compat_symbol macros from <shlib-compat.h> rather than the underlying
30725 default_symbol_version and symbol_version macros, so that DEFAULT
30726 lines in shlib-versions are respected.
30727 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30728
7e66ee51
FW
307292012-08-01 Florian Weimer <fweimer@redhat.com>
30730
30731 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30732 Declare with warn_unused_result.
30733 (setgid, setregid, setegid, setresgid): Likewise.
30734 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30735 Likewise.
30736 * WUR-REPORT: Remove set*id functions.
30737
d2a54255
PT
307382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30739
30740 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30741
7ecdb005
RM
307422012-07-31 Roland McGrath <roland@hack.frob.com>
30743
b4180a5e 30744 [BZ #10191]
789bd351
RM
30745 * include/sys/socket.h (__libc_accept, __libc_accept4):
30746 Add attribute_hidden.
30747 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30748
40ce302d
RM
30749 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30750 use of PTR_MANGLE.
30751 * inet/getnetgrent_r.c (setup): Likewise.
30752
7ecdb005
RM
30753 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30754
e2eabb2c
DM
307552012-07-31 David S. Miller <davem@davemloft.net>
30756
30757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30758
d0419dbf
JM
307592012-07-31 Joseph Myers <joseph@codesourcery.com>
30760
30761 [BZ #13629]
30762 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30763 value between 1.0 and 2.0 and smaller part has absolute value less
30764 than 1.0.
30765 * math/s_clog10.c (__clog10): Likewise.
30766 * math/s_clog10f.c (__clog10f): Likewise.
30767 * math/s_clog10l.c (__clog10l): Likewise.
30768 * math/s_clogf.c (__clogf): Likewise.
30769 * math/s_clogl.c (__clogl): Likewise.
30770 * math/libm-test.inc (clog_test): Add more tests.
30771 (clog10_test): Likewise.
30772 * sysdeps/i386/fpu/libm-test-ulps: Update.
30773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30774
2bc13872
FW
307752012-07-31 Florian Weimer <fweimer@redhat.com>
30776
30777 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30778 Exit with zero in case no suitable GID is found, and write a
30779 message to standard error.
30780
bea9b193
RM
307812012-07-30 Roland McGrath <roland@hack.frob.com>
30782
30783 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30784 rather than to 1.
30785 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30786 (MAXPATHLEN): Removed.
30787 (NOGROUP, NODEV): New macros.
30788 (setbit, clrbit, isset, isclr): New macros.
30789 (howmany, roundup, powerof2): New macros.
30790 (DEV_BSIZE): New macro.
30791
30792 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30793 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30794
30795 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30796 definition on [!__NO_LONG_DOUBLE_MATH].
30797
30798 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30799 PTR_MANGLE and PTR_DEMANGLE.
30800
30801 * socket/accept4.c (accept4): Rename to __libc_accept4.
30802 Define accept4 as a weak alias.
30803
30804 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30805 on [_DIRENT_HAVE_D_TYPE].
30806 * io/ftw.c (ftw_dir): Likewise.
30807
30808 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30809
30810 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30811
30812 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30813 Use the BSD numbers rather than the arbitrary ones we had.
30814 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30815 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30816 (SIGXCPU, SIGXFSZ): New macros.
30817 (_NSIG): Now 32.
30818
30819 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30820 initializer on [_LIBC_REENTRANT].
30821
30822 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30823 definitions inside [_POSIX_MAPPED_FILES].
30824
30825 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30826
30827 * dirent/opendir.c: Include <fcntl.h>.
30828
30829 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30830 (__libc_getspecific): Likewise.
30831 (__libc_key_create): Likewise.
30832
30833 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30834 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30835 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30836 (tmpfile64): Define as alias.
30837 * sysdeps/wordsize-64/tmpfile.c: File removed.
30838 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30841
30842 * stdio-common/vfscanf.c: Include <stdbool.h>.
30843 * nss/makedb.c: Likewise.
30844 * stdio-common/_i18n_number.h: Likewise.
30845 * argp/argp-help.c: Likewise.
30846 * posix/wordexp.c: Likewise.
30847 * sysdeps/posix/spawni.c: Likewise.
30848 * nss/nss_files/files-initgroups.c: Likewise.
30849 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30850 * nss/nss_files/files-initgroups.c: Likewise.
30851 * nss/nss_db/db-netgrp.c: Likewise.
30852 * nss/nss_db/db-initgroups.c: Likewise.
30853 * io/fchmodat.c: Include <sys/stat.h>.
30854
30855 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30856 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30857
30858 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30859 [HAVE_MMAP].
30860
30861 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30862 Add multiple inclusion protection.
30863
e5abc686
DM
308642012-07-27 David S. Miller <davem@davemloft.net>
30865
30866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30867
815e6fa3
GB
308682012-07-27 Gary Benson <gbenson@redhat.com>
30869
30870 [BZ #14298]
30871 * elf/rtld.c: Include <stap-probe.h>.
30872 (dl_main): Added static probes "init_start" and "init_complete".
30873 * elf/dl-load.c: Include <stap-probe.h>.
30874 (lose): Take new parameter "nsid".
30875 Added static probe "map_failed".
30876 (_dl_map_object_from_fd): Pass namespace id to lose.
30877 Added static probe "map_start".
30878 (open_verify): Pass namespace id to lose.
30879 * elf/dl-open.c: Include <stap-probe.h>.
30880 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30881 and "reloc_complete".
30882 * elf/dl-close.c: Include <stap-probe.h>.
30883 (_dl_close_worker): Added static probes "unmap_start" and
30884 "unmap_complete".
30885 * elf/rtld-debugger-interface.txt: New file documenting the above.
30886
9f98c16c
RM
308872012-07-26 Roland McGrath <roland@hack.frob.com>
30888
30889 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30890 rather than a string variable.
30891 * sunrpc/rpc_main.c (h_output): Likewise.
30892 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30893
f3c22df3
PT
308942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30895
30896 * inet/check_native.c: New file.
30897
3129cfc6
JM
308982012-07-26 Joseph Myers <joseph@codesourcery.com>
30899
da865e95
JM
30900 [BZ #13629]
30901 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30902 if larger part has absolute value 1.0.
30903 * math/s_clog10.c (__clog10): Likewise.
30904 * math/s_clog10f.c (__clog10f): Likewise.
30905 * math/s_clog10l.c (__clog10l): Likewise.
30906 * math/s_clogf.c (__clogf): Likewise.
30907 * math/s_clogl.c (__clogl): Likewise.
30908 * math/libm-test.inc (clog_test): Add more tests.
30909 (clog10_test): Likewise.
30910 * sysdeps/i386/fpu/libm-test-ulps: Update.
30911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30912
3129cfc6
JM
30913 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30914 (pltexit): Likewise.
30915 (La_regs): Likewise.
30916 (La_retval): Likewise.
30917 (int_retval): Likewise.
30918 Update #error for removed macros to refer only to definitions in
30919 tst-audit.h.
30920 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30921 macro.
30922 (pltexit): Likewise.
30923 (La_regs): Likewise.
30924 (La_retval): Likewise.
30925 (int_retval): Likewise.
30926 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30927 macro.
30928 (pltexit): Likewise.
30929 (La_regs): Likewise.
30930 (La_retval): Likewise.
30931 (int_retval): Likewise.
30932 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30933 macro.
30934 (pltexit): Likewise.
30935 (La_regs): Likewise.
30936 (La_retval): Likewise.
30937 (int_retval): Likewise.
30938 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30939 macro.
30940 (pltexit): Likewise.
30941 (La_regs): Likewise.
30942 (La_retval): Likewise.
30943 (int_retval): Likewise.
30944 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30945 macro.
30946 (pltexit): Likewise.
30947 (La_regs): Likewise.
30948 (La_retval): Likewise.
30949 (int_retval): Likewise.
30950 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30951 macro.
30952 (pltexit): Likewise.
30953 (La_regs): Likewise.
30954 (La_retval): Likewise.
30955 (int_retval): Likewise.
30956 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30957 macro definitions in tst-audit.h.
30958 * sysdeps/i386/tst-audit.h: New file.
30959 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30960 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30961 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30962 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30963 * sysdeps/sh/tst-audit.h: Likewise.
30964 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30965 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30966 * sysdeps/x86_64/tst-audit.h: Likewise.
30967
bfc07087
AJ
309682012-07-26 Andreas Jaeger <aj@suse.de>
30969
b1b2aaf8
AJ
30970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30971 ptrace.
30972
30973 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30974 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30975 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30976 PTRACE_O_MASK.
30977 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30978 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30979 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30980
bfc07087
AJ
30981 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30982 value.
30983
30984 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30985 _sigsys.
30986 (si_call_addr, si_syscall, si_arch): Define new macro.
30987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30988 _sigsys.
30989 (si_call_addr, si_syscall, si_arch): Define new marcro.
30990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30991 _sigsys.
30992 (si_call_addr, si_syscall, si_arch): Define new macro.
30993 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30994 _sigsys.
30995 (si_call_addr, si_syscall, si_arch): Define new macro.
30996
89b4b02f
JM
309972012-07-25 Joseph Myers <joseph@codesourcery.com>
30998
30999 [BZ #13717]
31000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31001 Change to 2.4.21 where previously 2.4.1.
31002 * sysdeps/unix/sysv/linux/configure: Regenerated.
31003 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31004 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31005 Linux kernel version.
31006 (__ASSUME_STD_AUXV): Remove.
31007 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31008 kernel version.
31009 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31010 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31011 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31012 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31013 (__ASSUME_NETLINK_SUPPORT): Likewise.
31014 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31015 (__no_netlink_support): Remove conditional definition.
31016 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31017 Remove.
31018 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31019 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31020 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31021 (if_nameindex_ioctl): Remove.
31022 (if_nameindex_netlink): Do not handle __no_netlink_support.
31023 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31024 code.
31025 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31026 Remove conditional code.
31027 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31028 code.
31029 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31030 unconditional.
31031 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31032 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31033 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31034 Remove.
31035 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31036 [!__ASSUME_STD_AUXV]: Remove conditional code.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31038 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31039 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31041 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31042 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31043 code.
31044 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31046 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31047 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31048 conditional code.
31049 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31051 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31052 code.
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31054 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31055 conditional code.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31057 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31058 code unconditional.
31059 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31060 conditional code.
31061 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31062 unconditional.
31063 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31064 conditional code.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31066 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31067 unconditional.
31068 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31069 conditional code.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31071 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31072 code unconditional.
31073 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31074 conditional code.
31075 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31076 unconditional.
31077 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31078 conditional code.
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31080 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31081 code unconditional.
31082 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31083 conditional code.
31084 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31085 unconditional.
31086 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31087 conditional code.
31088
842a39cd
AS
310892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31090
31091 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31092 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31093 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31094 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31095 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31096 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31097 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31098 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31099 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31100 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31101 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31102 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31103 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31104 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31105 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31106 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31107 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31109 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31111 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31112 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31114
84b3fd84
FW
311152012-07-25 Florian Weimer <fweimer@redhat.com>
31116
31117 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31118 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31119 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31120 Introduce __libc_secure_getenv.
0c7936d5
FW
31121 * stdlib/Versions (2.17): Add secure_getenv
31122 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31123 * stdlib/secure-getenv.c: Rename __secure_getenv to
31124 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31125 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31126 * stdlib/tst-secure-getenv.c: New.
31127 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31128 * manual/startup.texi (Environment Access): Document
31129 secure_getenv.
84b3fd84
FW
31130 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31131 __libc_secure_getenv.
31132 * inet/ruserpass.c (ruserpass): Likewise.
31133 * malloc/mtrace.c (mtrace): Likewise.
31134 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31135 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31136 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31137 * sysdeps/posix/tempname.c: Likewise. Evaluate
31138 HAVE_SECURE_GETENV.
31139 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31140 __secure_getenv to __libc_secure_getenv.
84b3fd84 31141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31143 Likewise.
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31145 Likewise.
31146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31153
56e49b71
JM
311542012-07-25 Joseph Myers <joseph@codesourcery.com>
31155
31156 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31157 (struct La_i86_retval): Likewise.
31158 (struct La_x86_64_regs): Likewise.
31159 (struct La_x86_64_retval): Likewise.
31160 (struct La_x32_regs): Likewise.
31161 (struct La_x32_retval): Likewise.
31162 (struct La_ppc32_regs): Likewise.
31163 (struct La_ppc32_retval): Likewise.
31164 (struct La_ppc64_regs): Likewise.
31165 (struct La_ppc64_retval): Likewise.
31166 (struct La_sh_regs): Likewise.
31167 (struct La_sh_retval): Likewise.
31168 (struct La_s390_32_regs): Likewise.
31169 (struct La_s390_32_retval): Likewise.
31170 (struct La_s390_64_regs): Likewise.
31171 (struct La_s390_64_retval): Likewise.
31172 (struct La_sparc32_regs): Likewise.
31173 (struct La_sparc32_retval): Likewise.
31174 (struct La_sparc64_regs): Likewise.
31175 (struct La_sparc64_retval): Likewise.
31176 (struct audit_ifaces): Remove architecture-specific pltenter and
31177 pltexit members.
31178 * sysdeps/i386/ldsodefs.h: New file.
31179 * sysdeps/powerpc/ldsodefs.h: Likewise.
31180 * sysdeps/s390/ldsodefs.h: Likewise.
31181 * sysdeps/sh/ldsodefs.h: Likewise.
31182 * sysdeps/sparc/ldsodefs.h: Likewise.
31183 * sysdeps/x86_64/ldsodefs.h: Likewise.
31184
354691b7
MP
311852012-07-25 Marek Polacek <polacek@redhat.com>
31186
31187 [BZ #6808]
31188 * math/libm-test.inc (yn_test): Add another test.
31189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31190 to ERANGE when the result is +-Inf.
31191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31192 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31193 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31195
bf9e2071
JM
311962012-07-24 Joseph Myers <joseph@codesourcery.com>
31197
31198 * conform/data/time.h-data (NULL): Use macro-constant. Require
31199 equal to 0.
31200 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31201 clock_t.
31202 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31203
57633811
TS
312042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31205
31206 * configure.in <sysdeps resolving>: Correct printing
31207 Implies_before.
31208 * configure: Regenerate.
31209
c23c33b0
TS
312102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31211
31212 * math/w_ilogb.c: Include <limits.h>.
31213 * math/w_ilogbl.c: Likewise.
31214
b5982523
JM
312152012-07-20 Joseph Myers <joseph@codesourcery.com>
31216
31217 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31218 va_copy. Document allowing for unavailable va_copy only as
31219 pre-C99 compatibility.
31220 * manual/string.texi (Copying and Concatenation): Use va_copy
31221 instead of __va_copy in concat example.
31222
ac4ea442
PT
312232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31224
31225 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31226 (__sendto): Use create_address_port. Initialize APORT and deallocate
31227 it if not null.
31228
f98eafbd
PT
31229 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31230 with O_NOLINK passed to __file_name_lookup.
31231
898c7aab
PT
31232 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31233 with O_NOLINK passed to __file_name_lookup.
31234
0ced335a
PT
31235 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31236 negative N or less than NGIDS.
31237
b3404dbd
PT
31238 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31239 type to string_t. Set ERANGE as errno and return it if NAME is not big
31240 enough. Use memcpy instead of strncpy.
31241
0f48659e
JM
312422012-07-20 Joseph Myers <joseph@codesourcery.com>
31243
31244 * elf/Makefile (check-data): Remove.
31245 (localplt.data): New vpath directive.
31246 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31247 instead of $(check-data).
31248 * scripts/data/localplt-generic.data: Move to ...
31249 * sysdeps/generic/localplt.data: ... here.
31250 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31251 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31252 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31254 ... here.
31255 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31257 ... here.
31258 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31260 ... here.
31261 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31263 ... here.
31264 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31266 ... here.
31267 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31269 ... here.
31270
d37cbdaa
AZ
312712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31272
31273 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31274 PPC32 and PPC64 files.
31275 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31276 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31277
46f85fc2
AK
312782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31279
31280 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31281 __makecontext_ret to ...
31282 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31283 ... here and call exit if uc_link is NULL. New file.
31284 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31285 __makecontext_ret.S.
31286 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31287 __makecontext_ret to ...
31288 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31289 ... here and call exit if uc_link is NULL. New file.
31290 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31291 __makecontext_ret.S.
31292
08f43f9b
AK
312932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31294
31295 * elf/elf.h (R_390_IRELATIVE): New definition.
31296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31297 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31298 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31299 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31300 (elf_machine_lazy_rel): Likewise.
31301 * sysdeps/s390/dl-irel.h: New file.
31302 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31303 * sysdeps/s390/s390-64/memset.S: New asm code.
31304 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31305 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31307 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31308 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31309 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31310 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31311 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31312 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31313 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31314 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31315 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31316 * sysdeps/s390/s390-32/memset.S: New asm code.
31317 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31318
3b05db33
MP
313192012-07-17 Marek Polacek <polacek@redhat.com>
31320
31321 [BZ #14349]
31322 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31323 * sysdeps/s390/s390-64/configure.in: Likewise.
31324 * sysdeps/sparc/configure.in: Likewise.
31325 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31326 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31327 * sysdeps/i386/configure.in: Likewise.
31328 * sysdeps/x86_64/configure.in: Likewise.
31329 * sysdeps/sh/configure.in: Likewise.
31330 * sysdeps/s390/s390-32/configure: Regenerated.
31331 * sysdeps/s390/s390-64/configure: Likewise.
31332 * sysdeps/x86_64/configure: Likewise.
31333 * sysdeps/sh/configure: Likewise.
31334 * sysdeps/powerpc/powerpc64/configure: Likewise.
31335 * sysdeps/powerpc/powerpc32/configure: Likewise.
31336 * sysdeps/sparc/configure: Likwise.
31337 * sysdeps/i386/configure: Likewise.
31338
a66877c6
MP
31339 * elf/dl-open.c: Comment fixes.
31340
cfc82fd8
JM
313412012-07-17 Joseph Myers <joseph@codesourcery.com>
31342
bd29910a
JM
31343 * Makefile [CXX] (check-data): Remove.
31344 [CXX] (c++-types.data): New vpath directive.
31345 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31346 vpath. Do not allow for C++ type data being missing.
31347 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31348 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31349 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31350 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31351 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31352 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31353 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31355 ... here.
31356 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31358 ... here.
31359 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31361 ... here.
31362 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31364 ... here.
31365 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31367 ... here.
31368 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31370 ... here.
31371 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31373 ... here.
31374 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31376
cfc82fd8
JM
31377 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31378 definitions to architecture-specific files.
31379 (TLS_IE): Likewise.
31380 (TLS_LD): Likewise.
31381 (TLS_GD): Likewise.
31382 * sysdeps/i386/tls-macros.h: New file.
31383 * sysdeps/powerpc/tls-macros.h: Likewise.
31384 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31385 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31386 * sysdeps/sh/tls-macros.h: Likewise.
31387 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31388 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31389 * sysdeps/x86_64/tls-macros.h: Likewise.
31390
f7db3170
TS
313912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31392
07cbfc23
TS
31393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31394 zero value for regular exit case.
31395
f7db3170
TS
31396 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31397 (__start_context): Preserve zero value for regular exit case.
31398
dc97c227
TS
313992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31400 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31401
31402 * manual/setjmp.texi (setcontext): Clarify normal process
31403 termination when uc_link is the null pointer.
31404 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31405 exit call.
31406
d0cd7d02
AS
314072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31408
31409 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31410 preprocessor. Test for each exception mask separately.
31411
dd318934
AJ
314122012-07-16 Andreas Jaeger <aj@suse.de>
31413
31414 * po/ru.po: Update from translation team.
31415
8048311a
JM
314162012-07-15 Joseph Myers <joseph@codesourcery.com>
31417
31418 * conform/data/string.h-data (NULL): Use macro-constant. Require
31419 equal to 0.
31420 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31421 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31422 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31423 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31425
b637d46e
AJ
314262012-07-13 Andreas Jaeger <aj@suse.de>
31427
31428 * po/fr.po: Update from translation team.
31429
541428fe
MP
314302012-07-12 Marek Polacek <polacek@redhat.com>
31431
31432 [BZ #14173]
31433 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31435 loop condition.
31436
ec332e94
JM
314372012-07-12 Joseph Myers <joseph@codesourcery.com>
31438
31439 [BZ #13717]
31440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31441 Change to 2.4.1 where previously 2.4.0.
31442 * sysdeps/unix/sysv/linux/configure: Regenerated.
31443 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31444 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31445 version.
31446 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31447 (__ASSUME_AT_CLKTCK): Remove.
31448 (__ASSUME_AT_PAGESIZE): Likewise.
31449 (__ASSUME_AT_XID): Likewise.
31450 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31451 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31452 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31453 unconditionally.
31454 (HAVE_AUX_PAGESIZE): Likewise.
31455 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31456 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31457 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31458
7b6e99be
JB
314592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31460
31461 [BZ #14307]
31462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31463 the temporary buffer used to invoke __gethostbyname2_r,
31464 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31465 host_data / struct gaih_addrtuple.
31466 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31467 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31468 header file nss/nsswitch.h.
31469 * nss/nsswitch.h (global scope): Add definition of implementation
31470 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31471 resolv/nss_dns/dns-host.c).
31472
608404eb
AJ
314732012-07-11 Andreas Jaeger <aj@suse.de>
31474
31475 * po/fr.po: Update from translation team.
31476
71220aca
AJ
31477 * po/sv.po: Update from translation team
31478 * po/fr.po: Another update from translation team.
31479
28cfe843
AZ
314802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31481
31482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31483 for subnormals or multiply small sinh result by itself.
31484 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31486
6b90f981
DM
314872012-07-11 David S. Miller <davem@davemloft.net>
31488
31489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31490
c6825772
AS
314912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31492
31493 [BZ #14347]
31494 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31495 (INTERNAL_MARK): Shift it here.
31496
7b8e0d49
MP
314972012-07-10 Marek Polacek <polacek@redhat.com>
31498
31499 [BZ #14151]
31500 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31501 libc_cv_asm_global_directive with .globl.
31502 * configure: Regenerated.
31503 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31504 with .globl.
31505 * sysdeps/i386/configure: Regenerated.
31506 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31507 with .globl.
31508 * sysdeps/x86_64/configure: Regenerated.
31509 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31510 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31511 * elf/tst-unique2mod2.c: Likewise.
31512 * elf/tst-unique2mod1.c: Likewise.
31513 * elf/tst-unique1mod2.c: Likewise.
31514 * elf/tst-unique1mod1.c: Likewise.
31515 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31516 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31518 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31519 * sysdeps/mach/sysdep.h: Likewise.
31520 * sysdeps/i386/sysdep.h: Likewise.
31521 * sysdeps/i386/i386-mcount.S: Likewise.
31522 * sysdeps/x86_64/_mcount.S: Likewise.
31523 * sysdeps/x86_64/sysdep.h: Likewise.
31524 * sysdeps/sh/_mcount.S: Likewise.
31525 * sysdeps/sh/sysdep.h: Likewise.
31526 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31527 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31528 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31529 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31530 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31531 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31532 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31533 * locale/localeinfo.h: Likewise.
31534 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31535 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31536
6c55cda3
RM
315372012-07-09 Roland McGrath <roland@hack.frob.com>
31538
31539 [BZ #14336]
31540 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31541 system".
31542 * manual/message.texi (The Uniforum approach): Likewise.
31543 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31544 (glibc iconv Implementation): Likewise.
31545
638a572e
JM
315462012-07-09 Joseph Myers <joseph@codesourcery.com>
31547
31548 [BZ #14337]
31549 * math/s_clog.c (__clog): Avoid scaling a value down where that
31550 could result in underflow.
31551 * math/s_clog10.c (__clog10): Likewise.
31552 * math/s_clog10f.c (__clog10f): Likewise.
31553 * math/s_clog10l.c (__clog10l): Likewise.
31554 * math/s_clogf.c (__clogf): Likewise.
31555 * math/s_clogl.c (__clogl): Likewise.
31556 * math/libm-test.inc (clog_test): Add more tests.
31557 (clog10_test): Likewise.
31558 * sysdeps/i386/fpu/libm-test-ulps: Update.
31559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31560
261f4859
AS
315612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31562
0abaf3e4
AS
31563 [BZ #14283]
31564 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31565 by 7 not 8 to examine high bit of fractional part.
31566
261f4859
AS
31567 [BZ #14042]
31568 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31569 for call to __mcount_internal.
31570 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31571 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31572 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31573
f17ac40d
JM
315742012-07-06 Joseph Myers <joseph@codesourcery.com>
31575
9ad63c23
JM
31576 [BZ #14154]
31577 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31578 approximation for values within 0x1p-13f of an odd multiple of
31579 pi/4.
31580 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31581 exception. Add more tests.
31582 * sysdeps/i386/fpu/libm-test-ulps: Update.
31583
f17ac40d
JM
31584 [BZ #6778]
31585 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31586 inputs and return -1 for them. Do not check for +Inf in case not
31587 reachable for +Inf.
31588 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31589 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31591 and return -1 for them. Do not check for +Inf in case not
31592 reachable for +Inf.
31593 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31594 define.
31595 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31596 and return -1 for them. Do not check for +Inf in case not
31597 reachable for +Inf.
31598 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31599 spurious underflow.
31600 * sysdeps/i386/fpu/libm-test-ulps: Update.
31601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31602
fb21f89b
MF
316032012-07-06 Mike Frysinger <vapier@gentoo.org>
31604
31605 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31606
cdfe2c5e
JM
316072012-07-05 Joseph Myers <joseph@codesourcery.com>
31608
31609 [BZ #14157]
31610 [BZ #14331]
31611 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31612 could result in spurious underflow. Scale down values above
31613 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31614 * math/s_csqrtf.c (__csqrtf): Likewise.
31615 * math/s_csqrtl.c (__csqrtl): Likewise.
31616 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31617 spurious underflow.
31618 * sysdeps/i386/fpu/libm-test-ulps: Update.
31619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31620
70d35b67
AS
316212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31622
704bc459
AS
31623 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31624 xopen-msg.sed.
31625 * catgets/xopen-msg.awk: New file.
31626 * catgets/xopen-msg.sed: Removed.
31627
70d35b67
AS
31628 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31629 po2text.sed.
31630 * intl/po2test.awk: New file.
31631 * intl/po2test.sed: Removed.
31632
ca61cf32
JM
316332012-07-04 Joseph Myers <joseph@codesourcery.com>
31634
31635 [BZ #14328]
31636 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31637 or multiply small sinh result by itself.
31638 * math/s_ctanf.c (__ctanf): Likewise.
31639 * math/s_ctanh.c (__ctanh): Likewise.
31640 * math/s_ctanhf.c (__ctanhf): Likewise.
31641 * math/s_ctanhl.c (__ctanhl): Likewise.
31642 * math/s_ctanl.c (__ctanl): Likewise.
31643 * math/libm-test.inc (ctan_test_tonearest): New function.
31644 (ctan_test_towardzero): Likewise.
31645 (ctan_test_downward): Likewise.
31646 (ctan_test_upward): Likewise.
31647 (ctanh_test_tonearest): Likewise.
31648 (ctanh_test_towardzero): Likewise.
31649 (ctanh_test_downward): Likewise.
31650 (ctanh_test_upward): Likewise.
31651 (main): Call these new functions.
31652 * sysdeps/i386/fpu/libm-test-ulps: Update.
31653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31654
ca48a46a
MF
316552012-07-03 Mike Frysinger <vapier@gentoo.org>
31656
31657 * .gitignore: Delete /ports entry.
31658
9d63d37d
AJ
316592012-07-03 Andreas Jaeger <aj@suse.de>
31660
31661 * po/bg.po: Update from translation team.
31662 * po/cs.po: Likewise.
31663 * po/de.po: Likewise.
31664 * po/hr.po: Likewise.
31665 * po/nl.pl: Likewise.
31666 * po/pl.po: Likewise.
31667 * po/vi.po: Likewise.
31668
370ca3d2
JM
316692012-07-03 Joseph Myers <joseph@codesourcery.com>
31670
95f5a9a8
JM
31671 * Makeconfig [!+link] (+link-before-libc): New variable.
31672 [!+link] (+link-after-libc): Likewise.
31673 [!+link] (+link-tests): Likewise.
31674 [!+link] (+link): Define in terms of $(+link-before-libc) and
31675 $(+link-after-libc).
31676 [!+link-static] (+link-static-before-libc): New variable.
31677 [!+link-static] (+link-static-after-libc): Likewise.
31678 [!+link-static] (+link-static-tests): Likewise.
31679 [!+link-static] (+link-static): Define in terms of
31680 $(+link-static-before-libc) and $(+link-static-after-libc).
31681 [build-shared] (link-libc-before-gnulib): New variable.
31682 [build-shared] (link-libc-tests): Likewise.
31683 [build-shared] (link-libc): Define in terms of
31684 $(link-libc-before-gnulib).
31685 [!build-shared] (link-libc-tests): New variable.
31686 (link-libc-static-tests): New variable.
31687 [!gnulib] (gnulib-arch): New variable.
31688 [!gnulib] (gnulib-tests): Likewise.
31689 [!gnulib] (static-gnulib-arch): Likewise.
31690 [!gnulib] (static-gnulib-tests): Likewise.
31691 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31692 Define with "=" instead of ":=".
31693 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31694 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31695 * Rules (binaries-all-notests): New variable.
31696 (binaries-all-tests): Likewise.
31697 (binaries-static-notests): Likewise.
31698 (binaries-static-tests): Likewise.
31699 (binaries-all): Define using $(binaries-all-notests) and
31700 $(binaries-all-tests).
31701 (binaries-static): Define using $(binaries-static-notests) and
31702 $(binaries-static-tests).
31703 (binaries-shared-tests): New variable.
31704 (binaries-shared-notests): Likewise.
31705 (binaries-shared): Remove variable.
31706 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31707 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31708 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31709 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31710 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31711 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31712 * elf/Makefile (sln-modules): New variable.
31713 (extra-objs): Add $(sln-modules:=.o).
31714 (ldconfig-modules): Add static-stubs.
31715 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31716 * elf/static-stubs.c: New file.
31717
7a845b2c
JM
31718 [BZ #14283]
31719 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31720 by 7 not 8 to examine high bit of fractional part. Use volatile
31721 variables when splitting into final array of floats if
31722 __FLT_EVAL_METHOD__ != 0.
31723 * math/libm-test.inc (cos_test): Add another test.
31724 (sin_test): Likewise.
31725 * sysdeps/i386/fpu/libm-test-ulps: Update.
31726
e2283f38
JM
31727 [BZ #14273]
31728 * math/libm-test.inc (cosh_test): Add more tests.
31729
370ca3d2
JM
31730 * version.h (RELEASE): Set to "development".
31731 (VERSION): Set to "2.16.90".
31732
ee9247c3
CD
317332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31734
31735 * NEWS: Update copyright. Remove last-updated date.
31736 Mention math library bug fixes and timezone data changes.
31737 * README: Mention GNU/Hurd, x32, and HPPA support status.
31738
4648c381
TS
317392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31740
31741 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31742
aac78a43
AJ
317432012-06-27 Andreas Jaeger <aj@suse.de>
31744
31745 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31746
ed3dbfad
AJ
317472012-06-25 Andreas Jaeger <aj@suse.de>
31748
31749 * sysdeps/s390/fpu/libm-test-ulps: Update.
31750
4d0ee855
AS
317512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31752 Thomas Schwinge <thomas@codesourcery.com>
31753
31754 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31755 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31757 fanotify_mark.
31758
af1bce34
TS
317592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31760
a9fa33ba
TS
31761 * sysdeps/mach/start.c: Remove file.
31762 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31763 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31764 * sysdeps/sh/init-first.c: Likewise.
31765
58f902b8
TS
31766 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31767 registers for frame unwinding purposes, add CFI directives.
31768 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31770 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31771 Likewise.
31772
1518f58b
TS
31773 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31774 __fortify_fail returning.
31775 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31776
db9b5059
TS
31777 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31778 sysdeps/sh/____longjmp_chk.S.
31779 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31780 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31781 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31782 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31783
967705fe
TS
31784 * sysdeps/sh/abort-instr.h: New file.
31785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31786 process in case exit returns.
31787
a9def8c4
TS
31788 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31789 initialize the GOT register before use.
31790
2a649725
TS
31791 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31792 calculation of ARGC > 4.
31793
af1bce34
TS
31794 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31795 meaningful names to some local labels.
31796
d230f50a
KK
317972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31798 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31799
31800 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31801 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31802 (__arch_compare_and_exchange_val_16_acq): Likewise.
31803 (__arch_compare_and_exchange_val_32_acq): Likewise.
31804 (atomic_exchange_and_add): Fix gUSA sequence.
31805 (atomic_add): Likewise.
31806 (atomic_add_negative): Likewise.
31807 (atomic_add_zero): Likewise.
31808 (atomic_bit_test_set): Likewise.
31809
0479b305
AS
318102012-06-22 Andreas Schwab <schwab@redhat.com>
31811
31812 [BZ #13579]
31813 * include/link.h (struct link_map): Add l_free_initfini.
31814 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31815 l_initfini.
31816 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31817 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31818 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31819 set.
31820
0e3933b9
CD
318212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31822
31823 * configure.in: Use AC_LANG_SOURCE.
31824 * configure: Regenerate.
31825
4248b1b1
RM
318262012-06-22 Roland McGrath <roland@hack.frob.com>
31827
31828 * configure.in (libc_cv_localstatedir): New substituted variable.
31829 * configure: Regenerated.
31830 * config.make.in (localstatedir): New variable, substituted from
31831 libc_cv_localstatedir.
31832 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31833 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31834 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31835 * sysdeps/gnu/configure: Regenerated.
31836
006dd861
JL
318372012-06-21 Jeff Law <law@redhat.com>
31838
31839 [BZ #14277]
31840 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31841 free. Simplify list management for _LIBC case.
31842
79662d42
JM
318432012-06-21 Joseph Myers <joseph@codesourcery.com>
31844
b7abb4bf
JM
31845 [BZ #14273]
31846 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31847 Clear sign bit of 64-bit integer value before comparing against
31848 overflow value.
31849
79662d42
JM
31850 * sysdeps/mach/configure: Regenerated.
31851
1f150908
L
318522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31853
31854 [BZ #14278]
31855 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31856
28363bbf
JL
318572012-06-21 Jeff Law <law@redhat.com>
31858
31859 [BZ #13882]
31860 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31861 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31862 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31863 * elf/dl-open.c (dl_open_worker): Likewise.
31864
09615db4
CD
318652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31866
31867 * scripts/list-sources.sh: Scan PORTS for translations.
31868 * po/libc.pot: Regenerated.
31869
2174c6dd
AJ
318702012-06-21 Andreas Jaeger <aj@suse.de>
31871
31872 [BZ #12194]
31873 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31874 warning.
31875 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31876 * bits/byteswap-16.h (__bswap_16): Likewise.
31877 * bits/byteswap.h (__bswap_constant_16): Likewise.
31878
3ee947b1
L
318792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31880
31881 [BZ #14117]
a2f34833
L
31882 * sysdeps/i386/fpu_control.h: Removed.
31883 * sysdeps/x86_64/fpu_control.h: Moved to ...
31884 * sysdeps/x86/fpu_control.h: Here.
31885
3ee947b1
L
31886 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31887 (_FPU_SETCW): Likewise.
31888
ed1825f8
L
318892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31890
25f1282a
L
31891 [BZ #14117]
31892 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31893 * sysdeps/x86/fpu/bits/mathinline.h: This.
31894 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31895
ed1825f8
L
31896 [BZ #14050]
31897 [BZ #14117]
31898 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31899 functions if __x86_64__ is defined.
31900
36d54b74
CLT
319012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31902
31903 * string/endian.h: Add !__ASSEMBLER__ condition for including
31904 conversion interfaces.
31905
10285c21
JM
319062012-06-15 Joseph Myers <joseph@codesourcery.com>
31907
31908 [BZ #14241]
31909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31910 of ABS(x) in calculating zero to negative powers other than odd
31911 integers.
31912 * math/libm-test.inc (pow_test): Add more tests.
31913
06c5abbd
AJ
319142012-06-15 Andreas Jaeger <aj@suse.de>
31915
31916 * manual/contrib.texi (Contributors): Update entry of Liubov
31917 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31918 Machado Filho.
31919
a3aeac40
CH
319202012-06-15 Cyril Hrubis <metan@ucw.cz>
31921
31922 * string/string.h: Add __wur to GNU version of strerror_r.
31923
49bdf4c1
L
319242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31925
31926 [BZ #14229]
31927 * string/Makefile (tests): Add tst-strtok_r.
31928 * string/tst-strtok_r.c: New file.
31929 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31930 RAX_LP/RDX_LP on SAVE_PTR.
31931
834f9b8d
RM
319322012-06-14 Roland McGrath <roland@hack.frob.com>
31933
31934 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31935
75fa1921
JM
319362012-06-14 Joseph Myers <joseph@codesourcery.com>
31937
31938 * libm_test.inc (csqrt_test): Allow more spurious underflow
31939 exceptions.
31940 (j0_test): Likewise.
31941 (j1_test): Likewise.
31942 (y0_test): Likewise.
31943 (y1_test): Likewise.
31944
771766df
CD
319452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31946
31947 * po/Makefile (libc.pot): Use UTF-8 charset.
31948
ceb9e56b
PP
319492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31950
31951 [BZ #14210]
31952 Suppress sign-conversion warning from FD_SET.
31953 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31954 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31955 not unsigned long int.
31956 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31957
ddb28975
L
319582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31959
31960 [BZ #14050]
31961 [BZ #14117]
31962 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31963 __extern_always_inline instead of __extern_inline.
31964 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31965 (__signbit): Likewise.
31966 (__signbitl): Support C++ namespace.
31967 (lrintf): New inline function.
31968 (lrint): Likewise.
31969 (llrintf): Likewise.
31970 (llrint): Likewise.
31971 (fmaxf): Likewise.
31972 (fmax): Likewise.
31973 (fminf): Likewise.
31974 (fmin): Likewise.
31975 (rint): Likewise.
31976 (rintf): Likewise.
31977 (ceil): Likewise.
31978 (ceilf): Likewise.
31979 (floor): Likewise.
31980 (floorf): Likewise.
31981 (nearbyint): Likewise.
31982 (nearbyintf): Likewise.
31983
d7b4fb26
TS
319842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31985
31986 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31987 non-default versions.
31988
eb55f5c2
RM
319892012-06-11 Roland McGrath <roland@hack.frob.com>
31990
31991 [BZ #14218]
31992 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31993
366af02c
TS
319942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31995
99ff6e5c
TS
31996 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31997 (FE_UPWARD, FE_DOWNWARD): Don't define.
31998 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32000
366af02c
TS
32001 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32002 reading it.
32003 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32004 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32005
793ea851
KK
320062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32007
32008 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32010 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32011 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32012
a728a38f
L
320132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32014
32015 [BZ #14117]
c08010c7
L
32016 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32017 * sysdeps/i386/fpu/Implies: New file.
32018 * sysdeps/x86_64/fpu/Implies: Likewise.
32019 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32020 * sysdeps/x86/fpu/bits/fenv.h: This.
32021
a728a38f
L
32022 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32023 __SSE_MATH__.
32024
6e230d11
SP
320252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32026
32027 [BZ #14134]
32028 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32029 character 0xffff that matches the last element of the
32030 conversion table.
32031
1b671feb
AZ
320322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32033
32034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32035 fmodl commit.
32036
6043738b
AZ
320372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32038
32039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32040 values higher than 25.6283.
32041
34ae0b32
AZ
320422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32043
32044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32045 subnormal exponent extraction and add some __builtin_expect.
32046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32047 Fix for subnormal mantissa calculation.
32048
1214ec8f
MF
320492012-06-04 Mike Frysinger <vapier@gentoo.org>
32050
32051 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32052 cpu2 is -1 and errno is not ENOSYS.
32053
f3d1f93c
L
320542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32055
32056 [BZ #14117]
0e4a3cd7
L
32057 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32058 * sysdeps/x86/bits/string.h: This.
32059 * sysdeps/x86_64/bits/string.h: Removed.
32060
6704c645
L
32061 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32062 if not compiling for x86-64, but compiling for >= i486.
32063
48495318
L
32064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32065 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32066
14adcbfc
L
32067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32068 New macro from Linux kernel 3.4.0.
32069 (FP_XSTATE_MAGIC2): Likewise.
32070 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32071 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32072 (struct _fpx_sw_bytes): New struct.
32073 (struct _xsave_hdr): Likewise.
32074 (struct _ymmh_state): Likewise.
32075 (struct _xstate): Likewise.
32076
68e408ab
L
32077 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32078 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32080 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32081 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32082 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32083
f3d1f93c
L
32084 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32086 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32087 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32088 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32089 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32090
d9dc34cd
TMQMF
320912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32092
32093 [BZ #13743]
32094 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32095 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32096 (sysdep_headers): Include sys/platform/ppc.h.
32097 * sysdeps/powerpc/test-gettimebase.c: Test for
32098 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32099 * manual/Makefile (appendices): Include platform.texi.
32100 * manual/contrib.texi (Contributors): Update @node pointers.
32101 * manual/maint.texi (Maintenance): Likewise.
32102 (Platform): New node.
32103 * manual/platform.texi: New file. Document the new features.
32104
4af3879c
SP
321052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32106 Jakub Jelinek <jakub@redhat.com>
32107
32108 [BZ #14188]
32109 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32110 where __builtin_expect is unavailable.
32111
2fd6ff13
DM
321122012-06-03 David S. Miller <davem@davemloft.net>
32113
32114 * stdlib/longlong.h: Updated from GCC.
32115
173f7220
AS
321162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32117
32118 [BZ #14042]
32119 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32120 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32121 __mcount_internal.
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32123 (GLIBC_2.16): Likewise.
32124
f34a1c6f
L
321252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32126
32127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32128
88a4576f
JM
321292012-06-01 Joseph Myers <joseph@codesourcery.com>
32130
ea32bcdd
JM
32131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32132 (default-abi): New variable.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32134 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32135 variable.
32136 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32137 Likewise.
32138 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32139 Likewise.
32140 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32141 Likewise.
32142
88a4576f
JM
32143 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32144 definition. Document in comment.
32145
402fe938
DM
321462012-06-01 David S. Miller <davem@davemloft.net>
32147
32148 * stdlib/longlong.h: Updated from GCC.
32149
3553723f
L
321502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32151
32152 [BZ #14117]
3bd872c4
L
32153 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32154 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32155 sys/debugreg.h sys/io.h here.
32156 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32157 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32158 sys/io.h.
32159 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32160 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32161 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32162 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32163 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32164 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32165
3553723f
L
32166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32167 Define only if __x86_64__ is defined.
32168
4842e4fe
JM
321692012-06-01 Joseph Myers <joseph@codesourcery.com>
32170
c5bfe3d5
JM
32171 [BZ #14048]
32172 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32173 Use int64_t for variable i.
32174 * math/libm-test.inc (fmod_test): Add more tests.
32175
4842e4fe
JM
32176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32177 z computation is not scheduled after fetestexcept.
32178 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32179 Use math_force_eval instead of asm to ensure calculation scheduled
32180 before exception test.
32181 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32182 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32183
efb73488
AJ
321842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32185
32186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32187 computation is not scheduled after fetestexcept.
32188
29bcce7c
L
321892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32190
32191 [BZ #14117]
32192 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32193 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32194
73a68f94
AZ
321952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32196
32197 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32198 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32199
67b6df78
L
322002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32201
edf2933a 32202 [BZ #14117]
ebc64a18
L
32203 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32204 <bits/wordsize.h>.
32205 (__WCHAR_MIN): Support __WORDSIZE == 64.
32206 (__WCHAR_MAX): Likewise.
32207
edf2933a
L
32208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32210
57c6cf40
L
32211 [BZ #14183]
32212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32213 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32214
67b6df78 32215 [BZ #14117]
8eb6281e
L
32216 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32218
aac639f4
L
32219 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32220 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32221
67b6df78
L
32222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32223 Defined to 1 if __x86_64__ isn't defined.
32224 (_STAT_VER_LINUX_OLD): New.
32225 (st_atime): Remove duplicate.
32226 (st_mtime): Likewise.
32227 (st_ctime): Likewise.
32228
1c2cfe81
DM
322292012-05-31 David S. Miller <davem@davemloft.net>
32230
32231 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32232 entries.
32233
5be8418c
AS
322342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32235
e7725326
AS
32236 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32237 gen-libm-test.pl.
32238
5be8418c
AS
32239 [BZ #14132]
32240 * elf/dl-reloc.c: Include <_itoa.h>.
32241 (_dl_reloc_bad_type): Remove use of INTUSE.
32242 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32243 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32244 * stdio-common/psiginfo.c (psiginfo): Likewise.
32245 * stdio-common/psignal.c (psignal): Likewise.
32246 * string/strsignal.c (strsignal): Likewise.
32247 * include/signal.h (_sys_siglist): Declare hidden proto.
32248 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32249 INTVARDEF with libc_hidden_data_def.
32250 * stdio-common/itoa-udigits.c: Likewise.
32251 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32252 (_itoa_lower_digits_internal): Remove declaration.
32253 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32254 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32255 (_sys_sigabbrev_internal): Remove aliases.
32256 (_sys_siglist): Define hidden alias.
32257
507352f1
MT
322582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32259
32260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32261 bits/sysctl.h.
32262
42bbb1c3
L
322632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32264
32265 [BZ #14117]
6bd784b6
L
32266 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32267 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32268
8bca20f0
L
32269 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32270 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32271 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32272 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32274 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32275
f9e890a9
L
32276 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32278 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32279
471101a1
L
32280 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32281 with __addr.
32282 (insw): Likewise.
32283 (insl): Likewise.
32284 (outsb): Likewise.
32285 (outsw): Likewise.
32286 (outsl): Likewise.
32287
6451c862
L
32288 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32289 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32290 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32291
a254b8c9
L
32292 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32293 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32295 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32296 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32297 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32298
b8dfdd92
L
32299 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32300 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32301
578cd270
L
32302 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32303 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32304
de662f5f
L
32305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32307 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32308
25653439
L
32309 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32310 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32311 to ...
32312 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32313
6bad24a0
L
32314 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32315 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32316 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32317
42bbb1c3
L
32318 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32319 for x86-64.
32320 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32321
2d10d547
JM
323222012-05-31 Joseph Myers <joseph@codesourcery.com>
32323
32324 * math/math.h (M_El): Use two more decimal places.
32325 (M_LOG2El): Likewise.
32326 (M_LOG10El): Likewise.
32327 (M_LN2l): Likewise.
32328 (M_LN10l): Likewise.
32329 (M_PIl): Likewise.
32330 (M_PI_2l): Likewise.
32331 (M_PI_4l): Likewise.
32332 (M_1_PIl): Likewise.
32333 (M_2_PIl): Likewise.
32334 (M_2_SQRTPIl): Likewise.
32335 (M_SQRT2l): Likewise.
32336 (M_SQRT1_2l): Likewise.
32337
f230c29b
DM
323382012-05-31 David S. Miller <davem@davemloft.net>
32339
32340 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32341 values between float registers.
32342 * sysdeps/sparc/sparc64/memset.S: Likewise.
32343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32344
fed806c3
MF
323452012-05-31 Mike Frysinger <vapier@gentoo.org>
32346
32347 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32348 -D_FORTIFY_SOURCE=1.
32349 (CPPFLAGS-tst-longjmp_chk.c): Define.
32350 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32351 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32352 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32353 CFLAGS-tst-wchar-h.c.
32354
30917259
MP
323552012-05-31 Marek Polacek <polacek@redhat.com>
32356
32357 [BZ #14132]
32358 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32359 __endmntent_internal): Remove declaration.
32360 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32361 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32362 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32363
1c58d5dc
DM
323642012-05-30 David S. Miller <davem@davemloft.net>
32365
32366 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32367 (___Q_simulate_exceptions): Use real FP ops rather than writing
32368 into the %fsr.
32369 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32370 Likewise.
32371
7dc00e0d
L
323722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32373
32374 [BZ #14117]
0bd53985
L
32375 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32376 * sysdeps/x86/bits/xtitypes.h: This.
32377
3a257e66
L
32378 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32379 * sysdeps/x86/bits/wordsize.h: This.
32380
62f62904
L
32381 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32382 * sysdeps/x86/bits/huge_vall.h: This.
32383
404fe9d9
L
32384 * sysdeps/i386/bits/select.h: Removed.
32385 * sysdeps/x86_64/bits/select.h: Renamed to ...
32386 * sysdeps/x86/bits/select.h: This.
32387
d48d0446
L
32388 * sysdeps/i386/bits/setjmp.h: Removed.
32389 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32390 * sysdeps/x86/bits/setjmp.h: This.
32391
7dc00e0d
L
32392 * sysdeps/i386/bits/mathdef.h: Removed.
32393 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32394 * sysdeps/x86/bits/mathdef.h: This.
32395
03277f8f
AS
323962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32397
32398 [BZ #14132]
32399 * include/sys/socket.h (__connect_internal)
32400 (__libc_sa_len_internal): Remove declaration.
32401 (__connect, __libc_sa_len): Declare hidden_proto.
32402 (SA_LEN): Remove use of INTUSE.
32403 * socket/connect.c: Add libc_hidden_def.
32404 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32405 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32406 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32407 alias.
32408 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32409 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32410 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32411 of adding _internal alias.
32412
13764867
L
324132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32414
32415 [BZ #14117]
6bd97696
L
32416 * sysdeps/i386/bits/link.h: Removed.
32417 * sysdeps/i386/bits/linkmap.h: Likewise.
32418 * sysdeps/x86_64/bits/link.h: Renamed to ...
32419 * sysdeps/x86/bits/link.h: This.
32420 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32421 * sysdeps/x86/bits/linkmap.h: This.
32422
f726f0bb
L
32423 * sysdeps/i386/bits/endian.h: Removed.
32424 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32425 * sysdeps/x86/bits/endian.h: This.
32426
13764867
L
32427 * sysdeps/i386/bits/byteswap.h: Removed.
32428 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32429 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32430 * sysdeps/x86/bits/byteswap.h: This.
32431 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32432 * sysdeps/x86/bits/byteswap-16.h: This.
32433 * sysdeps/i386/Implies: Add x86.
32434 * sysdeps/x86_64/Implies: Likewise.
32435
ae251b0b
DM
324362012-05-30 David S. Miller <davem@davemloft.net>
32437
32438 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32439 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32440 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32441 (FP_TRAPPING_EXCEPTIONS): Define.
32442 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32443 (FP_TRAPPING_EXCEPTIONS): Define.
32444 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32445 subnormals only when inexact has been signalled or underflow
32446 exceptions are enabled.
32447 (_FP_PACK_CANONICAL): Likewise.
32448
d5c90867
L
324492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32450
32451 [BZ #14183]
32452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32453 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32454
63f1549e
RH
324552012-05-30 Richard Henderson <rth@twiddle.net>
32456
8d8f2279
RH
32457 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32458 with #ifndef NOT_IN_libc.
32459
63f1549e
RH
32460 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32461 marked to avoid plt entry.
32462
0ab0291b
L
324632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32464
32465 [BZ #14112]
32466 * Makeconfig (default-abi): New macro.
32467 (abi-includes): Likewise.
32468 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32469 $(abi-$(default-abi)-lib-soname) for soname if defined.
32470 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32471 abi-variants.
32472 * Makefile (installed-stubs): Likewise.
32473 * include/stubs-biarch.h: Removed.
32474 * scripts/lib-names.awk: Only handle one library at a time.
32475 * scripts/soversions.awk: Remove WORDSIZE support.
32476 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32477 entries.
32478 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32479 Removed.
32480 (syscall-list-default-condition): Likewise.
32481 (syscall-list-default-condition): Likewise.
32482 (syscall-list-includes): Likewise.
32483 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32484 syscall-list-* with abi-*. Handle undefined abi-variants.
32485 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32486 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32487 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32488 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32489 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32490 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32491 Removed.
32492 (syscall-list-32-options): Likewise.
32493 (syscall-list-32-condition): Likewise.
32494 (syscall-list-64-options): Likewise.
32495 (syscall-list-64-condition): Likewise.
32496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32497 macro.
32498 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32499 Renamed to ...
32500 (abi-*): This.
32501 (abi-64-ld-soname): New macro.
32502 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32503 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32504 Renamed to ...
32505 (abi-*): This.
32506 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32507 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32508
4da0431d
JM
325092012-05-30 Joseph Myers <joseph@codesourcery.com>
32510
3a85279c
JM
32511 * sysdeps/unix/sysv/linux/kernel-features.h
32512 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32513 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32514 include <kernel-features.h>.
32515 [!__NR_ftruncate64]: Remove conditional code.
32516 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32517 [__NR_ftruncate64]: Make code unconditional.
32518 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32519 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32520 include <kernel-features.h>.
32521 [!__NR_ftruncate64]: Remove conditional code.
32522 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32523 [__NR_ftruncate64]: Make code unconditional.
32524 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32526 include <kernel-features.h>.
32527 [!__NR_ftruncate64]: Remove conditional code.
32528 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32529 [__NR_ftruncate64]: Make code unconditional.
32530 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32532 include <kernel-features.h>.
32533 [!__NR_ftruncate64]: Remove conditional code.
32534 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32535 [__NR_ftruncate64]: Make code unconditional.
32536 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32537
4da0431d
JM
32538 * configure.in (libc_cv_fpie): Weaken to a compile test using
32539 LIBC_TRY_CC_OPTION.
32540 * configure: Regenerated.
32541
11ef492c
AK
325422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32543
32544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32548 Refreshed.
32549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32555 Refreshed.
32556
d66ef399
DM
325572012-05-27 David S. Miller <davem@davemloft.net>
32558
32559 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32560 (___Q_zero): New.
32561 (__Q_simulate_exceptions): Return void. Change to simulate
32562 exceptions by writing into the %fsr.
32563 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32564 (__Qp_handle_exceptions): Likewise.
32565 (numbers): Delete.
32566 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32567 __Qp_handle_exceptions.
32568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32569 __Qp_handle_exceptions.
32570 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32571 as unused and give dummy FP_RND_NEAREST initializer.
32572 (FP_INHIBIT_RESULTS): Define.
32573 (___Q_simulate_exceptions): Update declaration.
32574 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32575 formatting.
32576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32577 as unused and give dummy FP_RND_NEAREST initializer.
32578 (__Qp_handle_exceptions): Update declaration.
32579 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32580 formatting.
32581
04fb54b5
TS
325822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32583
32584 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32585 the temporary FPU control word.
32586 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32587 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32589 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32590 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32591 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32592 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32593 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32594 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32595 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32596 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32597
3f99608f
KK
325982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32599
32600 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32601 fields.
32602
65a4de4e
CLT
326032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32604
32605 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32606 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32607 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32608 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32609 Likewise.
32610 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32611 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32612 Likewise.
32613
15749d40
UD
326142012-05-27 Ulrich Drepper <drepper@gmail.com>
32615
32616 * po/h.po: Update from translation team.
32617
25dbcb27
AS
326182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32619
3d3f8e55
AS
32620 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32621
25dbcb27
AS
32622 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32623 handling of denormals.
32624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32625 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32631 Likewise.
32632
7ad47a80 326332012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32634
32635 [BZ #14152]
32636 * math/libm-test.inc (fma_test): Don't always expect underflow
32637 exception.
32638
9c6ea9fa
SP
326392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32640
32641 [BZ #12416]
32642 * elf/tst-execstack.c: Include stackinfo.h.
32643 (do_test): Adjust test case to ensure that pthread_getattr_np
32644 behaviour remains the same after marking stack executable.
32645
a8239222
JM
326462012-05-25 Joseph Myers <joseph@codesourcery.com>
32647
32648 * sysdeps/unix/sysv/linux/kernel-features.h
32649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32650 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32651 kernel-features.h.
32652 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32653 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32654 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32655 kernel-features.h.
32656 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32657 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32658
918b5606
L
326592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32660
32661 * configure.in: Define the default includes to being none.
32662 * configure: Regenerated.
32663
3a097cc7
RM
326642012-05-25 Roland McGrath <roland@hack.frob.com>
32665
8422c9a5
RM
32666 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32667 * sysdeps/x86_64/setjmp.S: Likewise.
32668 * sysdeps/i386/bsd-setjmp.S: Likewise.
32669 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32670 * sysdeps/i386/setjmp.S: Likewise.
32671 * sysdeps/i386/__longjmp.S: Likewise.
32672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32673 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32674
3a097cc7
RM
32675 * include/stap-probe.h: New file.
32676 * configure.in: Handle --enable-systemtap.
32677 * configure: Regenerated.
32678 * config.h.in (USE_STAP_PROBE): New #undef.
32679 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32680 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32681 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32682
21708942
JM
326832012-05-25 Joseph Myers <joseph@codesourcery.com>
32684
32685 [BZ #13717]
32686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32687 to 2.4.0 where earlier.
32688 * sysdeps/unix/sysv/linux/configure: Regenerated.
32689 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32690 <kernel-features.h>.
32691 [__ASSUME_32BITUIDS]: Make code unconditional.
32692 [!__ASSUME_32BITUIDS]: Remove conditional code.
32693 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32694 <kernel-features.h>.
32695 [__ASSUME_32BITUIDS]: Make code unconditional.
32696 [!__ASSUME_32BITUIDS]: Remove conditional code.
32697 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32698 [__ASSUME_32BITUIDS]: Make code unconditional.
32699 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32700 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32701 <kernel-features.h>.
32702 [__ASSUME_32BITUIDS]: Make code unconditional.
32703 [!__ASSUME_32BITUIDS]: Remove conditional code.
32704 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32705 <kernel-features.h>.
32706 [__ASSUME_32BITUIDS]: Make code unconditional.
32707 [!__ASSUME_32BITUIDS]: Remove conditional code.
32708 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32709 <kernel-features.h>.
32710 [__ASSUME_32BITUIDS]: Make code unconditional.
32711 [!__ASSUME_32BITUIDS]: Remove conditional code.
32712 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32713 <kernel-features.h>.
32714 [__ASSUME_32BITUIDS]: Make code unconditional.
32715 [!__ASSUME_32BITUIDS]: Remove conditional code.
32716 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32717 <kernel-features.h>.
32718 [__ASSUME_32BITUIDS]: Make code unconditional.
32719 [!__ASSUME_32BITUIDS]: Remove conditional code.
32720 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32721 <kernel-features.h>.
32722 [__ASSUME_32BITUIDS]: Make code unconditional.
32723 [!__ASSUME_32BITUIDS]: Remove conditional code.
32724 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32725 <kernel-features.h>.
32726 [__ASSUME_32BITUIDS]: Make code unconditional.
32727 [!__ASSUME_32BITUIDS]: Remove conditional code.
32728 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32729 <kernel-features.h>.
32730 [__ASSUME_32BITUIDS]: Make code unconditional.
32731 [!__ASSUME_32BITUIDS]: Remove conditional code.
32732 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
32741 <kernel-features.h>.
32742 [__NR_setresgid] (__setresgid): Do not declare.
32743 [__ASSUME_32BITUIDS]: Make code unconditional.
32744 [!__ASSUME_32BITUIDS]: Remove conditional code.
32745 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32746 <kernel-features.h>.
32747 [__NR_setresuid] (__setresuid): Do not declare.
32748 [__ASSUME_32BITUIDS]: Make code unconditional.
32749 [!__ASSUME_32BITUIDS]: Remove conditional code.
32750 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32751 <kernel-features.h>.
32752 [__ASSUME_32BITUIDS]: Make code unconditional.
32753 [!__ASSUME_32BITUIDS]: Remove conditional code.
32754 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32755 <kernel-features.h>.
32756 [__ASSUME_32BITUIDS]: Make code unconditional.
32757 [!__ASSUME_32BITUIDS]: Remove conditional code.
32758 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32759 <kernel-features.h>.
32760 [__ASSUME_32BITUIDS]: Make code unconditional.
32761 [!__ASSUME_32BITUIDS]: Remove conditional code.
32762 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32763 <kernel-features.h>.
32764 [__ASSUME_32BITUIDS]: Make code unconditional.
32765 [!__ASSUME_32BITUIDS]: Remove conditional code.
32766 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32767 <kernel-features.h>.
32768 [__ASSUME_32BITUIDS]: Make code unconditional.
32769 [!__ASSUME_32BITUIDS]: Remove conditional code.
32770 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32771 <kernel-features.h>.
32772 [__ASSUME_32BITUIDS]: Make code unconditional.
32773 [!__ASSUME_32BITUIDS]: Remove conditional code.
32774 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32775 <kernel-features.h>.
32776 [__ASSUME_32BITUIDS]: Make code unconditional.
32777 [!__ASSUME_32BITUIDS]: Remove conditional code.
32778 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32779 <kernel-features.h>.
32780 [__ASSUME_32BITUIDS]: Make code unconditional.
32781 [!__ASSUME_32BITUIDS]: Remove conditional code.
32782 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
32791 (__ASSUME_SETRESUID_SYSCALL): Remove.
32792 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32793 (__ASSUME_32BITUIDS): Likewise.
32794 (__ASSUME_LDT_WORKS): Likewise.
32795 (__ASSUME_O_DIRECTORY): Likewise.
32796 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32797 architecture but not kernel version.
32798 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32799 (__ASSUME_MMAP2_SYSCALL): Likewise.
32800 (__ASSUME_STAT64_SYSCALL): Likewise.
32801 (__ASSUME_IPC64): Likewise.
32802 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32803 <kernel-features.h>.
32804 [__ASSUME_32BITUIDS]: Make code unconditional.
32805 [!__ASSUME_32BITUIDS]: Remove conditional code.
32806 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32807 <kernel-features.h>.
32808 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32809 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32810 132096]: Remove conditional code.
32811 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32812 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32813 <kernel-features.h>.
32814 [__ASSUME_32BITUIDS]: Make code unconditional.
32815 [!__ASSUME_32BITUIDS]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32817 <kernel-features.h>.
32818 [__ASSUME_32BITUIDS]: Make code unconditional.
32819 [!__ASSUME_32BITUIDS]: Remove conditional code.
32820 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32821 <kernel-features.h>.
32822 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32823 unconditional.
32824 (__setresgid): Do not declare.
32825 [__ASSUME_32BITUIDS]: Make code unconditional.
32826 [!__ASSUME_32BITUIDS]: Remove conditional code.
32827 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32828 <kernel-features.h>.
32829 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32830 unconditional.
32831 (__setresuid): Do not declare.
32832 [__ASSUME_32BITUIDS]: Make code unconditional.
32833 [!__ASSUME_32BITUIDS]: Remove conditional code.
32834 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32835 <kernel-features.h>.
32836 [__ASSUME_32BITUIDS]: Make code unconditional.
32837 [!__ASSUME_32BITUIDS]: Remove conditional code.
32838 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32839 <kernel-features.h>.
32840 [__ASSUME_32BITUIDS]: Make code unconditional.
32841 [!__ASSUME_32BITUIDS]: Remove conditional code.
32842
a386f1cc
RH
328432012-05-25 Richard Henderson <rth@twiddle.net>
32844
32845 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32846 dl_hwcap to ifunc resolver.
32847 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32848 elf_ifunc_invoke.
32849 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32850 dl_hwcap to ifunc resolver.
32851 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32852
b6550497
JM
328532012-05-24 Joseph Myers <joseph@codesourcery.com>
32854
32855 [BZ #14153]
32856 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32857 for |x| <= 2**-26, not 2**-57.
32858 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32859 exception.
32860
b0bc23a1
JL
328612012-05-24 Jeff Law <law@redhat.com>
32862
32863 * stdio-common/Makefile (tests): Add bug25.
32864 * stdio-common/bug25.c: New test.
32865
347c92e9
L
328662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 [BZ #13576]
32869 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32870 multiple of MALLOC_ALIGNMENT in size.
32871 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32872
6bcc8b3f
JM
328732012-05-24 Joseph Myers <joseph@codesourcery.com>
32874
32875 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32876 Require >= 256.
32877 (FILENAME_MAX): Use macro-int-constant.
32878 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32879 (_IOFBF): Use macro-int-constant.
32880 (_IOLBF): Likewise.
32881 (_IONBF): Likewise.
32882 (SEEK_CUR): Likewise.
32883 (SEEK_END): Likewise.
32884 (SEEK_SET): Likewise.
32885 (TMP_MAX): Likewise.
32886 (EOF): Use macro-int-constant. Require < 0.
32887 (NULL): Use macro-constant. Require == 0.
32888 (stdin): Require type to be FILE *.
32889 (stdout): Likewise.
32890 (stderr): Likewise.
32891 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32892 macro-int-constant.
32893 (EXIT_SUCCESS): Likewise.
32894 (NULL): Use macro-constant. Require == 0.
32895 (RAND_MAX): Use macro-int-constant.
32896 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32897 [C99-based standards] (strtof): Require function.
32898 [C99-based standards] (strtold): Likewise.
32899 [C99-based standards] (strtoll): Likewise.
32900 [C99-based standards] (strtoull): Likewise.
32901 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32902 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32903 [ISO || ISO99 || ISO11] (math.h): Likewise.
32904 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32907
d18ea0c5
AS
329082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32909
32910 [BZ #14132]
56d25bb8
AS
32911 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32912 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32913 * intl/dgettext.c (DCGETTEXT): Likewise.
32914 * intl/gettext.c (DCGETTEXT): Likewise.
32915 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32916 * posix/regex_internal.h (gettext): Likewise.
32917 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32918 Remove declaration.
32919 * include/argz.h (__argz_count_internal)
32920 (__argz_stringify_internal): Remove declaration.
32921 (__argz_count, __argz_stringify): Declare hidden proto.
32922 * intl/dcgettext.c: Remove use of INTDEF.
32923 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32924 * string/argz-stringify.c: Likewise.
32925 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32926 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32927 Declare hidden proto.
d18ea0c5
AS
32928 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32929 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32930 Declare hidden proto.
32931 * include/stdio.h (__asprintf_internal): Don't declare.
32932 (__asprintf): Don't define as macro. Declare hidden proto.
32933 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32934 (__fsetlocking): Declare hidden proto.
32935 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32936 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32937 hidden proto.
32938 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32939 (_IO_setlinebuf): Remove use of INTUSE.
32940 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32941 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32942 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32943 Remove declaration.
32944 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32945 (_IO_do_flush): Remove use of INTUSE.
32946 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32947 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32948 (_IO_adjust_column, _IO_least_wmarker)
32949 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32950 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32951 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32952 (_IO_default_doallocate, _IO_wdefault_doallocate)
32953 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32954 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32955 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32956 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32957 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32958 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32959 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32960 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32961 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32962 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32963 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32964 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32965 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32966 proto.
32967 (_IO_flush_all_internal, _IO_adjust_column_internal)
32968 (_IO_default_uflow_internal, _IO_default_finish_internal)
32969 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32970 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32971 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32972 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32973 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32974 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32975 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32976 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32977 (_IO_file_close_internal, _IO_file_close_it_internal)
32978 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32979 (_IO_file_init_internal, _IO_file_attach_internal)
32980 (_IO_file_fopen_internal, _IO_file_read_internal)
32981 (_IO_file_sync_internal, _IO_file_seek_internal)
32982 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32983 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32984 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32985 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32986 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32987 (_IO_list_all_internal, _IO_link_in_internal)
32988 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32989 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32990 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32991 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32992 (_IO_do_write_internal, _IO_padn_internal)
32993 (_IO_getline_info_internal, _IO_getline_internal)
32994 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32995 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32996 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32997 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32998 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32999 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33000 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33001 with libc_hidden_ver, remove use of INTUSE.
33002 * libio/genops.c: Likewise.
33003 * libio/freopen.c: Likewise.
33004 * libio/freopen64.c: Likewise.
33005 * libio/iofclose.c: Likewise.
33006 * libio/iofdopen.c: Likewise.
33007 * libio/iofflush.c: Likewise.
33008 * libio/iofflush_u.c: Likewise.
33009 * libio/iofgets.c: Likewise.
33010 * libio/iofgets_u.c: Likewise.
33011 * libio/iofopen.c: Likewise.
33012 * libio/iofopncook.c: Likewise.
33013 * libio/iofread.c: Likewise.
33014 * libio/iofread_u.c: Likewise.
33015 * libio/ioftell.c: Likewise.
33016 * libio/iofwrite.c: Likewise.
33017 * libio/iogetline.c: Likewise.
33018 * libio/iogets.c: Likewise.
33019 * libio/iogetwline.c: Likewise.
33020 * libio/iopadn.c: Likewise.
33021 * libio/iopopen.c: Likewise.
33022 * libio/ioseekoff.c: Likewise.
33023 * libio/ioseekpos.c: Likewise.
33024 * libio/iosetbuffer.c: Likewise.
33025 * libio/iosetvbuf.c: Likewise.
33026 * libio/ioungetc.c: Likewise.
33027 * libio/ioungetwc.c: Likewise.
33028 * libio/iovdprintf.c: Likewise.
33029 * libio/iovsprintf.c: Likewise.
33030 * libio/iovsscanf.c: Likewise.
33031 * libio/memstream.c: Likewise.
33032 * libio/obprintf.c: Likewise.
33033 * libio/oldfileops.c: Likewise.
33034 * libio/oldiofclose.c: Likewise.
33035 * libio/oldiofdopen.c: Likewise.
33036 * libio/oldiofopen.c: Likewise.
33037 * libio/oldiopopen.c: Likewise.
33038 * libio/oldstdfiles.c: Likewise.
33039 * libio/putc.c: Likewise.
33040 * libio/setbuf.c: Likewise.
33041 * libio/setlinebuf.c: Likewise.
33042 * libio/stdfiles.c: Likewise.
33043 * libio/strops.c: Likewise.
33044 * libio/vasprintf.c: Likewise.
33045 * libio/vscanf.c: Likewise.
33046 * libio/vsnprintf.c: Likewise.
33047 * libio/vswprintf.c: Likewise.
33048 * libio/wfiledoalloc.c: Likewise.
33049 * libio/wfileops.c: Likewise.
33050 * libio/wgenops.c: Likewise.
33051 * libio/wmemstream.c: Likewise.
33052 * libio/wstrops.c: Likewise.
33053 * libio/__fpurge.c: Likewise.
33054 * libio/__fsetlocking.c: Likewise.
33055 * assert/assert.c: Likewise.
33056 * debug/fgets_chk.c: Likewise.
33057 * debug/fgets_u_chk.c: Likewise.
33058 * debug/fread_chk.c: Likewise.
33059 * debug/fread_u_chk.c: Likewise.
33060 * debug/gets_chk.c: Likewise.
33061 * debug/obprintf_chk.c: Likewise.
33062 * debug/vasprintf_chk.c: Likewise.
33063 * debug/vdprintf_chk.c: Likewise.
33064 * debug/vsnprintf_chk.c: Likewise.
33065 * debug/vsprintf_chk.c: Likewise.
33066 * malloc/mtrace.c: Likewise.
33067 * misc/error.c: Likewise.
33068 * misc/syslog.c: Likewise.
33069 * stdio-common/asprintf.c: Likewise.
33070 * stdio-common/fxprintf.c: Likewise.
33071 * stdio-common/getw.c: Likewise.
33072 * stdio-common/isoc99_fscanf.c: Likewise.
33073 * stdio-common/isoc99_scanf.c: Likewise.
33074 * stdio-common/isoc99_vfscanf.c: Likewise.
33075 * stdio-common/isoc99_vscanf.c: Likewise.
33076 * stdio-common/isoc99_vsscanf.c: Likewise.
33077 * stdio-common/printf-prs.c: Likewise.
33078 * stdio-common/printf_fp.c: Likewise.
33079 * stdio-common/printf_fphex.c: Likewise.
33080 * stdio-common/printf_size.c: Likewise.
33081 * stdio-common/putw.c: Likewise.
33082 * stdio-common/scanf.c: Likewise.
33083 * stdio-common/sprintf.c: Likewise.
33084 * stdio-common/tmpfile.c: Likewise.
33085 * stdio-common/vfprintf.c: Likewise.
33086 * stdio-common/vfscanf.c: Likewise.
33087 * stdlib/strfmon_l.c: Likewise.
33088 * sunrpc/openchild.c: Likewise.
33089 * sunrpc/xdr_stdio.c: Likewise.
33090 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33091 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33092
d6c33fda
RM
330932012-05-24 Roland McGrath <roland@hack.frob.com>
33094
c1487492
RM
33095 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33096
33097 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33098 in the third column, to generate for the shared library an IFUNC
33099 that uses _dl_vdso_vsym.
33100 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33101 * Makeconfig (object-suffixes-noshared): New variable.
33102
33103 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33104 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33105 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33106 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33107
d6c33fda
RM
33108 [BZ #14132]
33109 * include/sys/time.h (__gettimeofday): Remove macro.
33110 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33111 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33112 Remove INTDEF.
33113 (__gettimeofday): Add libc_hidden_def.
33114 (gettimeofday): Add libc_hidden_weak.
33115 * sysdeps/mach/gettimeofday.c: Likewise.
33116 * sysdeps/posix/gettimeofday.c: Likewise.
33117 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33118 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33120 (__gettimeofday_internal): Remove strong_alias.
33121 (__gettimeofday): Add libc_hidden_def.
33122 (gettimeofday): Add libc_hidden_weak.
33123 * sysdeps/unix/syscalls.list (gettimeofday):
33124 Remove __gettimeofday_internal alias.
33125
b5a2bbe6
L
331262012-05-24 Daniel Jacobowitz <drow@false.org>
33127 H.J. Lu <hongjiu.lu@intel.com>
33128
33129 [BZ #12495]
33130 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33131 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33132 (largebin_index_32_big): New.
33133 (largebin_index): Use it for 16-byte alignment.
33134 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33135 correction with front_misalign.
33136
cfba4fda
L
331372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33138
7f907421
L
33139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33141 Likewise.
33142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33143 Likewise.
33144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33145 Likewise.
33146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33147 Likewise.
33148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33149 Likewise.
33150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33151 Likewise.
33152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33153 Likewise.
33154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33155 Likewise.
33156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33157 Likewise.
33158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33159 Likewise.
33160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33161 Likewise.
33162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33163 Likewise.
33164
cfba4fda
L
33165 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33166 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33167
80bad0cc
JM
331682012-05-24 Joseph Myers <joseph@codesourcery.com>
33169
7a25eb06
JM
33170 [BZ #10846]
33171 [BZ #14036]
33172 * math/libm-test.inc (exp_test): Add test from bug 14036.
33173 (pow_test): Add test from bug 10846.
33174
795405f9
JM
33175 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33176 and other flags.
33177 (special_function): Do not include flags in test name.
33178 (parse_args): Likewise.
33179 * sysdeps/i386/fpu/libm-test-ulps: Update.
33180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33184
80bad0cc
JM
33185 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33186 exceptions.
33187 * math/libm-test.inc ("Philosophy"): Update comment about
33188 exception testing.
33189 (UNDERFLOW_EXCEPTION): New macro.
33190 (UNDERFLOW_EXCEPTION_OK): Likewise.
33191 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33192 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33193 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33194 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33195 (INVALID_EXCEPTION_OK): Update value.
33196 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33197 (OVERFLOW_EXCEPTION_OK): Likewise.
33198 (IGNORE_ZERO_INF_SIGN): Likewise.
33199 (test_exceptions): Handle underflow exceptions.
33200 (acos_test): Update for underflow exception expectations.
33201 (cexp_test): Likewise.
33202 (clog_test): Likewise.
33203 (clog10_test): Likewise.
33204 (csqrt_test): Likewise.
33205 (ctan_test): Likewise.
33206 (ctanh_test): Likewise.
33207 (exp_test): Likewise.
33208 (exp10_test): Likewise.
33209 (exp2_test): Likewise.
33210 (expm1_test): Likewise.
33211 (fma_test): Likewise.
33212 (j0_test): Likewise.
33213 (jn_test): Likewise.
33214 (nexttoward_test): Likewise.
33215 (pow_test): Likewise.
33216 (scalbn_test): Likewise.
33217 (scalbln_test): Likewise.
33218 (tan_test): Likewise.
33219 (y1_test): Likewise.
33220 * sysdeps/i386/fpu/libm-test-ulps: Update.
33221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33222
9e0e3d0b
DM
332232012-05-23 David S. Miller <davem@davemloft.net>
33224
33225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33226 (__libc_sigaction): Remove unused local variables.
33227
ccd0a08f
L
332282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33229
33230 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33231
62bdf9a6
PE
332322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33233
f8591f80
PE
33234 mktime: avoid signed integer overflow
33235 * time/mktime.c (__mktime_internal): Do not mishandle the case
33236 where diff == INT_MIN.
33237
94c7d826
PE
33238 mktime: simplify computation of average
33239 * time/mktime.c (ranged_convert): Use new time_t_avg function
33240 instead of rolling our own (probably-slower) code.
33241
ce73d683
PE
33242 mktime: do not assume signed right shift propagates sign bit
33243 * time/mktime.c (isdst_differ): New static function.
33244 (__mktime_internal): No need to normalize tm_isdst now.
33245 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33246 tm_isdst values.
33247
72a22e59
PE
33248 mktime: merge another wrapv change from gnulib
33249 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33250 from some compilers.
33251
68605433
PE
33252 mktime: remove incorrect attempt at unusual arithmetics
33253 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33254 The code didn't really work on such machines anyway.
33255 (TYPE_MINIMUM): Assume two's complement.
33256 (twos_complement_arithmetic): Verify that long_int and time_t
33257 are two's complement (or unsigned, in the latter case).
33258
03cf7fe3
PE
33259 mktime: check signed shifts on long_int and time_t, too
33260 * time/mktime.c (SHR): Check that shifts work as desired
33261 on the types long_int and time_t too, as SHR is used on
33262 such types.
33263
f04dfbc2
PE
33264 mktime: do not assume 'long' is wide enough
33265 * time/mktime.c (verify): Move decl up.
33266 (long_int): New type.
33267 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33268 to remove assumption in the code that 'long' is wide enough to
33269 store year values. This assumption is not true on x32 and on
33270 some non-glibc platforms.
33271
62bdf9a6
PE
33272 mktime: merge wrapv change from gnulib
33273 * time/mktime.c (WRAPV): New macro.
33274 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33275 (guess_time_tm, __mktime_internal): Do not assume that signed
33276 integer overflow wraps around; modern compilers generate code
33277 where this assumption is no longer valid.
33278
5e292e4f
L
332792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33280
33281 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33282 Replace "jmp L(pseudo_end)" with "ret".
33283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33284 Likewise.
33285
8caf8c87
AJ
332862012-05-23 Andreas Jaeger <aj@suse.de>
33287
33288 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33289 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33290
1a09dc56
AJ
332912012-05-23 Andreas Jaeger <aj@suse.de>
33292 Maximilian Attems <max@stro.at>
33293
33294 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33295 New macros.
33296
1c87aba0
L
332972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33298
33299 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33300 code so that pseudo_end is just ret and the stack pointer is
33301 correct also for static library in error case.
33302
40e45bd5
JM
333032012-05-23 Joseph Myers <joseph@codesourcery.com>
33304
c2670533
JM
33305 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33306 move to syscalls.list.
33307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33311
40e45bd5
JM
33312 * manual/install.texi (Running make install): Do not mention Linux
33313 kernel version for which pt_chown is not needed.
33314 (Linux): Do not mention problems with nscd with 2.0 kernels.
33315 * INSTALL: Regenerated.
33316
be08eda5
AJ
333172012-05-23 Andreas Jaeger <aj@suse.de>
33318
33319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33320 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33321 macro.
33322 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33324 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33326 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33328 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33330 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33332 * sysdeps/unix/sysv/linux/bits/in.h
33333 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33334
a6a056bb
RM
333352012-05-22 Roland McGrath <roland@hack.frob.com>
33336
33337 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33338 (PREPARE_VERSION): Just use assert instead, it will be elided
33339 under [NDEBUG] anyway.
33340
c9009328
L
333412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33342
33343 * sysdeps/unix/sysv/linux/Makefile: Include
33344 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33345 (sysdep_routines): Remove sysctl.
c9009328
L
33346 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33347 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33348 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33349 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33350 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33351
73338355
AJ
333522012-05-22 Andreas Jaeger <aj@suse.de>
33353
33354 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33355 that pseudo_end is just ret and the stack pointer is correct also
33356 for static library in error case.
33357
d44638b0
PP
333582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33359
33360 [BZ #14122]
33361 * nss/nsswitch.c (defconfig_entries): New variable.
33362 (__nss_database_lookup): Don't leak defconfig entries.
33363 (nss_parse_service_list): Don't leak on error paths.
33364 (free_database_entries): New function.
33365 (free_defconfig): New function.
33366 (free_mem): Move common code to free_database_entries.
33367
31a39bd8
L
333682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33369
da0331a8
L
33370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33371 Add arch_prctl.
33372 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33373
31a39bd8
L
33374 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33375 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33377 New macro.
33378 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33379 (INTERNAL_SYSCALL_TYPES): Likewise.
33380 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33381 (LOAD_REGS_TYPES_[1-6]): Likewise.
33382 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33383 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33384
45470df3
AZ
333852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33386
33387 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33388 copysignl for GLIBC_2_0.
33389 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33390 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33392 logbl for GLIBC_2_0.
33393 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33394 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33395
98a61bcb
L
333962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33397
a4f6e481
L
33398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33399 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33400
f63d5db6
L
33401 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33402 Use "neg %eax".
33403
98a61bcb
L
33404 * time/mktime.c: Update copyright years.
33405
95770f14
PE
334062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33407
6226efbd
PE
33408 mktime: merge comment-quoting-style change from gnulib
33409 * time/mktime.c: Quote 'like this' in comments.
33410 The GNU coding standards suggest that we no longer quote `like this',
33411 as "`" and "'" are typically rendered asymmetrically nowadays.
33412 The typical gnulib style is to quote 'like this' when quoting
33413 code, and "like this" when quoting English.
33414
b99e4f78
PE
33415 * time/mktime.c (compile-command): Add "-I.".
33416
643e01e6
PE
33417 mktime: merge mktime-internal.h change from gnulib
33418 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33419
2554247d
PE
33420 mktime: merge time_r change from gnulib
33421 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33422
826dd0ab
PE
33423 mktime: merge DEBUG change from gnulib
33424 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33425 case system <time.h> has a #define.
33426
bd83aabe
PE
33427 mktime: merge <sys/types.h> change from gnulib
33428 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33429 since <time.t> is now guaranteed to define time_t.
33430
95770f14
PE
33431 mktime: merge HAVE_CONFIG_H change from gnulib
33432 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33433
5e1a27a9
L
334342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33435
0e44a77e
L
33436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33437 Use "neg %eax".
33438
5e1a27a9
L
33439 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33440 __rlim_t cast.
33441 (struct rusage): Use anonymous union to pad each field to
33442 __syscall_slong_t.
33443
46259bec
DM
334442012-05-21 David S. Miller <davem@davemloft.net>
33445
33446 * Makefules (o-iterator): Remove .s cases.
33447 (compile-command.s): Delete.
33448 (COMPILE.s): Delete.
33449 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33450
59f0c22e
JM
334512012-05-21 Joseph Myers <joseph@codesourcery.com>
33452
33453 * configure.in (libc_cv_predef_stack_protector): Only consider
33454 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33455 * configure: Regenerated.
33456
20c07380
L
334572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33458
bbb3154b
L
33459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33460 New macro. Use R*LP on int and pointer.
33461 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33462 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33463 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33464 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33465
20c07380
L
33466 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33467 [__WORDSIZE_TIME64_COMPAT32] instead of
33468 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33469 (struct utmp): Likewise.
33470 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33471 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33472 Renamed to ...
33473 (__WORDSIZE_TIME64_COMPAT32): This.
33474 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33475 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33476 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33477 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33478 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33479 (__WORDSIZE_TIME64_COMPAT32): New macro.
33480
d8d1017e
AJ
334812012-05-21 Andreas Jaeger <aj@suse.de>
33482
33483 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33484 only if [SHARED]. Add prototype for __wcschr_ia32.
33485
6c7fb145
RM
334862012-05-21 Roland McGrath <roland@hack.frob.com>
33487
33488 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33489 of %rbp unmolested in the jmp_buf while mangling the low bits.
33490 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33491 unmolested high bits of %rbp while demangling the low bits.
33492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33493
66274218
AJ
334942012-05-21 Andreas Jaeger <aj@suse.de>
33495
07c58f8f
AJ
33496 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33497 * sunrpc/svc_simple.c: Use it for registerrpc.
33498 * sunrpc/xcrypt.c: Use it for passwd2des.
33499
66274218
AJ
33500 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33501
61f65140
L
335022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33503
33504 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33505 Don't define if [__SYSCALL_WORDSIZE != 32].
33506 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33507 New macro.
33508
5fefb436
AJ
335092012-05-21 Bruno Haible <bruno@clisp.org>
33510 Andreas Jaeger <aj@suse.de>
33511
33512 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33513 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33514 inptr and inend for must_buffer_ch.
33515 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33516 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33517 * stdio-common/Makefile (tests): Remove bug15.
33518 (bug15-ENV): Remove macro.
33519 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33520 anymore.
33521
d8e272ab
AJ
335222012-05-19 Andreas Jaeger <aj@suse.de>
33523 Roland McGrath <roland@hack.frob.com>
33524
33525 * manual/contrib.texi: Completely rewritten. It contains now an
33526 alphabetical list of contributors and their contributions.
33527
4a56a162
RH
335282012-05-21 Richard Henderson <rth@twiddle.net>
33529
33530 * misc/getauxval.c (__getauxval): Use unsigned long int.
33531 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33532 (getauxval): Use unsigned long int.
33533
d024d23c
L
335342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33535
33536 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33537
cbc00a03
RM
335382012-05-21 Roland McGrath <roland@hack.frob.com>
33539
33540 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33541 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33542 __alignof__ (long double).
33543
478143fa
AZ
335442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33545
33546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33547
c7683a6d
RH
335482012-05-20 Richard Henderson <rth@twiddle.net>
33549
33550 * misc/getauxval.c: New file.
33551 * misc/sys/auxv.h: New file.
33552 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33553 (routines): Add getauxval.
33554 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33556 * elf/dl-sysdep.c (_dl_auxv): Remove.
33557 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33558 * elf/dl-support.c (_dl_auxv): New variable.
33559 (_dl_aux_init): Initialize it.
33560 * manual/startup.texi (Auxiliary Vector): New node.
33561 * sysdeps/generic/bits/hwcap.h: New file.
33562 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33563 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33564 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33565 * sysdeps/sparc/sysdep.h: ... here. Include it.
33566 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33569 Update.
c7683a6d
RH
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33578
a6f1845d
AZ
335792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33580
33581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33582
cbcbe830
DM
335832012-05-19 David S. Miller <davem@davemloft.net>
33584
33585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33586
e0b16cc2
JM
335872012-05-19 Joseph Myers <joseph@codesourcery.com>
33588
33589 [BZ #14123]
33590 * math/s_ccosh.c: Include <float.h>
33591 (__ccosh): Avoid internal overflow calculating sinh and cosh
33592 values before multiplying by sin and cos values.
33593 * math/s_ccoshf.c: Likewise.
33594 * math/s_ccoshl.c: Likewise.
33595 * math/s_csin.c: Likewise.
33596 * math/s_csinf.c: Likewise.
33597 * math/s_csinl.c: Likewise.
33598 * math/s_csinh.c: Likewise.
33599 * math/s_csinhf.c: Likewise.
33600 * math/s_csinhl.c: Likewise.
33601 * math/libm-test.inc (ccos_test): Add more tests.
33602 (ccosh_test): Likewise.
33603 (csin_test): Likewise.
33604 (csinh_test): Likewise.
33605 * sysdeps/i386/fpu/libm-test-ulps: Update.
33606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33607
6ad13e08
L
336082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33609
f66f0ce8
L
33610 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33611 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33612
6ad13e08
L
33613 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33614
b1d072a7
JM
336152012-05-19 Joseph Myers <joseph@codesourcery.com>
33616
33617 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33618 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33619 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33620 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33621 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33622 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33623 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33624 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33625 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33626 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33627 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33628 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33629 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33630 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33631 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33632 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33633 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33634 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33635 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33636 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33637 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33638 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33639 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33640 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33641 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33642 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33643 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33644 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33645 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33646 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33647 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33648
9eae47cb
AJ
336492012-05-18 Andreas Jaeger <aj@suse.de>
33650
33651 * csu/.gitignore: Delete.
33652
bb07f69f
L
336532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33654
33655 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33656 (timex): Use __syscall_slong_t.
33657
e6bdb741
AJ
336582012-05-18 Andreas Jaeger <aj@suse.de>
33659 Carlos O'Donell <carlos_odonell@mentor.com>
33660
33661 * manual/install.texi (Configuring and compiling): Update
33662 description about files modified in the source directory.
d6c33fda 33663 * INSTALL: Regenerated.
e6bdb741 33664
1b74487e
L
336652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33666
33667 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33668 value. Use "or" to set return value to -1.
33669 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33670 negate return value.
33671
a88b64b9
TMQMF
336722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33673
57f41c40
AS
33674 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33675 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33676 failure if the compiler has Graphite support disabled.
33677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33678 Likewise.
57f41c40
AS
33679 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33680 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33681 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33682 Likewise.
33683
3707636e
L
336842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33685
610b8622
L
33686 * sysdeps/x86_64/x32/_itoa.h: New file.
33687
7cd195df
L
33688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33689 getdents system call only if kernel and user dirents have the
33690 same d_ino and d_off.
33691
94b07d20
L
33692 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33693 LLONG_MAX != LONG_MAX.
33694 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33695 (_fitoa_word): Likewise.
33696
18298070
L
33697 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33698 years.
33699 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33700 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33702
553c7ea4
L
33703 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33704 include <bits/wordsize.h>. Check __x86_64__ instead of
33705 __WORDSIZE.
33706 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33707 if __x86_64__ is defined. Use anonymous union on fpstate.
33708
3707636e
L
33709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33710 anonymous union.
33711
b53ef01a
AS
337122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33713
37fb1dc0
AS
33714 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33715 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33717 Refer to _rtld_local_ro instead of _rtld_global_ro.
33718 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33719 Likewise.
33720 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33721 Likewise.
33722 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33723 Likewise.
33724 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33725 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33726 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33727
b53ef01a
AS
33728 * sysdeps/powerpc/powerpc32/dl-machine.c
33729 (__elf_machine_runtime_setup) [PROF]: Don't reference
33730 _dl_prof_resolve.
33731
7a185db2
AJ
337322012-05-18 Andreas Jaeger <aj@suse.de>
33733
33734 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33735 function only available for GCCs before 3.4 since GCC 3.4
33736 introduced a builtin.
33737 (lrint): Likewise.
33738 (llrintf): Likewise.
33739 (llrint): Likewise.
33740 (fmaxf): Likewise.
33741 (fmax): Likewise.
33742 (fminf): Likewise.
33743 (fmin): Likewise.
33744 (rint): Likewise.
33745 (rintf): Likewise.
33746 (nearbyint): Likewise.
33747 (nearbyintf): Likewise.
33748 (ceil): Likewise.
33749 (ceilf): Likewise.
33750 (floor): Likewise.
33751 (floorf): Likewise.
33752
3e5aef87
L
337532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33754
428bd707
L
33755 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33756 on both fields and cast pointer to __syscall_ulong_t.
33757
3e5aef87
L
33758 * bits/types.h (__fsword_t): New type.
33759 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33760 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33762 (__FSWORD_T_TYPE): Likewise.
33763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33764 (__FSWORD_T_TYPE): Likewise.
33765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33766 (__FSWORD_T_TYPE): Likewise.
33767 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33768 (__FSWORD_T_TYPE): Likewise.
33769 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33770 __SWORD_TYPE with __fsword_t.
33771 (statfs64): Likewise.
33772
1ba7c3dc
DM
337732012-05-17 David S. Miller <davem@davemloft.net>
33774
33775 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33776
59910343
AJ
337772012-05-17 Andreas Jaeger <aj@suse.de>
33778
33779 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33780 warning.
33781
2e4c1e9e
L
337822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33783
33784 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33785
de7f5ce7
AJ
337862012-05-17 Andreas Jaeger <aj@suse.de>
33787
33788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33789 when it is used.
33790
286abc3d
CM
337912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33792
33793 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33794
477cc68e
L
337952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33796
33797 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33798 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33799
1a0994f5
CD
338002012-05-17 Andreas Jaeger <aj@suse.de>
33801 Carlos O'Donell <carlos_odonell@mentor.com>
33802
33803 [BZ #14059]
33804 * sysdeps/x86_64/multiarch/init-arch.h
33805 (bit_YMM_Usable): Rename to...
33806 (bit_AVX_Usable): ... this.
33807 (bit_FMA4_Usable): New macro.
33808 (bit_XMM_state): New macro.
33809 (bit_YMM_state): New macro.
33810 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33811 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33812 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33813 (CPUID_OSXSAVE): New macro.
33814 (CPUID_AVX): New macro.
33815 (CPUID_FMA4): New macro.
33816 (index_YMM_Usable): Rename to...
33817 (index_AVX_Usable): ... this.
33818 (HAS_AVX): Use HAS_ARCH_FEATURE.
33819 (HAS_FMA4): Likewise.
33820 (HAS_YMM_USABLE): Remove.
33821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33822 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33823 are present.
33824 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33825 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33826 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33827 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33828 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33829
0af797de
CM
338302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33831
33832 * math/libm-test.c: Support platforms without multiple rounding modes.
33833 * math/bug-nextafter.c: Support platforms without FP exceptions.
33834 * math/bug-nexttoward.c: Likewise.
33835 * math/test-fenv.c: Likewise.
33836 * math/test-misc.c: Likewise.
33837 * stdlib/bug-getcontext.c: Likewise.
33838
e39745ff
AJ
338392012-05-17 Andreas Jaeger <aj@suse.de>
33840
33841 * manual/examples/search.c (critter_cmp): Change signature to
33842 avoid warnings.
33843 * manual/string.texi (Collation Functions): Likewise.
33844
48970aba
L
338452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33846
33847 * bits/types.h: Fold copyright years.
33848 * bits/typesizes.h: Likewise.
33849 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33853 * time/time.h: Likewise.
33854
bedee953
PP
338552012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33856
33857 [BZ #208]
33858 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33859 in instead of returning them. Return void.
33860 (__libc_mallinfo): Accumulate over all arenas.
33861 (__malloc_stats): Adjust for change in int_mallinfo interface.
33862
61653dfb
RM
338632012-05-16 Roland McGrath <roland@hack.frob.com>
33864
30b99d79
RM
33865 [BZ #10375]
33866 * configure.in (NM): Add AC_CHECK_TOOL for it.
33867 (libc_extra_cflags): New substituted variable.
33868 Check for -fstack-protector being used implicitly.
33869 * configure: Regenerated.
33870 * config.make.in (config-extra-cflags): New variable,
33871 gets @libc_extra_cflags@.
33872 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33873
61653dfb
RM
33874 [BZ #10375]
33875 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33876 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33877 * configure: Regenerated.
33878 * config.make.in (CPPUNDEFS): New substituted variable.
33879 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33880 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33881 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33882
661768bb
L
338832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33884
33885 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33886 (mq_attr): Use __syscall_slong_t.
33887
d4261567
L
338882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33889
33890 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33891 Check __x86_64__ instead of __WORDSIZE.
33892 (_STAT_VER_LINUX): Likewise.
33893 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33894 __syscall_ulong_t and __syscall_slong_t.
33895 (stat64): Likewise.
33896
cf3ff365
L
338972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33898
33899 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33900
76cf3e4d
L
339012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33902
33903 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33904
a637753a
L
339052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33906
33907 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33908 __syscall_ulong_t.
33909
d5e05119
L
33910 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33911 include <bits/wordsize.h>. Check __x86_64__ instead of
33912 __WORDSIZE.
33913 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33914 defined.
33915 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33916
f62ee380
L
33917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33918 include <bits/wordsize.h>. Check __x86_64__ instead of
33919 __WORDSIZE.
33920 (user_regs_struct): Use "__extension__ unsigned long long"
33921 instead of "unsigned long" if __x86_64__ is defined.
33922 (user): Likewise. Pad after pointer field if __ILP32__ is
33923 defined.
33924
4e124ced
JM
339252012-05-16 Joseph Myers <joseph@codesourcery.com>
33926
6a3951a0
JM
33927 * configure.in (makeinfo): Require version 4.5 or later. Allow
33928 versions 5 to 9.
33929 * configure: Regenerated.
33930 * manual/install.texi (texinfo): Increase version requirement to
33931 4.5 or later.
33932 * INSTALL: Regenerated.
33933
4e124ced
JM
33934 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33935
953ca31a
L
339362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33937
33938 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33939
617aca05
L
33940 * sysdeps/x86_64/x32/ffs.c: New file.
33941
5762f7ae
L
33942 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33943 __syscall_ulong_t.
33944 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33945 defined. Use __syscall_ulong_t.
33946 (shminfo): Use __syscall_ulong_t.
33947 (shm_info): Likewise.
33948
a26b6856
L
33949 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33950 __syscall_ulong_t.
33951
cb2b9ef7
L
33952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33953 <bits/wordsize.h>.
33954 (msgqnum_t): Use __syscall_ulong_t.
33955 (msglen_t): Likewise.
33956 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33957 __syscall_ulong_t.
33958
34683bb0
L
33959 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33960 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33961
84a68786
L
33962 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33963
48baa5f1
L
33964 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33965 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33966
180be88b
L
33967 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33968 __syscall_slong_t.
33969
5e90c8ad
L
33970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33971 include <bits/wordsize.h>. Check __x86_64__ instead of
33972 __WORDSIZE.
33973
23dfb58b
L
33974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33975 "unsigned long long int" if __x86_64__ is defined.
33976 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33977
ce5d54b0
L
33978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33979 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33980 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33981
13dc9eac
L
33982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33983 <stdint.h>.
33984 (GET_PC): Cast to uintptr_t first.
33985 (GET_FRAME): Likewise.
33986 (GET_STACK): Likewise.
33987
a7895d15
L
33988 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33989 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33990 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33991 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33992 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33993 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33994 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33995 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33996 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33999 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34000 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34001 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34002 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34003 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34004 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34005 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34006 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34007 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34008 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34010 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34012 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34014 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34017
656416c9
AS
340182012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34019
5bd66283
AS
34020 * Makerules (+depfiles): Also collect depfiles from .oS in
34021 $(extra-objs).
34022 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34023 .oS, $(libnldbl-routines)).
34024
656416c9
AS
34025 * Makerules (native-compile-mkdep-flags): Define.
34026 * sunrpc/Makefile (extra-objs): Add $(addprefix
34027 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34028 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34029 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34030 calling $(make-target-directory).
34031
a46f2169
L
340322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34033
34034 * bits/types.h (__snseconds_t): Removed.
34035 * time/time.h (struct timespec): Replace __snseconds_t with
34036 __syscall_slong_t.
34037 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34038 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34039 Likewise.
34040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34041 (__SNSECONDS_T_TYPE): Likewise.
34042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34043 (__SNSECONDS_T_TYPE): Likewise.
34044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34045 (__SNSECONDS_T_TYPE): Likewise.
34046
6af6528b
L
340472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34048
34049 * sysdeps/mach/hurd/bits/typesizes.h
34050 (__SYSCALL_SLONG_TYPE): New macro.
34051 (__SYSCALL_ULONG_TYPE): Likewise.
34052
de986b56
L
340532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34054
34055 * bits/types.h (__syscall_slong_t): New type.
34056 (__syscall_ulong_t): Likewise.
34057
34058 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34059 (__SYSCALL_ULONG_TYPE): Likewise.
34060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34061 (__SYSCALL_SLONG_TYPE): Likewise.
34062 (__SYSCALL_ULONG_TYPE): Likewise.
34063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34064 (__SYSCALL_SLONG_TYPE): Likewise.
34065 (__SYSCALL_ULONG_TYPE): Likewise.
34066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34067 (__SYSCALL_SLONG_TYPE): Likewise.
34068 (__SYSCALL_ULONG_TYPE): Likewise.
34069
85736dc7
L
340702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34071
34072 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34073 Add sigaltstack-offsets.sym.
34074 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34075 <sigaltstack-offsets.h>.
34076 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34077 longjmp_msg pointer.
34078 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34079 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34080 signal stack.
34081 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34082
cc03b296
JM
340832012-05-15 Joseph Myers <joseph@codesourcery.com>
34084
a9538892
JM
34085 * elf/stackguard-macros.h: Remove file.
34086 * sysdeps/generic/stackguard-macros.h: New file.
34087 * sysdeps/i386/stackguard-macros.h: Likewise.
34088 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34089 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34090 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34091 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34092 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34093 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34094 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34095 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34096 <elf/stackguard-macros.h>.
34097
cc03b296
JM
34098 [BZ #14109]
34099 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34100 __aligned__ in attribute.
34101 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34102 (gregset_t): Likewise.
34103
93171016
L
341042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34105
34106 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34107 * sysdeps/x86_64/64/Implies-after: Here. New file.
34108 * sysdeps/x86_64/x32/Implies-after: New file.
34109
d86813a0
L
341102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34111
34112 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34113 and access return value for _dl_profile_fixup. Use R10_LP to
34114 load frame size.
34115
2953ec75
L
341162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34117
34118 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34119
3b550e9e
L
341202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34121
34122 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34123 * sysdeps/x86_64/x32/sysdep.h: New file.
34124
eda41706
L
341252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34126
34127 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34128 * sysdeps/x86_64/setjmp.S: Likewise.
34129
9ea01d93
AZ
341302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34131
34132 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34133 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34134 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34135 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34136 remove unused global constant.
34137
02a91938
CM
341382012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34139
34140 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34141 include of <not-cancel.h>.
34142
6540185f
RM
341432012-05-15 Roland McGrath <roland@hack.frob.com>
34144
34145 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34146
509072a0
AJ
341472012-05-15 Jeff Law <law@redhat.com>
34148 Andreas Jaeger <aj@suse.de>
34149
34150 [BZ #13594]
34151 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34152 out from...
34153 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34154 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34156 code changing __hst_map_handle.map.
34157
ba75122d
RM
341582012-05-15 Roland McGrath <roland@hack.frob.com>
34159
34160 * configure.in (sysnames): Look for Implies-before and Implies-after
34161 files.
34162 * configure: Regenerated.
34163
890d8bd8
L
341642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34165
34166 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34167 8-byte data alignment with LP_SIZE alignment.
34168
f6ee6623
L
341692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34170
34171 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34172 into R10_LP.
34173
ea2626f6
L
341742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34175
34176 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34177
085f715e
L
341782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34179
34180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34181 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34183 Likewise.
34184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34185
be8498fc
L
341862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34187
34188 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34189 (stackinfo_sub_sp): Likewise.
34190
70bc83b9
L
341912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34192
34193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34194 RAX_LP.
34195
9bc0b730
L
341962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34197
34198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34199 into R*_LP.
34200
6d2850e7
L
342012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34202
34203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34204 sizes into R*_LP.
34205
3cb84561
L
342062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34207
34208 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34209
54e2ed81
L
342102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34211
34212 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34213 into R11_LP and load __x86_64_shared_cache_size_half into
34214 R8_LP.
34215
8a17f349
L
342162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34217
34218 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34219 R8_LP.
34220
777b1eea
AZ
342212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34222
34223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34224 logb for POWER7.
34225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34226 logbf for POWER7.
34227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34228 logbl for POWER7.
34229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34230 powerpc32/power7/fpu/s_logb.c via #include.
34231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34232 powerpc32/power7/fpu/s_logbf.c via #include.
34233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34234 powerpc32/power7/fpu/s_logbl.c via #include.
34235
d20d4ac2
JM
342362012-05-15 Joseph Myers <joseph@codesourcery.com>
34237
34238 * README.libm: Remove file.
34239
6cdef1ab
L
342402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34241
34242 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34243 count for x32. Use R*_LP and omit operand-size suffix.
34244
0b254d8f
L
342452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34246
34247 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34248 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34249 * sysdeps/x86_64/x32/shlib-versions: New file.
34250
ceb809dc
RM
342512012-05-14 Roland McGrath <roland@hack.frob.com>
34252
34253 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34254 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34255 Use _dl_fatal_printf instead.
34256
37f1abd4
JM
342572012-05-14 Joseph Myers <joseph@codesourcery.com>
34258
34259 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34260 set if not set by the user. Do not allow for being unset.
34261 * sysdeps/unix/sysv/linux/configure: Regenerated.
34262
11de3a33
L
342632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34264
34265 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34266 the `q' suffix from lea and replace .quad with ASM_ADDR.
34267
e02f153a
L
342682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34269
34270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34271 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34272 instead of $17.
34273 (PTR_DEMANGLE): Likewise.
34274
520ae0fd
L
342752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34276
34277 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34278 (LP_OP): Likewise.
34279 (ASM_ADDR): Likewise.
34280 (RAX_LP): Likewise.
34281 (RBP_LP): Likewise.
34282 (RBX_LP): Likewise.
34283 (RCX_LP): Likewise.
34284 (RDI_LP): Likewise.
34285 (RSI_LP): Likewise.
34286 (RSP_LP): Likewise.
34287 (R8_LP): Likewise.
34288 (R9_LP): Likewise.
34289 (R10_LP): Likewise.
34290 (R10_LP): Likewise.
34291 (R11_LP): Likewise.
34292 (R12_LP): Likewise.
34293 (R13_LP): Likewise.
34294 (R14_LP): Likewise.
34295 (R15_LP): Likewise.
34296
b985be81
L
342972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34298
34299 * sysdeps/x86_64/x32/dl-machine.h: New file.
34300
6a4888ff
AJ
343012012-05-14 Andreas Jaeger <aj@suse.de>
34302
34303 * manual/Makefile (subdir): Remove export of subdir.
34304 (all): Remove target.
34305 (.PHONY): Remove all from list.
34306 (mkinstalldirs): Remove.
34307 (.PHONY): Remove installdirs from list.
34308 ($(inst_infodir)/libc.info): Use make-target-directory.
34309 (installdirs): Remove.
34310 (subdir_%): Remove.
34311 (glibc-targets): Remove.
34312 (lib): Remove.
34313 (stubs): Remove.
34314 ($(objpfx)stubs ../po/manual.pot): Remove.
34315 ($(objpfx)stamp%): Remove.
34316 (make-target-directory): Remove.
34317 (subdir_install): Remove.
34318 (routines): Remove.
34319 (aux): Remove.
34320 (sources): Remove.
34321 (objects): Remove.
34322 (headers): Remove.
34323
34324 [BZ #13750]
34325 * manual/.gitignore: Remove, it's not needed anymore.
34326 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34327 all files in it.
34328 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34329 directory.
34330 (texis): Renamed to $(objpfx)texis.
34331 (texis-path): New, contains path to generated files.
34332 (chapters.%): Use texis-path for complete path, add extra argument
34333 libc-texinfo.sh.
34334 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34335 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34336 (summary,texi, stamp-summary): Use complete path of
34337 files. Generate files in build dir.
34338 (dir-add.texi): Build in build dir.
34339 (libm-err.texi,stamp-libm-err): Likewise.
34340 (version.texi, stamp-version): Likewise.
34341 (.%c.texi): Likewise.
34342 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34343 (mostlyclean): Remove target.
34344 (realclean): Remove target.
34345 (generated): Add new variable with contents from mostlyclean and
34346 realclean, remove entries duplicated in common-mostlyclean, add
34347 stamp-libm-err and stamp-version.
34348 (generated-dirs): Add libc directory.
34349 ($(inst_infodir)/libc.info): Install files from build dir.
34350
34351 * manual/install.texi (Configuring and compiling): Adjust since
34352 the info files are not part of the tar ball anymore.
34353
7ac77294
AJ
343542012-05-14 Andreas Jaeger <aj@suse.de>
34355
34356 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34357 variable.
34358
ffb7875d
JM
343592012-05-14 Joseph Myers <joseph@codesourcery.com>
34360
34361 [BZ #13717]
34362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34363 to 2.2.0 where earlier.
34364 * sysdeps/unix/sysv/linux/configure: Regenerated.
34365 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34366 Remove conditional code.
34367 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34368 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34369 Remove conditional code.
34370 [!__NR_lchown]: Likewise.
34371 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34372 [__NR_lchown]: Likewise.
34373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34374 comment referencing __ASSUME_LCHOWN_SYSCALL.
34375 * sysdeps/unix/sysv/linux/i386/sigaction.c
34376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34378 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34379 Remove conditional code.
34380 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34381 (__protocol_available): Remove #if 0 code.
34382 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34383 conditional code.
34384 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34385 * sysdeps/unix/sysv/linux/kernel-features.h
34386 (__ASSUME_GETCWD_SYSCALL): Don't define.
34387 (__ASSUME_REALTIME_SIGNALS): Likewise.
34388 (__ASSUME_PREAD_SYSCALL): Likewise.
34389 (__ASSUME_PWRITE_SYSCALL): Likewise.
34390 (__ASSUME_POLL_SYSCALL): Likewise.
34391 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34392 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34393 non-SPARC.
34394 (__ASSUME_SIOCGIFNAME): Don't define.
34395 (__ASSUME_MSG_NOSIGNAL): Likewise.
34396 (__ASSUME_SENDFILE): Define unconditionally.
34397 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34398 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34399 conditional code.
34400 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34401 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34402 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34403 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34404 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34405 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34406 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34408 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34411 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34414 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34417 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34420 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34423 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34424 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34429 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34431 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34432 Remove conditional code.
34433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34434 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34435 Remove conditional code.
34436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34437 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34438 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34439 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34440 Remove conditional code.
34441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34442 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34443 Remove conditional code.
34444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34445 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34446 Remove conditional code.
34447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34448 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34449 Remove conditional code.
34450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34451 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34452 Remove conditional code.
34453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34454 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/sigaction.c
34458 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34459 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34460 * sysdeps/unix/sysv/linux/sigpending.c
34461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34463 * sysdeps/unix/sysv/linux/sigprocmask.c
34464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34466 * sysdeps/unix/sysv/linux/sigsuspend.c
34467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34470 (__libc_missing_rt_sigs): Remove.
34471 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34472 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34473 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34474 Remove conditional code.
34475 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34476 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34477 return 1.
34478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34479 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34480 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34481 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34482
1bfb7291
AJ
344832012-05-14 Andreas Jaeger <aj@suse.de>
34484
caae5a81
AJ
34485 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34486 it's not used in glibc.
34487 (__coshm1): Likewise.
34488 (__acosh1p): Likewise.
34489 (__sgn): Likewise.
34490
1bfb7291
AJ
34491 * manual/string.texi (Copying and Concatenation): Add missing
34492 variable in concat example.
34493 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34494
c044d724
L
344952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34496
144c5467 34497 [BZ #14103]
c044d724
L
34498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34499 __builtin_clzl with __builtin_clzll.
34500
2523c62b
L
345012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34502
34503 [BZ #14104]
34504 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34505 libc_freeres_ptr.
34506
d7bb4c42
LD
345072012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34508
34509 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34510 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34511 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34513
9dc4e1fb
MF
345142012-05-14 Mike Frysinger <vapier@gentoo.org>
34515
34516 * NEWS: Update ia64 info.
34517
c7df0112
AS
345182012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34519
34520 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34521 used as bcopy.
34522
dc70356c
TS
345232012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34524
34525 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34526 * sysdeps/unix/syscalls.list (dup3): Likewise.
34527 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34528 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34529
9fb1a21f
L
345302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34531
34532 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34533 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34534
4822a2a5
L
345352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34536
34537 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34538 thread pointer.
34539 (TLS_IE): Use mov/add instead of movq/addq to load thread
34540 pointer.
34541 (TLS_GD_PREFIX): New.
34542 (TLS_GD): Use it.
34543
842b81d6
DM
345442012-05-11 David S. Miller <davem@davemloft.net>
34545
34546 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34547 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34548 (_FPU_SETCW): Likewise.
34549
1cf463cd
L
345502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34551
34552 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34553 is 32-byte aligned.
34554
60cc4a18
AS
345552012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34556
34557 [BZ #11837]
34558 * iconvdata/gb18030.c: Update tables.
34559 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34560 characters specially.
34561 (BODY for TO_LOOP): Add encoding of missing ranges.
34562
febb44a4
TS
345632012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34564
34565 [BZ #13673]
34566 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34567 * sysdeps/mach/hurd/dup3.c: Likewise.
34568 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34569 * sysdeps/powerpc/memmove.c:: Likewise.
34570
0a10fb9e
L
345712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34572
34573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34574 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34575
df8a552f
L
345762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 * elf/elf.h (R_X86_64_RELATIVE64): New.
34579 (R_X86_64_NUM): Updated.
34580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34581 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34582 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34583 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34584 tst-quad1pie tst-quad2pie
34585 (modules-names): Add tst-quadmod1 tst-quadmod2.
34586 ($(objpfx)tst-quad1): New dependency.
34587 ($(objpfx)tst-quad2): Likewise.
34588 ($(objpfx)tst-quad1pie): Likewise.
34589 ($(objpfx)tst-quad2pie): Likewise.
34590 * sysdeps/x86_64/tst-quad1.c: New file.
34591 * sysdeps/x86_64/tst-quad1pie.c: New file.
34592 * sysdeps/x86_64/tst-quad2.c: Likewise.
34593 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34594 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34595 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34596 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34597 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34598
f34d6f84
ST
345992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34600
f42d41d1
ST
34601 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34602 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34603 * streams/stropts.h (t_scalar_t): Define type.
34604
3c3571fc
ST
34605 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34606 (_PATH_PRESERVE): Set to "/var/lib".
34607 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34608
61f06bd3
ST
34609 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34610 instead of int.
34611
918d4d71
ST
34612 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34613 if __dir_mkfile succeeded.
34614
f34d6f84
ST
34615 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34616 checking for _hurd_dtablesize. Unlock it right after having
34617 finished _hurd_dtable allocation.
34618
10589b4a
TS
346192012-05-10 Thomas Schwinge <thomas@schwinge.name>
34620
674cdbc7
TS
34621 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34622 * sysdeps/mach/hurd/configure: Regenerated.
34623 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34624 special-casing to...
34625 * sysdeps/gnu/configure.in: ... this new file.
34626 * sysdeps/unix/sysv/linux/configure: Regenerated.
34627 * sysdeps/gnu/configure: New generated file.
34628
8e41b99f
TS
34629 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34630 for Linux: use nsec instead of usec, as well as:
34631 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34632 members of type struct timespec.
34633 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34634 New macros.
34635 (struct stat64): Likewise.
34636 (_STATBUF_ST_NSEC): New macro.
34637 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34638
10589b4a
TS
34639 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34640 __strtoul_internal rather than strtoul.
34641
63643c85
PT
346422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34643
34644 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34645 and reject them.
34646
3faebe6a
ST
346472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34648
34649 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34650 which preserves existing values.
34651 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34652
c6474b07
PT
346532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34654
34655 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34656 TIMEOUT values. Return EINVAL for NFDS values either negative or
34657 greater than FD_SETSIZE.
34658
1043890b
ST
346592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34660
34661 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34662 allocated, call __vm_protect to finish enabling the existing space, and
34663 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34664 allocate the remainder.
34665
37ed8b9b
PT
346662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34667
34668 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34669 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34670
db653660
ST
346712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34672
37ed8b9b
PT
34673 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34674 sysdeps/mach/hurd/readlink.c.
b29d4053 34675
db653660
ST
34676 * posix/tst-sysconf.c (posix_options): Only use
34677 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34678 _POSIX_SYNCHRONIZED_IO when they are defined
34679 * sysdeps/mach/hurd/bits/posix_opt.h:
34680 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34681 (_XOPEN_REALTIME): Undefine macro.
34682 (_XOPEN_REALTIME_THREADS): Undefine macro.
34683 (_XOPEN_SHM): Undefine macro.
34684 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34685 macro to -1.
34686 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34687 macro to -1.
34688 (_POSIX_ASYNC_IO): Undefine macro.
34689 (_POSIX_PRIORITIZED_IO): Undefine macro.
34690 (_POSIX_SPIN_LOCKS): Define macro to -1.
34691
ee16e894
ST
34692 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34693 SA_NODEFER, SA_RESETHAND.
34694 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34695 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34696 F_DUPFD_CLOEXEC.
34697
6103ae3b
TS
346982012-05-10 Thomas Schwinge <thomas@schwinge.name>
34699
34700 * elf/Makefile (pldd-modules): Define unconditionally.
34701
80b4e5f3
TS
347022012-05-10 Thomas Schwinge <thomas@schwinge.name>
34703
34704 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34705
edadcbd6
ST
347062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34707
34708 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34709 Return ENOENT when name is empty.
34710 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34711
80694780
TS
347122012-05-10 Thomas Schwinge <thomas@schwinge.name>
34713
1792c087
TS
34714 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34715
80694780
TS
34716 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34717
6b645f0d
ST
347182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34719
80694780
TS
34720 Fix mlock in all cases except non-readable pages.
34721 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34722 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34723
6b645f0d
ST
34724 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34725 (__mkdir): When path is `/', just fail with EEXIST.
34726 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34727
e468f8a3
TS
347282012-05-10 Thomas Schwinge <thomas@schwinge.name>
34729
34730 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34731 <sys/uio.h> (for writev).
34732 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34733 and <sys/param.h> (for MIN).
34734
a4186cff
PT
347352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34736
34737 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34738 REQUESTED_TIME. Properly set the remaining time and return EINTR
34739 if interrupted.
34740
510bbf14
TS
347412012-05-10 Thomas Schwinge <thomas@schwinge.name>
34742
34743 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34744 Depend on against $(link-rpcuserlibs).
34745
5d5722e8
ST
347462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34747
a4186cff
PT
34748 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34749 (__libc_stack_end): Do not use attribute_relro.
34750 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34751 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34752 to libthread-provided value.
a4186cff
PT
34753 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34754 attribute_relro.
5d5722e8 34755
37233df9
TS
347562012-05-10 Thomas Schwinge <thomas@schwinge.name>
34757
be971a2b
TS
34758 [BZ #3748]
34759 * bits/libc-lock.h (__libc_once_get): New macro.
34760 * sysdeps/mach/bits/libc-lock.h: Likewise.
34761 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34763 instead of using implementation details.
34764
37233df9
TS
34765 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34766 * libio/freopen.c: Likewise.
34767 * libio/freopen64.c: Likewise.
34768 * misc/syslog.c: Likewise.
34769 * nscd/connections.c: Likewise.
34770 * nscd/netgroupcache.c: Likewise.
34771 * sysdeps/posix/getcwd.c: Likewise.
34772
38de94a5
RM
347732012-05-10 Roland McGrath <roland@hack.frob.com>
34774
34775 * math/w_ilogbf.c: Add #include <limits.h>.
34776
67530489
ST
347772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34778
a4186cff 34779 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34780 path instead of returning without unlocking.
34781
67530489
ST
34782 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34783 immediate-write ioctls.
34784 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34785
5aa3a74a
TS
347862012-05-10 Thomas Schwinge <thomas@schwinge.name>
34787
18bad2ae
TS
34788 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34789 __builtin_frame_address instead of making assumptions about the
34790 location of the return address relative to DATA. Force early load of
34791 the return address.
34792 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34793 __builtin_frame_address.
34794
5aa3a74a
TS
34795 dup3 for GNU Hurd.
34796 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34797 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34798 implement dup3 and do some further code clean-ups.
34799 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34800 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34801
ecd0de9a
ST
348022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34803
cd9fa985
ST
34804 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34805
a4186cff
PT
34806 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34807 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34808 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34809 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34810 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34811 d->port.lock.
802ca5a5 34812
a4186cff
PT
34813 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34814 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34815 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34816
bcf55240
TS
348172012-05-10 Thomas Schwinge <thomas@schwinge.name>
34818
6960eb42
TS
34819 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34820 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34821 definitions.
34822
eb43375f
TS
34823 accept4 for GNU Hurd.
34824 * include/sys/socket.h (__libc_accept4): New prototype.
34825 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34826 to implement __libc_accept4.
34827 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34828 __libc_accept4.
34829 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34830
bcf55240
TS
34831 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34832 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34833 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34834 signal-defines.sym.
34835
6178c55b
ST
348362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34837
a4186cff 34838 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34839
6f080c2f
TS
348402012-05-10 Thomas Schwinge <thomas@schwinge.name>
34841
34842 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34843 assertion on O_CLOEXEC flag.
34844 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34845 * hurd/intern-fd.c: Likewise.
34846 * hurd/port2fd.c: Likewise.
34847
bcfe3a54
ST
348482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34849
34850 [BZ #3906]
34851 * bits/in.h (IPV6_PKTINFO): Define new macro.
34852 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34853
89c9aa49
AZ
348542012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34855
34856 [BZ #13954]
34857 [BZ #13955]
34858 [BZ #13956]
34859 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34861 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34862 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34864 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34865 * math/libm-test.inc (logb_test) : Additional logb tests.
34866
021db4be
AJ
348672012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34868 Andreas Jaeger <aj@suse.de>
34869
34870 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34871 * configure: Regenerated.
34872 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34873 * config.make.in (link-obsolete-rpc): New substituted variable.
34874 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34875 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34876 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34877 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34878 so that libc.a contains the symbols.
34879 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34880 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34881 * sunrpc/auth_none.c: Likewise.
34882 * sunrpc/auth_unix.c: Likewise.
34883 * sunrpc/authdes_prot.c: Likewise.
34884 * sunrpc/authuxprot.c: Likewise.
34885 * sunrpc/clnt_gen.c: Likewise.
34886 * sunrpc/clnt_perr.c: Likewise.
34887 * sunrpc/clnt_raw.c: Likewise.
34888 * sunrpc/clnt_simp.c: Likewise.
34889 * sunrpc/clnt_tcp.c: Likewise.
34890 * sunrpc/clnt_udp.c: Likewise.
34891 * sunrpc/clnt_unix.c: Likewise.
34892 * sunrpc/des_crypt.c: Likewise.
34893 * sunrpc/des_soft.c: Likewise.
34894 * sunrpc/get_myaddr.c: Likewise.
34895 * sunrpc/key_call.c: Likewise.
34896 * sunrpc/key_prot.c: Likewise.
34897 * sunrpc/netname.c: Likewise.
34898 * sunrpc/pm_getmaps.c: Likewise.
34899 * sunrpc/pm_getport.c: Likewise.
34900 * sunrpc/pmap_clnt.c: Likewise.
34901 * sunrpc/pmap_prot.c: Likewise.
34902 * sunrpc/pmap_prot2.c: Likewise.
34903 * sunrpc/pmap_rmt.c: Likewise.
34904 * sunrpc/publickey.c: Likewise.
34905 * sunrpc/rpc_cmsg.c: Likewise.
34906 * sunrpc/rpc_common.c: Likewise.
34907 * sunrpc/rpc_dtable.c: Likewise.
34908 * sunrpc/rpc_prot.c: Likewise.
34909 * sunrpc/rpc_thread.c: Likewise.
34910 * sunrpc/rtime.c: Likewise.
34911 * sunrpc/svc.c: Likewise.
34912 * sunrpc/svc_auth.c: Likewise.
34913 * sunrpc/svc_raw.c: Likewise.
34914 * sunrpc/svc_run.c: Likewise.
34915 * sunrpc/svc_tcp.c: Likewise.
34916 * sunrpc/svc_udp.c: Likewise.
34917 * sunrpc/svc_unix.c: Likewise.
34918 * sunrpc/svcauth_des.c: Likewise.
34919 * sunrpc/xcrypt.c: Likewise.
34920 * sunrpc/xdr.c: Likewise.
34921 * sunrpc/xdr_array.c: Likewise.
34922 * sunrpc/xdr_float.c: Likewise.
34923 * sunrpc/xdr_intXX_t.c: Likewise.
34924 * sunrpc/xdr_mem.c: Likewise.
34925 * sunrpc/xdr_rec.c: Likewise.
34926 * sunrpc/xdr_ref.c: Likewise.
34927 * sunrpc/xdr_sizeof.c: Likewise.
34928 * sunrpc/xdr_stdio.c: Likewise.
34929
b5c086a2
RM
349302012-05-10 Roland McGrath <roland@hack.frob.com>
34931
34932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34933 change. Update copyright years.
34934
6d74dd09
JM
349352012-05-10 Joseph Myers <joseph@codesourcery.com>
34936
34937 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34938
28e72501
MK
349392012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34940 Joseph Myers <joseph@codesourcery.com>
34941 Paul Pluzhnikov <ppluzhnikov@google.com>
34942
34943 [BZ #14012]
34944 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34945 requiring rpcgen.
34946 [cross-compiling] (extra-libs): Likewise.
34947 [cross-compiling] (extra-libs-others): Likewise.
34948 [cross-compiling] (librpcsvc-routines): Likewise.
34949 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34950 [cross-compiling] (omit-deps): Likewise.
34951 (sunrpc-CPPFLAGS): New variable.
34952 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34953 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34954 (cross-rpcgen-objs): New variable.
34955 (extra-objs): Append $(cross-rpcgen-objs).
34956 ($(cross-rpcgen-objs)): New rule.
34957 ($(objpfx)cross-rpcgen): Likewise.
34958 (rpcgen-cmd): Define to use $(built-program-file). Expand
34959 comment.
34960 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34961 ($(objpfx)x%.stmp): Likewise.
34962 * sunrpc/proto.h [IS_IN_build] (_): Define.
34963 [IS_IN_build] (_libc_intl_domainname): Likewise.
34964
c8c59454
L
349652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34966
34967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34968 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34969 and R_X86_64_TPOFF64.
34970
6f27cd16
JM
349712012-05-10 Joseph Myers <joseph@codesourcery.com>
34972
34973 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34974 sysdeps/unix/sysv/syscalls.list.
34975 (stime): Likewise.
34976 (utime): Likewise.
34977 * sysdeps/unix/sysv/syscalls.list: Remove file.
34978
02467e1c
PE
349792012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34980
34981 [BZ #3440]
34982 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34983 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34984 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34985 (__LC_IDENTIFICATION): Make these macros useful in #if
34986 expressions, as required by C99.
34987
da392631
AS
349882012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34989
34990 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34991 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34992 after this.
34993
8115f29b
L
349942012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34995
34996 * stdlib/longlong.h: Updated from GCC.
34997
bdd74070
AJ
349982012-05-09 Andreas Jaeger <aj@suse.de>
34999
edfe0dbe
AJ
35000 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35001 default is first entry.
35002 (run_mode): Set type.
35003 (main): Remove informal message about syslog.
35004 (options): Fix typo.
35005
bcfe3a54
ST
35006 [BZ #14053]
35007 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35008 to asm.
bcfe3a54
ST
35009 (lrint): Likewise.
35010 (llrintf): Likewise.
35011 (llrint): Likewise.
35012 (rint): Likewise.
35013 (rintf): Likewise.
35014 (nearbyint): Likewise.
35015 (nearbyintf): Likewise.
bdd74070 35016
91d8d69e
AJ
350172012-05-09 Andreas Jaeger <aj@suse.de>
35018 Pedro Alves <palves@redhat.com>
35019
35020 * nscd/nscd.c (run_mode): Use enum.
35021 (main): Cleanup coding style issue.
35022
bb90b80b
AJ
350232012-05-09 Alexandre Oliva <aoliva@redhat.com>
35024 Andreas Jaeger <aj@suse.de>
35025
bcfe3a54
ST
35026 * nscd/nscd.c (go_background): Replaced with...
35027 (run_mode): ... this.
bb90b80b 35028 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35029 (options): Add -F --foreground.
35030 (main): Implement it.
35031 (parse_opt): Parse it.
bb90b80b 35032
1a4b75a1
AJ
350332012-05-09 Andreas Jaeger <aj@suse.de>
35034
35035 [BZ #14083]
35036 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35037 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35038 -Wconversion warning.
35039 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35040 Likewise.
35041
b1cc2472
JM
350422012-05-09 Joseph Myers <joseph@codesourcery.com>
35043
35044 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35045 == 0.
35046 (LC_ALL): Use macro-int-constant.
35047 (LC_COLLATE): Likewise.
35048 (LC_CTYPE): Likewise.
35049 (LC_MESSAGES): Likewise.
35050 (LC_MONETARY): Likewise.
35051 (LC_NUMERIC): Likewise.
35052 (LC_TIME): Likewise.
35053 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35054 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35056 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35057 Specify type.
35058 [C99-based standards] (float_t): Expect type.
35059 [C99-based standards] (double_t): Expect type.
35060 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35061 type.
35062 [C99-based standards] (HUGE_VALL): Likewise.
35063 [C99-based standards] (INFINITY): Likewise.
35064 [C99-based standards] (NAN): Likewise.
35065 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35066 [C99-based standards] (FP_NAN): Likewise.
35067 [C99-based standards] (FP_NORMAL): Likewise.
35068 [C99-based standards] (FP_SUBNORMAL): Likewise.
35069 [C99-based standards] (FP_ZERO): Likewise.
35070 [C99-based standards] (FP_FAST_FMA): Use
35071 optional-macro-int-constant. Specify type. Require == 1.
35072 [C99-based standards] (FP_FAST_FMAF): Likewise.
35073 [C99-based standards] (FP_FAST_FMAL): Likewise.
35074 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35075 [C99-based standards] (FP_ILOGBNAN): Likewise.
35076 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35077 Specify type.
35078 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35079 [C99-based standards] (math_errhandling): Specify type.
35080 [ISO99 || ISO11] (signgam): Do not allow.
35081 [non-C99-based standards] (copysignf): Do not allow.
35082 [non-C99-based standards] (exp2f): Likewise.
35083 [non-C99-based standards] (log2f): Likewise.
35084 [non-C99-based standards] (modff): Allow.
35085 [non-C99-based standards] (erff): Do not allow.
35086 [non-C99-based standards] (erfcf): Likewise.
35087 [non-C99-based standards] (gammaf): Likewise.
35088 [non-C99-based standards] (hypotf): Likewise.
35089 [non-C99-based standards] (j0f): Likewise.
35090 [non-C99-based standards] (j1f): Likewise.
35091 [non-C99-based standards] (jnf): Likewise.
35092 [non-C99-based standards] (lgammaf): Likewise.
35093 [non-C99-based standards] (tgammaf): Likewise.
35094 [non-C99-based standards] (y0f): Likewise.
35095 [non-C99-based standards] (y1f): Likewise.
35096 [non-C99-based standards] (ynf): Likewise.
35097 [non-C99-based standards] (isnanf): Likewise.
35098 [non-C99-based standards] (acoshf): Likewise.
35099 [non-C99-based standards] (asinhf): Likewise.
35100 [non-C99-based standards] (atanhf): Likewise.
35101 [non-C99-based standards] (cbrtf): Likewise.
35102 [non-C99-based standards] (expm1f): Likewise.
35103 [non-C99-based standards] (ilogbf): Likewise.
35104 [non-C99-based standards] (log1pf): Likewise.
35105 [non-C99-based standards] (logbf): Likewise.
35106 [non-C99-based standards] (nextafterf): Likewise.
35107 [non-C99-based standards] (remainderf): Likewise.
35108 [non-C99-based standards] (rintf): Likewise.
35109 [non-C99-based standards] (scalbf): Likewise.
35110 [non-C99-based standards] (copysignl): Likewise.
35111 [non-C99-based standards] (exp2l): Likewise.
35112 [non-C99-based standards] (log2l): Likewise.
35113 [non-C99-based standards] (modfl): Allow.
35114 [non-C99-based standards] (erfl): Do not allow.
35115 [non-C99-based standards] (erfcl): Likewise.
35116 [non-C99-based standards] (gammal): Likewise.
35117 [non-C99-based standards] (hypotl): Likewise.
35118 [non-C99-based standards] (j0l): Likewise.
35119 [non-C99-based standards] (j1l): Likewise.
35120 [non-C99-based standards] (jnl): Likewise.
35121 [non-C99-based standards] (lgammal): Likewise.
35122 [non-C99-based standards] (tgammal): Likewise.
35123 [non-C99-based standards] (y0l): Likewise.
35124 [non-C99-based standards] (y1l): Likewise.
35125 [non-C99-based standards] (ynl): Likewise.
35126 [non-C99-based standards] (isnanl): Likewise.
35127 [non-C99-based standards] (acoshl): Likewise.
35128 [non-C99-based standards] (asinhl): Likewise.
35129 [non-C99-based standards] (atanhl): Likewise.
35130 [non-C99-based standards] (cbrtl): Likewise.
35131 [non-C99-based standards] (expm1l): Likewise.
35132 [non-C99-based standards] (ilogbl): Likewise.
35133 [non-C99-based standards] (log1pl): Likewise.
35134 [non-C99-based standards] (logbl): Likewise.
35135 [non-C99-based standards] (nextafterl): Likewise.
35136 [non-C99-based standards] (remainderl): Likewise.
35137 [non-C99-based standards] (rintl): Likewise.
35138 [non-C99-based standards] (scalbl): Likewise.
35139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35140 [non-C99-based standards] (FP_*): Do not allow.
35141 [C99-based standards] (FP_*): Change to
35142 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35143 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35144 allow.
35145 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35146 (SIG_ERR): Likewise.
35147 [X/Open-based standards] (SIG_HOLD): Likewise.
35148 (SIG_IGN): Likewise.
35149 (SIGABRT): Use macro-int-constant. Specify type. Require
35150 positive value.
35151 (SIGFPE): Likewise.
35152 (SIGILL): Likewise.
35153 (SIGINT): Likewise.
35154 (SIGSEGV): Likewise.
35155 (SIGTER): Likewise.
35156 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35157 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35158 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35159 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35160 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35161 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35162 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35166 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35167 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35168 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35169 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35170 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35171 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35172 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35173 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35174 [X/Open-based standards] (SIGTRAP): Likewise.
35175 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35176 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35177 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35179 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35180 allow.
35181
b9f1922d
IW
351822012-05-08 Ian Wienand <ianw@vmware.com>
35183
35184 [BZ #14080]
35185 * time/tzset.c (__tzset_parse_tz): Update default rules for
35186 daylight time changes in the Energy Policy Act of 2005.
35187
1db86e88
AJ
351882012-05-09 Andreas Jaeger <aj@suse.de>
35189
35190 [BZ #13983]
35191 * elf/ldconfig.c (parse_conf): Change string to make clear that
35192 ldconfig only issued a warning if ld.so.conf does not exist.
35193
dee4a4e3
DM
351942012-05-08 David S. Miller <davem@davemloft.net>
35195
ee0db190
DM
35196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35197 movxtod instead of popping the value on the stack.
35198
dee4a4e3
DM
35199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35200
6a43ec98
CD
352012012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35202
35203 * config.h.in: Add HAVE_ARM_PCS_VFP.
35204
05c2c961
RMG
352052012-05-08 Roland Mc Grath <roland@hack.frob.com>
35206
bcfe3a54
ST
35207 [BZ #13979]
35208 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35209 checking but the checks are disabled for any reason.
05c2c961 35210
4b30f61a
L
352112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35212
35213 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35214 and ELF64_R_TYPE with ELFW(R_TYPE).
35215
eee2bc67
JM
352162012-05-08 Joseph Myers <joseph@codesourcery.com>
35217
7ea5391a
JM
35218 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35219 (ulimit): Likewise.
35220
eee2bc67
JM
35221 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35222 (settimeofday): Likewise.
35223
abb66a67
MF
352242012-05-08 Mike Frysinger <vapier@gentoo.org>
35225
35226 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35227 a struct th_u2 inside the union, and move tu_block/tu_code into
35228 a new th_u3 union of tu_block/tu_code inside of that. Move
35229 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35230 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35231 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35232 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35233 (th_stuff): Change to th_u1.tu_stuff.
35234 (th_data): Define.
35235 (th_msg): Change to th_u1.th_u2.tu_data.
35236
7f18b530
DM
352372012-05-07 David S. Miller <davem@davemloft.net>
35238
05760585
DM
35239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35240
7f18b530
DM
35241 [BZ #14074]
35242 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35243 (SETUP_PIC_REG): Use it.
35244 (SETUP_PIC_REG_LEAF): Use it.
35245
495fd99f
JM
352462012-05-07 Joseph Myers <joseph@codesourcery.com>
35247
35248 [BZ #13885]
35249 [BZ #13923]
35250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35251 USE_AS_EXPM1L.
35252 (EXPL_FINITE): Likewise.
35253 (FLDLOG): Likewise.
35254 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35255 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35256 e_expl.S.
35257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35258 USE_AS_EXPM1L.
35259 (EXPL_FINITE): Likewise.
35260 (FLDLOG): Likewise.
35261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35262 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35263 e_expl.S.
35264 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35265 test of -max_value argument for long double.
35266 * sysdeps/i386/fpu/libm-test-ulps: Update.
35267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35268
6693d694
DM
352692012-05-06 David S. Miller <davem@davemloft.net>
35270
35271 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35272 quad soft-float symbols whose references which are compiler
35273 generated.
35274 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35275
6c23e11c
JM
352762012-05-06 Joseph Myers <joseph@codesourcery.com>
35277
d8b82cad
JM
35278 [BZ #13884]
35279 [BZ #13914]
35280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35281 USE_AS_EXP10L.
35282 (EXPL_FINITE): Likewise.
35283 (FLDLOG): Likewise.
35284 (c0): Likewise.
35285 (c1): Likewise.
35286 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35287 Adjust comments for base varying.
35288 (__expl_finite): Change alias to EXPL_FINITE.
35289 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35290 e_expl.S.
35291 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35292 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35294 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35296 USE_AS_EXP10L.
35297 (EXPL_FINITE): Likewise.
35298 (FLDLOG): Likewise.
35299 (c0): Likewise.
35300 (c1): Likewise.
35301 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35302 Adjust comments for base varying.
35303 (__expl_finite): Change alias to EXPL_FINITE.
35304 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35305 tests for bugs.
35306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35307
6c23e11c
JM
35308 [BZ #14064]
35309 * math/libm-test.inc (check_float_internal): Correct ulp
35310 calculation for subnormal expected results.
35311
29ba805c
AJ
353122012-05-06 Andreas Jaeger <aj@suse.de>
35313
35314 * Makeconfig (+math-flags): New, set to -frounding-math.
35315 (+cflags): Add +math-flags so that all of glibc gets compiled with
35316 it.
35317
35318 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35319
7b17aeda
JM
353202012-05-05 Joseph Myers <joseph@codesourcery.com>
35321
5779f134
JM
35322 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35323 Disable one test.
35324
41498f4d
JM
35325 [BZ #13787]
35326 [BZ #13922]
35327 [BZ #14036]
35328 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35329 (__ieee754_expl): Allow for and saturate large arguments.
35330 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35331 (u_threshold): Likewise.
35332 (__exp): Call __ieee754_exp before checking for overflow and
35333 underflow.
35334 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35335 (u_threshold): Likewise.
35336 (__expf): Call __ieee754_expf before checking for overflow and
35337 underflow.
35338 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35339 (u_threshold): Likewise.
35340 (__expl): Call __ieee754_expl before checking for overflow and
35341 underflow.
35342 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35343 (__ieee754_expl): Allow for and saturate large arguments.
35344 * math/libm-test.inc (exp_test): Add another test. Do not allow
35345 missing overflow exception on overflow.
35346 (expm1_test): Do not allow missing overflow exception on overflow.
35347
6698b8bf
JM
35348 * sysdeps/i386/fpu/e_expl.c: Move to ...
35349 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35350 rather than using inline asm.
35351 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35352 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35353 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35354
7b17aeda
JM
35355 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35356 (nice): Likewise.
35357 (poll): Likewise.
35358 (signal): Likewise.
35359 (time): Likewise.
35360 (times): Likewise.
35361
f7c85819
JM
353622012-05-04 Joseph Myers <joseph@codesourcery.com>
35363
35364 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35365 sysdeps/unix/common/syscalls.list.
35366 (fchmod): Likewise.
35367 (fchown): Likewise.
35368 (ftruncate): Likewise.
35369 (getrusage): Likewise.
35370 (gettimeofday): Likewise.
35371 (setpgid): Likewise.
35372 (setregid): Likewise.
35373 (setreuid): Likewise.
35374 (sigaction): Likewise.
35375 (truncate): Likewise.
35376 (vhangup): Likewise.
35377 * sysdeps/unix/common/syscalls.list: Remove file.
35378 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35379 * sysdeps/unix/sysv/linux/Implies: Likewise.
35380
336270d0
L
353812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35382
35383 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35385 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35386 Moved to ...
35387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35388 Here.
35389 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35390 to ...
35391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35392 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35393 to ...
35394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35395 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35396 to ...
35397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35398 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35399 to ...
35400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35401 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35402 to ...
35403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35404 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35405 to ...
35406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35407 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35408 to ...
35409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35410 Here.
35411 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35412 to ...
35413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35414 Here.
35415 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35416 to ...
35417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35418 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35419 Moved to ...
35420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35421 Here.
35422 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35423 to ...
35424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35425
d128e450
JM
354262012-05-04 Joseph Myers <joseph@codesourcery.com>
35427
fa8ee516
JM
35428 * sysdeps/unix/common/bits/dirent.h: Remove file.
35429 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35430
d128e450
JM
35431 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35432 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35433 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35434 * sysdeps/unix/bsd/isatty.c: Likewise.
35435 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35436 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35437 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35438
ff8faaf0 354392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35440
62881be4 35441 [BZ #13563]
31dc8730
AZ
35442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35443 long double comparison inaccuracies.
35444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35446
6fef930c
AS
354472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35448
35449 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35451
8f203e6c
JM
354522012-05-04 Joseph Myers <joseph@codesourcery.com>
35453
35454 [BZ #14049]
35455 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35456 nonzero digits before rounding a hex value.
35457 * stdlib/tst-strtod.c (tests): Add another test.
35458
5197d9c2
AK
354592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35460
35461 * sysdeps/s390/fpu/libm-test-ulps: Update.
35462
f0c1dedf
AJ
354632012-05-03 Andreas Jaeger <aj@suse.de>
35464
35465 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35466 does not get optimized out.
35467 (malloc_opt_barrier): New.
35468
a65ef2ae 354692012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35470 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35471
2b942cb7 35472 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35473 intermediate file deletion.
2b942cb7 35474 (generated): Add .symlist files.
a65ef2ae 35475
54b71e02
JM
354762012-05-03 Joseph Myers <joseph@codesourcery.com>
35477
35478 [BZ #13775]
35479 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35480 Redirect under this condition.
35481 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35482 [__USE_GNU] (__dprintf_chk): Not under this condition.
35483 [__USE_GNU] (__vdprintf_chk): Likewise.
35484 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35485 under this condition.
35486 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35487 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35488 [__USE_XOPEN2K8] (vdprintf): Likewise.
35489 [__USE_GNU] (__dprintf_chk): Not under this condition.
35490 [__USE_GNU] (__vdprintf_chk): Likewise.
35491 [__USE_GNU] (dprintf): Likewise.
35492 [__USE_GNU] (vdprintf): Likewise.
35493
d3dfcc41
RM
354942012-05-03 Roland McGrath <roland@hack.frob.com>
35495
35496 * elf/Makefile (common-generated): Set this instead of generated for
35497 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35498 $(all-built-dso)-derived lists.
35499
7ac30cc5
AJ
355002012-05-03 Andreas Jaeger <aj@suse.de>
35501
0c51e550
AJ
35502 * sysdeps/i386/fpu/libm-test-ulps: Update.
35503
7ac30cc5
AJ
35504 * FAQ: Removed.
35505 * FAQ.in: Likewise.
35506 * scripts/gen-FAQ.pl: Likewise.
35507 * manual/install.texi (Installation): Point to online location of
35508 FAQ.
35509 * Makefile (files-for-dist): Remove FAQ.
35510 (FAQ): Remove.
35511
d4c2917f
AM
355122012-05-02 Allan McRae <allan@archlinux.org>
35513
35514 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35515 (LDFLAGS-reldepmod5.so): Likewise.
35516 (LDFLAGS-reldep6mod1.so): Likewise.
35517 (LDFLAGS-reldep6mod4.so): Likewise.
35518 (LDFLAGS-reldep8mod3.so): Likewise.
35519 (LDFLAGS-unload4mod1.so): Likewise.
35520 (LDFLAGS-unload4mod2.so): Likewise.
35521 (LDFLAGS-tst-initorder): Likewise.
35522 (LDFLAGS-tst-initordera2.so): Likewise.
35523 (LDFLAGS-tst-initordera3.so): Likewise.
35524 (LDFLAGS-tst-initordera4.so): Likewise.
35525 (LDFLAGS-tst-initorderb2.so): Likewise.
35526 (LDFLAGS-noload): Likewise.
35527 (LDFLAGS-next): Likewise.
35528 (LDFLAGS-order2mod1.so): Likewise.
35529 (LDFLAGS-order2mod2.so): Likewise.
35530 (LDFLAGS-tst-initorder2): Likewise.
35531 (LDFLAGS-tst-initorder2a.so): Likewise.
35532 (LDFLAGS-tst-initorder2b.so): Likewise.
35533 (LDFLAGS-tst-initorder2c.so): Likewise.
35534 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35535
d77f993f
DM
355362012-05-02 David S. Miller <davem@davemloft.net>
35537
35538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35539
171a70b4
PP
355402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35541
35542 [BZ #14055]
35543 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35544
0be196ad
AJ
355452012-05-02 Andreas Jaeger <aj@suse.de>
35546
35547 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35548 since we manipulate rounding mode.
35549 (CPPFLAGS-test-idouble.c): Likewise.
35550 (CPPFLAGS-test-ifloat.c): Likewise.
35551 (CFLAGS-test-ldouble.c): Likewise.
35552 (CFLAGS-test-double.c): Likewise.
35553 (CFLAGS-test-float.c): Likewise.
35554 (CFLAGS-test-misc.c): Likewise.
35555 (CFLAGS-test-test-fenv.c): Likewise.
35556
4f9d04aa
AZ
355572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35558
2b942cb7
RM
35559 [BZ #2550]
35560 [BZ #2570]
35561 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35562 comparisons to determine direction to adjust input.
4f9d04aa 35563
82a79e7d
RM
355642012-05-01 Roland McGrath <roland@hack.frob.com>
35565
f5a01ca9
RM
35566 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35567 output to the target.
35568
90fe4186
RM
35569 * scripts/localplt.awk: New file.
35570 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35571 (check-localplt-CFLAGS): Variable removed.
35572 ($(all-built-dso:=.jmprel)): New static pattern rule.
35573 (generated): Add those targets.
35574 (localplt-built-dso): New variable.
35575 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35576
35577 * elf/check-localplt.c: File removed.
35578
82397ed6
RM
35579 * scripts/check-execstack.awk: New file.
35580 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35581 (check-execstack-CFLAGS): Variable removed.
35582 ($(objpfx)check-execstack.h): Target removed.
35583 ($(objpfx)execstack-default): New target.
35584 (generated): Add that instead of check-execstack.h.
35585 ($(all-built-dso:=.phdr)): New static pattern rule.
35586 (generated): Add those targets.
35587 * elf/check-execstack.c: File removed.
35588
82a79e7d
RM
35589 * scripts/check-textrel.awk: New file.
35590 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35591 (check-textrel-CFLAGS): Variable removed.
35592 (all-built-dso): Use := to define.o
35593 ($(all-built-dso:=.dyn)): New static pattern rule.
35594 (generated): Add those targets.
35595 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35596 * config.make.in (READELF): New substituted variable.
35597 * elf/check-textrel.c: File removed.
35598
62fde54f 355992012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35600
615605c9
JM
35601 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35602 allow.
35603 * conform/data/ctype.h-data [C99-based standards] (isblank):
35604 Expect function.
35605 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35606 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35607 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35608 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35609 Specify type. Require positive value.
35610 (EILSEQ): Likewise.
35611 (ERANGE): Likewise.
35612 [ISO || POSIX] (EILSEQ): Do not expect.
35613 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35614 Specify type. Require positive value.
35615 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35617 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35618 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35619 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35620 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35621 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35622 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35623 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35624 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35625 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35626 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35627 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35628 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35629 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35630 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35631 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35632 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35634 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35635 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35636 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35637 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35638 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35639 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35640 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35641 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35642 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35643 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35644 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35645 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35646 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35647 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35648 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35649 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35650 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35651 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35652 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35653 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35654 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35655 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35656 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35657 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35658 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35659 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35660 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35661 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35662 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35663 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35664 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35665 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35666 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35667 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35668 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35669 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35670 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35672 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35673 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35674 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35675 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35676 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35677 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35678 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35679 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35680 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35681 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35682 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35683 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35684 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35685 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35686 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35687 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35688 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35689 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35690 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35691 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35692 Require >= 2.
35693 (FLT_ROUNDS): Expect as macro, not constant.
35694 (FLT_MANT_DIG): Use macro-int-constant.
35695 (DBL_MANT_DIG): Likewise.
35696 (LDBL_MANT_DIG): Likewise.
35697 (FLT_DIG): Likewise.
35698 (DBL_DIG): Likewise.
35699 (LDBL_DIG): Likewise.
35700 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35701 (DBL_MIN_EXP): Likewise.
35702 (LDBL_MIN_EXP): Likewise.
35703 (FLT_MAX_EXP): Use macro-int-constant.
35704 (DBL_MAX_EXP): Likewise.
35705 (LDBL_MAX_EXP): Likewise.
35706 (FLT_MAX_10_EXP): Likewise.
35707 (DBL_MAX_10_EXP): Likewise.
35708 (LDBL_MAX_10_EXP): Likewise.
35709 (FLT_MAX): Use macro-constant.
35710 (DBL_MAX): Likewise.
35711 (LDBL_MAX): Likewise.
35712 (FLT_EPSILON): Use macro-constant. Give upper bound.
35713 (DBL_EPSILON): Likewise.
35714 (LDBL_EPSILON): Likewise.
35715 (FLT_MIN): Likewise.
35716 (DBL_MIN): Likewise.
35717 (LDBL_MIN): Likewise.
35718 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35719 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35720 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35721 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35722 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35723 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35724 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35725 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35726 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35727 [ISO11] (FLT_TRUE_MIN): Likewise.
35728 [ISO11] (LDBL_TRUE_MIN): Likewise.
35729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35730 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35731 (SCHAR_MIN): Use macro-int-constant. Specify type.
35732 (SCHAR_MAX): Likewise.
35733 (UCHAR_MAX): Likewise.
35734 (CHAR_MIN): Likewise.
35735 (CHAR_MAX): Likewise.
35736 (MB_LEN_MAX): Use macro-int-constant.
35737 (SHRT_MIN): Use macro-int-constant. Specify type.
35738 (SHRT_MAX): Likewise.
35739 (USHRT_MAX): Likewise.
35740 (INT_MAX): Likewise.
35741 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35742 bound negative.
35743 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35744 bound with "U".
35745 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35746 bound with "L".
35747 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35748 bound negative. Suffix upper bound with "L".
35749 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35750 bound with "UL".
35751 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35752 Specify type.
35753 [C99-based standards] (LLONG_MAX): Likewise.
35754 [C99-based standards] (ULLONG_MAX): Likewise.
35755 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35756 == 0.
35757 [ISO11] (max_align_t): Require type.
35758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35759
c9140a62
JM
35760 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35761 from $CFLAGS, without defining away __attribute__ calls.
35762 (checknamespace): Use $CFLAGS_namespace.
35763
9af0bf29
JM
35764 * conform/conformtest.pl (@keywords): Only include C99 keywords
35765 for standards based on C99 or C11.
35766
343222a2
JM
35767 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35768 Disable tests.
35769 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35770 UNIX98]: Likewise.
35771
661f8cf0
JM
35772 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35773 usability of symbols in #if.
35774
ee74b9cb
JM
35775 * conform/conformtest.pl: If macro or constant types start
35776 "promoted:", expect the symbol to be of the following type
35777 promoted by the integer promotions.
62fde54f 35778
aafc49b3
JM
35779 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35780 in one place. Also handle "macro-constant".
35781
fefdf574
JM
35782 * conform/conformtest.pl: Only accept expected macro values with
35783 "==". Parse all "macro" lines in one place.
35784 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35785
f2d922fe
JM
35786 * conform/conformtest.pl: Handle braced types on "constant" lines
35787 instead of handling "typed-constant".
35788 * conform/data/signal.h-data: Use "constant" instead of
35789 "typed-constant".
35790
d22956c9
JM
35791 * conform/conformtest.pl: Handle "optional-" at start of lines in
35792 one place rather than duplicating several cases. Handle each
35793 format of "macro" line with initial "optional-".
35794
028e2e38
JM
35795 * conform/conformtest.pl: Only accept expected constant or
35796 optional-constant values with "==". Parse all "constant" lines in
35797 one place. Parse all "optional-constant" lines in one place.
35798 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35799 * conform/data/fmtmsg.h-data: Likewise.
35800 * conform/data/netinet/in.h-data: Likewise.
35801 * conform/data/tar.h-data: Likewise.
35802 * conform/data/limits.h-data: Use "==" form on "constant" and
35803 "optional-constant" lines.
35804
1b8f2850
JM
35805 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35806 Use -std=c99 for XOPEN2K.
35807 (@knownproblems): Remove.
35808 (newtoken): Don't check %isknown.
35809
a05a144b
JM
35810 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35811 Do not expect macro.
35812 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35824 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35825 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35842 [XPG3] (acosh): Likewise.
35843 [XPG3] (asinh): Likewise.
35844 [XPG3] (atanh): Likewise.
35845 [XPG3] (cbrt): Likewise.
35846 [XPG3] (expm1): Likewise.
35847 [XPG3] (ilogb): Likewise.
35848 [XPG3] (log1p): Likewise.
35849 [XPG3] (logb): Likewise.
35850 [XPG3] (nextafter): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35853 [XPG3] (remainder): Likewise.
35854 [XPG3] (rint): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35862 [UNIX98 || XOPEN2K] (scalb): Expect.
35863 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35864 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35896 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35914 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35922 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35925 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35926 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36000
73c5ebe3
JM
36001 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36002 _XOPEN_SOURCE_EXTENDED for XPG4.
36003
39c33b6c
JM
36004 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36005
62fde54f
JM
36006 * Makeconfig (localtime): Remove variable.
36007 (inst_localtime-file): Likewise.
36008
0741d64c
AS
360092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36010
36011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36012 Update.
36013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36014 Update.
36015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36016 Update.
36017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36018 Update.
36019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36020 Update.
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36022 Update.
36023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36024 Update.
36025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36026 Update.
36027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36028 Update.
36029
7cb029ee
JM
360302012-05-01 Joseph Myers <joseph@codesourcery.com>
36031
36032 [BZ #2550]
36033 [BZ #2570]
36034 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36035 comparisons to determine direction to adjust input.
36036 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36037 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36039 Likewise.
36040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36041 Likewise.
36042 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36043 Likewise.
36044 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36045 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36046 Likewise.
36047 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36048 Likewise.
36049 * math/libm-test.inc (nexttoward_test): Add more tests.
36050
412bd966
AS
360512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36052
36053 [BZ #14040]
36054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36055 in version GLIBC_2.1, not GLIBC_2.0.
36056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36057 Likewise.
36058
9568c0c2
JM
360592012-04-30 Joseph Myers <joseph@codesourcery.com>
36060
adfbc8ac
JM
36061 [BZ #13942]
36062 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36063 (1 - x) * (1 + x).
36064 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36065 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36066 * math/libm-test.inc (acos_test): Add more tests.
36067 (asin_test): Likewise.
36068 * sysdeps/i386/fpu/libm-test-ulps: Update.
36069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36070
5ba3cc69
JM
36071 [BZ #14034]
36072 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36073 of square root.
36074 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36075 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36076 * math/libm-test.inc (acos_test_tonearest): New function.
36077 (acos_test_towardzero): Likewise.
36078 (acos_test_downward): Likewise.
36079 (acos_test_upward): Likewise.
36080 (asin_test_tonearest): Likewise.
36081 (asin_test_towardzero): Likewise.
36082 (asin_test_downward): Likewise.
36083 (asin_test_upward): Likewise.
36084 (main): Call the new functions.
36085 * sysdeps/i386/fpu/libm-test-ulps: Update.
36086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36087
9568c0c2
JM
36088 [BZ #13884]
36089 [BZ #13924]
36090 * math/e_exp10.c: Include <float.h>.
36091 (__ieee754_exp10): Handle underflow here rather than multiplying
36092 large negative argument by M_LN10.
36093 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36094 of __ieee754_expf.
36095 * math/e_exp10l.c: Include <float.h>.
36096 (__ieee754_exp10l): Handle underflow here rather than multiplying
36097 large negative argument by M_LN10l.
36098 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36099 spurious overflow exception on underflow.
36100
5ac3ea17
MP
361012012-04-29 Marek Polacek <polacek@redhat.com>
36102
36103 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36104 (__fortify_function): New macro.
36105 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36106 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36107 __extern_always_inline.
36108 * libio/bits/stdio2.h: Likewise.
36109 * libio/bits/stdio.h: Likewise.
36110 * string/string.h: Likewise.
36111 * string/bits/string3.h: Likewise.
36112 * include/stdio.h: Likewise.
36113 * stdlib/bits/stdlib.h: Likewise.
36114 * stdlib/stdlib.h: Likewise.
36115 * rt/bits/mqueue2.h: Likewise.
36116 * rt/mqueue.h: Likewise.
36117 * posix/bits/unistd.h: Likewise.
36118 * posix/unistd.h: Likewise.
36119 * io/bits/poll2.h: Likewise.
36120 * io/bits/fcntl2.h: Likewise.
36121 * io/fcntl.h: Likewise.
36122 * io/sys/poll.h: Likewise.
36123 * misc/bits/syslog.h: Likewise.
36124 * misc/bits/syslog-ldbl.h: Likewise.
36125 * misc/sys/syslog.h: Likewise.
36126 * socket/bits/socket2.h: Likewise.
36127 * socket/sys/socket.h: Likewise.
36128 * debug/tst-chk1.c: Likewise.
36129 * wcsmbs/bits/wchar2.h: Likewise.
36130 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36131 * wcsmbs/wchar.h: Likewise.
36132
ecf0ebfb
AJ
361332012-04-29 Andreas Jaeger <aj@suse.de>
36134
36135 * Makerules (tests): Remove enable-check-abi protection.
36136 (check-abi-warn): Remove.
36137 (check-abi-%): Remove check-abi-warn usage.
36138
36139 * configure.in: Remove check-abi configure option.
36140 * configure: Regenerated.
36141 * config.make.in (enable-check-abi): Remove.
36142
6d5c57fa
AS
361432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36144
24c5d07e 36145 [BZ #14033]
ded5180a
AS
36146 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36147 double functions to double *_finite functions.
36148
7e0d315d
AS
36149 [BZ #13941]
36150 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36151 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36152 LDBL_MIN_EXP.
36153 * stdio-common/Makefile (tests): Add tst-sprintf3.
36154 * stdio-common/tst-sprintf3.c: New file.
36155
6d5c57fa
AS
36156 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36157 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36158
0749ff8b
JM
361592012-04-28 Joseph Myers <joseph@codesourcery.com>
36160
36161 * conform/conformtest.pl: Remove duplicate typed-constant
36162 handling.
36163
8dbd5d7b
DM
361642012-04-28 David S. Miller <davem@davemloft.net>
36165
36166 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36167 (check-abi-%): Remove AWK script prerequisite and explicit
36168 abilist directory.
36169 (check-abi): Rewrite to just diff the symlist with the abilist.
36170 (config-tls, config-abi-config): Delete, no longer used.
36171 (update-abi-%): Remove AWK script and explicit abilist directory.
36172 (update-abi): Rewrite to simply compare and conditionally copy the
36173 symlist and the sysdep abilist file. Remove update-abi-config
36174 checks.
36175 * abilist/ld.abilist: Remove.
36176 * abilist/libBrokenLocale.abilist: Remove.
36177 * abilist/libanl.abilist: Remove.
36178 * abilist/libcrypt.abilist: Remove.
36179 * abilist/libdl.abilist: Remove.
36180 * abilist/librt.abilist: Remove.
36181 * abilist/libthread_db.abilist: Remove.
36182 * abilist/libutil.abilist: Remove.
36183 * scripts/extract-abilist.awk: Remove.
36184 * scripts/merge-abilist.awk: Remove.
36185 * sysdeps/generic/libcidn.abilist: New file.
36186 * sysdeps/generic/libnss_compat.abilist: New file.
36187 * sysdeps/generic/libnss_db.abilist: New file.
36188 * sysdeps/generic/libnss_dns.abilist: New file.
36189 * sysdeps/generic/libnss_files.abilist: New file.
36190 * sysdeps/generic/libnss_hesiod.abilist: New file.
36191 * sysdeps/generic/libnss_nis.abilist: New file.
36192 * sysdeps/generic/libnss_nisplus.abilist: New file.
36193 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36194 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36195 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36196 file.
36197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36198 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36199 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36200 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36201 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36202 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36203 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36204 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36205 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36206 file.
36207 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36208 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36209 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36210 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36211 file.
36212 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36213 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36214 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36215 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36216 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36217 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36218 file.
36219 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36221 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36222 file.
36223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36225 New file.
36226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36227 New file.
36228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36229 New file.
36230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36231 New file.
36232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36233 New file.
36234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36235 New file.
36236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36237 New file.
36238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36239 New file.
36240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36241 New file.
36242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36243 New file.
36244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36245 New file.
36246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36247 New file.
36248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36249 New file.
36250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36251 file.
36252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36253 New file.
36254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36255 New file.
36256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36257 file.
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36259 New file.
36260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36261 New file.
36262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36263 file.
36264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36265 New file.
36266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36267 New file.
36268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36269 New file.
36270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36271 New file.
36272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36273 New file.
36274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36275 New file.
36276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36278 file.
36279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36280 New file.
36281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36282 file.
36283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36284 file.
36285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36286 file.
36287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36288 file.
36289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36290 file.
36291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36292 New file.
36293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36294 file.
36295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36296 file.
36297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36298 New file.
36299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36300 file.
36301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36303 file.
36304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36305 New file.
36306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36307 file.
36308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36309 file.
36310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36311 file.
36312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36313 file.
36314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36315 file.
36316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36317 New file.
36318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36319 file.
36320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36321 file.
36322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36323 New file.
36324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36325 file.
36326 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36327 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36328 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36329 file.
36330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36331 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36332 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36333 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36334 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36335 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36336 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36337 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36338 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36339 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36342 file.
36343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36344 New file.
36345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36346 file.
36347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36348 file.
36349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36350 file.
36351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36352 file.
36353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36354 file.
36355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36356 New file.
36357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36358 New file.
36359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36360 file.
36361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36362 New file.
36363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36364 file.
36365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36367 file.
36368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36369 New file.
36370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36371 file.
36372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36373 file.
36374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36375 file.
36376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36377 file.
36378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36379 file.
36380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36381 New file.
36382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36383 New file.
36384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36385 file.
36386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36387 New file.
36388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36389 file.
36390
41d73a1b
JM
363912012-04-28 Joseph Myers <joseph@codesourcery.com>
36392
36393 * conform/conformtest.pl: Fix typo in handling typed-constant from
36394 allow-header.
36395
28aeeda4
JM
363962012-04-27 Joseph Myers <joseph@codesourcery.com>
36397
adae8f5e
JM
36398 * README: Cut down references to pre-2.6 Linux kernels and
36399 Linuxthreads. Update lists of configurations in libc and ports
36400 and sort alphabetically. Say "or newer" with Linux kernel version
36401 requirements.
36402
28aeeda4
JM
36403 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36404
a462cb63
RA
364052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36406
36407 [BZ #887]
36408 * math/libm-test.inc (logb_test_downward): New test to expose
36409 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36410 rounding mode.
36411
6ad3493e
JM
364122012-04-27 Joseph Myers <joseph@codesourcery.com>
36413
36414 [BZ #14027]
36415 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36416 to be done.
36417 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36418 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36419
2ce4f015
JM
364202012-04-26 Joseph Myers <joseph@codesourcery.com>
36421
5aeb141a
JM
36422 * sysdeps/unix/i386/brk.S: Remove file.
36423 * sysdeps/unix/i386/dl-brk.S: Likewise.
36424 * sysdeps/unix/i386/pipe.S: Likewise.
36425 * sysdeps/unix/i386/sigreturn.S: Likewise.
36426 * sysdeps/unix/i386/syscall.S: Likewise.
36427 * sysdeps/unix/i386/vfork.S: Likewise.
36428 * sysdeps/unix/i386/wait.S: Likewise.
36429
7143acae
JM
36430 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36431 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36432
2ce4f015
JM
36433 * configure.in (arm*-none*): Do not allow without
36434 --enable-hacker-mode.
36435 (netbsd*): Remove case setting base_os.
36436 (386bsd*): Likewise.
36437 (freebsd*): Likewise.
36438 (bsdi*): Likewise.
36439 (osf*): Likewise.
36440 (sunos*): Likewise.
36441 (ultrix*): Likewise.
36442 (newsos*): Likewise.
36443 (dynix*): Likewise.
36444 (*bsd*): Likewise.
36445 (sysv*): Likewise.
36446 (isc*): Likewise.
36447 (esix*): Likewise.
36448 (sco*): Likewise.
36449 (minix*): Likewise.
36450 (irix4*): Likewise.
36451 (irix6*): Likewise.
36452 (solaris[2-9]*): Likewise.
36453 (none): Likewise.
36454 * configure: Regenerated.
36455
0ac229c8
AZ
364562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36457
36458 [BZ #11521]
36459 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36460 overflow or cancellation in calculating denominator.
36461 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36463 down expression to avoid unexpected rounding in newer GCCs.
36464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36465
33f244f4
DM
364662012-04-26 David S. Miller <davem@davemloft.net>
36467
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36469 long-double compat symbols.
36470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36483
cfa1f3e8
DM
364842012-04-25 David S. Miller <davem@davemloft.net>
36485
36486 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36487 HWCAP_* values only after the memory barriers have been defined.
36488 (atomic_full_barrier): Define.
36489 (atomic_read_barrier): Define.
36490 (atomic_write_barrier): Define.
36491
6e236b92
SP
364922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36493
36494 * shlib-versions: Add libgcc_s version information.
36495 * sysdeps/generic/libgcc_s.h: Remove.
36496 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36497 libgcc_s.h.
36498 * sysdeps/gnu/unwind-resume.c: Likewise.
36499 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36500
aab39a09
DM
365012012-04-25 David S. Miller <davem@davemloft.net>
36502
36503 * sysdeps/unix/sparc/brk.S: Delete.
36504 * sysdeps/unix/sparc/dl-brk.S: Delete.
36505 * sysdeps/unix/sparc/pipe.S: Delete.
36506 * sysdeps/unix/sparc/sysdep.S: Delete.
36507 * sysdeps/unix/sparc/sysdep.h: Delete.
36508 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36509 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36510 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36512 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36513 (JUMPTARGET): Remove.
36514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36515 sysdeps/unix/sparc/sysdep.h
36516 (ENTRY, END): Remove.
36517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36518
a3cc4f48
JM
365192012-04-25 Joseph Myers <joseph@codesourcery.com>
36520
2ed8cda2
JM
36521 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36522 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36523 -DIS_IN_build.
36524
35d76d59
JM
36525 * timezone/README: Update upstream location and email address for
36526 tzcode and tzdata.
36527 * timezone/zdump.c: Update from tzcode 2012b.
36528 * timezone/zic.c: Likewise.
36529
a3cc4f48
JM
36530 * configure.in (libc_cv_as_needed): Remove test.
36531 * configure: Regenerated.
36532 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36533 conditional definition.
36534 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36535 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36536 * config.make.in (have-as-needed): Remove variable.
36537
ceab42c3
SP
365382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36539 Paul Pluzhnikov <ppluzhnikov@google.com>
36540
36541 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36542 strings correctly.
36543
3ce2865f
CLT
365442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36545
36546 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36547 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36548 * sysdeps/sh/strlen.S: Likewise.
36549
f37e0d68
JM
365502012-04-24 Joseph Myers <joseph@codesourcery.com>
36551
ae186e9a
JM
36552 * sysdeps/unix/fork.S: Remove file.
36553 * sysdeps/unix/i386/fork.S: Likewise.
36554 * sysdeps/unix/sparc/fork.S: Likewise.
36555
b96914af
JM
36556 * sysdeps/unix/system.c: Remove file.
36557 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36558
f37e0d68
JM
36559 * sysdeps/unix/getegid.S: Remove file.
36560 * sysdeps/unix/geteuid.S: Likewise.
36561
87ef29ca
RM
365622012-04-24 Roland McGrath <roland@hack.frob.com>
36563
83bcd236
RM
36564 * scripts/check-localplt.awk: New file.
36565 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36566 of diff.
36567 * scripts/data/localplt-generic.data: Add a comment.
36568
87ef29ca
RM
36569 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36570 NODE when __dir_mkfile failed.
36571 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36572 Reported by Ludovic Courtès <ludo@gnu.org>.
36573
e5a6e567
AJ
365742012-04-24 Andreas Jaeger <aj@suse.de>
36575
36576 * Makerules (common-clean): Also remove gen-as-const-headers
36577 files.
36578
c1820385
JM
365792012-04-24 Joseph Myers <joseph@codesourcery.com>
36580
36581 * Makerules (native-compile): Do not change working directory for
36582 build. Use $(OUTPUT_OPTION) in command.
36583 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36584
94e02fc4
AZ
365852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36586
36587 [BZ #13886]
36588 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36589 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36590 * math/libm-test.inc (floor_test): Add more tests.
36591 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36592
3a533ca3
JM
365932012-04-24 Joseph Myers <joseph@codesourcery.com>
36594
940ab4b3
JM
36595 * sysdeps/unix/getdents.c: Remove file.
36596 * sysdeps/unix/sysv/getdents.c: Likewise.
36597 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36598
90e037bd
JM
36599 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36600 sysdeps/unix/mman/syscalls.list.
36601 (mmap): Likewise.
36602 (mprotect): Likewise.
36603 (msync): Likewise.
36604 (munmap): Likewise.
36605 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36606 * sysdeps/unix/mman/syscalls.list: Remove.
36607 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36608
3a533ca3
JM
36609 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36610 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36611 * configure: Regenerated.
36612 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36613 $(libgcc_s_suffix).
36614 * config.make.in (libgcc_s_suffix): Remove variable.
36615
1ad743de
JM
366162012-04-23 Joseph Myers <joseph@codesourcery.com>
36617
4ad451e2
JM
36618 * sysdeps/unix/sysv/gethostname.c: Move to ...
36619 * sysdeps/posix/gethostname.c: ... here.
36620
5e37ce39
JM
36621 * sysdeps/unix/execve.S: Remove file.
36622
1ad743de
JM
36623 * sysdeps/unix/_exit.S: Remove file.
36624
4e681b5b
AJ
366252012-04-23 Andreas Jaeger <aj@suse.de>
36626
36627 [BZ #13739]
36628 * manual/Makefile: Remove make dist support, there's no
36629 need for a stand-alone documentation tar ball.
36630 (TEXI2DVI): Define always, it's not in Makeconfig.
36631 (dist): Removed.
36632 (tar-it): Removed.
36633 (edition): Removed.
36634 (glibc-doc-$(edition).tar): Removed
36635 (%.Z): Removed.
36636 (%.gz): Removed.
36637 (%.uu): Removed.
36638 (ETAGS): Remove, it's in Makeconfig.
36639 (move-if-change): Remove, it's in Makeconfig.
36640
38686a03 366412012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36642
36643 [BZ #13970]
36644 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36645 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36646 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36647 (strtod_l, strtof_l, strtold_l): Remove __wur.
36648 It is not necessarily an error to ignore strtol's return value.
36649 One can reliably look at the stored endptr to decide whether
36650 the number had valid syntax.
36651
7c0616fa
AJ
366522012-04-21 Andreas Jaeger <aj@suse.de>
36653
803cb6b7 36654 [BZ #13739]
7c0616fa
AJ
36655 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36656
b0fe253f
JM
366572012-04-21 Joseph Myers <joseph@codesourcery.com>
36658
36659 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36660 * sysdeps/unix/sysv/Versions: Remove file.
36661
8280f22d
MT
366622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36663
36664 [BZ #13927]
36665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36666
75ce411f 366672012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36668
36669 [BZ #7064]
36670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36671 version from __vm86.
36672
097d59fa
JM
366732012-04-20 Joseph Myers <joseph@codesourcery.com>
36674
a90f3bcb
JM
36675 * sysdeps/unix/common/lxstat.c: Remove file.
36676 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36677
edc7ea78
JM
36678 * sysdeps/unix/sysv/Makefile: Remove file.
36679
cb78c221
JM
36680 * sysdeps/unix/sysv/direct.h: Remove file.
36681
efa6a45f
JM
36682 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36683 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36684 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36685 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36686 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36687 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36688 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36689
9c9f2d0c
JM
36690 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36691
4541c83b
JM
36692 * sysdeps/unix/xmknod.c: Remove file.
36693 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36694
f5d153a0
JM
36695 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36696
aa746595
JM
36697 * sysdeps/unix/sysv/i386/time.S: Remove file.
36698
cce5905e
JM
36699 * sysdeps/unix/fxstat.c: Remove file.
36700 * sysdeps/unix/xstat.c: Likewise.
36701 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36702
37fa3841
JM
36703 * sysdeps/unix/sysv/sigaction.c: Remove file.
36704
ff1962a3
JM
36705 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36706 (sysdep_headers): Remove variable.
36707 [termio.h not in sysdep_headers] (generated): Likewise.
36708 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36709 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36710 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36711 * sysdeps/unix/sysv/tcflow.c: Likewise.
36712 * sysdeps/unix/sysv/tcflush.c: Likewise.
36713 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36714 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36715 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36716 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36717 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36718
e7740d31
JM
36719 * sysdeps/unix/siglist.c: Remove file.
36720
ee06f18b
JM
36721 * sysdeps/unix/getppid.S: Remove file.
36722
097d59fa
JM
36723 * sysdeps/unix/mkdir.c: Remove file.
36724 * sysdeps/unix/rmdir.c: Likewise.
36725
ff3d51ec
AS
367262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36727
36728 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36729 ERR_MAX value.
36730 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36731 errlist-compat value.
36732
50f81fd7
DM
367332012-04-18 David S. Miller <davem@davemloft.net>
36734
36735 * sysdeps/generic/memcopy.h (reg_char): Delete.
36736 * debug/strcat_chk.c: Use char, not reg_char.
36737 * debug/strcpy_chk.c: Likewise.
36738 * debug/strncat_chk.c: Likewise.
36739 * debug/strncpy_chk.c: Likewise.
36740 * string/memchr.c: Likewise.
36741 * string/memrchr.c: Likewise.
36742 * string/rawmemchr.c: Likewise.
36743 * string/strcat.c: Likewise.
36744 * string/strchr.c: Likewise.
36745 * string/strchrnul.c: Likewise.
36746 * string/strcmp.c: Likewise.
36747 * string/strcpy.c: Likewise.
36748 * string/strncat.c: Likewise.
36749 * string/strncmp.c: Likewise.
36750 * string/strncpy.c: Likewise.
36751
8ff41c46
WS
367522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36753
36754 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36755 __builtin_memcopy is called when src and dest ranges are known to not
36756 overlap.
36757
6b652f46
WS
367582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36759
36760 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36761 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36762 fwd_align_merge macro call.
36763 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36764 bwd_align_merge macro call.
36765 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36766
b282631e
WS
367672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36768
36769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36770 bwd_align_merge macros.
36771 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36772 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36773 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36774
95aa737c
DM
367752012-04-18 David S. Miller <davem@davemloft.net>
36776
36777 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36778
7a99a614
AJ
367792012-04-18 Andreas Jaeger <aj@suse.de>
36780
36781 [BZ# 6794]
36782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36783 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36784 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36785
36786 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36787 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36789
36790 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36791 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36792 Adjust for changed ldbl-128 files.
36793
36794 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36795 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36796 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36797
e5270c23
DM
367982012-04-17 David S. Miller <davem@davemloft.net>
36799
36800 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36801
fb5e92c9
AS
368022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36803
36804 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36805 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36806 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36807 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36808 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36809 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36810
76da7265
AZ
368112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36812
36813 [BZ #6794]
36814 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36815 * math/libm-test.inc: Add ilogb errno and exception tests.
36816 * math/w_ilogb.c: New file: ilogb wrapper.
36817 * math/w_ilogbf.c: New file: ilogbf wrapper.
36818 * math/w_ilogbl.c: New file: ilogbl wrapper.
36819 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36820 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36821 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36822 exception being thrown with 0.0 as argument.
36823 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36824 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36825 exception being thrown with 0.0 as argument.
36826 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36827 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36828 exception being thrown with 0.0 as argument.
36829 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36830 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36831 exception being thrown with 0.0 as argument.
36832 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36833 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36834 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36835 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36837 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36838 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36839 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36840 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36841
0396e69d
PB
368422012-04-17 Petr Baudis <pasky@ucw.cz>
36843
36844 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36845 with altivec.
36846
750b5926
MP
368472012-04-16 Marek Polacek <polacek@redhat.com>
36848
36849 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36850
751728a1
MP
368512012-04-16 Marek Polacek <polacek@redhat.com>
36852
36853 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36854 operands of fdivp instruction.
36855
34a27407
L
368562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36859 * elf/tst-auditmod3b.c: Likewise.
36860 * elf/tst-auditmod4b.c: Likewise.
36861 * elf/tst-auditmod5b.c: Likewise.
36862 * elf/tst-auditmod6b.c: Likewise.
36863 * elf/tst-auditmod6c.c: Likewise.
36864 * elf/tst-auditmod7b.c: Likewise.
36865 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36866 * sysdeps/x86_64/preconfigure.in: Likewise.
36867 * sysdeps/x86_64/preconfigure: Regenerated.
36868
7e73e17d
L
368692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36870
36871 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36872 __ILP32__.
36873
c7a6ab72
AB
368742012-04-13 Antoine Balestrat <merkil33@gmail.com>
36875
36876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36877 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36878
a9e8e0e0
CL
368792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36880
36881 [BZ #13973]
36882 * locale/iso-639.def: Fix gl language name. Spotted by
36883 Yaron Shahrabani.
36884
ec98af7d
RM
368852012-04-12 Roland McGrath <roland@hack.frob.com>
36886
36887 [BZ #2074]
36888 * libio/libio.h (__io_write_fn): Update comment.
36889
247c3ede
PB
368902012-04-12 Petr Baudis <pasky@ucw.cz>
36891
36892 [BZ #2074]
36893 * stdio.texi (Hook Functions): The user provided writer function
36894 is not allowed to return -1.
36895
55939d6d
DM
368962012-04-11 David S. Miller <davem@davemloft.net>
36897
36898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36899
90020f5a
MF
369002012-04-11 Mike Frysinger <vapier@gentoo.org>
36901
36902 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36903 Add a leading slash to rtkaio.
36904
288f9098
JM
369052012-04-11 Jim Meyering <meyering@redhat.com>
36906
90020f5a
MF
36907 [BZ #11959]
36908 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36909 It is not necessarily an error to ignore fwrite's return
36910 value. One can reliably use ferror to test for errors after
36911 the fact.
288f9098 36912
4be2b570
L
369132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36914
36915 * bits/types.h (__snseconds_t): New type.
36916 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36917
36918 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36920 (__SNSECONDS_T_TYPE): Likewise.
36921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36922 (__SNSECONDS_T_TYPE): Likewise.
36923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36924 (__SNSECONDS_T_TYPE): Likewise.
36925
288f9098 369262012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36927
36928 [BZ #2636]
36929 * manual/time.texi (Processor Time): Return type of times is
36930 elapsed real time since an arbitrary point in the past.
36931 (CPU Time): Move CLK_TCK from here...
36932 (Processor Time): ...to here. Correct description.
36933 * manual/conf.texi (Constants for Sysconf): Correct description of
36934 _SC_CLK_TCK.
36935
d7dd4413
DM
369362012-04-10 David S. Miller <davem@davemloft.net>
36937
36938 [BZ #13967]
36939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36940 where the is a gap between DT_REL(A) and DT_JMPREL.
36941
b46068fc
L
369422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36943
36944 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36945 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36946 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36947
73d65cc3
SP
369482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36949
36950 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36951 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36952 (dl_main): Handle --inhibit-cache.
36953 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36954 _dl_inhibit_cache.
36955 * elf/dl-load.c (_dl_map_object): Use it.
36956 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36957
bcc8d661
JM
369582012-04-09 Joseph Myers <joseph@codesourcery.com>
36959
8f9a2fae
JM
36960 [BZ #13872]
36961 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36962 (__ieee754_powl): Saturate large exponents rather than testing for
36963 overflow of y*log2(x).
36964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36965 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36966 exceptions.
36967
bcc8d661
JM
36968 [BZ #11521]
36969 * math/s_ctan.c: Include <float.h>.
36970 (__ctan): Avoid internal overflow or cancellation in calculating
36971 denominator.
36972 * math/s_ctanf.c: Likewise.
36973 * math/s_ctanl.c: Likewise.
36974 * math/s_ctanh.c: Likewise.
36975 * math/s_ctanhf.c: Likewise.
36976 * math/s_ctanhl.c: Likewise.
36977 * math/libm-test.inc (ctan_test): Add more tests.
36978 (ctanh_test): Likewise.
36979 * sysdeps/i386/fpu/libm-test-ulps: Update.
36980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36981
823fbbb4
AJ
369822012-04-09 Andreas Jaeger <aj@suse.de>
36983
03879793
AJ
36984 [BZ #6894]
36985 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36986 is an optional BSD extension.
36987
823fbbb4
AJ
36988 [BZ #10254]
36989 * manual/stdio.texi (Opening Streams): Document additional fopen
36990 parameters.
36991
8de131cb
RM
369922012-04-09 Roland McGrath <roland@hack.frob.com>
36993
36994 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36995 %eax without telling the compiler.
36996
c0ed9d7d
CD
369972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36998
36999 [BZ # 13963]
37000 * manual/install.texi: Use sourceware.org.
37001
c483f6b4
JM
370022012-04-09 Joseph Myers <joseph@codesourcery.com>
37003
d7dd9453
JM
37004 [BZ #13873]
37005 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37006 (__ieee754_pow): Generate overflow and underflow using huge*huge
37007 and tiny*tiny rather than just returning constant infinity or zero
37008 for large exponents.
37009 * math/libm-test.inc (pow_test): Require overflow exceptions for
37010 applicable cases of large exponents.
37011
c483f6b4
JM
37012 [BZ #706]
37013 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37014 (__ieee754_pow): Use iterative multiplication algorithm only for
37015 integer exponents with absolute value below 1024. Check for odd
37016 integer exponents when using algorithm for real exponents.
37017 * math/libm-test.inc (pow_test): Add more tests.
37018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37019
d2de7579
JM
370202012-04-08 Joseph Myers <joseph@codesourcery.com>
37021
37022 [BZ #13705]
37023 * math/libm-test.inc (exp_test): Do not allow overflow exception
37024 on underflow test.
37025
f77f1232
AJ
370262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37027
37028 [BZ #13705]
37029 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37030 instead of __kernel_standard_f.
37031
3884932b
MF
370322012-04-08 Mike Frysinger <vapier@gentoo.org>
37033
37034 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37035 * sysdeps/x86_64/memset_chk.S: Likewise.
37036
54472e9c
AJ
370372012-04-08 Andreas Jaeger <aj@suse.de>
37038
6ab0fbfc
AJ
37039 [BZ #10153]
37040 * manual/startup.texi (Environment Access): Describe return value
37041 for putenv and setenv.
37042
61efba8c
AJ
37043 [BZ #6895]
37044 * manual/filesys.texi (Directory Entries): Add description for
37045 DT_LNK.
37046
95c3f29a
AJ
37047 [BZ #6890]
37048 * manual/filesys.texi (Directory Entries): Clarify that it's file
37049 system not operating system in the description of DT_UNKNOWN.
37050
54472e9c
AJ
37051 [BZ #6578]
37052 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37053
624254b1
SC
370542012-04-08 Stephen Compall <s11@member.fsf.org>
37055
37056 [BZ #6649]
37057 * manual/llio.texi (Opening and Closing Files): Add cross
37058 reference to explain mode argument.
37059
1e4920e0
MF
370602012-04-07 Mike Frysinger <vapier@gentoo.org>
37061
37062 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37063 * sysdeps/x86_64/memset_chk.S: Likewise.
37064
5ed848f3
DM
370652012-04-07 David S. Miller <davem@davemloft.net>
37066
37067 * elf/elf.h (R_SPARC_WDISP10): Define.
37068 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37069 R_SPARC_SIZE32.
37070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37071 R_SPARC_SIZE64 and R_SPARC_H34.
37072
96154cd8
CD
370732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37074
37075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37076 conditions and remove no longer applicable assertion.
37077
9904dc47
L
370782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37079
37080 * bits/byteswap.h: Include <features.h>.
37081 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37082 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37083
f8887d0a
L
370842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37085
37086 * bits/byteswap.h (__bswap_16): Removed.
37087 Include <bits/byteswap-16.h> to get __bswap_16.
37088 * sysdeps/i386/bits/byteswap.h: Likewise.
37089 * sysdeps/s390/bits/byteswap.h: Likewise.
37090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37091 * bits/byteswap-16.h: New file.
37092 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37093 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37094 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37095 * string/Makefile (headers): Add bits/byteswap-16.h.
37096
62470f60
PP
370972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37098
37099 [BZ #13895]
37100 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37101 extra indirection.
37102 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37103 * nss/tst-nss-static.c: New.
37104
4dad7bab
RM
371052012-04-06 Robert Millan <rmh@gnu.org>
37106
37107 [BZ #6486]
37108 * manual/llio.texi (File Position Primitive): lseek
37109 refers to WHENCE when it really means OFFSET.
37110
e9142a17
AJ
371112012-04-06 Andreas Jaeger <aj@suse.de>
37112
2c040eff
AJ
37113 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37114 strncmp declarations.
37115
e9142a17
AJ
37116 * abilist/libc.abilist: Add __poll and __ppoll.
37117
ff9f1c5f
DM
371182012-04-05 David S. Miller <davem@davemloft.net>
37119
dcd2ae90
DM
37120 * scripts/check-local-headers.sh: Accept a host triplet in the
37121 path matched by the exclude regexp.
37122
993eb054
DM
37123 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37124 definition.
37125 * sysdeps/powerpc/powerpc32/dl-machine.h
37126 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37127 * sysdeps/s390/s390-32/dl-machine.h
37128 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37129 * sysdeps/sparc/sparc32/dl-machine.h
37130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37131 * sysdeps/sparc/sparc64/dl-machine.h
37132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37133
ff9f1c5f
DM
37134 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37135 lazy binding.
48e2e132 37136 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37137 undefined symbol errors.
37138
48e2e132 37139 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37140 DT_NEEDED entries.
37141
e80d6f94
MM
371422012-04-05 Michael Matz <matz@suse.de>
37143
37144 [BZ #13592]
37145 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37146
349fa79f
AJ
371472012-04-05 Andreas Jaeger <aj@suse.de>
37148
37149 [BZ #13908]
37150 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37151 comment.
37152
f402708f
KK
371532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37154
37155 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37156 which ROUND is no valid rounding mode.
37157
2ecccfc9
KK
371582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37159
37160 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37161 read again.
37162 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37163
8a53f50f
KK
371642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37165
37166 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37167 an exception using FPU order intentionally.
37168
371692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37170
37171 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37172 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37173 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37174 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37175
d653abb7
SJ
371762012-04-05 Simon Josefsson <simon@josefsson.org>
37177
37178 [BZ #12340]
37179 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37180 EINVAL when BUFLEN is too smal.
37181
c3b1bf7d
TS
371822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37183
37184 [BZ #13553]
37185 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37186 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37187
b1aa60f3
AJ
371882012-04-03 Andreas Jaeger <aj@suse.de>
37189
c3b1bf7d 37190 [BZ #13938]
67f60a26
AJ
37191 * manual/setjmp.texi (System V contexts): Fix sentence.
37192
b1aa60f3
AJ
37193 [BZ #13926]
37194 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37195 New macro for this case.
37196 [!__GNUC__] (__bswap_64): New inline function for this case.
37197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37198 * bits/byteswap.h: Likewise.
37199 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37200 ull, guard with __GLIBC_HAVE_LONG_LONG.
37201
37202 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37203 __GLIBC_HAVE_LONG_LONG.
37204
37205 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37206 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37207
39c59c35
TMQMF
372082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37209
37210 [BZ #13691]
37211 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37212 inptr and inend, rather than using last_ch.
37213
135ffda8
DM
372142012-04-02 David S. Miller <davem@davemloft.net>
37215
37216 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37217 * stdio-common/printf-parse.h (read_int): Change return type to
37218 'int', return -1 on INT_MAX overflow.
37219 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37220 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37221 overflows INT_MAX. Check for overflow of in-format-string precision
37222 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37223 SIZE_MAX not INT_MAX for integer overflow test.
37224 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37225 skip the construct in the format string but do not record anything.
37226 * stdio-common/bug22.c: Adjust to test both width/prevision
37227 INT_MAX overflow as well as total length INT_MAX overflow. Check
37228 explicitly for proper errno values.
37229
228c019e
TS
372302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37231
302cadd3
TS
37232 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37233 CHAR_MAX.
37234 * string/test-strcmp.c [! WIDE]: Likewise.
37235 * time/tst-mktime2.c: Likewise for INT_MAX.
37236 * string/test-string.h: #include <sys/param.h> for MIN.
37237
228c019e
TS
37238 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37239 * sysdeps/i386/init-first.c (init): Likewise.
37240 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37241 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37242 * sysdeps/sh/init-first.c (init): Likewise.
37243
cfa633f5
UD
372442012-04-01 Ulrich Drepper <drepper@gmail.com>
37245
37246 * po/ru.po: Update from translation team.
d1635ef8 37247 * po/vi.po: Likewise.
cfa633f5 37248
6cd0a5ea
SP
372492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37250
37251 * resolv/nss_dns/dns-host.c: Merge copyright years.
37252
4b43400f
LD
372532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37254
37255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37256 Optimize memcpy with prefetch if
37257 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37258 src, dst pointers have unequal 16 byte alignments.
37259
48c41d04
SP
372602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37261
37262 [BZ #13928]
37263 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37264 from a CNAME entry and return the minimum ttl for the query.
37265 (gaih_getanswer_slice): Likewise.
37266
b8dc394d
JL
372672012-03-30 Jeff Law <law@redhat.com>
37268
37269 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37270 due to long keys.
37271 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37272 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37273
2f5a5ed0
JL
37274 * resolv/nss_dns/dns-host.c: Update copyright year.
37275
1d39e359
UD
372762012-03-30 Ulrich Drepper <drepper@gmail.com>
37277
c030f70c 37278 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37279 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37280
1d39e359
UD
37281 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37282 comments for sendmmsg.
37283
372842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37285
37286 [BZ #13691]
37287 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37288 with only 1 character between 0x0041 and 0x01b0.
37289 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37290 * wcsmbs/tst-mbsnrtowcs.c: New file.
37291
20fde227
DM
372922012-03-29 David S. Miller <davem@davemloft.net>
37293
37294 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37295 small copies by hand.
37296
984a4237
JL
372972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37298
37299 [BZ #13761]
57f41c40
AS
37300 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37301 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37302 group memberships.
984a4237 37303
18c9d62b
DM
373042012-03-28 David S. Miller <davem@davemloft.net>
37305
88d85d4f
DM
37306 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37307 that branches into memcpy.
37308 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37311 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37313 bits.
37314 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37315 implementation too.
37316 * sysdeps/sparc/mempcpy.S: New file.
37317
e5aa83e1
DM
37318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37319 the IFUNC routine in the libc case.
37320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37321
88570753
DM
37322 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37323 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37324 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37325 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37326 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37327 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37328 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37329 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37330
249d7567
DM
37331 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37332 loop to 256 bytes instead of 64 bytes and fix test signedness.
37333
18c9d62b
DM
37334 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37335 * sysdeps/sparc/sparc32/Makefile: rather than here...
37336 * sysdeps/sparc/sparc64/Makefile: and here.
37337
05f3d1f6
UD
373382012-03-28 Ulrich Drepper <drepper@gmail.com>
37339
37340 * malloc/mallocbug.c: Avoid warnings about unused variables.
37341
86ae07a8
JL
373422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37343
37344 [BZ #13760]
37345 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37346 in the right place. Discard and retry query if response is
37347 larger than input buffer size.
37348
41bf21a1
JM
373492012-03-28 Joseph Myers <joseph@codesourcery.com>
37350
d6270972
JM
37351 [BZ #369]
37352 [BZ #2678]
37353 [BZ #3866]
37354 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37355 x for large integer exponent.
37356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37357 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37358 sign of result as needed afterwards.
37359 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37360 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37361 result for underflowing pow the same as for overflow.
37362 (__kernel_standard_l): Handle powl overflow and underflow here
37363 rather than calling __kernel_standard.
37364 * math/libm-test.inc (pow_test): Add more tests.
37365
414fca03 37366 [BZ #3868]
41bf21a1
JM
37367 [BZ #13879]
37368 [BZ #13910]
37369 [BZ #13911]
37370 [BZ #13912]
37371 [BZ #13913]
37372 [BZ #13915]
37373 [BZ #13916]
37374 [BZ #13917]
37375 [BZ #13918]
37376 [BZ #13919]
37377 [BZ #13920]
37378 [BZ #13921]
37379 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37380 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37381 (__kernel_standard_l): New function.
37382 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37383 __kernel_standard.
37384 * math/w_acosl.c (__acosl): Likewise.
37385 * math/w_asinl.c (__asinl): Likewise.
37386 * math/w_atan2l.c (__atan2l): Likewise.
37387 * math/w_atanhl.c (__atanhl): Likewise.
37388 * math/w_coshl.c (__coshl): Likewise.
37389 * math/w_exp10l.c (__exp10l): Likewise.
37390 * math/w_exp2l.c (__exp2l): Likewise.
37391 * math/w_fmodl.c (__fmodl): Likewise.
37392 * math/w_hypotl.c (__hypotl): Likewise.
37393 * math/w_j0l.c (__j0l, __y0l): Likewise.
37394 * math/w_j1l.c (__j1l, __y1l): Likewise.
37395 * math/w_jnl.c (__jnl, __ynl): Likewise.
37396 * math/w_lgammal.c (__lgammal): Likewise.
37397 * math/w_log10l.c (__log10l): Likewise.
37398 * math/w_log2l.c (__log2l): Likewise.
37399 * math/w_logl.c (__logl): Likewise.
37400 * math/w_powl.c (__powl): Likewise.
37401 * math/w_remainderl.c (__remainderl): Likewise.
37402 * math/w_scalbl.c (sysv_scalbl): Likewise.
37403 * math/w_sinhl.c (__sinhl): Likewise.
37404 * math/w_sqrtl.c (__sqrtl): Likewise.
37405 * math/w_tgammal.c (__tgammal): Likewise.
37406 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37407 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37408 * math/libm-test.inc (acos_test): Add more tests.
37409 (acosh_test): Likewise.
37410 (asin_test): Likewise.
37411 (atanh_test): Likewise.
37412 (exp_test): Likewise.
37413 (exp10_test): Likewise.
37414 (exp2_test): Likewise.
37415 (expm1_test): Likewise.
37416 (lgamma_test): Likewise.
37417 (log_test): Likewise.
37418 (log10_test): Likewise.
37419 (log1p_test): Likewise.
37420 (log2_test): Likewise.
37421 (pow_test): Do not allow some spurious overflow exceptions.
37422 (sqrt_test): Add more tests.
37423 (tgamma_test): Likewise.
37424 (y0_test): Likewise.
37425 (y1_test): Likewise.
37426 (yn_test): Likewise.
37427
dd62fda6
AB
374282012-03-27 Anton Blanchard <anton@samba.org>
37429
37430 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37431 MAP_HUGETLB.
37432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37435
1e3cdfda
AJ
374362012-03-27 David S. Miller <davem@davemloft.net>
37437
b855ab85
DM
37438 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37439
1e3cdfda
AJ
37440 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37441 have-as-vis3 check.
37442
374432012-03-27 Andreas Jaeger <aj@suse.de>
37444
37445 * sysdeps/x86_64/elf/configure.in: Moved to ...
37446 * sysdeps/x86_64/configure.in: ... here.
37447 * sysdeps/x86_64/elf/start.S: Moved to ...
37448 * sysdeps/x86_64/start.S: ... here.
37449 * sysdeps/x86_64/elf/configure: Delete.
37450
37451 * sysdeps/x86_64/configure.in: Merge contents from
37452 sysdeps/i386/configure.in (without i686 check).
37453
37454 * sysdeps/i386/elf/Versions: Merge into ...
37455 * sysdeps/i386/Versions: ... this.
37456 * sysdeps/i386/elf/Versions: Delete file.
37457 * sysdeps/i386/elf/start.S: Moved to ...
37458 * sysdeps/i386/start.S: ...here.
37459 * sysdeps/i386/elf/configure.in: Merge into...
37460 * sysdeps/i386/configure.in: ...here.
37461 * sysdeps/i386/elf/configure.in: Delete file.
37462 * sysdeps/i386/elf/configure: Delete file.
37463
37464 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37465 * debug/backtracesyms.c: ... here.
37466 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37467 * debug/backtracesymsfd.c: ... here.
37468 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37469 * sysdeps/generic/ifunc-sel.h: ... here.
37470
37471 * sysdeps/unix/i386/start.c: Delete file.
37472 * sysdeps/unix/sparc/start.c: Delete file.
37473 * sysdeps/unix/start.c: Delete file.
37474
37475 * sysdeps/sh/elf/configure.in: Moved to ...
37476 * sysdeps/sh/configure.in: ... here.
37477 * sysdeps/sh/elf/start.S: Moved to ...
37478 * sysdeps/sh/start.S: ... here.
37479 * sysdeps/sh/elf/configure: Delete file.
37480
37481 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37482 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37483 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37484 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37485 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37486 * sysdeps/powerpc/powerpc64/start.S: here.
37487 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37488 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37489 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37490 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37491 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37492
37493 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37494 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37495 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37496 * sysdeps/powerpc/powerpc32/start.S: ... here.
37497 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37498 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37499 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37500
37501 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37502 * sysdeps/powerpc/ifunc-sel.h: ... here.
37503 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37504 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37505
37506 * sysdeps/sparc/elf/configure.in: Moved to ...
37507 * sysdeps/sparc/configure.in: ... here.
37508 * sysdeps/sparc/elf/configure: Delete file.
37509 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37510 * sysdeps/sparc/sparc32/start.S: ... here.
37511 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37512 * sysdeps/sparc/sparc64/start.S: ... here.
37513 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37514 * sysdeps/sparc/sparc32/Makefile: ... this.
37515 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37516 * sysdeps/sparc/sparc64/Makefile: ... this.
37517
37518 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37519 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37520 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37521 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37522 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37523 * sysdeps/s390/s390-32/setjmp.S: ... here.
37524 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37525 * sysdeps/s390/s390-32/configure.in: ... here.
37526 * sysdeps/s390/s390-32/elf/configure: Delete file.
37527 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37528 * sysdeps/s390/s390-32/start.S: ... here.
37529
37530 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37531 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37532 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37533 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37534 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37535 * sysdeps/s390/s390-64/setjmp.S: ... here.
37536 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37537 * sysdeps/s390/s390-64/configure.in: ... here
37538 * sysdeps/s390/s390-64/elf/configure: Delete file.
37539 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37540 * sysdeps/s390/s390-64/start.S: ... here.
37541 * sysdeps/s390/s390-64/elf/configure: Delete.
37542
37543 * configure.in: Remove support for elf directories in sysdeps.
37544
37545 * configure: Regenerated.
37546 * sysdeps/i386/configure: Regenerated.
37547 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37548 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37549 * sysdeps/s390/s390-32/configure: Regenerated.
37550 * sysdeps/s390/s390-64/configure: Regenerated.
37551 * sysdeps/sh/configure: Regenerated.
37552 * sysdeps/sparc/configure: Regenerated.
37553 * sysdeps/x86_64/configure: Regenerated.
37554
a3f61311
AS
375552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37556
c876e002
AS
37557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37558
a3f61311
AS
37559 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37560 denormal result into account.
37561
ac4c54f0
RM
375622012-03-25 Roland McGrath <roland@hack.frob.com>
37563
37564 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37565 Reported by Allan McRae <allan@archlinux.org>.
37566
6a9b9c02
JL
375672012-03-23 Jeff Law <law@redhat.com>
37568
37569 * nss/getnssent.c (__nss_getent): Fix typo.
37570
4c42a0c1
DM
375712012-03-23 David S. Miller <davem@davemloft.net>
37572
37573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37574
1532c7ac
L
375752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37576
37577 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37578 to pad to uint64_t for each field.
37579 (dl_tls_index): Replace unsigned long with uint64_t.
37580
3ff42526
PP
375812012-03-23 Daniel Jacobowitz <dmj@google.com>
37582 Paul Pluzhnikov <ppluzhnikov@google.com>
37583
37584 [BZ #6528]
37585 * grp/Makefile (otherlibs): Don't set it.
37586 * inet/Makefile (otherlibs): Likewise.
37587 * login/Makefile (otherlibs): Likewise.
37588 * nscd/Makefile (otherlibs): Likewise.
37589 * posix/Makefile (otherlibs): Likewise.
37590 * pwd/Makefile (otherlibs): Likewise.
37591 * rt/Makefile (otherlibs): Likewise.
37592 * sunrpc/Makefile (otherlibs): Likewise.
37593 * nss/Makefile (otherlibs): Likewise.
37594 Add libnss_files to routines and static-only-routines.
37595 ($(objpfx)getent): Remove rule.
37596 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37597 static-only-routines.
37598
7c69cd14
JM
375992012-03-22 Joseph Myers <joseph@codesourcery.com>
37600
37601 [BZ #13892]
37602 * math/s_cexp.c: Include <float.h>.
37603 (__cexp): Handle exp result overflowing not necessarily
37604 overflowing both real and imaginary parts of result.
37605 * math/s_cexpf.c: Likewise.
37606 * math/s_cexpl.c: Likewise.
37607 * math/libm-test.inc (cexp_test): Add more tests.
37608 * sysdeps/i386/fpu/libm-test-ulps: Update.
37609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37610
81b035fe
L
376112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37612
37613 * include/link.h (ELFW): New macro.
37614 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37615 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37616
1da7940c
L
376172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37618
37619 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37620 with uint64_t.
37621
b749dbb9
L
376222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37623
37624 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37625 declaration.
37626 (struct La_x32_retval): Likewise.
37627
2ff87f3f
L
376282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37629
37630 * sysdeps/x86_64/preconfigure.in: New file.
37631 * sysdeps/x86_64/preconfigure: New generated file.
37632
c0df8e69
JM
376332012-03-22 Joseph Myers <joseph@codesourcery.com>
37634
48e44791
JM
37635 [BZ #13824]
37636 * math/e_exp2l.c: Include <float.h>.
37637 (__ieee754_exp2l): Handle overflow and underflow cases
37638 separately. Only pass fractional part of argument to
37639 __ieee754_expl.
37640 * math/libm-test.inc (exp2_test): Add more tests.
37641
c0df8e69
JM
37642 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37643 negating x to take absolute value.
37644 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37645 Likewise.
37646 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37647 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37648 Likewise.
37649 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37650 computing low part if x was negated.
37651 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37652
c8e43ba7
L
376532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37654
37655 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37656 la_x32_gnu_pltexit.
37657 (pltexit): Cast int_retval to ptrdiff_t.
37658 * elf/tst-auditmod3b.c: Likewise.
37659 * elf/tst-auditmod4b.c: Likewise.
37660 * elf/tst-auditmod5b.c: Likewise.
37661 * elf/tst-auditmod6b.c: Likewise.
37662 * elf/tst-auditmod6c.c: Likewise.
37663 * elf/tst-auditmod7b.c: Likewise.
37664
37665 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37666 and x32_gnu_pltexit.
37667
37668 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37669 __ELF_NATIVE_CLASS.
37670 (La_x32_regs): New macro.
37671 (La_x32_retval): Likewise.
37672 (la_x32_gnu_pltenter): New function prototype.
37673 (la_x32_gnu_pltexit): Likewise.
37674
7998fa78
AS
376752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37676
dcb33988
AS
37677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37678 exponent.
37679
233fc563
AS
37680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37681
7998fa78
AS
37682 * configure.in (libc_cv_cc_nofma): Check for option to disable
37683 generation of FMA instructions.
37684 * configure: Regenerate.
37685 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37686 * sysdeps/ieee754/dbl-64/Makefile: New file.
37687 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37688 Remove brandred-fma4.
37689 (CFLAGS-brandred-fma4.c): Remove.
37690 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37692 define.
37693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37694 define.
37695
8e95c99a
L
376962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37697
37698 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37699 LLONG_MAX != LONG_MAX.
37700 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37701 (_fitoa_word): Likewise.
37702 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37703 LLONG_MAX != LONG_MAX.
37704 * stdio-common/_itowa.h: Include <_itoa.h>.
37705 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37706 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37707 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37708 only if not defined.
37709 (_ITOA_WORD_TYPE): Likewise.
37710 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37711 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37712
6f4db457
DM
377132012-03-21 David S. Miller <davem@davemloft.net>
37714
37715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37716
7785fe5a
L
377172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37718
37719 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37720 of x86_64 when setting libc_cv_slibdir, libdir and
37721 libc_cv_localedir.
37722 * sysdeps/unix/sysv/linux/configure: Regenerated.
37723
4535cd55
JM
377242012-03-21 Joseph Myers <joseph@codesourcery.com>
37725
37726 * manual/lang.texi (Old Varargs): Remove section.
37727 (How Variadic): Update menu.
37728 (va_start): Do not mention varargs.h.
37729
17228132
TS
377302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37731 Joseph Myers <joseph@codesourcery.com>
37732
37733 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37734 link test.
37735 * configure: Regenerated.
37736
8149f976
TS
377372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37738
05f3d1f6
UD
37739 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37740 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37741 conformtest.pl
8149f976 37742
1a4ac776
JM
377432012-03-21 Joseph Myers <joseph@codesourcery.com>
37744
be22ce65
JM
37745 * NOTES: Remove.
37746 * Makefile (files-for-dist): Remove NOTES.
37747 (NOTES): Remove rule.
37748 * README: Don't refer to NOTES.
37749 * manual/creature.texi: Don't include macros.texi.
37750 * manual/intro.texi (creature.texi): Remove comment referring to
37751 NOTES.
37752
40b601fb
JM
37753 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37754 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37755 * configure: Regenerated.
37756 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37757 LIBC_TRY_CC_OPTION.
37758 (libc_cv_as_i686): Likewise.
37759 (libc_cv_cc_avx): Likewise.
37760 (libc_cv_cc_sse2avx): Likewise.
37761 (libc_cv_cc_fma4): Likewise.
37762 (libc_cv_cc_novzeroupper): Likewise.
37763 * sysdeps/i386/configure: Regenerated.
37764
1a4ac776
JM
37765 [BZ #13883]
37766 * sysdeps/i386/fpu/s_cexp.S: Remove.
37767 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37768 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37769 * math/libm-test.inc (cexp_test): Add more tests.
37770 * sysdeps/i386/fpu/libm-test-ulps: Update.
37771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37772
a458e7fe
AM
377732012-03-21 Allan McRae <allan@archlinux.org>
37774
37775 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37776
0cb7efc5
JM
377772012-03-21 Joseph Myers <joseph@codesourcery.com>
37778
37779 [BZ #13871]
37780 * math/w_exp2.c: Do not include <float.h>.
37781 (o_threshold, u_threshold): Remove.
37782 (__exp2): Calculate result before checking finiteness and calling
37783 __kernel_standard.
37784 * math/w_exp2f.c: Likewise.
37785 * math/w_exp2l.c: Likewise.
37786 * math/libm-test.inc (exp2_test): Require overflow exception for
37787 1e6 input.
2460d3aa
JM
37788
37789 [BZ #3866]
37790 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37791 range of signed 64-bit integers before using fistpll. Remove
37792 checks for whether integers fit in mantissa bits.
37793 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37794 the range of signed 32-bit integers before using fistpl. Remove
37795 checks for whether integers fit in mantissa bits.
37796 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37797 (__ieee754_powl): Test for y outside the range of signed 64-bit
37798 integers before using fistpll. Reduce 64-bit values to 63-bit
37799 ones as needed.
37800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37801 divide-by-zero is raised for zero to large negative powers.
37802 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37803 (__ieee754_powl): Test for y outside the range of signed 64-bit
37804 integers before using fistpll. Reduce 64-bit values to 63-bit
37805 ones as needed.
37806 * math/libm-test.inc (pow_test): Add more tests.
37807
eb96ffb0
L
378082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37809
37810 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37811 <stdio-common/_itoa.h>.
37812 * debug/segfault.c: Likewise.
37813 * elf/dl-cache.c: Likewise.
37814 * elf/dl-minimal.c: Likewise.
37815 * elf/dl-misc.c: Likewise.
37816 * elf/dl-sysdep.c: Likewise.
37817 * elf/dl-version.c: Likewise.
37818 * elf/rtld.c: Likewise.
37819 * hurd/hurdsock.c: Likewise.
37820 * hurd/lookup-retry.c: Likewise.
37821 * malloc/malloc.c: Likewise.
37822 * malloc/mtrace.c: Likewise.
37823 * nscd/nscd_getgr_r.c: Likewise.
37824 * nscd/nscd_getpw_r.c: Likewise.
37825 * nscd/nscd_getserv_r.c: Likewise.
37826 * posix/getopt_init.c: Likewise.
37827 * posix/wordexp.c: Likewise.
37828 * stdio-common/_itoa.c: Likewise.
37829 * stdio-common/printf_fphex.c: Likewise.
37830 * stdio-common/vfprintf.c: Likewise.
37831 * string/_strerror.c: Likewise.
37832 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37833 * sysdeps/i386/i686/hp-timing.h: Likewise.
37834 * sysdeps/mach/_strerror.c: Likewise.
37835 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37836 * sysdeps/mach/hurd/sethostid.c: Likewise.
37837 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37838 * sysdeps/mach/xpg-strerror.c: Likewise.
37839 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37840 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37841 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37842 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37843 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37844 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37845 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37846 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37847 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37848 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37849 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37850 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37851 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37852 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37853 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37854 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37855 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37856 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37857 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37858 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37859 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37860
37861 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37862
37863 * stdio-common/_itoa.h: Moved to ...
37864 * sysdeps/generic/_itoa.h: Here.
37865
37866 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37867
37868 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37869 instead of "_itoa.h" and "_itowa.h".
37870 * stdio-common/vfprintf.: Likewise.
37871
d1af992d
L
378722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37873
37874 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37875 <bits/wordsize.h>.
37876 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37877 (__signbit): Likwise.
37878 (llrintf): Likwise.
37879 (llrint): Likwise.
37880
114883e0
L
378812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37882
37883 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37884 __WORDSIZE != 64.
37885
c135cc1b
JM
378862012-03-20 Joseph Myers <joseph@codesourcery.com>
37887
37888 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37889 OVERFLOW_EXCEPTION_OK.
37890 * math/libm-test.inc ("Philosophy"): Update comment about
37891 exception testing.
37892 (OVERFLOW_EXCEPTION): Define.
37893 (OVERFLOW_EXCEPTION_OK): Likewise.
37894 (INVALID_EXCEPTION_OK): Renumber.
37895 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37896 (IGNORE_ZERO_INF_SIGN): Likewise.
37897 (test_exceptions): Handle FE_OVERFLOW.
37898 (exp10_test): Expect overflow exceptions.
37899 (exp2_test): Likewise.
37900 (expm1_test): Likewise.
37901 (nextafter_test): Likewise.
37902 (pow_test): Likewise.
37903 (scalbn_test): Likewise.
37904 (scalbln_test): Likewise.
37905
95443d88
L
379062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37907
37908 * sysdeps/x86_64/bits/atomic.h
37909 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37910 64bit integer.
37911 (atomic_exchange_acq): Likewise.
37912 (__arch_exchange_and_add_body): Likewise.
37913 (__arch_add_body): Likewise.
37914 (atomic_add_negative): Likewise.
37915 (atomic_add_zero): Likewise.
37916
490df6c4
L
379172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37918
c2722551 37919 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37920 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37921
5e52b189
L
379222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37923
37924 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37925 Check __x86_64__ instead of __WORDSIZE.
37926
a9879d4c
L
379272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37928
37929 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37930
5df98260
DM
379312012-03-19 David S. Miller <davem@davemloft.net>
37932
e1497744
DM
37933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37934
5df98260
DM
37935 * sysdeps/sparc/fpu/fenv_private.h: New file.
37936 * sysdeps/sparc/fpu/math_private.h: Use it.
37937 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37938 Remove.
57f41c40 37939 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37940 (libc_feholdexcept_setroundl): Remove.
37941 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37942 Remove.
37943 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37944 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37945
b4c35121
L
379462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37947
37948 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37949 int64_t instead of long int.
37950 (INSERT_WORDS64): Likwise.
37951
56965fd7
L
379522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37953
37954 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37955 _Unwind_GetCFA return to _Unwind_Ptr first.
37956
83d1aec8
JM
379572012-03-19 Joseph Myers <joseph@codesourcery.com>
37958
1897ad44
JM
37959 [BZ #13629]
37960 * math/s_clog.c: Include <float.h>.
37961 (__clog): Scale large or subnormal inputs.
37962 * math/s_clogf.c: Likewise.
37963 * math/s_clogl.c: Likewise.
37964 * math/s_clog10.c: Include <float.h>.
37965 (M_LOG10_2): Define.
37966 (__clog10): Scale large or subnormal inputs.
37967 * math/s_clog10f.c: Likewise.
37968 * math/s_clog10l.c: Likewise.
37969 * math/libm-test.inc (clog_test): Add more tests.
37970 (clog10_test): Likewise.
37971 * sysdeps/i386/fpu/libm-test-ulps: Update.
37972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37973
7726d6a9
JM
37974 [BZ #11451]
37975 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37976 x and y.
37977 * math/libm-test.inc (atan2_test): Add another test.
37978
83d1aec8
JM
37979 * Makerules (common-objdir-compile): Remove.
37980 * sysdeps/unix/Makefile (config-generated): Do not add
37981 $(unix-generated) to variable.
37982 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37983 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37984 Remove rule.
37985 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37986 Likewise.
37987 [generic bits/local_lim.h] (before-compile): Do not append to
37988 variable.
37989 [generic bits/local_lim.h] (common-generated): Likewise.
37990 [generic sys/param.h] (before-compile): Do not append to variable.
37991 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37992 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37993 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37994 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37995 include.
37996 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37997 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37998 [generic sys/param.h] ($(addprefix
37999 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38000 [generic sys/param.h] (common-generated): Do not append to
38001 variable.
38002 [generic sys/param.h] (sysdep_headers): Likewise.
38003 [generic bits/errno.h] (before-compile): Do not append to
38004 variable.
38005 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38006 rule.
38007 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38008 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38009 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38010 [generic bits/errno.h] (common-generated): Do not append to
38011 variable.
38012 [generic bits/ioctls.h] (before-compile): Do not append to
38013 variable.
38014 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38015 rule.
38016 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38017 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38018 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38019 rule.
38020 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38021 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38022 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38023 [generic bits/ioctls.h] (common-generated): Do not append to
38024 variable.
38025 [generic sys/syscall.h] (syscall.h): Remove variable.
38026 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38027 rule.
38028 [generic sys/syscall.h] (before-compile): Do not append to
38029 variable.
38030 [generic sys/syscall.h] (common-generated): Likewise.
38031 * sysdeps/unix/errnos-tmpl.c: Remove file.
38032 * sysdeps/unix/errnos.awk: Likewise.
38033 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38034 * sysdeps/unix/ioctls.awk: Likewise.
38035 * sysdeps/unix/mk-local_lim.c: Likewise.
38036 * sysdeps/unix/snarf-ioctls: Likewise.
38037
4851a949
RH
380382012-03-19 Richard Henderson <rth@twiddle.net>
38039
bd37f2ee
RH
38040 * sysdeps/i386/fpu/fenv_private.h: New file.
38041 * sysdeps/i386/fpu/math_private.h: Use it.
38042 (math_opt_barrier, math_force_eval): Remove.
38043 (libc_feholdexcept_setround_53bit): Remove.
38044 (libc_feupdateenv_53bit): Remove.
38045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38046 (math_opt_barrier, math_force_eval): Remove.
38047 (libc_feholdexcept): Remove.
38048 (libc_feholdexcept_setround): Remove.
38049 (libc_fetestexcept, libc_fesetenv): Remove.
38050 (libc_feupdateenv_test): Remove.
38051 (libc_feupdateenv, libc_feholdsetround): Remove.
38052 (libc_feresetround): Remove.
38053
d0adc922
RH
38054 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38055 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38056
0fe0f1f8
RH
38057 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38058 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38059 (libc_feupdateenv_testl): New.
38060 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38061 (libc_feupdateenv_testf): New.
38062 (libc_feupdateenv): Use libc_feupdateenv_test.
38063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38064 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38065
eb92c487
RH
38066 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38067 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38068 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38069 (libc_feresetround_noex): New.
38070 (libc_feresetround_noexf): New.
38071 (libc_feresetround_noexl): New.
38072 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38073 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38074 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38075 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38076 SET_RESTORE_ROUND.
38077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38079 (__cos): Likewise.
38080 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38081 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38082 SET_RESTORE_ROUND_NOEX.
38083 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38084 SET_RESTORE_ROUND_NOEXF.
38085 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38086 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38087 (libc_feholdsetroundf): New.
38088 (libc_feresetround, libc_feresetroundf): New.
38089
7d2e8012
RH
38090 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38091 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38092 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38093
b4dabbb4
RH
38094 * sysdeps/generic/math_private.h: Include <fenv.h>.
38095 (default_libc_feholdexcept): New.
38096 (default_libc_feholdexcept_setround): New.
38097 (default_libc_fesetenv, default_libc_feupdateenv): New.
38098 (libc_feholdexcept): Only define if undefined.
38099 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38100 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38101 (libc_feholdexcept_setroundl): Likewise.
38102 (libc_feholdexcept_setround_53bit): Likewise.
38103 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38104 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38105 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38106 (libc_feupdateenv_53bit): Likewise.
38107 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38108 (libc_feholdexcept): Convert from macro to inline function.
38109 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38110 (libc_fesetenv, libc_feupdateenv): Likewise.
38111
4851a949
RH
38112 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38113 not previously defined.
38114 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38115 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38116 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38117 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38118 * sysdeps/ieee754/flt-32/math_private.h: New file.
38119 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38120 math_private.h below SET_FLOAT_WORD.
38121 (__isnan, __isinf_ns, __finite): Remove.
38122 (__isnanf, __isinf_nsf, __finitef): Remove.
38123
e79d442e
AS
381242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38125
38126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38127
90b80344
DM
381282012-03-17 David S. Miller <davem@davemloft.net>
38129
38130 [BZ #6471]
38131 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38132 for 2.16.
38133
edc21804
DM
381342012-03-16 David S. Miller <davem@davemloft.net>
38135
77e927af
DM
38136 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38137 warnings.
38138
374976dd
DM
38139 [BZ #6471]
38140 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38141 properly.
38142 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38143 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38144 sysdep_routines when subdir is sysvipc.
38145 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38146 __getshmlba helper.
38147
edc21804
DM
38148 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38149
473c3ef3
L
381502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38151
38152 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38153 [__LP64__].
38154
eb0f39b6
L
381552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38156
38157 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38158 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38159 (__lround): Renamed to ...
38160 (__llround): This. Replace long int with long long int.
38161 Define lround functions as aliases of llround functions.
38162 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38163
6b6cd74b
L
381642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38165
38166 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38167 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38168 adresses to uintptr_t. Replace "long int" and "unsigned long
38169 int" with "greg_t" on va_arg.
38170
f1a77b01
L
381712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38172
38173 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38174 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38175
38176 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38177 Move e_machine check before EI_CLASS check. Handle x32
38178 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38179 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38180 SKIP_EM_IA_64 and include
38181 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38182
38183 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38184 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38185 (add_system_dir): New macro.
38186
38187 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38188 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38189
11b90b9f
JM
381902012-03-16 Joseph Myers <joseph@codesourcery.com>
38191
c36e1d23
JM
38192 [BZ #2551]
38193 [BZ #2552]
38194 [BZ #2553]
38195 [BZ #2554]
38196 [BZ #2562]
38197 [BZ #2563]
38198 [BZ #2565]
38199 [BZ #2566]
38200 [BZ #2576]
38201 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38202 (y0): Likewise.
38203 * math/w_j0f.c (j0f): Likewise.
38204 (y0f): Likewise.
38205 * math/w_j0l.c (__j0l): Likewise.
38206 (__y0l): Likewise.
38207 * math/w_j1.c (j1): Likewise.
38208 (y1): Likewise.
38209 * math/w_j1f.c (j1f): Likewise.
38210 (y1f): Likewise.
38211 * math/w_j1l.c (__j1l): Likewise.
38212 (__y1l): Likewise.
38213 * math/w_jn.c (jn): Likewise.
38214 (yn): Likewise.
38215 * math/w_jnf.c (jnf): Likewise.
38216 (ynf): Likewise.
38217 * math/w_jnl.c (__jnl): Likewise.
38218 (__ynl): Likewise.
38219 * math/libm-test.inc (j0_test): Add more tests.
38220 (j1_test): Likewise.
38221 (jn_test): Likewise. Add trailing semicolon to existing test.
38222 (y0_test): Likewise.
38223 (y1_test): Likewise.
38224 * sysdeps/i386/fpu/libm-test-ulps: Update.
38225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38226
11b90b9f
JM
38227 [BZ #13851]
38228 [BZ #13854]
38229 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38230 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38231 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38233 (__tanl): Set errno for infinite argument.
38234 * sysdeps/i386/fpu/mptan.c: Remove.
38235 * sysdeps/i386/fpu/s_tan.S: Likewise.
38236 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38237 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38238 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38239 * math/libm-test.inc (tan_test): Add more tests and enable more
38240 tests for double and long double.
38241 * sysdeps/i386/fpu/libm-test-ulps: Update.
38242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38243
6a1bd2a1
JK
382442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38245
38246 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38247 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38248
10a803e0
RM
382492012-03-16 Roland McGrath <roland@hack.frob.com>
38250
38251 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38252 * configure.in: Use it for both main tree and add-ons.
38253 * configure: Regenerated.
38254
f196c7f7
L
382552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38256
38257 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38258
8848d99d
JM
382592012-03-16 Joseph Myers <joseph@codesourcery.com>
38260
96cbe7f4
JM
38261 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38262 in comment.
38263
8848d99d
JM
38264 [BZ #13851]
38265 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38266 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38270 infinite argument.
38271 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38273 != 0 for prec == 2.
38274 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38275 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38276 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38277 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38278 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38279 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38280 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38281 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38282 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38283 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38284 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38285 * math/libm-test.inc (cos_test): Add more tests and enable more
38286 tests for long double.
38287 (sin_test): Likewise.
38288 (sincos_test): Likewise.
38289 * sysdeps/i386/fpu/libm-test-ulps: Update.
38290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38291
dd7f4703
DM
382922012-03-16 David S. Miller <davem@davemloft.net>
38293
38294 * sysdeps/sparc/fpu/math_private.h: New file.
38295
006f1daa
DM
382962012-03-15 David S. Miller <davem@davemloft.net>
38297
c0c83bc8
DM
38298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38299 file.
e6a62e18 38300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38302 file.
e6a62e18
DM
38303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38309 sysdep routines.
38310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38311
88cb87d9
DM
38312 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38313 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38314
006f1daa 38315 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38317 sparc-ifunc.h
006f1daa 38318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38320 Likewise.
38321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38322 Likewise.
006f1daa
DM
38323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38327 Likewise.
006f1daa
DM
38328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38333 Likewise.
38334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38335 Likewise.
006f1daa
DM
38336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38360
11e0098e
AS
383612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38362
38363 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38364 scaling.
38365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38366
e85b09d0
AJ
383672012-03-15 Andreas Jaeger <aj@suse.de>
38368
38369 [BZ #13852]
38370 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38371 ieee754/flt-32 implementation for sin, cos and sincos.
38372 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38373 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38374 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38375 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38376 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38377 ieee754/flt-32 implementation for tan.
38378
38379 * math/libm-test.inc (cos_test): Enable some large input tests for
38380 float as well
38381 (sin_test): Likewise.
38382 (sincos_test): Likewise.
38383 (tan_test): Add tests for large input.
38384
38385 * sysdeps/i386/fpu/libm-test-ulps: Update.
38386
81c64153
AJ
383872012-03-15 Andreas Jaeger <aj@suse.de>
38388
38389 [BZ #13658]
38390 * math/libm-test.inc (cos_test): Add more test cases.
38391 (sin_test): Likewise.
38392 (sincos_test): Likewise.
38393
7bbfa5c6
AJ
383942012-03-15 Andreas Jaeger <aj@suse.de>
38395
38396 [BZ #13837]
38397 * math/libm-test.inc (cos_test): Add a test case for large input
38398 value.
38399 (sin_test): Likewise.
38400 (sincos_test): Likewise.
38401
57f41c40
AS
384022012-03-15 Andreas Jaeger <aj@suse.de>
38403 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38404
38405 [BZ #13658]
0671f479 38406 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38407 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38408 * sysdeps/i386/fpu/branred.c: Likewise.
38409 * sysdeps/i386/fpu/dosincos.c: Likewise.
38410 * sysdeps/i386/fpu/mpa.c: Likewise.
38411 * sysdeps/i386/fpu/s_cos.S: Likewise.
38412 * sysdeps/i386/fpu/s_sin.S: Likewise.
38413 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38414 * sysdeps/i386/fpu/sincos32.c: Likewise.
38415
38416 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38417 Define.
38418 (libc_feupdateenv_53bit): Define.
38419 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38420 Define.
38421 (libc_feupdateenv_53bit): Define.
38422
38423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38424 53 bit (without extend i386 double precision).
38425
38426 * math/libm-test.inc (sincos_test): Add tests for large input.
38427 (sin): Likewise.
38428 (cos): Likewise.
38429
38430 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38431
9cad04ea
AS
384322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38433
38434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38435
f7062b9a
DM
384362012-03-15 David S. Miller <davem@davemloft.net>
38437
38438 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38439 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38440 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38441 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38454 file.
f7062b9a 38455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38457 file.
f7062b9a 38458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38460 file.
f7062b9a 38461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38463 file.
f7062b9a
DM
38464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38466 fmin/fmax sysdep routines.
38467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38468
7bd951ff
DM
384692012-03-14 David S. Miller <davem@davemloft.net>
38470
559398ab
DM
38471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38500 routines.
38501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38502 file.
559398ab 38503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38505 file.
559398ab 38506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38508 file.
559398ab 38509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38511 file.
559398ab 38512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38514 file.
559398ab 38515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38517 file.
38518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38519 file.
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38521 file.
38522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38523 file.
38524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38525 New file.
38526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38527 file.
38528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38529 file.
559398ab 38530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38532 file.
559398ab 38533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38535 file.
559398ab 38536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38538 file.
559398ab 38539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38541 VIS3 routines.
559398ab
DM
38542
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38544 New file.
38545
5a1c1e32
DM
38546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38547
eae47a36
DM
38548 * sysdeps/sparc/configure.in: New file.
38549 * sysdeps/sparc/configure: Generate.
38550 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38551 * configure: Regenerate.
38552 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38553 * config.make.in (have-as-vis3): New.
38554 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38555 available use -Av9d instead of -Av9a.
38556 * sysdeps/sparc/sparc64/Makefile: Likewise.
38557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38559 New file.
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38561 file.
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38563 New file.
38564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38565 file.
eae47a36
DM
38566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38571
c0c83bc8
DM
38572 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38573 fzeros/fnegs to load 0x80000000 into a float register instead of
38574 using the stack.
7bd951ff
DM
38575 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38576
bd951ccb
JM
385772012-03-14 Joseph Myers <joseph@codesourcery.com>
38578
38579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38580 bits/syscall.h.
38581 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38582 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38583 ($(inst_includedir)/bits/syscall.h): Remove rule.
38584 ($(objpfx)bits/syscall.d): Include instead of
38585 $(objpfx)syscall-list.d.
38586 (generated): Change syscall-list.h and syscall-list.d to
38587 bits/syscall.h and bits/syscall.d.
38588
bb4e6db2
RM
385892012-03-14 Roland McGrath <roland@hack.frob.com>
38590
38591 [BZ #13846]
38592 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38593
aa4a2ae1
JM
385942012-03-14 Joseph Myers <joseph@codesourcery.com>
38595
e456826d
JM
38596 [BZ #13841]
38597 * math/s_csqrt.c: Include <float.h>.
38598 (__csqrt): Scale large or subnormal inputs.
38599 * math/s_csqrtf.c: Likewise.
38600 * math/s_csqrtl.c: Likewise.
38601 * math/libm-test.inc (csqrt_test): Add more tests.
38602 * sysdeps/i386/fpu/libm-test-ulps: Update.
38603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38604
aa4a2ae1
JM
38605 [BZ #13840]
38606 * math/libm-test.inc (hypot_test): Add more tests.
38607
7c10fd35
DM
386082012-03-13 David S. Miller <davem@davemloft.net>
38609
38610 [BZ #13840]
38611 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38612 double-precision for the calculation instead of scaling.
38613
f453b98b
JM
386142012-03-13 Joseph Myers <joseph@codesourcery.com>
38615
38616 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38617 manipulate bits before adding and subtracting TWO52[sx].
38618 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38620 Likewise.
38621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38622
09a3453f
DM
386232012-03-13 David S. Miller <davem@davemloft.net>
38624
8e59da90
DM
38625 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38626 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38628 rtld-global-offsets.h
38629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38630
2a8ab7f2
DM
38631 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38632 large parameters.
38633
10f62770
DM
38634 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38635
5f0bdb18
DM
38636 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38637 'err' in the ifdef scope in which it is actually used.
38638
09a3453f
DM
38639 * nss/nss_db/db-init.c: Include string.h
38640
b4b2eb5e
DM
386412012-03-12 David S. Miller <davem@davemloft.net>
38642
98bb2f1c
DM
38643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38644 masking out of the most significant byte of random value used.
38645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38646 Fix coding style in previous change.
38647
b4b2eb5e
DM
38648 * sysdeps/unix/sysv/linux/kernel-features.h
38649 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38650 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38651 expression.
38652 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38653 later.
38654
6e226b09
DM
386552012-03-11 David S. Miller <davem@davemloft.net>
38656
a1bcbd40
DM
38657 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38658 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38660 for 'resultvar' otherwise things get truncated on 64-bit.
38661
cb9d6174
DM
38662 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38663 Fix masking out of the most significant byte of random value used.
38664
6e226b09
DM
38665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38666
058c132d
AS
386672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38668
38669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38670
2d2cd515
DM
386712012-03-09 David S. Miller <davem@davemloft.net>
38672
38673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38674 variables with appropriate CPP guards.
57f41c40
AS
38675 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38676 from the frame pointer, not the stack pointer. Correct layout
38677 comments. Fix test on resulting framesize and the management of
38678 the outregs buffer for pltexit. Preserve floating point return
38679 values across _dl_call_pltexit call.
2d2cd515
DM
38680 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38681 framesize and the management of the outregs buffer for pltexit.
38682 Preserve floating point return values across _dl_call_pltexit
38683 call.
57f41c40
AS
38684 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38685 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38686 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38687 (print_exit): Fix format string for return register value.
38688
9a07f9d0
JM
386892012-03-10 Joseph Myers <joseph@codesourcery.com>
38690
38691 * sunrpc/Makefile (others): Add rpcgen.
38692 ($(objpfx)rpcgen): Remove special build rule and dependency on
38693 libc.
38694 * sunrpc/rpcgen.c: New file.
38695
547b5e30
PE
386962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38697
c524201a
PE
38698 [BZ #13673]
38699 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38700 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38701 * sysdeps/i386/crti.S: Likewise.
38702 * sysdeps/i386/crtn.S: Likewise.
38703 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38704 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38705 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38706 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38707 * sysdeps/sh/crti.S: Likewise.
38708 * sysdeps/sh/crtn.S: Likewise.
38709 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38710
7b6235f2
PE
38711 [BZ #13673]
38712 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38713 with URL.
38714 * locale/programs/locfile-kw.gperf: Likewise.
38715 * locale/programs/charmap-kw.h: Regenerated.
38716 * locale/programs/locfile-kw.h: Likewise.
38717
547b5e30
PE
38718 [BZ #13673]
38719 * intl/plural.y: Replace FSF snail mail address with URL.
38720 * intl/plural.c: Regenerated.
38721
5f0a5dae
RH
387222012-03-09 Richard Henderson <rth@twiddle.net>
38723
38724 * include/math_private.h: Remove file.
38725 * math/math_private.h: Move file ...
38726 * sysdeps/generic/math_private.h: ... here.
38727
b8c03620
RH
38728 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38729 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38731
4e234f5d 38732 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38733 and <math_private.h>.
38734 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38735 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38736 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38737 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38738 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38766 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38774 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38777 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38778 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38780 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38781 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38783 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38784 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38785 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38786 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38798 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38802 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38806 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38822 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38825 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38827 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38828 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38829 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38830 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38834 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38835 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38836 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38837 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38839 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38840 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38841 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38842 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38844 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38845 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38846 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38847 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38848 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38850 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38851 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38855 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38857 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38861 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38862 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38863 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38864 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38867 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38868 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38870 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38872 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38875 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38877 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38878 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38879 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38880 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38881 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38882 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38883 * sysdeps/ieee754/k_standard.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38956 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38957 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38983 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39004 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39006 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39021 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39033 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39044 * sysdeps/ieee754/s_lib_version.c: Likewise.
39045 * sysdeps/ieee754/s_matherr.c: Likewise.
39046 * sysdeps/ieee754/s_signgam.c: Likewise.
39047 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39050 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39052 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39053 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39054 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39055 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39056 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39057 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39058 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39059 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39061 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39064 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39068
1991fa03
JM
390692012-03-09 Joseph Myers <joseph@codesourcery.com>
39070
39071 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39072 * sunrpc/rpc_main.c: Likewise.
39073 * sunrpc/rpc_svcout.c: Likewise.
39074
60d6f5a6
DM
390752012-03-09 David S. Miller <davem@davemloft.net>
39076
39077 * include/math_private.h: New file.
39078
4962050e
JM
390792012-03-09 Joseph Myers <joseph@codesourcery.com>
39080
02a6f887
JM
39081 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39082 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39083 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39084 from <bits/socket_type.h>.
39085 (enum __socket_type): Don't define here.
39086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39088 bits/socket_type.h.
39089
c6e013c1
JM
39090 [BZ #13566]
39091 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39092 checking __USE_GNU.
39093
4962050e
JM
39094 * Makerules ($(inst_includedir)/%.h): New rule.
39095 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39096 (install-others): Remove variable setting.
39097 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39098
38842f45
RH
390992012-03-08 Richard Henderson <rth@twiddle.net>
39100
67bb6da6
RH
39101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39102 from macro to inline function; merge with the
39103 !__LIBC_INTERNAL_MATH_INLINES version.
39104 (__ieee754_sqrtf): Likewise.
39105
15194b4b
RH
39106 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39107 to inline function.
39108 (__rintf, __floor, __floorf): Likewise.
39109
64e21ede
RH
39110 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39111 macro to inline function.
39112 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39113
38842f45
RH
39114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39115 not <math/math_private.h>.
39116
c64bf5fe
DM
391172012-03-08 David S. Miller <davem@davemloft.net>
39118
39119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39120 copyright year.
39121 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39122
82d86f28
TS
391232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39124
39125 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39126 normalization.
39127 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39128 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39129
aea5d727
UD
391302012-03-08 Ulrich Drepper <drepper@gmail.com>
39131
39132 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39133 be defined individually, they must be defined as a block. Define
39134 S for printing a string instead of hidint the different by using a
39135 macro for adding the 'l'.
39136 * stdio-common/tst-fphex-wide.c: Adjust.
39137
70bca0a3
MP
391382012-03-07 Marek Polacek <polacek@redhat.com>
39139
39140 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39141
65b81130
MP
391422012-03-08 Marek Polacek <polacek@redhat.com>
39143
39144 [BZ #13806]
39145 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39146 * stdio-common/tst-fphex.c: Define a few macros to make the
39147 test reusable. Use them.
39148 * stdio-common/tst-fphex-wide.c: New file.
39149
07037eeb
JM
391502012-03-08 Joseph Myers <joseph@codesourcery.com>
39151
a7a93d50
JM
39152 [BZ #6911]
39153 * manual/macros.texi (gnusystems): New macro.
39154 (nongnusystems): Likewise.
39155 (gnulinuxhurdsystems): Likewise.
39156 (gnuhurdsystems): Likewise..
39157 (gnulinuxsystems): Likewise.
39158 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39159 variants of the GNU system, not "GNU system".
39160 * manual/conf.texi: Likewise.
39161 * manual/errno.texi: Likewise. Update example of errno macro
39162 expansion.
39163 * manual/filesys.texi: Likewise.
39164 (getumask): Document as specific to GNU/Hurd.
39165 * manual/install.texi: Likewise. Reword some references to
39166 GNU/Linux.
39167 * manual/intro.texi: Likewise.
39168 * manual/io.texi: Likewise.
39169 (File Name Portability): Detail which constraints are inapplicable
39170 to all GNU systems and which are only inapplicable to GNU/Hurd.
39171 * manual/job.texi: Likewise.
39172 * manual/llio.texi: Likewise.
39173 (O_NOCTTY): Document as present on GNU/Linux.
39174 * manual/maint.texi: Likewise.
39175 * manual/memory.texi: Likewise.
39176 * manual/pattern.texi: Likewise.
39177 * manual/pipe.texi: Likewise.
39178 * manual/process.texi: Likewise.
39179 * manual/resource.texi: Likewise.
39180 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39181 child on GNU/Hurd.
39182 * manual/setjmp.texi: Likewise.
39183 * manual/signal.texi: Likewise.
39184 * manual/startup.texi: Likewise.
39185 * manual/stdio.texi: Likewise.
39186 * manual/terminal.texi: Likewise.
39187 (ONLCR): Document as POSIX.
39188 (OXTABS): Document availability on GNU/Linux as XTABS.
39189 (ONOEOT): Document availability separately from other bits.
39190 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39191 * manual/time.texi: Likewise.
39192 * manual/users.texi: Likewise.
39193 * INSTALL: Regenerated.
39194 * sysdeps/gnu/errlist.c: Regenerated.
39195
07037eeb
JM
39196 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39197 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39198 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39199 puts.
39200 * configure: Regenerated.
39201
d1d3431a
JM
392022012-03-07 Joseph Myers <joseph@codesourcery.com>
39203
af6a1e37
JM
39204 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39205 default includes instead of AC_HEADER_CHECK.
39206 * sysdeps/i386/configure: Regenerated.
39207
d1d3431a
JM
39208 [BZ #10716]
39209 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39210 * math/s_cacoshf.c (__cacoshf): Likewise.
39211 * math/s_cacoshl.c (__cacoshl): Likewise.
39212 * math/s_casinh.c (__casinh): Set signs of result from argument.
39213 * math/s_casinhf.c (__casinhf): Likewise.
39214 * math/s_casinhl.c (__casinhl): Likewise.
39215 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39216 (casinh_test): Add more tests.
39217 * sysdeps/i386/fpu/libm-test-ulps: Update.
39218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39219
482ff4da
UD
392202012-03-07 Ulrich Drepper <drepper@gmail.com>
39221
872fda05
UD
39222 * po/zh_TW.po: Update from translation team.
39223
a4300c7a
UD
39224 * login/Makefile (distribute): Remove variable.
39225 * catgets/Makefile: Likewise.
39226 * mach/Makefile: Likewise.
39227 * malloc/Makefile: Likewise.
39228 * misc/Makefile: Likewise.
39229 * iconv/Makefile: Likewise.
39230 * nscd/Makefile: Likewise.
39231 * hurd/Makefile: Likewise.
39232 * manual/Makefile: Likewise.
39233 * locale/Makefile: Likewise.
39234 * intl/Makefile: Likewise.
39235 * conform/Makefile: Likewise.
39236 * nss/Makefile: Likewise.
39237 * time/Makefile: Likewise.
39238 * soft-fp/Makefile: Likewise.
39239 * dirent/Makefile: Likewise.
39240 * gmon/Makefile: Likewise.
39241 * po/Makefile: Likewise.
39242 * rt/Makefile: Likewise.
39243 * socket/Makefile: Likewise.
39244 * math/Makefile: Likewise.
39245 * signal/Makefile: Likewise.
39246 * debug/Makefile: Likewise.
39247 * elf/Makefile: Likewise.
39248 * timezone/Makefile: Likewise.
39249 * stdlib/Makefile: Likewise.
39250 * iconvdata/Makefile: Likewise.
39251 * sunrpc/Makefile: Likewise.
39252 * io/Makefile: Likewise.
39253 * argp/Makefile: Likewise.
39254 * inet/Makefile: Likewise.
39255 * hesiod/Makefile: Likewise.
39256 * grp/Makefile: Likewise.
39257 * csu/Makefile: Likewise.
39258 * wctype/Makefile: Likewise.
39259 * crypt/Makefile: Likewise.
39260 * libio/Makefile: Likewise.
39261 * string/Makefile: Likewise.
39262 * nis/Makefile: Likewise.
39263 * resolv/Makefile: Likewise.
39264 * stdio-common/Makefile: Likewise.
39265 * wcsmbs/Makefile: Likewise.
39266 * dlfcn/Makefile: Likewise.
39267 * posix/Makefile: Likewise.
39268
3b7c4e74 39269 [BZ #6959]
482ff4da
UD
39270 * timezone/Makefile: Don't install timezone files, just the programs
39271 and scripts.
39272
f72ed77d
UD
392732012-03-06 Ulrich Drepper <drepper@gmail.com>
39274
a000466f
UD
39275 * nss/databases.def: Add missing gshadow entry.
39276
f72ed77d
UD
39277 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39278
a53b7a4e
MP
392792012-03-06 Marek Polacek <polacek@redhat.com>
39280
39281 [BZ #13726]
39282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39283 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39284 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39285 * stdio-common/tst-long-dbl-fphex.c: New file.
39286
e9258400
DM
392872012-03-06 David S. Miller <davem@davemloft.net>
39288
39289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39290 (set_obp_int): New function.
39291 (get_obp_int): New function.
39292 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39294 Avoid unused variable warnings on 'val' and use builtin_expect.
39295 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39296 __builtin_expect.
e9258400
DM
39297 (INLINE_CLONE_SYSCALL): Likewise.
39298
3bd2c723
DM
392992012-03-05 David S. Miller <davem@davemloft.net>
39300
39301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39302
bbb78d03
AS
393032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39304
884c5db4
AS
39305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39306
bbb78d03
AS
39307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39308 only for |x| >= 40.
39309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39310
1c9f702a 393112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39312
39313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39314 Replace gettimeofday with __vdso_gettimeofday.
39315
7be16f82
RM
39316 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39317 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39318 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39319
39320 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39321 time with __vdso_time.
39322
ed58a00f
JM
393232012-03-05 Joseph Myers <joseph@codesourcery.com>
39324
39325 * manual/lang.texi (size_t): Note types to which size_t may be
39326 equivalent with the GNU C Library, but do not describe when
39327 differences between them are significant.
39328
30ee4ced
AJ
393292012-03-05 Andreas Jaeger <aj@suse.de>
39330
39331 * sysdeps/i386/fpu/libm-test-ulps: Update.
39332
b7cd39e8
JM
393332012-03-05 Joseph Myers <joseph@codesourcery.com>
39334
39335 [BZ #3976]
39336 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39337 (__ieee754_pow): Save and restore rounding mode and use
39338 round-to-nearest for main computations.
39339 * math/libm-test.inc (pow_test_tonearest): New function.
39340 (pow_test_towardzero): Likewise.
39341 (pow_test_downward): Likewise.
39342 (pow_test_upward): Likewise.
39343 (main): Call the new functions.
39344 * sysdeps/i386/fpu/libm-test-ulps: Update.
39345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39346
39347 [BZ #3976]
39348 * math/libm-test.inc (cosh_test_tonearest): New function.
39349 (cosh_test_towardzero): Likewise.
39350 (cosh_test_downward): Likewise.
39351 (cosh_test_upward): Likewise.
39352 (sinh_test_tonearest): Likewise.
39353 (sinh_test_towardzero): Likewise.
39354 (sinh_test_downward): Likewise.
39355 (sinh_test_upward): Likewise.
39356 (main): Call the new functions.
39357 * sysdeps/i386/fpu/libm-test-ulps: Update.
39358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39359
6c6a98c9
TV
393602012-03-05 Tom de Vries <tom@codesourcery.com>
39361
39362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39363 default stack guard is set in last bytes.
39364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39365
21bb2d2e 393662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39367
21bb2d2e 39368 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39369
21bb2d2e
AJ
39370 [BZ #13656]
39371 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39372 possibly allocate from heap instead of stack.
39373 * stdio-common/bug-vfprintf-nargs.c: New file.
39374 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39375
c6922934
AS
393762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39377
39378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39379
bc957d53
MP
393802012-03-03 Marek Polacek <polacek@redhat.com>
39381
39382 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39383 * math/math_private.h: Likewise.
39384 * stdlib/tst-strtod.c: Likewise.
39385 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39386 * sysdeps/x86_64/bits/atomic.h: Likewise.
39387
6358490d
DM
393882012-03-02 David S. Miller <davem@davemloft.net>
39389
39390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39394 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39395 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39396 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39397 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39398
01ae168d
RM
393992012-03-02 Roland McGrath <roland@hack.frob.com>
39400
d9a17c07
RM
39401 [BZ #13792]
39402 * manual/examples/README: New file, says the example source files
39403 can be used under GPL>=2.
39404 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39405 line containing just "*/".
39406 * manual/examples/add.c: Add copyright header (GPL>=2).
39407 * manual/examples/argp-ex1.c: Likewise.
39408 * manual/examples/argp-ex2.c: Likewise.
39409 * manual/examples/argp-ex3.c: Likewise.
39410 * manual/examples/argp-ex4.c: Likewise.
39411 * manual/examples/atexit.c: Likewise.
39412 * manual/examples/db.c: Likewise.
39413 * manual/examples/dir.c: Likewise.
39414 * manual/examples/dir2.c: Likewise.
39415 * manual/examples/execinfo.c: Likewise.
39416 * manual/examples/filecli.c: Likewise.
39417 * manual/examples/filesrv.c: Likewise.
39418 * manual/examples/fmtmsgexpl.c: Likewise.
39419 * manual/examples/genpass.c: Likewise.
39420 * manual/examples/inetcli.c: Likewise.
39421 * manual/examples/inetsrv.c: Likewise.
39422 * manual/examples/isockad.c: Likewise.
39423 * manual/examples/longopt.c: Likewise.
39424 * manual/examples/memopen.c: Likewise.
39425 * manual/examples/memstrm.c: Likewise.
39426 * manual/examples/mkfsock.c: Likewise.
39427 * manual/examples/mkisock.c: Likewise.
39428 * manual/examples/mygetpass.c: Likewise.
39429 * manual/examples/pipe.c: Likewise.
39430 * manual/examples/popen.c: Likewise.
39431 * manual/examples/rprintf.c: Likewise.
39432 * manual/examples/search.c: Likewise.
39433 * manual/examples/select.c: Likewise.
39434 * manual/examples/setjmp.c: Likewise.
39435 * manual/examples/sigh1.c: Likewise.
39436 * manual/examples/sigusr.c: Likewise.
39437 * manual/examples/stpcpy.c: Likewise.
39438 * manual/examples/strdupa.c: Likewise.
39439 * manual/examples/strftim.c: Likewise.
39440 * manual/examples/strncat.c: Likewise.
39441 * manual/examples/subopt.c: Likewise.
39442 * manual/examples/swapcontext.c: Likewise.
39443 * manual/examples/termios.c: Likewise.
39444 * manual/examples/testopt.c: Likewise.
39445 * manual/examples/testpass.c: Likewise.
39446 * manual/examples/timeval_subtract.c: Likewise.
39447
01ae168d
RM
39448 [BZ #13792]
39449 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39450 function to ...
39451 * manual/timeval_subtract.c.texi: ... here, new file.
39452
49efa33d
DM
394532012-03-02 David S. Miller <davem@davemloft.net>
39454
39455 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39456
28afd92d
JM
394572012-03-02 Joseph Myers <joseph@codesourcery.com>
39458
804360ed
JM
39459 [BZ #3976]
39460 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39461 (__sin): Save and restore rounding mode and use round-to-nearest
39462 for all computations.
39463 (__cos): Save and restore rounding mode and use round-to-nearest
39464 for all computations.
39465 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39466 <fenv.h>.
39467 (tan): Save and restore rounding mode and use round-to-nearest for
39468 all computations.
39469 * math/libm-test.inc (cos_test_tonearest): New function.
39470 (cos_test_towardzero): Likewise.
39471 (cos_test_downward): Likewise.
39472 (cos_test_upward): Likewise.
39473 (sin_test_tonearest): Likewise.
39474 (sin_test_towardzero): Likewise.
39475 (sin_test_downward): Likewise.
39476 (sin_test_upward): Likewise.
39477 (tan_test_tonearest): Likewise.
39478 (tan_test_towardzero): Likewise.
39479 (tan_test_downward): Likewise.
39480 (tan_test_upward): Likewise.
39481 (main): Call the new functions.
39482 * sysdeps/i386/fpu/libm-test-ulps: Update.
39483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39484
a6d06d7b
JM
39485 [BZ #10135]
39486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39487 small n, then large n, before computing and testing k+n.
39488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39490 Likewise.
39491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39492 Likewise.
39493 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39494 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39501 * math/libm-test.inc (scalbn_test): Add more tests.
39502 (scalbln_test): Likewise.
39503
07e12bb3
JM
39504 * manual/filesys.texi (mode_t): Describe constraints on size and
39505 signedness, not exact equivalence to a particular type.
39506 (ino_t): Likewise.
39507 (ino64_t): Likewise.
39508 (dev_t): Likewise.
39509 (nlink_t): Likewise.
39510 (blkcnt_t): Likewise.
39511 (blkcnt64_t): Likewise.
39512 * manual/llio.texi (off_t): Likewise.
39513
28afd92d
JM
39514 [BZ #3976]
39515 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39516 (__ieee754_exp): Save and restore rounding mode and use
39517 round-to-nearest for all computations.
39518 * math/libm-test.inc (exp_test_tonearest): New function.
39519 (exp_test_towardzero): Likewise.
39520 (exp_test_downward): Likewise.
39521 (exp_test_upward): Likewise.
39522 (main): Call the new functions.
39523 * sysdeps/i386/fpu/libm-test-ulps: Update.
39524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39525
b1eeb65d
CD
395262012-03-01 Chris Demetriou <cgd@google.com>
39527
39528 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39529 have predictable order.
39530
53362a4b
DM
395312012-03-01 David S. Miller <davem@davemloft.net>
39532
3c969083
DM
39533 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39534
759707de
DM
39535 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39536 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39537 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39538 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39539
dfdb8ff2
DM
39540 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39541 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39542 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39544 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39545 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39546 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39547 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39548 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39549
ead89f96
DM
39550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39551
7f66bd07
DM
39552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39553 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39555
53362a4b
DM
39556 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39557 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39559 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39560 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39561 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39563 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39564 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39565 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39566 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39572 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39573 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39574 * sysdeps/sparc/elf/configure: Regenerated.
39575
7b1902cb
JM
395762012-03-01 Joseph Myers <joseph@codesourcery.com>
39577
bec039bc
JM
39578 * configure.in (AS, LD): Require binutils 2.20 or later.
39579 * configure: Regenerated.
39580 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39581 as required minimum version.
39582 * INSTALL: Regenerated.
39583
7b1902cb
JM
39584 [BZ #2541]
39585 [BZ #4108]
39586 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39587 before squaring exponent.
39588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39589 bottom long double and 27 bits of top long double before squaring
39590 exponent.
39591 * math/libm-test.inc (erfc_test): Add more tests.
39592 * sysdeps/i386/fpu/libm-test-ulps: Update.
39593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39595
f775c276
KT
395962012-03-01 Kai Tietz <ktietz@redhat.com>
39597
39598 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39599 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39600 containing bit-fields.
39601 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39602 * soft-fp/single.h (_FP_UNION_S): Likewise.
39603 * soft-fp/double.h (_FP_UNION_D): Likewise.
39604
5b8a4d4a
JM
396052012-02-29 Joseph Myers <joseph@codesourcery.com>
39606
0bab47b6
JM
39607 [BZ #13786]
39608 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39609 not include ../strcmp.S.
39610 [USE_AS_STRNCASECMP_L]: Likewise.
39611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39612 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39613 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39614 (__strncasecmp_l_ia32): Define as alias to
39615 __strncasecmp_l_nonascii.
39616
0fcad3e2
JM
39617 [BZ #5794]
39618 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39619 * sysdeps/i386/fpu/libm-test-ulps: Update.
39620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39621
5b8a4d4a
JM
39622 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39624
8fdceb2e
JL
396252012-02-29 Jeff Law <law@redhat.com>
39626
39627 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39628 out of bounds read.
39629
1f393a11
MP
396302012-02-29 Marek Polacek <polacek@redhat.com>
39631
39632 [BZ #13706]
39633 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39634 * elf/Makefile: Add rules to run tst-unused-dep.out.
39635
8847f037
DM
396362012-02-28 David S. Miller <davem@davemloft.net>
39637
39638 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39639 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39642 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39643 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39644
169d7f11
JM
396452012-02-29 Joseph Myers <joseph@codesourcery.com>
39646
39647 * math/libm-test.inc (llround_test): Move one test from
39648 lround_test. Use TEST_f_L in moved test.
39649 (lround_test): Move misplaced test to llround_test. Add testcase
39650 from bug 2561.
39651
39adf059
UD
396522012-02-28 Ulrich Drepper <drepper@gmail.com>
39653
39654 * sysdeps/x86_64/fpu/e_expf.S: New file.
39655 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39656
71b5d1c5
SB
396572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39658
39659 [BZ #13637]
39660 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39661 of remain_len that may cause incomplete multi-byte character and
39662 false match.
39663 * posix/bug-regex33.c: New file.
39664 * posix/Makefile (tests): Add bug-regex33.
39665
1f77f049
JM
396662012-02-28 Joseph Myers <joseph@codesourcery.com>
39667
39668 * manual/macros.texi: New file.
39669 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39670 * manual/libc.texinfo: Include macros.texi.
39671 * manual/creatute.texi: Likewise.
39672 * manual/install.texi: Likewise.
39673 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39674 @glibcadj{} in references to the GNU C Library.
39675 * manual/charset.texi: Likewise.
39676 * manual/conf.texi: Likewise.
39677 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39678 when not using those macros.
39679 * manual/creature.texi: Likewise.
39680 * manual/crypt.texi: Likewise.
39681 * manual/errno.texi: Likewise.
39682 * manual/filesys.texi: Likewise.
39683 * manual/header.texi: Likewise.
39684 * manual/install.texi: Likewise.
39685 * manual/intro.texi: Likewise.
39686 * manual/io.texi: Likewise.
39687 * manual/job.texi: Likewise.
39688 * manual/lang.texi: Likewise.
39689 * manual/libc.texiinfo: Likewise.
39690 * manual/llio.texi: Likewise.
39691 * manual/locale.texi: Likewise.
39692 * manual/maint.texi: Likewise.
39693 * manual/math.texi: Likewise.
39694 * manual/memory.texi: Likewise.
39695 * manual/message.texi: Likewise.
39696 * manual/nss.texi: Likewise.
39697 * manual/pattern.texi: Likewise.
39698 * manual/process.texi: Likewise.
39699 * manual/resource.texi: Likewise.
39700 * manual/search.texi: Likewise.
39701 * manual/setjmp.texi: Likewise.
39702 * manual/signal.texi: Likewise.
39703 * manual/socket.texi: Likewise.
39704 * manual/startup.texi: Likewise.
39705 * manual/stdio.texi: Likewise.
39706 * manual/string.texi: Likewise.
39707 * manual/sysinfo.texi: Likewise.
39708 * manual/syslog.texi: Likewise.
39709 * manual/terminal.texi: Likewise.
39710 * manual/time.texi: Likewise.
39711 * manual/users.texi: Likewise.
39712 * INSTALL: Regenerated.
39713 * NOTES: Regenerated.
d40c5d54 39714 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39715
450bf206
AS
397162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39717
39718 * include/dirent.h: Include <dirstream.h> before
39719 <dirent/dirent.h>.
39720
741a235b
DM
397212012-02-28 David S. Miller <davem@davemloft.net>
39722
39723 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39724 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39725 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39726 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39727
d6b5aa58
DM
397282012-02-27 David S. Miller <davem@davemloft.net>
39729
1aff59a3
DM
39730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39732 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39733 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39734
d6b5aa58
DM
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39736 frame pointer instead of stack pointer relative arg slot.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39740
433f48bf
CD
397412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39742
39743 [BZ #3992]
39744 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39745
d674b76d
DM
397462012-02-27 David S. Miller <davem@davemloft.net>
39747
39748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39752 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39753 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39754 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39755 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39756
0e7727f7
JM
397572012-02-27 Joseph Myers <joseph@codesourcery.com>
39758
39759 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39760 later. Allow versions 5-9.
43be4ca2 39761 * configure: Regenerated.
0e7727f7
JM
39762 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39763 required minimum version and 4.6 as recommended version. Do not
39764 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39765 * INSTALL: Regenerated.
0e7727f7 39766
a78bc654
DM
397672012-02-27 David S. Miller <davem@davemloft.net>
39768
428d5830
DM
39769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39777
a78bc654
DM
39778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39779 manipulate bits before adding and subtracting TWO112[sx].
39780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39781
4579f81c
RM
397822012-02-27 Roland McGrath <roland@hack.frob.com>
39783
36c8acb4
RM
39784 [BZ #13775]
39785 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39786 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39787 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39788 being in POSIX, because they are in 1003.1-2008.
39789
84ad622b
RM
39790 * rt/tst-aio.c: Include <fcntl.h>.
39791 * rt/tst-aio7.c: Likewise.
39792 * rt/tst-aio64.c: Likewise.
39793
4579f81c
RM
39794 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39795
abd923db
JM
397962012-02-27 Joseph Myers <joseph@codesourcery.com>
39797
39798 * manual/install.texi (--with-headers): Describe headers as
39799 interface headers, not private headers.
39800 (Specific advice for GNU/Linux systems): Describe use of headers
39801 from "make headers_install", not private headers from older
39802 kernels.
43be4ca2 39803 * INSTALL: Regenerated.
abd923db
JM
39804 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39805 Change to 2.6.19.
39806 * sysdeps/unix/sysv/linux/configure: Regenerated.
39807
6664049b
JM
39808 * manual/llio.texi (fclean): Remove documentation.
39809
bb8b6697
JM
39810 * manual/Makefile (libc-texi-generated): New variable. Include
39811 version.texi.
39812 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39813 $(libc-texi-generated), not duplicated list of files.
39814 (version.texi, stamp-version): New rules.
39815 (realclean): Remove $(libc-texi-generated), not individual files
39816 from that list. Do not remove dir-add.texinfo.
39817 * manual/libc.texinfo: Comment out uses of edition numbers and
39818 references to printed manual. Remove last-updated dates.
39819 (EDITION): Comment out.
39820 (ISBN): Likewise.
39821 (VERSION, UPDATED): Remove.
39822 (version.texi): Include.
39823
12e5c3b9
AS
398242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39825
39826 * sysdeps/posix/spawni.c: Include <signal.h>.
39827 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39828 * sysdeps/pthread/aio_fsync.c: Likewise.
39829
4efeffc1 398302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39831
ba63ba08
UD
39832 * conform/Makefile (tests): Run only when not cross-compiling and
39833 when fast-check is not defined.
39834
d94a4670
UD
39835 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39836 * conform/data/limits.h-data: Fixes for POSIX2008.
39837 * conform/run-conformtest.sh: Run all tests.
39838 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39839 headers.
39840 * include/bits/dlfcn.h: Likewise.
39841 * include/langinfo.h: Likewise.
39842 * include/monetary.h: Likewise.
39843 * include/sys/poll.h: Likewise.
39844
39845 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39846 for __USE_GNU.
39847 * posix/spawn.h: Define __need_sigset_t.
39848 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39849 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39850 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39851 to get sigevent_t only.
39852 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39853 only for __USE_GNU.
39854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39856 process_vm_writev only for __USE_GNU.
39857 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39858
39859 * conform/Makefile: For now ignore errors from run-conformtest.
39860 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39861 POSIX to avoid namespace pollution. Don't prepend headers.
39862 * conform/data/aio.h-data: Fixes for POSIX testing.
39863 * conform/data/fcntl.h-data: Likewise.
39864 * conform/data/glob.h-data: Likewise.
39865 * conform/data/grp.h-data: Likewise.
39866 * conform/data/pthread.h-data: Likewise.
39867 * conform/data/pwd.h-data: Likewise.
39868 * conform/data/signal.h-data: Likewise.
39869 * conform/data/spawn.h-data: Likewise.
39870 * conform/data/stdio.h-data: Likewise.
39871 * conform/data/stdlib.h-data: Likewise.
39872 * conform/data/stropts.h-data: Likewise.
39873 * conform/data/sys/mman.h-data: Likewise.
39874 * conform/data/sys/stat.h-data: Likewise.
39875 * conform/data/sys/types.h-data: Likewise.
39876 * conform/data/sys/wait.h-data: Likewise.
39877 * conform/data/time.h-data: Likewise.
39878 * conform/data/unistd.h-data: Likewise.
39879 * conform/data/utime.h-data: Likewise.
39880
39881 * io/sys/stat.h: fchmod was always in POSIX.
39882 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39883 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39884 * rt/aio.h: Define __need_timespec before including <time.h>.
39885 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39886 struct. Add forward declaration of pthread_attr_t and use it in
39887 sigevent.
39888 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39890 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39891 always remove CLK_TCK definition.
39892
c20105c3
AS
398932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39894
39895 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39896
7a270350
UD
398972012-02-25 Ulrich Drepper <drepper@gmail.com>
39898
31341567
UD
39899 * conform/run-conformtest.sh: New file.
39900 * conform/Makefile: Run run-conformtest for tests.
39901 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39902 support.
39903
39904 * conform/data/uchar.h-data: New file.
39905 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39906 * conform/data/arpa/inet.h-data: Likewise.
39907 * conform/data/assert.h-data: Likewise.
39908 * conform/data/complex.h-data: Likewise.
39909 * conform/data/cpio.h-data: Likewise.
39910 * conform/data/ctype.h-data: Likewise.
39911 * conform/data/dirent.h-data: Likewise.
39912 * conform/data/dlfcn.h-data: Likewise.
39913 * conform/data/errno.h-data: Likewise.
39914 * conform/data/fcntl.h-data: Likewise.
39915 * conform/data/float.h-data: Likewise.
39916 * conform/data/fmtmsg.h-data: Likewise.
39917 * conform/data/fnmatch.h-data: Likewise.
39918 * conform/data/ftw.h-data: Likewise.
39919 * conform/data/glob.h-data: Likewise.
39920 * conform/data/grp.h-data: Likewise.
39921 * conform/data/iconv.h-data: Likewise.
39922 * conform/data/inttypes.h-data: Likewise.
39923 * conform/data/langinfo.h-data: Likewise.
39924 * conform/data/libgen.h-data: Likewise.
39925 * conform/data/limits.h-data: Likewise.
39926 * conform/data/locale.h-data: Likewise.
39927 * conform/data/math.h-data: Likewise.
39928 * conform/data/monetary.h-data: Likewise.
39929 * conform/data/mqueue.h-data: Likewise.
39930 * conform/data/ndbm.h-data: Likewise.
39931 * conform/data/net/if.h-data: Likewise.
39932 * conform/data/netdb.h-data: Likewise.
39933 * conform/data/netinet/in.h-data: Likewise.
39934 * conform/data/nl_types.h-data: Likewise.
39935 * conform/data/poll.h-data: Likewise.
39936 * conform/data/pthread.h-data: Likewise.
39937 * conform/data/pwd.h-data: Likewise.
39938 * conform/data/regex.h-data: Likewise.
39939 * conform/data/sched.h-data: Likewise.
39940 * conform/data/search.h-data: Likewise.
39941 * conform/data/semaphore.h-data: Likewise.
39942 * conform/data/setjmp.h-data: Likewise.
39943 * conform/data/signal.h-data: Likewise.
39944 * conform/data/spawn.h-data: Likewise.
39945 * conform/data/stdarg.h-data: Likewise.
39946 * conform/data/stdio.h-data: Likewise.
39947 * conform/data/stdlib.h-data: Likewise.
39948 * conform/data/string.h-data: Likewise.
39949 * conform/data/strings.h-data: Likewise.
39950 * conform/data/stropts.h-data: Likewise.
39951 * conform/data/sys/ipc.h-data: Likewise.
39952 * conform/data/sys/mman.h-data: Likewise.
39953 * conform/data/sys/msg.h-data: Likewise.
39954 * conform/data/sys/resource.h-data: Likewise.
39955 * conform/data/sys/select.h-data: Likewise.
39956 * conform/data/sys/sem.h-data: Likewise.
39957 * conform/data/sys/shm.h-data: Likewise.
39958 * conform/data/sys/socket.h-data: Likewise.
39959 * conform/data/sys/stat.h-data: Likewise.
39960 * conform/data/sys/statvfs.h-data: Likewise.
39961 * conform/data/sys/time.h-data: Likewise.
39962 * conform/data/sys/timeb.h-data: Likewise.
39963 * conform/data/sys/times.h-data: Likewise.
39964 * conform/data/sys/types.h-data: Likewise.
39965 * conform/data/sys/uio.h-data: Likewise.
39966 * conform/data/sys/un.h-data: Likewise.
39967 * conform/data/sys/utsname.h-data: Likewise.
39968 * conform/data/sys/wait.h-data: Likewise.
39969 * conform/data/syslog.h-data: Likewise.
39970 * conform/data/tar.h-data: Likewise.
39971 * conform/data/termios.h-data: Likewise.
39972 * conform/data/utime.h-data: Likewise.
39973 * conform/data/utmpx.h-data: Likewise.
39974 * conform/data/varargs.h-data: Likewise.
39975 * conform/data/wchar.h-data: Likewise.
39976 * conform/data/wctype.h-data: Likewise.
39977 * conform/data/wordexp.h-data: Likewise.
39978
39979 * include/stropts.h: New file.
39980 * include/uchar.h: New file.
39981 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39982 * include/assert.h: Likewise.
39983 * include/ctype.h: Likewise.
39984 * include/dirent.h: Likewise.
39985 * include/dlfcn.h: Likewise.
39986 * include/fcntl.h: Likewise.
39987 * include/fnmatch.h: Likewise.
39988 * include/glob.h: Likewise.
39989 * include/grp.h: Likewise.
39990 * include/libio.h: Likewise.
39991 * include/locale.h: Likewise.
39992 * include/math.h: Likewise.
39993 * include/net/if.h: Likewise.
39994 * include/netdb.h: Likewise.
39995 * include/netinet/in.h: Likewise.
39996 * include/pthread.h: Likewise.
39997 * include/pwd.h: Likewise.
39998 * include/regex.h: Likewise.
39999 * include/sched.h: Likewise.
40000 * include/search.h: Likewise.
40001 * include/setjmp.h: Likewise.
40002 * include/signal.h: Likewise.
40003 * include/stdio.h: Likewise.
40004 * include/stdlib.h: Likewise.
40005 * include/string.h: Likewise.
40006 * include/sys/cdefs.h: Likewise.
40007 * include/sys/mman.h: Likewise.
40008 * include/sys/msg.h: Likewise.
40009 * include/sys/resource.h: Likewise.
40010 * include/sys/select.h: Likewise.
40011 * include/sys/socket.h: Likewise.
40012 * include/sys/stat.h: Likewise.
40013 * include/sys/statvfs.h: Likewise.
40014 * include/sys/time.h: Likewise.
40015 * include/sys/times.h: Likewise.
40016 * include/sys/uio.h: Likewise.
40017 * include/sys/utsname.h: Likewise.
40018 * include/sys/wait.h: Likewise.
40019 * include/termios.h: Likewise.
40020 * include/time.h: Likewise.
40021 * include/ulimit.h: Likewise.
40022 * include/unistd.h: Likewise.
40023 * include/utime.h: Likewise.
40024 * include/wchar.h: Likewise.
40025 * include/wctype.h: Likewise.
40026 * include/wordexp.h: Likewise.
40027
40028 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40029
7a270350
UD
40030 * time/time.h: TIME_UTC must be a macro.
40031 Make timespec_get available for ISO C11 only as well.
40032
7724defc
UD
400332012-02-24 Ulrich Drepper <drepper@gmail.com>
40034
40035 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40036 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40037
6b1d1d46
JM
400382012-02-24 Joseph Myers <joseph@codesourcery.com>
40039
40040 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40041
0f8bbd69
JM
400422012-02-24 Joseph Myers <joseph@codesourcery.com>
40043
40044 * manual/texinfo.tex: Update to version 2012-01-19.16.
40045
66ab80bc
JM
400462012-02-24 Joseph Myers <joseph@codesourcery.com>
40047
40048 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40049
74981cc5
RM
400502012-02-24 Roland McGrath <roland@hack.frob.com>
40051
ee968201
RM
40052 [BZ #13738]
40053 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40054 * manual/fdl-1.3.texi: New file.
40055 * manual/fdl-1.1.texi: File removed.
40056
74981cc5
RM
40057 [BZ #13738]
40058 * manual/libc.texinfo (FDL_VERSION): New @set.
40059 Use it for mention of FDL in cover text.
40060 (Documentation License): Use it in @include file name.
40061
7bb764bc
JM
400622012-02-22 Joseph Myers <joseph@codesourcery.com>
40063 Roland McGrath <roland@hack.frob.com>
40064
40065 [BZ #5461]
57f41c40
AS
40066 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40067 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40068 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40069 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40070 name.
40071 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40072
6cbeae47
JM
400732012-02-22 Joseph Myers <joseph@codesourcery.com>
40074
40075 [BZ #2547]
40076 [BZ #11365]
40077 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40078 manipulate bits before adding and subtracting TWO23[sx].
40079 * math/libm-test.inc (nearbyint_test): Add more tests.
40080
fe45ce09
JM
400812012-02-22 Joseph Myers <joseph@codesourcery.com>
40082
40083 [BZ #2548]
40084 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40085 bits before adding and subtracting TWO23[sx].
40086 * math/libm-test.inc (rint_test): Add more tests.
40087 (rint_test_tonearest): Likewise.
40088 (rint_test_towardzero): Likewise.
40089 (rint_test_downward): Likewise.
40090 (rint_test_upward: Likewise.
40091
ff3b3d82
JM
400922012-02-22 Joseph Myers <joseph@codesourcery.com>
40093
40094 [BZ #10110]
40095 * include/stdc-predef.h: New file. Extracted from features.h.
40096 * include/features.h: Include stdc-predef.h.
40097 * Makefile (headers): Add stdc-predef.h.
40098 * CONFORMANCE (Compiler limitations): Update.
40099
ef0aab35
JM
401002012-02-22 Joseph Myers <joseph@codesourcery.com>
40101
40102 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40103
58639409
DM
401042012-02-21 David S. Miller <davem@davemloft.net>
40105
40106 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40107 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40108
c0e70b25
DM
401092012-02-20 David S. Miller <davem@davemloft.net>
40110
40111 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40112 using a normal save/restore sequence, rather than allocating a
40113 dummy stack frame just to store a frame pointer and restore.
40114 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40115
fb06851d
JM
401162012-02-21 Joseph Myers <joseph@codesourcery.com>
40117
40118 * manual/install.texi: Fix stray word in line-wrapped comment.
40119
7a8b71c3
DM
401202012-02-20 David S. Miller <davem@davemloft.net>
40121
d510c123
DM
40122 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40123 both binutils and gcc support GOTDATA.
40124
0722d7c2
DM
40125 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40126 "rd %pc" in the PIC register setup sequences.
40127
3d2b3019
DM
40128 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40129 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40130 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40131 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40137 (SYSCALL_ERROR_HANDLER): Likewise.
40138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40141 (SYSCALL_ERROR_HANDLER): Likewise.
40142
c80098a9
DM
40143 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40144 (HAVE_GCC_GOTDATA): New.
40145 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40146 relocation support in both binutils and gcc.
40147 * sysdeps/sparc/elf/configure: Regenerate.
40148
3a2545a0
DM
40149 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40150 * sysdeps/sparc/sparc32/elf/configure: Delete.
40151 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40152 * sysdeps/sparc/sparc64/elf/configure: Delete.
40153 * sysdeps/sparc/elf/configure.in: New file.
40154 * sysdeps/sparc/elf/configure: Generate.
40155
7a8b71c3
DM
40156 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40157 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40159 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40160 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40161
f1e86fca
JM
401622012-02-21 Joseph Myers <joseph@codesourcery.com>
40163
40164 * manual/install.texi: Do not mention specific glibc version
40165 numbers.
40166 * manual/libc.texinfo (VERSION, UPDATED): Update.
40167 (@copying): Use @copyright{} and range of years.
40168
0e7dfaef
JM
401692012-02-21 Joseph Myers <joseph@codesourcery.com>
40170
40171 [BZ #13695]
40172 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40173 [crti.S not in sysdirs] (generated): Do not append.
40174 [crti.S not in sysdirs] (omit-deps): Likewise.
40175 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40176 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40177 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40178 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40179 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40180 Likewise.
40181 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40182 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40183 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40184 * csu/defs.awk: Remove file.
40185 * sysdeps/generic/initfini.c: Likewise.
40186 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40187 variable.
40188 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40189 Likewise.
40190
599af3ca
JM
401912012-02-20 Joseph Myers <joseph@codesourcery.com>
40192
40193 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40194 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40195 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40198 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40199 <bits/epoll.h>.
40200 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40201 (__EPOLL_PACKED): Define to empty if not defined by
40202 <bits/epoll.h>.
40203 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40205 bits/epoll.h.
40206
0e499750
JM
402072012-02-20 Joseph Myers <joseph@codesourcery.com>
40208
40209 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40210 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40211 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40213 <bits/timerfd.h>.
40214 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40216 bits/timerfd.h.
40217
5ad91f6e
JM
402182012-02-20 Joseph Myers <joseph@codesourcery.com>
40219
40220 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40221 in C locale.
40222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40226
06b99b02
AJ
402272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40228
40229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40231
7638c0fd
AS
402322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40233
40234 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40235 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40236 defined.
40237 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40238 Likewise.
40239 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40240 entry for 2.16.
40241
92221550
AJ
402422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40243
40244 * math/w_acos.c: Use non-signaling floating-point comparisons.
40245 * math/w_acosf.c: Likewise.
40246 * math/w_acosh.c: Likewise.
40247 * math/w_acoshf.c: Likewise.
40248 * math/w_acoshl.c: Likewise.
40249 * math/w_acosl.c: Likewise.
40250 * math/w_asin.c: Likewise.
40251 * math/w_asinf.c: Likewise.
40252 * math/w_asinl.c: Likewise.
40253 * math/w_atanh.c: Likewise.
40254 * math/w_atanhf.c: Likewise.
40255 * math/w_atanhl.c: Likewise.
40256 * math/w_exp2.c: Likewise.
40257 * math/w_exp2f.c: Likewise.
40258 * math/w_exp2l.c: Likewise.
40259 * math/w_j0.c: Likewise.
40260 * math/w_j0f.c: Likewise.
40261 * math/w_j0l.c: Likewise.
40262 * math/w_j1.c: Likewise.
40263 * math/w_j1f.c: Likewise.
40264 * math/w_j1l.c: Likewise.
40265 * math/w_jn.c: Likewise.
40266 * math/w_jnf.c: Likewise.
40267 * math/w_log.c: Likewise.
40268 * math/w_log10.c: Likewise.
40269 * math/w_log10f.c: Likewise.
40270 * math/w_log10l.c: Likewise.
40271 * math/w_log2.c: Likewise.
40272 * math/w_log2f.c: Likewise.
40273 * math/w_log2l.c: Likewise.
40274 * math/w_logf.c: Likewise.
40275 * math/w_logl.c: Likewise.
40276 * math/w_sqrt.c: Likewise.
40277 * math/w_sqrtf.c: Likewise.
40278 * math/w_sqrtl.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40282 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40284
ebaf36eb
JM
402852012-02-19 Joseph Myers <joseph@codesourcery.com>
40286
40287 [BZ #9739]
40288 * manual/string.texi (strnlen): Use correct parameter name in
40289 equivalent expression.
40290
71c254a6
JM
402912012-02-19 Joseph Myers <joseph@codesourcery.com>
40292
40293 [BZ #11174]
40294 * manual/users.texi (seteuid): Consistently use neweuid for
40295 argument name.
40296
16d2c631
JM
402972012-02-19 Joseph Myers <joseph@codesourcery.com>
40298
40299 [BZ #13704]
40300 * manual/nss.texi (Services in the NSS configuration): Correct
40301 list of services in example configuration file.
40302
cd837b09
NB
403032012-02-19 Nick Bowler <nbowler@draconx.ca>
40304
40305 [BZ #11322]
40306 * manual/arith.texi: Remove statements about negative zero
40307 behaving identically to zero.
40308
02c4bbad
JM
403092012-02-18 Joseph Myers <joseph@codesourcery.com>
40310
40311 [BZ #5993]
40312 * manual/install.texi: Do not document upgrading from libc5.
40313
366842e7
JM
403142012-02-18 Joseph Myers <joseph@codesourcery.com>
40315
40316 [BZ #4596]
40317 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40318
dd54084d
DM
403192012-02-18 David S. Miller <davem@davemloft.net>
40320
40321 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40322 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40323 %o7 across the call.
40324 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40325 instead.
40326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40327 SETUP_PIC_REG_LEAF.
40328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40329 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40330 * sysdeps/sparc/crtn.S: Likewise.
40331
2bcc53a3
UD
403322012-02-17 Ulrich Drepper <drepper@gmail.com>
40333
40334 * aout/Makefile: Remove.
40335
09c093b5
RK
403362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40337
40338 [BZ #13058]
40339 * manual/examples/argp-ex1.c (main): Format definition in GNU
40340 style.
40341 * manual/examples/argp-ex2.c (main): Likewise.
40342 * manual/examples/argp-ex3.c (main): Likewise.
40343 * manual/examples/argp-ex4.c (main): Likewise.
40344 * manual/examples/longopt.c (main): Use new-style prototype
40345 definition.
40346 * manual/examples/strncat.c (main): Specify return type and use
40347 (void) for arguments.
40348 * manual/examples/subopt.c (main): Use char **argv argument.
40349
2ee633a2
JM
403502012-02-17 Joseph Myers <joseph@codesourcery.com>
40351
40352 [BZ #5077]
40353 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40354 rounding modes.
40355
0520adde
FB
403562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40357
40358 [BZ #6907]
40359 * manual/string.texi (strchr): Change when strchrnul is
40360 recommended.
40361
3f4081cd
DGM
403622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40363
40364 [BZ #174]
40365 * manual/locale.texi (setlocale): Document LOCPATH.
40366
d1b10e78
JM
403672012-02-17 Joseph Myers <joseph@codesourcery.com>
40368
40369 [BZ #10210]
40370 * manual/process.texi (execle): Move @dots{} before last argument.
40371
79c6869c
PB
403722012-02-17 Paul Bolle <pebolle@tiscali.nl>
40373
40374 [BZ #12047]
40375 * manual/charset.texi (Generic Charset Conversion): Fix typo
40376 (LC_TYPE -> LC_CTYPE).
40377
cc6e48bc
NB
403782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40379
40380 [BZ #5805]
40381 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40382 (scalbnf): Likewise.
40383 (scalbnl): Likewise.
40384 (scalbln): Likewise.
40385 (scalblnf): Likewise.
40386 (scalblnl): Likewise.
40387 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40388 (vwarnx): Likewise.
40389 (verr): Likewise.
40390 (verrx): Likewise.
40391 * manual/filesys.texi (telldir): Use braces around return type.
40392 * manual/llio.texi (mmap): Add space after comma.
40393 (mmap64): Likewise.
40394 * manual/math.texi (jn): Use @var{} on parameter names.
40395 (jnf): Likewise.
40396 (jnl): Likewise.
40397 (yn): Likewise.
40398 (ynf): Likewise.
40399 (ynl): Likewise.
40400 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40401 line.
40402 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40403 "...".
40404 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40405 (sched_get_priority_max): Likewise.
40406 * manual/signal.texi (sigvec): Add space after comma.
40407 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40408 names.
40409 (if_indextoname): Likewise.
40410 (if_freenameindex): Likewise.
40411 (sendto): Use ',' instead of '.' in prototype.
40412 * manual/startup.texi (syscall): Use @dots{} instead of literal
40413 "...".
40414 * manual/stdio.texi (__fpending): Separate initial words of
40415 paragraph from @deftypefun line.
40416 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40417 "...".
40418 (vsyslog): Use @var{} on parameter names.
40419 * manual/terminal.texi (stty): Use @var{} on parameter names.
40420 * manual/users.texi (getutmp): Use @var{} on parameter names.
40421 (getutmpx): Likewise.
40422
5b23062f
JM
404232012-02-17 Joseph Myers <joseph@codesourcery.com>
40424
40425 [BZ #6884]
40426 * manual/stdio.texi (fopen): Fix typos in description of
40427 ",ccs=STRING".
40428
8dee4833
AJ
404292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40430
40431 [BZ #4026]
40432 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40433 get clock_id definition.
40434
9078ce93
TS
404352012-02-17 Thomas Schwinge <thomas@schwinge.name>
40436
40437 [BZ #4822]
40438 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40439 (madvise): Cast every argument to void on its own.
40440
3835c55f
JM
404412012-02-17 Joseph Myers <joseph@codesourcery.com>
40442
40443 [BZ #9902]
40444 * manual/startup.texi (Exit Status): Fix typo.
40445
35c47e37
JM
404462012-02-17 Joseph Myers <joseph@codesourcery.com>
40447
40448 [BZ #10140]
40449 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40450 * manual/examples/argp-ex2.c: Likewise.
40451 * manual/examples/argp-ex3.c: Likewise.
40452
e3b69ca7
RH
404532012-02-16 Richard Henderson <rth@redhat.com>
40454
40455 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40456 * sysdeps/s390/s390-32/initfini.c: Remove.
40457 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40458 * sysdeps/s390/s390-64/initfini.c: Remove.
40459
df83af67
KK
404602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40461
40462 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40463 compiler output for sysdeps/generic/initfini.c.
40464 * sysdeps/sh/elf/initfini.c: Remove file.
40465
f63f3380
DM
404662012-02-16 David S. Miller <davem@davemloft.net>
40467
fb59b3a4
DM
40468 [BZ #11494]
40469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40470
f63f3380
DM
40471 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40472 * sysdeps/sparc/crti.S: New file.
40473 * sysdeps/sparc/crtn.S: New file.
40474 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40475 * sysdeps/sparc/sparc64/Makefile: Likewise.
40476
df6a4a4a
MF
404772012-02-15 Mike Frysinger <vapier@gentoo.org>
40478
6dd8f3dc 40479 [BZ #3335]
df6a4a4a
MF
40480 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40481
1cac7236
RM
404822012-02-15 Roland McGrath <roland@hack.frob.com>
40483
d2c736f8
RM
40484 [BZ #4822]
40485 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40486
1cac7236
RM
40487 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40488 (write, read, close): Likewise.
40489 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40490
8e475601
JM
404912012-02-15 Joseph Myers <joseph@codesourcery.com>
40492
40493 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40494 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40495 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40496 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40497 <bits/signalfd.h>.
40498 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40500 bits/signalfd.h.
40501
ed656b40
MP
405022012-02-14 Marek Polacek <polacek@redhat.com>
40503
40504 * sysdeps/x86_64/crti.S: New file.
40505 * sysdeps/x86_64/crtn.S: New file.
40506 * sysdeps/x86_64/elf/initfini.c: Remove file.
40507
2a979d3a
JM
405082012-02-13 Joseph Myers <joseph@codesourcery.com>
40509
40510 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40511 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40512 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40513 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40514 <bits/inotify.h>.
40515 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40517 bits/inotify.h.
40518
2a418ac3
JM
405192012-02-13 Joseph Myers <joseph@codesourcery.com>
40520
40521 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40522 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40523 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40524 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40525 <bits/eventfd.h>.
40526 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40528 bits/eventfd.h.
40529
fb779be7
TS
405302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40531
e19e83c5
RM
40532 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40533 __feraiseexcept instead of feraiseexcept.
7c35ffed 40534
fb779be7
TS
40535 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40536 nanosleep invocations.
40537 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40538 strings, and add error checking for a nanosleep invocations.
40539
59ba27a6
PE
405402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40541
40542 Replace FSF snail mail address with URLs, as per GNU coding standards.
40543 Most of the snail mail addresses were wrong anyway, and omitting
40544 them makes the source code easier to maintain. Almost all of the
40545 changes are to license notices and to locale LC_IDENTIFICATION
40546 addresses, except for this one:
40547 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40548 not its snail mail address.
40549
57b957eb
RH
405502012-02-09 Richard Henderson <rth@twiddle.net>
40551
af850b1c
RH
40552 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40553 of kernel-features.h.
40554
57b957eb
RH
40555 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40556
6b73181a
MP
405572012-02-08 Marek Polacek <polacek@redhat.com>
40558
40559 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40560 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40561 * sysdeps/gnu/_G_config.h: Likewise.
40562 * sysdeps/generic/_G_config.h: Likewise.
40563
26ecc33a
AS
405642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40565
6c6dbc63
AS
40566 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40567 tests.
40568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40569
e216c012
AS
40570 * sysdeps/powerpc/powerpc32/crti.S: New file.
40571 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40572 * sysdeps/powerpc/powerpc64/crti.S: New file.
40573 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40574
26ecc33a
AS
40575 * Makeconfig (have-initfini): Don't set.
40576 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40577 * configure.in (nopic_initfini): Don't substitute.
40578 * config.h.in (HAVE_INITFINI): Don't #undef.
40579 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40580 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40581
3add8e13
JM
405822012-02-08 Joseph Myers <joseph@codesourcery.com>
40583
40584 Support crti.S and crtn.S provided directly by architectures.
40585 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40586 [crti.S in sysdirs] (omit-deps): Likewise.
40587 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40588 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40589 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40590 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40591 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40592 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40593 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40594 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40595 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40596 compiler output for sysdeps/generic/initfini.c.
40597 * sysdeps/i386/elf/Makefile: Remove file.
40598 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40599
a22f12b4
MP
406002012-02-07 Marek Polacek <polacek@redhat.com>
40601
40602 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40603 * sysdeps/gnu/_G_config.h: Likewise.
40604 * sysdeps/mach/hurd/_G_config.h: Likewise.
40605
148cf100
MP
406062012-02-07 Marek Polacek <polacek@redhat.com>
40607
40608 * math/Makefile (tests): Add tst-CMPLX2.
40609 * math/tst-CMPLX2.c: New file.
40610
cfdc0dd7
AS
406112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40612
84ba42c4
AS
40613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40614
cfdc0dd7
AS
40615 * math/libm-test.inc (jn_test): Add missing L suffix.
40616
622c86f4
MP
406172012-02-06 Marek Polacek <polacek@redhat.com>
40618
40619 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40620 * sysdeps/i386/fpu/e_powf.S: Likewise.
40621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40622 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40623 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40624 * sysdeps/i386/fpu/e_pow.S: Likewise.
40625 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40627 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40628 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40629 * sysdeps/i386/fpu/e_log2.S: Likewise.
40630 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40632 * sysdeps/i386/fpu/e_powl.S: Likewise.
40633 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40636 * sysdeps/i386/fpu/e_logl.S: Likewise.
40637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40638 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40639 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40640 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40643 * sysdeps/i386/fpu/e_log.S: Likewise.
40644 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40645 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40646 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40647 * sysdeps/i386/fpu/e_logf.S: Likewise.
40648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40650 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40653 * sysdeps/i386/fpu/e_log10.S: Likewise.
40654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40660 * sysdeps/i386/asm-syntax.h: Likewise.
40661 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40664 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40665 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40667 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40668 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40670 * sysdeps/powerpc/sysdep.h: Likewise.
40671 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40673
d4a54ac6
JM
406742012-02-06 Joseph Myers <joseph@codesourcery.com>
40675
40676 [BZ #411]
40677 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40678
314054ea
JM
406792012-02-06 Joseph Myers <joseph@codesourcery.com>
40680
40681 * sysdeps/i386/sysdep.h: Include <features.h>.
40682 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40683 version.
40684
d8e0ca50
JM
406852012-02-05 Joseph Myers <joseph@codesourcery.com>
40686
40687 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40688 Define.
40689 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40690 LOAD_PIC_REG_STR.
40691
b1da7dd9
JM
406922012-02-03 Joseph Myers <joseph@codesourcery.com>
40693
40694 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40695 (SETUP_PIC_REG): Use GET_PC_THUNK.
40696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40697 macro.
40698
9a1d9254
JM
406992012-02-03 Joseph Myers <joseph@codesourcery.com>
40700
40701 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40702 for non-PIC compilation.
40703 (SETUP_PIC_REG): Add .p2align directive.
40704 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40705 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40706 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40707 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40709 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40712 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40713 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40714 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40715 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40716 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40717 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40718 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40719 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40720 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40721 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40722 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40723 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40726 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40727 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40732 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40733 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40734 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40736 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40737 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40738 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40739 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40740 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40741 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40742 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40743 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40744 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40745
65dc3b75
JM
407462012-02-03 Joseph Myers <joseph@codesourcery.com>
40747
40748 * math/tst-CMPLX.c: Include <stdio.h>.
40749
d55bf177
JM
407502012-01-31 Joseph Myers <joseph@codesourcery.com>
40751
40752 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40753 float.
40754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40755 * sysdeps/sparc/bits/mathdef.h: Likewise.
40756
69db4f8f
MP
407572012-01-31 Marek Polacek <polacek@redhat.com>
40758
40759 * libio/libio.h: Don't define _PARAMS.
40760 * locale/programs/config.h: Don't define PARAMS.
40761 * stdlib/strtol_l.c: Likewise.
40762 (__strtol_l): Remove PARAMS from the prototype.
40763
41b81892
UD
407642012-01-31 Ulrich Drepper <drepper@gmail.com>
40765
3b49edc0
UD
40766 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40767 names. Just use the correct names. Remove unnecessary wrapper
40768 functions.
40769 * malloc/arena.c: Likewise.
40770 * malloc/hooks.c: Likewise.
40771
41b81892
UD
40772 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40773 ARENA_TEST says not to. Simplify test for creation of a new arena.
40774 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40775
27a25b6e
UD
407762012-01-30 Ulrich Drepper <drepper@gmail.com>
40777
40778 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40779 into tail calls.
40780 (update_get_addr): New function.
40781 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40782 GET_ADDR_MODULE parameter.
40783
c8a89e7d
JM
407842012-01-30 Joseph Myers <joseph@codesourcery.com>
40785
40786 * crypt/cert.c: Remove __STDC__ conditionals.
40787 * crypt/crypt-entry.c: Likewise.
40788 * crypt/crypt_util.c: Likewise.
40789 * libio/filedoalloc.c: Likewise.
40790 * libio/fileops.c: Likewise.
40791 * libio/genops.c: Likewise.
40792 * libio/iofclose.c: Likewise.
40793 * libio/iofdopen.c: Likewise.
40794 * libio/iofopen.c: Likewise.
40795 * libio/iofopen64.c: Likewise.
40796 * libio/iogetdelim.c: Likewise.
40797 * libio/iopopen.c: Likewise.
40798 * libio/obprintf.c: Likewise.
40799 * libio/oldfileops.c: Likewise.
40800 * libio/oldiofclose.c: Likewise.
40801 * libio/oldiofdopen.c: Likewise.
40802 * libio/oldiofopen.c: Likewise.
40803 * libio/oldiopopen.c: Likewise.
40804 * libio/wfiledoalloc.c: Likewise.
40805 * libio/wgenops.c: Likewise.
40806 * locale/programs/xmalloc.c: Likewise.
40807 * misc/syslog.c: Likewise.
40808 * stdio-common/xbug.c: Likewise.
40809 * string/memchr.c: Likewise.
40810 * string/memcmp.c: Likewise.
40811 * string/memrchr.c: Likewise.
40812 * string/rawmemchr.c: Likewise.
40813 * sysdeps/posix/getcwd.c: Likewise.
40814 * time/strftime_l.c: Likewise.
40815
3b100462
JM
408162012-01-30 Joseph Myers <joseph@codesourcery.com>
40817
40818 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40819 * config.make.in (config-cflags-sse2avx): Define.
40820 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40821 Fix typo.
40822
607998af
CM
408232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40824
40825 * scripts/config.guess: Update from upstream config git repository.
40826 * scripts/config.sub: Likewise.
40827
3601428f
CM
408282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40829
3ac8b282
CM
40830 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40831 (EM_NUM): Update.
40832 (R_TILEPRO_*, R_TILEGX_*): New macros.
40833
e034841e
CM
40834 * scripts/firstversions.awk: Fix bug in version range handling.
40835
540d7568
CM
40836 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40837
3601428f
CM
40838 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40839
463de862
CM
40840 * include/sys/epoll.h: New file.
40841 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40842 libc_hidden_def.
40843
73139a76
UD
408442012-01-28 Ulrich Drepper <drepper@gmail.com>
40845
96bc5b45
UD
40846 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40847 Avoid unnecessary __WORDSIZE == 64 test.
40848 (fmaxf): Use VEX format if possible.
40849 (fmax): Likewise.
40850 (fminf): Likewise.
40851 (fmin): Likewise.
40852
56f6f6a2
UD
40853 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40854 * math/math_private.h: Remove libc_fegetround* and
40855 libc_fesetround*.
40856 * sysdeps/i386/configure.in: Check for -msse2avx.
40857 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40858 also if SSE2AVX is defined.
40859 Remove libc_fegetround* and libc_fesetround*.
40860 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40861 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40863 of HAS_YMM_USABLE.
40864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40869
73139a76
UD
40870 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40871
d73f93a4
AZ
408722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40873
40874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40875 size is not set.
40876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40877
6ee65ed6
UD
408782012-01-27 Ulrich Drepper <drepper@gmail.com>
40879
40880 [BZ #13618]
40881 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40882 relocation.
40883 * Makeconfig (libm): Define.
40884 * elf/Makefile: Add rules to build and run tst-relsort1.
40885 * elf/tst-relsort1.c: New file.
40886 * elf/tst-relsort1mod1.c: New file.
40887 * elf/tst-relsort1mod2.c: New file.
40888
8db21882
JM
408892012-01-27 Joseph Myers <joseph@codesourcery.com>
40890
40891 * math/s_ldexp.c: Remove __STDC__ conditionals.
40892 * math/s_ldexpf.c: Likewise.
40893 * math/s_ldexpl.c: Likewise.
40894 * math/s_nextafter.c: Likewise.
40895 * math/s_nexttowardf.c: Likewise.
40896 * math/s_significand.c: Likewise.
40897 * math/s_significandf.c: Likewise.
40898 * math/s_significandl.c: Likewise.
40899 * math/w_jnl.c: Likewise.
40900 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40901 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40902 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40903 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40904 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40914 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40921 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40922 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40923 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40924 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40925 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40926 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40927 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40928 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40931 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40932 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40937 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40938 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40939 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40940 * sysdeps/ieee754/k_standard.c: Likewise.
40941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40946 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40948 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41020 * sysdeps/ieee754/s_matherr.c: Likewise.
41021 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41022 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41025
965a54a4
JM
410262012-01-26 Joseph Myers <joseph@codesourcery.com>
41027
41028 * crypt/md5.h: Remove __STDC__ conditionals.
41029 * libio/libioP.h: Likewise.
41030 * locale/programs/config.h: Likewise.
41031 * sysdeps/generic/sysdep.h: Likewise.
41032 * sysdeps/i386/asm-syntax.h: Likewise.
41033 * sysdeps/s390/asm-syntax.h: Likewise.
41034 * sysdeps/unix/sysdep.h: Likewise.
41035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41037
7071ad79
JM
410382012-01-26 Joseph Myers <joseph@codesourcery.com>
41039
41040 * libio/libio.h: Remove __STDC__ conditionals.
41041 * malloc/obstack.h: Likewise.
41042 * math/complex.h: Likewise.
41043 * math/math.h: Likewise.
41044 * sysdeps/generic/_G_config.h: Likewise.
41045 * sysdeps/gnu/_G_config.h: Likewise.
41046 * sysdeps/mach/hurd/_G_config.h: Likewise.
41047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41049 * sysdeps/sparc/bits/mathdef.h: Likewise.
41050
afc5ed09
UD
410512012-01-26 Ulrich Drepper <drepper@gmail.com>
41052
41053 [BZ #13583]
41054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41055 Clean up HAS_* macros.
afc5ed09 41056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41057 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41058 possible.
41059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41060 HAS_AVX.
41061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41066
bdb6de1d
JM
410672012-01-25 Joseph Myers <joseph@codesourcery.com>
41068
41069 * elf/tst-unique3.cc (gets): Remove declaration.
41070 * elf/tst-unique3lib.cc (gets): Likewise.
41071 * elf/tst-unique3lib2.cc (gets): Likewise.
41072 * elf/tst-unique4.cc (gets): Likewise.
41073
b15549e6
UD
410742012-01-24 Ulrich Drepper <drepper@gmail.com>
41075
41076 * include/stdio.h: Add C++ protection. Add gets declarations and
41077 definitions.
41078 * debug/tst-chk1.c: Don't declare gets here.
41079 * stdio-common/tst-gets.c: Likewise.
41080
a037381f
JM
410812012-01-24 Joseph Myers <joseph@codesourcery.com>
41082
41083 * posix/glob: Remove directory.
41084
f1d4aa75
JM
410852012-01-24 Joseph Myers <joseph@codesourcery.com>
41086
41087 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41088
81c0c964
PT
410892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41090
41091 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41092 of the non-standard EPFNOSUPPORT.
41093
0ea698ae
ST
410942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41095
41096 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41097 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41098 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41099
d220b117
UD
411002012-01-21 Ulrich Drepper <drepper@gmail.com>
41101
41102 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41103
3e1aa84e
UD
411042012-01-20 Ulrich Drepper <drepper@gmail.com>
41105
41106 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41107 transient errors.
41108 * nscd/grpcache.c (cache_addgr): Likewise.
41109 * nscd/hstcache.c (cache_addhst): Likewise.
41110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41111 * nscd/pwdcache.c (cache_addpw): Likewise.
41112 * nscd/servicescache.c (cache_addserv): Likewise.
41113
400aa020
UD
411142012-01-16 Ulrich Drepper <drepper@gmail.com>
41115
d77e7869
UD
41116 * malloc/malloc.c: Various cleanups.
41117 * malloc/hooks.c: Likewise.
41118
400aa020
UD
41119 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41120 * stdlib/bug-fmtmsg1.c: New file.
41121
41122 * stdlib/fmtmsg.c (init): Add missing unlock.
41123 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41124
e0a309cf
MP
411252012-01-12 Marek Polacek <polacek@redhat.com>
41126
41127 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41128 and _GNU_SOURCE.
41129
929d11c7
WS
411302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41131
41132 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41134 macro to ensure uniqueness of label name.
41135 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41136 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41137
41d0e869
UD
411382012-01-11 Ulrich Drepper <drepper@gmail.com>
41139
0cc5ed3b
UD
41140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41141
41d0e869
UD
41142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41146
a47a831a
UD
411472012-01-10 Ulrich Drepper <drepper@gmail.com>
41148
daa891c0
UD
41149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41150
41151 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41154
e58ef0f2
UD
41155 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41156
a47a831a 41157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41161
41162 * math/bits/math-finite.h: Add ldexp support.
41163
a0bfc9c7
MP
411642012-01-10 Marek Polacek <polacek@redhat.com>
41165
41166 * locale/programs/localedef.h (show_archive_content): Add noreturn
41167 attribute.
41168
d6e97a1d
UD
411692012-01-09 Ulrich Drepper <drepper@gmail.com>
41170
41171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41172
d5835c26
UD
411732012-01-08 Ulrich Drepper <drepper@gmail.com>
41174
e5f484c6
UD
41175 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41176
d5835c26
UD
41177 * io/Makefile (headers): Add bits/poll2.h.
41178
d1f741e9
WS
411792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41180
41181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41182 typo #include statement.
41183
ec09c1c4
UD
411842012-01-08 Ulrich Drepper <drepper@gmail.com>
41185
41186 * include/sys/cdefs.h: Define __attribute_alloc_size.
41187 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41188 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41189 * elf/pldd.c: Likewise.
41190 * iconv/iconv_charmap.c: Likewise.
41191 * iconv/iconvconfig.c: Likewise.
41192 * iconv/strtab.c: Likewise.
41193 * locale/programs/locale.c: Likewise.
41194 * locale/programs/localedef.h: Likewise.
41195 * locale/programs/simple-hash.c: Likewise.
41196 * nscd/nscd.h: Likewise.
41197 * nss/makedb.c: Likewise.
41198 * sysdeps/generic/ldconfig.h: Likewise.
41199 * locale/programs/localedef.c: Remove xmalloc prototype.
41200 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41201
20b38e03
PP
412022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41203
41204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41205 appropriate.
41206
a0da5fe1
UD
412072012-01-08 Ulrich Drepper <drepper@gmail.com>
41208
1d5a644a 41209 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41210 * math/tst-CMPLX.c: New file.
1d5a644a 41211
8784a6db
UD
41212 * math/complex.h (CMPLXL): Fix typo.
41213
d9a216c0
UD
41214 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41215 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41216 GLIBC_2.16.
41217 * debug/tst-chk1.c: Add poll and ppoll tests.
41218 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41219 * include/sys/poll.h: Add hidden proto for ppoll.
41220 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41221 * sysdeps/mach/hurd/ppoll.c: Likewise.
41222 * io/ppoll.c: Likewise.
41223 * debug/poll_chk.c: New file.
41224 * debug/ppoll_chk.c: New file.
41225 * include/bits/poll2.h: New file.
41226 * io/bits/poll2.h: New file.
41227
ac097f5c
UD
41228 [BZ #1350]
41229 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41230
2119dcfa
UD
41231 * configure.in: static is always set to yes. Remove.
41232 * config.make.in: Don't set build-static.
41233 * Makeconfig: Remove use of build-static.
41234 * dlfcn/Makefile: Likewise.
41235 * elf/Makefile: Likewise.
41236 * math/Makefile: Likewise.
41237 * misc/Makefile: Likewise.
41238 * nptl/Makefile: Likewise.
41239 * sysdeps/mach/hurd/Makefile: Likewise.
41240
121766a9
UD
41241 * configure.in: PWD_P is not used anymore.
41242 * config.make.in: Remove PWD_P entry.
41243
51a1d39c 41244 * configure.in: Remove last remnants of RANLIB.
8720d066 41245 No need to check for signed size_t anymore.
215f4bdc
UD
41246 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41247 and IA-64.
3857022a 41248 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41249 * aclocal.m4: Likewise.
41250
d3ed7225
UD
41251 * wcsmbs/mbrtoc16.c: Implement using towc function.
41252 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41253 * wcsmbs/wcsmbsload.c: Likewise.
41254 * iconv/gconv_simple.c: Likewise.
41255 * iconv/gconv_int.h: Likewise.
41256 * iconv/gconv_builtin.h: Likewise.
41257 * iconv/iconv_prog.c: Remove CHAR16 handling.
41258
41259 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41260
41261 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41262
a0da5fe1
UD
41263 * configure.in: Remove --with-elf and --enable-bounded options.
41264 Dont set base_machine for ia64. More non-ELF conditions removed.
41265 Remove testing and setting of leading underscore information.
41266 * config.make.in (build-bounded): Set to no.
41267 * config.h.in: Remove NO_UNDERSCORES entry.
41268 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41269 them.
41270 * csu/start.c: Remove !NO_UNDERSCORE code.
41271 * locale/localeinfo.h: Likewise.
41272 * sysdeps/generic/machine-gmon.h: Likewise.
41273 * sysdeps/generic/sysdep.h: Likewise.
41274 * sysdeps/i386/sysdep.h: Likewise.
41275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41276 * sysdeps/mach/sysdep.h: Likewise.
41277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41279 * sysdeps/sh/sysdep.h: Likewise.
41280 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41281 * sysdeps/unix/i386/sysdep.S: Likewise.
41282 * sysdeps/unix/sparc/start.c: Likewise.
41283 * sysdeps/unix/sparc/sysdep.S: Likewise.
41284 * sysdeps/unix/sparc/sysdep.h: Likewise.
41285 * sysdeps/unix/start.c: Likewise.
41286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41287 * sysdeps/x86_64/sysdep.h: Likewise.
41288
df78418a
UD
412892012-01-07 Ulrich Drepper <drepper@gmail.com>
41290
a784e502
UD
41291 [BZ #13553]
41292 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41293 for non-gcc.
41294 * argp/argp-fmtstream.h: Use const instead __const.
41295 * argp/argp.h: Likewise.
41296 * assert/assert.h: Likewise.
41297 * bits/fenv.h: Likewise.
41298 * bits/sched.h: Likewise.
41299 * bits/sigset.h: Likewise.
41300 * bits/sigthread.h: Likewise.
41301 * catgets/nl_types.h: Likewise.
41302 * conform/data/pthread.h-data: Likewise.
41303 * crypt/crypt-private.h: Likewise.
41304 * crypt/crypt.h: Likewise.
41305 * crypt/crypt_util.c: Likewise.
41306 * ctype/ctype.h: Likewise.
41307 * debug/execinfo.h: Likewise.
41308 * debug/mbsnrtowcs_chk.c: Likewise.
41309 * debug/mbsrtowcs_chk.c: Likewise.
41310 * debug/wcsnrtombs_chk.c: Likewise.
41311 * debug/wcsrtombs_chk.c: Likewise.
41312 * debug/wcstombs_chk.c: Likewise.
41313 * dirent/dirent.h: Likewise.
41314 * dlfcn/dlfcn.h: Likewise.
41315 * elf/neededtest4.c: Likewise.
41316 * grp/grp.h: Likewise.
41317 * gshadow/gshadow.h: Likewise.
41318 * iconv/gconv.h: Likewise.
41319 * iconv/gconv_int.h: Likewise.
41320 * iconv/gconv_simple.c: Likewise.
41321 * iconv/iconv.h: Likewise.
41322 * iconv/loop.c: Likewise.
41323 * iconv/skeleton.c: Likewise.
41324 * include/aio.h: Likewise.
41325 * include/aliases.h: Likewise.
41326 * include/argz.h: Likewise.
41327 * include/arpa/inet.h: Likewise.
41328 * include/assert.h: Likewise.
41329 * include/dirent.h: Likewise.
41330 * include/dlfcn.h: Likewise.
41331 * include/execinfo.h: Likewise.
41332 * include/fcntl.h: Likewise.
41333 * include/fenv.h: Likewise.
41334 * include/glob.h: Likewise.
41335 * include/grp.h: Likewise.
41336 * include/libintl.h: Likewise.
41337 * include/mntent.h: Likewise.
41338 * include/netdb.h: Likewise.
41339 * include/pwd.h: Likewise.
41340 * include/rpc/netdb.h: Likewise.
41341 * include/sched.h: Likewise.
41342 * include/search.h: Likewise.
41343 * include/shadow.h: Likewise.
41344 * include/signal.h: Likewise.
41345 * include/stdio.h: Likewise.
41346 * include/stdlib.h: Likewise.
41347 * include/string.h: Likewise.
41348 * include/sys/socket.h: Likewise.
41349 * include/sys/stat.h: Likewise.
41350 * include/sys/statfs.h: Likewise.
41351 * include/sys/statvfs.h: Likewise.
41352 * include/sys/syslog.h: Likewise.
41353 * include/sys/time.h: Likewise.
41354 * include/sys/uio.h: Likewise.
41355 * include/time.h: Likewise.
41356 * include/unistd.h: Likewise.
41357 * include/utmp.h: Likewise.
41358 * include/wchar.h: Likewise.
41359 * include/wctype.h: Likewise.
41360 * inet/aliases.h: Likewise.
41361 * inet/arpa/inet.h: Likewise.
41362 * inet/netinet/ether.h: Likewise.
41363 * inet/netinet/in.h: Likewise.
41364 * intl/libintl.h: Likewise.
41365 * io/bits/fcntl2.h: Likewise.
41366 * io/fcntl.h: Likewise.
41367 * io/ftw.h: Likewise.
41368 * io/sys/poll.h: Likewise.
41369 * io/sys/stat.h: Likewise.
41370 * io/sys/statfs.h: Likewise.
41371 * io/sys/statvfs.h: Likewise.
41372 * io/utime.h: Likewise.
41373 * libio/bits/stdio.h: Likewise.
41374 * libio/bits/stdio2.h: Likewise.
41375 * libio/libio.h: Likewise.
41376 * libio/libioP.h: Likewise.
41377 * libio/stdio.h: Likewise.
41378 * locale/lc-ctype.c: Likewise.
41379 * locale/locale.h: Likewise.
41380 * login/utmp.h: Likewise.
41381 * malloc/arena.c: Likewise.
41382 * malloc/malloc.c: Likewise.
41383 * malloc/malloc.h: Likewise.
41384 * malloc/mcheck.c: Likewise.
41385 * malloc/mtrace.c: Likewise.
41386 * math/bits/mathcalls.h: Likewise.
41387 * math/fenv.h: Likewise.
41388 * math/math_private.h: Likewise.
41389 * misc/bits/error.h: Likewise.
41390 * misc/bits/syslog.h: Likewise.
41391 * misc/err.h: Likewise.
41392 * misc/error.h: Likewise.
41393 * misc/fstab.h: Likewise.
41394 * misc/mntent.h: Likewise.
41395 * misc/regexp.h: Likewise.
41396 * misc/search.h: Likewise.
41397 * misc/sgtty.h: Likewise.
41398 * misc/sys/mman.h: Likewise.
41399 * misc/sys/syslog.h: Likewise.
41400 * misc/sys/uio.h: Likewise.
41401 * misc/sys/xattr.h: Likewise.
41402 * misc/ttyent.h: Likewise.
41403 * nis/rpcsvc/ypclnt.h: Likewise.
41404 * nss/nss.h: Likewise.
41405 * posix/bits/unistd.h: Likewise.
41406 * posix/fnmatch.h: Likewise.
41407 * posix/glob.h: Likewise.
41408 * posix/sched.h: Likewise.
41409 * posix/spawn.h: Likewise.
41410 * posix/sys/wait.h: Likewise.
41411 * posix/unistd.h: Likewise.
41412 * posix/wordexp.h: Likewise.
41413 * pwd/pwd.h: Likewise.
41414 * resolv/netdb.h: Likewise.
41415 * resource/sys/resource.h: Likewise.
41416 * rt/aio.h: Likewise.
41417 * rt/bits/mqueue2.h: Likewise.
41418 * rt/mqueue.h: Likewise.
41419 * shadow/shadow.h: Likewise.
41420 * signal/signal.h: Likewise.
41421 * socket/send.c: Likewise.
41422 * socket/sendto.c: Likewise.
41423 * socket/sys/socket.h: Likewise.
41424 * stdio-common/printf.h: Likewise.
41425 * stdlib/bits/stdlib.h: Likewise.
41426 * stdlib/fmtmsg.h: Likewise.
41427 * stdlib/monetary.h: Likewise.
41428 * stdlib/stdlib.h: Likewise.
41429 * stdlib/ucontext.h: Likewise.
41430 * streams/stropts.h: Likewise.
41431 * string/argz.h: Likewise.
41432 * string/bits/string2.h: Likewise.
41433 * string/string.h: Likewise.
41434 * string/strings.h: Likewise.
41435 * sunrpc/rpc/auth.h: Likewise.
41436 * sunrpc/rpc/auth_des.h: Likewise.
41437 * sunrpc/rpc/clnt.h: Likewise.
41438 * sunrpc/rpc/netdb.h: Likewise.
41439 * sunrpc/rpc/pmap_clnt.h: Likewise.
41440 * sunrpc/rpc/xdr.h: Likewise.
41441 * sysdeps/generic/inttypes.h: Likewise.
41442 * sysdeps/generic/net/if.h: Likewise.
41443 * sysdeps/generic/sys/swap.h: Likewise.
41444 * sysdeps/gnu/net/if.h: Likewise.
41445 * sysdeps/gnu/utmpx.h: Likewise.
41446 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41447 * sysdeps/i386/i486/bits/string.h: Likewise.
41448 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41449 * sysdeps/s390/bits/string.h: Likewise.
41450 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41451 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41452 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41453 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41454 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41455 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41456 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41457 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41458 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41459 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41460 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41461 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41462 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41463 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41464 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41465 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41466 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41472 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41473 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41474 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41475 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41476 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41478 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41480 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41481 * sysvipc/sys/ipc.h: Likewise.
41482 * sysvipc/sys/msg.h: Likewise.
41483 * sysvipc/sys/sem.h: Likewise.
41484 * sysvipc/sys/shm.h: Likewise.
41485 * termios/termios.h: Likewise.
41486 * time/sys/time.h: Likewise.
41487 * time/time.h: Likewise.
41488 * wcsmbs/bits/wchar2.h: Likewise.
41489 * wcsmbs/uchar.h: Likewise.
41490 * wcsmbs/wchar.h: Likewise.
41491 * wctype/wctype.h: Likewise.
41492
0269750c
UD
41493 [BZ #13551]
41494 * Makeconfig: Remove all but ELF support including AIX support.
41495 * Makerules: Likewise.
41496 * config.h.in: Likewise.
41497 * config.make.in: Likewise.
41498 * configure: Likewise.
41499 * configure.in: Likewise.
41500 * csu/Makefile: Likewise.
41501 * csu/version.c: Likewise.
41502 * debug/Makefile: Likewise.
41503 * dlfcn/Makefile: Likewise.
41504 * elf/Makefile: Likewise.
41505 * extra-lib.mk: Likewise.
41506 * iconv/Makefile: Likewise.
41507 * include/libc-symbols.h: Likewise.
41508 * include/shlib-compat.h: Likewise.
41509 * resolv/Makefile: Likewise.
41510 * resolv/res_libc.c: Likewise.
41511 * rt/Makefile: Likewise.
41512 * sysdeps/i386/asm-syntax.h: Likewise.
41513 * sysdeps/i386/sysdep.h: Likewise.
41514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41515 * sysdeps/mach/sysdep.h: Likewise.
41516 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41517 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41518 * sysdeps/s390/asm-syntax.h: Likewise.
41519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41521 * sysdeps/sh/sysdep.h: Likewise.
41522 * sysdeps/unix/sparc/sysdep.h: Likewise.
41523 * sysdeps/wordsize-32/divdi3.c: Likewise.
41524 * sysdeps/x86_64/sysdep.h: Likewise.
41525
00bbd29b
UD
41526 * argp/Versions: Remove _argp_unlock_xxx.
41527
41528 [BZ #13559]
41529 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41530 * abilist/libBrokenLocale.abilist: Likewise.
41531 * abilist/libanl.abilist: Likewise.
41532 * abilist/libc.abilist: Likewise.
41533 * abilist/libcrypt.abilist: Likewise.
41534 * abilist/libdl.abilist: Likewise.
41535 * abilist/libm.abilist: Likewise.
41536 * abilist/libnsl.abilist: Likewise.
41537 * abilist/libpthread.abilist: Likewise.
41538 * abilist/libresolv.abilist: Likewise.
41539 * abilist/librt.abilist: Likewise.
41540 * abilist/libthread_db.abilist: Likewise.
41541 * abilist/libutil.abilist: Likewise.
41542 * abilist/libnss_db.abilist: New file.
41543
41544 * scripts/abilist.awk: Add support for indirect functions.
41545
a2693a0e
UD
41546 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41547
3f05895f
UD
41548 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41549
ecb6fb48
UD
41550 * shlib-versions: Remove entries for ports architectures.
41551
664f8cb9
UD
41552 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41553 files in ports.
41554 * elf/stackguard-macros.h: Remove support for IA-64.
41555 * elf/tst-auditmod1.c: Likewise.
41556 * sysdeps/generic/ldsodefs.h: Likewise.
41557
7ae81d88
UD
41558 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41559 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41560 configure files.
41561
bdeba135
UD
41562 [BZ #13552]
41563 * configure.in: Remove --enable-omitfp support.
41564 * FAQ.in: Adjust.
41565 * config.make.in: Likewise.
41566 * Makeconfig: Likewise.
41567 * manual/install.texi: Likewise.
41568
d75a0a62
UD
41569 In case anyone cares, the IA-64 architecture could move to ports.
41570 * sysdeps/ia64/*: Removed.
41571 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41572 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41573
dcc9756b
UD
41574 [BZ #13555]
41575 * configure.in: Remove entries for unsupported architectures.
41576
d3761ebc 41577 [BZ #13533]
9954432e
UD
41578 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41579 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41580 routines.
41581 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41582 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41583 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41584 fall back to using wcrtomb.
41585 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41586 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41587 renaming.
41588 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41589 * wcsmbs/tst-c16c32-1.c: New file.
41590
41591 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41592 local variable.
41593
c3a87236
UD
41594 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41595
28926a1b
UD
41596 * elf/tst-unique3.cc: Add explicit declaration of gets.
41597 * elf/tst-unique3lib.cc: Likewise.
41598 * elf/tst-unique3lib2.cc: Likewise.
41599 * elf/tst-unique4.cc: Likewise.
41600
df78418a
UD
41601 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41602
8ecd6b2a
JM
416032012-01-06 Joseph Myers <joseph@codesourcery.com>
41604
41605 [BZ #13566]
41606 * assert/assert.h (static_assert): Don't define for C++.
41607 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41608 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41609
9f115170
UD
416102012-01-03 Ulrich Drepper <drepper@gmail.com>
41611
5e0d0300
UD
41612 * iconv/loop.c (single loop): Fix assertion in storing of
41613 remaining bytes.
41614
9f115170
UD
41615 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41616
81fb02b0
UD
416172012-01-01 Ulrich Drepper <drepper@gmail.com>
41618
41619 * posix/getconf.c: Update copyright year.
41620 * nss/getent.c: Likewise.
a316c1f6 41621 * nss/makedb.c: Likewise.
81fb02b0
UD
41622 * iconv/iconvconfig.c: Likewise.
41623 * iconv/iconv_prog.c: Likewise.
41624 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41625 * elf/pldd.c: Likewise.
41626 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41627 * catgets/gencat.c: Likewise.
41628 * csu/version.c: Likewise.
41629 * elf/ldd.bash.in: Likewise.
41630 * elf/sprof.c (print_version): Likewise.
41631 * locale/programs/locale.c: Likewise.
41632 * locale/programs/localedef.c: Likewise.
a316c1f6 41633 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41634 * nscd/nscd.c (print_version): Likewise.
41635 * debug/xtrace.sh: Likewise.
41636 * malloc/memusage.sh: Likewise.
41637 * malloc/mtrace.pl: Likewise.
41638 * debug/catchsegv.sh: Likewise.
41639
2ba92745
JJ
416402011-12-30 Jakub Jelinek <jakub@redhat.com>
41641
41642 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41643 pure attribute.
41644
dadebdae
UD
416452011-12-24 Ulrich Drepper <drepper@gmail.com>
41646
d3761ebc 41647 [BZ #13533]
db6af3eb
UD
41648 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41649 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41650 transformations.
41651 * iconv/gconv_int.h: Likewise.
41652 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41653 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41654 from libc for GLIBC_2.16.
41655 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41656 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41657 * wcsmbs/uchar.h: Really define mbstate_t.
41658 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41659 * wcsmbs/c16rtomb.c: New file.
41660 * wcsmbs/mbrtoc16.c: New file.
41661 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41662 for C/POSIX locale.
41663 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41664 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41665
dadebdae
UD
41666 * wcsmbs/wchar.h: Add missing __restrict.
41667
67371b56
UD
416682011-12-23 Ulrich Drepper <drepper@gmail.com>
41669
74033a25
UD
41670 [BZ #13532]
41671 * time/Makefile (routines): Add timespec_get.
41672 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41673 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41674 timespec for ISO C11.
41675 * time/timespec_get.c: New file.
41676 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41677 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41678
380d7e87
UD
41679 [BZ #13531]
41680 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41681 * stdlib/stdlib.h: Declare aligned_alloc.
41682 * Versions.def: Add GLIBC_2.16 for libc.
41683 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41684
4e9e7a35
UD
41685 [BZ 13527]
41686 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41687 ISO C11.
41688
380d7e87 41689 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41690 code.
41691
03a71829
UD
41692 [BZ #13528]
41693 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41694
839e283e
UD
41695 [BZ #13529]
41696 * assert/assert.h (static_assert): Define.
41697
ce5294e2 41698 * version.h: Update for 2.16 development version.
90fa7312 41699
8d44e150 41700 [BZ #13526]
d7809905
UD
41701 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41702 _ISOC11_SOURCE.
41703
c0da14cd
UD
41704 * version.h (RELEASE): Bump for 2.15 release.
41705 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41706
530a3249
MP
41707 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41708 Patch by Marek Polacek <mpolacek@redhat.com>.
41709
67371b56
UD
41710 * bits/byteswap.h: Protect long long constants with __extension__.
41711 * sysdeps/i386/bits/byteswap.h: Likewise.
41712 * sysdeps/ia64/bits/byteswap.h: Likewise.
41713 * sysdeps/s390/bits/byteswap.h: Likewise.
41714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41715
15db4de1
LD
417162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41717
41718 [BZ #13540]
bbe315ea
LD
41719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41720 destination buffer.
15db4de1
LD
41721 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41722
2b2596b1
MP
417232011-12-23 Marek Polacek <polacek@redhat.com>
41724
41725 * elf/dl-addr.c (determine_info): Add inline keyword.
41726 * elf/tst-auditmod4b.c (check_avx): Likewise.
41727 * elf/tst-auditmod6b.c (check_avx): Likewise.
41728 * elf/tst-auditmod6c.c (check_avx): Likewise.
41729 * elf/tst-auditmod7b.c (check_avx): Likewise.
41730
70c6c246
UD
417312011-12-23 Ulrich Drepper <drepper@gmail.com>
41732
41733 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41734 !__SSE_MATH__.
41735
c044cf14
LD
417362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41737
15db4de1 41738 [BZ #13540]
c044cf14
LD
41739 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41740 processing for last bytes.
41741
6b13d9d9
BH
417422011-08-06 Bruno Haible <bruno@clisp.org>
41743
d455f537
BH
41744 [BZ #13061]
41745 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41746 U+0385, not to U+1FEE.
41747
6b13d9d9
BH
41748 [BZ #13062]
41749 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41750 entry for U+00A5 U+0301.
41751
db910efd
UD
417522011-12-22 Ulrich Drepper <drepper@gmail.com>
41753
27deeafc
UD
41754 [BZ #13166]
41755 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41756 buffer for the output is too small.
41757
aed9d171
UD
41758 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41759 optimization.
41760
db910efd
UD
41761 [BZ #13185]
41762 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41763 SSE flags if possible.
41764
2bd779ae
LD
417652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41766
e7f9dac3 41767 [BZ #13540]
2bd779ae
LD
41768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41769 processing for last bytes.
41770
154bfc16
JM
417712011-12-22 Joseph Myers <joseph@codesourcery.com>
41772
41773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41774 (syscall-list-default-options, syscall-list-default-condition)
41775 (syscall-list-includes): Define.
41776 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41777 list of ABIs and options and #if conditions for each ABI. Do not
41778 handle common syscalls between ABIs specially.
41779 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41780 Remove.
41781 (syscall-list-variants, syscall-list-32bit-options)
41782 (syscall-list-32bit-condition, syscall-list-64bit-options)
41783 (syscall-list-64bit-condition): Define.
41784 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41785 (syscall-list-variants, syscall-list-32bit-options)
41786 (syscall-list-32bit-condition, syscall-list-64bit-options)
41787 (syscall-list-64bit-condition): Define.
41788 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41789 Remove.
41790 (syscall-list-variants, syscall-list-32bit-options)
41791 (syscall-list-32bit-condition, syscall-list-64bit-options)
41792 (syscall-list-64bit-condition): Define.
41793 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41794 Remove.
41795 (syscall-list-variants, syscall-list-32bit-options)
41796 (syscall-list-32bit-condition, syscall-list-64bit-options)
41797 (syscall-list-64bit-condition): Define.
41798
21eaf3a5
UD
417992011-12-22 Ulrich Drepper <drepper@gmail.com>
41800
16c6f992
UD
41801 * locale/iso-639.def: Add brx entry.
41802
41043168
UD
41803 [BZ #13328]
41804 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41805 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41806
21eaf3a5
UD
41807 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41808 __feraiseexcept_renamed.
41809
e3a851a2
UD
418102011-12-21 Ulrich Drepper <drepper@gmail.com>
41811
4920765e
UD
41812 [BZ #13538]
41813 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41814 EPOLLET with unsigned values.
41815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41817
e3a851a2
UD
41818 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41819 to large cancellation.
41820 * math/s_cacoshf.c: Likewise.
41821 * math/s_cacoshl.c: Likewise.
41822
b27e24b8
RK
418232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41824
41825 [BZ #13305]
aebefeee 41826 [BZ #12786]
b27e24b8
RK
41827 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41828 * math/s_cacoshf.c: Likewise.
41829 * math/s_cacoshl.c: Likewise.
41830
ee190f67
UD
418312011-12-21 Ulrich Drepper <drepper@gmail.com>
41832
41833 [BZ #13439]
41834 * iconv/gconv.h: Define __GCONV_SWAP.
41835 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41836 * iconvdata/utf-16.c: Likewise.
41837 * iconvdata/utf-32.c: Likewise.
41838
707f25df
AS
418392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41840
41841 [BZ #13524]
41842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41843 numerator after shifting it by one limb.
41844
d2daaa1e
RÁE
418452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41846
41847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41848 under [__USE_EXTERN_INLINES].
41849
a4647e72
UD
418502011-12-17 Ulrich Drepper <drepper@gmail.com>
41851
41852 [BZ #13446]
41853 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41854
f0b264f1
AZ
418552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41856
41857 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41858 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41859 optimized code.
41860 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41862 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41863 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41864 for strncasecmp/strncasecmp_l compilation.
41865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41866 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41867
8ef4f244
MP
418682011-12-08 Marek Polacek <mpolacek@redhat.com>
41869
41870 [BZ #13484]
41871 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41872 of __asm__.
41873
97ac2654
UD
418742011-12-17 Ulrich Drepper <drepper@gmail.com>
41875
41876 [BZ #13506]
41877 * time/tzfile.c (__tzfile_read): Check values from file header.
41878
91d2a845
WS
418792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41880
41881 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41882 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41883 * powerpc/powerpc32/dl-start.S: Likewise.
41884 * powerpc/powerpc32/elf/start.S: Likewise.
41885 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41886 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41887 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41888 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41889 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41890 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41891 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41892 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41893 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41894 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41895 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41896 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41897 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41898 * powerpc/powerpc32/memset.S: Likewise.
41899 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41900 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41901 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41902 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41903 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41904 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41905 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41906 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41907 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41908 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41910 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41911 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41912
a1267ba1
AZ
419132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41914
41915 * math/libm-test.inc: Added more nearbyint tests.
41916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41920
ad8ac1bd
RL
419212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41922
41923 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41924 FD_CLOEXEC.
41925
1d3e4b61
UD
419262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41927
41928 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41929 Add wcscpy-ssse3 wcscpy-c.
41930 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41931 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41932 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41933 * sysdeps/x86_64/wcschr.S: New file.
41934 * sysdeps/x86_64/wcsrchr.S: New file.
41935 * string/test-strcmp.c: Remove checking of wcscmp function for
41936 wrong alignments.
41937 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41938 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41939 wcsrchr-sse2 wcsrchr-c.
41940 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41941 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41942 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41943 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41944 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41945 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41946 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41947 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41948 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41949 * wcsmbc/wcschr.c (WCSCHR): New macro.
41950
5b330a2d
UD
419512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41952
41953 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41954 * wcsmbs/test-wcsrchr.c: New file.
41955 * string/test-strrchr.c: Add wcsrchr support.
41956 (WIDE): New macro.
41957 * wcsmbs/test-wcscpy.c: New file.
41958 * string/test-strcpy.c: Add wcscpy support.
41959 (WIDE): New macro.
26428b7c 41960
f039c043
UD
419612011-12-10 Ulrich Drepper <drepper@gmail.com>
41962
41963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41964 the inner loop.
41965
850fb039
AS
419662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41967
41968 [BZ #13472]
41969 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41970
4efbd5cb
UD
419712011-12-04 Ulrich Drepper <drepper@gmail.com>
41972
52ff5dd0 41973 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 41974 Minor optimizations.
52ff5dd0 41975
4efbd5cb
UD
41976 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41977 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41978 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41979
8a426e12
UD
419802011-12-03 Ulrich Drepper <drepper@gmail.com>
41981
aff2453d
UD
41982 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41983 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41984 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41985 for gcc to avoid warnings.
41986 * inet/Makefile (tests): Add tst-checks.
41987 * inet/tst-checks.c: New file.
41988
41989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41990 warning.
41991
41992 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41993 __wmemcmp_sse2.
41994
41995 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41996 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41997
8a426e12
UD
41998 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41999
9bea3473
UD
420002011-12-02 Ulrich Drepper <drepper@gmail.com>
42001
3a965496
UD
42002 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42003 problem.
42004
9bea3473
UD
42005 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42006
f101631b
UD
420072011-11-29 Joseph Myers <joseph@codesourcery.com>
42008
42009 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42010 conditional on GCC version.
42011 (__arch_compare_and_exchange_val_8_acq)
42012 (__arch_compare_and_exchange_val_16_acq)
42013 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42014 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42015 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42016
a98275aa
UD
420172011-12-02 Joseph Myers <joseph@codesourcery.com>
42018
42019 * sysdeps/sh/backtrace.c: New file.
42020
d4cc29a2
AS
420212011-12-02 Andreas Schwab <schwab@redhat.com>
42022
42023 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42024 parenthesis.
42025
6257af2d
AS
420262011-12-01 Andreas Schwab <schwab@redhat.com>
42027
42028 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42029 falling back to utime.
42030
b5f44c1a
AS
420312011-11-30 Andreas Schwab <schwab@redhat.com>
42032
42033 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42034 expectations for float.
42035
f3a6cc0a
AS
420362011-11-29 Andreas Schwab <schwab@redhat.com>
42037
42038 * locale/weight.h (findidx): Add parameter len.
42039 * locale/weightwc.h (findidx): Likewise.
42040 * posix/fnmatch_loop.c (FCT): Adjust caller.
42041 * posix/regcomp.c (build_equiv_class): Likewise.
42042 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42043 * posix/regexec.c (check_node_accept_bytes): Likewise.
42044 * string/strcoll_l.c (STRCOLL): Likewise.
42045 * string/strxfrm_l.c (STRXFRM): Likewise.
42046
9d65ea3a
UD
420472011-11-17 Ulrich Drepper <drepper@gmail.com>
42048
42049 * Makefile.in: Remove CVSOPT handling.
42050 * configure.in: Remove use of AC_REVISION.
42051 * iconvdata/Makefile (distribute): No need to filter out CVS.
42052 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42053 handling.
42054
5583a086
AS
420552011-11-16 Andreas Schwab <schwab@redhat.com>
42056
42057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42058 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42059 [USE_AS_STRNCASECMP_L]: Likewise.
42060 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42061 NO_TLS_DIRECT_SEG_REFS.
42062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42063 Fix argument offsets for non-PIC.
42064 [USE_AS_STRNCASECMP_L]: Likewise.
42065 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42066 NO_TLS_DIRECT_SEG_REFS.
42067
d62a8200
UD
420682011-11-15 Ulrich Drepper <drepper@gmail.com>
42069
9d65ea3a 42070 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42071 O_CLOEXEC.
42072 * locale/loadlocale.c (_nl_load_locale): Likewise.
42073
09f93bd3
AS
420742011-11-15 Andreas Schwab <schwab@redhat.com>
42075
446514f9
AS
42076 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42077 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42079 (SYSCALL_GETTIME): Set errno on error.
42080
09f93bd3
AS
42081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42082 count references to noai6ai_cached.
42083
312be3f9
UD
420842011-11-15 Ulrich Drepper <drepper@gmail.com>
42085
42086 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42087
42088 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42089 FD_CLOEXEC for /proc/self/maps.
42090
42091 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42092 FD_CLOEXEC for /proc/meminfo.
42093
42094 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42095 gai.conf.
42096
42097 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42098 FD_CLOEXEC for given file.
42099
42100 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42101
42102 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42103 FD_CLOEXEC for /etc/hosts.
42104 (_gethtent): Likewise.
42105
42106 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42107
42108 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42109 cancellation and set FD_CLOEXEC for /etc/netgroup.
42110
42111 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42112 reading /etc/publickey.
42113
42114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42115 allow cancellation when reading /etc/group.
42116
42117 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42118 cancellation.
42119 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42120
42121 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42122 when using data file.
42123
42124 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42125
42126 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42127 (write_nis_obj): Use "c" and "e" in fopen.
42128
42129 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42130
42131 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42132
42133 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42134
42135 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42136
42137 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42138 locale.alias.
42139
42140 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42141
42142 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42143
42144 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42145
42146 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42147 file parsing and set FD_CLOEXEC.
42148
82af0fa8
UD
421492011-11-14 Ulrich Drepper <drepper@gmail.com>
42150
42151 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42152
a5fb313c
AS
421532011-11-14 Andreas Schwab <schwab@redhat.com>
42154
42155 * malloc/arena.c (arena_get2): Don't call reused_arena when
42156 _int_new_arena failed.
42157
6abf3465
UD
421582011-11-14 Ulrich Drepper <drepper@gmail.com>
42159
42160 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42161 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42166 to compile strcasecmp and strncasecmp.
42167 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42168 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42169
42170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42171
76e3966e
UD
421722011-11-13 Ulrich Drepper <drepper@gmail.com>
42173
42174 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42175 locale-defines.sym to gen-as-const-headers.
42176 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42177 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42179 to compile strcasecmp and strncasecmp.
42180 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42181 strcasecmp_l and strncasecmp_l.
42182 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42183 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42184 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42186 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42188 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42189 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42190 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42191 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42192 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42193
ab26144e
UD
421942011-11-12 Ulrich Drepper <drepper@gmail.com>
42195
7edb22ef
UD
42196 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42197 result of SYSDEP_GETTIME_CPU to retval.
42198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42199 parameter list to macro. Remove trailing semicolon. Adjust users.
42200
9694fc44
UD
42201 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42202 variable.
42203
8ad89ef8
UD
42204 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42205 mantissa words.
42206 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42207
0c822ef9
UD
42208 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42209 from unused variable.
42210
874e0564
UD
42211 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42212 DWARF definitions.
42213 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42214 for assembling.
42215
3a2edc79
UD
42216 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42217 over namespaces.
42218
f3c2577f
UD
42219 * sunrpc/rpc_prot.c (rejected): Fix case value.
42220
294ce126
UD
42221 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42222 unsigned long long int to avoid warnings in shift.
42223
5e2b63c6
UD
42224 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42225 of use of trans.
42226 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42227 variable tmp.
42228
e7f4b08e
UD
42229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42230 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42232
ab26144e
UD
42233 * nis/nis_table.c (nis_list): Use variable of correct type for
42234 result of __follow_path call.
42235
8a6d5255
AZ
422362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42237
42238 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42239 of math functions ceil, trunc, floor, round, and sqrt, when
42240 avaliable on the platform.
42241 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42242 name clash.
42243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42244 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42245 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42246
aaddc98c
MP
422472011-10-30 Marek Polacek <mpolacek@redhat.com>
42248
42249 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42251
95b7042b
RM
422522011-11-11 Roland McGrath <roland@hack.frob.com>
42253
42254 * include/unistd.h: Fix __readlink return type.
42255 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42256
57769839
UD
422572011-11-11 Ulrich Drepper <drepper@gmail.com>
42258
42259 * stdlib/ucontext.h: Undo last change for makecontext.
42260
edc5984d
AS
422612011-11-11 Andreas Schwab <schwab@redhat.com>
42262
98591e58
AS
42263 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42264
edc5984d
AS
42265 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42266 * setjmp/setjmp.h: Mark functions as non-leaf.
42267 * setjmp/bits/setjmp2.h: Likewise.
42268 * stdlib/ucontext.h: Likewise.
42269
77cdc054
AS
422702011-11-10 Andreas Schwab <schwab@redhat.com>
42271
42272 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42273 (reused_arena): Don't check arena limit.
42274 (arena_get2): Atomically check arena limit.
42275
fe72eebd
UD
422762011-11-08 Ulrich Drepper <drepper@gmail.com>
42277
5f078c32
UD
42278 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42279 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42280
fe72eebd
UD
42281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42282 instructions.
42283
ae1bc2fa
AS
422842011-11-07 Andreas Schwab <schwab@redhat.com>
42285
7583a88d
AS
42286 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42287 handler when locking.
42288
ae1bc2fa
AS
42289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42290 Fix size of allocated buffer.
42291
10fb0bfa
AS
422922011-11-04 Andreas Schwab <schwab@redhat.com>
42293
998832a4
AS
42294 [BZ #10103]
42295 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42296 declarations for long double functions.
42297 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42298
10fb0bfa
AS
42299 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42300
3d7ba52b
AS
423012011-11-03 Andreas Schwab <schwab@redhat.com>
42302
a9ae54a1
AS
42303 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42304 installed.
42305
3d7ba52b
AS
42306 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42307 is disabled.
42308
bc8db248
ST
423092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42310
42311 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42312
45b96dd6
AS
423132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42314
647776f6
AS
42315 * include/alloca.h (stackinfo_alloca_round): Define.
42316 (extend_alloca): Use it.
42317 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42318 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42319 here.
42320
d91a8b93
AS
42321 * scripts/check-local-headers.sh: Ignore libaudit.h.
42322
45b96dd6
AS
42323 * nscd/Makefile (extra-objs): Make recursively expanded.
42324
432d41ce
UD
423252011-11-01 Ulrich Drepper <drepper@gmail.com>
42326
34372fc6
UD
42327 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42329
fadb59f8
UD
42330 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42331 * posix/tst-rfc3484-2.c: Likewise.
42332 * posix/tst-rfc3484-3.c: Likewise.
42333
78239589
UD
42334 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42335 process_vm_writev.
42336 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42337 process_vm_writev.
42338 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42339 process_vm_writev from libc using GLIBC_2.15 version.
42340
432d41ce
UD
42341 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42342
02f9c6cf
PP
423432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42344
42345 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42346 stack usage.
42347
3a2c0242
UD
423482011-10-31 Ulrich Drepper <drepper@gmail.com>
42349
f4ec4833
UD
42350 [BZ #13367]
42351 * nss/getent.c (initgroups_keys): Show error message in case no group
42352 names are given.
42353
3a2c0242
UD
42354 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42355 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42356 __bump_nl_timestamp.
42357 * nscd/connections (nscd_init): When host database is served open
42358 netlink socket and request notification about configuration changes.
42359 (main_loop_poll): Track netlink file descriptor and bump timestamp
42360 in case data becomes available.
42361 (main_loop_epoll): Likewise.
42362 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42363 (database_pers_head): Add extra_data fileds.
42364 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42366 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42367 Adjust caller.
42368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42369 in6ai data, call __free_in6ai.
42370 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42371 Add -DHAVE_NETLINK.
42372 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42373 interface information. Reuse previous data if netlink timestamp
42374 is not changed.
42375 (__bump_nl_timestamp): New function.
42376 (__free_in6ai): New function.
42377
636064eb
UD
423782011-10-30 Ulrich Drepper <drepper@gmail.com>
42379
42380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42381 close_not_cancel_no_status here.
42382 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42383
9beb2334
UD
423842011-10-29 Ulrich Drepper <drepper@gmail.com>
42385
6ef76f3b
UD
42386 [BZ #13276]
42387 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42388 return value.
42389
0ffc4f3e 42390 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42391 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42392 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42393
cb95113e
UD
423942011-07-03 Andreas Jaeger <aj@suse.de>
42395
42396 [BZ #10709]
42397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42398 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42399 * math/libm-test.inc (sin_test): Add test case.
42400
a1b560ff
UD
424012011-10-29 Ulrich Drepper <drepper@gmail.com>
42402
c9aaface
UD
42403 [BZ #13337]
42404 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42405 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42406
d272e7f1
UD
42407 * elf/chroot_canon.c (chroot_canon): Cleanups.
42408
1bc33071
UD
42409 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42410
1760874d
TJ
42411 [BZ #13335]
42412 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42413 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42414
51d91b18
UD
42415 * string/test-strchr.c: Make usable for strchrnul testing.
42416 * string/test-strchrnul.c: New file.
42417 * string/Makefile (strop-tests): Add strchrnul.
42418
a1b560ff 42419 * po/it.po: Update from translation team.
b611fb81 42420 * po/es.po: Likewise.
a1b560ff 42421
a5b81e1f
UD
424222011-10-28 Ulrich Drepper <drepper@gmail.com>
42423
fd52bc6d
UD
42424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42425 the three constants needed as parameters. Drop the others.
42426 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42427 __m128i_strloadu_tolower.
52e4b9eb
UD
42428 Create and initialize variable zero and use it in all the places
42429 where _mm_setzero_si128 was used.
fd52bc6d 42430
a5b81e1f
UD
42431 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42432 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42433 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42435 anymore.
42436 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42437 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42438 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42439 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42440 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42441 __mpranred, __mptan.
42442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42449 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42451
b4343346
AS
424522011-10-28 Andreas Schwab <schwab@redhat.com>
42453
0c92d8a8
AS
42454 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42455 redefine if SHARED.
42456 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42457
b4343346
AS
42458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42459 wide char related routines to wcsmbs subdir.
42460
3871f58f
AS
424612011-10-27 Andreas Schwab <schwab@redhat.com>
42462
42463 [BZ #13344]
42464 * misc/sys/cdefs.h (__THROWNL): Define.
42465 * posix/unistd.h: Use __THREADNL instead of __THREAD
42466 for memory synchronization functions.
42467
94d44d9f
RM
424682011-10-26 Roland McGrath <roland@hack.frob.com>
42469
21b64b15 42470 [BZ #13349]
94d44d9f
RM
42471 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42472 doesn't exist.
42473 * manual/stdio.texi (Obstack Streams): Node removed.
42474
f6ce9294
AS
424752011-10-26 Andreas Schwab <schwab@redhat.com>
42476
80479147
AS
42477 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42479 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42480
f6ce9294
AS
42481 * math/math_private.h (math_force_eval): Allow non-addressable
42482 arguments.
42483 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42484
618280a1
UD
424852011-10-25 Ulrich Drepper <drepper@gmail.com>
42486
e0016b11
UD
42487 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42488 file is not needed.
42489
42490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42497 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42498 Add AVX variants.
42499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42503 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42504 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42505 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42506 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42507 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42508 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42509 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42510 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42512 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42513 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42514 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42516 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42517 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42518
42519 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42520 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42521
618280a1
UD
42522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42523 place. Use VEX encoding when compiling for AVX.
42524
37822576
AS
425252011-10-25 Andreas Schwab <schwab@redhat.com>
42526
1f1e1947
AS
42527 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42528 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42529
37822576
AS
42530 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42531
31ea014d
UD
425322011-10-25 Ulrich Drepper <drepper@gmail.com>
42533
d7826aa1 42534 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42535 useless if() expression.
d7826aa1
UD
42536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42542 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42546 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42547 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42552 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42555
31ea014d
UD
42556 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42557
16437fec
AS
425582011-10-25 Andreas Schwab <schwab@redhat.com>
42559
42560 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42561 condition.
42562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42563
31d3cc00
UD
425642011-10-25 Ulrich Drepper <drepper@gmail.com>
42565
42566 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42567 .text section. Avoid duplicate constants.
42568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42577 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42578 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42579 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42582 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42585 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42596 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42597 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42613
58985aa9
UD
426142011-10-24 Ulrich Drepper <drepper@gmail.com>
42615
202c9deb
UD
42616 * sysdeps/x86_64/dla.h: Move to ...
42617 * sysdeps/x86_64/fpu/dla.h: ...here.
42618 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42619 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42620
af968f62
UD
42621 * config.make.in: Add have-mfma4 entry.
42622 * configure.in: Substitute libc_cv_cc_fma4.
42623 * math/Makefile (dbl-only-routines): Add sincostab.
42624 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42625 Use __sincostab not sincos.
42626 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42627 name is a macro.
42628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42632 using __copysign.
42633 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42634 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42635 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42636 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42637 and __inv.
42638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42639 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42640 __copysign.
42641 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42642 define aliases when function name is a macro.
42643 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42644 sysdeps/ieee754/dbl-64/sincos.tbl.
42645 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42646 fma4-enabled routines.
42647 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42648 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42649 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42650 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42651 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42654 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42657 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42659 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42660 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42661 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42662 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42663 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42664 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42665 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42667 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42668 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42677
58985aa9
UD
42678 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42679 rename.
42680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42688
a201fbcf
AS
426892011-10-24 Andreas Schwab <schwab@redhat.com>
42690
42691 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42692
fc2ee42a
LD
426932011-10-23 Ulrich Drepper <drepper@gmail.com>
42694
bb3129bd
UD
42695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42696
0275fff8
UD
42697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42698 prediction.
42699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42700
2fa2ae85
UD
42701 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42702 Remove unused variable magic_bits.
42703 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42704
fc2ee42a
LD
42705 * string/strnlen.c: Define and use STRNLEN macro.
42706 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42707 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42709 * wcsmbs/wcslen.c: Define and use WCSLEN.
42710 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42711 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42712 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42713 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42714 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42715 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42716 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42717
ce7dd29f
LD
427182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42719
42720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42721 strnlen-sse2-no-bsf.
42722 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42723 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42724 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42725 Add strnlen support.
42726 (USE_AS_STRNLEN): New macro.
42727 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42729 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42730 * sysdeps/x86_64/wcslen.S: New file.
42731
979c70a3
MZ
427322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42733
42734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42735 XMM-moves are used for copying on small sizes.
42736
2d09f82f
LD
427372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42738
42739 * wcsmbs/Makefile (strop-tests): Add wcschr.
42740 * wcsmbs/test-wcschr.c: New file.
42741 * string/test-strchr.c: Update.
42742 Add wcschr support.
42743 (WIDE): New macro.
42744
619fccca
LD
427452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42746
2d09f82f 42747 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42748 * wcsmbs/test-wcslen.c: New file.
42749 * string/test-strlen.c: Update.
42750 Add wcslen support.
42751 (WIDE): New macro.
42752
09f699ea
UD
427532011-10-23 Ulrich Drepper <drepper@gmail.com>
42754
42755 * po/it.po: Update from translation team.
42756
95584d3b
LD
427572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42758
42759 * sysdeps/x86_64/wcscmp.S: Update.
42760 Fix wrong comparison semantics.
42761 wcscmp shall use signed comparison not unsigned.
42762 Don't use substraction to avoid overflow bug.
42763 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42764 * wcsmbc/wcscmp.c: Likewise.
42765 * string/test-strcmp.c: Likewise.
42766 Add new tests to check cases with negative values.
42767
c8b3296b
UD
427682011-10-23 Ulrich Drepper <drepper@gmail.com>
42769
42770 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42771 * sysdeps/x86_64/dla.h: ...here. New file.
42772 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42781
246ad57a
AS
427822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42783
42784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42785 __ynl_finite aliases.
42786
a1a87169
UD
427872011-10-22 Ulrich Drepper <drepper@gmail.com>
42788
0d355eb7
UD
42789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42790
a1a87169
UD
42791 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42792 define DLA_FMA.
42793 [DLA_FMA] (EMULV): Use DLA_FMA.
42794 [DLA_FMA] (MUL12): Use EMULV.
42795 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42796 that are not needed.
42797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42804
ee2aafe0
AS
428052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42806
42807 * math/s_nan.c: Undef __nan.
42808 * math/s_nanf.c: Undef __nanf.
42809 * math/s_nanl.c: Undef __nanl.
42810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42811 "math_private.h".
42812
bc62c2fb
UD
428132011-10-22 Ulrich Drepper <drepper@gmail.com>
42814
77425c63
UD
42815 * math/s_catan.c: Add branch predictions.
42816 * math/s_catanf.c: Likewise.
42817 * math/s_catanh.c: Likewise.
42818 * math/s_catanhf.c: Likewise.
42819 * math/s_catanhl.c: Likewise.
42820 * math/s_catanl.c: Likewise.
42821 * math/s_cexp.c: Likewise.
42822 * math/s_cexpf.c: Likewise.
42823 * math/s_cexpl.c: Likewise.
42824 * math/s_clog.c: Likewise.
42825 * math/s_clog10.c: Likewise.
42826 * math/s_clog10f.c: Likewise.
42827 * math/s_clog10l.c: Likewise.
42828 * math/s_clogf.c: Likewise.
42829 * math/s_clogl.c: Likewise.
42830 * math/s_csqrt.c: Likewise.
42831 * math/s_csqrtf.c: Likewise.
42832 * math/s_csqrtl.c: Likewise.
42833 * math/s_ctanf.c: Likewise.
42834 * math/s_ctanh.c: Likewise.
42835 * math/s_ctanhf.c: Likewise.
42836 * math/s_ctanhl.c: Likewise.
42837 * math/s_ctanl.c: Likewise.
42838
bc62c2fb
UD
42839 * math/math_private.h: Define __nan, __nanf, __nanl.
42840 * math/s_cacosh.c: Include <math_private.h>.
42841 * math/s_cacoshl.c: Likewise.
42842 * math/s_casinh.c: Likewise.
42843 * math/s_casinhf.c: Likewise.
42844 * math/s_casinhl.c: Likewise.
42845 * math/s_ccos.c: Rely entire on ccosh.
42846 * math/s_ccosf.c: Rely entire on ccoshf.
42847 * math/s_ccosl.c: Rely entirely on ccoshl.
42848 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42849 Remove tests for FE_INVALID.
42850 * math/s_ccoshf.c: Likewise.
42851 * math/s_ccoshl.c: Likewise.
42852 * math/s_csin.c: Likewise.
42853 * math/s_csinf.c: Likewise.
42854 * math/s_csinh.c Likewise.
42855 * math/s_csinhf.c: Likewise.
42856 * math/s_csinhl.c: Likewise.
42857 * math/s_csinl.c: Likewise.
42858 * math/s_ctan.c: Likewise.
42859 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42860 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42862
8ec250a4
UD
428632011-10-21 Ulrich Drepper <drepper@gmail.com>
42864
c196fed8
UD
42865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42866 compilation problems.
42867
8ec250a4
UD
42868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42869 __builtin_expect.
42870
8d4f46c6
UD
428712011-10-20 Ulrich Drepper <drepper@gmail.com>
42872
ed72b654
UD
42873 * sysdeps/i386/configure.in: Test for -mfma4 option.
42874 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42875 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42876 COMMON_CPUID_INDEX_80000001.
42877 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42878 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42879 use it if FMA3 is not supported.
42880 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42881
8d4f46c6
UD
42882 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42883 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42884
d45c60c2
AS
428852011-10-20 Andreas Schwab <schwab@redhat.com>
42886
42887 [BZ #12892]
42888 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42889 it would create a cycle with a link time dependency.
42890
d9a4d2ab
UD
428912011-10-19 Ulrich Drepper <drepper@gmail.com>
42892
855d1560
UD
42893 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42894 instruction.
42895 * string/Makefile (strop-tests): Add rawmemchr.
42896 * string/test-rawmemchr.c: New file.
42897
d9a4d2ab
UD
42898 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42900 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42901 when compiling str{,n}casecmp and when AVX is available. Hook up
42902 new optimized code in initializers.
42903
8f3b1ffe
AS
429042011-10-19 Andreas Schwab <schwab@redhat.com>
42905
42906 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42907 __feraiseexcept instead of feraiseexcept.
42908
d38f1dba
UD
429092011-10-18 Ulrich Drepper <drepper@gmail.com>
42910
d9a8d0ab
UD
42911 * math/math_private.h: Define defaults for libc_fetestexcept and
42912 libc_feupdateenv.
42913 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42914 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42916 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42917 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42918 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42919 libc_fetestexcept and libc_feupdateenv.
42920
4855e3dd
UD
42921 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42922 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42923 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42924 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42925 libc_feholdexcept_setround.
42926
581d30e3
UD
42927 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42928 Add s_nearbyint-c and s_nearbyintf-c.
42929 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42930 nearbyintf inlines.
42931 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42933 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42935
d38f1dba
UD
42936 * math/math_private.h: Define defaults for libc_fegetround,
42937 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42938 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42939 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42941 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42942 standard functions.
42943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42944 Remove comments and hacks for old compiler versions.
42945 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42946 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42947 libc_feholdexceptl.
42948
caa6c9d8
AS
429492011-10-18 Andreas Schwab <schwab@redhat.com>
42950
42951 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42952 (__feraiseexcept_renamed): Add __NTH.
42953 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42954 namespace violations.
42955
97c066e6
UD
429562011-10-17 Ulrich Drepper <drepper@gmail.com>
42957
99ce7b04
UD
42958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42959
1004d182
UD
42960 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42961
228a984d
UD
42962 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42963 recently added interfaces.
42964 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42965
c8553a6a
UD
42966 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42967 about macro parameter expansion.
42968
ed22dcf6
UD
42969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42970 __NO_MATH_INLINES is defined. Cleanups.
42971
42972 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42973 and __floorf is target has SSE4.1.
42974 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42975 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42976 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42977 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42978
b171c137
UD
42979 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42980 name.
42981 (floorf): Likewise.
42982
97c066e6
UD
42983 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42984
629f62ef
AS
429852011-10-17 Andreas Schwab <schwab@redhat.com>
42986
49a43d80
AS
42987 * misc/sys/cdefs.h: Fix last change.
42988
629f62ef
AS
42989 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42990 database lookup.
42991
e453f6cd
UD
429922011-10-16 Ulrich Drepper <drepper@gmail.com>
42993
aa78043a
UD
42994 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42995
ad0f5cad
UD
42996 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43005 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43006 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43007 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43008 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43009 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43011 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43013 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43014 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43015 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43016 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43017 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43018
43019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43020 ceil, ceilf, floor, floorf.
43021
43022 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43023 Perform IRELATIVE relocations last.
43024
e453f6cd
UD
43025 * elf/do-rel.h: Add another parameter nrelative, replacing the
43026 local variable with the same name. Change name of the function
43027 to end in Rel or Rela (uppercase).
43028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43029 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43030 elf_dynamic_do_##reloc function.
43031
fd5bdc09
UD
430322011-10-15 Ulrich Drepper <drepper@gmail.com>
43033
79b195b5
UD
43034 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43035 is sufficient, at least on modern CPUs.
43036
d4a28569
UD
43037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43038
b61099b5
UD
43039 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43041
bcf01e6d
UD
43042 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43043 __expl_finite.
43044 * math/bits/math-finite.h: Add entries for exp.
43045 * math/e_expl.c: Add __*_finite alias.
43046 * sysdeps/i386/fpu/e_exp.S: Likewise.
43047 * sysdeps/i386/fpu/e_expf.S: Likewise.
43048 * sysdeps/i386/fpu/e_expl.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43050 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43056
ba1a0d59
UD
43057 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43058 is sufficient, at least on modern CPUs.
43059
fd5bdc09
UD
43060 * ctype/ctype-info.c (__ctype_init): Define.
43061 * include/ctype.h (__ctype_init): Declare.
43062 (__ctype_b_loc): The variable is always initialized.
43063 (__ctype_toupper_loc): Likewise.
43064 (__ctype_tolower_loc): Likewise.
43065 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43066 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43067
7872cfb0
AS
430682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43069
b468825a
AS
43070 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43071
7872cfb0
AS
43072 * configure.in: Also look in $cxxmachine/include for C++ system
43073 headers.
43074
be13f7bf
LD
430752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43076
43077 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43078 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43079 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43080 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43082 (USE_AS_WMEMCMP): New macro.
43083 Fixing indents.
43084 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43085 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43086 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43087 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43089 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43090 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43091 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43092 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43093 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43095 (USE_AS_WMEMCMP): New macro.
43096 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43097 * sysdeps/string/test-memcmp.c: Update.
43098 Fix simple_wmemcmp.
43099 Add new tests.
43100 * wcsmbs/wmemcmp.c: Update.
43101 (WMEMCMP): New macro.
43102 Fix overflow bug.
43103
556a2007
AJ
431042011-10-12 Andreas Jaeger <aj@suse.de>
43105
43106 [BZ #13268]
43107 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43108
538faaa7
UD
431092011-10-15 Ulrich Drepper <drepper@gmail.com>
43110
ab6737ff
UD
43111 * libio/iofwide.c (do_length): Avoid warning.
43112
538faaa7
UD
43113 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43114
396a21b1
UD
431152011-10-14 Ulrich Drepper <drepper@gmail.com>
43116
cdf2901f
UD
43117 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43118
38ad40ce
UD
43119 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43120 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43121 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43122 * sysdeps/i386/i686/fpu/e_log.S: New file.
43123 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43124 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43125
396a21b1
UD
43126 * ctype/ctype.h: Add support for inlined isXXX functions when
43127 compiling C++ code.
43128
6b1f68c9
AS
431292011-10-14 Andreas Schwab <schwab@redhat.com>
43130
349290c0
AS
43131 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43132
6b1f68c9
AS
43133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43134
f2282d42
RM
431352011-10-13 Roland McGrath <roland@hack.frob.com>
43136
43137 [BZ #13291]
43138 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43139
5298ffa8
AS
431402011-10-13 Andreas Schwab <schwab@redhat.com>
43141
714fad23
AS
43142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43143 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43144 feraiseexcept.
43145
81dcc7fb
AS
43146 * sysdeps/x86_64/memrchr.S: Check for zero size.
43147
5298ffa8
AS
43148 * string/stratcliff.c: Add memrchr tests.
43149
951fbcec
LD
431502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43151
43152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43153 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43154 rawmemchr-sse2 rawmemchr-sse2-bsf.
43155 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43156 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43157 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43158 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43159 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43160 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43161 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43162 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43163 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43165 * string/memrchr.c (MEMRCHR): New macro.
43166
0ac5ae23
UD
431672011-10-12 Ulrich Drepper <drepper@gmail.com>
43168
43169 Add integration with gcc's -ffinite-math-only and optimize wrapper
43170 functions in libm.
43171 * Versions.def: Define GLIBC_2.15 version for libm.
43172 * math/Makefile (headers): Add bits/math-finite.h.
43173 * math/bits/math-finite.h: New file.
43174 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43175 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43176 * math/e_acoshl.c: Add __*_finite alias.
43177 * math/e_acosl.c: Likewise.
43178 * math/e_asinl.c: Likewise.
43179 * math/e_atan2l.c: Likewise.
43180 * math/e_atanhl.c: Likewise.
43181 * math/e_coshl.c: Likewise.
43182 * math/e_exp10.c: Likewise.
43183 * math/e_exp10f.c: Likewise.
43184 * math/e_exp10l.c: Likewise.
43185 * math/e_exp2l.c: Likewise.
43186 * math/e_fmodl.c: Likewise.
43187 * math/e_gammal_r.c: Likewise.
43188 * math/e_hypotl.c: Likewise.
43189 * math/e_j0l.c: Likewise.
43190 * math/e_j1l.c: Likewise.
43191 * math/e_jnl.c: Likewise.
43192 * math/e_lgammal_r.c: Likewise.
43193 * math/e_log10l.c: Likewise.
43194 * math/e_log2l.c: Likewise.
43195 * math/e_logl.c: Likewise.
43196 * math/e_powl.c: Likewise.
43197 * math/e_sinhl.c: Likewise.
43198 * math/e_sqrtl.c: Likewise.
43199 * math/e_scalb.c: Completely rewritten and optimized.
43200 * math/e_scalbf.c: Likewise.
43201 * math/e_scalbl.c: Likewise.
43202 * math/w_acos.c: Likewise.
43203 * math/w_acosf.c: Likewise.
43204 * math/w_acosl.c: Likewise.
43205 * math/w_acosh.c: Likewise.
43206 * math/w_acoshf.c: Likewise.
43207 * math/w_acoshl.c: Likewise.
43208 * math/w_asin.c: Likewise.
43209 * math/w_asinf.c: Likewise.
43210 * math/w_asinl.c: Likewise.
43211 * math/w_atan2.c: Likewise.
43212 * math/w_atan2f.c: Likewise.
43213 * math/w_atan2l.c: Likewise.
43214 * math/w_atanh.c: Likewise.
43215 * math/w_atanhf.c: Likewise.
43216 * math/w_atanhl.c: Likewise.
43217 * math/w_exp10.c: Likewise.
43218 * math/w_exp10f.c: Likewise.
43219 * math/w_exp10l.c: Likewise.
43220 * math/w_fmod.c: Likewise.
43221 * math/w_fmodf.c: Likewise.
43222 * math/w_fmodl.c: Likewise.
43223 * math/w_j0.c: Likewise.
43224 * math/w_j0f.c: Likewise.
43225 * math/w_j0l.c: Likewise.
43226 * math/w_j1.c: Likewise.
43227 * math/w_j1f.c: Likewise.
43228 * math/w_j1l.c: Likewise.
43229 * math/w_jn.c: Likewise.
43230 * math/w_jnf.c: Likewise.
43231 * math/w_log.c: Likewise.
43232 * math/w_logf.c: Likewise.
43233 * math/w_logl.c: Likewise.
43234 * math/w_log10.c: Likewise.
43235 * math/w_log10f.c: Likewise.
43236 * math/w_log10l.c: Likewise.
43237 * math/w_log2.c: Likewise.
43238 * math/w_log2f.c: Likewise.
43239 * math/w_log2l.c: Likewise.
43240 * math/w_pow.c: Likewise.
43241 * math/w_powf.c: Likewise.
43242 * math/w_powl.c: Likewise.
43243 * math/w_remainder.c: Likewise.
43244 * math/w_remainderf.c: Likewise.
43245 * math/w_remainderl.c: Likewise.
43246 * math/w_scalb.c: Likewise.
43247 * math/w_scalbf.c: Likewise.
43248 * math/w_scalbl.c: Likewise.
43249 * math/w_sqrt.c: Likewise.
43250 * math/w_sqrtf.c: Likewise.
43251 * math/w_sqrtl.c: Likewise.
43252 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43253 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43254 used.
43255 * math/math_private.h: Declare __kernel_standard_f.
43256 * math/w_cosh.c: Remove cruft and optimize a bit.
43257 * math/w_coshf.c: Likewise.
43258 * math/w_coshl.c: Likewise.
43259 * math/w_exp2.c: Likewise.
43260 * math/w_exp2f.c: Likewise.
43261 * math/w_exp2l.c: Likewise.
43262 * math/w_hypot.c: Likewise.
43263 * math/w_hypotf.c: Likewise.
43264 * math/w_hypotl.c: Likewise.
43265 * math/w_lgamma.c: Likewise.
43266 * math/w_lgamma_r.c: Likewise.
43267 * math/w_lgammaf.c: Likewise.
43268 * math/w_lgammaf_r.c: Likewise.
43269 * math/w_lgammal.c: Likewise.
43270 * math/w_lgammal_r.c: Likewise.
43271 * math/w_sinh.c: Likewise.
43272 * math/w_sinhf.c: Likewise.
43273 * math/w_sinhl.c: Likewise.
43274 * math/w_tgamma.c: Likewise.
43275 * math/w_tgammaf.c: Likewise.
43276 * math/w_tgammal.c: Likewise.
43277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43279 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43280 Minor optimizations. Pretty printing. Remove cruft.
43281 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43284 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43285 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43286 * sysdeps/i386/fpu/e_asin.S: Likewise.
43287 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43288 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43289 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43290 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43292 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43294 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43295 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43296 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43297 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43298 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43299 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43300 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43301 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43302 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43303 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43304 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43305 * sysdeps/i386/fpu/e_log.S: Likewise.
43306 * sysdeps/i386/fpu/e_log10.S: Likewise.
43307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43309 * sysdeps/i386/fpu/e_log2.S: Likewise.
43310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43311 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43312 * sysdeps/i386/fpu/e_logf.S: Likewise.
43313 * sysdeps/i386/fpu/e_logl.S: Likewise.
43314 * sysdeps/i386/fpu/e_pow.S: Likewise.
43315 * sysdeps/i386/fpu/e_powf.S: Likewise.
43316 * sysdeps/i386/fpu/e_powl.S: Likewise.
43317 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43318 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43319 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43323 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43324 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43325 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43326 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43333 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43336 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43347 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43350 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43351 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43352 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43353 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43354 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43355 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43360 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43361 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43362 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43363 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43364 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43365 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43366 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43368 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43369 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43370 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43371 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43372 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43373 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43374 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43385 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43386 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43411 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43413 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43414 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43415 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43423 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43424 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43425 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43426 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43427 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43428 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43429 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43434 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43436 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43437 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43438 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43439 (__isnanf): Likewise.
43440 (__isinf_ns): Likewise.
43441 (__isinf_nsf): Likewise.
43442 (__finite): Likewise.
43443 (__finitef): Likewise.
43444 (__ieee754_sqrt): Define as macro.
43445 (__ieee754_sqrtf): Define as macro.
43446 (__ieee754_sqrtl): Define as macro.
43447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43448 inlined copy.
43449 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43450 __FINITE_MATH_ONLY__ consistent.
43451 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43452
12cc2fcd
AS
434532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43454
a843a204
AS
43455 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43456 of rawmemchr.
43457
12cc2fcd
AS
43458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43459
c853acd5
UD
434602011-10-09 Ulrich Drepper <drepper@gmail.com>
43461
43462 * po/ja.po: Update from translation team.
43463
c658d255
RM
434642011-10-08 Roland McGrath <roland@hack.frob.com>
43465
110946e4
RM
43466 * locale/programs/locarchive.c (prepare_address_space): New function.
43467 (create_archive, enlarge_archive, open_archive): Use it.
43468
50604220
RM
43469 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43470 inside [SHARED], where it is used.
43471
c658d255
RM
43472 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43473
43474 * nss/getent.c (netgroup_keys): Remove unused variable.
43475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43476
6a621eb7
UD
434772011-10-08 Ulrich Drepper <drepper@gmail.com>
43478
7edb55ce
UD
43479 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43485 * math/Makefile (libm-calls): Add s_isinf_ns.
43486 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43487 * math/multc3.c: Likewise.
43488 * math/s_casin.c: Likewise.
43489 * math/s_casinf.c: Likewise.
43490 * math/s_casinl.c: Likewise.
43491 * math/s_ccos.c: Likewise.
43492 * math/s_ccosf.c: Likewise.
43493 * math/s_ccosl.c: Likewise.
43494 * math/s_ctan.c: Likewise.
43495 * math/s_ctanf.c: Likewise.
43496 * math/s_ctanh.c: Likewise.
43497 * math/s_ctanhf.c: Likewise.
43498 * math/s_ctanhl.c: Likewise.
43499 * math/s_ctanl.c: Likewise.
43500 * math/w_fmod.c: Likewise.
43501 * math/w_fmodf.c: Likewise.
43502 * math/w_fmodl.c: Likewise.
43503 * math/w_remainder.c: Likewise.
43504 * math/w_remainderf.c: Likewise.
43505 * math/w_remainderl.c: Likewise.
43506 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43507 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43510 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43511 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43512 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43513 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43514
187da0ae
UD
43515 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43516 of the number.
43517 * stdio-common/printf_fphex.c: Likewise.
43518 * stdio-common/printf_size.c: Likewise.
43519
9277c064
UD
43520 * math/e_exp10.c: Include math_private.h using <...> not "...".
43521 * math/e_exp10f.c: Likewise.
43522 * math/e_exp10l.c: Likewise.
43523 * math/e_exp2l.c: Likewise.
43524 * math/e_j0l.c: Likewise.
43525 * math/e_j1l.c: Likewise.
43526 * math/e_jnl.c: Likewise.
43527 * math/e_lgammal_r.c: Likewise.
43528 * math/e_rem_pio2l.c: Likewise.
43529 * math/e_scalb.c: Likewise.
43530 * math/e_scalbf.c: Likewise.
43531 * math/e_scalbl.c: Likewise.
43532 * math/k_cosl.c: Likewise.
43533 * math/k_sinl.c: Likewise.
43534 * math/k_tanl.c: Likewise.
43535 * math/s_cacoshf.c: Likewise.
43536 * math/s_catan.c: Likewise.
43537 * math/s_catanf.c: Likewise.
43538 * math/s_catanh.c: Likewise.
43539 * math/s_catanhf.c: Likewise.
43540 * math/s_catanhl.c: Likewise.
43541 * math/s_catanl.c: Likewise.
43542 * math/s_ccosh.c: Likewise.
43543 * math/s_ccoshf.c: Likewise.
43544 * math/s_ccoshl.c: Likewise.
43545 * math/s_cexp.c: Likewise.
43546 * math/s_cexpf.c: Likewise.
43547 * math/s_cexpl.c: Likewise.
43548 * math/s_clog.c: Likewise.
43549 * math/s_clog10.c: Likewise.
43550 * math/s_clog10f.c: Likewise.
43551 * math/s_clog10l.c: Likewise.
43552 * math/s_clogf.c: Likewise.
43553 * math/s_clogl.c: Likewise.
43554 * math/s_csin.c: Likewise.
43555 * math/s_csinf.c: Likewise.
43556 * math/s_csinh.c: Likewise.
43557 * math/s_csinhf.c: Likewise.
43558 * math/s_csinhl.c: Likewise.
43559 * math/s_csinl.c: Likewise.
43560 * math/s_csqrt.c: Likewise.
43561 * math/s_csqrtf.c: Likewise.
43562 * math/s_csqrtl.c: Likewise.
43563 * math/s_ctan.c: Likewise.
43564 * math/s_ctanf.c: Likewise.
43565 * math/s_ctanh.c: Likewise.
43566 * math/s_ctanhf.c: Likewise.
43567 * math/s_ctanhl.c: Likewise.
43568 * math/s_ctanl.c: Likewise.
43569 * math/s_ldexp.c: Likewise.
43570 * math/s_ldexpf.c: Likewise.
43571 * math/s_ldexpl.c: Likewise.
43572 * math/s_significand.c: Likewise.
43573 * math/s_significandf.c: Likewise.
43574 * math/s_significandl.c: Likewise.
43575 * math/w_acos.c: Likewise.
43576 * math/w_acosf.c: Likewise.
43577 * math/w_acosh.c: Likewise.
43578 * math/w_acoshf.c: Likewise.
43579 * math/w_acoshl.c: Likewise.
43580 * math/w_acosl.c: Likewise.
43581 * math/w_asin.c: Likewise.
43582 * math/w_asinf.c: Likewise.
43583 * math/w_asinl.c: Likewise.
43584 * math/w_atan2.c: Likewise.
43585 * math/w_atan2f.c: Likewise.
43586 * math/w_atan2l.c: Likewise.
43587 * math/w_atanh.c: Likewise.
43588 * math/w_atanhf.c: Likewise.
43589 * math/w_atanhl.c: Likewise.
43590 * math/w_cosh.c: Likewise.
43591 * math/w_coshf.c: Likewise.
43592 * math/w_coshl.c: Likewise.
43593 * math/w_dremf.c: Likewise.
43594 * math/w_exp10.c: Likewise.
43595 * math/w_exp10f.c: Likewise.
43596 * math/w_exp10l.c: Likewise.
43597 * math/w_exp2.c: Likewise.
43598 * math/w_exp2f.c: Likewise.
43599 * math/w_fmod.c: Likewise.
43600 * math/w_fmodf.c: Likewise.
43601 * math/w_fmodl.c: Likewise.
43602 * math/w_hypot.c: Likewise.
43603 * math/w_hypotf.c: Likewise.
43604 * math/w_hypotl.c: Likewise.
43605 * math/w_j0.c: Likewise.
43606 * math/w_j0f.c: Likewise.
43607 * math/w_j0l.c: Likewise.
43608 * math/w_j1.c: Likewise.
43609 * math/w_j1f.c: Likewise.
43610 * math/w_j1l.c: Likewise.
43611 * math/w_jn.c: Likewise.
43612 * math/w_jnf.c: Likewise.
43613 * math/w_jnl.c: Likewise.
43614 * math/w_lgamma.c: Likewise.
43615 * math/w_lgamma_r.c: Likewise.
43616 * math/w_lgammaf.c: Likewise.
43617 * math/w_lgammaf_r.c: Likewise.
43618 * math/w_lgammal.c: Likewise.
43619 * math/w_lgammal_r.c: Likewise.
43620 * math/w_log.c: Likewise.
43621 * math/w_log10.c: Likewise.
43622 * math/w_log10f.c: Likewise.
43623 * math/w_log10l.c: Likewise.
43624 * math/w_log2.c: Likewise.
43625 * math/w_log2f.c: Likewise.
43626 * math/w_log2l.c: Likewise.
43627 * math/w_logf.c: Likewise.
43628 * math/w_logl.c: Likewise.
43629 * math/w_pow.c: Likewise.
43630 * math/w_powf.c: Likewise.
43631 * math/w_powl.c: Likewise.
43632 * math/w_remainder.c: Likewise.
43633 * math/w_remainderf.c: Likewise.
43634 * math/w_remainderl.c: Likewise.
43635 * math/w_scalb.c: Likewise.
43636 * math/w_scalbf.c: Likewise.
43637 * math/w_scalbl.c: Likewise.
43638 * math/w_sinh.c: Likewise.
43639 * math/w_sinhf.c: Likewise.
43640 * math/w_sinhl.c: Likewise.
43641 * math/w_sqrt.c: Likewise.
43642 * math/w_sqrtf.c: Likewise.
43643 * math/w_sqrtl.c: Likewise.
43644 * math/w_tgamma.c: Likewise.
43645 * math/w_tgammaf.c: Likewise.
43646 * math/w_tgammal.c: Likewise.
43647
6a621eb7
UD
43648 * po/ja.po: Update from translation team.
43649
bf582445
AJ
436502011-09-29 Andreas Jaeger <aj@suse.de>
43651
f9efbf3a
AJ
43652 [BZ #13179]
43653 * sunrpc/netname.c (netname2host): Fix logic.
43654
bf582445
AJ
43655 [BZ #6779]
43656 [BZ #6783]
43657 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43658 correctly.
43659 * math/w_remainder.c (__remainder): Likewise.
43660 * math/w_remainderf.c (__remainderf): Likewise.
43661 * math/libm-test.inc (remainder_test): Add test cases.
43662
48693bea
AK
436632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43664
43665 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43666 sdiv_qrnnd.
43667
42622229
LD
436682011-10-07 Ulrich Drepper <drepper@gmail.com>
43669
43670 * string/test-memcmp.c: Avoid unncessary #defines.
43671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43672
093ecf92
LD
436732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43674
43675 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43676 Use new sse2 version for core i3 - i7 as it's faster
43677 than sse42 version.
43678 (bit_Prefer_PMINUB_for_stringop): New.
43679 * sysdeps/x86_64/rawmemchr.S: Update.
43680 Replace with faster SSE2 version.
43681 * sysdeps/x86_64/memrchr.S: New file.
43682 * sysdeps/x86_64/memchr.S: Update.
43683 Replace with faster SSE2 version.
43684
fde56e5c
MP
436852011-09-12 Marek Polacek <mpolacek@redhat.com>
43686
43687 * elf/dl-load.c (lose): Add cast to avoid warning.
43688
21fd49a9
UD
436892011-10-07 Ulrich Drepper <drepper@gmail.com>
43690
5a06e643
UD
43691 * po/ca.po: Update from translation team.
43692
684ae515
UD
43693 * inet/getnetgrent_r.c: Hook up nscd.
43694 * nscd/Makefile (routines): Add nscd_netgroup.
43695 (nscd-modules): Add netgroupcache.
43696 (CFLAGS-netgroupcache.c): Define.
43697 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43698 (cache_search): Add const to second parameter.
43699 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43700 INNETGR.
43701 (dbs): Add netgrdb entry.
43702 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43703 (verify_persistent_db): Handle netgrdb.
43704 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43705 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43706 GETFDNETGR.
43707 (netgroup_response_header): Define.
43708 (innetgroup_response_header): Define.
43709 (datahead): Add netgroup_response_header and innetgroup_response_header
43710 elements.
43711 * nscd/nscd.conf: Add entries for netgroup cache.
43712 * nscd/nscd.h (dbtype): Add netgrdb.
43713 (_PATH_NSCD_NETGROUP_DB): Define.
43714 (netgroup_iov_disabled): Declare.
43715 (xmalloc, xcalloc, xrealloc): Move declarations here.
43716 (cache_search): Adjust prototype.
43717 Add netgroup-related prototypes.
43718 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43719 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43720 (__nscd_innetgr): Declare.
43721 * nscd/selinux.c (perms): Use access_vector_t as element type and
43722 add netgroup-related initializers.
43723 * nscd/netgroupcache.c: New file.
43724 * nscd/nscd_netgroup.c: New file.
43725 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43726 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43727 For four parameters use innetgr.
43728 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43729 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43730 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43731 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43732
21fd49a9
UD
43733 * nscd/connections.c (register_traced_file): Don't register file
43734 for disabled databases.
43735
054c0457
UD
437362011-10-06 Ulrich Drepper <drepper@gmail.com>
43737
32b63198
UD
43738 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43739
054c0457
UD
43740 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43741 from tree and freeing node.
43742
64031225
JO
437432011-09-25 Jiri Olsa <jolsa@redhat.com>
43744
43745 * nss/nsswitch.c (__nss_database_lookup): Handle
43746 nss_parse_service_list out of memory case.
43747
0490345c
JO
437482011-09-15 Jiri Olsa <jolsa@redhat.com>
43749
43750 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43751 out of memory case.
43752
3a62d00d
AS
437532011-10-04 Andreas Schwab <schwab@redhat.com>
43754
43755 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43756 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43757 pass it down.
43758 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43759 elf_machine_rela, elf_machine_lazy_rel.
43760 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43761 (ELF_DYNAMIC_DO_REL): Likewise.
43762 (ELF_DYNAMIC_DO_RELA): Likewise.
43763 (ELF_DYNAMIC_RELOCATE): Likewise.
43764 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43765 to ELF_DYNAMIC_DO_REL.
43766 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43767 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43768 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43769 elf_machine_rela.
43770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43771 skip_ifunc, don't call ifunc function if non-zero.
43772 (elf_machine_rela): Likewise.
43773 (elf_machine_lazy_rel): Likewise.
43774 (elf_machine_lazy_rela): Likewise.
43775 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43776 (elf_machine_lazy_rel): Likewise.
43777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43778 Likewise.
43779 (elf_machine_lazy_rel): Likewise.
43780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43781 Likewise.
43782 (elf_machine_lazy_rel): Likewise.
43783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43784 (elf_machine_lazy_rel): Likewise.
43785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43786 (elf_machine_lazy_rel): Likewise.
43787 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43788 (elf_machine_lazy_rel): Likewise.
43789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43790 (elf_machine_lazy_rel): Likewise.
43791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43792 (elf_machine_lazy_rel): Likewise.
43793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43794 (elf_machine_lazy_rel): Likewise.
43795
68577918
UD
437962011-09-28 Ulrich Drepper <drepper@gmail.com>
43797
43798 * nss/nss_files/files-init.c (_nss_files_init): Use static
43799 initialization for all the *_traced_file variables.
43800
68822d74
AS
438012011-09-28 Andreas Schwab <schwab@redhat.com>
43802
43803 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43804
2056100b
RM
438052011-09-27 Roland McGrath <roland@hack.frob.com>
43806
43807 [BZ #13226]
43808 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43809
32c76b63
AS
438102011-09-27 Andreas Schwab <schwab@redhat.com>
43811
43812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43813 Reread the line before reparsing it.
43814
bf972c9d
AS
438152011-09-26 Andreas Schwab <schwab@redhat.com>
43816
43817 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43818
e057a1b5
JM
438192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43820 Maxim Kuvyrkov <maxim@codesourcery.com>
43821 Joseph Myers <joseph@codesourcery.com>
43822
43823 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43824 if needed for __stack_chk_guard.
43825
bc7e1c36
RM
438262011-09-19 Roland McGrath <roland@hack.frob.com>
43827
ecb1482f
RM
43828 * sysdeps/posix/spawni.c (script_execute): Always define it.
43829 It will be optimized away if unused.
43830 (maybe_script_execute): New function.
43831 (__spawni): Call it.
43832
bc7e1c36
RM
43833 * Makerules: Don't include tls.make.
43834 (config-tls): Always set to thread.
43835 * tls.make.c: File removed.
43836
1c3b002b
MF
438372011-09-19 Mike Frysinger <vapier@gentoo.org>
43838
43839 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43840 * config.make.in (CPPFLAGS-config): New substituted variable.
43841
2840865d
UD
438422011-09-15 Ulrich Drepper <drepper@gmail.com>
43843
88738eb6
UD
43844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43845
cbf645a6 43846 [BZ #13192]
2840865d
UD
43847 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43848 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43849
b402e91a
RM
438502011-09-15 Roland McGrath <roland@hack.frob.com>
43851
43852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43853 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43855 (CALL_FAIL): Likewise.
43856 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43857 (CALL_FAIL): Macro removed.
43858 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43859
4c1a1f71
UD
438602011-09-15 Ulrich Drepper <drepper@gmail.com>
43861
43862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43863 for __FINITE_MATH_ONLY__ == 1.
43864
edc121be
AS
438652011-09-15 Andreas Schwab <schwab@redhat.com>
43866
43867 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43868 __ieee754_sqrt instead of sqrt.
43869 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43870 __ieee754_sqrtf instead of sqrtf.
43871 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43872 __floorf instead of floorf.
43873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43874 __floorf, __truncf instead of floorf, truncf.
43875
cd205654
UD
438762011-09-14 Ulrich Drepper <drepper@gmail.com>
43877
ee4d0315
UD
43878 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43879
cd205654
UD
43880 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43881 __extern_always_inline.
43882 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43883 32-bit.
43884
48b67d71
AS
438852011-09-14 Andreas Schwab <schwab@redhat.com>
43886
43887 * elf/rtld.c (dl_main): Also relocate in dependency order when
43888 doing symbol dependency testing.
43889
1ae12c75
AS
438902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43891
43892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43893 Always define `refsym'.
43894
995a80df
AS
438952011-09-13 Andreas Schwab <schwab@redhat.com>
43896
e529793b
AS
43897 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43898 (__FD_ELT): Renamed from __FDELT.
43899 * misc/bits/select2.h (__FD_ELT): Likewise.
43900 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43901 __FD_MASK instead of __FDELT, __FDMASK.
43902 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43903 Likewise.
43904 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43905 Likewise.
43906
52d4fef8
AS
43907 * elf/Makefile (gen-ldd): Fix pattern.
43908
995a80df
AS
43909 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43910 (init_tls): Likewise.
43911
8682f8b0
UD
439122011-09-12 Ulrich Drepper <drepper@gmail.com>
43913
43914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43915
de82006d
AS
439162011-09-12 Andreas Schwab <schwab@redhat.com>
43917
a7c8e6a1
AS
43918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43919 `struct cmsghdr *' instead of `void *'.
43920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43921 Likewise.
43922
0f31fe77
AS
439232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43924
43925 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43926 if non-absolute.
43927 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43928 ldd_rewrite_script.
0f31fe77 43929
32b4c839
UD
439302011-09-11 Ulrich Drepper <drepper@gmail.com>
43931
83cd1420
UD
43932 * configure.in: Remove --with-tls option.
43933 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43934 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43935 out in case it is missing.
43936 * sysdeps/ia64/elf/configure.in: Likewise.
43937 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43938 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43939 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43940 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43941 * sysdeps/sh/elf/configure.in: Likewise.
43942 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43943 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43944 * sysdeps/x86_64/elf/configure.in: Likewise.
43945 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43946 * sysdeps/mach/hurd/tls.h: Likewise.
43947
633f745d
UD
43948 [BZ #13067]
43949 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43950
f318beb8
UD
43951 [BZ #13090]
43952 * configure.in: Fix use of AC_INIT.
43953
32b4c839
UD
43954 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43955
3ce1f295
UD
439562011-09-10 Ulrich Drepper <drepper@gmail.com>
43957
bb016596
UD
43958 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43959 __set_errno.
8e58439c
UD
43960 * malloc/hooks.c: Likewise.
43961
aebae053 43962 [BZ #11929]
02d46fc4
UD
43963 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43964 variables statically.
43965 (narenas): Initialize.
43966 (list_lock): Initialize.
bb016596
UD
43967 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43968 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
43969 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43970 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43971 Add initializers to main_arena and mp_.
43972 (malloc_state): Remove pagesize member. Change all users to use
43973 GLRO(dl_pagesize).
43974
43975 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43976 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43977 is always initialized.
43978
22a89187
UD
43979 * malloc/malloc.c: Removed unused configurations and dead code.
43980 * malloc/arena.c: Likewise.
43981 * malloc/hooks.c: Likewise.
02d46fc4 43982 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 43983
d063d164
UD
43984 * include/tls.h: Removed. USE___THREAD must always be defined.
43985 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43986 * elf/dl-libc.c: Likewise.
43987 * elf/dl-tsd.c: Likewise.
43988 * include/errno.h: Likewise.
43989 * include/netdb.h: Likewise.
43990 * include/resolv.h: Likewise.
43991 * inet/herrno-loc.c: Likewise.
43992 * inet/herrno.c: Likewise.
43993 * malloc/arena.c: Likewise.
43994 * malloc/hooks.c: Likewise.
43995 * malloc/malloc.c: Likewise.
43996 * resolv/res-state.c: Likewise.
43997 * resolv/res_libc.c: Likewise.
43998 * sysdeps/i386/dl-machine.h: Likewise.
43999 * sysdeps/ia64/dl-machine.h: Likewise.
44000 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44001 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44002 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44003 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44004 * sysdeps/sh/dl-machine.h: Likewise.
44005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44007 * sysdeps/unix/i386/sysdep.S: Likewise.
44008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44009 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44014 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44018 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44019 * sysdeps/x86_64/dl-machine.h: Likewise.
44020 * tls.make.c: Likewise.
44021
3ce1f295
UD
44022 * configure.in: Remove --with-__thread option. Make tests for
44023 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44024 tls_model attribute fail if no support is available. Remove
44025 USE_IN_LIBIO.
44026 * Makeconfig: Adjust for dropped configure option. All features are
44027 now mandatory.
44028 * Makerules: Likewise.
44029 * Versions.def: Likewise.
44030 * argp/argp-fmtstream.c: Likewise.
44031 * argp/argp-fmtstream.h: Likewise.
44032 * argp/argp-help.c: Likewise.
44033 * assert/assert.c: Likewise.
44034 * config.h.in: Likewise.
44035 * config.make.in: Likewise.
44036 * configure: Likewise.
44037 * configure.in: Likewise.
44038 * csu/Versions: Likewise.
44039 * csu/init.c: Likewise.
44040 * elf/tst-audit2.c: Likewise.
44041 * elf/tst-tls10.c: Likewise.
44042 * elf/tst-tls10.h: Likewise.
44043 * elf/tst-tls11.c: Likewise.
44044 * elf/tst-tls12.c: Likewise.
44045 * elf/tst-tls14.c: Likewise.
44046 * elf/tst-tlsmod11.c: Likewise.
44047 * elf/tst-tlsmod12.c: Likewise.
44048 * elf/tst-tlsmod13.c: Likewise.
44049 * elf/tst-tlsmod13a.c: Likewise.
44050 * elf/tst-tlsmod14a.c: Likewise.
44051 * elf/tst-tlsmod15b.c: Likewise.
44052 * elf/tst-tlsmod16a.c: Likewise.
44053 * elf/tst-tlsmod16b.c: Likewise.
44054 * elf/tst-tlsmod7.c: Likewise.
44055 * elf/tst-tlsmod8.c: Likewise.
44056 * elf/tst-tlsmod9.c: Likewise.
44057 * gmon/gmon.c: Likewise.
44058 * grp/fgetgrent_r.c: Likewise.
44059 * grp/putgrent.c: Likewise.
44060 * hurd/fopenport.c: Likewise.
44061 * include/libc-symbols.h: Likewise.
44062 * include/tls.h: Likewise.
44063 * intl/gettextP.h: Likewise.
44064 * intl/loadinfo.h: Likewise.
44065 * locale/global-locale.c: Likewise.
44066 * locale/localeinfo.h: Likewise.
44067 * mach/devstream.c: Likewise.
44068 * malloc/arena.c: Likewise.
44069 * malloc/set-freeres.c: Likewise.
44070 * misc/err.c: Likewise.
44071 * misc/getttyent.c: Likewise.
44072 * misc/mntent_r.c: Likewise.
44073 * posix/getopt.c: Likewise.
44074 * posix/wordexp.c: Likewise.
44075 * pwd/fgetpwent_r.c: Likewise.
44076 * resolv/Versions: Likewise.
44077 * resolv/res_hconf.c: Likewise.
44078 * shadow/fgetspent_r.c: Likewise.
44079 * shadow/putspent.c: Likewise.
44080 * stdio-common/printf_fphex.c: Likewise.
44081 * stdio-common/tmpfile.c: Likewise.
44082 * stdlib/abort.c: Likewise.
44083 * stdlib/fmtmsg.c: Likewise.
44084 * sunrpc/auth_unix.c: Likewise.
44085 * sunrpc/clnt_perr.c: Likewise.
44086 * sunrpc/clnt_tcp.c: Likewise.
44087 * sunrpc/clnt_udp.c: Likewise.
44088 * sunrpc/clnt_unix.c: Likewise.
44089 * sunrpc/openchild.c: Likewise.
44090 * sunrpc/svc_simple.c: Likewise.
44091 * sunrpc/svc_tcp.c: Likewise.
44092 * sunrpc/svc_udp.c: Likewise.
44093 * sunrpc/svc_unix.c: Likewise.
44094 * sunrpc/xdr.c: Likewise.
44095 * sunrpc/xdr_array.c: Likewise.
44096 * sunrpc/xdr_rec.c: Likewise.
44097 * sunrpc/xdr_ref.c: Likewise.
44098 * sunrpc/xdr_stdio.c: Likewise.
44099
1248c1c4
PB
441002011-09-09 Ulrich Drepper <drepper@gmail.com>
44101
44102 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44103
441042011-07-03 Andreas Jaeger <aj@suse.de>
44105
44106 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44107 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44108 regenerate with gen-libm-tests.pl.
44109
441102010-05-12 Petr Baudis <pasky@suse.cz>
44111
44112 [BZ #11589]
44113 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44114 around j0() zero points by switching to j1().
44115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44119
f22e1074
UD
441202011-09-09 Ulrich Drepper <drepper@gmail.com>
44121
f19009c1
UD
44122 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44123 instead of 0.
44124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44125 instead of 0.
f19009c1
UD
44126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44127 Patch in part by Pavel Roskin <proski@gnu.org>.
44128
3f8cc204
UD
44129 [BZ #13138]
44130 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44131 realloc.
44132 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44133 Free memory block if necessary.
44134
f22e1074
UD
44135 [BZ #12847]
44136 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44137 be NULL. Don't lock in this case.
44138
0a2349f9
RM
441392011-09-09 Roland McGrath <roland@hack.frob.com>
44140
44141 * elf/elf.h (ELFOSABI_GNU): New macro.
44142 (ELFOSABI_LINUX): Define to that.
44143
f3cdd467
DZ
441442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44145
44146 * string/strncat.c (strncat): Undef the symbol in case it has been
44147 defined in bits/string.h.
44148
74718d13
UD
441492011-09-09 Ulrich Drepper <drepper@gmail.com>
44150
633e9e0f
UD
44151 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44152
0a2349f9 44153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44154 link map.
44155
f9924780
AJ
441562011-08-17 Andreas Jaeger <aj@suse.de>
44157
44158 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44159
7f5517aa
PP
441602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44161 Ian Lance Taylor <iant@google.com>
44162
44163 * math/libm-test.inc (lround_test): New testcase.
44164 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44165
762011fe
UD
441662011-09-08 Ulrich Drepper <drepper@gmail.com>
44167
92963737
UD
44168 * Makefile: Remove support for automatic cvs check-ins.
44169 * Makerules: Likewise.
44170 * config.make.in: Likewise.
44171 * configure.in: Likewise.
44172 * intl/Makefile: Likewise.
44173 * locale/Makefile: Likewise.
44174 * po/Makefile: Likewise.
44175 * posix/Makefile: Likewise.
44176 * sysdeps/gnu/Makefile: Likewise.
44177 * sysdeps/mach/hurd/Makefile: Likewise.
44178 * sysdeps/sparc/sparc32/Makefile: Likewise.
44179
b0727fd8
JS
44180 [BZ #13118]
44181 * posix/Makefile (bug-regex32-ENV): Define.
44182 Patch by John Stanley <jpsinthemix@verizon.net>.
44183
a0f33f99
UD
44184 * misc/Makefile (headers): Add bits/select2.h.
44185 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44186 * misc/bits/select2.h: New file.
44187 * include/bits/select2.h: New file.
44188 * debug/Makefile (routines): Add fdelt_chk.
44189 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44190 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44191 FD_ISSET.
44192 * debug/fdelt_chk.c: New file.
44193
762011fe
UD
44194 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44195 * wcsmbs/test-wmemcmp.c: Likewise.
44196 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44197 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44198
441992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44200
44201 * string/Makefile (strop-tests): Add memcmp.
44202 * string/test-wmemcmp.c: New file.
44203 * string/test-memcmp.c: Add wmemcmp support.
44204
7f513ec8
RM
442052011-09-08 Roland McGrath <roland@hack.frob.com>
44206
0442afb4
RM
44207 [BZ #13153]
44208 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44209 2011-07-19 change.
44210
7f513ec8
RM
44211 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44212 garbage value in a __mach_port_mod_refs call in the cases of the
44213 task-self and thread-self ports.
44214
a12b2239
ST
442152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44216
44217 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44218
610f9ab4
AS
442192011-09-08 Andreas Schwab <schwab@redhat.com>
44220
7f513ec8 44221 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44222
48882a1a
LD
442232011-09-07 Ulrich Drepper <drepper@gmail.com>
44224
b49865be
UD
44225 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44226
fdc86bc9
UD
44227 * elf/dl-libc.c (dlerror_run): Pass back error code from
44228 dl_catch_error.
44229
c966526a
UD
44230 [BZ #13123]
44231 * elf/dl-load.c (lose): Free l_origin if it is valid.
44232
48882a1a
LD
44233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44234 names.
44235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44239 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44240 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44241
77a2a8b4
AZ
442422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44243
44244 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44245 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44248 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44249 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44250 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44251 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44252 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44253 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44254
24f579d8
AM
442552011-08-15 Alan Modra <amodra@gmail.com>
44256
44257 [BZ #13092]
44258 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44259 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44260 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44261 ppc_mcount to static-only-routines.
44262 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44263 __mcount_internal.
44264 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44265 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44266
3d4837df
UD
442672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44268
44269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44270 for finite and infinity parameters.
44271
22700377
WS
442722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44273
44274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44275 and add nop instructions for throughput optimization.
44276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44277
5025581e
WS
442782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44279
44280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44281 aligned copy for power7 with vector-scalar instructions.
44282 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44283
08a300c9
L
442842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44285
44286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44287 AVX check.
44288
59178ef9
AS
442892011-09-07 Andreas Schwab <schwab@redhat.com>
44290
44291 [BZ #13144]
44292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44293 last change.
44294
e38ba7ab
UD
442952011-09-07 Ulrich Drepper <drepper@gmail.com>
44296
44297 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44298 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44299 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44301 clock_gettime.
44302
d53a73ac
UD
443032011-09-06 Ulrich Drepper <drepper@gmail.com>
44304
fc8bffcc
UD
44305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44306 Forgot to demangle the pointer.
44307
ceaa0c5d
UD
44308 * sysdeps/i386/sysdep.h: Define atom_text_section.
44309 * sysdeps/x86_64/sysdep.h: Likewise.
44310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44311 section with atom_text_section.
44312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44317
a77d3c17
UD
44318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44319 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44320 already be defined. Change to take two parameters and don't assign
44321 result to variable. Adjust all users.
44322 Define INTERNAL_GETTIME if not already defined.
44323 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44324 call.
44325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44326 HAVE_CLOCK_GETTIME_VSYSCALL.
44327 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44328
d53a73ac
UD
44329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44330 gettimeofday vsyscall, just use time.
44331
a8f84144
AS
443322011-09-06 Andreas Schwab <schwab@redhat.com>
44333
44334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44335 <errno.h>.
44336
ef606249
UD
443372011-09-06 Ulrich Drepper <drepper@gmail.com>
44338
44339 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44340 syscall on x86-64.
44341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44342 syscall.
44343 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44345 syscall if possible.
44346
6585cb60
UD
443472011-09-05 Ulrich Drepper <drepper@gmail.com>
44348
44349 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44350 e_ident. Don't pass to find_mapsXX.
44351 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44352
a5f524e4
LD
443532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44354
44355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44356 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44357 * sysdeps/x86_64/multiarch/strchr.S: Update.
44358 Check bit_slow_BSF bit.
44359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44361 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44362
554881ef
UD
443632011-09-05 Ulrich Drepper <drepper@gmail.com>
44364
d96de963
UD
44365 [BZ #13134]
44366 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44367 before glibc 2.15.
44368 (tryshell): Define.
44369 (__spawni): Change last parameter to be flag. Test
44370 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44371 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44372 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44373 * posix/spawni.c: Likewise.
44374 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44375 * posix/spawnp.c: Likewise. Change normal version to use
44376 SPAWN_XFLAGS_USE_PATH.
44377 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44378 SPAWN_XFLAGS_TRY_SHELL.
44379
d48e5868
UD
44380 [BZ #13150]
44381 * posix/glob.h: Remove gcc 1.x support.
44382
554881ef
UD
44383 [BZ #13068]
44384 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44385
693fb948
LD
443862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44387
44388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44389 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44390 strrchr-sse2-bsf
44391 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44392 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44397
1b48c537
UD
443982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44399
49d42c37
UD
44400 * sysdeps/x86_64/wcscmp.S: New file.
44401
1b48c537
UD
44402 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44403 wcscmp-c wcscmp-sse2
44404 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44405 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44406 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44407 * wcsmbs/wcscmp.c: Allow renaming.
44408
15c95c5d
DM
444092011-09-05 David S. Miller <davem@davemloft.net>
44410
44411 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44412 stack slot, rather than the struct return pointer slot.
44413 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44414 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44416 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44417
2f0ad8f3
UD
444182011-09-05 Ulrich Drepper <drepper@gmail.com>
44419
d88ae418
UD
44420 * po/ja.po: Update from translation team.
44421
2f0ad8f3
UD
44422 [BZ #13144]
44423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44424 kernel in 64-bit binaries.
44425
5f4318d1
DM
444262011-09-01 David S. Miller <davem@davemloft.net>
44427
44428 * elf/elf.h (HWCAP_SPARC_*): Move to..
44429 * sysdeps/sparc/sysdep.h: this new file and add new values.
44430 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44431 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44432 _DL_HWCAP_COUNT to 24.
44433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44434 entries.
44435 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44436 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44437 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44439 instead of magic constants.
44440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44441
3ba57516
DM
444422011-08-31 David S. Miller <davem@davemloft.net>
44443
44444 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44446 Reimplement to do errno handling inline.
44447 (SYSCALL_ERROR_HANDLER): New macro.
44448 (__SYSCALL_STRING): Do not do errno handling in asm.
44449 (__CLONE_SYSCALL_STRING): Delete.
44450 (__INTERNAL_SYSCALL_STRING): Delete.
44451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44452 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44453 (PSEUDO): Reimplement to do errno handling inline.
44454 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44455 (SYSCALL_ERROR_HANDLER): New macro.
44456 (__SYSCALL_STRING): Do not do errno handling in asm.
44457 (__CLONE_SYSCALL_STRING): Delete.
44458 (__INTERNAL_SYSCALL_STRING): Delete.
44459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44460 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44461 i386.
44462 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44463 (inline_syscall*): Add 'err' argument.
44464 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44465 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44466 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44467 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44468
44469 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44470 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44471
2bc17433
AS
444722011-08-30 Andreas Schwab <schwab@redhat.com>
44473
44474 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44475
fbeb5f4d
JO
444762011-08-29 Jiri Olsa <jolsa@redhat.com>
44477
44478 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44479 directive.
44480
ad69cc26
DM
444812011-08-24 David S. Miller <davem@davemloft.net>
44482
44483 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44484
39dd69df
AS
444852011-08-24 Andreas Schwab <schwab@redhat.com>
44486
44487 * elf/Makefile: Add rules to build and run unload8 test.
44488 * elf/unload8.c: New file.
44489 * elf/unload8mod1.c: New file.
44490 * elf/unload8mod1x.c: New file.
44491 * elf/unload8mod2.c: New file.
44492 * elf/unload8mod3.c: New file.
44493
44494 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44495 it wasn't used.
44496
2c0b250a
DM
444972011-08-23 David S. Miller <davem@davemloft.net>
44498
44499 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44500 subtract stack bias.
44501 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44502 %sp not %fp in calculations.
44503 (_JMPBUF_UNWINDS_ADJ): Likewise.
44504
22044b48
DM
44505 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44506 (aio_suspend): Call it to force an exception region around the
44507 AIO_MISC_WAIT() invocation.
44508
2cae4995
AS
445092011-08-23 Andreas Schwab <schwab@redhat.com>
44510
44511 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44512 backslash.
44513
873a772e
AJ
445142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44515
44516 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44517 protection macro.
44518 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44519 and <dl-machine.h>.
44520 (Elf64_FuncDesc): Remove.
44521
25ad0df1
DM
445222011-08-22 David S. Miller <davem@davemloft.net>
44523
44524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44525 sigaltstack check, add missing cfi directives.
44526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44527 missing cfi directives, and sigaltstack handling.
44528
e888bcbe
AS
445292011-08-16 Andreas Schwab <schwab@redhat.com>
44530
44531 [BZ #11724]
44532 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44533 object is seen twice.
44534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44535
44536 * elf/Makefile (distribute): Add tst-initorder2.c.
44537 (tests): Add tst-initorder2.
44538 (modules-names): Add tst-initorder2a tst-initorder2b
44539 tst-initorder2c tst-initorder2d. Add rules to build them.
44540 ($(objpfx)tst-initorder2.out): New rule.
44541 * elf/tst-initorder2.c: New file.
44542 * elf/tst-initorder2.exp: New file.
44543
87162f46
AS
445442011-08-22 Andreas Schwab <schwab@redhat.com>
44545
70538b7f
AS
44546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44547
f55ffe58
AS
44548 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44549 dependencies back to end of function.
44550
87162f46
AS
44551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44552 $(elfobjdir)/ld.so.
44553
91b392a4
UD
445542011-08-21 Ulrich Drepper <drepper@gmail.com>
44555
44556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44557 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44559 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44560 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44561 of __vdso_gettimeofday.
44562 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44563 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44564 attribute_hidden.
44565 (_libc_vdso_platform_setup): Remove initialization of
44566 __vdso_gettimeofday and __vdso_time.
44567
5c43483f
UD
445682011-08-20 Ulrich Drepper <drepper@gmail.com>
44569
775a77e7
UD
44570 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44571 and fgetc_unlocked.
44572 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44573 getc_unlocked.
89f447ed 44574
49c74ba9
UD
44575 * elf/dl-open.c (add_to_global): Report additions to the global scope
44576 for LD_DEBUG=scopes.
44577 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44578 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44579
5c43483f
UD
44580 [BZ #13114]
44581 * stdio-common/Makefile (tests): Add bug24.
44582 * stdio-common/bug24.c: New file.
44583
a101b025
AJ
445842011-08-19 Andreas Jaeger <aj@suse.de>
44585
44586 [BZ #13114]
44587 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44588 non-existant file when using close-on-exec mode.
44589
c88f1766
UD
445902011-08-20 Ulrich Drepper <drepper@gmail.com>
44591
0276a718
UD
44592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44593 the very first instruction.
44594
c88f1766
UD
44595 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44596 the CFI state in the end.
44597 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44598 inclusion of dl-trampoline.h.
44599 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44600
51ccffa0
AS
446012011-08-19 Andreas Schwab <schwab@redhat.com>
44602
94d7165f
AS
44603 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44604 expectations for long double.
44605
51ccffa0
AS
44606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44607 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44608
fd708658 446092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44610
44611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44612 artificual limit depends upon the system page size.
44613
44f0a71e
UD
446142011-08-17 Ulrich Drepper <drepper@gmail.com>
44615
44616 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44617 * resolv/Makefile: Define CFLAGS-libresolv.
44618
8de79a24
AS
446192011-08-17 Andreas Schwab <schwab@redhat.com>
44620
44621 * nss/makedb.c (compute_tables): Make variables used in nested
44622 function static.
44623
27724598
UD
446242011-08-17 Ulrich Drepper <drepper@gmail.com>
44625
c5305d88
UD
44626 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44627 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44628 if buffer was too small.
44629
27724598
UD
44630 * elf/pldd.c (main): Attach to all threads in the process.
44631 Rewrite /proc handling to use *at functions.
44632
076fe015
UD
446332011-08-16 Ulrich Drepper <drepper@gmail.com>
44634
174baab3
UD
44635 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44636 specifies first scope to show.
44637 (dl_open_worker): Update callers. Move printing scope of new
44638 object to before the relocation.
44f0a71e 44639 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44640 * sysdeps/generic/ldsodefs.h: Update declaration.
44641
076fe015
UD
44642 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44643 string for the scope number.
44644
a60df2c3
UD
446452011-08-14 Ulrich Drepper <drepper@gmail.com>
44646
44647 * nscd/servicescache.c (cache_addserv): Make sure written is always
44648 initialized.
44649
5e4287d1
RM
446502011-08-14 Roland McGrath <roland@hack.frob.com>
44651
85ae0589
RM
44652 * sysdeps/i386/i486/bits/atomic.h
44653 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44654 statement expression, so as to suppress "set but not used" warning.
44655 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44656
69f63097
RM
44657 * string/strncat.c (STRNCAT): Use prototype definition.
44658
675456ef
RM
44659 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44660 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44661 -Iprograms here.
44662 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44663 (localedef-modules): Add localedef.
44664 (locale-modules): Add locale.
44665
5e4287d1
RM
44666 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44667 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44668 to avoid a warning.
44669
9c96ff23
DM
446702011-08-14 David S. Miller <davem@davemloft.net>
44671
44672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44673 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44674
f9ddf089
UD
446752011-08-13 Ulrich Drepper <drepper@gmail.com>
44676
44f0a71e 44677 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44678 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44679 * elf/rtld.c (dl_main): Set l_name of vDSO.
44680 Call _dl_show_scope when DL_DEBUG_SCOPES.
44681 (process_dl_debug): Recognize scopes flag and also set it for all.
44682 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44683 Declare _dl_show_scope.
44684
1dc27704
UD
44685 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44686 (do_dlopen): Pass caller_dlopen to dl_open.
44687 (__libc_dlopen_mode): Initialize caller_dlopen.
44688
f9ddf089
UD
44689 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44690 of libc. Make tolower call locale-independent. Optimize a bit by
44691 using isdigit instead of isalnum.
44692 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44693
9ac533d3
UD
446942011-08-12 Ulrich Drepper <drepper@gmail.com>
44695
44696 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44697 was a dependency or dynamically loaded.
44698
89edf2e9
UD
446992011-08-11 Ulrich Drepper <drepper@gmail.com>
44700
8e999d29
UD
44701 * intl/l10nflist.c: Allow architecture-specific pop function.
44702 * sysdeps/x86_64/l10nflist.c: New file.
44703
89edf2e9
UD
44704 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44705 classification.
44706
14d96785
AS
447072011-08-10 Andreas Schwab <schwab@redhat.com>
44708
44709 * include/dirent.h: Add libc_hidden_proto for scandirat and
44710 scandirat64. Don't declare __scandirat64.
44711 * dirent/scandirat.c: Add libc_hidden_def.
44712 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44713 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44714
6761ac04
DM
447152011-08-10 David S. Miller <davem@davemloft.net>
44716
44717 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44718 enum.
44719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44722
c55fbd1e
UD
447232011-08-09 Ulrich Drepper <drepper@gmail.com>
44724
44725 * Versions.def [libc]: Add GLIBC_2.15.
44726 * dirent/Makefile (routines): Add scandirat and scandirat64.
44727 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44728 GLIBC_2.15.
44729 * dirent/dirent.h: Declare scandirat and scandirat64.
44730 * dirent/scandirat.c: New file.
44731 * dirent/scandirat64.c: New file.
44732 * sysdeps/wordsize-64/scandirat.c: New file.
44733 * sysdeps/wordsize-64/scandirat64.c: New file.
44734 * dirent/opendir.c: Define opendirat.
44735 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44736 using scandirat.
44737 * dirent/scandir64.c: Adjust for scandir.c change.
44738 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44739 __scandirat64, and __scandir_cancel_handler.
44740 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44741 additional parameter and use openat instead of open (outside of ld.so).
44742 Add new __opendir as wrapper around __opendirat.
44743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44744 here without requiring old scandirat implementation.
44745
879165f2
UD
447462011-08-08 Ulrich Drepper <drepper@gmail.com>
44747
44748 * dirent/scandir.c (cancel_handler): Renamed to
44749 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44750 defined. Adjust users.
44751 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44753
cb7e923b
UD
447542011-08-04 Ulrich Drepper <drepper@gmail.com>
44755
16292edd
UD
44756 * string/test-string.h (IMPL): Use __STRING to expand name and then
44757 stringify it.
44758
cb7e923b
UD
44759 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44760 of cleanups.
44761
cff82933
LD
447622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44763
44764 * string/Makefile: Update.
44765 (strop-tests): Append strncat.
44766 * string/test-wcscmp.c: New file.
44767 New comprehensive test for wcscmp.
44768 * string/test-strcmp.c: Update.
44769 (WIDE): New define.
44770
9be9bfcc
AS
447712011-07-22 Andreas Schwab <schwab@redhat.com>
44772
44773 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44774 line.
44775
2e96f1c7
AS
447762011-07-26 Andreas Schwab <schwab@redhat.com>
44777
44778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44779 encoding to ACE if AI_IDN.
44780
85188888
JJ
447812011-08-01 Jakub Jelinek <jakub@redhat.com>
44782
44783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44784 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44785
5fa16e9b
LD
447862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44787
44788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44789 Fix overflow bug in strncat.
44790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44791
44792 * string/test-strncat.c: Update.
44793 Add new tests for checking overflow bugs.
44794
447952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44796
44797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44798 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44799 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44800 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44802 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44803 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44804 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44805 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44806
44807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44808 (USE_AS_STRCAT): Define.
44809 Add strcat and strncat support.
44810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44811
8c1a459f
AS
448122011-07-25 Andreas Schwab <schwab@redhat.com>
44813
44814 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44815 __n bigger than INT_MAX+1.
44816 (__strncmp_g): Likewise.
44817
bba33c28
UD
448182011-07-23 Ulrich Drepper <drepper@gmail.com>
44819
798be72d
UD
44820 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44821 * libio/stido.h: Likewise.
44822
8accd4dc
UD
44823 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44824 (AF_NFC): Define.
44825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44826 (AF_NFC): Define.
44827
cbff0d96
UD
44828 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44833
9191c04a
UD
44834 [BZ #13021]
44835 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44836 installed.
44837
bba33c28
UD
44838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44839 typo.
44840 (_dl_x86_64_save_sse): Likewise.
44841
90f139dd
UD
448422011-07-22 Ulrich Drepper <drepper@gmail.com>
44843
1aae088a
UD
44844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44845 OSXSAVE.
44846 (_dl_x86_64_save_sse): Likewise.
44847
8e2045f5
UD
44848 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44849
90f139dd
UD
44850 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44851
1d002f25
AS
448522011-07-21 Andreas Schwab <schwab@redhat.com>
44853
44854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44855 change.
44856 (_dl_x86_64_save_sse): Use correct AVX check.
44857
21137f89
UD
448582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44859
44860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44861 bug in strncpy/strncat.
44862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44863
a65c0b7a
UD
448642011-07-21 Ulrich Drepper <drepper@gmail.com>
44865
44866 * string/tester.c (test_strcat): Add tests for different alignments
44867 of source and destination.
44868 (test_strncat): Likewise.
44869
6986b98a
UD
448702011-07-20 Ulrich Drepper <drepper@gmail.com>
44871
90bb2039
UD
44872 [BZ #12852]
44873 * posix/glob.c (glob): Check passed in values before using them in
44874 expressions to avoid some overflows.
44875 (glob_in_dir): Likewise.
44876
5644ef54
UD
44877 [BZ #13007]
44878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44879 check for AVX enablement so that we don't crash with old kernels and
44880 new hardware.
44881 * elf/tst-audit4.c: Add same checks here.
44882 * elf/tst-audit6.c: Likewise.
44883
44884 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44885
bfc9dc9b
AS
448862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44887
44888 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44889
702e64bb
UD
448902011-07-20 Ulrich Drepper <drepper@gmail.com>
44891
44892 * po/cs.po: Update from translation team.
44893 * po/bg.po: Likewise.
44894
295e904f
MP
448952011-07-12 Marek Polacek <mpolacek@redhat.com>
44896
44897 * misc/sys/cdefs.h: Add support for const attribute.
44898 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44899 to gnu_dev_{major,minor,makedev} functions.
44900
3ff94596
MP
449012011-07-20 Marek Polacek <mpolacek@redhat.com>
44902
44903 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44904
28b59fca
AS
449052011-07-20 Andreas Schwab <schwab@redhat.com>
44906
44907 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44908 strlen results.
44909
19df733e
AK
449102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44911
44912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44913 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44914 register in order to avoid conflicts with the soft frame pointer
44915 being held in r11 when necessary.
44916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44917 (INTERNAL_VSYSCALL_NCS): Likewise.
44918
c8835729
MP
449192011-07-14 Marek Polacek <mpolacek@redhat.com>
44920
44921 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44922 * elf/dl-fini.c (_dl_fini): Adjust caller.
44923 * elf/dl-close.c (_dl_close_worker): Likewise.
44924 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44925
b902330c
MP
449262011-07-15 Marek Polacek <mpolacek@redhat.com>
44927
8991e135
MP
44928 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44929 "aux_cache->nlibs < 0".
44930
b902330c
MP
44931 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44932 in the reload-count case.
44933
99710781
LD
449342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44935
44936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44937 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44938 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44939 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44940 * sysdeps/x86_64/multiarch/strcat.S: New file.
44941 * sysdeps/x86_64/multiarch/strncat.S: New file.
44942 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44944 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44945 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44947 (USE_AS_STRCAT): Define.
44948 Add strcat and strncat support.
44949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44952 * string/strncat.c: Update.
44953 (USE_AS_STRNCAT): Define.
44954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44955 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44956 and i7.
44957 * sysdeps/x86_64/multiarch/init-arch.h
44958 (bit_Prefer_PMINUB_for_stringop): New.
44959 (index_Prefer_PMINUB_for_stringop): Likewise.
44960 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44961 bit_Prefer_PMINUB_for_stringop.
44962
7dc6bd90
UD
449632011-07-19 Ulrich Drepper <drepper@gmail.com>
44964
44965 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44966 buffer64.
44967 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44968 of casting of buffer.
44969 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44970 buffer32 and buffer64.
44971 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44972 writes instead of casting of buffer.
44973 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44974 buffer32.
44975 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44976 casting of buffer.
44977
e0e72284
AS
449782011-07-19 Andreas Schwab <schwab@redhat.com>
44979
44980 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44981
feb1eb0b
UD
449822011-07-19 Ulrich Drepper <drepper@gmail.com>
44983
44984 * nscd/nscd.c (termination_handler): Don't do anything for a database
44985 if it has not yet been initialized.
44986
298711ff
UD
449872011-07-18 Ulrich Drepper <drepper@gmail.com>
44988
44989 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44990
449912011-07-15 Marek Polacek <mpolacek@redhat.com>
44992
44993 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44994
f9d68389
UD
449952011-07-18 Ulrich Drepper <drepper@gmail.com>
44996
44997 * po/nl.po: Update from translation team.
44998 * po/sv.po: Likewise.
44999
db290cf5
RM
450002011-07-16 Roland McGrath <roland@hack.frob.com>
45001
45002 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45003 now disallowed by GCC.
5c550700 45004
fd5e21c7
RM
45005 * configure.in (use-default-link): Default to yes if a test -shared
45006 link meets our qualifications.
45007 * configure: Regenerated.
45008
5c550700
RM
45009 * config.make.in (output-format): New variable.
45010 * configure.in: Check for ld --print-output-format support.
45011 * configure: Regenerated.
45012 * Makerules ($(common-objpfx)format.lds)
45013 [$(output-format) != unknown]: Just use $(output-format),
45014 instead of the linker-script munging.
45015
9fa2c032
RM
450162011-07-14 Roland McGrath <roland@hack.frob.com>
45017
a6928d51
RM
45018 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45019 of $(common-objpfx)shlib.lds.
45020 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45021
661607b3
RM
45022 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45023 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45024
9fa2c032
RM
45025 * configure.in (-z relro check): Adjust test code to add a large
45026 writable data section after it.
45027 * configure: Regenerated.
45028
defe9061
RM
450292011-07-11 Roland McGrath <roland@hack.frob.com>
45030
45031 * configure.in (-z relro check): Fix test code to make the variable
45032 truly const.
45033 * configure: Regenerated.
45034
319b9ad4
UD
450352011-07-11 Ulrich Drepper <drepper@gmail.com>
45036
45037 * nscd/nscd.h (struct traced_file): Define.
45038 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45039 elements. Add traced_files.
45040 (inotify_fd): Declare.
45041 (register_traced_file): Declare.
45042 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45043 (inotify_fd): Export.
45044 (resolv_conf_descr): Remove.
45045 (nscd_init): Move inotify descriptor creation to main.
45046 Don't register files for notification here.
45047 (register_traced_file): New function.
45048 (invalidate_cache): Don't use reset_res to determine whether to call
45049 res_init, go through the list of registered files.
45050 (main_loop_poll): The inotify descriptors are now stored in the
45051 structures for the traced files.
45052 (main_loop_epoll): Likewise
45053 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45054 to __nss_disable_nscd.
45055 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45056 for a database anymore. Check the records for all the registered
45057 files instead.
45058 * nss/Makefile (libnss_files-routines): Add files-init.
45059 (libnss_db-routines): Add db-init.
45060 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45061 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45062 * nss/nss_db/db-init.c: New file.
45063 * nss/nss_files/files-init.c: New file.
45064 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45065 __nss_lookup_function.
45066 (__nss_lookup_function): Call nss_load_library.
45067 (nss_load_all_libraries): New function.
45068 (__nss_disable_nscd): Take parameter with callback function for files
45069 to register. Set is_nscd. Load all the DSOs for the NSS modules
45070 used for the cached services.
45071 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45073 options for features to all the files in nscd.
45074
45075 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45076
23bee3e8
RM
450772011-07-10 Roland McGrath <roland@hack.frob.com>
45078
45079 * csu/elf-init.c (__libc_csu_init): Comment typo.
45080
46a5b7f0
UD
450812011-07-09 Ulrich Drepper <drepper@gmail.com>
45082
45083 * po/pl.po: Update from translation team.
45084 * po/ja.po: Likewise.
45085 * po/ru.po: Likewise.
45086 * po/ko.po: Likewise.
45087 * po/fr.po: Likewise.
45088
d30cf5bb
RM
450892011-07-09 Roland McGrath <roland@hack.frob.com>
45090
113ddea4
RM
45091 * configure.in (.ctors/.dtors header and trailer check):
45092 Use an empirical test on a built program.
45093 * configure: Regenerated.
45094
574920b4
RM
45095 * configure.in (-z relro check): Use an empirical test on a built DSO.
45096 Detect, but do not require, on ia64.
45097 * configure: Regenerated.
45098
d30cf5bb
RM
45099 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45100 Update tests that use readelf to use $READELF instead.
45101 * configure: Regenerated.
45102
8538fdb3
UD
451032011-07-08 Ulrich Drepper <drepper@gmail.com>
45104
45105 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45106 if the result is not used.
45107
04d08991
AJ
451082011-07-05 Andreas Jaeger <aj@suse.de>
45109
45110 [BZ#9696]
45111 * stdlib/tst-strtod.c: Add testcase.
45112
de283087
AD
451132011-07-07 Ulrich Drepper <drepper@gmail.com>
45114
4e5f31c8 45115 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45116 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45117 The latter has a higher limit. Take additional parameter to pass to
45118 the new function.
45119 (__pathconf): Pass file to __statfs_link_max.
45120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45121 __statfs_link_max.
45122 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45123 __statfs_link_max.
45124
de283087
AD
45125 [BZ #12868]
45126 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45128 Handle Lustre.
45129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45130 (__statfs_filesize_max): Likewise.
45131 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45132
c75fa153
AJ
451332011-07-05 Andreas Jaeger <aj@suse.de>
45134
45135 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45136
1a544854
UD
451372011-07-06 Marek Polacek <mpolacek@redhat.com>
45138
45139 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45140 `status' variable.
45141 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45142 Likewise.
45143
6f0eec67
UD
451442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45145
45146 * Makefile (strop-tests): Add strncat.
45147 * string/test-strncat.c: New file.
45148
aae30307
UD
451492011-06-30 Marek Polacek <mpolacek@redhat.com>
45150
45151 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45152
c0cfb5eb
UD
451532011-06-21 Andreas Jaeger <aj@suse.de>
45154
45155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45156 Copy rule from iconvdata/Makefile.
45157
01636b21
UD
451582011-07-06 Ulrich Drepper <drepper@gmail.com>
45159
45160 [BZ #12922]
45161 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45162 but no long options are defined, just return 'W'.
45163
9895c8bc
UD
451642011-06-22 Marek Polacek <mpolacek@redhat.com>
45165
45166 [BZ #9696]
45167 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45168
5d4cf042
UD
451692011-07-06 Ulrich Drepper <drepper@gmail.com>
45170
45171 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45172 netgroups to read.
960e5535 45173 (innetgr): Likewise.
5d4cf042 45174
751eb97e
RM
451752011-07-05 Roland McGrath <roland@hack.frob.com>
45176
45177 * config.make.in (install_root): Default to $(DESTDIR).
45178
f15f1e45
UD
451792011-07-05 Ulrich Drepper <drepper@gmail.com>
45180
45181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45182
4e34ac6a
RM
451832011-07-02 Roland McGrath <roland@hack.frob.com>
45184
5e9b6af4
RM
45185 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45186
84f9ea0f
RM
45187 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45188 containing directory rather than embedding absolute directory names.
45189
ea5ee9f7
RM
45190 * scripts/check-local-headers.sh: Rewritten using awk.
45191 Match by word, not by line. Print error messages for matches.
45192 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45193
1b74661a
RM
45194 * Makerules [shlib-lds-flags empty]:
45195 ($(common-objpfx)libc_pic.opts): New target.
45196 ($(common-objpfx)libc_pic.os.clean): New target.
45197 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45198
45199 * config.make.in (OBJCOPY): New variable.
45200 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45201 * configure: Regenerated.
45202
f781ef40
RM
45203 * config.make.in (use-default-link): New variable.
45204 * configure.in (use_default_link): Grok --with-default-link to set it.
45205 * configure: Regenerated.
45206 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45207 (shlib-lds, shlib-lds-flags): Define to empty.
45208
2d4fa81e
RM
45209 * Makerules (shlib-lds): New variable.
45210 (shlib-lds-flags): New variable.
45211 (build-shlib, build-moduile, build-module-asneeded): Use it.
45212 ($(common-objpfx)libc.so): Use $(shlib-lds).
45213 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45214 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45215
31fffa6b
RM
45216 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45217 DT_FLAGS/DT_FLAGS_1 with zero flags.
45218
4e34ac6a
RM
45219 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45220 linker script munging.
45221
fcfc776b
UD
452222011-07-02 Ulrich Drepper <drepper@gmail.com>
45223
45224 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45225 as 128-bit value.
45226 * crypt/sha512.c (sha512_process_block): Perform total addition using
45227 128-bit if possible.
45228 (__sha512_finish_ctx): Likewise.
45229 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45230 as 64-bit value.
45231 * crypt/sha256.c (SWAP64): Define.
45232 (sha256_process_block): Perform total addition using 64-bit if
45233 possible.
45234 (__sha256_finish_ctx): Likewise.
45235
99231d9a
UD
452362011-07-01 Ulrich Drepper <drepper@gmail.com>
45237
45238 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45240 * nscd/hstcache.c (cache_addhst): Likewise.
45241 * nscd/grpcache.c (cache_addgr): Likewise.
45242 * nscd/aicache.c (addhstaiX): Likewise
45243 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45244
445b4a53
TK
452452011-07-01 Thorsten Kukuk <kukuk@suse.de>
45246
45247 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45249 * nscd/hstcache.c (cache_addhst): Likewise.
45250 * nscd/grpcache.c (cache_addgr): Likewise.
45251 * nscd/aicache.c (addhstaiX): Likewise
45252
6d4d8e8e
AS
452532011-07-01 Andreas Schwab <schwab@redhat.com>
45254
45255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45256 domain only when needed.
45257
89f654c5
AS
452582011-06-30 Andreas Schwab <schwab@redhat.com>
45259
45260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45261 is always restored.
45262
cf3b23ff
UD
452632011-06-29 Ulrich Drepper <drepper@gmail.com>
45264
45265 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45266 are re-adding the entry.
45267 * nscd/servicescache.c (cache_addserv): Likewise.
45268
751626f9
AJ
452692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45270
45271 * sysdeps/generic/dl-irel.h: fix protection against multiple
45272 inclusions.
45273 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45274
9113ea1f
UD
452752011-06-28 Ulrich Drepper <drepper@gmail.com>
45276
5c0b8d90
UD
45277 [BZ #12935]
45278 * malloc/memusage.sh: Fix quoting in message.
45279 * debug/xtrace.sh: Likewise.
45280
9113ea1f
UD
45281 * configure.in: Remove support for --experimental-malloc option, make
45282 it the default.
45283 * config.make.in: Likewise.
45284 * malloc/Makefile: Likewise.
45285
a4172181
AS
452862011-06-27 Andreas Schwab <schwab@redhat.com>
45287
45288 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45289 two-byte characters.
45290
78a7eee7
RM
452912011-06-27 Roland McGrath <roland@hack.frob.com>
45292
62bede13
RM
45293 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45294 AC_CACHE_CHECK invocation.
45295 * configure: Regenerated.
45296
78a7eee7
RM
45297 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45298
5ce33a62
UD
452992011-06-27 Ulrich Drepper <drepper@gmail.com>
45300
034807a9
UD
45301 [BZ #12350]
45302 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45303 bit from old_res_options.
45304
4902da17
UD
45305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45306
5ce33a62
UD
45307 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45308 value type for setfct.
45309
c2344f56
L
453102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45311
45312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45313 __gettimeofday instead of gettimeofday.
45314
68468076
UD
453152011-06-26 Ulrich Drepper <drepper@gmail.com>
45316
45317 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45318
acb0d739
L
453192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45320
45321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45322
45323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45324 info.
45325
8912479f
L
453262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45327
45328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45329 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45330 strcpy-sse2-unaligned strncpy-sse2-unaligned
45331 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45332 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45333 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45334 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45335 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45338 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45339 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45340 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45341 (STRCPY): Support SSE2 and SSSE3 versions.
45342
d5495a11
UD
453432011-06-24 Ulrich Drepper <drepper@gmail.com>
45344
45345 [BZ #12874]
45346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45347 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45348 kernels which artificially limit size of requests.
45349
0b1cbaae
L
453502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45351
45352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45353 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45354 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45355 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45356 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45357 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45358 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45359 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45362 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45363 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45364 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45365 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45366 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45368 Enable unaligned load optimization for Intel Core i3, i5 and i7
45369 processors.
45370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45371 Define.
45372 (index_Fast_Unaligned_Load): Define.
45373 (HAS_FAST_UNALIGNED_LOAD): Define.
45374
07f494a0
MP
453752011-06-23 Marek Polacek <mpolacek@redhat.com>
45376
45377 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45378
fa3fc0fe
UD
453792011-06-22 Ulrich Drepper <drepper@gmail.com>
45380
45381 [BZ #12907]
45382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45383 until it is clear that the information is realy needed.
45384 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45385
e12df166
AS
453862011-06-22 Andreas Schwab <schwab@redhat.com>
45387
45388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45389
852eb34d
UD
453902011-06-22 Ulrich Drepper <drepper@gmail.com>
45391
84e2a551
UD
45392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45393 /sys/devices/system/cpu/online if it is usable.
45394
852eb34d
UD
45395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45396 reading the information from the /proc filesystem to once a second.
45397
6e502e19
UD
453982011-06-21 Andreas Jaeger <aj@suse.de>
45399
45400 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45401 NULL after inclusion of kernel headers.
45402
75d39ff2
UD
454032011-06-21 Ulrich Drepper <drepper@gmail.com>
45404
51f9aa6a
UD
45405 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45406 calls to internal_setent.
45407
c0244a9d
UD
45408 [BZ #12885]
45409 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45410 addresses using gethostbyname4_r ignore IPv4 addresses.
45411
c5e3c2ae
UD
45412 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45413 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45414
75d39ff2
UD
45415 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45416
42675c6f
DM
454172011-06-20 David S. Miller <davem@davemloft.net>
45418
45419 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45420 inclusions.
45421 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45422
45423 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45424 (elf_irel): Use it.
45425 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45426 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45427 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45428 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45429 * sysdeps/x86_64/dl-irel.h: Likewise.
45430
45431 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45432 * elf/dl-sym.c: Likewise.
45433
57912a71
UD
454342011-06-15 Ulrich Drepper <drepper@gmail.com>
45435
45436 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45437 need to dereference resplen2.
45438
ee22793d
AS
454392011-06-14 Andreas Schwab <schwab@redhat.com>
45440
45441 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45442
a9e836b0
UD
454432011-06-15 Ulrich Drepper <drepper@gmail.com>
45444
77fb9117
UD
45445 * Makeconfig: Define vardbdir and inst_vardbdir.
45446 * nss/Makefile: Add rules to install db-Makefile.
45447
40c1b22c
UD
45448 * nss/nss_db/db-XXX.c: Cleanup.
45449
9f2da732
UD
45450 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45451 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45452 GLIBC_PRIVATE.
45453 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45454 * nss/makedb.c: Implement -g option to specify that value strings
45455 are generated and should not be added to table iterated over for
45456 get*ent calls.
45457 * nss/nss_db/db-initgroups.c: New file.
45458
82e9a1f7
UD
45459 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45460 interface.
45461
c41af17e
UD
45462 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45463 (internal_getgrouplist): Adjust to name change.
45464 Update use_initgroups_entry if this is not the first call.
45465 * nss/databases.def: Add initgroups entry.
45466
a9e836b0
UD
45467 * nss/makedb.c (compute_tables): Check result of multiple hash table
45468 sizes to minimize maximum chain length.
45469
2666d441
UD
454702011-06-14 Ulrich Drepper <drepper@gmail.com>
45471
45472 * Versions.def: Add entry for libnss_db.
45473 * shlib-versions: Likewise.
45474 * nss/Makefile: Add rules to build libnss_db.
45475 * nss/Versions: Add libnss_db information. Organize libnss_files
45476 entries better.
45477 * nss/db-Makefile: Add gshadow support. Change rules for the new
45478 makedb progra. Some minor improvements to generate smaller files.
45479 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45480 here from...
45481 * nss/makedb.c: ...here.
45482 Improve database format to be smaller and require less memory at
45483 runtime.
45484 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45485 db anymore.
45486 * nss/nss_db/db-netgrp.c: Likewise.
45487 * nss/nss_db/db-open.c: Likewise.
45488 * nss/nss_files/flies-XXX.x: Adjust comments.
45489 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45490 * nss/nss_files/files-grp.c: Likewise.
45491 * nss/nss_files/files-hosts.c: Likewise.
45492 * nss/nss_files/files-network.c: Likewise.
45493 * nss/nss_files/files-proto.c: Likewise.
45494 * nss/nss_files/files-pwd.c: Likewise.
45495 * nss/nss_files/files-rpc.c: Likewise.
45496 * nss/nss_files/files-service.c: Likewise.
45497 * nss/nss_files/files-sgrp.c: Likewise.
45498 * nss/nss_files/files-spwd.c: Likewise.
45499 * nss/nss_db/db-alias.c: Removed.
45500 * nss/nss_db/dummy-db.h: Removed.
45501
9ee76b5a
UD
455022011-06-02 Ulrich Drepper <drepper@gmail.com>
45503
45504 * nss/makedb.c: Rewritten to not use database library.
45505 * nss/Makefile: Update to build new makedb program.
45506
c71ca1f8
AJ
455072011-06-14 Andreas Jaeger <aj@suse.de>
45508
45509 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45510 memset declaration.
45511
3154bfb8
UD
455122011-06-10 Andreas Schwab <schwab@redhat.com>
45513
45514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45515 tmpbuf.
45516
b350afab
RM
455172011-06-10 Roland McGrath <roland@hack.frob.com>
45518
decd4e50
RM
45519 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45520 * elf/Makefile ($(objpfx)ld.so): Likewise.
45521
5615eaf2
RM
45522 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45523 Don't list ld.so twice in dependencies.
45524
45525 * posix/bug-regex31.c: Include <stdlib.h>.
45526
45527 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45528
45529 * nis/nss_compat/compat-spwd.c
45530 (getspent_next_nss_netgr): Remove unused variable.
45531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45532
45533 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45534 nonmembers" output to use the right array.
45535
45536 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45537
45538 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45539
45540 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45541 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45542 * catgets/gencat.c (read_input_file): Likewise.
45543 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45544
45545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45546 variable definition inside #if's controlling its use.
45547
45548 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45549
45550 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45551
45552 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45553
45554 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45555 unreachable code.
45556
45557 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45558
b68e08db
RM
45559 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45560 * configure: Regenerated.
45561
b350afab
RM
45562 * Makerules: Revert last change.
45563 * elf/Makefile: Likewise.
45564
28368601
RM
455652011-06-09 Roland McGrath <roland@hack.frob.com>
45566
45567 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45568 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45569 (reloc-link): Likewise.
45570
11988f8f
UD
455712011-06-09 Ulrich Drepper <drepper@gmail.com>
45572
45573 * elf/Makefile: Add rules to build pldd.
45574 * elf/pldd.c: New file.
45575 * elf/pldd-xx.c: New file.
45576
e80fab37
UD
455772011-06-07 Ulrich Drepper <drepper@gmail.com>
45578
45579 * version.h: Update for 2.15 development version.
45580
9b849836
DM
455812011-06-07 David S. Miller <davem@davemloft.net>
45582
45583 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45584 ifuncs.
45585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45586 elf_machine_lazy_rel): Likewise.
45587 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45588 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45589 elf_machine_lazy_rel): Likewise.
45590 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45591 dl_hwcap via passed in argument.
45592 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45593 Likewise.
45594
5a31b283
AK
455952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45596
45597 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45598
069e52f8
RM
455992011-06-06 Roland McGrath <roland@hack.frob.com>
45600
45601 [BZ #12849]
45602 * manual/fdl-1.1.texi: New file, verbatim from:
45603 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45604 * manual/lgpl-2.1.texi: New file, verbatim from:
45605 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45606 * manual/Makefile (licenses): New variable, list those new file names.
45607 (texis): Use it.
45608 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45609
45610 * manual/fdl.texi: File removed.
45611 * manual/lesser.texi: File removed.
45612 * manual/libc.texinfo (Copying, Documentation License):
45613 Use new @include file names, put @appendix directive before @include.
45614
f16846a5
JJ
456152011-06-04 Jakub Jelinek <jakub@redhat.com>
45616
45617 [BZ #12841]
45618 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45619 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45620 (mq_open): Add __NTH.
45621
3d29045b
L
456222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45623
45624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45625 Assume Intel Core i3/i5/i7 processor if AVX is available.
45626
8c297311
UD
456272011-05-31 Ulrich Drepper <drepper@gmail.com>
45628
45629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45630 typo.
45631
c8fc0c91
UD
456322011-05-31 Andreas Schwab <schwab@redhat.com>
45633
45634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45635 memory. Use alloca_account. Fix memory leak when retrying.
45636
5b27a807
UD
456372011-05-31 Ulrich Drepper <drepper@gmail.com>
45638
356f8bc6
UD
45639 * version.h (RELEASE): Bump for 2.14 release.
45640 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45641
5b27a807
UD
45642 * config.make.in (RANLIB): Remove entry.
45643
01f16ab0
UD
456442011-05-30 Ulrich Drepper <drepper@gmail.com>
45645
41fce8bd
UD
45646 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45647 (libc.pot): Work around missing support for .ksh extension in xgettext.
45648
4769ae77
UD
45649 [BZ #12684]
45650 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45651 if both request failed.
45652 (send_dg): In case of server errors clear resplen or *resplen2.
45653
6b1e7d19
UD
45654 [BZ #12454]
45655 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45656 when there are multiple maps.
45657 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45658 (_dl_fini): Remove test here.
45659
01f16ab0
UD
45660 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45661
b1ebd700
UD
456622011-05-29 Ulrich Drepper <drepper@gmail.com>
45663
7ae22829
UD
45664 [BZ #12350]
45665 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45666 bit from old_res_options.
45667 (gaih_inet): Likewise.
45668
553149f6 45669 [BZ #11099]
18a84741 45670 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45671 as signed.
45672
652ffab1
UD
45673 * resolv/res_init.c (res_setoptions): Make the code more compact.
45674
16985fd0
UD
45675 [BZ #11558]
45676 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45677 set RES_USEVC.
45678
0464f746
UD
45679 [BZ #11634]
45680 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45681
7d17596c
UD
45682 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45683
cf6bbbd7
UD
45684 [BZ #11781]
45685 * malloc/malloc.h: Declare malloc hook variables as volatile.
45686
13f1ab36
UD
45687 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45688 in last patch.
45689
b1ebd700
UD
45690 [BZ #11799]
45691 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45692 raise in the comment.
80e2212d
UD
45693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45696
ce67228d
UD
456972011-05-28 Ulrich Drepper <drepper@gmail.com>
45698
8887a920
UD
45699 [BZ #12811]
45700 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45701 grow the buffers more if it already has to be sufficient.
45702 (build_wcs_upper_buffer): Likewise.
45703 * posix/regexec.c (check_matching): Likewise.
45704 (clean_state_log_if_needed): Likewise.
45705 (extend_buffers): Don't enlarge buffers beyond size of the input
45706 buffer.
45707 Patches mostly by Emil Wojak <emil@wojak.eu>.
45708 * posix/bug-regex32.c: New file.
45709 * posix/Makefile (tests): Add bug-regex32.
45710
4f031072
UD
45711 * locale/findlocale.c (_nl_find_locale): Return right away if
45712 _nl_explode_name failed.
45713 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45714
d0478f0c
UD
45715 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45716
de81b246
UD
45717 * debug/xtrace.sh: Unify messages.
45718 * malloc/memusage.sh: Likewise.
45719
c738465a
UD
45720 [BZ #12813]
45721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45722 time symbol from vDSO. Substitute with vsyscall if not available.
45723 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45724 __vdso_time.
45725
f1f929d7
UD
45726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45727 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45728 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45729 Add sendmmsg and internal_sendmmsg.
45730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45733
ce67228d
UD
45734 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45735 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45737
e57420c6
UD
457382011-05-27 Ulrich Drepper <drepper@gmail.com>
45739
a8509ca5
UD
45740 [BZ #12813]
45741 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45742 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45743 available.
45744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45745 __vdso_getcpu.
45746
e57420c6
UD
45747 [BZ #12814]
45748 * iconvdata/Makefile (tests): Add bug-iconv9.
45749 * iconvdata/bug-iconv9.c: New file.
45750
4d07db15
AS
457512011-05-27 Andreas Schwab <schwab@redhat.com>
45752
45753 [BZ #12814]
45754 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45755
ea486f69
JJ
457562011-05-25 Jakub Jelinek <jakub@redhat.com>
45757
45758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45759 (struct user_regs_struct): Change intcs field back to cs.
45760
6f038433
UD
457612011-05-25 Ulrich Drepper <drepper@gmail.com>
45762
45763 * po/ja.po: Update from translation team.
45764
67f86a25
UD
457652011-05-23 Ulrich Drepper <drepper@gmail.com>
45766
45767 [BZ #12795]
45768 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45770
def7fbd6
AS
457712011-05-20 Andreas Schwab <schwab@redhat.com>
45772
45773 * stdlib/longlong.h: Update from GCC.
45774
f50ef8f1
AS
457752011-05-23 Andreas Schwab <schwab@redhat.com>
45776
45777 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45778 parameter name.
45779 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45780 Add parameter name.
45781 (__sysconf): Pass it down.
45782
de7ce8f1
UD
457832011-05-22 Ulrich Drepper <drepper@gmail.com>
45784
f2962a71
UD
45785 [BZ #12671]
45786 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45787 some situations.
45788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45789 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45790 add in in __libc_use_alloca calls. Adjust callers.
45791 (glob): Use malloc in some situations.
45792
de7ce8f1
UD
45793 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45794 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45795 pltexit.
45796
aec84f53
UD
457972011-05-21 Ulrich Drepper <drepper@gmail.com>
45798
05bb4a68
UD
45799 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45800 and CLOCK_BOOTTIME_ALARM.
45801
7ea72f99
UD
45802 [BZ #12782]
45803 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45804 is returned.
45805
7e4afad5
UD
45806 * string/_strerror.c (__strerror_r): Print negative errors as signed
45807 numbers.
45808
8e211fec
UD
45809 [BZ #12777]
45810 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45811 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45812 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45813
f7d82dc9
UD
45814 * configure.in: Fix typo in redirection and correct removal of test
45815 files in two cases.
45816
cc9e536d
UD
45817 [BZ #12788]
45818 * locale/setlocale.c (new_composite_name): Fix test to check for
45819 identical name of all categories.
45820
aec84f53
UD
45821 [BZ #12792]
45822 * libio/filedoalloc.c (local_isatty): New function.
45823 (_IO_file_doallocate): Use local_isatty.
45824 * stdio-common/perror.c (perror): In case a new stream is used
45825 forward the stream error.
45826 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45827 error flag.
45828
78e64fdc
RT
458292011-05-20 Ulrich Drepper <drepper@gmail.com>
45830
34a9094f
UD
45831 [BZ #11869]
45832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45833 alloca.
45834 * include/alloca.h (extend_alloca_account): Define.
45835
78e64fdc
RT
45836 [BZ #11857]
45837 * posix/regex.h: Fix comments with documentation of user-accessible
45838 fields after compilation and describe correct free'ing of pattern
45839 after re_compile_pattern.
45840 Patch by Reuben Thomas <rrt@sc3d.org>.
45841
457bddfc
RA
458422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45843
45844 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45845 and -mno-altivec to prevent the compiler from using Altivec and/or
45846 VSX instructions when the corresponding registers are not available.
45847
a4527b51
AS
458482011-05-19 Andreas Schwab <schwab@redhat.com>
45849
45850 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45851
ed690b2f
UD
458522011-05-19 Ulrich Drepper <drepper@gmail.com>
45853
45854 * libio/freopen.c (freopen): Use __dup2, not dup2.
45855 * libio/freopen64.c (freopen64): Likewise.
45856
8db73634
L
458572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45858
45859 [BZ #12775]
45860 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45861 * math/Makefile (tests): Add test-powl.
45862 (CFLAGS-test-powl.c): Define.
45863 * math/test-powl.c: New file.
45864
0a197a9d
L
458652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45866
45867 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45868
ee30c380
UD
458692011-05-17 Ulrich Drepper <drepper@gmail.com>
45870
45871 [BZ #11837]
45872 * iconvdata/gb18030.c: Update to GB18020-2005.
45873
6ce75379
UD
458742011-05-16 Ulrich Drepper <drepper@gmail.com>
45875
a4b89fd8
AR
45876 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45877 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45878 Patch by Aharon Robbins <arnold@skeeve.com>.
45879
ea389b12
UD
45880 [BZ #11892]
45881 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45882 on the stack.
45883
68a3f91f
UD
45884 [BZ #11895]
45885 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45886 through underflows.
45887
15cc7dd1
UD
45888 [BZ #12766]
45889 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45890 point to strings before performing equality test for error_one_per_line
45891 mode.
45892
f3799213
UD
45893 [BZ #11697]
45894 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45895
d79a9c94
UD
45896 [BZ #11820]
45897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45898 (struct user_fpregs_struct): Avoid __uint*_t types.
45899
56e5eb46
UD
45900 [BZ #6420]
45901 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45902 symbol info. Use it instead of calling _dl_addr locally.
45903 (lock_and_info): New function.
45904 (tr_freehook): Call lock_and_info and pass symbol info as additional
45905 parameter to tr_where.
45906 (tr_mallochook): Likewise.
45907 (tr_reallochook): Likewise.
45908 (tr_memalignhook): Likewise.
45909
6ce75379
UD
45910 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45911 used and couldn't be at all thread-safe.
45912
f8a3b5bf
UD
459132011-05-15 Ulrich Drepper <drepper@gmail.com>
45914
94b7cc37
UD
45915 * libio/freopen.c (freopen): Don't close old file descriptor
45916 before the new one is opened. Instead dup the new file descriptor
45917 to the old one after the new stream is created.
45918 * libio/freopen64.c (freopen64): Likewise.
45919 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45920 * libio/fileops.c (_IO_new_file_close_it): Handle new
45921 _IO_FLAGS2_NOCLOSE flag.
45922 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45923 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45924 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45925 _IO_FLAGS2_NOCLOSE flag.
45926 * include/unistd.h: Add hidden_proto for dup3.
45927 Define __have_dup3.
45928 * io/dup3.c: Define hidden symbol.
45929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45930
bd25564e
UD
45931 [BZ #7101]
45932 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45933 when an incomplete long option is used.
45934 * posix/tst-getopt_long1.c: New file.
45935 * posix/Makefile (tests): Add tst-getopt_long1.
45936
c84cfef4
UD
45937 [BZ #10138]
45938 * scripts/config.guess: Update from autoconf-2.68.
45939 * scripts/config.sub: Likewise.
45940
3b85df27
UD
45941 [BZ #10157]
45942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45943 tests into ...
45944 (has_cpuclock): ...this. New function.
45945 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45946 macro here based on has_cpuclock code.
45947
15a856b1
UD
45948 [BZ #10149]
45949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45950 First byte (not low byte) is now always NUL.
45951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45952
05f399e6
UD
45953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45954 Use non-cancelable interfaces.
45955
10a52685 45956 [BZ #9809]
94ecc67d
UD
45957 * locale/iso-639.def: Add entry for Sorani.
45958
f8a3b5bf
UD
45959 [BZ #11901]
45960 * include/stdlib.h: Move include protection to the right place.
45961 Define abort_msg_s. Declare __abort_msg with it.
45962 * stdlib/abort.c (__abort_msg): Adjust type.
45963 * assert/assert.c (__assert_fail_base): New function. Majority
45964 of code from __assert_fail. Allocate memory for __abort_msg with
45965 mmap.
45966 (__assert_fail): Now call __assert_fail_base.
45967 * assert/assert-perr.c: Remove bulk of implementation. Use
45968 __assert_fail_base.
45969 * include/assert.hL Declare __assert_fail_base.
45970 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45971 mmap.
45972 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45973
1af4e298
UD
459742011-05-14 Ulrich Drepper <drepper@gmail.com>
45975
f8a3b5bf 45976 [BZ #11952]
d26dfc60
MG
45977 [BZ #12453]
45978 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45979 until all modules are registered in the DTV.
45980 * elf/Makefile: Add rules to build and run tst-tls19.
45981 * elf/tst-tls19.c: New file.
45982 * elf/tst-tls19mod1.c: New file.
45983 * elf/tst-tls19mod2.c: New file.
45984 * elf/tst-tls19mod3.c: New file.
45985 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45986
2fc54d6f
UD
45987 [BZ #12083]
45988 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45989 correctly.
45990
98d76b46
UD
45991 [BZ #12601]
45992 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45993 two-byte sequence errors.
45994 * iconvdata/Makefile (tests): Add bug-iconv8.
45995 * iconvdata/bug-iconv8.c: New file.
45996
da3c19ef
UD
45997 [BZ #12626]
45998 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45999 buf2 definition.
46000
ca408c15
UD
46001 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46002
d6f67f7d
UD
46003 [BZ #12432]
46004 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46005 (dummy_getcfa): New function.
46006 (init): Get _Unwind_GetCFA address, use dummy if not found.
46007 (backtrace_helper): In recursion check, also check whether CFA changes.
46008 (__backtrace): Completely initialize arg.
46009
1af4e298 46010 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46011 storing incomplete byte sequence in state object. Avoid testing for
46012 guaranteed too small input if we know there is enough data available.
1af4e298 46013
da62f81b
AS
460142011-05-11 Andreas Schwab <schwab@redhat.com>
46015
46016 * Makeconfig (+link-pie): Indent.
46017 * Rules (binaries-pie): Define if $(have-fpie) and
46018 $(build-shared).
46019 (binaries-shared): Also filter out $(binaries-pie).
46020 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46021 * nscd/Makefile (others-pie): Add nscd.
46022 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46023 ($(objpfx)nscd): Remove command override.
46024 * login/Makefile (others-pie): Add pt_chown.
46025 ($(objpfx)pt_chown): Remove command override.
46026 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46027 remove command overrides.
46028
fcabc0f8
UD
460292011-05-13 Ulrich Drepper <drepper@gmail.com>
46030
20030ae6
UD
46031 * libio/tst_putwc.c: Fix error messages.
46032
fcabc0f8
UD
46033 [BZ #12724]
46034 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46035 currently writing and seek to current position when not.
46036 * libio/Makefile (tests): Add bug-fclose1.
46037 * libio/bug-fclose1.c: New file.
46038
320a5dc0
PB
460392011-05-12 Ulrich Drepper <drepper@gmail.com>
46040
46041 [BZ #12511]
46042 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46043 don't set DF_1_NODELETE here.
46044 (do_lookup_x): When entering new entry test for copy relocation
46045 and if necessary set DF_1_NODELETE flag.
46046 * elf/tst-unique4.cc: New file.
46047 * elf/tst-unique4.h: New file.
46048 * elf/tst-unique4lib.cc: New file.
46049 * elf/Makefile: Add rules to build and run tst-unique4.
46050 Patch by Piotr Bury <pbury@goahead.com>.
46051
22836f52
UD
460522011-05-11 Ulrich Drepper <drepper@gmail.com>
46053
f574184a
UD
46054 [BZ #12052]
46055 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46056
e1fb097f
UD
46057 [BZ #12625]
46058 * misc/mntent_r.c (addmntent): Flush the stream after the output
46059
22836f52
UD
46060 [BZ #12393]
46061 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46062 (is_trusted_path_normalize): Skip initial colon. Append slash
46063 to empty buffer. Duplicate is_trusted_path code but allow
46064 constructed patch to be prefix.
46065 (is_dst): Allow $ORIGIN followed by /.
46066 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46067 Correct testing of result of is_trusted_path_normalize
46068 (decompose_rpath): Fix warning.
46069
7b3b0b2a
UD
460702011-05-10 Ulrich Drepper <drepper@gmail.com>
46071
46072 [BZ #11257]
46073 * grp/initgroups.c (internal_getgrouplist): When we found the service
46074 list through the initgroups entry in nsswitch.conf do not always
46075 continue on a successful lookup. Don't always use the
eac80ce2 46076 __nss_group_database value if it is set.
7b3b0b2a
UD
46077 * nss/nsswitch.conf (initgroups): Change action for successful db
46078 lookup to continue for compatibility.
46079
2a81eaa5
UD
460802011-05-09 Ulrich Drepper <drepper@gmail.com>
46081
be97a69e
UD
46082 [BZ #11532]
46083 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46084 and CP774 modules.
46085 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46086 and CP774 modules.
46087 * iconvdata/tst-tables.sh: Likewise.
46088 * iconvdata/cp770.c: New file.
46089 * iconvdata/cp771.c: New file.
46090 * iconvdata/cp772.c: New file.
46091 * iconvdata/cp773.c: New file.
46092 * iconvdata/cp774.c: New file.
46093 * iconvdata/testdata/CP770: New file.
46094 * iconvdata/testdata/CP770..UTF8: New file.
46095 * iconvdata/testdata/CP771: New file.
46096 * iconvdata/testdata/CP771..UTF8: New file.
46097 * iconvdata/testdata/CP772: New file.
46098 * iconvdata/testdata/CP772..UTF8: New file.
46099 * iconvdata/testdata/CP773: New file.
46100 * iconvdata/testdata/CP773..UTF8: New file.
46101 * iconvdata/testdata/CP774: New file.
46102 * iconvdata/testdata/CP774..UTF8: New file.
46103
46104 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46105 END CHARMAP line.
46106 * iconvdata/gen-8bit-gap.sh: Likewise.
46107 * iconvdata/gen-8bit.sh: Likewise.
46108
c1e9e399
UD
46109 * locale/iso-639.def: Add ary entry.
46110
24c55fb3 46111 [BZ #11258]
96b4b1b0
UD
46112 * locale/C-translit.h.in: Add U20A1 transliteration.
46113
bdc2f971
KB
46114 [BZ #12178]
46115 * locale/iso-639.def: Add wae entry.
46116 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46117
2952b117
UD
46118 [BZ #12545]
46119 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46120 for n.
46121
2a81eaa5
UD
46122 [BZ #12711]
46123 * locale/C-translit.h.in: Add entry for U20B9.
46124 Patch by pravin.d.s@gmail.com.
46125
28377d1b
UD
461262011-05-08 Ulrich Drepper <drepper@gmail.com>
46127
7fb90fb8
UD
46128 [BZ #12713]
46129 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46130 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46131 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46132 in rtld. Use *stat64.
7fb90fb8 46133 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46134 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46135 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46136 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46137 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46138 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46139 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46140 __fstatat64 macros.
7fb90fb8
UD
46141 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46142 * dirent/rewinddir.c: Add libc_hidden_def.
46143 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46144 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46145
28377d1b
UD
46146 * include/dirent.h (__alloc_dir): Add flags parameter.
46147 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46148 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46149 __alloc_dir.
46150 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46151 from fdopendir if O_CLOEXEC is already set.
46152
66bdbaa4
AM
461532011-03-15 Alan Modra <amodra@gmail.com>
46154
46155 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46156 l_tls_firstbyte_offset non-zero. Save padding offset in
46157 l_tls_firstbyte_offset for later use.
46158 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46159 freeing static tls block.
46160
95721191
JN
461612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46162
46163 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46164 where #ifdef was intended. The intent is to prevent ARG_MAX from
46165 being defined by the kernel headers.
46166
f87dfb1f
UD
461672011-05-07 Ulrich Drepper <drepper@gmail.com>
46168
46169 [BZ #12734]
46170 * resolv/resolv.h: Define RES_NOTLDQUERY.
46171 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46172 no-tld-query and set RES_NOTLDQUERY.
46173 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46174 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46175 modern BIND to search name as TLD unless forbidden.
46176
47c3cd7a
UD
461772011-05-07 Petr Baudis <pasky@suse.cz>
46178 Ulrich Drepper <drepper@gmail.com>
46179
46180 [BZ #12393]
46181 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46182 (is_trusted_path): ...to here.
c1e9ea35 46183 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46184 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46185 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46186
8a35c912
PP
461872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46188
46189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46190 __BEGIN/__END_DECLS.
46191
acd41f47
UD
461922011-05-06 Ulrich Drepper <drepper@gmail.com>
46193
46194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46195 NSS_STATUS_NOTFOUND if no record was found.
46196
597df647
AS
461972011-05-05 Andreas Schwab <schwab@redhat.com>
46198
46199 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46200 (headers-not-in-tirpc): Remove rpc/netdb.h
46201 * resolv/netdb.h: Revert last change.
46202
b9af1301
PP
462032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46204
46205 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46206 circular dependency between libgcc.a and libc.a.
46207
4e34d5f5
AS
462082011-05-05 Andreas Schwab <schwab@redhat.com>
46209
46210 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46211 * nis/Makefile: Don't install rpcsvc/*.
46212 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46213 instead of <rpc/types.h>.
46214 (MAXHOSTNAMELEN): Define.
46215
00ee369c
AS
462162011-05-03 Andreas Schwab <schwab@redhat.com>
46217
46218 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46219
0b592a30
MB
462202011-04-28 Maciej Babinski <mbabinski@google.com>
46221
46222 [BZ #12714]
46223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46224 gethostbyname4_r when IPv6 results are possible.
46225
6e04cbbe
UD
462262011-05-02 Ulrich Drepper <drepper@gmail.com>
46227
46228 [BZ #12723]
46229 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46230 _PC_PIPE_BUF handling.
46231
e4ecafe0
BH
462322011-04-30 Bruno Haible <bruno@clisp.org>
46233
46234 [BZ #12717]
46235 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46236 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46237 to 'int'.
46238 * inet/getnameinfo.c (getnameinfo): Likewise.
46239
125ee683
UD
462402011-04-29 Ulrich Drepper <drepper@gmail.com>
46241
46242 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46243 to groups setting in database lookup.
46244 * nss/nsswitch.conf: Add initgroups entry.
46245
b722481a
EB
462462011-04-22 Ulrich Drepper <drepper@gmail.com>
46247
46248 [BZ #12685]
46249 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46250 mode string.
46251 Patch by Eric Blake <eblake@redhat.com>.
46252
4df46dbd
L
462532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46254
46255 * sunrpc/Makefile (need-export-routines): Add svc_run.
46256 (routines): Remove svc_run.
46257 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46258 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46259 * sunrpc/svc_run.c (svc_run): Likewise.
46260 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46261
e84142d2
UD
462622011-04-21 Ulrich Drepper <drepper@gmail.com>
46263
46264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46265 problem in reallocation in last patch.
46266
877175d8
UD
462672011-04-20 Ulrich Drepper <drepper@gmail.com>
46268
46269 * sunrpc/Makefile: Move inclusion of Rules.
46270
ab8eed78
UD
462712011-04-19 Ulrich Drepper <drepper@gmail.com>
46272
46273 * nss/nss_files/files-initgroups.c: New file.
46274 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46275 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46276 _nss_files_initgroups_dyn.
46277
e3d8f584
RS
462782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46279
46280 * elf/elf.h (R_ARM_IRELATIVE): Define.
46281
af190f45
UD
462822011-04-19 Ulrich Drepper <drepper@gmail.com>
46283
46284 * po/ru.po: Update from translation team.
46285
53cf59ef
UD
462862011-04-17 Ulrich Drepper <drepper@gmail.com>
46287
46288 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46289 dependencies.
46290
4c559bcd
MF
462912011-02-06 Mike Frysinger <vapier@gentoo.org>
46292
46293 [BZ #12653]
46294 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46295 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46299
4420675c
AS
463002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46301
46302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46303 differing bytes.
46304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46307
75ea32ab
UD
463082011-04-17 Ulrich Drepper <drepper@gmail.com>
46309
46310 [BZ #12420]
46311 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46312 storing it.
46313 * stdlib/bug-getcontext.c: New file.
46314 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46315
27390476
AK
463162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46317
46318 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46319 instructions into .machine "z9-109".
46320 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46321 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46322
10442705
AK
463232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46324
46325 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46326 between environment variables and auxiliary vector.
46327
7b57bfe5
UD
463282011-04-16 Ulrich Drepper <drepper@gmail.com>
46329
46330 * Makefile: Add rules to build linkobj/libc.so.
46331 * include/libc-symbols.h: Define libc_hidden_nolink.
46332 * include/rpc/auth.h: Mark functions which are to be hidden.
46333 * include/rpc/auth_des.h: Likewise.
46334 * include/rpc/auth_unix.h: Likewise.
46335 * include/rpc/clnt.h: Likewise.
46336 * include/rpc/des_crypt.h: Likewise.
46337 * include/rpc/key_prot.h: Likewise.
46338 * include/rpc/pmap_clnt.h: Likewise.
46339 * include/rpc/pmap_prot.h: Likewise.
46340 * include/rpc/pmap_rmt.h: Likewise.
46341 * include/rpc/rpc_msg.h: Likewise.
46342 * include/rpc/svc.h: Likewise.
46343 * include/rpc/svc_auth.h: Likewise.
46344 * include/rpc/xdr.h: Likewise.
46345 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46346 * nss/Makefile: Likewise.
46347 * sunrpc/Makefile: Don't install headers. Build library with normal
46348 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46349 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46350 for the compat linking library. Remove use of INTDEF/INTUSE.
46351 * sunrpc/auth_none.c: Likewise.
46352 * sunrpc/auth_unix.c: Likewise.
46353 * sunrpc/authdes_prot.c: Likewise.
46354 * sunrpc/authuxprot.c: Likewise.
46355 * sunrpc/clnt_gen.c: Likewise.
46356 * sunrpc/clnt_perr.c: Likewise.
46357 * sunrpc/clnt_raw.c: Likewise.
46358 * sunrpc/clnt_simp.c: Likewise.
46359 * sunrpc/clnt_tcp.c: Likewise.
46360 * sunrpc/clnt_udp.c: Likewise.
46361 * sunrpc/clnt_unix.c: Likewise.
46362 * sunrpc/des_crypt.c: Likewise.
46363 * sunrpc/des_soft.c: Likewise.
46364 * sunrpc/get_myaddr.c: Likewise.
46365 * sunrpc/key_call.c: Likewise.
46366 * sunrpc/key_prot.c: Likewise.
46367 * sunrpc/netname.c: Likewise.
46368 * sunrpc/pm_getmaps.c: Likewise.
46369 * sunrpc/pm_getport.c: Likewise.
46370 * sunrpc/pmap_clnt.c: Likewise.
46371 * sunrpc/pmap_prot.c: Likewise.
46372 * sunrpc/pmap_prot2.c: Likewise.
46373 * sunrpc/pmap_rmt.c: Likewise.
46374 * sunrpc/publickey.c: Likewise.
46375 * sunrpc/rpc_cmsg.c: Likewise.
46376 * sunrpc/rpc_common.c: Likewise.
46377 * sunrpc/rpc_dtable.c: Likewise.
46378 * sunrpc/rpc_prot.c: Likewise.
46379 * sunrpc/rpc_thread.c: Likewise.
46380 * sunrpc/rtime.c: Likewise.
46381 * sunrpc/svc.c: Likewise.
46382 * sunrpc/svc_auth.c: Likewise.
46383 * sunrpc/svc_authux.c: Likewise.
46384 * sunrpc/svc_raw.c: Likewise.
46385 * sunrpc/svc_run.c: Likewise.
46386 * sunrpc/svc_simple.c: Likewise.
46387 * sunrpc/svc_tcp.c: Likewise.
46388 * sunrpc/svc_udp.c: Likewise.
46389 * sunrpc/svc_unix.c: Likewise.
46390 * sunrpc/svcauth_des.c: Likewise.
46391 * sunrpc/xcrypt.c: Likewise.
46392 * sunrpc/xdr.c: Likewise.
46393 * sunrpc/xdr_array.c: Likewise.
46394 * sunrpc/xdr_float.c: Likewise.
46395 * sunrpc/xdr_intXX_t.c: Likewise.
46396 * sunrpc/xdr_mem.c: Likewise.
46397 * sunrpc/xdr_rec.c: Likewise.
46398 * sunrpc/xdr_ref.c: Likewise.
46399 * sunrpc/xdr_sizeof.c: Likewise.
46400 * sunrpc/xdr_stdio.c: Likewise.
46401
e6c61494
UD
464022011-04-10 Ulrich Drepper <drepper@gmail.com>
46403
46404 [BZ #12650]
46405 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46406 * sysdeps/ia64/dl-tls.h: Likewise.
46407 * sysdeps/powerpc/dl-tls.h: Likewise.
46408 * sysdeps/s390/dl-tls.h: Likewise.
46409 * sysdeps/sh/dl-tls.h: Likewise.
46410 * sysdeps/sparc/dl-tls.h: Likewise.
46411 * sysdeps/x86_64/dl-tls.h: Likewise.
46412 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46413
34fe483e
AS
464142011-03-14 Andreas Schwab <schwab@redhat.com>
46415
46416 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46417 rpath element also skip the following colon.
46418 (expand_dynamic_string_token): Add is_path parameter and pass
46419 down to DL_DST_REQUIRED and _dl_dst_substitute.
46420 (decompose_rpath): Call expand_dynamic_string_token with
46421 non-zero is_path. Ignore empty rpaths.
46422 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46423 with zero is_path.
46424
f12a32e6
AS
464252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46426
46427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46428 Make cancelable.
46429
38a7d692
UD
464302011-04-09 Ulrich Drepper <drepper@gmail.com>
46431
46432 [BZ #12655]
46433 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46434 Patch by Filipe David Manana <fdmanana@apache.org>.
46435
e451d22b
AS
464362011-04-07 Andreas Schwab <schwab@redhat.com>
46437
46438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46439 Maintain aligned stack.
46440 (CHECK_RSP): Remove unused macro.
46441
dedc7c7b
UD
464422011-04-03 Ulrich Drepper <drepper@gmail.com>
46443
46444 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46446
94521213
UD
464472011-04-02 Ulrich Drepper <drepper@gmail.com>
46448
46449 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46450
8cb700c0 46451 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46452
0354e355
L
464532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46454
46455 [BZ #12518]
46456 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46457 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46458 * sysdeps/x86_64/memmove.c: New file.
46459 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46460 (memcpy): Renamed to ...
46461 (__new_memcpy): This.
46462 (memcpy): Provide GLIBC_2_14 memcpy.
46463 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46464 (memcpy): Provide GLIBC_2_2_5 memcpy.
46465
8593482f
UD
464662011-04-01 Ulrich Drepper <drepper@gmail.com>
46467
46468 [BZ #12631]
46469 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46470
81a5726b
AS
464712011-03-30 Andreas Schwab <schwab@redhat.com>
46472
46473 * misc/syncfs.c: New file.
46474 * misc/Makefile (routines): Add syncfs.
46475 * posix/unistd.h: Declare syncfs.
46476 * sysdeps/unix/syscalls.list: Add syncfs.
46477
00e5419f
AS
464782011-04-01 Andreas Schwab <schwab@redhat.com>
46479
46480 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46481 open_by_handle_at.
46482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46487 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46489
748876bf
UD
464902011-04-01 Ulrich Drepper <drepper@gmail.com>
46491
658e451d
UD
46492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46499
748876bf
UD
46500 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46501 sync_file_range.c with -fexceptions.
46502 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46503 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46504 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46505 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46506 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46509 sync_file_range as cancellation point
46510 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46511 now a wrapper around __call_sync_file_range with cancellation handling.
46512 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46513 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46514 function name to __call_sync_file_range.
46515 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46516 Add call_sync_file_range.
748876bf 46517
6e63d5e1
AS
465182011-04-01 Andreas Schwab <schwab@redhat.com>
46519
46520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46521 bits/timex.h.
6e63d5e1 46522
46998f74
UD
465232011-04-01 Ulrich Drepper <drepper@gmail.com>
46524
4c1423ed
UD
46525 * iconv/iconv.h: Fix typo in comment.
46526 * io/fcntl.h: Likewise.
46527 * libio/stdio.h: Likewise.
46528 * posix/spawn.h: Likewise.
46529 * posix/unistd.h: Likewise.
46530 * stdlib/stdlib.h: Likewise.
46531 * time/time.h: Likewise.
46532 * wcsmbs/wchar.h: Likewise.
46533
158648c0
UD
46534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46535 open_by_handle): Add.
46536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46537 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46538 Augment a few comments.
46539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46544 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46545 open_by_handle.
46546
46998f74
UD
46547 * io/fcntl.h (AT_EMPTY_PATH): Define.
46548
83fe108b
UD
465492011-03-30 Ulrich Drepper <drepper@gmail.com>
46550
46551 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46552 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46553 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46554 to...
46555 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46556 * Versions.def: Add GLIBC_2.14.
46557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46558 Export.
83fe108b 46559
bb242059
UD
465602011-03-22 Ulrich Drepper <drepper@gmail.com>
46561
46562 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46563 round counter.
46564 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46565
c97a1282
L
465662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46567
46568 [BZ #12597]
46569 * string/test-strncmp.c (do_page_test): New function.
46570 (check2): Likewise.
46571 (test_main): Call check2.
46572 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46573
2a115601
UD
465742011-03-20 Ulrich Drepper <drepper@gmail.com>
46575
46576 [BZ #12587]
46577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46578 Handle cache information in CPU leaf 4.
46579 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46580
8126d904
UD
465812011-03-18 Ulrich Drepper <drepper@gmail.com>
46582
042c49c6 46583 [BZ #12583]
8126d904
UD
46584 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46585 character representation.
46586 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46587
ccfe366e
RA
465882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46589
46590 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46591 END(__isnan) to END(__isnanf) to match function entry point/label
46592 EALIGN(__isnanf,...).
46593
c6e13027
JJ
465942011-03-10 Jakub Jelinek <jakub@redhat.com>
46595
46596 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46597
33f85a3f
UD
465982011-03-10 Ulrich Drepper <drepper@gmail.com>
46599
028478fa
UD
46600 [BZ #12510]
46601 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46602 copy from the symbol referenced in the relocation to initialize the
46603 used variable.
46604 Patch by Piotr Bury <pbury@goahead.com>.
46605 * elf/Makefile: Add rules to build and tst-unique3.
46606 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46607 * elf/tst-unique3.cc: New file.
46608 * elf/tst-unique3.h: New file.
46609 * elf/tst-unique3lib.cc: New file.
46610 * elf/tst-unique3lib2.cc: New file.
46611
33f85a3f
UD
46612 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46613
03592fc7
MF
466142011-03-10 Mike Frysinger <vapier@gentoo.org>
46615
46616 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46617 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46618 to _start.
03592fc7 46619
6a5ee102
UD
466202011-03-06 Ulrich Drepper <drepper@gmail.com>
46621
46622 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46623 to-be-loaded object along a path to loader is ld.so.
46624
7e4ba49c
HJ
466252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46626 Ulrich Drepper <drepper@gmail.com>
46627
46628 * sysdeps/x86_64/memset.S: After aligning destination, code
46629 branches to different locations depending on the value of
46630 misalignment, when multiarch is enabled. Fix this.
46631
466322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46633
46634 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46635 Set _x86_64_preferred_memory_instruction for AMD processsors.
46636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46637 Set bit_Prefer_SSE_for_memop for AMD processors.
46638
13a804de
UD
466392011-03-04 Ulrich Drepper <drepper@gmail.com>
46640
46641 * libio/fmemopen.c (fmemopen): Optimize a bit.
46642
9d25c392
AS
466432011-03-03 Andreas Schwab <schwab@redhat.com>
46644
46645 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46646
a5543c6a
RM
466472011-03-03 Roland McGrath <roland@redhat.com>
46648
46649 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46650
012d35f7
DM
466512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46652
7e4ba49c 46653 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46654 __bzero_ultra1 instead of __memset_ultra1.
46655
4bff6e01
AS
466562011-02-23 Andreas Schwab <schwab@redhat.com>
46657 Ulrich Drepper <drepper@gmail.com>
46658
46659 [BZ #12509]
46660 * include/link.h (struct link_map): Add l_orig_initfini.
46661 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46662 returning unsuccessfully.
46663 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46664 close of a file loaded at startup, restore the original l_initfini
46665 list.
46666 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46667 list, store the pointer.
46668 * elf/Makefile ($(objpfx)noload-mem): New rule.
46669 (noload-ENV): Define.
46670 (tests): Add $(objpfx)noload-mem.
46671 * elf/noload.c: Include <memcheck.h>.
46672 (main): Call mtrace. Close all opened handles.
46673
f2092faf
AS
466742011-02-17 Andreas Schwab <schwab@redhat.com>
46675
46676 [BZ #12454]
46677 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46678 dependencies are missing.
46679
6c8a2e88
ST
466802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46681
f2092faf 46682 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46683 Hurd needs munmap.
46684 * sysdeps/mach/hurd/ifreq.h: New file.
46685
84a42118
PB
466862011-01-27 Petr Baudis <pasky@suse.cz>
46687 Ulrich Drepper <drepper@gmail.com>
46688
071f805e 46689 [BZ 12445]#
84a42118
PB
46690 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46691 to extend_alloca().
46692 * stdio-common/bug23.c: New file.
46693 * stdio-common/Makefile (tests): Add bug23.
46694
e23fe25b
AS
466952010-09-28 Andreas Schwab <schwab@redhat.com>
46696 Ulrich Drepper <drepper@gmail.com>
46697
46698 [BZ #12489]
46699 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46700 before performing relro protection. At old place add assertion
46701 to make sure nothing changed.
46702
d3f02e10
NS
467032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46704 Glauber de Oliveira Costa <glommer@gmail.com>
46705
46706 * elf/elf.h: Add new ARM TLS relocs.
46707
d55fd7a5
RA
467082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46709
46710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46711 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46712 cast from r3.
46713 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46714 'tests' variable.
46715 * sysdeps/wordsize-64/tst-writev.c: New file.
46716
2206397e
RA
467172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46718
46719 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46720 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46721 insns in _dl_start to prevent a TOC reference before relocs are
46722 resolved.
46723
e9433893
UD
467242011-02-15 Ulrich Drepper <drepper@gmail.com>
46725
46726 [BZ #12469]
46727 * Makeconfig: Remove RANLIB definition.
46728 * Makerules: Don't use RANLIB.
46729 * aclocal.m4: Remove ranlib test.
46730 * configure.in: No need to check for ranlib.
46731 * elf/rtld-Rules: Don't use RANLIB.
46732
f75286c6
ST
467332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46734
8e31c82d
ST
46735 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46736 protection macro.
46737 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46738 inclusion protection macro.
46739
f75286c6
ST
46740 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46741 SIGRTMIN and SIGRTMAX and print information in that case only when
46742 SIGRTMIN is defined.
46743
c1d0e639
JJ
467442011-02-11 Jakub Jelinek <jakub@redhat.com>
46745
46746 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46747 arginfo fn returning -1.
46748
46749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46750 and thousands string is zero terminated.
46751
edf9294e
AS
467522011-02-03 Andreas Schwab <schwab@redhat.com>
46753
46754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46755 sysdeps/unix/sysv/linux/bits/socket.h.
46756
2b7e92df
ST
467572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46758
edf9294e
AS
46759 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46760 (__CPU_COUNT): Remove old macros.
46761 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46762 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46763 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46764 (__sched_cpualloc, __sched_cpufree): Add declarations.
46765
a4c7ea7b
UD
467662011-02-05 Ulrich Drepper <drepper@gmail.com>
46767
46768 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46769 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46770 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46771 (readdhstai): Return value of addhstaiX call.
46772 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46773 (addgrbyX): Return value returned by cache_addgr.
46774 (readdgrbyname): Return value returned by addgrbyX.
46775 (readdgrbygid): Likewise.
46776 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46777 (addpwbyX): Return value returned by cache_addpw.
46778 (readdpwbyname): Return value returned by addhstbyX.
46779 (readdpwbyuid): Likewise.
46780 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46781 (addservbyX): Return value returned by cache_addserv.
46782 (readdservbyname): Return value returned by addservbyX:
46783 (readdservbyport): Likewise.
46784 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46785 (addhstbyX): Return value returned by cache_addhst.
46786 (readdhstbyname): Return value returned by addhstbyX.
46787 (readdhstbyaddr): Likewise.
46788 (readdhstbynamev6): Likewise.
46789 (readdhstbyaddrv6): Likewise.
46790 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46791 (readdinitgroups): Return value returned by addinitgroupsX.
46792 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46793 (prune_cache): Keep track of timeout value of re-added entries.
46794 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46795 * nscd/nscd.h: Adjust prototypes of readd* functions.
46796
a0bf67cc
RM
467972011-02-04 Roland McGrath <roland@redhat.com>
46798
46799 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46800 (nis_stats): Likewise.
46801 * nis/nis_modify.c (nis_modify): Likewise.
46802 * nis/nis_remove.c (nis_remove): Likewise.
46803 * nis/nis_add.c (nis_add): Likewise.
46804
46805 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46806
46807 * posix/fnmatch_loop.c: Add some consts.
46808
46809 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46810
435b95eb
L
468112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46812
46813 [BZ #12460]
46814 * config.make.in (config-cflags-novzeroupper): Define.
46815 * configure.in: Substitute libc_cv_cc_novzeroupper.
46816 * elf/Makefile (AVX-CFLAGS): Define.
46817 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46818 (CFLAGS-tst-auditmod4a.c): Likewise.
46819 (CFLAGS-tst-auditmod4b.c): Likewise.
46820 (CFLAGS-tst-auditmod6b.c): Likewise.
46821 (CFLAGS-tst-auditmod6c.c): Likewise.
46822 (CFLAGS-tst-auditmod7b.c): Likewise.
46823 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46824
8517b15e
UD
468252011-02-02 Ulrich Drepper <drepper@gmail.com>
46826
46827 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46828 function to the callback.
46829 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46830
10a656fe
AS
468312011-02-02 Andreas Schwab <schwab@redhat.com>
46832
46833 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46834 of errno.
46835
968dad0a
UD
468362011-01-19 Ulrich Drepper <drepper@gmail.com>
46837
9f94d2ea 46838 [BZ #11724]
968dad0a
UD
46839 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46840 of constructors.
46841 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46842 of destructors.
46843 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46844
46845 [BZ #11724]
46846 * elf/Makefile: Add rules to build and run new test.
46847 * elf/tst-initorder.c: New file.
46848 * elf/tst-initorder.exp: New file.
46849 * elf/tst-initordera1.c: New file.
46850 * elf/tst-initordera2.c: New file.
46851 * elf/tst-initordera3.c: New file.
46852 * elf/tst-initordera4.c: New file.
46853 * elf/tst-initorderb1.c: New file.
46854 * elf/tst-initorderb2.c: New file.
46855 * elf/tst-order-a1.c: New file.
46856 * elf/tst-order-a2.c: New file.
46857 * elf/tst-order-a3.c: New file.
46858 * elf/tst-order-a4.c: New file.
46859 * elf/tst-order-b1.c: New file.
46860 * elf/tst-order-b2.c: New file.
46861 * elf/tst-order-main.c: New file.
46862 New test case by George Gensure <werkt0@gmail.com>.
46863
86e92359
UD
468642010-10-01 Andreas Schwab <schwab@redhat.com>
46865
46866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46867 decoding ACE if AI_CANONIDN.
46868
5d5732b0
UD
468692011-01-18 Ulrich Drepper <drepper@gmail.com>
46870
46871 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46872
a77e8cbc
UD
468732011-01-17 Ulrich Drepper <drepper@gmail.com>
46874
6392473f
UD
46875 * version.h (RELEASE): Bump for 2.13 release.
46876 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46877
620a0529
UD
46878 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46879
18ba70a5
UD
46880 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46881 MADV_NOHUGEPAGE.
32465c3e
UD
46882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46888
c0dafcf1
UD
46889 * posix/getconf.c: Update copyright year.
46890 * catgets/gencat.c: Likewise.
46891 * csu/version.c: Likewise.
46892 * debug/catchsegv.sh: Likewise.
46893 * debug/xtrace.sh: Likewise.
46894 * elf/ldconfig.c: Likewise.
46895 * elf/ldd.bash.in: Likewise.
46896 * elf/sprof.c (print_version): Likewise.
46897 * iconv/iconv_prog.c: Likewise.
46898 * iconv/iconvconfig.c: Likewise.
46899 * locale/programs/locale.c: Likewise.
46900 * locale/programs/localedef.c: Likewise.
46901 * malloc/memusage.sh: Likewise.
46902 * malloc/mtrace.pl: Likewise.
46903 * nscd/nscd.c (print_version): Likewise.
46904 * nss/getent.c: Likewise.
46905
a77e8cbc
UD
46906 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46907 PF_CAIF, and PF_ALG.
46908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46909
77e8bddf
AS
469102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46911
1f20b93a
AS
46912 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46913 (modules-names): Use them.
46914 (ifunc-test-modules, ifunc-pie-tests): Define.
46915 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46916 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46917 (test-extras): Likewise.
46918 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46919 $(compile-command.c).
46920 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46921 (all-built-dso): Define.
46922 (check-textrel.out, check-execstack.out): Depend on it.
46923
77e8bddf
AS
46924 * configure.in: Don't override --enable-multi-arch.
46925
bc425b33
UD
469262011-01-15 Ulrich Drepper <drepper@gmail.com>
46927
46928 [BZ #6812]
46929 * nscd/hstcache.c (tryagain): Define.
46930 (cache_addhst): Return tryagain not notfound for temporary errors.
46931 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46932 failed.
46933
794c3ad3
UD
469342011-01-14 Ulrich Drepper <drepper@gmail.com>
46935
70181fdd
UD
46936 [BZ #10563]
46937 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46938 to make the syscall.
46939 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46940
794c3ad3
UD
46941 [BZ #12378]
46942 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46943 and fall back to matching as normal character if the string ends before
46944 the matching ']' is found. This is what POSIX requires.
46945 * posix/testfnm.c: Adjust test result.
46946 * posix/globtest.sh: Adjust test result. Add new test.
46947 * posix/tst-fnmatch.input: Likewise.
46948 * posix/tst-fnmatch2.c: Add new test.
46949
68dc9497
AS
469502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46951
46952 * elf/Makefile (check-execstack): Revert last change. Depend on
46953 check-execstack.h.
46954 (check-execstack.h): New target.
46955 (generated): Add check-execstack.h.
46956 * elf/check-execstack.c: Include "check-execstack.h".
46957 (main): Revert last change.
46958 (handle_file): Return zero if GNU_STACK is absent and
46959 DEFAULT_STACK_PERMS doesn't include PF_X.
46960
451f001b
UD
469612011-01-13 Ulrich Drepper <drepper@gmail.com>
46962
cfa28e56
UD
46963 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46964 in child fails because the descriptor is already closed.
8cf8ce17
UD
46965 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46966 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 46968
1086d70d
UD
46969 [BZ #12397]
46970 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46971 syscall.
46972
451f001b
UD
46973 [BZ #10484]
46974 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46975 temporary buffer used to handle multi lookups locally.
a85b5cb4 46976 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 46977
08769175
UD
469782011-01-12 Ulrich Drepper <drepper@gmail.com>
46979
46980 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46981 loader is ld.so.
46982
5e49c52e
UD
469832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46984
46985 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46986 alignment for SSE2.
46987
60522a5f
UD
469882011-01-12 Ulrich Drepper <drepper@gmail.com>
46989
46990 [BZ #12394]
46991 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46992 characters. When rounding increased number of integer digits recompute
46993 number of groups.
46994 * stdio-common/tst-grouping.c: New file.
46995 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46996
f257bbd7
UD
469972011-01-09 Ulrich Drepper <drepper@gmail.com>
46998
46999 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47000 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47001
47002 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47003 void.
47004 * bits/select.h: Likewise.
47005
fa9c15cb
UD
470062011-01-08 Ulrich Drepper <drepper@gmail.com>
47007
47008 * po/ja.po: Update from translation team.
47009
16c2895f
DM
470102011-01-04 David S. Miller <davem@sunset.davemloft.net>
47011
47012 [BZ #11155]
47013 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47014 implementation just like for lxstat, fxstatat, et al.
47015
2543fef2
JM
470162010-12-27 Jim Meyering <meyering@redhat.com>
47017
47018 [BZ #12348]
47019 * posix/regexec.c (build_trtable): Return failure indication upon
47020 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47021
98727dbe
UD
470222010-12-25 Ulrich Drepper <drepper@gmail.com>
47023
5bd6dc5c
UD
47024 [BZ #12201]
47025 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47026 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47029
97983464
UD
47030 [BZ #12207]
47031 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47032
98727dbe
UD
47033 [BZ #12204]
47034 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47035 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47036
4a531bb0
L
470372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47038
47039 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47040 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47041 script has SORT_BY_INIT_PRIORITY.
47042 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47043 NO_CTORS_DTORS_SECTIONS is defined.
47044 * elf/soinit.c: Likewise.
47045 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47046 NO_CTORS_DTORS_SECTIONS is defined.
47047 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47048 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47049 * sysdeps/sh/init-first.c: Likewise.
47050 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47051
07eb4b71
UD
470522010-12-24 Ulrich Drepper <drepper@gmail.com>
47053
47054 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47055 always use the slow path.
47056
30950a5f
RA
470572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47058
47059 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47060 similar rule which adds the sysdep directories to the header search in
47061 order to pick up the correct platform stackinfo.h.
47062 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47063 perform test if it is, otherwise return successfully without testing.
47064 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47065 DEFAULT_STACK_PERMS define in stackinfo.h.
47066 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47067 defined in stackinfo.h.
47068 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47069 DEFAULT_STACK_PERMS defined in stackinfo.h.
47070 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47071 * sysdeps/ia64/stackinfo.h: Likewise.
47072 * sysdeps/s390/stackinfo.h: Likewise.
47073 * sysdeps/sh/stackinfo.h: Likewise.
47074 * sysdeps/sparc/stackinfo.h: Likewise.
47075 * sysdeps/x86_64/stackinfo.h: Likewise.
47076 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47077 PF_X for powerpc64. Retain PF_X for powerpc32.
47078
db753e2c
UD
470792010-12-19 Ulrich Drepper <drepper@gmail.com>
47080
14b697f7
UD
47081 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47082 accurately.
db753e2c
UD
47083 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47084 GETDENTS_64BIT_ALIGNED.
47085
28300719
UD
470862010-12-14 Ulrich Drepper <dreper@gmail.com>
47087
14b697f7 47088 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47089
4f197237
AS
470902010-12-10 Andreas Schwab <schwab@redhat.com>
47091
dbb0472f
AS
47092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47093 _GNU_SOURCE.
47094
4f197237
AS
47095 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47096 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47097 Remove __restrict.
47098 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47099 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47100
fb88ac72
UD
471012010-12-09 Ulrich Drepper <drepper@gmail.com>
47102
47103 [BZ #11655]
47104 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47105 are initialized.
47106
42acbb92
JJ
471072010-12-09 Jakub Jelinek <jakub@redhat.com>
47108
47109 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47110
c038d98d
UD
471112010-12-03 Ulrich Drepper <drepper@gmail.com>
47112
47113 * po/it.po: Update from translation team.
47114
3a4a2499
L
471152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47116
47117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47118 unused codes.
47119
1e24cf6e
UD
471202010-11-30 Ulrich Drepper <drepper@gmail.com>
47121
47122 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47123
a7690819
AS
471242010-11-24 Andreas Schwab <schwab@redhat.com>
47125
47126 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47127 specially.
47128 (gaih_getanswer_slice): Likewise.
47129
3bf8d1b1
JJ
471302010-10-20 Jakub Jelinek <jakub@redhat.com>
47131
47132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47133
6db52fbb
PB
471342010-05-31 Petr Baudis <pasky@suse.cz>
47135
47136 [BZ #11149]
47137 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47138 silently even in the chroot mode.
47139
eaca7569
UD
471402010-11-22 Ulrich Drepper <drepper@gmail.com>
47141
47142 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47143 last patch a bit. Pretty printing
47144
3056dcdb
UD
471452010-05-31 Petr Baudis <pasky@suse.cz>
47146
47147 [BZ #10085]
47148 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47149 initialization of skip_initgroups_dyn.
47150
cf7c9078
UD
471512010-11-19 Ulrich Drepper <drepper@gmail.com>
47152
47153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47155
a1fb5e3e
UD
471562010-11-16 Ulrich Drepper <drepper@gmail.com>
47157
47158 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47159
3540d66b
AS
471602010-11-11 Andreas Schwab <schwab@redhat.com>
47161
47162 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47163 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47164 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47165 ($(objpfx)tst-fnmatch-mem): New rule.
47166 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47167 * posix/tst-fnmatch.c (main): Call mtrace.
47168
13b69574
L
471692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47170
47171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47172 Support Intel processor model 6 and model 0x2c.
47173
da93d214
LM
471742010-11-10 Luis Machado <luisgpm@br.ibm.com>
47175
47176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47177 signed comparison.
47178
8ca52c6e
L
471792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47180
47181 [BZ #12205]
47182 * string/test-strncasecmp.c (check_result): New function.
47183 (do_one_test): Use it.
47184 (check1): New function.
47185 (test_main): Use it.
47186 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47187 Support strcasecmp and strncasecmp.
47188
69da074d
UD
471892010-11-08 Ulrich Drepper <drepper@gmail.com>
47190
47191 [BZ #12194]
47192 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47194
ff02d528
L
471952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47196
47197 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47198 IFUNC support.
47199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47200 memset-x86-64.
47201 * sysdeps/x86_64/multiarch/bzero.S: New file.
47202 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47203 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47204 * sysdeps/x86_64/multiarch/memset.S: New file.
47205 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47207 Set bit_Prefer_SSE_for_memop for Intel processors.
47208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47209 Define.
47210 (index_Prefer_SSE_for_memop): Define.
47211 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47212
344d0b54
LM
472132010-11-04 Luis Machado <luisgpm@br.ibm.com>
47214
47215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47217
c0dde15b
UD
472182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47219
47220 [BZ #12191]
47221 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47222 (__x86_64_raw_data_cache_size_half): Likewise.
47223 (__x86_64_raw_shared_cache_size): Likewise.
47224 (__x86_64_raw_shared_cache_size_half): Likewise.
47225
47226 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47227 (__x86_64_raw_data_cache_size_half): Likewise.
47228 (__x86_64_raw_shared_cache_size): Likewise.
47229 (__x86_64_raw_shared_cache_size_half): Likewise.
47230 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47231 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47232 and __x86_64_raw_shared_cache_size_half. Round
47233 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47234 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47235 to multiple of 256 bytes.
47236
0e516e0e
MS
472372010-11-03 Ulrich Drepper <drepper@gmail.com>
47238
47239 [BZ #12167]
47240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47241 of inacessible symlinks. Verify result of symlink before returning it.
47242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47243 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47244
0e012e87
ER
472452010-10-28 Erich Ritz <erichritz@gmail.com>
47246
47247 * math/math.h (isinf): Fix typo in comment.
47248
de0ff7bc
UD
472492010-11-01 Ulrich Drepper <drepper@gmail.com>
47250
47251 * po/da.po: Update from translation team.
47252
fa41c84d
UD
472532010-10-26 Ulrich Drepper <drepper@gmail.com>
47254
47255 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47256 is added to the list.
47257
f0967738
AK
472582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47259 Ulrich Drepper <drepper@gmail.com>
47260
47261 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47262 the global list here. Move code to...
47263 (_dl_add_to_namespace_list): ...here. New function.
47264 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47265 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47266 * elf/dl-load.c (lose): Don't remove the element from the list.
47267 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47268 (_dl_map_object): Likewise.
47269
472702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47271
47272 [BZ #12159]
47273 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47274 into all bytes of SSE register.
47275 Patch by Richard Li <richardpku@gmail.com>.
47276
f0967738 472772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47278
47279 [BZ #12140]
47280 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47281 perturbing.
47282
d0b9e94f
MB
472832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47284
47285 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47286 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47288 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47290 submachine.
47291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47292
8e9f92e9
AS
472932010-10-22 Andreas Schwab <schwab@redhat.com>
47294
47295 * include/dlfcn.h (__RTLD_SECURE): Define.
47296 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47297 mode & __RTLD_SECURE instead.
47298 (open_path): Rename preloaded parameter to secure.
47299 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47300 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47301 * elf/dl-deps.c (openaux): Likewise.
47302 * elf/rtld.c (struct map_args): Remove is_preloaded.
47303 (map_doit): Don't use it.
47304 (dl_main): Likewise.
47305 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47306 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47307
bc96fbda
AS
473082010-09-09 Andreas Schwab <schwab@redhat.com>
47309
47310 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47311 (sysd-rules-targets): Remove duplicates.
47312 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47313 rtld-%.$o dependency.
47314
22cd1c9b
AS
473152010-10-18 Andreas Schwab <schwab@redhat.com>
47316
47317 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47318 _dl_map_object do it.
47319
18edac48
UD
473202010-10-19 Ulrich Drepper <drepper@gmail.com>
47321
47322 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47323 fast fma builtins, define the macros in the C99 standard.
47324 (FP_FAST_FMAF): Likewise.
47325 (FP_FAST_FMAL): Likewise.
47326 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47327
47328 * bits/mathdef.h: Update copyright year.
47329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47330
d2050124
MM
473312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47332
47333 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47334 builtins, define the macros in the C99 standard.
47335 (FP_FAST_FMAF): Likewise.
47336 (FP_FAST_FMAL): Likewise.
47337 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47338 multiply/add.
47339 (FP_FAST_FMAF): Likewise.
47340
475facd1
JJ
473412010-10-15 Jakub Jelinek <jakub@redhat.com>
47342
47343 [BZ #3268]
47344 * math/libm-test.inc (fma_test): Some new testcases.
47345 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47347 y and infinite z. Do multiplication by C already in long double.
47348 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47350 y and infinite z. Do bitwise or of inexact bit into u.d.
47351 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47352 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47353 * sysdeps/i386/fpu/s_fma.S: Removed.
47354 * sysdeps/i386/fpu/s_fmal.S: Removed.
47355
7c08a05c
JJ
473562010-10-16 Jakub Jelinek <jakub@redhat.com>
47357
47358 [BZ #3268]
47359 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47361 computation is not scheduled after fetestexcept. Fix value
47362 of minimum denormal long double.
47363
f3f7372d
JJ
473642010-10-14 Jakub Jelinek <jakub@redhat.com>
47365
47366 [BZ #3268]
47367 * math/libm-test.inc (fma_test): Add some more tests.
47368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47369 correctly.
47370
14d43591
AS
473712010-10-15 Andreas Schwab <schwab@redhat.com>
47372
47373 * scripts/data/localplt-s390-linux-gnu.data: New file.
47374 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47375
5e908464
JJ
473762010-10-13 Jakub Jelinek <jakub@redhat.com>
47377
47378 [BZ #3268]
47379 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47380 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47381 instead of dbl-64.
47382 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47383 inlines.
47384 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47386 if one of x and y is very large and the other is subnormal.
47387 * sysdeps/s390/fpu/s_fmaf.c: New file.
47388 * sysdeps/s390/fpu/s_fma.c: New file.
47389 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47390 * sysdeps/powerpc/fpu/s_fma.S: New file.
47391 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47392 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47393 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47394
473952010-10-12 Jakub Jelinek <jakub@redhat.com>
47396
47397 [BZ #3268]
47398 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47399 fma tests.
47400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47401 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47402 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47403 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47404 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47405 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47406 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47407
b833d51f
UD
474082010-10-12 Ulrich Drepper <drepper@redhat.com>
47409
47410 [BZ #12078]
47411 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47412 * posix/bug-regex31.input: Add test case.
47413
1751705d
UD
474142010-10-11 Ulrich Drepper <drepper@gmail.com>
47415
e9b9cbf5
UD
47416 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47417 * posix/bug-regex31.input: New file.
47418
47419 [BZ #12078]
47420 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47421 (parse_sub_exp): Fix last change, use postorder.
47422
ef06edbe
UD
47423 * posix/bug-regex31.c: New file.
47424 * posix/Makefile: Add rules to build and run bug-regex31.
47425
a129c80d
UD
47426 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47427
47428 [BZ #12078]
47429 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47430
b76b818e
UD
47431 [BZ #12108]
47432 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47433 to have entries in sys_siglist.
47434
1751705d
UD
47435 [BZ #12093]
47436 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47437 be NULL.
47438
9ff8d36f
JJ
474392010-10-07 Jakub Jelinek <jakub@redhat.com>
47440
47441 [BZ #3268]
47442 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47443 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47444 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47445 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47447 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47448 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47449 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47450 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47451 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47452 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47453 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47455 * math/ftestexcept.c (fetestexcept): Likewise.
47456 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47457 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47458 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47460 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47461 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47463
af325969
UD
474642010-10-11 Ulrich Drepper <drepper@gmail.com>
47465
c579b202 47466 [BZ #12107]
af325969
UD
47467 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47468 newline.
47469
67a67b95
UD
474702010-10-06 Ulrich Drepper <drepper@gmail.com>
47471
47472 * string/bug-strstr1.c: New file.
47473 * string/Makefile: Add rules to build and run bug-strstr1.
47474
5fb308bc
EB
474752010-10-05 Eric Blake <eblake@redhat.com>
47476
47477 [BZ #12092]
47478 * string/str-two-way.h (two_way_long_needle): Always clear memory
47479 when skipping input due to the shift table.
47480
45db99c7
UD
474812010-10-03 Ulrich Drepper <drepper@gmail.com>
47482
3b111893
UD
47483 [BZ #12005]
47484 * malloc/mcheck.c: Handle large requests.
47485
45db99c7
UD
47486 [BZ #12077]
47487 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47488 for strncmp and strncasecmp.
47489 * string/stratcliff.c: Add tests for strcmp and strncmp.
47490 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47491
cf7a1eb8
NI
474922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47493
47494 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47495 __set_fpscr.
47496
6484ba5e
AJ
474972010-09-30 Andreas Jaeger <aj@suse.de>
47498
47499 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47500 (CGROUP_SUPER_MAGIC): Define.
47501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47502 Handle btrfs and cgroup file systems.
47503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47504 Likewise.
47505
91c42559
LM
475062010-09-27 Luis Machado <luisgpm@br.ibm.com>
47507
47508 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47509 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47510
87a97932
AK
475112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47512
47513 [BZ #12067]
47514 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47515 trying to locate the ELF header.
47516
c21cc9bc
AS
475172010-09-27 Andreas Schwab <schwab@redhat.com>
47518
47519 [BZ #11611]
47520 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47521 Mask out sign-bit copies when constructing f_fsid.
47522
315970f6
PB
475232010-09-24 Petr Baudis <pasky@suse.cz>
47524
47525 * debug/stack_chk_fail_local.c: Add missing licence exception.
47526 * debug/warning-nop.c: Likewise.
47527
1ac7a2c7
JM
475282010-09-15 Joseph Myers <joseph@codesourcery.com>
47529
47530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47531 implementing getdents64 using getdents syscall, set d_type if
47532 __ASSUME_GETDENTS32_D_TYPE.
47533
56801c50
AS
475342010-09-16 Andreas Schwab <schwab@redhat.com>
47535
47536 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47537 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47538
dda51327
UD
475392010-09-21 Ulrich Drepper <drepper@redhat.com>
47540
47541 [BZ #12037]
47542 * posix/unistd.h: Undo change of feature selection for ftruncate from
47543 2010-01-11.
47544
8ffcee4a
UD
475452010-09-20 Ulrich Drepper <drepper@redhat.com>
47546
a545ecd9 47547 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47548 detection.
47549
e24f0a8b
AS
475502010-09-20 Andreas Schwab <schwab@redhat.com>
47551
47552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47553 fanotify_mark.
47554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47555
7291c56f
AS
475562010-09-14 Andreas Schwab <schwab@redhat.com>
47557
47558 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47559 variables after CHECK_SP call.
47560 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47561
bc5fb037
AS
475622010-09-13 Andreas Schwab <schwab@redhat.com>
47563 Ulrich Drepper <drepper@redhat.com>
47564
47565 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47566 re-relocationg ld.so.
47567 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47568 _dl_init_paths call.
47569 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47570 here anymore.
47571
e66e7419
UD
475722010-09-14 Ulrich Drepper <drepper@redhat.com>
47573
47574 * resolv/res_init.c (__res_vinit): Count the default server we added.
47575
c044aa75
CLT
475762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47577 Ulrich Drepper <drepper@redhat.com>
47578
47579 [BZ #11968]
47580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47581 (____longjmp_chk): Use %ebx for saving value across system call.
47582 Add unwind info.
47583
32cf4069
AS
475842010-09-06 Andreas Schwab <schwab@redhat.com>
47585
47586 * manual/Makefile: Don't mix pattern rules with normal rules.
47587
817328ee
AS
475882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47589
47590 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47591 operation.
47592 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47593 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47594 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47595 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47597 Likewise.
47598
29fddf61
UD
475992010-09-04 Ulrich Drepper <drepper@redhat.com>
47600
47601 [BZ #11979]
47602 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47603 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47604
0959ffc9
UD
476052010-09-02 Ulrich Drepper <drepper@redhat.com>
47606
47607 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47608 * sysdeps/x86_64/addmul_1.S: Likewise.
47609 * sysdeps/x86_64/lshift.S: Likewise.
47610 * sysdeps/x86_64/mul_1.S: Likewise.
47611 * sysdeps/x86_64/rshift.S: Likewise.
47612 * sysdeps/x86_64/sub_n.S: Likewise.
47613 * sysdeps/x86_64/submul_1.S: Likewise.
47614
ece29840
ST
476152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47616
0959ffc9
UD
47617 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47618 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47619 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47620 * bits/sched.h [__need_schedparam]
ece29840 47621 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47622 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47623 (__defined_schedparam): Define to 1.
ece29840
ST
47624 (__sched_param): New structure, identical to sched_param.
47625 (__need_schedparam): Undefine.
47626
e53a31fe
MF
476272010-08-31 Mike Frysinger <vapier@gentoo.org>
47628
fdc0c10d
MF
47629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47630 (epoll_create1): Declare.
47631
e53a31fe
MF
47632 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47633
a726d796
AS
476342010-08-31 Andreas Schwab <schwab@redhat.com>
47635
47636 [BZ #7066]
47637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47638 shifting retval into place.
47639
2f3e3dc7
UD
476402010-09-01 Ulrich Drepper <drepper@redhat.com>
47641
f2933da9
UD
47642 * nis/rpcsvc/nis.h: Update copyright notice.
47643 * nis/rpcsvc/nis.x: Likewise.
47644 * nis/rpcsvc/nis_callback.h: Likewise.
47645 * nis/rpcsvc/nis_callback.x: Likewise.
47646 * nis/rpcsvc/nis_object.x: Likewise.
47647 * nis/rpcsvc/nis_tags.h: Likewise.
47648 * nis/rpcsvc/yp.h: Likewise.
47649 * nis/rpcsvc/yp.x: Likewise.
47650 * nis/rpcsvc/ypupd.h: Likewise.
47651 * nis/yp_xdr.c: Likewise.
47652 * nis/ypupdate_xdr.c: Likewise.
47653
2f3e3dc7
UD
47654 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47655 mainly the body of pmap_getport. Add parameters to specify timeouts.
47656 (pmap_getport): Use __libc_rpc_getport.
47657 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47658 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47659 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47660
f3dcc2f9
AS
476612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47662
47663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47664 fanotify_mark.
47665
6d34eb5b
RM
476662010-08-27 Roland McGrath <roland@redhat.com>
47667
47668 * sysdeps/i386/i686/multiarch/Makefile
47669 (CFLAGS-varshift.c): New variable.
47670
9ea3de11
UD
476712010-08-27 Ulrich Drepper <drepper@redhat.com>
47672
c96d23fc
UD
47673 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47674 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47675
9ea3de11
UD
47676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47677
47678 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47679
623aac7f
L
476802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47681
47682 * sysdeps/x86_64/strlen.S: Unroll the loop.
47683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47684 strlen-sse2 strlen-sse2-bsf.
47685 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47686 __strlen_no_bsf if bit_Slow_BSF is set.
47687 (__strlen_sse42): Removed.
47688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47689 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47690
8b2b7715
RM
476912010-08-25 Roland McGrath <roland@redhat.com>
47692
47693 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47694 * sysdeps/x86_64/multiarch/varshift.c: New file.
47695 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47696 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47697 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47699
e73015f2
L
477002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47701
47702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47703 strlen-sse2 strlen-sse2-bsf.
47704 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47705 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47706 (__strlen_sse2): Removed.
47707 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47710 bit_Slow_BSF for Atom.
47711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47712 (index_Slow_BSF): Define.
47713 (HAS_SLOW_BSF): Define.
47714
df24a73e
UD
477152010-08-25 Ulrich Drepper <drepper@redhat.com>
47716
47717 [BZ #10851]
47718 * resolv/res_init.c (__res_vinit): When no server address at all
47719 is given default to loopback.
47720
f2ac4868
RM
477212010-08-24 Roland McGrath <roland@redhat.com>
47722
09055553
RM
47723 * configure.in: Remove config-name.h generation.
47724 * configure: Regenerated.
47725 * config-name.in: File removed.
47726 * scripts/config-uname.sh: New file.
47727 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47728 ($(objdir)config-name.h): New target.
47729
f2ac4868
RM
47730 * sunrpc/rpc_parse.h: Avoid nested comment.
47731
73f27d5e
RH
477322010-08-24 Richard Henderson <rth@redhat.com>
47733 Ulrich Drepper <drepper@redhat.com>
47734 H.J. Lu <hongjiu.lu@intel.com>
47735
47736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47738 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47739 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47740 _mm_alignr_epi8 with _mm_loadu_si128.
47741 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47742 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47743 (__m128i_shift_right): Removed.
47744 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47745 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47746 * sysdeps/x86_64/multiarch/varshift.h: New file.
47747 * sysdeps/x86_64/multiarch/varshift.S: New file.
47748
84b9230c
MF
477492010-08-21 Mike Frysinger <vapier@gentoo.org>
47750
47751 * configure.in: Move assembler checks to before sysdep dir checking.
47752
9bbd0ddc
PB
477532010-08-20 Petr Baudis <pasky@suse.cz>
47754
47755 * LICENSES: Sync the sunrpc license.
47756
9da4bb31
UD
477572010-08-19 Ulrich Drepper <drepper@redhat.com>
47758
a7ab6ec8
UD
47759 * sunrpc/auth_des.c: Update copyright notice once again.
47760 * sunrpc/auth_none.c: Likewise.
47761 * sunrpc/auth_unix.c: Likewise.
47762 * sunrpc/authdes_prot.c: Likewise.
47763 * sunrpc/authuxprot.c: Likewise.
47764 * sunrpc/bindrsvprt.c: Likewise.
47765 * sunrpc/clnt_gen.c: Likewise.
47766 * sunrpc/clnt_perr.c: Likewise.
47767 * sunrpc/clnt_raw.c: Likewise.
47768 * sunrpc/clnt_simp.c: Likewise.
47769 * sunrpc/clnt_tcp.c: Likewise.
47770 * sunrpc/clnt_udp.c: Likewise.
47771 * sunrpc/clnt_unix.c: Likewise.
47772 * sunrpc/des_crypt.c: Likewise.
47773 * sunrpc/des_soft.c: Likewise.
47774 * sunrpc/get_myaddr.c: Likewise.
47775 * sunrpc/getrpcport.c: Likewise.
47776 * sunrpc/key_call.c: Likewise.
47777 * sunrpc/key_prot.c: Likewise.
47778 * sunrpc/openchild.c: Likewise.
47779 * sunrpc/pm_getmaps.c: Likewise.
47780 * sunrpc/pm_getport.c: Likewise.
47781 * sunrpc/pmap_clnt.c: Likewise.
47782 * sunrpc/pmap_prot.c: Likewise.
47783 * sunrpc/pmap_prot2.c: Likewise.
47784 * sunrpc/pmap_rmt.c: Likewise.
47785 * sunrpc/rpc/auth.h: Likewise.
47786 * sunrpc/rpc/auth_unix.h: Likewise.
47787 * sunrpc/rpc/clnt.h: Likewise.
47788 * sunrpc/rpc/des_crypt.h: Likewise.
47789 * sunrpc/rpc/key_prot.h: Likewise.
47790 * sunrpc/rpc/netdb.h: Likewise.
47791 * sunrpc/rpc/pmap_clnt.h: Likewise.
47792 * sunrpc/rpc/pmap_prot.h: Likewise.
47793 * sunrpc/rpc/pmap_rmt.h: Likewise.
47794 * sunrpc/rpc/rpc.h: Likewise.
47795 * sunrpc/rpc/rpc_des.h: Likewise.
47796 * sunrpc/rpc/rpc_msg.h: Likewise.
47797 * sunrpc/rpc/svc.h: Likewise.
47798 * sunrpc/rpc/svc_auth.h: Likewise.
47799 * sunrpc/rpc/types.h: Likewise.
47800 * sunrpc/rpc/xdr.h: Likewise.
47801 * sunrpc/rpc_clntout.c: Likewise.
47802 * sunrpc/rpc_cmsg.c: Likewise.
47803 * sunrpc/rpc_common.c: Likewise.
47804 * sunrpc/rpc_cout.c: Likewise.
47805 * sunrpc/rpc_dtable.c: Likewise.
47806 * sunrpc/rpc_hout.c: Likewise.
47807 * sunrpc/rpc_main.c: Likewise.
47808 * sunrpc/rpc_parse.c: Likewise.
47809 * sunrpc/rpc_parse.h: Likewise.
47810 * sunrpc/rpc_prot.c: Likewise.
47811 * sunrpc/rpc_sample.c: Likewise.
47812 * sunrpc/rpc_scan.c: Likewise.
47813 * sunrpc/rpc_scan.h: Likewise.
47814 * sunrpc/rpc_svcout.c: Likewise.
47815 * sunrpc/rpc_tblout.c: Likewise.
47816 * sunrpc/rpc_util.c: Likewise.
47817 * sunrpc/rpc_util.h: Likewise.
47818 * sunrpc/rpcinfo.c: Likewise.
47819 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47820 * sunrpc/rpcsvc/key_prot.x: Likewise.
47821 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47822 * sunrpc/rpcsvc/mount.x: Likewise.
47823 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47824 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47825 * sunrpc/rpcsvc/rex.x: Likewise.
47826 * sunrpc/rpcsvc/rstat.x: Likewise.
47827 * sunrpc/rpcsvc/rusers.x: Likewise.
47828 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47829 * sunrpc/rpcsvc/spray.x: Likewise.
47830 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47831 * sunrpc/rtime.c: Likewise.
47832 * sunrpc/svc.c: Likewise.
47833 * sunrpc/svc_auth.c: Likewise.
47834 * sunrpc/svc_authux.c: Likewise.
47835 * sunrpc/svc_raw.c: Likewise.
47836 * sunrpc/svc_run.c: Likewise.
47837 * sunrpc/svc_simple.c: Likewise.
47838 * sunrpc/svc_tcp.c: Likewise.
47839 * sunrpc/svc_udp.c: Likewise.
47840 * sunrpc/svc_unix.c: Likewise.
47841 * sunrpc/svcauth_des.c: Likewise.
47842 * sunrpc/xcrypt.c: Likewise.
47843 * sunrpc/xdr.c: Likewise.
47844 * sunrpc/xdr_array.c: Likewise.
47845 * sunrpc/xdr_float.c: Likewise.
47846 * sunrpc/xdr_mem.c: Likewise.
47847 * sunrpc/xdr_rec.c: Likewise.
47848 * sunrpc/xdr_ref.c: Likewise.
47849 * sunrpc/xdr_sizeof.c: Likewise.
47850 * sunrpc/xdr_stdio.c: Likewise.
47851
9da4bb31
UD
47852 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47853 handling.
47854
bdaa77bc
AS
478552010-08-19 Andreas Schwab <schwab@redhat.com>
47856
47857 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47858
fe2f79db
LM
478592010-08-19 Luis Machado <luisgpm@br.ibm.com>
47860
47861 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47863 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47864 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47866 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47868 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47870 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47871 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47872 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47873 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47874 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47875
b9b42ee0
AB
478762010-07-26 Anton Blanchard <anton@samba.org>
47877
47878 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47879 * malloc/arena.c (heap_trim): Likewise.
47880
1c06ba31
UD
478812010-08-16 Ulrich Drepper <drepper@redhat.com>
47882
47883 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47884 here. Not...
47885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47886 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47887
f8392f40
L
478882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47889
47890 * sysdeps/i386/elf/Makefile: New file.
47891
3162f12e
AS
478922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47893
47894 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47895 from fanotify_init.
47896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47898
28c90b2c
UD
478992010-08-15 Ulrich Drepper <drepper@redhat.com>
47900
47901 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47902 of strncasecmp_l.
1feccb6c 47903 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47904
ca6bb004
UD
479052010-08-14 Ulrich Drepper <drepper@redhat.com>
47906
e9f82e0d
UD
47907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47908 strncase_l-nonascii.
47909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47910 Add strncase_l-ssse3.
47911 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47912 * sysdeps/x86_64/strcmp.S: Likewise.
47913 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47914 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47915 * sysdeps/x86_64/strncase.S: New file.
47916 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47917 * sysdeps/x86_64/strncase_l.S: New file.
47918 * string/Makefile (strop-tests): Add strncasecmp.
47919 * string/test-strncasecmp.c: New file.
47920
47921 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47922 warning.
47923
ca6bb004
UD
47924 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47926
052fa7b3
AS
479272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47928
47929 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47930
962dba78
UD
479312010-08-12 Ulrich Drepper <drepper@redhat.com>
47932
47933 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47936
bebff237
AM
479372010-05-01 Alan Modra <amodra@gmail.com>
47938
47939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47940 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47941 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47942 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47943 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47944 tidying. Don't tail-call __sigjmp_save for static lib.
47945 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47946 save location.
47947 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47948 (CALL_MCOUNT): Add eh info, and nop after bl.
47949 (TAIL_CALL_SYSCALL_ERROR): New macro.
47950 (PSEUDO_RET): Use it.
47951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47952 Correct save location of integer regs and cr.
47953 (_dl_profile_resolve): Correct cr save location. Delete nops
47954 after bl when SHARED. Reduce cfi size a little by better
47955 placement of cfi directives.
47956 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47957 make a stack frame. Instead use parm save area as a temp.
47958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47959 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47961 Don't make a stack frame for parent, use parm save area.
47962 Increase child stack frame to 112 bytes. Don't save unused reg,
47963 and adjust reg usage. Set up cfi on error recovery and
47964 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47966 (__makecontext): Add dummy nop after jump to exit.
47967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47968 Use correct parm save area and cr save, reduce stack frame.
47969 Correct cfi for possible PSEUDO_RET frame setup.
47970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47971 Branch to local label emitted by PSEUDO_RET rather than
47972 __syscall_error.
47973
02637374
AS
479742010-08-12 Andreas Schwab <schwab@redhat.com>
47975
47976 [BZ #11904]
47977 * locale/programs/locale.c (print_assignment): New function.
47978 (show_locale_vars): Use it.
47979
c3e2f19b
UD
479802010-08-11 Ulrich Drepper <drepper@redhat.com>
47981
3cdaa6ad
UD
47982 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47983 field.
47984 (struct statfs64): Likewise.
47985 (_STATFS_F_FLAGS): Define.
47986 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47988 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47989 (ST_VALID): Define locally.
47990 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47991 __statvfs_getflags, use the provided value.
47992 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47993 __ASSUME_STATFS_F_FLAGS.
47994
754f7da3
UD
47995 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47996
10b3bedc
UD
47997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47998 Add sys/fanotify.h.
47999 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48000 fanotify_mask for GLIBC_2.13.
48001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48002 fanotify_init and fanotify_mark.
48003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48004 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48005
c08fb0d7
UD
48006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48007 Add prlimit.
48008 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48009 prlimit64 for GLIBC_2.13.
48010 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48011 prlimit64.
48012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48013 syscall.
48014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48019 add prlimit alias.
48020 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48021
15bac72b
UD
48022 [BZ #11903]
48023 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48024 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48025
c3e2f19b
UD
48026 * nss/Makefile: Add rules to build and run tst-nss-test1.
48027 * shlib-versions: Add entry for libnss_test1.
48028 * nss/nss_test1.c: New file.
48029 * nss/tst-nss-test1.c: New file.
48030
48031 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48032 (__nss_configure_lookup): Set appropriate entry in
48033 __nss_configure_lookup to true.
48034 * nss/nsswitch.h: Define enum with indeces of databases in
48035 databases and __nss_database_custom arrays. Declare
48036 __nss_database_custom.
48037 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48038 to avoid using nscd when custom rules are installed.
48039 * nss/getXXbyYY_r.c: Likewise.
48040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48041
48042 * nss/nss_files/files-parse.c: Whitespace fixes.
48043
f15ce4d8
UD
480442010-08-09 Ulrich Drepper <drepper@redhat.com>
48045
48046 [BZ #11883]
48047 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48048 * posix/fnmatch_loop.c: Likewise.
48049
d22e4cc9
AK
480502010-07-17 Andi Kleen <ak@linux.intel.com>
48051
48052 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48053 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48054 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48055 * Versions.def [GLIBC_2.13]: Add.
48056
805bc17d
UD
480572010-08-06 Ulrich Drepper <drepper@redhat.com>
48058
48059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48060 Also fail if tpwd after pwuid call is NULL.
48061
5a42321d
ST
480622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48063
48064 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48065 when converting to ms.
48066
fd3ebeda
ST
480672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48068
48069 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48070 EOPNOTSUPP errors with ENOTTY.
48071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48072 EOPNOTSUPP errors with ENOTTY.
48073
73507d3a
UD
480742010-07-31 Ulrich Drepper <drepper@redhat.com>
48075
48076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48077 Add strcasecmp_l-ssse3.
48078 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48079 strcasecmp.
48080 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48081 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48083
fe36dd02
UD
480842010-07-30 Ulrich Drepper <drepper@redhat.com>
48085
66f6765a
UD
48086 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48087
42e08a54
UD
48088 * string/Makefile (strop-tests): Add strcasecmp.
48089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48090 strcasecmp_l-nonascii.
48091 (gen-as-const-headers): Add locale-defines.sym.
48092 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48093 * sysdeps/x86_64/strcasecmp.S: New file.
48094 * sysdeps/x86_64/strcasecmp_l.S: New file.
48095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48096 * sysdeps/x86_64/locale-defines.sym: New file.
48097 * string/test-strcasecmp.c: New file.
48098
fe36dd02
UD
48099 * string/test-strcasestr.c: Test both ends of the range of characters.
48100 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48101
48cbc0d6
RM
481022010-07-29 Roland McGrath <roland@redhat.com>
48103
76e6d6bc 48104 [BZ #11856]
48cbc0d6
RM
48105 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48106
880113d9
UD
481072010-07-27 Ulrich Drepper <drepper@redhat.com>
48108
48109 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48110 for ld.so.
48111
deb9cabb
AS
481122010-07-27 Andreas Schwab <schwab@redhat.com>
48113
48114 * manual/memory.texi (Malloc Tunable Parameters): Document
48115 M_PERTURB.
48116
1c7570ff
RM
481172010-07-26 Roland McGrath <roland@redhat.com>
48118
48119 [BZ #11840]
48120 * configure.in (-fgnu89-inline check): Set and substitute
48121 gnu89_inline, not libc_cv_gnu89_inline.
48122 * configure: Regenerated.
48123 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48124
24fb0f88
UD
481252010-07-26 Ulrich Drepper <drepper@redhat.com>
48126
48127 * string/test-strnlen.c: New file.
48128 * string/Makefile (strop-tests): Add strnlen.
48129 * string/tester.c (test_strnlen): Add a few more test cases.
48130 * string/tst-strlen.c: Better error reporting.
48131
48132 * sysdeps/x86_64/strnlen.S: New file.
48133
8e96b93a
UD
481342010-07-24 Ulrich Drepper <drepper@redhat.com>
48135
48136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48137 lower-latency instructions.
48138
dbc676d4
UD
481392010-07-23 Ulrich Drepper <drepper@redhat.com>
48140
48141 * string/test-strcasestr.c: New file.
48142 * string/test-strstr.c: New file.
48143 * string/Makefile (strop-tests): Add strstr and strcasestr.
48144 * string/str-two-way.h: Don't undefine MAX.
48145 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48146
f6a31e0e
AS
481472010-07-21 Andreas Schwab <schwab@redhat.com>
48148
48149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48150 strcasestr-nonascii.
48151 (CFLAGS-strcasestr-nonascii.c): Define.
48152 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48154 Remove unused attribute.
48155
5dbc3b6c
RM
481562010-07-20 Roland McGrath <roland@redhat.com>
48157
48158 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48159 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48160 ld.so.cache was broken. With it, there is no way to disable dsocaps
48161 like LD_HWCAP_MASK can disable hwcaps.
48162
23d101d8
EPM
481632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48164
48165 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48166
cc9f2e47
UD
481672010-07-16 Ulrich Drepper <drepper@redhat.com>
48168
48169 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48170 call in strcasestr.
48171 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48172 __strcasestr_sse42_nonascii.
48173 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48174 strcasestr-nonascii.c.
48175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48176
77c1b069
LM
481772010-06-15 Luis Machado <luisgpm@br.ibm.com>
48178
48179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48183
440566c3
UD
481842010-07-09 Ulrich Drepper <drepper@redhat.com>
48185
48186 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48187 fcntl.
48188
5be9d05d
AS
481892010-07-06 Andreas Schwab <schwab@redhat.com>
48190
c30b7ee2 48191 [BZ #11577]
5be9d05d
AS
48192 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48193 dl_signal_cerror.
48194
8a492a67
UD
481952010-07-06 Ulrich Drepper <drepper@redhat.com>
48196
48197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48198 _PC_PIPE_BUF using F_GETPIPE_SZ.
48199
713df3d5
RM
482002010-07-05 Roland McGrath <roland@redhat.com>
48201
48202 * manual/arith.texi (Rounding Functions): Fix rint description
48203 implicit in round description.
48204
702e8f14
UD
482052010-07-02 Ulrich Drepper <drepper@redhat.com>
48206
48207 * elf/Makefile: Fix linking for a few tests to make recent linker
48208 happy.
48209
52ed8be9
AS
482102010-06-30 Andreas Schwab <schwab@redhat.com>
48211
48212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48213 $(common-objpfx)libc_nonshared.a.
48214
f47c9a11
LM
482152010-06-21 Luis Machado <luisgpm@br.ibm.com>
48216
48217 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48218 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48219 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48220 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48221 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48222 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48223 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48224 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48239 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48240 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48241 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48242 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48243 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48244 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48245 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48246 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48247 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48248 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48249 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48250 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48265
6fb8cbcb
L
482662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48267
48268 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48269 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48270 * string/memmove.c (memmove): Renamed to ...
48271 (MEMMOVE): ...this. Default to memmove.
48272 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48273 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48274 (END_CHK): Define.
48275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48276 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48277 mempcpy-ssse3-back memmove-ssse3-back.
48278 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48281 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48282 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48283 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48284 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48285 * sysdeps/x86_64/multiarch/memmove.c: New file.
48286 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48287 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48288 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48289 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48292 Define.
48293 (index_Fast_Copy_Backward): Define.
48294 (HAS_ARCH_FEATURE): Define.
48295 (HAS_FAST_REP_STRING): Define.
48296 (HAS_FAST_COPY_BACKWARD): Define.
48297
4e733bac 482982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48299
48300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48301 Restore proper fallback handling.
48302
63c4ed22
UD
483032010-06-19 Ulrich Drepper <drepper@redhat.com>
48304
ac2b484c
UD
48305 [BZ #11701]
48306 * posix/group_member.c (__group_member): Correct checking loop.
48307
63c4ed22
UD
48308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48309 OOM in getpwuid_r correctly. Return error number when the caller
48310 should return, otherwise -1.
48311 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48312 call returning > 0 value.
48313 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48314
765ade4b
AS
483152010-06-07 Andreas Schwab <schwab@redhat.com>
48316
48317 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48318 libc_nonshared.a from targets in modules-names.
48319
80da2e09
KS
483202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48321
48322 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48323 requires it.
48324
158db122
LM
483252010-06-10 Luis Machado <luisgpm@br.ibm.com>
48326
48327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48331
caa78cf8
AS
483322010-06-02 Andreas Schwab <schwab@redhat.com>
48333
48334 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48335
b2ef2c01
UD
483362010-06-14 Ulrich Drepper <drepper@redhat.com>
48337
48338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48339 and F_GETPIPE_SZ.
48340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48346
fbd643b6
RM
483472010-06-14 Roland McGrath <roland@redhat.com>
48348
48349 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48350
f32f2869
JJ
483512010-06-07 Jakub Jelinek <jakub@redhat.com>
48352
48353 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48354 __REDIRECT followed by __THROW.
48355 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48356 * posix/getopt.h (getopt): Likewise.
48357
2a50c078
EPM
483582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48359
48360 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48361 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48362 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48363 in AT_FLAGS.
48364 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48365 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48366
eb5ad2eb
LM
483672010-05-28 Luis Machado <luisgpm@br.ibm.com>
48368
48369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48370
3c88fe1e
L
483712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48372
48373 [BZ #11640]
48374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48375 Properly check family and model.
48376
d2f73151
TY
483772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48378
48379 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48380
ebd2e13d
LM
483812010-05-24 Luis Machado <luisgpm@br.ibm.com>
48382
48383 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48384
b32b8b45
UD
483852010-05-21 Ulrich Drepper <drepper@redhat.com>
48386
48387 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48388 symbol reference.
48389
9acbe24d
AS
483902010-05-19 Andreas Schwab <schwab@redhat.com>
48391
48392 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48393 symbol reference.
48394
f0ccf6ea
AS
483952010-05-21 Andreas Schwab <schwab@redhat.com>
48396
3d04ff3a
AS
48397 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48398 and internal_recvmmsg.
48399 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48400 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48401 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48402 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48403
f0ccf6ea
AS
48404 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48405 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48406 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48407
5b08ac57
AS
484082010-05-20 Andreas Schwab <schwab@redhat.com>
48409
48410 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48411
4828935d
LM
484122010-05-17 Luis Machado <luisgpm@br.ibm.com>
48413
48414 POWER7 optimizations.
48415 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48416 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48417
373d545e
UD
484182010-05-19 Ulrich Drepper <drepper@redhat.com>
48419
48420 * version.h: Update for 2.13 development version.
48421
21a2b1ae
AS
484222010-05-12 Andrew Stubbs <ams@codesourcery.com>
48423
48424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48425 exceptions. Return 0.
48426
3f7dcb2b
RM
484272010-05-07 Roland McGrath <roland@redhat.com>
48428
48429 * elf/ldconfig.c (main): Add a const.
48430
5f24d53a 484312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48432
a160f8d8
UD
48433 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48434 (args_options): Add no-idn option.
48435 (ahosts_keys_int): Add idn_flags to ai_flags.
48436 (parse_option): Handle 'i' option to clear idn_flags.
48437
5f24d53a
UD
48438 * malloc/malloc.c (_int_free): Possible race in the most recently
48439 added check. Only act on the data if no current modification
48440 happened.
265bb1ce
UD
48441
48442See ChangeLog.17 for earlier changes.