]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix up incorrect formatting in last commit
[thirdparty/glibc.git] / ChangeLog
CommitLineData
33cc770b
SP
12014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4 (do_compare): Likewise.
5
0742aef6
LH
62014-10-17 Leonhard Holz <leonhard.holz@web.de>
7
8 [BZ #15884]
9 * string/strcoll_l.c: Don't include stdio.h.
10 (coll_seq): Remove members idxarr and rulearr.
11 (get_next_seq_cached): Remove function.
12 (get_next_seq): Likewise.
13 (get_next_seq_nocache): Rename to get_next_seq.
14 (do_compare): Remove function.
15 (do_compare_nocache): Rename to do_compare.
16 (STRCOLL): Remove weight and rules cache.
17
ee54ce44
RM
182014-10-16 Roland McGrath <roland@hack.frob.com>
19
20 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21 * sysdeps/arm/sfp-machine.h: ... to here.
22 * sysdeps/arm/Implies: Remove arm/soft-fp.
23
a75d3b02
JM
242014-10-14 Joseph Myers <joseph@codesourcery.com>
25
26 * conform/data/sys/utsname.h-data (*_t): Allow.
27 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28 [POSIX] (WEXITED): Do not expect constant.
29 [POSIX] (WSTOPPED): Likewise.
30 [POSIX] (WNOHANG): Likewise.
31 [POSIX] (WNOWAIT): Likewise.
32 [POSIX] (siginfo_t): Do not expect type or elements.
33 [POSIX] (pid_t): Do not expect type.
34 [POSIX] (signal.h): Do not allow header.
35 [POSIX] (sys/resource.h): Likewise.
36 [POSIX] (si_*): Do not allow pattern.
37 [POSIX] (W*): Likewise.
38 [POSIX] (P_*): Likewise.
39 [POSIX] (BUS_*): Likewise.
40 [POSIX] (CLD_*): Likewise.
41 [POSIX] (FPE_*): Likewise.
42 [POSIX] (ILL_*): Likewise.
43 [POSIX] (POLL_*): Likewise.
44 [POSIX] (SEGV_*): Likewise.
45 [POSIX] (SI_*): Likewise.
46 [POSIX] (TRAP_*): Likewise.
47 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
48 variable.
49
fda389c8
SP
502014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
51
52 [BZ #12926]
53 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
54 infinite loop when __recvmsg returns 0.
55
6bc6bd3b
JM
562014-10-10 Joseph Myers <joseph@codesourcery.com>
57
fcb32af1
JM
58 * CANCEL-FCT-WAIVE: Remove file.
59 * CANCEL-FILE-WAIVE: Likewise.
60
6bc6bd3b
JM
61 [BZ #14132]
62 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
63 instead of INTVARDEF.
64 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
65 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
66 rtld_hidden_data_def instead of INTVARDEF.
67 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
68 * elf/dl-deps.c (expand_dst): Likewise.
69 * elf/dl-load.c (_dl_dst_count): Likewise.
70 (_dl_dst_substitute): Likewise.
71 (decompose_rpath): Likewise.
72 (_dl_init_paths): Likewise.
73 (open_path): Likewise.
74 (_dl_map_object): Likewise.
75 * elf/rtld.c (dl_main): Likewise.
76 (process_dl_audit): Likewise.
77 (process_envvars): Likewise.
78 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
79 Remove declaration.
80 (__libc_enable_secure): Use rtld_hidden_proto.
81
b8c80a7e
KS
822014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
83
84 * elf/dl-load.c
85 (add_path): New function broken out of _dl_rtld_di_serinfo.
86 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
87
ff12c11f
JM
882014-10-09 Joseph Myers <joseph@codesourcery.com>
89
5c0508a3
JM
90 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
91 parentheses around macro arguments.
92 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
93 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
94 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
95 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
96 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
97 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
98 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
99 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
100 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
101 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
102 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
103 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
104 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
105 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
106 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
107 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
108 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
109 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
110 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
111 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
112 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
113 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
114 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
115 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
116 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
117 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
118 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
119 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
120 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
121 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
122 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
123 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
124 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
125 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
126 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
127 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
128 Likewise.
129 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
130 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
131 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
133 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
134 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
135 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
136 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
137 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
138 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
139 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
140 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
141 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
142 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
143 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
144 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
145 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
146 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
147 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
148 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
150 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
151 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
152 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
153 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
154 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
155 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
156 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
157 (_FP_FRAC_SRS_1): Likewise.
158 (_FP_FRAC_CLZ_1): Likewise.
159 (_FP_MUL_MEAT_1_imm): Likewise.
160 (_FP_MUL_MEAT_1_wide): Likewise.
161 (_FP_MUL_MEAT_1_hard): Likewise.
162 (_FP_SQRT_MEAT_1): Likewise.
163 (_FP_FRAC_ASSEMBLE_1): Likewise.
164 (_FP_FRAC_DISASSEMBLE_1): Likewise.
165 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
166 (__FP_CLZ_2): Likewise.
167 (_FP_MUL_MEAT_2_wide): Likewise.
168 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
169 (_FP_MUL_MEAT_2_gmp): Likewise.
170 (_FP_MUL_MEAT_2_120_240_double): Likewise.
171 (_FP_SQRT_MEAT_2): Likewise.
172 (_FP_FRAC_ASSEMBLE_2): Likewise.
173 (_FP_FRAC_DISASSEMBLE_2): Likewise.
174 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
175 (_FP_FRAC_CLZ_4): Likewise.
176 (_FP_MUL_MEAT_4_wide): Likewise.
177 (_FP_MUL_MEAT_4_gmp): Likewise.
178 (_FP_SQRT_MEAT_4): Likewise.
179 (_FP_FRAC_ASSEMBLE_4): Likewise.
180 (_FP_FRAC_DISASSEMBLE_4): Likewise.
181 * soft-fp/op-common.h (_FP_CMP): Likewise.
182 (_FP_CMP_EQ): Likewise.
183 (_FP_CMP_UNORD): Likewise.
184 (_FP_TO_INT): Likewise.
185 (_FP_FROM_INT): Likewise.
186 [!__FP_CLZ] (__FP_CLZ): Likewise.
187 (_FP_DIV_HELP_imm): Likewise.
188 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
189 Likewise.
190 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
191 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
192 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
193 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
194 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
195 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
196 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
197 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
199 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
200 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
201 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
202 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
203 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
204 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
205 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
206 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
207 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
208 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
209 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
210 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
211 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
212 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
213 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
214 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
215 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
217 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
218 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
219 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
220 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
221 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
222 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
223 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
224 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
225 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
226 (FP_UNPACK_RAW_SP): Likewise.
227 (FP_PACK_RAW_S): Likewise.
228 (FP_PACK_RAW_SP): Likewise.
229 (FP_UNPACK_S): Likewise.
230 (FP_UNPACK_SP): Likewise.
231 (FP_UNPACK_SEMIRAW_S): Likewise.
232 (FP_UNPACK_SEMIRAW_SP): Likewise.
233 (FP_PACK_S): Likewise.
234 (FP_PACK_SP): Likewise.
235 (FP_PACK_SEMIRAW_S): Likewise.
236 (FP_PACK_SEMIRAW_SP): Likewise.
237 (_FP_SQRT_MEAT_S): Likewise.
238 (FP_CMP_S): Likewise.
239 (FP_CMP_EQ_S): Likewise.
240 (FP_CMP_UNORD_S): Likewise.
241 (FP_TO_INT_S): Likewise.
242 (FP_FROM_INT_S): Likewise.
243
a736ec37
JM
244 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
245
ff12c11f
JM
246 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
247 (FP_EX_INVALID_IMZ): Likewise.
248 (FP_EX_INVALID_IMZ_FMA): Likewise.
249 (FP_EX_INVALID_ISI): Likewise.
250 (FP_EX_INVALID_ZDZ): Likewise.
251 (FP_EX_INVALID_IDI): Likewise.
252 (FP_EX_INVALID_SQRT): Likewise.
253 (FP_EX_INVALID_CVI): Likewise.
254 (FP_EX_INVALID_VC): Likewise.
255 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
256 "invalid" exceptions.
257 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
258 (_FP_ADD_INTERNAL): Likewise.
259 (_FP_MUL): Likewise.
260 (_FP_FMA): Likewise.
261 (_FP_DIV): Likewise.
262 (_FP_CMP_CHECK_NAN): Likewise.
263 (_FP_SQRT): Likewise.
264 (_FP_TO_INT): Likewise.
265 (FP_EXTEND): Likewise.
266
b6dcfe8c
AM
2672014-10-09 Allan McRae <allan@archlinux.org>
268
269 * po/fr.po: Update French translation from translation project.
270
2d6a47ba
JM
2712014-10-09 Joseph Myers <joseph@codesourcery.com>
272
cb831245
JM
273 [BZ #14132]
274 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
275 of INTDEF.
276 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
277 (__cxa_atexit): Use libc_hidden_proto.
278 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
279
5deeb190
JM
280 [BZ #14132]
281 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
282 declaration.
283 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
284 [!_ISOMAC] (__iswspace_l_internal): Likewise.
285 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
286 [!_ISOMAC] (__iswctype_internal): Likewise.
287 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
288 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
289 alias.
290 (fcntl): Remove __fcntl_internal alias.
291 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
292 __connect_internal alias.
293 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
294 Likewise.
295
454ac701
JM
296 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
297 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
298 FP_DENORM_ZERO.
299 (_FP_CHECK_FLUSH_ZERO): New macro.
300 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
301 (_FP_CMP): Likewise.
302 (_FP_CMP_EQ): Likewise.
303 (_FP_TO_INT): Do not set inexact for subnormal arguments if
304 FP_DENORM_ZERO.
305 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
306 (FP_TRUNC): Likewise.
307
0022e688
JM
308 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
309 treated as invalid conversion, not as normal exponent.
310
73e28d9c
JM
311 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
312 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
313 (_FP_CMP_EQ): Likewise.
314 (_FP_CMP_UNORD): Likewise.
315 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
316 (FP_CMP_EQ_D): Likewise.
317 (FP_CMP_UNORD_D): Likewise.
318 * soft-fp/extended.h (FP_CMP_E): Likewise.
319 (FP_CMP_EQ_E): Likewise.
320 (FP_CMP_UNORD_E): Likewise.
321 * soft-fp/quad.h (FP_CMP_Q): Likewise.
322 (FP_CMP_EQ_Q): Likewise.
323 (FP_CMP_UNORD_Q): Likewise.
324 * soft-fp/single.h (FP_CMP_S): Likewise.
325 (FP_CMP_EQ_S): Likewise.
326 (FP_CMP_UNORD_S): Likewise.
327 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
328 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
329 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
330 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
331 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
332 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
333 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
334 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
335 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
336 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
337 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
338 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
339 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
340 to FP_CMP_Q.
341 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
342 FP_CMP_Q.
343 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
344 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
345 FP_CMP_EQ_Q.
346 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
347 FP_CMP_Q.
348 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
349 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
350 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
351 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
352 FP_CMP_EQ_Q.
353 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
354 FP_CMP_Q.
355 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
356 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
357 FP_CMP_EQ_Q.
358 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
359 FP_CMP_Q.
360 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
361 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
362 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
363 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
364 FP_CMP_EQ_Q.
365
43059f42
JM
366 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
367 a subnormal result, set the underflow exception if trapping on
368 underflow is enabled.
369 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
370 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
371 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
372 redefine to 0.
373 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
374 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
375 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
376 * soft-fp/extendxftf2.c (__extendxftf2): Use
377 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
378
2d6a47ba
JM
379 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
380 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
381 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
382 FP_HANDLE_EXCEPTIONS.
383 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
384 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
385 FP_HANDLE_EXCEPTIONS.
386 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
387 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
388 FP_HANDLE_EXCEPTIONS.
389 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
390 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
391 FP_HANDLE_EXCEPTIONS.
392
620f462e
JM
3932014-10-08 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #14132]
396 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
397 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
398 use INTUSE.
399 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
400 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
401 Remove alias.
402 (__adjtimex): Define using libc_hidden_ver.
403 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
404 Remove declaration.
405 (ntp_gettime): Call __adjtimex directly.
406 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
407 Remove declaration.
408 (ntp_gettimex): Call __adjtimex directly.
409 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
410 __adjtimex_internal alias.
411
c763c5d2
RM
4122014-10-08 Roland McGrath <roland@hack.frob.com>
413
414 [BZ #17460]
415 * nscd/nscd.c (more_help): Rewrite list of tables collection
416 using xstrdup and asprintf.
417
418 * nscd/nscd_conf.c: Remove local xstrdup declaration.
419
7b8fb2b8
RM
4202014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
421 Roland McGrath <roland@hack.frob.com>
422
423 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
424 (do_lookup_unique): ... local function 'enter' here; update callers.
425
abb280f7
JM
4262014-10-06 Joseph Myers <joseph@codesourcery.com>
427
f7b42517
JM
428 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
429 compat_symbol calls on [SHARED].
430 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
431 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
432 Remove.
433 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
434 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
435 (oldsetrlimit): Remove.
436 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
438 (lchown): New syscall entry.
439 (oldsetrlimit): Remove.
440 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
442 (oldsetrlimit): Remove.
443 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
444
abb280f7
JM
445 [BZ #14138]
446 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
447 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
448 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
449 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
450 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
451 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
452 (fchown): Likewise.
453 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
454 (fchown): Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
456 Likewise.
457
47d46237
AZ
4582014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
459
460 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
461 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
462 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
463 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
464 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
465 Likewise.
466 (__old_sem_post): Likewise.
467
4682014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 469
845a7343
CM
470 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
471 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
472 HAVE_CLOCK_GETTIME_VSYSCALL macros.
473 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
474 Use INLINE_VSYSCALL macro.
475 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
476 __vdso_clock_gettime.
477 * sysdeps/unix/sysv/linux/tile/init-first.c
478 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
479 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
480 __vdso_clock_gettime.
481
83d641ef
CM
482 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
483 to set up frame more cleanly.
484
d9cd52e6
CM
485 * sysdeps/tile/memcmp.c: New file.
486
4b68ea11
CM
487 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
488
c86f7b80
CM
489 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
490 * sysdeps/tile/tilegx/strcasestr.c: New file.
491 * sysdeps/tile/tilegx/strnlen.c: New file.
492 * sysdeps/tile/tilegx/strstr.c: New file.
493
1c4c1a6f
CM
494 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
495
99d86ea3
AS
4962014-10-06 Arjun Shankar <arjun.is@lostca.se>
497
498 * nptl/tst-setuid3.c: Write errors to stdout.
499
06210a44
KS
5002014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
501
502 * elf/dl-deps.c
503 (preload): New functions broken out of _dl_map_object_deps.
504 (_dl_map_object_deps): Remove a nested function. Update call sites.
505
6268f532
JM
5062014-10-01 Joseph Myers <joseph@codesourcery.com>
507
508 [BZ #14138]
509 * sysdeps/unix/sysv/linux/execve.c: Remove file.
510 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
511
b925285f
SE
5122014-10-01 Steve Ellcey <sellcey@mips.com>
513
514 * sysdeps/mips/strcmp.S: New.
515
754a15c6
JM
5162014-09-30 Joseph Myers <joseph@codesourcery.com>
517
518 [BZ #14138]
519 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
520 (linkat): Likewise.
521 (mkdirat): Likewise.
522 (readlinkat): Likewise.
523 (renameat): Likewise.
524 (symlinkat): Likewise.
525 (unlinkat): Likewise.
526 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
527 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
528 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
529 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
530 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
531 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
532 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
533
85bb81c9
WN
5342014-09-30 Will Newton <will.newton@linaro.org>
535
dc6fe23b
WN
536 * math/math.h: Define long double math functions if
537 _LIBC_TEST is defined.
538 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
539
85bb81c9
WN
540 * localedata/Makefile: Move assignment to tests-special
541 into an ifdef testing run-built-tests.
542 * timezone/Makefile: Likewise.
543
b7e02da4
JM
5442014-09-29 Joseph Myers <joseph@codesourcery.com>
545
546 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
547 with $(BASH) not $(SHELL).
548
62058ce6
CD
5492014-09-29 Carlos O'Donell <carlos@redhat.com>
550 Matthew LeGendre <legendre1@llnl.gov>
551
552 [BZ #17411]
553 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
554 l_reloc_result.
555
8e257a29
KS
5562014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
557
558 * stdio-common/printf_fp.c
559 (hack_digit): New function, broken out of ...
560 (__printf_fp): ... local function here. Update call sites.
561 hack_digit now takes an additional parameter that is a pointer
562 to a struct of the referenced locals. Those locals moved inside
563 the struct and references updated.
564
f4a58f0d
L
5652014-09-29 H.J. Lu <hongjiu.lu@intel.com>
566
567 * aclocal.m4: Require autoconf 2.69.
568 * configure: Regenerated.
569 * sysdeps/aarch64/configure: Likewise.
570 * sysdeps/alpha/configure: Likewise.
571 * sysdeps/arm/armv7/configure: Likewise.
572 * sysdeps/arm/configure: Likewise.
573 * sysdeps/ia64/configure: Likewise.
574 * sysdeps/mach/configure: Likewise.
575 * sysdeps/mips/configure: Likewise.
576 * sysdeps/s390/configure: Likewise.
577 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
579
580 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
581 file.
582 * sysdeps/ia64/configure.ac: Likewise.
583
93ae1eba
JM
5842014-09-26 Joseph Myers <joseph@codesourcery.com>
585
1810d3ab
JM
586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
587 specify symbol version for ld.so. Do not include entry for
588 libpthread.
589 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
592
93ae1eba
JM
593 [BZ #14171]
594 * Makeconfig [$(build-shared) = yes]
595 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
596 makefiles.
597 [$(build-shared) = yes && $(soversions.mk-done) = t]
598 ($(common-objpfx)gnu/lib-names.h): Remove rule.
599 [$(build-shared) = yes && $(soversions.mk-done) = t]
600 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
601 to Makerules.
602 [$(build-shared) = yes && $(soversions.mk-done) = t]
603 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
604 here.
605 [$(build-shared) = yes && $(soversions.mk-done) = t]
606 (common-generated): Don't append gnu/lib-names.h and
607 gnu/lib-names.stmp here.
608 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
609 (lib-names-h-abi): New variable.
610 [$(build-shared) = yes && $(soversions.mk-done) = t]
611 (lib-names-stmp-abi): Likewise.
612 [$(build-shared) = yes && $(soversions.mk-done) = t &&
613 abi-variants] (before-compile): Append
614 $(common-objpfx)$(lib-names-h-abi).
615 [$(build-shared) = yes && $(soversions.mk-done) = t &&
616 abi-variants] (common-generated): Append gnu/lib-names.h.
617 [$(build-shared) = yes && $(soversions.mk-done) = t &&
618 abi-variants] (install-others-nosubdir): Depend on
619 $(inst_includedir)/$(lib-names-h-abi).
620 [$(build-shared) = yes && $(soversions.mk-done) = t &&
621 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
622 [$(build-shared) = yes && $(soversions.mk-done) = t]
623 ($(common-objpfx)$(lib-names-h-abi)): New rule.
624 [$(build-shared) = yes && $(soversions.mk-done) = t]
625 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
626 [$(build-shared) = yes && $(soversions.mk-done) = t]
627 (common-generated): Append $(lib-names-h-abi) and
628 $(lib-names-stmp-abi).
629 * scripts/lib-names.awk: Do not handle multi being set.
630 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
631 Remove variable.
632 (abi-lp64_be-ld-soname): Likewise.
633 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
634 Likewise.
635 (abi-hard-ld-soname): Likewise.
636 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
637 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
638 Remove variable.
639 (abi-o32_hard-ld-soname): Likewise.
640 (abi-o32_soft_2008-ld-soname): Likewise.
641 (abi-o32_hard_2008-ld-soname): Likewise.
642 (abi-n32_soft-ld-soname): Likewise.
643 (abi-n32_hard-ld-soname): Likewise.
644 (abi-n32_soft_2008-ld-soname): Likewise.
645 (abi-n32_hard_2008-ld-soname): Likewise.
646 (abi-n64_soft-ld-soname): Likewise.
647 (abi-n64_hard-ld-soname): Likewise.
648 (abi-n64_soft_2008-ld-soname): Likewise.
649 (abi-n64_hard_2008-ld-soname): Likewise.
650 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
651 Likewise.
652 (abi-64-v2-ld-soname): Likewise.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
654 ld.so entries.
655 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
656 variable.
657 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
658 entry.
659 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
660 variable.
661 (abi-64-ld-soname): Likewise.
662 (abi-x32-ld-soname): Likewise.
663 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
664 entry.
665 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
666
68870f12
JM
6672014-09-23 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #14138]
670 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
671 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
672 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
673 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
674 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
675 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
676 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
677 syscall entry for GLIBC_2.2 symbol version.
678 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
679 Likewise.
680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
681 (setrlimit): Likewise.
682 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
683 Likewise.
684
ea58f202
WN
6852014-09-23 Will Newton <will.newton@linaro.org>
686
687 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
688 _LINUX_ARM_SYSDEP_H include guard too.
689 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
690 define.
691
69eb9a18
RV
6922014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
693
694 * sysdeps/unix/sysv/linux/eventfd.c:
695 Make first argument unsigned.
696 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
697 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
698
20e5a5f7
OB
6992014-09-20 Ondřej Bílka <neleai@seznam.cz>
700
701 * socket/recvmmsg.c (recvmmsg): Drop const argument.
702 * socket/sys/socket.h: Likewise
703 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
704
d3c827e7
AK
7052014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
706
707 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
708
fe1cc35a
AS
7092014-09-17 Arjun Shankar <arjun.is@lostca.se>
710
711 * time/tst-ftime.c: New test.
712 * time/Makefile (tests): Add tst-ftime.
713
4e8afe69
JM
7142014-09-17 Joseph Myers <joseph@codesourcery.com>
715
c4fe3ea7
JM
716 * soft-fp/extended.h: Fix comment formatting.
717 * soft-fp/op-1.h: Likewise.
718 * soft-fp/op-2.h: Likewise.
719 * soft-fp/op-4.h: Likewise.
720 * soft-fp/op-8.h: Likewise.
721 * soft-fp/op-common.h: Likewise.
722 * soft-fp/soft-fp.h: Likewise.
723
4e8afe69
JM
724 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
725
af296fcd
JM
7262014-09-16 Joseph Myers <joseph@codesourcery.com>
727
728 [BZ #6652]
729 * Makeconfig (soversions-default-setname): Remove variable.
730 ($(common-objpfx)soversions.i): Don't pass default_setname to
731 soversions.awk.
732 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
733 oldest_abi to abi-versions.awk.
734 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
735 * config.make.in (oldest-abi): Remove variable.
736 * configure.ac (--enable-oldest-abi): Remove configure option.
737 * configure: Regenerated.
738 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
739 text.
740 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
741 * scripts/soversions.awk: Do not handle default_setname variable.
742 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
743 variable.
744 * sysdeps/mach/hurd/configure: Regenerated.
745 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
746 variable.
747 * sysdeps/unix/sysv/linux/configure: Regenerated.
748
545583d6
SP
7492014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
750
d330b980
SP
751 * elf/Makefile (CFLAGS-interp.c): Remove.
752 ($(elf-objpfx)runtime-linker.h): Generate header with linker
753 path string.
754 * elf/interp.c: Include generated runtime-linker.h
755
02657da2
SP
756 * Makerules (lib%.so): Don't include $(+interp) in
757 prerequisites.
758 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
759 * dlfcn/eval.c: Remove file.
760
653b1080
SP
761 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
762 macros.
763
602f80ec
SP
764 [BZ #17266]
765 * misc/sys/cdefs.h: Define __extern_always_inline for clang
766 4.2 and newer.
767
545583d6
SP
768 [BZ #17370]
769 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
770
884ddc50
SP
7712014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
772 Jakub Jelinek <jakub@redhat.com>
773
774 [BZ #17266]
775 * libio/stdio.h: Check definition of __fortify_function
776 instead of __extern_always_inline to include bits/stdio2.h.
777 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
778 check if __extern_always_inline is defined.
779 [__USE_MISC || __USE_XOPEN]: Likewise.
780 [__USE_ISOC99] Likewise.
781 * misc/sys/cdefs.h (__fortify_function): Define only if
782 __extern_always_inline is defined.
783 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
784 __extern_always_inline and __extern_inline only for g++-4.3
785 and newer or a compatible gcc.
786
a7b87268
AS
7872014-09-15 Andreas Schwab <schwab@linux-m68k.org>
788
789 [BZ #17371]
790 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
791 last change to handle zero prefix length.
792
3f41521d
SP
7932014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
794
61fe374a
SP
795 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
796 _SC_REGEX_VERSION.
797
3f41521d
SP
798 * posix/getconf.c (vars): Add _POSIX_IPV6 and
799 _POSIX_RAW_SOCKETS.
800
d8f879ee
AM
8012014-09-13 Allan McRae <allan@archlinux.org>
802
803 * po/ru.po: Update Russian translation from translation project.
804
c079afb7
RM
8052014-09-12 Roland McGrath <roland@hack.frob.com>
806
a62b3c15
RM
807 * locale/programs/locale.c (show_locale_vars): Inline local function
808 into its sole call site. Clean up some style nits.
809 (print_item): New function, broken out of ...
810 (show_info): ... local function here. Clean up style nits.
811
d7e49b19
RM
812 * locale/programs/ld-ctype.c (set_one_default): New function, broken
813 out of ...
814 (set_class_defaults): ... local function set_default here.
815 Define set_default as a macro locally to pass constant parameters.
816 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
817 rather than a shared local.
818
c079afb7
RM
819 * stdlib/rpmatch.c (try): New function, broken out of ...
820 (rpmatch): ... local function here. Also, prototypify definition.
821
0bd72468
JM
8222014-09-12 Joseph Myers <joseph@codesourcery.com>
823
ba90e050
JM
824 * scripts/soversions.awk: Do not handle configuration names.
825 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
826 vendor and os variables to soversions.awk.
827 * configure.ac: Do not modify gnu-* host_os.
828 * configure: Regenerated
829 * shlib-versions: Remove first column with configuration names.
830 * nptl/shlib-versions: Likewise.
831 * nptl_db/shlib-versions: Likewise.
832 * sysdeps/hppa/shlib-versions: Likewise.
833 * sysdeps/m68k/shlib-versions: Likewise.
834 * sysdeps/mach/hurd/shlib-versions: Likewise.
835 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
836 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
837 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
838 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
839 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
840 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
841 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
842 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
844 Likewise.
845 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
846 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
847 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
850 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
851 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
852 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
853
73a39112
JM
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
855 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
857 Regenerated.
858 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
860 Condition symbol version definitions on [HAVE_ELFV2_ABI].
861
c729e7c1
JM
862 * shlib-versions: Remove OS-specific entries. Moved to files in
863 sysdeps.
864 * sysdeps/mach/hurd/shlib-versions: New file.
865 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
866
dc932a24
JM
867 * nptl/shlib-versions: Remove architecture-specific entries.
868 Moved to files in sysdeps.
869 * shlib-versions: Likewise.
870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
871 file.
872 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
873 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
874 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
875 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
876
0bd72468
JM
877 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
878 (UDP_NO_CHECK6_RX): Likewise.
879
920238e0
SP
8802014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
881
882 * sysdeps/posix/sysconf.c (__sysconf): Spell
883 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
884
ba7b4d29
FW
8852014-08-12 Florian Weimer <fweimer@redhat.com>
886
887 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
888 loading.
889 * iconv/Versions (__gconv_transliterate): Export for use from
890 gconv modules.
891 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
892 (struct __gconv_trans_data, __gconv_trans_fct,
893 __gconv_trans_context_fct, __gconv_trans_query_fct,
894 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
895 definitions.
896 (struct __gconv_step_data): Remove __trans member.
897 (__gconv_transliterate): Declaration moved from gconv_int.h. No
898 longer hidden. Remove unused trans_data argument.
899 * iconv/gconv_int.h (struct trans_struct): Remove definition.
900 (__gconv_translit_find): Remove declaration.
901 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
902 prototype.
903 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
904 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
905 trans_data argument. Add hidden definition.
906 (__gconv_translit_find): Remove.
907 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
908 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
909 * iconv/skeleton.c: Remove transliteration initialization.
910 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
911 __gconv_step_data initialization.
912 * libio/iofwide.c (__libio_translit_): Remove.
913 (_IO_fwide): Adjust struct __gconv_step_data initialization.
914 * wcsmbs/btowc.c (__btowc): Likewise.
915 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
916 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
917 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
918 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
919 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
920 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
921 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
922 * wcsmbs/wctob.c (wctob): Likewise.
923
5379aebd
SP
9242014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
925
926 [BZ #16194]
927 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
928 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
929 register usage.
930 * sysdeps/x86/Makefile: Adjust.
931
8c0ab919
RM
9322014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
933 Roland McGrath <roland@hack.frob.com>
934
935 * locale/weight.h: Add include guard.
936 (findidx): Make static rather than auto; take new parameters
937 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
938 * locale/weightwc.h: Likewise.
939 * posix/fnmatch_loop.c
940 (FCT): Change type of EXTRA from int32_t to wint_t.
941 Don't include either header inside the function.
942 Call FINDIDX rather than findidx, and pass new arguments.
943 #undef FINDIDX at the end of the file.
944 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
945 FINDIDX before including fnmatch_loop.c for the non-wide version.
946 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
947 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
948 for the wide version.
949 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
950 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
951 Pass new arguments to findidx.
952 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
953 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
954 Don't #include it inside the function. Pass new arguments to findidx.
955 * posix/regex_internal.h
956 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
957 (re_string_elem_size_at): Don't #include it inside the function.
958 Pass new arguments to findidx.
959 * string/strcoll_l.c: #include WEIGHT_H at top level.
960 (get_next_seq): Don't #include it inside the function.
961 Pass new arguments to findidx.
962 (get_next_seq_nocache): Likewise.
963 * string/strxfrm_l.c: #include WEIGHT_H at top level.
964 (STRXFRM): Don't #include it inside the function.
965 Pass new arguments to findidx.
966
52ffbdf2
FW
9672014-09-11 Florian Weimer <fweimer@redhat.com>
968
969 [BZ #17344]
970 * malloc/malloc.c (unlink): Turn asserts into a call to
971 malloc_printerr.
972
984c0ea9
TL
9732014-09-11 Tim Lammens <tim.lammens@gmail.com>
974
975 [BZ #17370]
976 * libio/wfileops (do_ftell_wide): Free OUT.
977
3daee107
CM
9782014-09-10 Chris Metcalf <cmetcalf@tilera.com>
979
980 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
981
58b930ae
SP
9822014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
983
984 [BZ #17363]
985 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
986 group if the current group is empty.
987
3b473fec
AZ
9882014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989
71ae8647
AZ
990 * benchtests/bench-memset.c (test_main): Add more test from size
991 from 32 to 512 bytes.
992 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
993 Add POWER8 memset object.
994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
995 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
996 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
997 implementation.
998 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
999 Likewise.
1000 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1001 multiarch POWER8 memset optimization.
1002 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1003 POWER8 memset optimization.
1004
3b473fec
AZ
1005 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1006 Remove bzero multiarch objects.
1007 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1008 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1009 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1010 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1011 Remove define.
1012 [__bzero]: Redefine to specific name.
1013 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1014 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1015 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1016 define.
1017 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1018 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1019
e6fb9587
FW
10202014-09-10 Florian Weimer <fweimer@redhat.com>
1021
1022 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1023 warnings into errors.
1024
1025 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1026 __cxa_thread_atexit_impl prototype.
1027
9d3a350b
SE
10282014-09-09 Steve Ellcey <sellcey@mips.com>
1029
1030 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1031 Fix capitalization of error message.
1032
0febba23
SE
10332014-09-09 Steve Ellcey <sellcey@mips.com>
1034
1035 * sysdeps/mips/preconfigure: Modify ABI tests.
1036
645a0e9c
CD
10372014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1038
1039 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1040
d83f0734
CD
10412014-09-07 Roland McGrath <roland@hack.frob.com>
1042 Carlos O'Donell <carlos@systemhalted.org>
1043
1044 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1045 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1046 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1047 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1048 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1049 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1050 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1051 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1052 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1053 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1054 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1055 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1056 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1057 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1058 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1059 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1060 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1061 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1062 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1063 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1064 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1065 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1066 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1067 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1068 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1069 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1070 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1071 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1072 Deconditionalize the code that was previously under [RESET_PID].
1073 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1074 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1075 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1076 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1077 include sysdep.h.
1078
21c83793
AM
10792014-09-08 Allan McRae <allan@archlinux.org>
1080
1081 * version.h (RELEASE): Set to "development".
1082 (VERSION): Set to "2.20.90"
1083
1cd9b65c
AM
10842014-09-07 Allan McRae <allan@archlinux.org
1085
b8079dd0
AM
1086 * version.h (RELEASE): Set to "stable".
1087 (VERSION): Set to "2.20"
1088 * include/features.h (__GLIBC_MINOR__): Set to 20.
1089
c46303ef
AM
1090 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1091 Liebler.
1092
1cd9b65c
AM
1093 * po/ko.po: Update Korean translation from translation project.
1094
8622092d
CM
10952014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1096
1097 [BZ #17354]
1098 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1099 macro for handling signed relocations.
1100
41488498
FW
11012014-09-03 Florian Weimer <fweimer@redhat.com>
1102
1103 [BZ #17325]
1104 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1105 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1106 assert.
1107 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1108 * iconvdata/ibm935.c (BODY): Likewise.
1109 * iconvdata/ibm937.c (BODY): Likewise.
1110 * iconvdata/ibm939.c (BODY): Likewise.
1111 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1112 assert.
1113 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1114 script.
1115 * iconvdata/run-iconv-test.sh: New test loop for checking for
1116 decoder crashers.
1117
a78b712d
KR
11182014-09-02 Khem Raj <raj.khem@gmail.com>
1119
1120 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1121 libm_hidden_ver.
1122
cb08abc6
AM
11232014-09-01 Allan McRae <allan@archlinux.org>
1124
2c31e102
AM
1125 * po/eo.po: Update Esperanto translation from translation project.
1126
cb08abc6
AM
1127 * po/ca.po: Update Catalan translation from translation project.
1128
17a62de1
ST
11292014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1130
1131 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1132 __proc_dostop call.
1133
9570bc53
MW
11342014-08-27 Mark Wielaard <mjw@redhat.com>
1135
1136 [BZ #17319]
1137 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1138 to call set_thread_area instead of hand written asm.
1139 (__NR_set_thread_area): Removed define.
1140 (TLS_FLAG_WRITABLE): Likewise.
1141 (__ASSUME_SET_THREAD_AREA): Remove check.
1142 (TLS_EBX_ARG): Remove define.
1143 (TLS_LOAD_EBX): Likewise.
1144
b0f955c9
ST
11452014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1146
1147 Simplify atomicity of socket creation in bind.
1148
1149 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1150 looking up the name after linking the file.
1151
529bf515
AM
11522014-08-27 Allan McRae <allan@archlinux.org>
1153
1154 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1155
a1a6a401
FW
11562014-08-26 Florian Weimer <fweimer@redhat.com>
1157
1158 [BZ #17187]
1159 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1160 trans_compare, open_translit, __gconv_translit_find):
1161 Remove module loading code.
1162
686ab290
AM
11632014-08-26 Allan McRae <allan@archlinux.org>
1164
e4e7cfd2
AM
1165 * po/vi.po: Update Vietnamese translation from translation project.
1166
6aa09f71
AM
1167 * po/uk.po: Update Ukrainian translation from translation project.
1168
edc0660e
AM
1169 * po/fr.po: Update French translation from translation project.
1170
7eea72ac
AM
1171 * po/ru.po: Update Russian translation from translation project.
1172
93c49eff
AM
1173 * po/pl.po: Update Polish translation from translation project.
1174
46acaf63
AM
1175 * po/cs.po: Update Czech translation from translation project.
1176
a9f5ce98
AM
1177 * po/de.po: Update German translation from translation project.
1178
373f2b78
AM
1179 * po/bg.po: Update Bulgarian translation from translation project.
1180
e7548bd8
AM
1181 * po/sv.po: Update Sweedish translation from translation project.
1182
c526bf4d
AM
1183 * po/nl.po: Update Dutch translation from translation project.
1184
686ab290
AM
1185 * po/es.po: Update Spanish translation from translation project.
1186
eb72478a
SP
11872014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1188
dd763fdb
SP
1189 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1190
318c7a58
SP
1191 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1192 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1193 (CPPFLAGS-iconvconfig): Likewise.
1194 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1195
eb72478a
SP
1196 * include/libc-symbols.h: Remove unnecessary check for
1197 NOT_IN_libc.
1198 * nptl/pthreadP.h: Likewise.
1199 * sysdeps/aarch64/setjmp.S: Likewise.
1200 * sysdeps/alpha/setjmp.S: Likewise.
1201 * sysdeps/arm/sysdep.h: Likewise.
1202 * sysdeps/i386/setjmp.S: Likewise.
1203 * sysdeps/m68k/setjmp.c: Likewise.
1204 * sysdeps/posix/getcwd.c: Likewise.
1205 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1207 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1208 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1209 * sysdeps/sh/sh3/setjmp.S: Likewise.
1210 * sysdeps/sh/sh4/setjmp.S: Likewise.
1211 * sysdeps/unix/alpha/sysdep.h: Likewise.
1212 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1213 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1214 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1215 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1220 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1223 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1225 * sysdeps/x86_64/setjmp.S: Likewise.
1226
d44a052c
JM
12272014-08-13 Joseph Myers <joseph@codesourcery.com>
1228
1229 [BZ #17263]
1230 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1231 <stdint.h>.
1232 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1233 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1234
508ce3ac
SP
12352014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1236
e44c8b0e
SP
1237 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1238
508ce3ac
SP
1239 [BZ #17262]
1240 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1241 and __x86_64__ when disabling x87 inline functions.
1242
b4acef1f
L
12432014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 [BZ #17259]
1246 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1247 asm statement with __cpuid_count.
1248
61b1ef6e
MF
12492014-08-12 Mike Frysinger <vapier@gentoo.org>
1250
1251 * configure.ac: Change __ehdr_start code to dereference the struct.
1252 Run readelf on the output to look for relocations.
1253 * configure: Regenerated.
1254
898c62f4
JM
12552014-08-12 Joseph Myers <joseph@codesourcery.com>
1256
1257 [BZ #17261]
1258 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1259 value to 0.
1260 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1261
9a8a5720
RM
12622014-08-12 Roland McGrath <roland@hack.frob.com>
1263
1264 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1265
4e75751c
BO
12662014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1267
1268 [BZ #16892]
1269 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1270 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1271
bb2ce416
SA
12722014-08-12 Sean Anderson <seanga2@gmail.com>
1273
1274 * malloc/malloc.c: Fix typo in comment.
1275
7950a4ee
AM
12762014-08-09 Allan McRae <allan@archlinux.org>
1277
1278 * Regenerate libc.po.
1279
f469c49f
MF
12802014-08-08 Mike Frysinger <vapier@gentoo.org>
1281
1282 * intl/tst-gettext2.sh: Check every lang file for creation.
1283
656b84c2
WD
12842014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1285
1286 * sysdeps/aarch64/fpu/math_private.h
1287 (libc_feholdsetround_noex_aarch64_ctx): New function.
1288
538e9e45
W
12892014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1290
1291 * sysdeps/arm/armv6/strcpy.S (strcpy):
1292 Fix performance issue in misaligned cases.
1293
d4795e4a
AZ
12942014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1297 Move definition from termios.h.
1298 (struct termio): Likewise.
1299 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1300 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1301 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1302 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1303 Likewise.
1304 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1305 Move definition to ioctl-types.h
1306 (struct termio): Likewise.
1307 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1308 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1309 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1310 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1311 Likewise.
1312
64accb62
RH
13132014-08-05 Richard Henderson <rth@redhat.com>
1314
27bb6dc0
RH
1315 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1316 exceptions.
1317 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1318 Add fraiseexcpt.
1319 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1320 Use __feraiseexcept.
1321 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1322 Protect libm symbols with IS_IN_libm.
1323
64accb62
RH
1324 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1325
e5292691
BO
13262014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1327
1328 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1329
5b4bd2d4
WN
13302014-08-04 Will Newton <will.newton@linaro.org>
1331
1332 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1333 file.
1334
fcadaeef
MF
13352014-08-04 Mike Frysinger <vapier@gentoo.org>
1336
1337 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1338 variants for each function.
1339
43a94c64
RM
13402014-08-04 Roland McGrath <roland@hack.frob.com>
1341
1342 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1343 appended ...
1344 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1345 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1346 appended ...
1347 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1348 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1349 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1350 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1351 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1352 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1353 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1354 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1355 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1356 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1357 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1359 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1361 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1365 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1375 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1381 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1383 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1384 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1385 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1386 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1387 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1388 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1389 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1390 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1391 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1392 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1393 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1394 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1395 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1396 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1397 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1398 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1399 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1400 Update #include.
1401 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1402 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1403
8f3c1fa4
RM
14042014-08-04 Roland McGrath <roland@hack.frob.com>
1405
1406 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1407 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1408 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1409 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1410 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1411 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1412
ca08746f
RM
14132014-08-04 Roland McGrath <roland@hack.frob.com>
1414
1415 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1416 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1417 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1418 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1419
9c925ff9
RM
14202014-08-04 Roland McGrath <roland@hack.frob.com>
1421
1422 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1423 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1424 (__libc_vfork): Define function under this name.
1425 (__vfork): Define as an alias.
1426 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1427 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1428
e641054c
RM
14292014-08-04 Roland McGrath <roland@hack.frob.com>
1430
1431 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1432 that was previously under [RESET_PID].
1433 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1434
dacdc867
AS
14352014-08-04 Andreas Schwab <schwab@suse.de>
1436
1437 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1438
41f725ff
MF
14392014-08-03 Mike Frysinger <vapier@gentoo.org>
1440
1441 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1442 (main): Likewise.
1443
277cfb31
RM
14442014-08-01 Roland McGrath <roland@hack.frob.com>
1445
1446 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1447
4896f049
RH
14482014-08-01 Richard Henderon <rth@redhat.com>
1449
1450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1451 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1452 typo in exact zero test.
1453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1456
6f64e7d7
RM
14572014-08-01 Roland McGrath <roland@hack.frob.com>
1458
1459 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1460 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1461 * sysdeps/arm/sysdep.h: ... here.
1462 [!__ASSEMBLER__]: Include <stdint.h>.
1463
3f3dd810
SP
14642014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1465
a476ac4b
SP
1466 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1467 (HAVE_WCTYPE_H): Likewise.
1468 (HAVE_ISWCTYPE): Likewise.
1469 (ENABLE_NLS): Likewise.
1470 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1471 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1472
78dd658a
SP
1473 * posix/regex_internal.c: Check if DEBUG is defined and is
1474 set.
1475
3f3dd810
SP
1476 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1477 (HAVE_MBSRTOWCS): Likewise.
1478 * posix/fnmatch.c: Include string.h unconditionally.
1479
95ee7fb1
SL
14802014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1481
1482 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1483 reversal.
1484
23fe486b
RM
14852014-07-31 Roland McGrath <roland@hack.frob.com>
1486
f61a113f
RM
1487 * sysdeps/generic/safe-fatal.h: New file.
1488 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1489 * nptl/forward.c: Include it.
1490 (__pthread_unwind): Use __safe_fatal as default action, rather
1491 than a bogus use of INTERNAL_SYSCALL that could never work.
1492
9fe7e787
RM
1493 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1494 * configure.ac (libc_cv_builtin_trap): New test.
1495 * configure: Regenerated.
1496 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1497 (ABORT_INSTRUCTION): Define using __builtin_trap.
1498
23fe486b
RM
1499 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1500 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1501 * sysdeps/nptl/nptl-signals.h: New file.
1502 * nptl/pthreadP.h: Include <nptl-signals.h>.
1503
f349489e
SL
15042014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1505
1506 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1507 (ONE_DIRECTION): Define.
1508 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1509 (ONE_DIRECTION): Define.
1510 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1511 (ONE_DIRECTION): Define.
1512
2f438e20
SL
15132014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1514
1515 * sysdeps/s390/Makefile: Delete file.
1516 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1517 * sysdeps/s390/__longjmp.c: Delete file.
1518 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1519 Remove fields __flags and __reserved.
1520 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1521 and add versioning.
1522 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1523 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1524 * sysdeps/s390/rtld-setjmp.S: Likewise.
1525 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1526 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1527 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1528 * sysdeps/s390/s390-32/setjmp.S: ... here.
1529 Add versioning.
1530 (__sigsetjmp): Remove setting __flags field.
1531 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1532 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1533 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1534 * sysdeps/s390/s390-64/setjmp.S: ... here.
1535 Add versioning.
1536 (__sigsetjmp): Remove setting __flags field.
1537 * sysdeps/s390/setjmp.S: Delete file.
1538 * sysdeps/s390/sigjmp.c: Likewise.
1539 * sysdeps/s390/v1-longjmp.c: Likewise.
1540 * sysdeps/s390/v1-setjmp.h: Likewise.
1541 * sysdeps/s390/v1-sigjmp.c: Likewise.
1542 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1543 Remove v1-longjmp_chk.
1544 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1545 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1546 Include debug/longjmp_chk.c and add versioning.
1547 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1548 Include nptl/pt-longjmp.c and add versioning.
1549 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1550 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1551 Include __longjmp.c.
1552 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1553 Move to ...
1554 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1555 (__getcontext): Remove setting __flags field.
1556 Add versioning.
1557 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1558 Don't restore upper high grps.
1559 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1560 Likewise.
1561 (__swapcontext): Remove setting uc_flags field.
1562 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1563 Delete file.
1564 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1565 Include __longjmp.c.
1566 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1567 Move to ...
1568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1569 (__getcontext): Remove setting __flags field.
1570 Add versioning.
1571 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1572 (__swapcontext): Remove setting uc_flags field.
1573 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1574 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1575 Remove fields uc_high_gprs and __reserved.
1576 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1577 New file with reverted content.
1578 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1579 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1580 Regenerated.
1581 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1582 Regenerated.
1583
6c9578a2
AS
15842014-07-31 Andreas Schwab <schwab@suse.de>
1585
1586 * config.h.in (HAVE_IFUNC): Define to 0.
1587 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1588 definedness.
1589
05f3633d
LM
15902014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1591
1592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1593 memmove-avx-unaligned, memcpy-avx-unaligned and
1594 mempcpy-avx-unaligned.
1595 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1596 Add tests for AVX memcpy functions.
1597 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1598 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1599 memcpy_chk.
1600 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1601 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1602 memmove_chk.
1603 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1604 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1605 mempcpy_chk.
1606 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1607 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1608 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1609
a53fbd8e
AZ
16102013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1611
1612 [BZ #17213]
1613 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1614 powerpc64le.
1615
0961f7e1
JL
16162014-07-29 Jeff Layton <jlayton@poochiereds.net>
1617
1618 [BZ #16839]
1619 * manual/llio.texi: Add section about open file description locks.
1620 * manual/examples/ofdlocks.c: Example of open file description
1621 lock usage.
1622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1623 F_OFD_SETLK, and F_OFD_SETLKW.
1624
cc5fb300
AM
16252014-07-23 Allan McRae <allan@archlinux.org>
1626
1627 * po/es.po: Update Spanish translation from translation project.
1628
23329dca
AS
16292014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1630
1631 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1632
9c82da17
MR
16332014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1634
1635 [BZ #17078]
1636 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1637 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1638 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1639
29c4f53e
JM
16402014-07-17 Joseph Myers <joseph@codesourcery.com>
1641
831b9896
JM
1642 [BZ #17088]
1643 * math/fesetenv.c (__fesetenv)
1644 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1645 * math/feupdateenv.c (__feupdateenv)
1646 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1647
b21c2d50
JM
1648 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1649 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1650 (__ASSUME_SOCKETCALL): Do not define.
1651
067764ef
JM
1652 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1653 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1654 (__ASSUME_SOCKETCALL): Do not define.
1655 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1656 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1657 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1658 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1659 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1660 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1661 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1662 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1663
642530c1
JM
1664 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1665 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1666 (__ASSUME_SOCKETCALL): Do not define.
1667 (__ASSUME_IPC64): Define unconditionally.
1668 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1669 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1670 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1671 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1672 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1673 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1674 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1675 Likewise.
1676
03f77315
JM
1677 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1678 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1679 (__ASSUME_SOCKETCALL): Do not define.
1680 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1681 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1682 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1683 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1684 (__ASSUME_REQUEUE_PI): Define unconditionally.
1685 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1686 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1687 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1688 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1689 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1690 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1691
083b1f7c
JM
1692 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1693 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1694 (__ASSUME_SOCKETCALL): Do not define.
1695 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1696 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1697 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1698 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1699 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1700 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1701
5be44ea6
JM
1702 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1703 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1704 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1705 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1706 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1707 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1708 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1709 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1710 (__ASSUME_GETCPU_SYSCALL): Likewise.
1711
d95ffd4c
JM
1712 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1713 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1714 cases for individual architectures.
1715 * sysdeps/gnu/configure: Regenerated.
1716 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1717 LIBC_SLIBDIR_RTLDDIR.
1718 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1719 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1720 LIBC_SLIBDIR_RTLDDIR.
1721 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1723 LIBC_SLIBDIR_RTLDDIR.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1725 Regenerated.
1726 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1727 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1728 file.
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1731 file.
1732 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1733 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1734 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1735 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1736
29c4f53e
JM
1737 * sysdeps/aarch64/shlib-versions: Move to ...
1738 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1739 * sysdeps/alpha/shlib-versions: Move to ...
1740 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1741 * sysdeps/arm/shlib-versions: Move to ...
1742 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1743 * sysdeps/hppa/shlib-versions: Move all contents except for
1744 libgcc_s entry to ...
1745 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1746 entry from ...
1747 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1748 * sysdeps/ia64/shlib-versions: Move to ...
1749 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1750 entry from ...
1751 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1752 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1753 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1754 * sysdeps/microblaze/shlib-versions: Move to ...
1755 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1756 * sysdeps/mips/shlib-versions: Move to ...
1757 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1758 entry from ...
1759 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1760 * sysdeps/tile/shlib-versions: Move to ...
1761 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1762 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1763 from ...
1764 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1766 entry from ...
1767 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1768
32bead5b
WN
17692014-07-17 Will Newton <will.newton@linaro.org>
1770
57977c4b
WN
1771 * sysdeps/arm/bits/atomic.h
1772 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1773 (__arch_compare_and_exchange_bool_16_int): Likewise.
1774 (__arch_compare_and_exchange_bool_64_int): Likewise.
1775
32bead5b
WN
1776 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1777 into an #else block.
1778
37fccd41
RM
17792014-07-16 Roland McGrath <roland@hack.frob.com>
1780
1781 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1782 just Linux configurations. Test empirically that the compiler sets
1783 __ARM_EABI__, rather than using the tuple to decide.
1784 * sysdeps/arm/preconfigure: Regenerated.
1785 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1786 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1787 contents appended ...
1788 * sysdeps/arm/configure.ac: ... here.
1789 * sysdeps/arm/configure: Regenerated.
1790
b365f3ec
RM
17912014-07-15 Roland McGrath <roland@hack.frob.com>
1792
8badf496
RM
1793 * nptl/pthread_kill.c: New file.
1794 * nptl/pthread_sigmask.c: New file.
1795 * nptl/pthread_sigqueue.c: New file.
1796
3df6f22e
RM
1797 * sysdeps/nptl/lowlevellock.h: New file.
1798 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1799 * sysdeps/nptl/lowlevellock-futex.h: New file.
1800
b365f3ec
RM
1801 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1802 Remove dead declarations.
1803
f2fef657
L
18042014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1805
1806 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1807 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1808 config-cflags-avx2.
1809 * sysdeps/x86_64/configure.ac: Likewise.
1810 * sysdeps/i386/configure: Regenerated.
1811 * sysdeps/x86_64/configure: Likewise.
1812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1813 memset-avx2 only if config-cflags-avx2 is yes.
1814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1815 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1816 defined.
1817 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1818 only if HAVE_AVX2_SUPPORT is defined.
1819 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1820
f6c44d47
AM
18212014-07-14 Alan Modra <amodra@gmail.com>
1822
1823 [BZ #17153]
1824 * elf/elf.h (DT_PPC64_NUM): Correct value.
1825 * NEWS: Add to fixed bug list.
1826
7ee03f00
JM
18272014-07-13 Jim Meyering <meyering@fb.com>
1828
1829 [BZ 17150]
1830 regex: don't deref NULL upon heap allocation failure
1831 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1832 failure in one more place.
1833 To trigger the segfault, configure grep -with-included-regex,
1834 build it, and run these commands:
1835 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1836
9d39d517
AS
18372014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1838
1839 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1840
a75b89b7
RH
18412014-07-11 Richard Henderson <rth@redhat.com>
1842
1843 * sysdeps/aarch64/libm-test-ulps: Update.
1844
771eb141
FW
18452014-07-10 Florian Weimer <fweimer@redhat.com>
1846
1847 [BZ #17135]
1848 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1849 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1850 (__nptl_setxid): Initialize error member. Call
1851 __nptl_setxid_error.
1852 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1853 * nptl/descr.h (struct xid_command): Add error member.
1854 * nptl/tst-setuid3.c: New file.
1855 * nptl/Makefile (tests): Add it.
1856
bc1da176
AZ
18572014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1858
1859 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1860 New define.
1861 (__lll_trylock): Use __lll_base_trylock.
1862 (__lll_cond_trylock): Likewise.
1863
887865fc
RM
18642014-07-10 Roland McGrath <roland@hack.frob.com>
1865
c0c6bac9
RM
1866 * nptl/pthread_create.c (start_thread): Use atomic_or and
1867 lll_futex_wake directly rather than lll_robust_dead.
1868 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1869 (lll_robust_dead): Macro removed.
6a42be57 1870 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
1871 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1872 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1873 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1874 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1875 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1876 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1877 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1878 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1880 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1881 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1883 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1884 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1885
887865fc
RM
1886 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1887 Use atomic_compare_and_exchange_val_acq directly rather than
1888 lll_robust_trylock.
1889 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1890 (__lll_robust_trylock, lll_robust_trylock): Removed.
1891 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1892 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1893 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1894 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1895 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1896 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1897 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1898 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1900 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1901 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1902 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1903 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1904 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1905
58536726
FW
19062014-07-02 Florian Weimer <fweimer@redhat.com>
1907
1908 * manual/locale.texi (Locale Names): New section documenting
1909 locale name syntax. Adjust menu and node chaining accordingly.
1910 (Choosing Locale): Reference Locale Names, Locale Categories.
1911 Mention setting LC_ALL=C. Reflect that name syntax is now
1912 documented.
1913 (Locale Categories): New section title. Reference Locale Names.
1914 LC_ALL is an environment variable, but not a category.
1915 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1916 description, now in Locale Name. Reference that section. Locale
1917 name syntax is now documented.
1918
4e8f95a0
FW
19192014-07-02 Florian Weimer <fweimer@redhat.com>
1920
1921 [BZ #17137]
1922 * locale/findlocale.c (name_present, valid_locale_name): New
1923 functions.
1924 (_nl_find_locale): Use the loc_name variable to store name
1925 candidates. Call name_present and valid_locale_name to check and
1926 validate locale names. Return an error if the locale is invalid.
1927
d1836456
FW
19282014-07-02 Florian Weimer <fweimer@redhat.com>
1929
1930 * locale/setlocale.c (setlocale): Use strdup for allocating
1931 composite name copy.
1932
d69b7f5a
SP
19332014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1934
888c679b
SP
1935 Sync up with gnulib.
1936 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1937 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1938 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1939 and _GL_ARG_NONNULL.
1940 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1941 [!_LIBC]: Include code for Windows and Cygwin.
1942 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1943 Include prototype for int strerror_r.
1944 [!_LIBC] (is_open): New function.
1945 (flush_stdout): New function.
1946 (print_errno_message): Use it.
1947 (error): Likewise.
1948 (error_at_line): Likewise.
1949 (error_tail) Add function attribute macros. Use
1950 __builtin_expect.
1951
180e0e4b
SP
1952 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1953
d22f1fe2
SP
1954 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1955
12f2254b
SP
1956 * io/ftw.c: Include sys/param.h unconditionally.
1957
c3c7c360
SP
1958 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1959
d62aa75a
SP
1960 [BZ #17125]
1961 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1962 libc_freeres_ptr.
1963 (freecache): New function to free CACHE on exit.
1964
d69b7f5a
SP
1965 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1966 initialization.
1967
5efe06a1
DM
19682014-07-09 David S. Miller <davem@davemloft.net>
1969
1970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1971
7000d82e
DM
1972 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1973 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1974 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1975 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1976 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1977 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1978 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1979 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1980 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1981 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1982 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1983 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1984 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1985
c213442d
AS
19862014-07-09 Andreas Schwab <schwab@suse.de>
1987
4a2552c3
AS
1988 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1989 output.
1990 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1991 (do_test): Likewise.
1992
c213442d
AS
1993 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1994
82374e65
WN
19952014-07-09 Will Newton <will.newton@linaro.org>
1996
1997 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1998 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1999 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2000 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2001 * sysdeps/hppa/start.S (_start): Likewise.
2002
6680738a
SP
20032014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2004
6ee3eab4
SP
2005 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2006
6680738a
SP
2007 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2008 defined.
2009
80b5c505
SP
20102014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
e35c53e3
SP
2012 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2013 after checking that it is non-NULL.
2014
80b5c505
SP
2015 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2016
91f4b564
AZ
20172014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
27b75f56
AZ
2019 * sysdeps/powerpc/memmove.c: Remove file.
2020 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2021 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2023 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2025 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2026 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2027 string memmove instead of removed powerpc one.
2028
e7f95bb5
AZ
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2030 [weak_alias]: Fix compiler warning due trailing data.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2032 [weak_alias]: Likewise.
2033 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2034 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2035
91f4b564
AZ
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2037 (__libc_ifunc_impl_list): Add memmove functions.
2038
7c33f1e5
SP
20392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2040
2041 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2042 Remove code.
2043 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2044 Likewise
2045 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2046 Likewise
2047 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2048 Likewise
2049 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2050 Likewise
2051 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2052 Likewise
2053 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2054 Likewise
2055 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2056 Likewise
2057 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2058 Likewise
2059 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2060 Likewise
2061 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2062 Likewise
2063 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2064 Likewise
2065 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2066 Likewise
2067 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2068 Likewise
2069 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2070 Likewise
2071 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2072 Likewise
2073 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2074 Likewise
2075
3f17b03b
AZ
20762014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2077
87868c24
AZ
2078 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2079 to avoid alignment traps in non-cacheable memory.
2080 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2081
07aedd78
AZ
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2083 multiarch objects.
2084 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2085 file: multiarch power7 memmove.
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2087 multiarch default memmove.
2088 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2089 multiarch memove for powerpc32/power4.
2090
17762f66
AZ
2091 * string/bcopy.c: Use full path to include memmove.c.
2092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2093 multiarch objects.
2094 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2095 bcopy for powerpc64.
2096 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2097 bcopy for powerpc64.
2098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2099 and memmove implementations.
2100 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2101 optimized multiarch memmove for POWER7/powerpc64.
2102 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2103 default multiarch memmove for powerpc64.
2104 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2105 multiarch for powerpc64.
2106 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2107 for POWER7/powerpc64.
2108 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2109 memmove for POWER7/powerpc64.
2110
d6f68bbe
AZ
2111 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2112 glibc default one.
2113
3f17b03b
AZ
2114 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2115 __ELF_NATIVE_CLASS equal to 64.
2116
08192659
RM
21172014-07-07 Roland McGrath <roland@hack.frob.com>
2118
f4c4021b
RM
2119 * sysdeps/nptl/lowlevellock.h: File removed.
2120
f083450f
RM
2121 * NEWS: NPTL is no longer an add-on!
2122 * nptl/internaltypes.h: Moved ...
2123 * sysdeps/nptl/internaltypes.h: ... here.
2124 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2125 * sysdeps/nptl/fork.c: Likewise.
2126 * sysdeps/nptl/gai_misc.h: Likewise.
2127 * sysdeps/nptl/librt-cancellation.c: Likewise.
2128 * sysdeps/nptl/jmp-unwind.c: Likewise.
2129 * sysdeps/nptl/setxid.h: Likewise.
2130 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2131 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2132 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2133 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2134 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2135 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2136 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2137 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2138 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2139 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2140 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2141 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2142 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2143 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2144 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2145 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2146 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2147 * nptl/Makeconfig: Moved ...
2148 * sysdeps/nptl/Makeconfig: ... here.
2149 * nptl/configure: File removed.
2150 * nptl/ANNOUNCE: File removed.
2151 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2152 * sysdeps/unix/sysv/linux/configure: Regenerated.
2153
08192659
RM
2154 * nptl/Makefile (routines): Add libc_pthread_init,
2155 libc_multiple_threads, register-atfork and unregister-atfork.
2156 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2157 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2158 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2159 pthread-pi-defines.sym, structsem.sym.
2160 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2161 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2162 [$(subdir) = nptl] (tests): Add tst-setgetname.
2163 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2164 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2165 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2166 [!LIBC_SIGACTION]: Remove aliases.
2167 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2168 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2169 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2170 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2171 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2172 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2175 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2176 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2177 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2178 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2179 __libc_allocate_rtsig_private.
2180 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2181 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2182 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2183 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2184 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2185 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2186 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2187 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2188 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2189 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2190 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2191 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2192 * nptl/internaltypes.h: ... here.
2193 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2194 * sysdeps/nptl/jmp-unwind.c: ... here.
2195 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2196 * nptl/libc-lowlevellock.c: ... here.
2197 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2198 * nptl/libc_multiple_threads.c: ... here.
2199 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2200 * nptl/libc_pthread_init.c: ... here.
2201 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2202 * nptl/lowlevelbarrier.sym: ... here.
2203 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2204 * nptl/lowlevelcond.sym: ... here.
2205 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2206 * nptl/lowlevellock.c: ... here.
2207 * nptl/lowlevellock.h: Moved ...
2208 * sysdeps/nptl/lowlevellock.h: ... here.
2209 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2210 * nptl/lowlevelrobustlock.c: ... here.
2211 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2212 * nptl/lowlevelrobustlock.sym: ... here.
2213 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2214 * nptl/lowlevelrwlock.sym: ... here.
2215 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2216 * nptl/pt-fork.c: ... here.
2217 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2218 * nptl/pthread-pi-defines.sym: ... here.
2219 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2220 * nptl/pthread_attr_getaffinity.c: ... here.
2221 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2222 * nptl/pthread_attr_setaffinity.c: ... here.
2223 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2224 * nptl/pthread_mutex_cond_lock.c: ... here.
2225 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2226 Update #include.
2227 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2228 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2229 * nptl/pthread_once.c: ... here, replacing old file.
2230 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2231 * nptl/pthread_yield.c: ... here.
2232 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2233 * nptl/register-atfork.c: ... here.
2234 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2235 * nptl/sem_post.c: ... here.
2236 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2237 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2238 * nptl/sem_timedwait.c: ... here.
2239 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2240 * nptl/sem_trywait.c: ... here.
2241 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2242 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2243 * nptl/sem_wait.c: ... here.
2244 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2245 * nptl/structsem.sym: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2247 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2248 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2249 * nptl/unregister-atfork.c: ... here.
2250 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2251 * nptl/unwindbuf.sym: ... here.
2252 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2253 * sysdeps/nptl/fork.c: ... here.
2254 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2255 * sysdeps/nptl/fork.h: ... here.
2256 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2257 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2258 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2259 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2260 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2261 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2262 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2263 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2264 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2265 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2266 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2267 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2268 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2269 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2270 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2271 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2272 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2273 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2274 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2275 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2276 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2277 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2278 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2279 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2280 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2281 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2282 * sysdeps/unix/sysv/linux/raise.c: ... here.
2283 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2284 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2285 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2286 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2287 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2288 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2289 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2290 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2292 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2293 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2294 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2295 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2296 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2297 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2298
96baf6ff
SP
22992014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2300
2301 * sysdeps/generic/memcopy.h: Add comment for
2302 MEMCPY_OK_FOR_FWD_MEMMOVE.
2303
6b7b14b2
WN
23042014-07-04 Will Newton <will.newton@linaro.org>
2305
1570a72b
WN
2306 * string/memchr.c: Merge from gnulib.
2307 [_LIBC]: Remove conditionals.
2308 (__ptr_t): Remove define.
2309 (LONG_MAX_32_BITS): Likewise.
2310 (LONG_MAX): Likewise.
2311 (MEMCHR): Use ANSI prototype and optimize algorithm.
2312
6b7b14b2
WN
2313 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2314
38851324
SP
23152014-07-03 Roland McGrath <roland@hack.frob.com>
2316
3d9eb57c
RM
2317 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2318 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2319
78b984ae
RM
2320 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2321 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2322 in a bare environment with no <stdlib.h> installed.
2323 * sysdeps/nptl/configure: Regenerated.
2324
2d5976a5
RM
2325 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2326
c1f5acd4
RM
2327 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2328 AC_EGREP_CPP for kernel header checks, so they only succeed if
2329 including <linux/version.h> actually works right.
2330 * sysdeps/unix/sysv/linux/configure: Regenerated.
2331
4d614fe5
RM
2332 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2333 value so it's not diagnosed as unused.
2334
38851324
SP
2335 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2336 thing) with "ifeq ($(subdir),rt)".
2337
b3ec00e5
RH
23382014-07-03 Richard Henderson <rth@redhat.com>
2339
69862e25
RH
2340 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2341 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2342 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2343
d5e16ade
RH
2344 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2345 (math_force_eval): New.
2346
ca7b945c
RH
2347 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2348 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2349
cd1175a3
RH
2350 * sysdeps/alpha/fpu/s_round.c: Remove file.
2351 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2352
b3ec00e5
RH
2353 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2354 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2355 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2356 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2357 (_dl_start, print_statistics): Likewise.
2358 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2359 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2360
2361 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2362 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2363 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2364 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2365 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2366 (HP_SMALL_TIMING_AVAIL): Define.
2367 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2368 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2369 (HP_SMALL_TIMING_AVAIL): Define.
2370 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2371 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2372
2373 * sysdeps/aarch64/hp-timing.h: New file.
2374
2375 * sysdeps/generic/hp-timing.h: Remove dead comment.
2376 * sysdeps/generic/hp-timing-common.h: New file.
2377 * sysdeps/alpha/hp-timing.h: Include it.
2378 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2379 * sysdeps/i386/i686/hp-timing.h: Likewise.
2380 * sysdeps/ia64/hp-timing.h: Likewise.
2381 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2382 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2383 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2384 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2385 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2386 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2387 (hp_timing_t): New.
2388
2389 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2390 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2391 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2392 * elf/rtld.c (_dl_start_final): Likewise.
2393 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2394 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2395 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2396 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2397 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2399 (HP_TIMING_DIFF_INIT): Remove.
2400 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2401 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2402 (HP_TIMING_DIFF_INIT): Remove.
2403 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2404 * sysdeps/i386/i686/hp-timing.c: Remove file.
2405 * sysdeps/x86_64/hp-timing.c: Remove file.
2406 * sysdeps/ia64/hp-timing.c: Remove file.
2407 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2408 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2409 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2410 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2411
2412 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2413 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2414 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2415 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2416 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2417 (HP_TIMING_ACCUM): Remove.
2418 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2419 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2420 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2421
2422 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2423 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2424 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2425 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2427 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2429 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2430
2431 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2432
225f410f
MR
24332014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2434
2435 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2436
3247f285
SP
24372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2438
2439 Sync up with gettext.
2440 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2441 [_MSC_VER]: Include malloc.h
2442 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2443 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2444 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2445 TEMP_FAILURE_RETRY. Cast return of alloca.
2446 [!_LIBC] Call gl_rwlock_init.
2447 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2448
d12704c7
SP
24492014-07-02 Roland McGrath <roland@hack.frob.com>
2450
2451 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2452 before checking its value.
2453
99f8dc92
SP
24542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2455
05fdac77
SP
2456 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2457
99f8dc92
SP
2458 * debug/memcpy_chk.c: Don't include pagecopy.h.
2459 * debug/mempcpy_chk.c: Likewise.
2460 * string/memcpy.c: Likewise.
2461 * string/memmove.c: Likewise.
2462 * sysdeps/powerpc/memmove.c: Likewise.
2463 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2464 definition of PAGE_COPY_FWD_MAYBE here...
2465 * sysdeps/generic/pagecopy.h: ... from here.
2466 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2467
bc8ea385
VR
24682014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2469 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2470
2471 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2473 optimizations.
2474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2475 (__libc_ifunc_impl_list): Likewise.
2476 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2477 multiarch strcat for PPC64.
2478 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2479 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2480
fe5f34e4
RM
24812014-07-02 Roland McGrath <roland@hack.frob.com>
2482
2483 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2484
256aa665
SP
24852014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2486
d4eb8195
SP
2487 * intl/loadmsgcat.c: Remove declaration of
2488 get_sysdep_segment_value.
2489 (get_sysdep_segment_value): Use ISO C style.
2490 (_nl_load_domain): Use ISO C style. Get rid of redundant
2491 semicolon. Fix typo and formatting in comment.
2492 (_nl_unload_domain): Use ISO C style.
2493
256aa665
SP
2494 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2495
b100f9aa
WN
24962014-07-02 Will Newton <will.newton@linaro.org>
2497
2498 * malloc/obstack.c: Merge from gnulib master.
2499 [HAVE_CONFIG_H]: Remove conditional code.
2500 [!_LIBC]: Include config.h.
2501 [!ELIDE_CODE]: Don't include inttypes.h, include
2502 stdint.h unconditionally.
2503 (print_and_abort): Mark as _Noreturn.
2504 (_obstack_allocated_p): Mark as __attribute_pure__.
2505 (obstack_free): Rename to __obstack_free.
2506 [!__attribute__]: Remove conditional code.
2507 * malloc/obstack.h: Merge from gnulib master.
2508 [__cplusplus]: Move conditional down.
2509 [!__attribute_pure__]: Define __attribute_pure__ here
2510 if it is not already defined.
2511 (_obstack_memory_used): Mark as __attribute_pure__.
2512 [!__obstack_free]: Define as obstack_free.
2513 [__GNUC__]: Remove check for ancient NeXT gcc.
2514
c4c41244
PE
25152014-07-02 Will Newton <will.newton@linaro.org>
2516 Paul Eggert <eggert@cs.ucla.edu>
2517
2518 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2519
e1e041c4
SP
25202014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2521
2522 * resolv/gethnamaddr.c: Add comment warning that the file is
2523 not maintained.
2524
ccf431ff
CD
25252014-07-01 Carlos O'Donell <carlos@redhat.com>
2526
d34570a6
CD
2527 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2528 entries.
2529
ccf431ff
CD
2530 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2531 entry for aio_cancel and aio_cancel64.
2532 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2533 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2534 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2535 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2536 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2537 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2538 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2539 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2540 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2541 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2542 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2543 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2544 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2545
ca06321d
RM
25462014-07-01 Roland McGrath <roland@hack.frob.com>
2547
2548 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2549 * nptl/pthread_mutex_lock.c: Likewise.
2550 * nptl/pthread_mutex_timedlock.c: Likewise.
2551 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2552
a1ac3184
RH
25532014-07-01 Richard henderson <rth@redhat.com>
2554
631021e0
RH
2555 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2556 (__isnan, __isnanl): Remove.
2557 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2558
a1ac3184
RH
2559 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2560
0c1d731f
SL
25612014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2562
2563 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2564
76985d3e
SP
25652014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2566
2567 * resolv/nss_dns/dns-host.c (getanswer_r)
2568 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2569
b0cb3096
JM
25702014-07-01 Joseph Myers <joseph@codesourcery.com>
2571
2572 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2573 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2574 undefine.
2575 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2576 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2577
4d76cb39
RM
25782014-07-01 Roland McGrath <roland@hack.frob.com>
2579
2580 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2581 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2582
2583 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2584 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2585
2586 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2587 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2588 ... here.
2589 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2590 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2591
2592 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2593 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2594 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2595 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2596
2597 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2598 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2599 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2600 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2601 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2602 Moved ...
2603 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2604 ... here.
2605 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2606 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2607 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2608 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2609 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2610 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2611 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2612 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2614 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2615 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2616 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2617 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2618 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2619 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2620 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2621 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2622 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2623 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2624 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2625 ... here.
2626 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2627 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2629 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2630 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2631 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2632 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2633 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2634
0cdcad17
DH
26352014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2636
2637 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2638 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2639 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2640 Add sysdep.
2641
9b71d0e3
AZ
26422014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2643
2644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2645
665390c2
JM
26462014-06-30 Joseph Myers <joseph@codesourcery.com>
2647
ae05a9d7
JM
2648 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2649 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2650
a7672a2f
JM
2651 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2652
665390c2
JM
2653 * sysdeps/arm/libm-test-ulps: Regenerated.
2654
d7a05d07
MR
26552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2656 Roland McGrath <roland@hack.frob.com>
2657
2658 * test-skeleton.c (signal_handler): Kill the whole process group
2659 before killing the child individually.
2660 (main): Report any failure on `setpgid'.
2661
46f1d8a6
RM
26622014-06-30 Roland McGrath <roland@hack.frob.com>
2663
2664 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2665 from _TLS_H to _ARM_NPTL_TLS_H.
2666 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2667 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2668
9c37ec0b
JM
26692014-06-30 Joseph Myers <joseph@codesourcery.com>
2670
ce9c5b3e
JM
2671 [BZ #16539]
2672 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2673 (__expm1l): Return argument unchanged when small but not
2674 subnormal.
2675
3a6e9887
JM
2676 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2677 include macro name.
2678 (_FP_UNPACK_RAW_1_P): Likewise.
2679 (_FP_PACK_RAW_1): Likewise.
2680 (_FP_PACK_RAW_1_P): Likewise.
2681 (_FP_MUL_MEAT_1_wide): Likewise.
2682 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2683 (_FP_MUL_MEAT_1_hard): Likewise.
2684 (_FP_DIV_MEAT_1_imm): Likewise.
2685 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2686 (_FP_DIV_MEAT_1_udiv): Likewise.
2687 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2688 (_FP_UNPACK_RAW_2): Likewise.
2689 (_FP_UNPACK_RAW_2_P): Likewise.
2690 (_FP_PACK_RAW_2): Likewise.
2691 (_FP_PACK_RAW_2_P): Likewise.
2692 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2693 (_FP_MUL_MEAT_2_wide): Likewise.
2694 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2695 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2696 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2697 (_FP_MUL_MEAT_2_gmp): Likewise.
2698 (_FP_DIV_MEAT_2_udiv): Likewise.
2699 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2700 (_FP_FRAC_SRL_4): Likewise.
2701 (_FP_FRAC_SRST_4): Likewise.
2702 (_FP_FRAC_SRS_4): Likewise.
2703 (_FP_UNPACK_RAW_4): Likewise.
2704 (_FP_UNPACK_RAW_4_P): Likewise.
2705 (_FP_PACK_RAW_4): Likewise.
2706 (_FP_PACK_RAW_4_P): Likewise.
2707 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2708 (_FP_MUL_MEAT_4_wide): Likewise.
2709 (_FP_MUL_MEAT_4_gmp): Likewise.
2710 (umul_ppppmnnn): Likewise.
2711 (_FP_DIV_MEAT_4_udiv): Likewise.
2712 (__FP_FRAC_ADD_4): Likewise.
2713 (__FP_FRAC_SUB_3): Likewise.
2714 (__FP_FRAC_SUB_4): Likewise.
2715 (__FP_FRAC_DEC_3): Likewise.
2716 (__FP_FRAC_DEC_4): Likewise.
2717 (__FP_FRAC_ADDI_4): Likewise.
2718 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2719 (_FP_FRAC_SRL_8): Likewise.
2720 (_FP_FRAC_SRS_8): Likewise.
2721
9c37ec0b
JM
2722 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2723 include macro name.
2724 (FP_UNPACK_RAW_EP): Likewise.
2725 (FP_PACK_RAW_E): Likewise.
2726 (FP_PACK_RAW_EP): Likewise.
2727 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2728 (_FP_ISSIGNAN): Likewise.
2729 (_FP_ADD_INTERNAL): Likewise.
2730 (_FP_FMA): Likewise.
2731 (_FP_CMP): Likewise.
2732 (_FP_SQRT): Likewise.
2733 (_FP_TO_INT): Likewise.
2734 (_FP_FROM_INT): Likewise.
2735 (FP_EXTEND): Likewise.
2736 (_FP_DIV_MEAT_N_loop): Likewise.
2737
2125f674
MR
27382014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2739
2740 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2741 throughout.
2742
edea4028
JM
27432014-06-29 Joseph Myers <joseph@codesourcery.com>
2744
2745 [BZ #17097]
2746 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2747 result with correct sign in case of exponents that produce
2748 overflow except for X very close to 1.
2749
dd0ba018
PE
27502014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2751
2752 mktime: merge #if/#ifdef usage from glibc
2753 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2754 as that works with both Glibc's and Gnulib's style.
2755 See thread starting at Siddhesh Poyarekar's bug report at:
2756 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2757
64df73c2
SP
27582014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2759
2760 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2761 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2762 * sysdeps/tile/tilegx/memmove.c: Remove file.
2763
f1eafb41
JM
27642014-06-27 Joseph Myers <joseph@codesourcery.com>
2765
2766 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2767 abi-name definition.
2768 * scripts/soversions.awk: Do not handle or generate ABI lines.
2769 * shlib-versions: Remove ABI entries.
2770 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2771 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2772
58eb0862
RM
27732014-06-27 Roland McGrath <roland@hack.frob.com>
2774
37caf178
RM
2775 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2776 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2777 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2780 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2782 Moved ...
2783 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2784 ... here.
2785 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2786 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2787 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2788 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2789 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2790 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2792 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2793 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2794 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2795 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2796 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2797 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2798 Moved ...
2799 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2805 Moved ...
2806 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2808 Moved ...
2809 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2813 Moved ...
2814 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2822 Moved ...
2823 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2825 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2826 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2827 Moved ...
2828 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2830 Moved ...
2831 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2832 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2835 Moved ...
2836 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2837 ... here.
2838 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2839 Identical file removed.
2840 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2841 Moved ...
2842 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2844 Identical file removed.
2845 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2848 Moved ...
2849 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2851 Identical file removed.
2852 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2853 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2855 Identical file removed.
2856 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2859 Identical file removed.
2860 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2861 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2863 Identical file removed.
2864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2865 Moved ...
2866 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2868 Identical file removed.
2869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2870 Moved ...
2871 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2873 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2875 Identical file removed.
2876 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2877 Moved ...
2878 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2879 ... here.
2880 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2881 Identical file removed.
2882 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2883 Moved ...
2884 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2885 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2886 Identical file removed.
2887 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2888 Moved ...
2889 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2890 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2891 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2893 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2894 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2895 Moved ...
2896 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2898 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2899
58eb0862
RM
2900 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2901 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2902 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2903 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2904 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2905
6f12d062
AS
29062014-06-27 Arjun Shankar <arjun.is@lostca.se>
2907
2908 [BZ #17092]
2909 * nscd/nscd.c (monitor_child): Return exit status of child
2910 instead of return value from wait syscall.
2911
be254932
JM
29122014-06-27 Joseph Myers <joseph@codesourcery.com>
2913
cb403c34
JM
2914 * configure.ac (libc_commonpagesize): Remove variable.
2915 (libc_relro_required): Likewise.
2916 (libc_cv_z_relro): Remove configure test.
2917 * configure: Regenerated.
2918 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2919 variable.
2920 (libc_relro_required): Likewise.
2921 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2922 (libc_relro_required): Likewise.
2923 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2924 (libc_relro_required): Likewise.
2925 * sysdeps/arm/preconfigure: Regenerated.
2926 * sysdeps/ia64/preconfigure: Remove file.
2927 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2928 variable.
2929 (libc_relro_required): Likewise.
2930
be254932
JM
2931 [BZ #16561]
2932 [BZ #16562]
2933 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2934 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2935 recompute overflowing results in original rounding mode.
2936 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2937 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2938 recompute overflowing results in original rounding mode.
2939 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2940 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2941 recompute overflowing results in original rounding mode.
2942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2943 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2944 recompute overflowing results in original rounding mode.
2945 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2946 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2947 recompute overflowing results in original rounding mode.
2948 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2949 (libc_feholdsetround_ctx): New macro.
2950 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2951 * sysdeps/i386/fpu/libm-test-ulps: Update.
2952 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2953
b351d85a
JM
29542014-06-26 Joseph Myers <joseph@codesourcery.com>
2955
2956 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2957 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2958 corresponding .cpsetup call.
2959
3cb4de47
RM
29602014-06-26 Roland McGrath <roland@hack.frob.com>
2961
2962 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2963 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2964 * sysdeps/arm/Makefile [$(subdir) = csu]
2965 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2966 (static-only-routines): Add aeabi_read_tp here.
2967 (shared-only-routines): Add libc-aeabi_read_tp here.
2968 (CFLAGS-libc-start.c): Add -fexceptions here.
2969 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2970 (sysdep_routines, static-only-routines, shared-only-routines):
2971 Don't add to these here.
2972 (CFLAGS-libc-start.c): Likewise.
2973
2974 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2975 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2976 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2977 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2978 * sysdeps/arm/Makefile [$(subdir) = rt]
2979 (librt-sysdep_routines, librt-shared-only-routines):
2980 Append rt-aeabi_unwind_cpp_pr1 here.
2981 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2982 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2983 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2984 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2985 Append nptl-aeabi_unwind_cpp_pr1 here.
2986 (tests): Filter out tst-cleanupx4 here.
2987 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2988 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2989 Don't do those here.
2990
354426bb
JM
29912014-06-26 Joseph Myers <joseph@codesourcery.com>
2992
2993 * scripts/list-sources.sh: Do not handle ports specially.
2994
28b0a8c9
RM
29952014-06-26 Roland McGrath <roland@hack.frob.com>
2996
a3dd035d
RM
2997 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2998 * sysdeps/arm/feupdateenv.c: Likewise.
2999
28b0a8c9
RM
3000 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3001
e66a8203
JM
30022014-06-26 Joseph Myers <joseph@codesourcery.com>
3003
3004 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3005 trailing whitespace removed.
3006 * scripts/config.guess: Update to version 2014-03-23.
3007 * scripts/config.sub: Update to version 2014-05-01
3008 * scripts/install-sh: Update to version 2013-12-25.23.
3009 * scripts/move-if-change: Update from gnulib.
3010
74171115
SP
30112014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3012
b97c9ce5
SP
3013 * debug/memmove_chk.c: Remove pagecopy.h include.
3014
4000f892
SP
30152014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3016
74171115
SP
3017 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3018 identical to gnulib mktime.
3019
a8779c28
JM
30202014-06-26 Joseph Myers <joseph@codesourcery.com>
3021
e64708de
JM
3022 * configure.ac: Do not test for machine being rs6000. Do not test
3023 for powerpc*-*soft.
3024 * configure: Regenerated.
3025
a8779c28
JM
3026 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3027 test.
3028 * configure: Regenerated.
3029 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3030 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3031 Remove configure test.
3032 * sysdeps/arm/configure: Regenerated.
3033 * sysdeps/nptl/configure.ac: Do not check
3034 libc_cv_asm_cfi_directives.
3035 * sysdeps/nptl/configure: Regenerated.
3036 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3037 * sysdeps/x86_64/nptl/configure: Remove generated file.
3038 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3039 unconditional.
3040 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3041
2aac0a86
SP
30422014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3043
059bf913
SP
3044 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3045 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3046 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3047 it is defined.
3048
4cf5b6d0
SP
3049 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3050 instead of whether it is defined.
3051 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3052 * sysdeps/hppa/dl-machine.h: Likewise.
3053 * sysdeps/ia64/dl-machine.h: Likewise.
3054 * sysdeps/m68k/dl-machine.h: Likewise.
3055 * sysdeps/microblaze/dl-machine.h: Likewise.
3056 * sysdeps/mips/dl-machine.: Likewise.
3057 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3058 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3059 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3060 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3061 * sysdeps/sh/dl-machine.h: Likewise.
3062 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3063 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3064 * sysdeps/tile/dl-machine.h: Likewise.
3065 * sysdeps/x86_64/dl-machine.h: Likewise.
3066
2aac0a86
SP
3067 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3068 code.
3069 (verify_persistent_db): Likewise.
3070
6ad2df0b
RM
30712014-06-26 Roland McGrath <roland@hack.frob.com>
3072
d8a483f3
RM
3073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3074 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3076 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3078 Moved ...
3079 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3080 ... here.
3081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3082 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3084 Identical file removed.
3085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3086 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3088 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3090 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3092 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3094 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3096 Moved ...
3097 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3099 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3101 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3103 Moved ...
3104 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3106 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3108 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3110 Identical file removed.
3111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3112 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3114 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3116 Moved ...
3117 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3118 ... here.
3119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3120 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3122 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3124 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3126 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3128 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3130 Moved ...
3131 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3133 Moved ...
3134 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3136 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3138 Moved ...
3139 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3141 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3142
52ae23b4
RM
3143 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3144 folded into ...
3145 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3146 * sysdeps/unix/sysv/linux/s390/Versions
3147 (libpthread: GLIBC_2.19): New version set.
3148 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3149 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3150 (librt: GLIBC_2.3.3): New version set.
3151 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3152 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3153 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3154 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3155 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3157 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3159 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3161 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3163 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3165 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3167 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3169 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3171 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3173 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3175 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3177 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3179 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3181 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3187 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3188 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3189 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3190 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3191 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3193 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3195 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3196
39507e4a
RM
3197 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3198 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3199 (__libc_vfork): Define the function under this name.
3200 [!NOT_IN_libc] (__vfork): Make this an alias.
3201 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3203 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3204 (__libc_vfork): Define the function under this name.
3205 [!NOT_IN_libc] (__vfork): Make this an alias.
3206 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3207 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3208 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3210 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3211 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3212
e549ee56
RM
3213 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3214 code that was previously under [RESET_PID].
3215 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3216 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3218
6ad2df0b
RM
3219 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3220 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3221 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3222 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3223 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3224 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3225 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3226 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3227 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3228 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3229 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3230 Moved ...
3231 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3232 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3233 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3234 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3235 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3236 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3237 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3238 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3239 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3240 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3241 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3242 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3243 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3244 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3245 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3246 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3247 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3248 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3249 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3251 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3252 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3253 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3254 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3255 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3256 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3257 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3259 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3260
7c1c1d8e
RM
32612014-06-25 Roland McGrath <roland@hack.frob.com>
3262
3263 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3264 that was previously under [RESET_PID].
3265 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3266
3e239be6
JM
32672014-06-25 Joseph Myers <joseph@codesourcery.com>
3268
74385da5
JM
3269 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3270 not undefine and redefine.
3271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3272 [O_CLOEXEC]: Make code unconditional.
3273 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3274 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3275 <kernel-features.h>.
3276 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3277 conditional variable definition.
3278 (shm_open) [O_CLOEXEC]: Make code unconditional.
3279 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3280 code.
3281
c2570a0b
JM
3282 * configure.ac (USE_REGPARMS): Don't define here.
3283 * configure: Regenerated.
3284 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3285 * sysdeps/i386/configure: Regenerated.
3286
11b076bb
JM
3287 * nptl/createthread.c: Don't include kernel-features.h.
3288 * nptl/pthread_cancel.c: Likewise.
3289 * nptl/pthread_condattr_setclock.c: Likewise.
3290 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3291 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3292 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3293 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3294 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3295 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3296 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3299 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3300 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3301 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3302 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3303 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3304 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3305 * nscd/gai.c: Likewise.
3306 * nss/nss_db/db-open.c: Likewise.
3307 * sysdeps/generic/ldsodefs.h: Likewise.
3308 * sysdeps/sh/nptl/tls.h: Likewise.
3309 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3310 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3311 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3312 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3313 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3314 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3315 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3316 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3318 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3319 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3320 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3321 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3322 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3323 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3324 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3325 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3326 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3327 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3328 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3329 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3331 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3332 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3333 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3334 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3335 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3336 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3337 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3338 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3339 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3340 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3341 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3342 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3343 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3344 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3345 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3346 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3347 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3348 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3349 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3350 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3351 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3352 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3353 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3354 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3355 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3356 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3357 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3358 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3359 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3360 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3361 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3362 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3363 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3364 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3365 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3366 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3389 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3390 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3391 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3392 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3393 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3394 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3395 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3396 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3397 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3398 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3399 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3400 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3401 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3402 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3403 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3404 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3405 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3406 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3407 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3408 * sysdeps/unix/sysv/linux/system.c: Likewise.
3409 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3410 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3411 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3412 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3413 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3414 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3415 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3416
92072d57
JM
3417 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3418 * configure: Regenerated.
3419 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3420
3e239be6
JM
3421 * configure.ac (base_machine): Do not set specially for particular
3422 machines here.
3423 * configure: Regenerated.
3424 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3425 settings from configure.ac.
3426 * sysdeps/i386/preconfigure: New file.
3427 * sysdeps/s390/preconfigure: Likewise.
3428 * sysdeps/sh/preconfigure: Likewise.
3429 * sysdeps/sparc/preconfigure: Likewise.
3430
06d50baa
RM
34312014-06-25 Roland McGrath <roland@hack.frob.com>
3432
74836003
RM
3433 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3434 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3435 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3436 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3437 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3438 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3439 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3440 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3441 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3442 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3443 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3444 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3445 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3446 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3447 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3448 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3449 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3450 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3451 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3452
3453 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3454 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3455 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3456 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3457 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3458 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3459 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3460 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3461 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3462 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3463 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3464 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3465 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3466 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3467 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3468 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3469 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3470 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3471 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3472 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3473 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3474 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3476 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3477 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3478 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3479 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3480 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3481 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3482 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3483 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3484 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3485 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3486 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3487 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3488 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3489 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3490 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3491
06d50baa
RM
3492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3493 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3495 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3497 Moved ...
3498 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3499 ... here.
3500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3501 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3503 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3505 Moved ...
3506 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3508 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3510 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3512 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3514 Moved ...
3515 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3517 Moved ...
3518 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3520 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3522 Moved ...
3523 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3525 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3527 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3529 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3531 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3533 Moved ...
3534 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3535 ... here.
3536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3537 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3541 Moved ...
3542 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3544 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3546 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3548 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3550 Moved ...
3551 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3553 Moved ...
3554 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3556 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3558 Moved ...
3559 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3561 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3563 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3564
a4ccbc9b
JM
35652014-06-25 Joseph Myers <joseph@codesourcery.com>
3566
0828edbf
JM
3567 * timezone/checktab.awk: Update from tzcode 2014e.
3568 * timezone/private.h: Likewise.
3569 * timezone/tzfile.h: Likewise.
3570 * timezone/zdump.c: Likewise.
3571 * timezone/zic.c: Likewise.
3572
a4ccbc9b
JM
3573 * sysdeps/unix/sysv/linux/kernel-features.h
3574 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3576 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3577 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3578 Remove conditional code.
3579
9aea0cb8
WN
35802014-06-25 Will Newton <will.newton@linaro.org>
3581
3582 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3583 (_dl_arm_cap_flags): Add HWCAP2 values.
3584 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3585 (_DL_HWCAP_COUNT): Increase to 37.
3586 (_DL_HWCAP_LAST): New define.
3587 (_DL_HWCAP2_LAST): New define.
3588 (_dl_procinfo): Add support for printing
3589 AT_HWCAP2 entries.
3590 (_dl_string_hwcap): Use _dl_hwcap_string.
3591
6eaa65ce
AZ
35922014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3593
3594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3595
0f5b7185
JM
35962014-06-25 Joseph Myers <joseph@codesourcery.com>
3597
cfd2ea50
JM
3598 * README: Do not mention ports directory.
3599
cecf2ed4
JM
3600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3601 Remove macro.
3602 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3603 <kernel-features.h>.
3604 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3605 conditional variable definition.
3606 (__futimes): Update comment.
3607 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3608 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3609
a638de82
JM
3610 [BZ #16560]
3611 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3612 arguments close to 0.
3613 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3614 Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3616 Likewise.
3617 * math/auto-libm-test-in: Add more tests of exp10.
3618 * math/auto-libm-test-out: Regenerated.
3619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3620
0f5b7185
JM
3621 * sysdeps/unix/sysv/linux/kernel-features.h
3622 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3623 * sysdeps/unix/sysv/linux/readv.c: Do not include
3624 <kernel-features.h>.
3625 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3626 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3627 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3628 unconditional.
3629 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3630 conditional code.
3631 * sysdeps/unix/sysv/linux/writev.c: Do not include
3632 <kernel-features.h>.
3633 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3634 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3635 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3636 unconditional.
3637 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3638 conditional code.
3639
c7aec4be
WN
36402014-06-25 Will Newton <will.newton@linaro.org>
3641
3642 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3643 comment changes throughout the file. Remove checks
3644 for HAVE_*_H definitions that are not required.
3645 (__gen_tempname): Call abort if an unknown kind value is
3646 passed.
3647
c5241f95
AS
36482014-06-25 Andreas Schwab <schwab@suse.de>
3649
3650 [BZ #17086]
3651 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3652 scalbln, scalblnf, scalblnl in libc.
3653
911422da
SP
36542014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3655
3656 [BZ #17086]
3657 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3658 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3659 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3660
0d749bbe
RM
36612014-06-24 Roland McGrath <roland@hack.frob.com>
3662
3663 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3664 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3665 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3666 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3667 Update #include.
3668 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3669 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3670 Update #include.
3671 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3672 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3673 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3674 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3675 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3676 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3677 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3678 * sysdeps/x86/bits/semaphore.h: ... here.
3679 * sysdeps/x86/nptl/elide.h: Moved ...
3680 * sysdeps/x86/elide.h: ... here.
3681 * sysdeps/x86_64/nptl/Implies: File removed.
3682 * sysdeps/i386/nptl/Implies: File removed.
3683
0ea5d373
JM
36842014-06-24 Joseph Myers <joseph@codesourcery.com>
3685
4060283d
JM
3686 [BZ #16539]
3687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3688 return the argument for normal arguments with exponent below -64.
3689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3690 Likewise.
3691 * math/auto-libm-test-in: Add another test of expm1.
3692 * math/auto-libm-test-out: Regenerated.
3693
e7dd3c8c
JM
3694 [BZ #16287]
3695 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3696 calling __erfcl for arguments at least 16.
3697 * math/auto-libm-test-in: Add more tests of erf.
3698 * math/auto-libm-test-out: Regenerated.
3699
0ea5d373
JM
3700 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3701 individual architectures.
3702 * sysdeps/unix/sysv/linux/configure: Regenerated.
3703 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3704 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3705 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3706 (ldd_rewrite_script): Define variable.
3707 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3709 file.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3711 generated file.
3712 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3713 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3714 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3715 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3716 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3717 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3718 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3719 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3720
2307e126
SP
37212014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3722
3723 [BZ #17084]
3724 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3725 Rename member __data.d to __data.__elision_data.
3726
c0a4ed77
W
37272014-06-24 Wilco <wdijkstr@arm.com>
3728
3729 * NEWS: Add 16918 to fixed bug list.
3730
b8c00573
W
37312014-06-24 Wilco <wdijkstr@arm.com>
3732
3733 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3734
b5570d92
W
37352014-06-24 Wilco <wdijkstr@arm.com>
3736
3737 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3738 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3739 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3740 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3741 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3742 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3743 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3744 Use _FPU_MASK_RM.
3745
947bdca2
W
37462014-06-24 Wilco <wdijkstr@arm.com>
3747
3748 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3749
00f669ed
W
37502014-06-24 Wilco <wdijkstr@arm.com>
3751
3752 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3753 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3754 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3755 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3756
db59bad3
W
37572014-06-24 Wilco <wdijkstr@arm.com>
3758
3759 [BZ #16918]
3760 * sysdeps/arm/feupdateenv.c (feupdateenv):
3761 Rewrite to reduce FPSCR accesses and fix return value.
3762
001f7b77
W
37632014-06-24 Wilco <wdijkstr@arm.com>
3764
3765 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3766 Optimize to avoid unnecessary FPSCR writes.
3767 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3768 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3769 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3770 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3771
4841e6a6
W
37722014-06-24 Wilco <wdijkstr@arm.com>
3773
3774 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3775 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3776 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3777 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3778 Call libc_fetestexcept_vfp.
3779 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3780 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3781 __SOFTFP__ ifdef so that they can be built for softfp.
3782
0813022c
SP
37832014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3784
08e5862f
SP
3785 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3786 argument type signed char.
3787
0813022c
SP
3788 * Makerules (check-abi): Dump diff of symlist if the test
3789 fails.
3790
3fc7236a
RM
37912014-06-23 Roland McGrath <roland@hack.frob.com>
3792
aba8ef95
RM
3793 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3794 using abort.
3795
3fc7236a
RM
3796 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3797 Remove unused variable ST.
3798
4da6db51
JM
37992014-06-23 Joseph Myers <joseph@codesourcery.com>
3800
4648909d
JM
3801 [BZ #16354]
3802 [BZ #17061]
3803 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3804 small arguments before calling __expm1.
3805 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3806 small arguments before calling __expm1f.
3807 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3808 small arguments before calling __expm1l.
3809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3810 Likewise.
3811 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3812 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3813 spurious underflow for some cosh tests.
3814 * math/auto-libm-test-out: Regenerated.
3815 * sysdeps/i386/fpu/libm-test-ulps: Update.
3816
46a3d3c7
JM
3817 [BZ #17050]
3818 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3819 (__ieee754_y1): Set errno if return value overflows.
3820 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3821 (__ieee754_y1f): Set errno if return value overflows.
3822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3823 (__ieee754_y1l): Set errno if return value overflows.
3824 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3825 (__ieee754_y1l): Set errno if return value overflows.
3826 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3827 * math/auto-libm-test-out: Regenerated.
3828
863893ec
JM
3829 * math/gen-auto-libm-tests.c: Document use of
3830 ignore-zero-inf-sign.
3831 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3832 (input_flags): Add ignore-zero-inf-sign.
3833 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3834 * math/gen-libm-test.pl (generate_testfile): Handle
3835 ignore-zero-inf-sign.
3836 * math/auto-libm-test-in: Mark some cpow tests with
3837 ignore-zero-inf-sign and some with xfail-rounding.
3838 * math/auto-libm-test-out: Regenerated.
3839 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3840 * sysdeps/i386/fpu/libm-test-ulps: Update.
3841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3842
4da6db51
JM
3843 [BZ #16315]
3844 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3845 overflowing or underflowing operations take place with sign of
3846 result.
3847 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3848 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3849 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3850 (__ieee754_pow): Recompute overflowing and underflowing results in
3851 original rounding mode.
3852 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3853 (__powl_helper): Allow negative argument X and scale negated value
3854 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3855 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3856 overflowing or underflowing operations take place with sign of
3857 result.
3858 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3859 Include <math.h>.
3860 * math/auto-libm-test-in: Add more tests of pow.
3861 * math/auto-libm-test-out: Regenerated.
3862 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3863 (pow_tonearest_test_data): Remove.
3864 (pow_test_tonearest): Likewise.
3865 (pow_towardzero_test_data): Likewise.
3866 (pow_test_towardzero): Likewise.
3867 (pow_downward_test_data): Likewise.
3868 (pow_test_downward): Likewise.
3869 (pow_upward_test_data): Likewise.
3870 (pow_test_upward): Likewise.
3871 (main): Don't call removed functions.
3872 * sysdeps/i386/fpu/libm-test-ulps: Update.
3873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3874
5686b236
RM
38752014-06-23 Roland McGrath <roland@hack.frob.com>
3876
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3878 Moved ...
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3881 Moved ...
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3884 Moved ...
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3887 Moved ...
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3890 File removed.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3892 File removed.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3894 File removed.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3896 File removed.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3898 File removed.
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3900 File removed.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3902 File removed.
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3904 File removed.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3906 File removed.
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3908 File removed.
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3910 File removed.
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3912 File removed.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3914 Moved ...
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3917 Moved ...
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3919 ... here.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3921 Moved ...
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3924 Moved ...
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3927 Moved ...
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3930 Moved ...
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3933 Moved ...
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3936 Moved ...
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3939 Moved ...
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3943 ... here.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3945 Moved ...
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3948 Moved ...
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3950 ... here.
3951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3952 Moved ...
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3954 ... here.
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3956 Moved ...
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3958 ... here.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3960 Moved ...
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3963 Moved ...
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3968 Moved ...
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3970 ... here.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3972 Moved ...
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3974 ... here.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3976 Moved ...
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3979 Moved ...
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3982 Moved ...
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3985 Moved ...
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3988 Moved ...
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3990 ... here.
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3992 Moved ...
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3995 Moved ...
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3998 Moved ...
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4001 Moved ...
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4006 Moved ...
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4009 Moved ...
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4012 Moved ...
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4014 ... here.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4016 Moved ...
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4018 ... here.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4020 Moved ...
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4022 ... here.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4024 Moved ...
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4027 Moved ...
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4030 Moved ...
4031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4033 Moved ...
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4035 ... here.
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4037 Moved ...
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4039 ... here.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4041 Moved ...
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4043 ... here.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4045 Moved ...
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4048 Moved ...
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4050
e6d90d67
WD
40512014-06-23 Will Newton <will.newton@linaro.org>
4052 Wilco <wdijkstr@arm.com>
4053
4054 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4055 implementation. Include get-rounding-mode.h.
4056 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4057 [!libc_feholdsetround_noex_ctx]: Define
4058 libc_feholdsetround_noex_ctx.
4059 [!libc_feholdsetround_noexf_ctx]: Define
4060 libc_feholdsetround_noexf_ctx.
4061 [!libc_feholdsetround_noexl_ctx]: Define
4062 libc_feholdsetround_noexl_ctx.
4063 (libc_feholdsetround_ctx): New function.
4064 (libc_feresetround_ctx): New function.
4065 (libc_feholdsetround_noex_ctx): New function.
4066 (libc_feresetround_noex_ctx): New function.
4067
d42df555
RM
40682014-06-23 Roland McGrath <roland@hack.frob.com>
4069
88a46474
RM
4070 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4071 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4072 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4073 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4074 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4075 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4076
15bed472
RM
4077 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4078 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4079 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4080 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4081 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4082 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4083 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4084 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4085 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4088 Moved ...
4089 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4090 ... here.
4091 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4094 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4096 Moved ...
4097 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4105 Moved ...
4106 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4108 Moved ...
4109 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4113 Moved ...
4114 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4116 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4118 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4119 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4120 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4121 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4122 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4126 ... here.
4127 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4130 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4132 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4134 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4140 Moved ...
4141 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4145 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4147 Moved ...
4148 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4150 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4151 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4152 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4153
d42df555
RM
4154 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4155 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4156 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4157 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4158 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4159 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4161 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4163 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4164 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4165 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4169 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4171 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4172 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4179 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4182
76e5216e
JM
41832014-06-23 Joseph Myers <joseph@codesourcery.com>
4184
4185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4186 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4187 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4188 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4189 (IPV6_PMTUDISC_INTERFACE): Likewise.
4190 (IPV6_PMTUDISC_OMIT): Likewise.
4191
7a81cbcc
AS
41922014-06-23 Andreas Schwab <schwab@suse.de>
4193
4194 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4195 Remove unused errout label.
4196
db224009
AZ
41972014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198
4199 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4200 macro: hardware supports Vector Crypto instructions.
4201
f393b4aa
WN
42022014-06-23 Will Newton <will.newton@linaro.org>
4203
cc7d0447
WN
4204 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4205 rather than __builtin_expect.
4206
d6d06225
WN
4207 * elf/dl-lookup.c (undefined_msg): Remove variable.
4208 (_dl_lookup_symbol_x): Replace undefined_msg with string
4209 literal.
4210
f393b4aa
WN
4211 * elf/dl-lookup.c (do_lookup_unique): New function.
4212 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4213 to a separate function.
4214
ac60763e
AS
42152014-06-23 Andreas Schwab <schwab@suse.de>
4216
4217 [BZ #17079]
4218 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4219 before reading the next line.
4220
c5c13355
WN
42212014-06-23 Will Newton <will.newton@linaro.org>
4222
4223 * test-skeleton.c (signal_handler): Use printf and %m
4224 rather than perror. Use printf rather than fprintf to
4225 stderr. Use puts rather than fputs to stderr.
4226 (main): Likewise.
4227
bd3675f9
LC
42282014-06-22 Ludovic Courtès <ludo@gnu.org>
4229
4230 * nscd/nscd.c (thread_info_t): Remove typedef.
4231 (thread_info): Remove variable.
4232
d03efb2f
AM
42332014-06-21 Allan McRae <allan@archlinux.org>
4234
4235 * NEWS: Mention CVE-2014-4043.
4236
bc4a86fa
RM
42372014-06-20 Roland McGrath <roland@hack.frob.com>
4238
dc9a54f8
RM
4239 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4240 * nptl/smp.h: ... here.
4241
bd7022c4
RM
4242 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4243
26ffd5e6
RM
4244 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4245 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4246 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4247 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4248
93a6d082
RM
4249 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4250 * nptl/stack-aliasing.h: New file.
4251 * sysdeps/i386/i686/stack-aliasing.h: New file.
4252 * sysdeps/i386/i686/nptl/Makefile: File removed.
4253 * sysdeps/x86_64/stack-aliasing.h: New file.
4254 * sysdeps/x86_64/nptl/Makefile
4255 (CFLAGS-pthread_create.c): Variable removed.
4256
bc4a86fa
RM
4257 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4258 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4259 old file.
4260 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4261 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4262 old file.
4263
2272ffc1
JM
42642014-06-21 Joseph Myers <joseph@codesourcery.com>
4265
4266 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4267 (__ASSUME_SIGFRAME_V2): Remove macro.
4268 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4269 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4270 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4271 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4272 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4273 Declare as function. Remove conditional macro definitions.
4274 (__default_rt_sa_restorer): Likewise.
4275 (__default_sa_restorer_v1): Remove declaration.
4276 (__default_sa_restorer_v2): Likewise.
4277 (__default_rt_sa_restorer_v1): Likewise.
4278 (__default_rt_sa_restorer_v2): Likewise.
4279 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4280 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4281 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4282
4b88139b
RM
42832014-06-20 Roland McGrath <roland@hack.frob.com>
4284
4285 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4286 (libpthread-routines): Add sysdep.
4287 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4288 * sysdeps/unix/sysv/linux/sparc/Versions
4289 (libpthread: GLIBC_2.3.3): New version set.
4290 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4291 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4292 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4294 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4295 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4296 Moved ...
4297 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4298 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4299 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4301 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4302 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4303 * sysdeps/sparc/nptl/sem_init.c: ... here.
4304 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4305 * sysdeps/sparc/nptl/sem_post.c: ... here.
4306 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4307 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4308 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4309 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4310 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4311 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4312 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4313 (libpthread-routines): Add cpu_relax.
4314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4315 File removed.
4316 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4317 (librt: GLIBC_2.3.3): New version set.
4318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4319 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4320 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4321 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4324 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4326 Moved ...
4327 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4329 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4331 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4333 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4335 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4337 Moved ...
4338 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4339 Update #include.
4340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4341 Moved ...
4342 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4343 Update #include.
4344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4345 Moved ...
4346 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4347 Update #include.
4348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4349 Moved ...
4350 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4351 Update #include.
4352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4353 Moved ...
4354 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4355 Update #include.
4356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4357 Moved ...
4358 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4359 Update #include.
4360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4361 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4371 Moved ...
4372 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4374 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4377
d7109027
JM
43782014-06-20 Joseph Myers <joseph@codesourcery.com>
4379
9bc6103d
JM
4380 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4381 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4382 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4383 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4384 * nscd/nscd.c: Likewise.
4385 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4386 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4387 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4388 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4389
d7109027
JM
4390 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4391 <kernel-features.h>.
4392 (init_mq_netlink): Remove conditional have_sock_cloexec
4393 definitions. Remove code conditional on have_sock_cloexec < 0.
4394 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4395 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4396 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4397 <kernel-features.h>.
4398 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4399 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4400
d92d8f8a
L
44012014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4404 Add tests for memset_chk and memset.
4405
4406 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4407 with AVX2_Usable.
4408
4e6d2347
MR
44092014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4410
257ce712
MR
4411 [BZ #16046]
4412 * elf/tst-dl-iter-static.c: New file.
4413 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4414
4e6d2347
MR
4415 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4416 error.
4417
a2a76afe
JM
44182014-06-20 Joseph Myers <joseph@codesourcery.com>
4419
7fd00f99
JM
4420 * sysdeps/unix/sysv/linux/kernel-features.h
4421 (__ASSUME_F_GETOWN_EX): Remove macro.
4422 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4423 <kernel-features.h>.
4424 (miss_F_GETOWN_EX): Remove variable or macro.
4425 (do_fcntl): Do not check miss_F_GETOWN_EX.
4426 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4427
4a103975
JM
4428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4429 Remove macro.
4430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4431 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4432 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4433
a2a76afe
JM
4434 * sysdeps/unix/sysv/linux/kernel-features.h
4435 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4436 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4437 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4438 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4439
90e5dd48
MR
44402014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4441
4442 [BZ #17075]
4443 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4444 Fix calculation of the symbol's value.
4445 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4446 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4447 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4448 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4449 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4450 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4451 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4452 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4453 (modules-names): Add `tst-armtlsdescmod',
4454 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4455 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4456 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4457 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4458 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4459 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4460 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4461 ($(objpfx)tst-armtlsdescloc): New dependency.
4462 ($(objpfx)tst-armtlsdescextnow): Likewise.
4463 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4464 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4465 TLS scheme support.
4466 * sysdeps/arm/configure: Regenerate.
4467
809fdf0d
JM
44682014-06-20 Joseph Myers <joseph@codesourcery.com>
4469
4470 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4471 (__atfct_seterrno_2): Likewise.
4472 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4473 <kernel-features.h>.
4474 (__ASSUME_ATFCTS): Do not undefine and redefine.
4475 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4476 (__have_atfcts): Remove conditional definition.
4477 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4478 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4479 unreachable if [__ASSUME_ATFCTS].
4480 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4481 not undefine and redefine.
4482 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4483 <kernel-features.h>.
4484 (faccessat) [__NR_faccessat]: Make code unconditional.
4485 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4486 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4487 <kernel-features.h>.
4488 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4489 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4490 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4491 <kernel-features.h>.
4492 (fchownat) [__NR_fchownat]: Make code unconditional.
4493 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4494 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4495 <kernel-features.h>.
4496 (futimesat) [__NR_futimesat]: Make code unconditional.
4497 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4498 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4499 <kernel-features.h>.
4500 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4501 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4502 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4503 <kernel-features.h>.
4504 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4505 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4506 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4507 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4508 <kernel-features.h>.
4509 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4510 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4511 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4512 <kernel-features.h>.
4513 (linkat) [__NR_linkat]: Make code unconditional.
4514 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4515 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4516 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4517 <kernel-features.h>.
4518 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4519 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4520 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4521 <kernel-features.h>.
4522 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4523 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4524 * sysdeps/unix/sysv/linux/openat.c: Do not include
4525 <kernel-features.h>.
4526 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4527 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4528 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4529 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4530 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4531 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4532 <kernel-features.h>.
4533 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4534 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4535 result of INLINE_SYSCALL directly, not via int variable.
4536 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4537 <kernel-features.h>.
4538 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4539 (renameat) [__NR_renameat]: Make code unconditional.
4540 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4541 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4542 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4543 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4544 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4545 (__ASSUME_ATFCTS): Do not undefine and redefine.
4546 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4547 <kernel-features.h>.
4548 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4549 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4550 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4551 <kernel-features.h>.
4552 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4553 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4554 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4555 (__ASSUME_ATFCTS): Do not undefine and redefine.
4556 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4557 <kernel-features.h>.
4558 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4559 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4560 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4561 <kernel-features.h>.
4562 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4563 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4564
224c6c51
L
45652014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4566
4567 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4568
aa6ec754
AS
45692014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4570
4571 [BZ #17069]
4572 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4573 constructed tree before returning error.
4574 * posix/bug-regexp36.c: Expand test case.
4575
d8c2869d
SL
45762014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4577
3ef6b850
SL
4578 [BZ #6803]
4579 * math/libm-test.inc (scalbln_test_date):
4580 Add errno expectations.
4581 * math/w_scalblnf.c: New File.
4582 Add wrapper which checks for setting errno to ERANGE.
4583 Add weak_alias for corresponding scalbln function.
4584 * math/w_scalbln.c: Likewise.
4585 * math/w_scalblnl.c: Likewise.
4586 * math/Makefile (libm-calls): Add w_scalbln.
4587 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4588 Remove weak_alias for corresponding scalbln function.
4589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4591 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4593 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4594 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4595 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4596 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4597 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4598 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4599 Remove long_double_symbol for scalblnl function in libm, libc.
4600 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4601 Add wrapper which checks for setting errno to ERANGE.
4602 Add long_double_symbol for scalblnl function in libm, libc.
4603 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4604 Remove long_double_symbol for scalblnl in libm.
4605 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4606 Add wrapper which checks for setting errno to ERANGE.
4607 Add long_double_symbol for scalblnl function in libm.
4608 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4609 Do not use wrapper because of own implementation.
4610
c8daec5c
L
46112014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4612
4613 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4614 3 bytes for __pad1 for x32.
4615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4616
5c74e47c
LM
46172014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4618 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4621 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4622 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4623 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4624 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4625
4d43ef1e
AS
46262014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4627
4628 [BZ #17069]
4629 * posix/regcomp.c (parse_expression): Deallocate partially
4630 constructed tree before returning error.
4631 * posix/Makefile.c (tests): Add bug-regex36.
4632 (generated): Add bug-regex36.mtrace.
4633 (tests-special): Add $(objpfx)bug-regex36-mem.out
4634 (bug-regex36-ENV): New variable.
4635 ($(objpfx)bug-regex36-mem.out): New rule.
4636 * posix/bug-regex36.c: New file.
4637
51a7380b
WN
46382014-06-19 Will Newton <will.newton@linaro.org>
4639
4640 * malloc/malloc.c (systrim): If extra is zero then return
4641 early.
4642
91b84fe5
SP
46432014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4644
4645 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4646
f940b965
RE
46472014-06-19 Richard Earnshaw <rearnsha@arm.com>
4648
4649 * sysdeps/aarch64/strchr.S: New file.
4650
4ba7a00f
JM
46512014-06-18 Joseph Myers <joseph@codesourcery.com>
4652
4653 [BZ #17022]
4654 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4655 from arguments -2 or below.
4656 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4657 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4658
b3a9f56b
AS
46592014-06-18 Andreas Schwab <schwab@suse.de>
4660
4661 [BZ #17062]
4662 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4663 of a bracket expr not to run off the end of the string.
4664 * posix/Makefile (tests): Add tst-fnmatch3.
4665 * posix/tst-fnmatch3.c: New file.
4666
85d89278
JM
46672014-06-18 Joseph Myers <joseph@codesourcery.com>
4668
4669 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4670 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4671 [$(cross-compiling) = no]: Likewise.
4672 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4673 [$(cross-compiling) = no]: Likewise.
4674
754c5a08
RS
46752014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4676
4677 [BZ #17031]
4678 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4679 double, adjusted for any remainder from the high double.
4680 * math/libm-test.inc (nearbyint): Add tests.
4681 (rint): Likewise.
4682
556f529d
AZ
46832014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4684
4685 * nptl/sysdeps/powerpc/Makefile: Moved ...
4686 * sysdeps/powerpc/nptl/Makefile: ... here.
4687 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4688 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4689 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4690 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4691 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4692 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4693 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4694 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4695 * nptl/sysdeps/powerpc/tls.h: Moved ...
4696 * sysdeps/powerpc/nptl/tls.h: ... here.
4697
91c03c53
JM
46982014-06-16 Joseph Myers <joseph@codesourcery.com>
4699
4700 [BZ #16681]
4701 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4702 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4703 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4704 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4705 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4706 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4707 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4708 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4709 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4710
a76e63c5
AS
47112014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4712
4713 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4714
f2f6d82f
AS
47152014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4716
ea8a15f6
AS
4717 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4718 defined operator.
4719
f2f6d82f
AS
4720 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4721 $TIMEOUTFACTOR.
4722
a7291117
FW
47232014-06-16 Florian Weimer <fweimer@redhat.com>
4724
4725 [BZ #17058]
4726 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4727 non-executed part of the test.
4728
3d7c00e3
AS
47292014-06-16 Andreas Schwab <schwab@suse.de>
4730
4731 * string/bits/string2.h (strdup, strndup): Update feature guard.
4732
6957fb31
DM
47332014-06-14 David S. Miller <davem@davemloft.net>
4734
4735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4736
11b9e55b
AS
47372014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4738
1d2a0492
AS
4739 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4740 that was previously under [RESET_PID].
4741 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4742
11b9e55b
AS
4743 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4744 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4745 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4746 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4747 (__libc_vfork): New strong alias.
4748 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4749
0f6901d0
AK
47502014-06-14 Andi Kleen <ak@linux.intel.com>
4751
4752 * sysdeps/generic/elide.h: New file.
4753
38bbbb9f
SL
47542014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4755
4756 * Makefile (installed-headers): Adjust path of pthread.h header.
4757
45193bb8
RM
47582014-06-13 Roland McGrath <roland@hack.frob.com>
4759
9a25fd1e
RM
4760 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4761 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4762 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4763 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4764
4004f7e4
RM
4765 * nptl/sysdeps/s390/Makefile: Moved ...
4766 * sysdeps/s390/nptl/Makefile: ... here.
4767 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4768 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4769 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4770 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4771 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4772 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4773 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4774 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4775 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4776 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4777 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4778 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4779 * nptl/sysdeps/s390/tls.h: Moved ...
4780 * sysdeps/s390/nptl/tls.h: ... here.
4781
45193bb8
RM
4782 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4783 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4784
f6fdf533
DM
47852014-06-13 David S. Miller <davem@davemloft.net>
4786
4787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4790 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4791 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4794 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4795 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4796 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4797 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4798 Remove RESET_PID cpp guards.
4799 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4800 Remove RESET_PID cpp guards.
4801 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4802
f5d71e14
AS
48032014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4804
4805 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4806 __sp to uintptr_t.
4807
b7aa8caa
AK
48082014-06-13 Andi Kleen <ak@linux.intel.com>
4809
4b266200
AZ
4810 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4811 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4812 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4813 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4814 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4816 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4817 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4819 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4820 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4821 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4822 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4823 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4824 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4825 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4826 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4827 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4828 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4829 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
4830
4831 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
4832 (pthread_rwlock_rdlock): Add elision.
4833 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4834 (pthread_rwlock_wrlock): Add elision.
4835 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4836 (pthread_rwlock_trywrlock): Add elision.
4837 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4838 (pthread_rwlock_tryrdlock): Add elision.
4839 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4840 (pthread_rwlock_tryrdlock): Add elision unlock.
4841 * nptl/sysdeps/pthread/pthread.h:
4842 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4843 (PTHREAD_RWLOCK_INITIALIZER,
4844 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4845 Handle new elision field.
4846 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4847 * sysdeps/arm/nptl/bits/pthreadtypes.h
4848 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4849 * sysdeps/sh/nptl/bits/pthreadtypes.h
4850 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4851 * sysdeps/tile/nptl/bits/pthreadtypes.h
4852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4853 * sysdeps/a/nptl/bits/pthreadtypes.h
4854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4855 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4857 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4859 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4860 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4861 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4862 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4863 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4864 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4865 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4866 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4867 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4868 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4869 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4870 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4871 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4872 (elision_init): Set try_xbegin to zero when no RTM.
4873 * sysdeps/x86/nptl/bits/pthreadtypes.h
4874 (pthread_rwlock_t): Change __pad1 to __rwelision.
4875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 4876
a832bdd3
AK
48772014-06-13 Andi Kleen <ak@linux.intel.com>
4878
4879 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4880 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4881 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4882 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4883
995a46bb
MI
48842014-06-13 Meador Inge <meadori@codesourcery.com>
4885
4886 [BZ #16996]
03ed7738 4887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
4888 that the cached result has been set before returning it.
4889
45262aee
RM
48902014-06-12 Roland McGrath <roland@hack.frob.com>
4891
febf6cc5
RM
4892 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4893 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4895 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4897 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4898
e2682246
RM
4899 * nptl/sysdeps/sparc/Makefile: Moved ...
4900 * sysdeps/sparc/nptl/Makefile: ... here.
4901 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4902 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4903 * nptl/sysdeps/sparc/tls.h: Moved ...
4904 * sysdeps/sparc/nptl/tls.h: ... here.
4905 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4906 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4907 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4908 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4909 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4910 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4911 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4912 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4913 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4914 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4915 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4916 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4917 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4918 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4919 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4920 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4921 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4922 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4923 Update #include.
4924 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4926 Update #include.
4927 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4928 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4929 Update #include.
4930 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4931 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4932 Update #include.
4933
b0725f43
RM
4934 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4935
b14368b8
RM
4936 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4937 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4938
c5620eb3
RM
4939 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4940 (struct list_links): Type removed.
4941 (struct thread_node, struct timer_node): Replace struct list_links
4942 with struct list_head.
4943 (list_unlink_ip): Likewise.
4944 * sysdeps/pthread/timer_routines.c
4945 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4946 (list_append, list_insbefore): Likewise.
4947 (list_init): Function removed.
4948 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
4949 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4950 * sysdeps/pthread/Makefile: ... here, new file.
4951
4952 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4953 * sysdeps/nptl/Implies: ... here.
4954 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4955 * nptl/sysdeps/pthread/list.h: Moved ...
4956 * include/list.h: ... here.
4957 * nptl/sysdeps/pthread/createthread.c: Moved ...
4958 * nptl/createthread.c: ... here.
4959 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4960 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4961 * nptl/pt-longjmp.c: ... here.
4962 * nptl/sysdeps/pthread/Makefile: Moved ...
4963 * sysdeps/nptl/Makefile: ... here.
4964 * nptl/sysdeps/pthread/Subdirs: Moved ...
4965 * sysdeps/nptl/Subdirs: ... here.
4966 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4967 * sysdeps/nptl/aio_misc.h: ... here.
4968 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4969 * sysdeps/nptl/bits/libc-lock.h: ... here.
4970 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4971 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4972 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4973 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4974 * nptl/sysdeps/pthread/configure: Moved ...
4975 * sysdeps/nptl/configure: ... here.
4976 * nptl/sysdeps/pthread/configure.ac: Moved ...
4977 * sysdeps/nptl/configure.ac: ... here.
4978 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4979 * sysdeps/nptl/gai_misc.h: ... here.
4980 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4981 * sysdeps/nptl/librt-cancellation.c: ... here.
4982 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4983 * sysdeps/nptl/malloc-machine.h: ... here.
4984 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4985 * sysdeps/nptl/pthread-functions.h: ... here.
4986 * nptl/sysdeps/pthread/pthread.h: Moved ...
4987 * sysdeps/nptl/pthread.h: ... here.
4988 * nptl/sysdeps/pthread/setxid.h: Moved ...
4989 * sysdeps/nptl/setxid.h: ... here.
4990 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4991 * sysdeps/nptl/sigfillset.c: ... here.
4992 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4993 * sysdeps/nptl/tcb-offsets.h: ... here.
4994 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4995 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4996 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4997 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4998 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4999 * sysdeps/pthread/allocalim.h: ... here.
5000 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5001 * sysdeps/pthread/bits/sigthread.h: ... here.
5002 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5003 * sysdeps/pthread/flockfile.c: ... here.
5004 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5005 * sysdeps/pthread/ftrylockfile.c: ... here.
5006 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5007 * sysdeps/pthread/funlockfile.c: ... here.
5008 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5009 * sysdeps/pthread/posix-timer.h: ... here.
5010 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5011 * sysdeps/pthread/timer_create.c: ... here.
5012 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5013 * sysdeps/pthread/timer_delete.c: ... here.
5014 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5015 * sysdeps/pthread/timer_getoverr.c: ... here.
5016 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5017 * sysdeps/pthread/timer_gettime.c: ... here.
5018 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5019 * sysdeps/pthread/timer_routines.c: ... here.
5020 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5021 * sysdeps/pthread/timer_settime.c: ... here.
5022 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5023 * sysdeps/pthread/tst-timer.c: ... here.
5024 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5025 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5026
e876b090
RM
5027 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5028 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5029
f6b07b3d
RM
5030 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5031 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5032 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5033 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5034 Update #include target.
5035 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5036 * sysdeps/i386/i686/nptl/Makefile: ... here.
5037 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5038 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5039 Update #include target.
5040 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5041 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5042 * nptl/sysdeps/i386/Makefile: Moved ...
5043 * sysdeps/i386/nptl/Makefile: ... here.
5044 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5045 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5046 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5047 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5048 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5049 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5050 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5051 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5052 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5053 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5054 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5055 * nptl/sysdeps/i386/tls.h: Moved ...
5056 * sysdeps/i386/nptl/tls.h: ... here.
5057
45262aee
RM
5058 * sysdeps/sh/Makefile [$(subdir) = csu]
5059 (gen-as-const-headers): Add tcb-offsets.sym.
5060 * nptl/sysdeps/sh/Makefile: File removed.
5061 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5062 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5063 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5064 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5065 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5066 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5067 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5068 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5069 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5070 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5071 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5072 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5073 * nptl/sysdeps/sh/tls.h: Moved ...
5074 * sysdeps/sh/nptl/tls.h: ... here.
5075 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5076 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5077 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5078 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5079 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5080 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5081 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5082 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5083 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5084 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5085 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5086 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5087 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5088 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5089 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5090 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5091 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5092 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5094 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5095 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5096 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5097 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5098 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5099 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5100 Moved ...
5101 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5103 Moved ...
5104 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5105 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5106 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5107 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5108 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5109 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5110 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5111 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5112 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5113 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5114 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5115 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5116 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5117 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5118 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5119 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5120 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5121 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5122 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5123
35a5e3e3
SL
51242014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5125
5126 * posix/spawn_faction_addopen.c: Include string.h.
5127
14642b85
RM
51282014-06-11 Roland McGrath <roland@hack.frob.com>
5129
5130 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5131 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5132 * nptl/sysdeps/x86_64/Makefile: Moved ...
5133 * sysdeps/x86_64/nptl/Makefile: ... here.
5134 * nptl/sysdeps/x86_64/configure: Moved ...
5135 * sysdeps/x86_64/nptl/configure: ... here.
5136 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5137 * sysdeps/x86_64/nptl/configure.ac: ... here.
5138 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5139 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5140 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5141 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5142 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5143 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5144 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5145 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5146 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5147 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5148 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5149 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5150 * nptl/sysdeps/x86_64/tls.h: Moved ...
5151 * sysdeps/x86_64/nptl/tls.h: ... here.
5152 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5153 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5154 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5155 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5156
5157 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5158
31c44fea
AZ
51592014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5160
5161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5162
e81a4f9a
JM
51632014-06-11 Joseph Myers <joseph@codesourcery.com>
5164
5165 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5166 type.
5167 [POSIX] (off_t): Likewise.
5168 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5169 [POSIX] (S_ISBLK): Require macro.
5170 [POSIX] (S_ISCHR): Likewise.
5171 [POSIX] (S_ISDIR): Likewise.
5172 [POSIX] (S_ISFIFO): Likewise.
5173 [POSIX] (S_ISREG): Likewise.
5174 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5175 optional-macro.
5176 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5177 type.
5178 [POSIX] (time_t): Likewise.
5179 [POSIX] (timer_t): Likewise.
5180
89e435f3
FW
51812014-06-11 Florian Weimer <fweimer@redhat.com>
5182
5183 [BZ #17048]
5184 * posix/spawn_int.h (struct __spawn_action): Make the path string
5185 non-const to support deallocation.
5186 * posix/spawn_faction_addopen.c
5187 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5188 * posix/spawn_faction_destroy.c
5189 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5190 path in all spawn_do_open actions.
5191 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5192 posix_spawn_file_actions_addopen.
5193
c3a2ebe1
CM
51942014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5195
5196 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5197 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5198 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5199 conditional code always true.
5200 (__libc_vfork): New alias.
5201
9503784a
RM
52022014-06-11 Roland McGrath <roland@hack.frob.com>
5203
c9cab3d2
RM
5204 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5205 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5206
d3996c79
RM
5207 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5208
ba5ec611
RM
5209 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5210 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5211
f12b4814
RM
5212 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5213 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5214
9503784a
RM
5215 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5216 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5217
e23d3d26
VR
52182014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5219
5220 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5221 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5222 multiarch strcmp for PPC64.
5223 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5224 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5226 multiarch optimizations.
5227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5228 (__libc_ifunc_impl_list): Likewise.
5229
42b1161e
SP
52302014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 * benchtests/scripts/validate_benchout.py: New script.
5233 * benchtests/Makefile (bench-func): Call it.
5234 * benchtests/scripts/benchout.schema.json: New file.
5235
2d0fc4dc
CM
52362014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5237
4a594c34
AZ
5238 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5239 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5240 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5241 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5242 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5243 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5244 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5245 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5246 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5247 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5248 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5249 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5250 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5251 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5252 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5253 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5255 Moved ...
4a594c34 5256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5257 ... here.
4a594c34 5258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5259 Moved ...
4a594c34
AZ
5260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5262 Moved ...
4a594c34 5263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5264 ... here.
4a594c34 5265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5266 Moved ...
4a594c34 5267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5268 ... here.
4a594c34 5269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5270 Moved ...
4a594c34
AZ
5271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5273 Moved ...
4a594c34 5274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5275 ... here.
4a594c34 5276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5277 Moved ...
4a594c34 5278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5279 ... here.
4a594c34 5280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5281 Moved ...
4a594c34
AZ
5282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5284 Moved ...
4a594c34 5285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5286 ... here.
4a594c34 5287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5288 Moved ...
4a594c34 5289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5290 ... here.
4a594c34 5291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5292 Moved ...
4a594c34 5293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5294 ... here.
4a594c34 5295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5296 Moved ...
4a594c34
AZ
5297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5299 Moved ...
4a594c34 5300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5301 ... here.
4a594c34 5302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5303 Moved ...
4a594c34 5304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5305 ... here.
4a594c34 5306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5307 Moved ...
4a594c34 5308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5309 ... here.
4a594c34 5310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5311 Moved ...
4a594c34
AZ
5312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5314 Moved ...
4a594c34 5315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5316 ... here.
4a594c34 5317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5318 Moved ...
4a594c34 5319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5320 ... here.
4a594c34 5321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5322 Moved ...
4a594c34
AZ
5323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5325 Moved ...
4a594c34 5326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5327 ... here.
4a594c34 5328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5329 Moved ...
4a594c34
AZ
5330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5332 Moved ...
4a594c34
AZ
5333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5335 Moved ...
4a594c34 5336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5337 ... here.
4a594c34 5338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5339 Moved ...
4a594c34 5340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5341 ... here.
4a594c34 5342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5343 Moved ...
4a594c34 5344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5345 ... here.
4a594c34 5346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5347 Moved ...
4a594c34
AZ
5348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5350 Moved ...
4a594c34 5351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5352 ... here.
4a594c34 5353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5354 Moved ...
4a594c34 5355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5356 ... here.
4a594c34
AZ
5357 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5358 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5359 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5360 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5361 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5362 Moved ...
4a594c34 5363 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5364 ... here.
4a594c34
AZ
5365 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5366 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5367 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5368 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5369 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5370 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5372 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5373 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5374 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5375 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5376 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5377 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5378 Moved ...
4a594c34
AZ
5379 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5380 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5381 Moved ...
4a594c34
AZ
5382 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5383 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5384 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5385 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5386 Moved ...
4a594c34
AZ
5387 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5389 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5390 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5391 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5392 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5393 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5394
0570cfed
W
53952014-06-10 Wilco <wdijkstr@arm.com>
5396
5397 * math/test-fenv-return.c: New file.
5398 * math/Makefile: Add new test test-fenv-return.
5399
f8ba1b56
JM
54002014-06-10 Joseph Myers <joseph@codesourcery.com>
5401
5402 [BZ #17042]
5403 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5404 when x - 1 is zero.
5405 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5406 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5407 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5408 0.0L for an argument of 1.0L.
5409 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5410 Likewise.
5411 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5412 value when x - 1 is zero.
5413 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5414 * sysdeps/i386/fpu/libm-test-ulps: Update.
5415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5416
2c3520d9
BO
54172014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5418
5419 [BZ #15119]
5420 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5421
acaa4d24
RM
54222014-06-09 Roland McGrath <roland@hack.frob.com>
5423
5424 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5425 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5426
962b744d
RM
54272014-06-09 Roland McGrath <roland@hack.frob.com>
5428
d752f0cc
RM
5429 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5430 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5431
34eda6d1
RM
5432 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5433 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5434
50f0a637
RM
5435 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5436 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5437
08f41f04
RM
5438 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5439 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5440
962b744d
RM
5441 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5442 if not already defined.
5443 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5444 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5445 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5446 (TLS_INIT_TP): Use it.
5447 (TLS_DEFINE_INIT_TP): New macro.
5448 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5449
09f19b05
JM
54502014-06-09 Joseph Myers <joseph@codesourcery.com>
5451
5452 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5453 constant.
5454 [POSIX] (IXANY): Likewise.
5455 [POSIX] (OLCUC): Likewise.
5456 [POSIX || POSIX2008] (CBAUD): Do not allow.
5457 [POSIX || POSIX2008] (DEFECHO): Likewise.
5458 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5459 [POSIX || POSIX2008] (ECHOKE): Likewise.
5460 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5461 [POSIX || POSIX2008] (EXTA): Likewise.
5462 [POSIX || POSIX2008] (EXTB): Likewise.
5463 [POSIX || POSIX2008] (FLUSHO): Likewise.
5464 [POSIX || POSIX2008] (LOBLK): Likewise.
5465 [POSIX || POSIX2008] (PENDIN): Likewise.
5466 [POSIX || POSIX2008] (SWTCH): Likewise.
5467 [POSIX || POSIX2008] (VDISCARD): Likewise.
5468 [POSIX || POSIX2008] (VDSUSP): Likewise.
5469 [POSIX || POSIX2008] (VLNEXT): Likewise.
5470 [POSIX || POSIX2008] (VREPRINT): Likewise.
5471 [POSIX || POSIX2008] (VSTATUS): Likewise.
5472 [POSIX || POSIX2008] (VWERASE): Likewise.
5473 (B*): Change to B[0123456789]*.
5474 * conform/data/time.h-data [POSIX || UNIX98]
5475 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5476 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5477 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5478 [POSIX] (tm_*): Do not allow.
5479
686554bf
JM
54802014-06-07 Joseph Myers <joseph@codesourcery.com>
5481
5482 * Makefile (install): Don't set LANGUAGE.
5483 * Makefile.in (install): Likewise.
5484 * assert/Makefile (test-assert-ENV): Remove variable.
5485 (test-assert-perr-ENV): Likewise.
5486 * elf/Makefile (neededtest4-ENV): Likewise.
5487 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5488 [$(cross-compiling) = no]: Don't set LANGUAGE.
5489 * io/ftwtest-sh (LANG): Remove variable.
5490 * libio/Makefile (tst-widetext-ENV): Likewise.
5491 * manual/install.texi (Running make install): Don't refer to
5492 environment settings for make install.
5493 * INSTALL: Regenerated.
5494 * nptl/tst-tls6.sh: Don't set LANG.
5495 * posix/globtest.sh (LANG): Remove variable.
5496 * string/Makefile (tester-ENV): Likewise.
5497 (inl-tester-ENV): Likewise.
5498 (noinl-tester-ENV): Likewise.
5499 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5500 [$(cross-compiling) = no]: Don't set LANGUAGE.
5501 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5502 without explicit environment settings.
5503
68e6b6b1
RM
55042014-06-06 Roland McGrath <roland@hack.frob.com>
5505
5506 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5507 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5509 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5510
4d3ae034
CM
55112014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5512
5513 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5514 other files in the crypt directory.
5515 * crypt/crypt.c: Remove duplicate includes.
5516 * crypt/crypt-entry.c: Likewise.
5517 * crypt/crypt_util.c: Likewise.
5518
8540f6d2
JM
55192014-06-06 Joseph Myers <joseph@codesourcery.com>
5520
5521 * Makeconfig (run-program-env): New variable.
5522 (run-program-prefix-before-env): Likewise.
5523 (run-program-prefix-after-env): Likewise.
5524 (run-program-prefix): Define in terms of new variables.
5525 (built-program-cmd-before-env): New variable.
5526 (built-program-cmd-after-env): Likewise.
5527 (built-program-cmd): Define in terms of new variables.
5528 (test-program-prefix-before-env): New variable.
5529 (test-program-prefix-after-env): Likewise.
5530 (test-program-prefix): Define in terms of new variables.
5531 (test-program-cmd-before-env): New variable.
5532 (test-program-cmd-after-env): Likewise.
5533 (test-program-cmd): Define in terms of new variables.
5534 * Rules (make-test-out): Use $(run-program-env).
5535 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5536 (help): Do not mention environment variables. Mention
5537 --timeoutfactor option.
5538 (timeoutfactor): New variable.
5539 (blacklist_exports): Remove function.
5540 (exports): Remove variable.
5541 (command): Do not include ${exports}.
5542 * manual/install.texi (Configuring and compiling): Do not mention
5543 test wrappers preserving environment variables. Mention that last
5544 assignment to a variable must take precedence.
5545 * INSTALL: Regenerated.
5546 * benchtests/Makefile (run-bench): Use $(run-program-env).
5547 * catgets/Makefile ($(objpfx)test1.cat): Use
5548 $(built-program-cmd-before-env), $(run-program-env) and
5549 $(built-program-cmd-after-env).
5550 ($(objpfx)test2.cat): Do not specify environment variables
5551 explicitly.
5552 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5553 $(run-program-env) and $(built-program-cmd-after-env).
5554 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5555 $(run-program-env) and $(test-program-cmd-after-env).
5556 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5557 explicitly.
5558 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5559 run_program_env and test_program_cmd_after_env arguments.
5560 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5561 * elf/tst-pathopt.sh: Use run_program_env argument.
5562 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5563 $(test-wrapper-env) and $(run-program-env).
5564 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5565 run_program_env arguments.
5566 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5567 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5568 $(test-program-prefix-before-env), $(run-program-env) and
5569 $(test-program-prefix-after-env).
5570 ($(objpfx)tst-gettext2.out): Likewise.
5571 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5572 run_program_env and test_program_prefix_after_env arguments.
5573 * intl/tst-gettext2.sh: Likewise.
5574 * intl/tst-gettext4.sh: Do not set environment variables
5575 explicitly.
5576 * intl/tst-gettext6.sh: Likewise.
5577 * intl/tst-translit.sh: Likewise.
5578 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5579 $(test-program-prefix-before-env), $(run-program-env) and
5580 $(test-program-prefix-after-env).
5581 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5582 run_program_env and test_program_prefix_after_env arguments.
5583 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5584 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5585 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5586 explicitly with each use of ${test_wrapper_env}.
5587 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5588 $(test-program-prefix-before-env), $(run-program-env) and
5589 $(test-program-prefix-after-env).
5590 * posix/tst-getconf.sh: Do not set environment variables
5591 explicitly.
5592 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5593 run_program_env and test_program_prefix_after_env arguments.
5594 * stdio-common/tst-printf.sh: Do not set environment variables
5595 explicitly.
5596 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5597 $(test-program-prefix-before-env), $(run-program-env) and
5598 $(test-program-prefix-after-env).
5599 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5600 run_program_env and test_program_prefix_after_env arguments.
5601 Split $test calls into $test_pre and $test.
5602 * timezone/Makefile (build-testdata): Use
5603 $(built-program-cmd-before-env), $(run-program-env) and
5604 $(built-program-cmd-after-env).
5605
ed36bfa1
AZ
56062014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5607
5608 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5609 strlen for non SHARED builds.
5610
fc75bf46
SP
56112014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5612
5613 * nptl/allocatestack.c (check_list): Inlined function...
5614 (__reclaim_stacks): ... here.
5615
d89b3d80
OB
56162014-06-05 Ondřej Bílka <neleai@seznam.cz>
5617
5618 [BZ #15698]
5619 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5620 memory overrun.
5621
2bf18041
JM
56222014-06-05 Joseph Myers <joseph@codesourcery.com>
5623
5624 * Rules (make-test-out): Include
5625 LOCPATH=$(common-objpfx)localedata in default environment.
5626 * debug/Makefile (tst-chk1-ENV): Remove variable.
5627 (tst-chk2-ENV): Likewise.
5628 (tst-chk3-ENV): Likewise.
5629 (tst-chk4-ENV): Likewise.
5630 (tst-chk5-ENV): Likewise.
5631 (tst-chk6-ENV): Likewise.
5632 (tst-lfschk1-ENV): Likewise.
5633 (tst-lfschk2-ENV): Likewise.
5634 (tst-lfschk3-ENV): Likewise.
5635 (tst-lfschk4-ENV): Likewise.
5636 (tst-lfschk5-ENV): Likewise.
5637 (tst-lfschk6-ENV): Likewise.
5638 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5639 (tst-iconv7-ENV): Likewise.
5640 * intl/Makefile (LOCPATH-ENV): Likewise.
5641 (tst-codeset-ENV): Likewise.
5642 (tst-gettext3-ENV): Likewise.
5643 (tst-gettext5-ENV): Likewise.
5644 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5645 (tst-fopenloc-ENV): Likewise.
5646 (tst-fgetws-ENV): Remove variable.
5647 (tst-ungetwc1-ENV): Likewise.
5648 (tst-ungetwc2-ENV): Likewise.
5649 (bug-ungetwc2-ENV): Likewise.
5650 (tst-swscanf-ENV): Likewise.
5651 (bug-ftell-ENV): Likewise.
5652 (tst-fgetwc-ENV): Likewise.
5653 (tst-fseek-ENV): Likewise.
5654 (tst-ftell-partial-wide-ENV): Likewise.
5655 (tst-ftell-active-handler-ENV): Likewise.
5656 (tst-ftell-append-ENV): Likewise.
5657 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5658 (tst-regexloc-ENV): Likewise.
5659 (bug-regex1-ENV): Likewise.
5660 (tst-regex-ENV): Likewise.
5661 (tst-regex2-ENV): Likewise.
5662 (bug-regex5-ENV): Likewise.
5663 (bug-regex6-ENV): Likewise.
5664 (bug-regex17-ENV): Likewise.
5665 (bug-regex18-ENV): Likewise.
5666 (bug-regex19-ENV): Likewise.
5667 (bug-regex20-ENV): Likewise.
5668 (bug-regex22-ENV): Likewise.
5669 (bug-regex23-ENV): Likewise.
5670 (bug-regex25-ENV): Likewise.
5671 (bug-regex26-ENV): Likewise.
5672 (bug-regex30-ENV): Likewise.
5673 (bug-regex32-ENV): Likewise.
5674 (bug-regex33-ENV): Likewise.
5675 (bug-regex34-ENV): Likewise.
5676 (bug-regex35-ENV): Likewise.
5677 (tst-rxspencer-ENV): Likewise.
5678 (tst-rxspencer-no-utf8-ENV): Likewise.
5679 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5680 (tst-sscanf-ENV): Likewise.
5681 (tst-swprintf-ENV): Likewise.
5682 (tst-swscanf-ENV): Likewise.
5683 (test-vfprintf-ENV): Likewise.
5684 (scanf13-ENV): Likewise.
5685 (bug14-ENV): Likewise.
5686 (tst-grouping-ENV): Likewise.
5687 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5688 (tst-strtod3-ENV): Likewise.
5689 (tst-strtod4-ENV): Likewise.
5690 (tst-strtod5-ENV): Likewise.
5691 (testmb2-ENV): Likewise./
5692 * string/Makefile (tst-strxfrm-ENV): Likewise.
5693 (tst-strxfrm2-ENV): Likewise.
5694 (bug-strcoll1-ENV): Likewise.
5695 (test-strcasecmp-ENV): Likewise.
5696 (test-strncasecmp-ENV): Likewise.
5697 * time/Makefile (tst-strptime-ENV): Likewise.
5698 (tst-ftime_l-ENV): Likewise.
5699 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5700 (tst-mbrtowc-ENV): Likewise.
5701 (tst-wcrtomb-ENV): Likewise.
5702 (tst-mbrtowc2-ENV): Likewise.
5703 (tst-c16c32-1-ENV): Likewise.
5704 (tst-mbsnrtowcs-ENV): Likewise.
5705
cd1fb604
OB
57062014-06-05 Ondřej Bílka <neleai@seznam.cz>
5707
5708 * manual/resource.texi (How to get information about the memory
5709 subsystem?): Fix typo.
5710 Reported by Peon de la Parra Ivan <peon@keba.com>
5711
b42eca7d
GY
57122014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5713
5714 [BZ #16882]
5715 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5716 (pthread_spin_lock): Branch out of spin loop to proper location.
5717 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5718 (pthread_spin_lock): Likewise.
5719
902b71f9
DM
5720 * nptl/tst-spin4.c: New test.
5721 * nptl/Makefile (tests): Add tst-spin4.
5722
f9d2d032
AS
57232014-06-03 Andreas Schwab <schwab@suse.de>
5724
5725 [BZ #15946]
5726 * resolv/res_send.c (send_dg): Reload file descriptor after
5727 calling reopen.
5728
cf7bfd28
SL
57292014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5730
5731 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5732
111cc714
RH
57332014-06-03 Richard Henderson <rth@redhat.com>
5734
89b4bd6b
RH
5735 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5736 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5737 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5738 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5739 in the SAVE_PID block.
5740 (__libc_vfork): New alias.
71840409 5741 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5742
111cc714
RH
5743 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5744 child in registers, not on the stack. Remove RESET_PID conditionals.
5745 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5746
ccc39911
MS
57472014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5748
5749 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5750
693096cc
W
57512014-06-03 Wilco <wdijkstr@arm.com>
5752
5753 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5754 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5755 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5756 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5757 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5758 Likewise.
5759
0b4366bc
W
57602014-06-03 Wilco <wdijkstr@arm.com>
5761
5762 * sysdeps/aarch64/fpu/math_private.h
5763 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5764 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5765 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5766 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5767 Fix declarations.
5768
8747cd03
KS
57692014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5770
5771 * crypt/crypt-private.h: Include ufc-crypt.h.
5772 (__b64_from_24bit): Declare extern.
5773 * crypt/crypt_util.c(__b64_from_24bit): New function.
5774 (b64t): New static const variable.
5775 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5776 (b64t): Remove variable.
5777 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5778 * crypt/sha256-crypt.c: Include crypt-private.h.
5779 (b64t): Remove variable.
5780 (__sha256_crypt_r): Remove b64_from_24bit and replace
5781 with __b64_from_24bit.
5782 * crypt/sha512-crypt.c: Likewise.
5783
d936d379
RM
57842014-06-02 Roland McGrath <roland@hack.frob.com>
5785
5786 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5787 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5788 Label the code __libc_vfork rather than __vfork.
5789 [!NOT_IN_libc] (vfork): Define as weak alias.
5790 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5791 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5792 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5793
9fa76613
SP
57942014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5795
5796 * malloc/malloc.c (malloc_info): Fix format specifier for
5797 n_mmaps.
5798
a88dadbe
W
57992014-06-02 Wilco <wdijkstr@arm.com>
5800
5801 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5802 FPCR write.
5803
c95b3011
W
58042014-06-02 Wilco <wdijkstr@arm.com>
5805
5806 [BZ #17009]
5807 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5808 Rewrite to reduce FPCR/FPSR accesses.
5809
6b4d7a90
DM
58102014-06-01 David S. Miller <davem@davemloft.net>
5811
5812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5813
30f3d07c
DM
58142014-05-31 David S. Miller <davem@davemloft.net>
5815
5816 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5817 to occur in round to nearest mode when |x| >= 2.0
5818
74f31c18
RH
58192014-05-30 Richard Henderson <rth@twiddle.net>
5820
f0712b54
RH
5821 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5822 (PSEUDO_RET_NOERRNO): Remove.
5823 (ret): Don't redefine.
5824 (ret_NOERRNO): Define in terms of ret.
5825 (ret_ERRVAL): Likewise.
5826
74f31c18
RH
5827 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5828 use of PSEUDO_RET; perform the error check directly.
5829
30477995
MM
58302014-05-30 Marko Myllynen <myllynen@redhat.com>
5831
5832 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5833 with __int128_t.
5834
62a58816
SP
58352014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5836
5837 * malloc/malloc (malloc_info): Fix formatting.
5838
4d653a59
SP
58392014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5840 Roland McGrath <roland@hack.frob.com>
5841
5842 * malloc/malloc (malloc_info): Also print mmapped statistics.
5843
5190c17f
RM
58442014-05-30 Roland McGrath <roland@hack.frob.com>
5845
5846 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5847 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5848
987c0269
OB
58492014-05-30 Ondřej Bílka <neleai@seznam.cz>
5850
5851 * malloc/malloc.c (malloc_info): Inline mi_arena.
5852
af4e8ef9
RH
58532014-05-29 Richard Henderson <rth@twiddle.net>
5854
1670e207
RH
5855 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5856 Remove comma before expanding ASM_ARGS_##nr.
5857 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5858 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5859 of ASM_ARGS_##nr.
5860 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5861 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5862 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5863 (ASM_ARGS_1): Add leading comma.
5864
11a28aee
RH
5865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5866 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5867 to __errno_location.
5868 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5869 Remove the expected plt for __errno_location.
5870
a17e5ffb 5871 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 5872 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
5873 call to __read_tp.
5874
b5be4597
RH
5875 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5876 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5877 it and break it down.
5878 (DOCARGS_0, DOCARGS_1): Do nothing.
5879 (DOCARGS_2): Update to store into the new stack frame.
5880 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5881 (UNDOCARGS_1): Update to restore from the new stack frame.
5882 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5883 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5884
645d44ab
RH
5885 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5886 (SINGLE_THREAD_P): New parameter for result regno.
5887 (PSEUDO): Update to match; use cbz instead of beq.
5888
a8b4f04a
RH
5889 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5890 Use ENTRY to define the _nocancel entry point. Share the syscall
5891 and syscall error check paths with the cancel path.
5892 (PSEUDO_END): New.
5893
af4e8ef9
RH
5894 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5895 whitespace; tabs before and after asm mnemonics.
5896
26b0d2e1
EW
58972014-05-29 Eric Wong <normalperson@yhbt.net>
5898
5899 [BZ #15132]
5900 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5901 Call fstat64 or stat64 internally, depending on arguments passed.
5902 Replace stat buffer argument with file descriptor argument.
5903 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5904 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5905 Pass fd to __internal_statvfs instead of calling fstat64.
5906 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5907 Pass fd to __internal_statvfs64 instead of calling fstat64.
5908 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5909 Pass -1 to __internal_statvfs instead of calling stat64.
5910 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5911 Pass -1 to __internal_statvfs64 instead of calling stat64.
5912
1efe2bd9
RM
59132014-05-28 Roland McGrath <roland@hack.frob.com>
5914
0d3b7a19
RM
5915 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5916 that was previously under [RESET_PID].
5917 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5918
1efe2bd9
RM
5919 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5920 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5921
a6bea3ca
RM
59222014-05-27 Roland McGrath <roland@hack.frob.com>
5923
30b6629e
RM
5924 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5925
a6bea3ca
RM
5926 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5927 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5928
3dfb9a5c
OB
59292014-05-27 Ondřej Bílka <neleai@seznam.cz>
5930
5931 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5932
774f9285
AS
59332014-05-27 Andreas Schwab <schwab@suse.de>
5934
5935 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5936 TLS_INIT_TP macro.
5937 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5938 * elf/rtld.c (init_tls, dl_main): Likewise.
5939 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5940 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5941 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5942 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5943 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5944 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5945 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5946 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5947 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5948 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5949 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5950 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5951 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5952 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5953 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5954 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5955 * sysdeps/generic/tls.h: Update description.
5956
36ffe739
WN
59572014-05-27 Will Newton <will.newton@linaro.org>
5958
5959 [BZ #16990]
5960 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5961 and restore r2 rather than just restoring.
5962
2482ae43
SP
59632014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5964
5965 [BZ #16724]
5966 * libio/tst-ftell-append.c: New test case.
5967 * libio/Makefile (tests): Add test case.
5968 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5969 append mode.
5970 * libio/wfileops.c (do_ftell_wide): Likewise.
5971
3d1024e8
AZ
59722014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973
bab90016
AZ
5974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5975
c7a8d667
AZ
5976 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5977 ...
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5980 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5981 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5983 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5985 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5986 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5987 Moved ...
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5990 Moved ...
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5993 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5995 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5997 ...
5998 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5999 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6000 Moved ...
6001 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6002 here.
6003 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6004 ...
6005 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6006 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6007 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6008
daee7851
AZ
6009 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6010 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6011 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6012 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6013
50a40819
AZ
6014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6015 merge into ...
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6017 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6018 ...
6019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6020 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6021 ...
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6024 Moved ...
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6026 here.
6027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6028 Moved ...
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6031 Moved ...
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6033
8464c2a1
AZ
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6035 conditional [RESET_PID].
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6038 removed.
6039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6040 removed.
6041
3d1024e8
AZ
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6043 <tcb-offsets.h>.
6044 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6045 (__libc_vfork): New strong alias.
6046 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6047 removed.
6048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6049 Removed.
6050
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6052 <tcb-offsets.h>.
6053 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6054 (__libc_vfork): New strong alias.
6055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6056 removed.
6057 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6058 removed.
6059
fdfd175d
CD
60602014-05-26 Carlos O'Donell <carlos@redhat.com>
6061
6062 * malloc/malloc.c (mi_arena): New function.
6063 (malloc_info): Remove nested function mi_arena. Call non-nosted
6064 function mi_arena.
6065
d298c416
AZ
60662014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067
6068 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6069 by insrwi.
6070 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6071 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6072 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6073 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6074 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6075 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6076 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6077
b60ea6ff
AS
60782014-05-26 Andreas Schwab <schwab@suse.de>
6079
6080 [BZ #16984]
6081 * locale/programs/repertoire.c (repertoire_read): Add slash
6082 between I18NPATH element and file name.
6083 * locale/programs/locfile.c (locfile_read): Likewise.
6084
67365926
SL
60852014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6086
6087 * nptl/pthread_mutexattr_settype.c
6088 (__pthread_mutexattr_settype):
6089 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6090
f8bdf1f0
SL
60912014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6092
6093 * nptl/tst-mutex5 (do_test):
6094 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6095
15eaf6ff
SP
60962014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6097
6098 * benchtests/README: Document 'init' directive.
6099 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6100 BENCH_INIT.
6101 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6102 (parse_file): Recognize 'init' directive.
6103
75f11331
KM
61042014-05-26 Kyle McMartin <kyle@redhat.com>
6105
6106 [BZ #16796]
6107 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6108 alignment of struct pthread.
6109
c3ec475c
SP
61102014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6111
6112 [BZ #16878]
6113 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6114 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6115 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6116 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6117
82aab97c
RH
61182014-05-25 Richard Henderson <rth@twiddle.net>
6119
aa2f176d
RH
6120 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6121 (SINGLE_THREAD_P_PIC): Remove.
6122 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6123 (SINGLE_THREAD_P_PIC): Remove.
6124
ca3cfa40
RH
6125 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6126 branch to syscall error ...
6127 (PSEUDO): ... here.
6128 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6129 from __local_syscall_error to .Lsyscall_error.
6130 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6131 (SYSCALL_ERROR): Update label name.
6132
6e6c2d01
RH
6133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6134 Do not use DOARGS/UNDOARGS.
6135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6136 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6137 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6138 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6139 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6140
c69abcee
RH
6141 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6142 block comment.
6143
82aab97c
RH
6144 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6145 define if !NOT_IN_libc.
6146 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6147 define with non-default symbol versions.
6148
8820e3ac
RH
61492014-05-23 Richard Henderson <rth@twiddle.net>
6150
900e445f
RH
6151 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6152 (vfork, __vfork): Define via compat_symbol.
6153
8820e3ac
RH
6154 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6155 [!HAVE_IFUNC] (vfork_compat): Remove.
6156 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6157
e59252a5
JM
61582014-05-23 Joseph Myers <joseph@codesourcery.com>
6159
6160 [BZ #16978]
6161 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6162 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6163 variable.
6164
132c7f5f
RH
61652014-05-23 Richard Henderson <rth@twiddle.net>
6166
bc89e962
RH
6167 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6168 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6169 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6170 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6171
6172 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6173 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6174 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6175 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6176 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6177 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6178 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6179 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6180 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6181 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6182 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6183 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6184 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6185 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6186 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6187 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6188 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6189 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6190 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6191 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6192 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6193 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6194 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6195 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6196 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6197 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6198 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6199 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6200 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6201 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6202 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6203 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6204 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6205 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6206 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6207 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6208 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6209 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6210 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6211 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6212 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6213 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6214 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6215 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6216 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6217 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6219 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6220 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6221 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6223 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6224 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6225 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6227 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6228
e2fa4bc2
RH
6229 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6230 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6231 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6232 before exiting on error.
6233 (__libc_vfork): New strong alias.
6234 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6235 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6236
279b24e2
RH
6237 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6238 that was previously under [RESET_PID].
6239 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6240
132c7f5f
RH
6241 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6242
b72592e7
JM
62432014-05-23 Joseph Myers <joseph@codesourcery.com>
6244
6245 [BZ #16977]
6246 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6247 value when x - 1 is zero.
6248 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6249 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6250 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6251 0.0L for an argument of 1.0L.
6252 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6253 Likewise.
6254 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6255 value when x - 1 is zero.
6256 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6257 * sysdeps/i386/fpu/libm-test-ulps: Update.
6258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6259
2302d679
RV
62602014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6261
6262 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6263 alphasort and versionsort.
6264
32999d63
AZ
62652014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6266
6267 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6268 macro.
6269 [copysignf]: Likewise.
6270
019324d0
SP
62712014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6272
6273 * crypt/md5-crypt.c: Fix formatting.
6274
34fff5c2
KS
62752014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6276
6277 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6278 (b64_from_24bit): New function.
6279
3d2badac
AZ
62802014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6283 libc_hidden_builtin_def to ifunc.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6285 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6286
f7bb179f 62872014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6288
6289 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6290 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6291
4134b50d
JM
62922014-05-21 Joseph Myers <joseph@codesourcery.com>
6293
bb7d0337
JM
6294 * nscd/Depend (linuxthreads): Remove.
6295 (nptl): Add.
6296 * resolv/Depend (linuxthreads): Remove.
6297 * rt/Depend (linuxthreads): Remove.
6298
4134b50d
JM
6299 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6300 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6301 $(common-objpfx)elf/.
6302 (link-libc-before-gnulib): Likewise.
6303 (elfobjdir): Remove variable.
6304 * Makefile (install): Use $(elf-objpfx) instead of
6305 $(common-objpfx)elf/.
6306 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6307 $(elfobjdir)/.
6308 (link-libc-deps): Likewise.
6309 ($(common-objpfx)libc.so): Likewise.
6310 ($(common-objpfx)linkobj/libc.so): Likewise.
6311 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6312 instead of $(common-objpfx)elf/.
6313 (symbolic-link-list): Likewise.
6314 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6315 [$(cross-compiling) = no]: Likewise.
6316 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6317 $(elfobjdir)/.
6318 (static-gnulib-arch): Likewise.
6319 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6320 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6321 $(common-objpfx)elf/.
6322
3612eb8f
RH
63232014-05-21 Richard Henderson <rth@redhat.com>
6324
a6b3657b
RH
6325 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6326 (SINGLE_THREAD_P): Use the correct width load. Fold
6327 into the ldr offset.
6328
3612eb8f
RH
6329 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6330 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6331
175cef41
JM
63322014-05-20 Joseph Myers <joseph@codesourcery.com>
6333
6334 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6335 (libgcc_s_resume): Use __attribute_used__.
6336 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6337 Likewise.
6338
e13bccd3
AZ
63392014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6340
6341 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6342 optimization when used with float constants.
6343
7c112a38
AZ
6344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6345
ae75a883
AJ
63462014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6347
6348 [BZ #16915]
6349 * locale/nl_langinfo_l.c: Make direct reference to every
6350 _nl_current_CATEGORY symbol.
6351 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6352 (tests-static): Add tst-langinfo-static.
6353 (tests-special): Add tst-langinfo-static.out.
6354 ($(objpfx)tst-langinfo.out): Redirect output.
6355 ($(objpfx)tst-langinfo-static.out): New.
6356 * localedata/tst-langinfo.sh: Send output to stdout.
6357 * localedata/tst-langinfo-static.c: New file.
6358
4406c41c
AJ
6359 [BZ #16965]
6360 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6361 when the shift amount is modulo the limb size.
6362
4c0a1e63
RH
63632014-05-20 Richard Henderson <rth@redhat.com>
6364
de9d8f20
RH
6365 [BZ #16967]
6366 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6367 Change type of sa_flags from unsigned int to int.
6368
4c0a1e63
RH
6369 [BZ #16966]
6370 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6371
6372 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6373
a60339aa
WN
63742014-05-20 Will Newton <will.newton@linaro.org>
6375
6376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6377 Test the return value of the system call in the nocancel case.
6378
7d05a816
YR
63792014-05-20 Will Newton <will.newton@linaro.org>
6380 Yvan Roux <yvan.roux@linaro.org>
6381
6382 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6383 #include of asm/ptrace.h.
6384 (PTRACE_GET_THREAD_AREA): Remove #undef.
6385 (PTRACE_GETHBPREGS): Likewise.
6386 (PTRACE_SETHBPREGS): Likewise.
6387 (struct user_regs_struct): New structure.
6388 (struct user_fpsimd_struct): New structure.
6389 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6390 #include of asm/ptrace.h and second #include of sys/user.h.
6391 (PTRACE_GET_THREAD_AREA): Remove #undef.
6392 (PTRACE_GETHBPREGS): Likewise.
6393 (PTRACE_SETHBPREGS): Likewise.
6394 (ELF_NGREG): Use new struct user_regs_struct.
6395 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6396
af121e37
AZ
63972014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6401
834caf06
JM
64022014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6403
6404 [BZ #16958]
6405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6406 membar to avoid block loads/stores to overlap previous stores.
6407
e184a918
RH
64082014-05-17 Richard Henderson <rth@redhat.com>
6409
6410 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6411 Create the __##syscall_name##_nocancel entry point.
6412 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6413 Remove; let the sysdep-cancel.h code create it.
6414
f56c7a6a
DM
64152014-05-17 David S. Miller <davem@davemloft.net>
6416
6417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6418 Protect with __USE_GNU.
6419 (TIOCSET_TEMPT): Likewise.
6420 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6421 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6422 these are already provided in bits/ioctl-types.h
6423
f75616b2
RM
64242014-05-16 Roland McGrath <roland@hack.frob.com>
6425
3edeca86
RM
6426 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6427 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6428
f75616b2
RM
6429 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6430 Use wait4 regardless of [__NR_waitpid].
6431
deb0f7f6
MR
64322014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6433
6434 PR libgcc/60166
6435 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6436 (_FP_NANSIGN_Q): Set the quiet bit.
6437
79520f4b
JM
64382014-05-16 Joseph Myers <joseph@codesourcery.com>
6439
6440 * benchtests/Makefile
6441 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6442 not $(common-objpfx)math/libm.so.
6443 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6444 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6445 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6446 $(common-objpfx)dlfcn/libdl.so.
6447 ($(objpfx)tst-audit8): Depend on $(libm), not
6448 $(common-objpfx)math/libm.so.
6449 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6450 not $(common-objpfx)dlfcn/libdl.so.
6451 * math/Makefile
6452 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6453 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6454 [$(build-shared) = yes].
6455 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6456 $(common-objpfx)nptl/libpthread.so.
6457 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6458 $(common-objpfx)math/libm.so$(libm.so-version) or
6459 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6460 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6461 $(common-objpfx)dlfcn/libdl.so.
6462 * setjmp/Makefile (link-libm): Remove variable.
6463 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6464 * stdio-common/Makefile (link-libm): Remove variable.
6465 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6466 * stdlib/Makefile (link-libm): Remove variable.
6467 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6468 ($(objpfx)tst-strtod-round): Likewise.
6469 ($(objpfx)tst-tininess): Likewise.
6470 ($(objpfx)tst-strtod-underflow): Likewise.
6471 ($(objpfx)tst-strtod6): Likewise.
6472 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6473 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6474 $(common-objpfx)dlfcn/libdl.so.
6475
026b0fe4
AZ
64762014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6477
6478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6479 BSD terminal modes definitions.
6480
def4bcb2
RM
64812014-05-16 Roland McGrath <roland@hack.frob.com>
6482
fe39b021
RM
6483 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6484 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6485
1d1fc46e 6486 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
6487 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6488 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6489 Don't do #include_next.
6490 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6491 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6492 Don't do #include_next.
6493 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6494 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6495 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6496 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6497
c72399fb
AM
64982014-05-16 Allan McRae <allan@archlinux.org>
6499
d51d659d
AM
6500 * po/sv.po: Update Swedish translation from translation project.
6501
c72399fb
AM
6502 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6503 in sed expression.
6504
d0583c40
AJ
65052014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6506
6507 [BZ #16917]
6508 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6509 errno if the TIOCGPTN ioctl fails with an error different than
6510 EINVAL.
6511 * login/tst-ptsname.c: New file.
6512 * login/Makefile (tests): Add tst-ptsname.
6513
d16e6ec7
AJ
6514 [BZ #16943]
6515 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6516 and prlimit64.
6517
cf26a0cb
SP
65182014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6519
6520 [BZ #16849]
6521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6522 herrno to return EAI_AGAIN.
6523
5675da1e
RM
65242014-05-14 Roland McGrath <roland@hack.frob.com>
6525
a5d87b3d
RM
6526 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6527 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6528 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6529 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6530 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6531 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6532 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6533 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6535 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6536 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6537 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6538 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6539 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6540 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6541 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6543 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6544 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6545 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6546 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6547 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6548 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6549 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6550 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6551 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6555 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6557 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6559 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6561 Moved ...
6562 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6564 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6566 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6568 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6570 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6572 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6574 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6576 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6578 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6580 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6582 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6586 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6588 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6590 Moved ...
6591 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6593 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6597 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6599 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6601 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6603 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6605 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6607 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6609 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6611 Moved ...
6612 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6614 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6615
039890a6
RM
6616 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6617 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6618 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6619 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6620 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6621 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6622 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6623 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6624 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6625 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6626 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6628 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6629 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6630 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6631 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6632 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6633 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6634 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6635 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6636 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6637 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6638 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6639 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6640 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6641 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6642 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6643 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6644 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6646 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6647
65c89320
RM
6648 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6649 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6650
348f8e8c
RM
6651 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6652 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6653 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6654 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6655 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6656 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6657 Moved ...
6658 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6659 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6660 Moved ...
6661 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6662 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6663 Moved ...
6664 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6666 Moved ...
6667 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6668 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6669 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6670 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6671 Moved ...
6672 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6673 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6674 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6675 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6676 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6677 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6678 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6679 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6680 Moved ...
6681 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6682 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6683 Moved ...
6684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6685 ... here.
6686 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6687 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6688 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6689 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6690 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6691 Moved ...
6692 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6693 ... here.
6694 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6695 Moved ...
6696 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6697 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6698 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6700 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6702 Moved ...
6703 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6705 Moved ...
6706 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6707 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6708 Moved ...
6709 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6711 Moved ...
6712 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6713 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6714 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6715 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6716 Moved ...
6717 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6719 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6721 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6723 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6724 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6725 Moved ...
6726 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6727 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6728 Moved ...
6729 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6730 ... here.
6731 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6732 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6733 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6734 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6735 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6736 Moved ...
6737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6738 ... here.
6739 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6740 Moved ...
6741 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6743 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6745 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6746 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6747 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6748 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6749 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6750 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6751 Moved ...
6752 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6753 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6754 Moved ...
6755 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6756 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6757 Moved ...
6758 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6759 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6760 Moved ...
6761 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6762 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6763 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6764 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6765 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6766 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6767 Moved ...
6768 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6769 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6770 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6771 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6772 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6773 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6774 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6776 Moved ...
6777 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6778 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6779 Moved ...
6780 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6781 ... here.
6782 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6783 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6784 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6785 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6787 Moved ...
6788 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6789 ... here.
6790 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6791 Moved ...
6792 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6794 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6795 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6796 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6797 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6798 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6799 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6800 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6801 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6802 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6803
5085af05
RM
6804 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6805 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6806
708f0813
RM
6807 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6808 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6809
c96067bc
RM
6810 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6811 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6812 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6813 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6814 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6815 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6816 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6817 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6818 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6819 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6820 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6821 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6822 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6823 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6824 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6826 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6827 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6828 Moved ...
6829 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6830 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6831 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6833 Moved ...
6834 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6836 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6837 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6838 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6839 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6840 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6841 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6842 Moved ...
6843 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6845 Moved ...
6846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6848 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6850 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6851 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6852 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6854 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6855 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6856 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6857 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6858 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6859 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6860 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6861 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6862 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6863
ec136444
RM
6864 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6865 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6866 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6867 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6868 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6869
2fbdf533
RM
6870 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6871 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6872 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6873 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6874 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6875 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6876 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6877 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6878 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6879 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6880
4c68138b
RM
6881 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6883
4eaae765
RM
6884 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6885 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
6886 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6887 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6888 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6889 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6890 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6891 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6892 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6893 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6894 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6895 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6896 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6897 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6898 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6899 Update #include.
6900 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6901 Likewise.
6902 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6903 Likewise.
6904 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6905 Likewise.
6906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6907 Likewise.
6908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6909 Likewise.
6910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6911 Likewise.
6912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6913 Likewise.
6914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6915 Likewise.
6916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6917 Likewise.
4ef6befa
RM
6918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6920 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
6923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6924 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6926 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6928 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6929 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6930 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6931 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6932 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 6933
941d7dfd
RM
6934 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6935 that was previously under [RESET_PID].
6936 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6937 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6938 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6939
1b731c35
RM
6940 * sysdeps/i386/nptl/Implies: New file.
6941 * sysdeps/x86_64/nptl/Implies: New file.
6942 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6943 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6944 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6945 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6946
e2787137
RM
6947 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6948 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6949 (__libc_vfork): New strong alias.
6950 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6951 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6952
6953 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6954 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6955 (__libc_vfork): New strong alias.
6956 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6957 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6958
5675da1e
RM
6959 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6960 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6961 (__libc_vfork): New strong alias.
6962 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6963 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6964 * nptl/pt-vfork.c: New file.
6965 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6966 (libpthread: GLIBC_2.20): New version set (empty).
6967
4f02e2b8
WN
69682014-05-14 Will Newton <will.newton@linaro.org>
6969
6970 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6971 rather than #if.
6972
0bf061d3
JM
69732014-05-14 Joseph Myers <joseph@codesourcery.com>
6974
1a84c3d6
JM
6975 [BZ #16564]
6976 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6977 arguments with exponent 65 or above.
6978 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6979 arguments 0x1p113L or above.
6980 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6981 to arguments 0x1p107L or above.
6982 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6983 positive arguments with exponent 65 or above.
6984 * math/auto-libm-test-in: Add more tests of log1p.
6985 * math/auto-libm-test-out: Regenerated.
6986
01dbacd2
JM
6987 [BZ #16928]
6988 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6989 non-finite arguments is +0.
6990 * math/s_cacosf.c (__cacosf): Likewise.
6991 * math/s_cacosl.c (__cacosl): Likewise.
6992 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6993 * sysdeps/i386/fpu/libm-test-ulps: Update.
6994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6995
913d03c8
JM
6996 [BZ #16927]
6997 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6998 value.
6999 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7000 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7001 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7002 for explicit high bit of mantissa when testing for argument equal
7003 to 1.
7004 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7005 * sysdeps/i386/fpu/libm-test-ulps: Update.
7006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7007
0bf061d3
JM
7008 [BZ #16516]
7009 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7010 (__erf): Scale by 16 instead of 8 in potentially underflowing
7011 case. Ensure exception if result actually underflows.
7012 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7013 (__erff): Scale by 16 instead of 8 in potentially underflowing
7014 case. Ensure exception if result actually underflows.
7015 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7016 (efx8): Remove variable.
7017 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7018 case. Ensure exception if result actually underflows.
7019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7020 (efx8): Remove variable.
7021 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7022 case. Ensure exception if result actually underflows.
7023 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7024 (efx8): Remove variable.
7025 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7026 case. Ensure exception if result actually underflows.
7027 * math/auto-libm-test-in: Add more tests of erf.
7028 * math/auto-libm-test-out: Regenerated.
7029
73ba67cb
AS
70302014-05-14 Andreas Schwab <schwab@suse.de>
7031
3d8c8bff
AS
7032 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7033 Remove code conditionalized on USE___THREAD.
7034
73ba67cb
AS
7035 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7036 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7037 not definedness.
7038
5c521ecd
JM
70392014-05-14 Joseph Myers <joseph@codesourcery.com>
7040
5e7698c6
JM
7041 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7042 Define unconditionally.
7043 (__ASSUME_O_CLOEXEC): Likewise.
7044 (__ASSUME_SOCK_CLOEXEC): Likewise.
7045 (__ASSUME_IN_NONBLOCK): Likewise.
7046 (__ASSUME_PIPE2): Likewise.
7047 (__ASSUME_EVENTFD2): Likewise.
7048 (__ASSUME_SIGNALFD4): Likewise.
7049 (__ASSUME_DUP3): Likewise.
7050 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7051 (__ASSUME_DUP3): Do not define.
7052 (__ASSUME_EVENTFD2): Likewise.
7053 (__ASSUME_IN_NONBLOCK): Likewise.
7054 (__ASSUME_O_CLOEXEC): Likewise.
7055 (__ASSUME_PIPE2): Likewise.
7056 (__ASSUME_SIGNALFD4): Likewise.
7057 (__ASSUME_SOCK_CLOEXEC): Likewise.
7058 (__ASSUME_UTIMES): Undefine.
7059 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7060 (__ASSUME_UTIMES): Do not define.
7061 (__ASSUME_O_CLOEXEC): Likewise.
7062 (__ASSUME_SOCK_CLOEXEC): Likewise.
7063 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7064 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7065 0x020621].
7066 (__ASSUME_PIPE2): Likewise.
7067 (__ASSUME_EVENTFD2): Likewise.
7068 (__ASSUME_SIGNALFD4): Likewise.
7069 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7070 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7071 Do not define.
7072 (__ASSUME_EVENTFD2): Likewise.
7073 (__ASSUME_SIGNALFD4): Likewise.
7074 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7075 (__ASSUME_32BITUIDS): Likewise.
7076 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7077 (__ASSUME_IPC64): Likewise.
7078 (__ASSUME_ST_INO_64_BIT): Likewise.
7079 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7080 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7081 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7082 (__ASSUME_UTIMES): Do not define.
7083 (__ASSUME_PSELECT): Likewise.
7084 (__ASSUME_PPOLL): Likewise.
7085 (__ASSUME_O_CLOEXEC): Likewise.
7086 (__ASSUME_SOCK_CLOEXEC): Likewise.
7087 (__ASSUME_IN_NONBLOCK): Likewise.
7088 (__ASSUME_PIPE2): Likewise.
7089 (__ASSUME_EVENTFD2): Likewise.
7090 (__ASSUME_SIGNALFD4): Likewise.
7091 (__ASSUME_DUP3): Likewise.
7092 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7093 (__ASSUME_UTIMES): Likewise.
7094 (__ASSUME_O_CLOEXEC): Likewise.
7095 (__ASSUME_SOCK_CLOEXEC): Likewise.
7096 (__ASSUME_IN_NONBLOCK): Likewise.
7097 (__ASSUME_PIPE2): Likewise.
7098 (__ASSUME_EVENTFD2): Likewise.
7099 (__ASSUME_SIGNALFD4): Likewise.
7100 (__ASSUME_DUP3): Likewise.
7101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7102 (__ASSUME_UTIMES): Likewise.
7103 (__ASSUME_O_CLOEXEC): Likewise.
7104 (__ASSUME_SOCK_CLOEXEC): Likewise.
7105 (__ASSUME_IN_NONBLOCK): Likewise.
7106 (__ASSUME_PIPE2): Likewise.
7107 (__ASSUME_EVENTFD2): Likewise.
7108 (__ASSUME_SIGNALFD4): Likewise.
7109 (__ASSUME_DUP3): Likewise.
7110 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7111 Likewise.
7112 (__ASSUME_UTIMES): Likewise.
7113 (__ASSUME_EVENTFD2): Likewise.
7114 (__ASSUME_SIGNALFD4): Likewise.
7115 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7116 (__ASSUME_O_CLOEXEC): Likewise.
7117 (__ASSUME_SOCK_CLOEXEC): Likewise.
7118 (__ASSUME_IN_NONBLOCK): Likewise.
7119 (__ASSUME_PIPE2): Likewise.
7120 (__ASSUME_EVENTFD2): Likewise.
7121 (__ASSUME_SIGNALFD4): Likewise.
7122 (__ASSUME_DUP3): Likewise.
7123 (__ASSUME_UTIMES): Undefine.
7124
5c521ecd
JM
7125 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7126 feclearexcept. Remove symbol versioning code.
7127 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7128 symbol versioning code.
7129 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7130 symbol versioning code.
7131 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7132 feupdateenv. Remove symbol versioning code.
7133 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7134 fegetexceptflag. Remove symbol versioning code.
7135 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7136 fesetexceptflag. Remove symbol versioning code.
7137 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7138 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7139 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7140 (__posix_fadvise64_l32): Remove prototype.
7141 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7142 code.
7143
5da9dfad
RM
71442014-05-13 Roland McGrath <roland@hack.frob.com>
7145
7146 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7147 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7148 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7149 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7150
893b4f37
SK
71512014-05-13 Sami Kerola <kerolasa@iki.fi>
7152
7153 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7154 current working directory
7155
e0db6517
RM
71562014-05-13 Roland McGrath <roland@hack.frob.com>
7157
58aa195d
RM
7158 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7159 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7160 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7161 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7162 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7163 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7164 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7189 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7190 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7191 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7192 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7193 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7194 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7195 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7196 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7197 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7198 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7199 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7200
8c6d01f0
RM
7201 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7202 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7203
7204 * sysdeps/unix/sysv/linux/arm/Makefile
7205 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7206 Add rt-aeabi_unwind_cpp_pr1.
7207 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7208 Add nptl-aeabi_unwind_cpp_pr1.
7209 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7210 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7211 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7212 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7213 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7214 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7215
7216 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7217 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7218 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7219 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7220
bba6da4e
RM
7221 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7222 Deconditionalize the code that was previously under [RESET_PID].
7223 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7224
e0db6517
RM
7225 * sysdeps/generic/exit-thread.h: New file.
7226 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7227 * include/unistd.h (__exit_thread): Remove declaration.
7228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7229 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7230 * csu/libc-start.c: Include <exit-thread.h>.
7231 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7232 * nptl/pthread_create.c: Include <exit-thread.h>.
7233 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7234 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7235 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7236 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7237 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7238 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7239 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7240 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7241 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7242 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7243 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7244 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7245 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7246 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7247 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7248 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7249 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7250
01eb16fd
AS
72512014-05-13 Andreas Schwab <schwab@suse.de>
7252
7253 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7254
637461d9
JM
72552014-05-12 Joseph Myers <joseph@codesourcery.com>
7256
7257 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7258 (__ASSUME_UTIMES): Do not condition on kernel version.
7259 (__ASSUME_PSELECT): Define unconditionally.
7260 (__ASSUME_PPOLL): Likewise.
7261 (__ASSUME_ATFCTS): Likewise.
7262 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7263 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7264 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7265 (__ASSUME_UTIMENSAT): Define unconditionally.
7266 (__ASSUME_PRIVATE_FUTEX): Likewise.
7267 (__ASSUME_FALLOCATE): Likewise.
7268 (__ASSUME_O_CLOEXEC): Likewise.
7269 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7270 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7271 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7272 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7273 (__ASSUME_IN_NONBLOCK): Likewise.
7274 (__ASSUME_PIPE2): Likewise.
7275 (__ASSUME_EVENTFD2): Likewise.
7276 (__ASSUME_SIGNALFD4): Likewise.
7277 (__ASSUME_DUP3): Likewise.
7278 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7279 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7280 (__ASSUME_AT_RANDOM): Likewise.
7281 (__ASSUME_PREADV): Likewise.
7282 (__ASSUME_PWRITEV): Likewise.
7283 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7284 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7285 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7286 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7287 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7289 (__ASSUME_O_CLOEXEC): Define unconditionally.
7290 (__ASSUME_PSELECT): Do not undefine conditionally.
7291 (__ASSUME_PPOLL): Likewise.
7292 (__ASSUME_ATFCTS): Likewise.
7293 (__ASSUME_SET_ROBUST_LIST): Likewise.
7294 (__ASSUME_UTIMENSAT): Likewise.
7295 (__ASSUME_FDATASYNC): Define unconditionally.
7296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7297 (__ASSUME_SIGFRAME_V2): Likewise.
7298 )__ASSUME_EVENTFD2): Likewise.
7299 (__ASSUME_SIGNALFD4): Likewise.
7300 (__ASSUME_PSELECT): Do not undefine conditionally.
7301 (__ASSUME_PPOLL): Likewise.
7302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7303 (__ASSUME_PSELECT): Define unconditionally.
7304 (__ASSUME_PPOLL): Likewise.
7305 (__ASSUME_O_CLOEXEC): Likewise.
7306 (__ASSUME_SOCK_CLOEXEC): Likewise.
7307 (__ASSUME_IN_NONBLOCK): Likewise.
7308 (__ASSUME_PIPE2): Likewise.
7309 (__ASSUME_EVENTFD2): Likewise.
7310 (__ASSUME_SIGNALFD4): Likewise.
7311 (__ASSUME_DUP3): Likewise.
7312 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7313 (__ASSUME_O_CLOEXEC): Likewise.
7314 (__ASSUME_SOCK_CLOEXEC): Likewise.
7315 (__ASSUME_IN_NONBLOCK): Likewise.
7316 (__ASSUME_PIPE2): Likewise.
7317 (__ASSUME_EVENTFD2): Likewise.
7318 (__ASSUME_SIGNALFD4): Likewise.
7319 (__ASSUME_DUP3): Likewise.
7320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7321 (__ASSUME_EVENTFD2): Likewise.
7322 (__ASSUME_SIGNALFD4): Likewise.
7323 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7324
315eb1d8
AS
73252014-05-12 Andreas Schwab <schwab@suse.de>
7326
7327 [BZ #16932]
7328 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7329 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7330 than maximum RPC packet size.
7331 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7332 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7333 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7334 (_nss_nis_getservbyport_r): Likewise.
7335
91df99f7
WN
73362014-05-12 Will Newton <will.newton@linaro.org>
7337
7338 * malloc/Makefile (tests): Add tst-mallopt.
7339 * malloc/tst-mallopt.c: New file.
7340
0a982a29
RM
73412014-05-09 Roland McGrath <roland@hack.frob.com>
7342
7343 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7344 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7345
0ded08a5
AZ
73462014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7347
7348 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7349 (tst-tlsmod6.so): Likewise.
7350
55d4d550
RM
73512014-05-09 Roland McGrath <roland@hack.frob.com>
7352
7353 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7354
77d08aca
JM
73552014-05-09 Joseph Myers <joseph@codesourcery.com>
7356
7357 [BZ #16064]
7358 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7359 and <dl-procinfo.h>.
7360 (__fegetenv): Save SSE state in envp->__eip if supported.
7361 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7362 envp->__eip if supported.
7363 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7364 and <dl-procinfo.h>.
7365 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7366 __data_offset and __data_selector in environment to 0. Set SSE
7367 state if supported.
7368 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7369 test-fenv-sse.
7370 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7371 -mfpmath=sse.
7372 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7373
28162f4d
WN
73742014-05-09 Will Newton <will.newton@linaro.org>
7375
7376 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7377 and libc_relro_required for ARM.
7378 * sysdeps/arm/preconfigure: Regenerate.
7379
5a414ff7
DV
73802014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7381 Stefan Liebler <stli@linux.vnet.ibm.com>
7382
7383 * config.make.in (enable-lock-elision): New Makefile variable.
7384 * configure.ac: Likewise.
7385 * configure: Regenerate.
7386 * sysdeps/s390/configure.ac:
7387 Add check for gcc transactions support.
7388 * sysdeps/s390/configure: Regenerate.
7389 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7390 Build elision files if enabled.
7391 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7392 Add lock elision support for s390.
7393 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7394 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7395 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7396 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7397 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7398 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7399 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7400 Likewise.
7401 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7402 Likewise.
7403 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7404 Likewise.
7405 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7406 Likewise.
7407 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7408 (__lll_timedlock_elision, __lll_lock_elision)
7409 (__lll_unlock_elision, __lll_trylock_elision)
7410 (lll_timedlock_elision, lll_lock_elision)
7411 (lll_unlock_elision, lll_trylock_elision): Add.
7412 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7413 (pthread_mutex_t): Add lock elision support for s390.
7414
1a2f40e5
W
74152014-05-14 Wilco <wdijkstr@arm.com>
7416
7417 * sysdeps/arm/fclrexcpt.c: Cleanup.
7418 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7419 * sysdeps/arm/feenablxcpt.c: Cleanup.
7420 * sysdeps/arm/fegetenv.c: Cleanup.
7421 * sysdeps/arm/fegetexcept.c: Cleanup.
7422 * sysdeps/arm/fegetround.c: Cleanup.
7423 * sysdeps/arm/feholdexcpt.c: Cleanup.
7424 * sysdeps/arm/fesetenv.c: Cleanup.
7425 * sysdeps/arm/fesetround.c: Cleanup.
7426 * sysdeps/arm/feupdateenv.c: Cleanup.
7427 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7428 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7429 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7430 * sysdeps/arm/ftestexcept.c: Cleanup.
7431 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7432 * sysdeps/arm/setfpucw.c: Cleanup.
7433
f63c86fe
WN
74342014-05-09 Will Newton <will.newton@linaro.org>
7435
7436 * sysdeps/arm/armv7/strcmp.S: New file.
7437 * NEWS: Mention addition of ARMv7 optimized strcmp.
7438
7a1a51b5
RM
74392014-05-08 Roland McGrath <roland@hack.frob.com>
7440
95afbbe5
RM
7441 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7442 look for %.ac rather than %.in.
7443
7444 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7445 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7446 * sysdeps/mach/hurd/configure: Regenerated.
7447 * sysdeps/unix/sysv/linux/configure: Regenerated.
7448
7a1a51b5
RM
7449 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7450
5057ad3b
SE
74512014-05-07 Steve Ellcey <sellcey@mips.com>
7452
7453 [BZ# 16922]
7454 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7455 (LONG_SUB): Ditto.
7456 (PTR_SUB): Ditto.
7457
8dc97517
AS
74582014-05-07 Andreas Schwab <schwab@suse.de>
7459
7460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7461 when skipping over non-matching result from nscd.
7462
ce0c5b8f
OB
74632014-05-07 Ondřej Bílka <neleai@seznam.cz>
7464
7465 [BZ #16876]
7466 * nptl/sockperf.c (client): Check socket return value.
8dc97517 7467
a1189263
OB
7468 [BZ #16877]
7469 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7470 nscd security class.
ce0c5b8f 7471
0f58d252
RM
74722014-05-06 Roland McGrath <roland@hack.frob.com>
7473
7474 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7475 * sysdeps/arm/unwind.h: ... here.
7476
83df9ad0
AJ
74772014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7478
ce0c5b8f
OB
7479 [BZ# 16916]
7480 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7481 Define.
83df9ad0 7482
f360f94a
VR
74832014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7484
7485 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7486 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7487 multiarch strncpy for PPC64.
7488 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7489 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7491 multiarch optimizations.
7492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7493 (__libc_ifunc_impl_list): Likewise.
7494 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7495 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7496 multiarch stpncpy for PPC64.
7497 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7498 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7499
978a41c3
AS
75002014-05-06 Andreas Schwab <schwab@suse.de>
7501
7502 [BZ #16912]
7503 * gmon/mcount.c (_MCOUNT_DECL): Use
7504 atomic_compare_and_exchange_bool_acq instead of
7505 catomic_compare_and_exchange_bool_acq.
7506
eb1ed03d
RM
75072014-05-05 Roland McGrath <roland@hack.frob.com>
7508
fe658845
RM
7509 * elf/Makefile (others, install-bin): Remove pldd.
7510 (pldd-modules): Variable removed.
7511 ($(objpfx)pldd): Target removed.
7512 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7513 (others, install-bin): Append pldd here.
7514 ($(objpfx)pldd): New target.
7515
eb1ed03d
RM
7516 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7517 to 0, so the first #if test emitted later doesn't see it undefined.
7518 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7519 * sysdeps/gnu/errlist.c: Regenerated.
7520
19c4bec0
AZ
75212014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7522
7523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7524 [libc_hidden_builtin_def]: Define to empty value.
7525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7526 [libc_hidden_builtin_def]: Likewise.
7527 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7528 [libc_hidden_builtin_def]: Likewise.
7529 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7530 [libc_hidden_builtin_def]: Likewise.
7531 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7532 __redirect_memcpy and define ifunc as default hidden symbol.
7533 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7534 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7535
7776e669
AC
75362014-05-04 Adam Conrad <adconrad@0c3.net>
7537
7538 * locale/iso-4217.def: Reintroduce XDR currency.
7539
d69aeb12
AM
75402014-05-04 Allan McRae <allan@archlinux.org>
7541
7542 * po/eo.po: Update Esperanto translation from translation project.
7543
8f1df5cf
CD
75442014-05-02 Carlos O'Donell <carlos@redhat.com>
7545
7546 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7547 and FEATURE_INDEX_MAX to 1.
7548 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7549
13e402e7
SE
75502014-05-01 Steve Ellcey <sellcey@mips.com>
7551
7552 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7553 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7554 * iconvdata/big5.c (ONE_DIRECTION): Define.
7555 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7556 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7557 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7558 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7559 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7560 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7561 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7562 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7563 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7564 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7565 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7566 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7567 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7568 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7569 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7570 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7571 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7572 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7573 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7574 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7575 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7576 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7577 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7578 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7579 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7580 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7581 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7582 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7583 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7584 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7585 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7586 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7587 * iconvdata/johab.c (ONE_DIRECTION): Define.
7588 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7589 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7590 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7591 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7592 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7593 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7594 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7595 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7596 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7597 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7598
c727f032
RM
75992014-05-01 Roland McGrath <roland@hack.frob.com>
7600
8f2f08d0
RM
7601 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7602 (_IO_JUMPS_OFFSET): Define to 0.
7603
c727f032
RM
7604 * nptl/sysdeps/pthread/bits/libc-lock.h
7605 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7606 (__libc_lock_define_initialized_recursive): Always define using
7607 initializer. Modern compilers treat uninitialized (implicit zero) and
7608 explicit zero initializers the same (i.e. put the datum in bss).
7609
a849e800
AS
76102014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7611
7612 * nscd/nscd-client.h: Include <string.h>.
7613
5331255b
DM
76142014-05-01 David S. Miller <davem@davemloft.net>
7615
7616 [BZ #16885]
7617 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7618 multiple zero bytes exist at the end of a string.
7619 Reported by Aurelien Jarno <aurelien@aurel32.net>
7620
7621 * string/test-strcmp.c (check): Add explicit test for situations where
7622 there are multiple zero bytes after the first.
7623
4fdfe821
AS
76242014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7625
7626 [BZ #16890]
7627 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7628 when compiling wprintf.
7629 * stdio-common/tstdiomisc.c (t3): New function.
7630 (main): Call it.
7631
0cdddc25
SE
76322014-05-01 Steve Ellcey <sellcey@mips.com>
7633
7634 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7635 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7636 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7637 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7638
6426d77e
SE
76392014-05-01 Steve Ellcey <sellcey@mips.com>
7640
7641 * stdlib/longlong.h: Updated from GCC.
7642
6d96f5e4
WN
76432014-05-01 Will Newton <will.newton@linaro.org>
7644 Bernard Ogden <bernie.ogden@linaro.org>
7645
7470db0c
WN
7646 * NEWS: Update fixed bug list.
7647
6d96f5e4
WN
7648 [BZ #15119]
7649 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7650
211d653c
DM
76512014-04-30 David S. Miller <davem@davemloft.net>
7652
4fa262fa
DM
7653 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7654 (libc_feholdexcept_setround_sparc_ctx): New function.
7655 (libc_fesetenv_sparc_ctx): Likewise.
7656 (libc_feupdateenv_sparc_ctx): Likewise.
7657 (libc_feholdsetround_sparc_ctx): Likewise.
7658 (libc_feholdexcept_setround_ctx): Define.
7659 (libc_feholdexcept_setroundf_ctx): Likewise.
7660 (libc_feholdexcept_setroundl_ctx): Likewise.
7661 (libc_fesetenv_ctx): Likewise.
7662 (libc_fesetenvf_ctx): Likewise.
7663 (libc_fesetenvl_ctx): Likewise.
7664 (libc_feupdateenv_ctx): Likewise.
7665 (libc_feupdateenvf_ctx): Likewise.
7666 (libc_feupdateenvl_ctx): Likewise.
7667 (libc_feresetround_ctx): Likewise.
7668 (libc_feresetroundf_ctx): Likewise.
7669 (libc_feresetroundl_ctx): Likewise.
7670 (libc_feholdsetround_ctx): Likewise.
7671 (libc_feholdsetroundf_ctx): Likewise.
7672 (libc_feholdsetroundl_ctx): Likewise.
7673
1d3d93ef
DM
7674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7675 with __USE_GNU instead of XOPEN cpp guards.
7676
8aa583c3
DM
7677 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7678 0.
7679
211d653c
DM
7680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7681 with XOPEN cpp guards.
7682
60c8f1f6
JB
76832014-04-30 Julian Brown <julian@codesourcery.com>
7684
7685 [BZ #16888]
7686 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7687 handling.
7688
9a461d46
JM
76892014-04-30 Joseph Myers <joseph@codesourcery.com>
7690
d0f5b3f8
JM
7691 [BZ #9894]
7692 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7693 Change to 2.6.32.
7694 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7695 * sysdeps/unix/sysv/linux/configure: Regenerated.
7696 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7697 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7698 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7699 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7700 * README: Update reference to required Linux kernel version.
7701 * manual/install.texi (Linux): Update reference to required Linux
7702 kernel headers version.
7703 * INSTALL: Regenerated.
7704
9a461d46
JM
7705 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7706 header inclusion.
7707 [POSIX] (limits.h): Likewise.
7708 [POSIX] (math.h): Likewise.
7709 [POSIX] (sys/wait.h): Likewise.
7710 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7711 function.
7712 [POSIX] (stddef.h): Do not allow header inclusion.
7713
1775babf
AZ
77142014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7715
57f41c40 7716 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7717
8f630cca
YY
77182014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7719
7720 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7721 Return immediately after lll_futex_wake.
7722
1cdeb237
SP
77232014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7724
bc8f194c
SP
7725 [BZ #16791]
7726 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7727 structure.
7728 (datahead_init_pos): Call datahead_init_common early.
7729 (datahead_init_neg): Likewise.
7730
1cdeb237
SP
7731 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7732 datahead_init_neg): New functions.
7733 * nscd/aicache.c (addhstaiX): Use them.
7734 * nscd/grpcache.c (cache_addgr): Likewise.
7735 * nscd/hstcache.c (cache_addhst): Likewise.
7736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7737 * nscd/netgroupcache.c (do_notfound): Likewise.
7738 (addgetnetgrentX): Likewise.
7739 (addinnetgrX): Likewise.
7740 * nscd/pwdcache.c (cache_addpw): Likewise.
7741 * nscd/servicescache.c (cache_addserv): Likewise.
7742
16b293a7
SP
77432014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7744 Atsushi Onoe <atsushi@onoe.org>
7745
7746 [BZ #14308]
7747 [BZ #12994]
7748 [BZ #13651]
7749 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7750 one response is valid.
7751 * resolv/res_send.c (send_dg): Check for validity of other
7752 response if the current response is a referral.
7753
a28a9b94
SE
77542014-04-29 Steve Ellcey <sellcey@mips.com>
7755
7756 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7757
2ca180e9
SL
77582014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7759
7760 [BZ #16823]
7761 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7762 Always divide by positive zero when computing -Inf result.
7763 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7764 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7765
18f2945a
AZ
77662014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7767
7768 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7769 FPSCR if value do not change.
7770 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7771 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7772 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7773 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7774 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7775 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7776 function.
7777
5abebba4
CD
77782014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7779
7780 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7781 * sysdeps/unix/sysv/linux/hppa: Move directory from
7782 ports/systeps/unix/sysv/linux/hppa.
7783 * README: Update listing for hppa-*-linux-gnu.
7784
f7ed60c2
OB
77852014-04-28 Ondřej Bílka <neleai@seznam.cz>
7786
fff763a5
OB
7787 [BZ #16754]
7788 * manual/stdio.texi (Hook functions): Fix types of stream hook
7789 functions.
f7ed60c2
OB
7790 [BZ #16854]
7791 * socket/sys/socket.h: Fix typo in comment.
7792
df639d73
WD
77932014-04-28 Wilco <wdijkstr@arm.com>
7794
f7ed60c2 7795 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7796 * sysdeps/arm/math_private.h: New file.
7797 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7798
48332d82
L
77992014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7802 with __int128_t.
7803 (La_x86_64_retval): Likewise.
7804
e5e0d9a4
IB
78052014-04-24 Ian Bolton <ian.bolton@arm.com>
7806
7807 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7808 fpsr if value didn't change.
7809 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7810 to fpcr if value didn't change.
7811 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7812 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7813 fpsr or fpcr if value didn't change.
7814 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7815 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7816 fpcr if value didn't change.
7817 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7818 to fpsr if value didn't change.
7819
bacc75f7
SP
78202014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7821
7822 * nptl/tst-sem3.c: Use test-skeleton.c
7823 (main): Rename to do_test. Use return instead of
7824 exit.
7825 * nptl/tst-sem4.c: Use test-skeleton.c
7826 (main): Rename to do_test.
7827
a059d359
DM
78282014-04-22 David S. Miller <davem@davemloft.net>
7829
7830 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7831 (struct sigaction): New struct member __glibc_reserved0, change
7832 type of sa_flags to int.
7833
ea6c92f3
YZ
78342014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7835
7836 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7837 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7838
766c4a36
SP
78392014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7840
7841 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7842 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7843
140cc7ab
VK
78442014-04-22 Will Newton <will.newton@linaro.org>
7845 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7846
7847 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7848 (__longjmp): Add longjmp and longjmp_target SystemTap
7849 probes.
7850 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7851 (__sigsetjmp): Add setjmp SystemTap probe.
7852
c54e5cf7
CD
78532014-04-17 Carlos O'Donell <carlos@redhat.com>
7854
7855 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7856 match manual order.
7857
75ffb047
AZ
78582014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7859
7860 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7861
2cd925f7
AZ
7862 * sysdeps/powerpc/fpu/fenv_private.h
7863 (libc_feholdexcept_setroundl_ctx): Define to
7864 libc_feholdexcept_setround_ppc_ctx.
7865 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7866 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7867 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7868 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7869
39e6cd8d
IB
78702014-04-17 Ian Bolton <ian.bolton@arm.com>
7871
7872 * sysdeps/aarch64/math-tests.h: New file.
7873
f9281df9
SY
78742014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7875
7876 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7877 New.
7878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7879 Check and set bit_AVX2_Usable.
7880 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7881 macro.
7882 (bit_AVX2): Likewise.
7883 (index_AVX2_Usable): Likewise.
7884 (CPUID_AVX2): Likewise.
7885 (HAS_AVX2): Likewise.
7886
37d35007
WN
78872014-04-17 Will Newton <will.newton@linaro.org>
7888
7c677662
WN
7889 * manual/setjmp.texi (System V contexts): Add note that
7890 calling setcontext on a context created by a call to a
7891 signal handler is undefined. Update text to note that
7892 setcontext from a signal handler is possible but not
7893 recommended.
7894
37d35007 7895 [BZ #16629]
e04a4e9d
WN
7896 * stdlib/tst-setcontext.c: Include signal.h.
7897 (main): Check that the signal stack before and
7898 after swapcontext is the same.
7899
37d35007
WN
7900 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7901 Re-implement to restore registers in user code and avoid
7902 rt_sigreturn system call.
7903
423a7160
W
79042014-04-17 Wilco <wdijkstr@arm.com>
7905
7906 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7907 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7908 * math/test-fenv.c: Skip exception trap tests on targets which only
7909 support non-stop mode.
7910
bc93ab29
IB
79112014-04-17 Ian Bolton <ian.bolton@arm.com>
7912 Wilco Dijkstra <wilco.dijkstra@arm.com>
7913
7914 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7915 (libc_feholdsetround_aarch64_ctx)
7916 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7917 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7918 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7919 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7920 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7921 (libc_feresetround_noexl_ctx): Define.
7922
95fc5fa3
RH
79232014-04-16 Richard Henderson <rth@redhat.com>
7924
ddb04724
RH
7925 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7926
d77c0899
RH
7927 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7928 unwind tables.
7929
a3df56fc
RH
7930 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7931 const from the non-libc, non-ldso copy.
7932
95fc5fa3
RH
7933 * sysdeps/alpha/libm-test-ulps: Regenerate.
7934
7e0b6763
IB
79352014-04-16 Ian Bolton <ian.bolton@arm.com>
7936 Wilco Dijkstra <wilco.dijkstra@arm.com>
7937
7938 * sysdeps/aarch64/fpu/math_private.h: New file.
7939
a9ea2e0c
MS
79402014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7941
7942 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7943
ea8ba7cd
IZ
79442014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7945
7e54fd04 7946 [BZ #16275]
ea8ba7cd
IZ
7947 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7948 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7950 Intel MPX bound registers before _dl_profile_fixup.
7951 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7952 registers after _dl_profile_fixup. Save and restore bound
7953 registers bnd0/bnd1 when calling _dl_call_pltexit.
7954 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7955 (LR_BND_OFFSET): Likewise.
7956 (LRV_BND0_OFFSET): Likewise.
7957 (LRV_BND1_OFFSET): Likewise.
7958
9f2a4fbc
ST
79592014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7960
7961 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7962 to...
7963 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
7964 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7965 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7966 fields.
9f2a4fbc 7967
fd15a59b
ST
79682014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7969
7970 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7971
f19dfa0a
SL
79722014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7973
7974 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7975
4fa8bc3b
SL
79762014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7977
7978 [BZ #14770]
7979 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7980 * sysdeps/s390/configure: Regenerate.
7981
8ea587db
SL
7982 [BZ #16824]
7983 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7984 Set round-to-nearest internally to reduce error accumulation.
7985
aa5f0ff1
AM
79862014-04-16 Alan Modra <amodra@gmail.com>
7987
7988 [BZ #16740]
7989 [BZ #16619]
7990 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7991 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 7992 * NEWS: Update fixed bug list.
aa5f0ff1 7993
bb9c256f
SP
79942014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7995
7996 * benchtests/Makefile: Depend on libraries in build directory.
7997 (bench-math): Separate out math tests.
7998 (bench-pthread): Separate out pthread tests.
7999 (bench): Include math and pthread tests.
8000
f737dfd0
CD
80012014-04-14 Carlos O'Donell <carlos@redhat.com>
8002
8003 [BZ #16831]
8004 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8005 _dl_debug_initialize.
8006
0699f766
CD
8007 * configure.ac: Remove SELinux header check.
8008 * configure: Regenerate.
8009 * nscd/selinux.c (perms): Array of const char* to permission names.
8010 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8011 default policy. Call string_to_security_class and string_to_av_perm to
8012 translate strings. Enforce default policy and call avs_has_perm with
8013 results of translated strings.
8014
809bd45f
DM
80152014-04-13 David S. Miller <davem@davemloft.net>
8016
8017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8018
89e691f2
AM
80192014-04-12 Allan McRae <allan@archlinux.org>
8020
8021 [BZ #16838]
8022 * manual/string.texi (Collation Functions): Fix qsort argument
8023 order in example.
8024 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8025
9c9daaeb
CM
80262014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8027
8028 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8029 Make the test a no-op if there are no exceptions defined.
8030
95561fb9
PP
80312014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8032
fe8d072c 8033 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8034 enable-hardcoded-path-in-tests
8035
970c602a
WN
80362014-04-11 Will Newton <will.newton@linaro.org>
8037
8038 * benchtests/Makefile (extra-objs): Add json-lib.o.
8039 (bench-func): Tidy up JSON output.
8040 * benchtests/bench-skeleton.c: Include json-lib.h.
8041 (main): Use JSON library functions to do output of
8042 benchmark results.
8043 * benchtests/bench-timing-type.c (main): Output the
8044 timing type simply, leaving formatting to the user.
8045 * benchtests/json-lib.c: New file.
8046 * benchtests/json-lib.h: Likewise.
8047
36875b06
TR
80482014-04-11 Torvald Riegel <triegel@redhat.com>
8049
8050 [BZ #15215]
8051 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8052 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8053 memory barriers. Add comments.
8054 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8055 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8056 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8057 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8058 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8059 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8060
579db35a
SL
80612014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8062
8063 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8064 * sysdeps/s390/s390-64/configure.ac: ... this ...
8065 * sysdeps/s390/configure.ac: ... to here.
8066 * sysdeps/s390/s390-32/configure: Delete file.
8067 * sysdeps/s390/s390-64/configure: Delete file.
8068 * sysdeps/s390/configure: Regenerate.
8069
c12e9f37
JAPH
80702014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8071
8072 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8073
439bda32
WN
80742014-04-11 Will Newton <will.newton@linaro.org>
8075
8076 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8077 to zero if it is not defined elsewhere. (mtrim): Test
8078 the value of MALLOC_DEBUG with #if rather than #ifdef.
8079
6a5d6ea1
TR
80802014-04-10 Torvald Riegel <triegel@redhat.com>
8081
8082 * benchtests/pthread_once-inputs: New file.
8083 * benchtests/pthread_once-source.c: New file.
8084 * benchtests/README: Update documentation.
8085
a4c75cfd
IZ
80862014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8087 H.J. Lu <hongjiu.lu@intel.com>
8088
7e54fd04 8089 [BZ #16275]
a4c75cfd
IZ
8090 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8091 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8092 * sysdeps/x86_64/configure: Regenerated.
8093 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8094 macro.
8095 (REGISTER_SAVE_RAX): Likewise.
8096 (REGISTER_SAVE_RCX): Likewise.
8097 (REGISTER_SAVE_RDX): Likewise.
8098 (REGISTER_SAVE_RSI): Likewise.
8099 (REGISTER_SAVE_RDI): Likewise.
8100 (REGISTER_SAVE_R8): Likewise.
8101 (REGISTER_SAVE_R9): Likewise.
8102 (REGISTER_SAVE_BND0): Likewise.
8103 (REGISTER_SAVE_BND1): Likewise.
8104 (REGISTER_SAVE_BND2): Likewise.
8105 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8106 bound registers when calling _dl_fixup.
8107
27822ce6
AZ
81082014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8109
8110 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8111 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8112 of its definition.
27822ce6
AZ
8113 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8114 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8115 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8116 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8117 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8118 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8119 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8120
a88ddc90
PTB
81212014-04-09 Peter Brett <peter@peter-b.co.uk>
8122
8123 [BZ #15514]
8124 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8125 pathconf(_PC_NAME_MAX).
8126
01f8eac2
AZ
81272014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8128
8129 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8130 Remove macro usage.
8131 (__PTHREAD_SPINS): Move definition to ...
8132 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8133 (__PTHREAD_SPINS): ... here.
8134 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8135 (__PTHREAD_SPIN): Likewise.
8136 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8137 (__PTHREAD_SPIN): Likewise.
8138 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8139 (__PTHREAD_SPIN): Likewise.
8140 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8141 (__PTHREAD_SPIN): Likewise.
8142 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8143 (__PTHREAD_SPIN): Likewise.
8144 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8145 (__PTHREAD_SPIN): Likewise.
8146 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8147 (__PTHREAD_SPIN): Likewise.
8148 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8149 (__PTHREAD_SPIN): Likewise.
8150 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8151 (__PTHREAD_SPIN): Likewise.
8152 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8153 (__PTHREAD_SPIN): Likewise.
8154 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8155 (__PTHREAD_SPIN): Likewise.
8156 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8157 (__PTHREAD_SPIN): Likewise.
8158
de21c33c
AZ
8159 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8160 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8161 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8162 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8163 imply folder.
8164 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8165 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8166 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8167 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8168 correct imply path.
8169 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8170 strlen symbol for non multi-arch builds.
8171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8172 missing hidden_def and weak_alias.
8173
862c472e
CD
81742014-04-08 Carlos O'Donell <carlos@redhat.com>
8175
8176 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8177
8667f90e
WN
81782014-04-07 Will Newton <will.newton@linaro.org>
8179
8180 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8181 and contents. [!_LIBC] Remove #ifndef and contents.
8182 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8183 * string/memccpy.c (__memccpy): Use ANSI prototype.
8184 * string/memfrob.c (memfrob): Likewise.
8185 * string/strcoll.c (STRCOLL): Likewise.
8186 * string/strlen.c (strlen): Likewise.
8187 * string/strtok.c (STRTOK): Likewise.
8188 * string/strcat.c: Remove unused #include of memcopy.h.
8189 (strcat): Use ANSI prototype.
8190 * string/strchr.c: Remove unused #include of memcopy.h.
8191 (strchr): Use ANSI prototype.
8192 * string/strcmp.c: Remove unused #include of memcopy.h.
8193 (strcmp): Use ANSI prototype.
8194 * string/strcpy.c: Remove unused #include of memcopy.h.
8195 (strcpy): Use ANSI prototype.
8196
7ffa9423
AZ
81972014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198
8199 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8200 * config.make.in (config-extra-cppflags): Set it from
8201 libc_extra_cppflags.
8202 * configure.ac (libc_extra_cflags): Make it accumulate over
8203 configure fragments.
8204 (libc_extra_cppflags): New flag.
8205 * configure. Regenerate.
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8207 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8208 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8210
8bd70862
AZ
8211 [BZ #16815]
8212 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8213 result for FE_DOWNWARD rounding mode.
8214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8215 Likewise.
8216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8217
d42f3448
CM
82182014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8219
8220 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8221 in function argument name.
8222
1c21d115
DS
82232014-04-03 David Svoboda <svoboda@cert.org>
8224
8225 [BZ #5666]
8226 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8227 explicitly.
8228
fcccd512
RM
82292014-04-03 Roland McGrath <roland@hack.frob.com>
8230
8231 * elf/dl-unmap-segments.h: New file.
8232 * sysdeps/generic/ldsodefs.h
8233 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8234 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8235 * elf/dl-fptr.c: Likewise.
8236 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8237 * sysdeps/aarch64/tlsdesc.c: Likewise.
8238 * sysdeps/arm/tlsdesc.c: Likewise.
8239 * sysdeps/i386/tlsdesc.c: Likewise.
8240 * sysdeps/tile/dl-runtime.c: Likewise.
8241 * sysdeps/x86_64/tlsdesc.c: Likewise.
8242 * elf/dl-load.h: New file.
8243 * elf/dl-load.c: Include it.
8244 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8245 Macros moved to dl-load.h.
8246 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8247 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8248 Use _dl_unmap_segments in place of __munmap.
8249 Break out segment-mapping loop into ...
8250 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8251
f6488e2b
WN
82522014-04-03 Will Newton <will.newton@linaro.org>
8253
8254 * elf/dl-lookup.c (do_lookup_x): Remove comment
8255 referring to nested function and move variable
8256 declarations down to before first use.
8257
6f05bafe
JM
82582014-04-02 Joseph Myers <joseph@codesourcery.com>
8259
a84e78c8
JM
8260 [BZ #16799]
8261 [BZ #16800]
8262 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8263 with 0 numerator.
8264 * math/s_catanf.c (__catanf): Likewise.
8265 * math/s_catanh.c (__catanh): Likewise.
8266 * math/s_catanhf.c (__catanhf): Likewise.
8267 * math/s_catanhl.c (__catanhl): Likewise.
8268 * math/s_catanl.c (__catanl): Likewise.
8269 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8270 by positive zero when computing -Inf result.
8271 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8272 (catanh_test): Likewise.
8273 * sysdeps/i386/fpu/libm-test-ulps: Update.
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8275
6f05bafe
JM
8276 [BZ #16789]
8277 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8278 instead of using underflowing value in computing result.
8279 * math/s_clog10.c (__clog10): Likewise.
8280 * math/s_clog10f.c (__clog10f): Likewise.
8281 * math/s_clog10l.c (__clog10l): Likewise.
8282 * math/s_clogf.c (__clogf): Likewise.
8283 * math/s_clogl.c (__clogl): Likewise.
8284 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8285 (clog10_test): Likewise.
8286 * sysdeps/i386/fpu/libm-test-ulps: Update.
8287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8288
b0abbc21
AM
82892014-04-02 Alan Modra <amodra@gmail.com>
8290
8291 [BZ #16739]
8292 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8293 output when value is near a power of two. Use int64_t for lx and
8294 remove casts. Use decimal rather than hex exponent constants.
8295 Don't use long double multiplication when double will suffice.
8296 * math/libm-test.inc (nextafter_test_data): Add tests.
8297 * NEWS: Add 16739 and 16786 to bug list.
8298
af6b1797
AM
8299 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8300
483818d7
AM
8301 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8302
f6c55796
WN
83032014-04-01 Will Newton <will.newton@linaro.org>
8304
8305 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8306 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8307
13f7fe35
FW
83082014-04-01 Florian Weimer <fweimer@redhat.com>
8309
8310 [BZ #13347]
8311 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8312 * nptl/tst-setuid2.c: New file.
8313 * nptl/Makefile (xtests): Add tst-setuid2.
8314
c859b32e
AM
83152014-04-01 Alan Modra <amodra@gmail.com>
8316
8317 [BZ #16786]
8318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8319
54fa2475
JM
83202014-03-31 Joseph Myers <joseph@codesourcery.com>
8321
8795b4a4
JM
8322 [BZ #6803]
8323 [BZ #6804]
8324 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8325 set errno as appropriate.
8326 * math/w_scalbf.c (__scalbf): Likewise.
8327 * math/w_scalbl.c (__scalbl): Likewise.
8328 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8329 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8330 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8331 Add more NaN tests.
8332
54fa2475
JM
8333 [BZ #16349]
8334 * math/w_atan2.c: Include <errno.h>.
8335 (__atan2): Set errno for result underflowing to zero.
8336 * math/w_atan2f.c: Include <errno.h>.
8337 (__atan2f): Set errno for result underflowing to zero.
8338 * math/w_atan2l.c: Include <errno.h>.
8339 (__atan2l): Set errno for result underflowing to zero.
8340 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8341 tests.
8342 * math/auto-libm-test-out: Regenerated.
8343
757d9dd5
AZ
83442014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8345
8346 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8347 Encode instruction correctly in little endian.
8348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8349 Likewise.
8350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8351 Likewise.
8352 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8353 Likewise.
8354 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8355 Likewise.
8356
d7a68734
JM
83572014-03-31 Joseph Myers <joseph@codesourcery.com>
8358
47c5adeb
JM
8359 [BZ #9894]
8360 * sysdeps/unix/sysv/linux/kernel-features.h
8361 [__sparc__ && !__arch64__ && !__sparc_v9__]
8362 (__ASSUME_SET_ROBUST_LIST): Do not define.
8363 [__sparc__ && !__arch64__ && !__sparc_v9__]
8364 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8365 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8366 Likewise.
8367 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8368 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8369 (__ASSUME_REQUEUE_PI): Likewise.
8370 (__ASSUME_SET_ROBUST_LIST): Likewise.
8371 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8372 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8373 Undefine.
8374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8375 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8376 Likewise.
8377 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8378 Likewise.
8379 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8380 Likewise.
8381 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8382 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8383 Undefine.
8384 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8385 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8386 Likewise.
8387
d7a68734
JM
8388 [BZ #16648]
8389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8390 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8391 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8392
c760f5c2
WN
83932014-03-31 Will Newton <will.newton@linaro.org>
8394
8395 * benchtests/Makefile (bench): Add ffs and ffsll to list
8396 of tests.
8397 * benchtests/ffs-inputs: New file.
8398 * benchtests/ffsll-inputs: Likewise.
8399
ea6029b1
JM
84002014-03-29 Joseph Myers <joseph@codesourcery.com>
8401
8402 [BZ #16770]
8403 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8404 too large before casting to int.
8405 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8406 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8407 * math/libm-test.inc (scalb_test_data): Add more tests.
8408
cf806aff
SP
84092014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8410
56737508
SP
8411 * benchtests/Makefile (DETAILED_OPT): New make option.
8412 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8413 set.
8414 * benchtests/bench-skeleton.c: Include stdbool.h.
8415 (main): Store and print timings per input.
8416 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8417 member to each argument value.
8418 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8419 (_print_arg_data): Initialize per-input timing to 0.
8420
cb5e4aad
SP
8421 * benchtests/Makefile (timing-type): New binary.
8422 (bench-clean): Also remove bench-timing-type.
8423 (bench): New target for timing-type.
8424 (bench-func): Print output in JSON format.
8425 * benchtests/bench-skeleton.c (main): Print output in JSON
8426 format.
8427 * benchtests/bench-timing-type.c: New file.
8428 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8429 (TIMING_PRINT_STATS): Remove.
8430 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8431 name separately.
8432
cf806aff
SP
8433 * benchtests/bench-modf.c: Remove.
8434 * benchtests/modf-inputs: New inputs file.
8435
289e0779
JM
84362014-03-28 Joseph Myers <joseph@codesourcery.com>
8437
8438 [BZ #16362]
8439 * math/s_clog10.c (M_PI_LOG10E): New macro.
8440 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8441 imaginary parts are 0.
8442 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8443 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8444 imaginary parts are 0.
8445 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8446 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8447 imaginary parts are 0.
8448 * math/libm-test.inc (clog10_test_data): Update expected results
8449 for when real and imaginary parts are 0.
8450
277ae3f1
PP
84512014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8452
8453 * elf/dl-load.c: Finish conversion of __builtin_expect into
8454 __glibc_{un}likely.
8455
03a7091f
JM
84562014-03-27 Joseph Myers <joseph@codesourcery.com>
8457
8458 [BZ #16348]
8459 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8460 1+x for argument with exponent below -67.
8461 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8462 Likewise.
8463 * math/auto-libm-test-in: Add more tests of exp.
8464 * math/auto-libm-test-out: Regenerated.
8465
ea7d8b95
SP
84662014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8467
dd3022d7
SP
8468 [BZ #16759]
8469 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8470 (nscd_getnetgrent): Use it.
8471
ea7d8b95
SP
8472 [BZ #16760]
8473 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8474 of stpcpy.
8475
df5b85da
AK
84762014-03-27 Andi Kleen <ak@linux.intel.com>
8477
57f41c40
AS
8478 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8479 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8480 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8481 (lll_robust_unlock): Remove out of line section. Use cfi
8482 intrinsics.
df5b85da 8483 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
8484 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8485 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8486 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8487 (lll_robust_unlock): Remove out of line section. Use cfi
8488 intrinsics.
df5b85da
AK
8489 (LLL_STUB_UNWIND_INFO*): Remove.
8490
fbd6b5a4
SP
84912014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8492
8493 [BZ #16758]
8494 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8495 blank values.
8496
1b26b855
PP
84972014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8498
8499 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8500
9be36fb8
JM
85012014-03-26 Joseph Myers <joseph@codesourcery.com>
8502
8503 [BZ #16198]
8504 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8505 fnstenv.
8506 * math/test-fenv-preserve.c: New file.
8507 * math/Makefile (tests): Add test-fenv-preserve.
8508
60a2f3c1
WN
85092014-03-26 Will Newton <will.newton@linaro.org>
8510
8511 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8512
a5e5f1e2
RM
85132014-03-25 Roland McGrath <roland@hack.frob.com>
8514
8515 * scripts/versionlist.awk: Partition the version sets and emit all
8516 GLIBC_* (sorted) before all others (sorted).
8517
00f4012a
JM
85182014-03-25 Joseph Myers <joseph@codesourcery.com>
8519
8520 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8521 GLIBC_2.2.5 version.
8522
7bc5a741
AZ
85232014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8524
8525 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8526 calls.
8527
7578473b
AZ
8528 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8529 previous change.
8530
f3f1dab3
AZ
8531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8532
6da36183
AS
85332014-03-25 Andreas Schwab <schwab@suse.de>
8534
8535 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8536 label to be used after in6ailist is initialized.
8537
f3f1dab3 85382014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 8539
7578473b 8540 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
8541 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8542
046651c1
JM
85432014-03-25 Joseph Myers <joseph@codesourcery.com>
8544
8545 [BZ #16357]
8546 [BZ #16599]
8547 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8548 min_plus_half.
8549 (fp_formats): Update initializers.
8550 (init_fp_formats): Initialize new field.
8551 (output_for_one_input_case): Allow underflow for results up to
8552 min_plus_half.
8553 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8554 * math/auto-libm-test-in: Don't mark some underflows from asin and
8555 atanh as spurious.
8556 * math/auto-libm-test-out: Regenerated.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8559
003e49ed
AS
85602014-03-25 Andreas Schwab <schwab@suse.de>
8561
8562 * libio/Makefile (tst-ftell-partial-wide-ENV)
8563 (tst-ftell-active-handler-ENV): Define.
8564
de031874
SL
85652014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8566
8567 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8568
55a81e3b
PP
85692014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8570
8571 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8572
f3426898
JM
85732014-03-24 Joseph Myers <joseph@codesourcery.com>
8574
8575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8576 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8577 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8578
a42faf59
PP
85792014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8580
8581 [BZ #16634]
a42faf59 8582 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8583 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8584 (open_path): Change from boolean 'secure' to complete flag 'mode'
8585 (_dl_map_object): Adjust.
a42faf59
PP
8586 * elf/Makefile (tests): Add tst-dlopen-aout.
8587 * elf/tst-dlopen-aout.c: New test.
8588
50936127
SL
85892014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8590
8591 [BZ #16714]
8592 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8593 (struct stat): Rename member pad0 to __glibc_reserved0.
8594
26011b5c
SL
8595 [BZ #16712]
8596 * sysdeps/s390/s390-32/bits/wordsize.h
8597 (__WORDSIZE32_SIZE_ULONG): New define.
8598 * sysdeps/s390/s390-64/bits/wordsize.h
8599 (__WORDSIZE32_SIZE_ULONG): Likewise.
8600 * sysdeps/generic/stdint.h (SIZE_MAX):
8601 Define as UL if __WORDSIZE32_SIZE_ULONG.
8602
a2d86bf1
SL
8603 [BZ #16713]
8604 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8605 (__glibc_reserved0): New variable.
8606 (sa_flags): Change type to int.
8607
78b6eebc
SL
8608 * posix/Makefile (before-compile): Use += before-compile instead
8609 of a :=.
8610
f1399b5a
SL
8611 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8612 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8613
a071766e
AS
86142014-03-20 Andreas Schwab <schwab@suse.de>
8615
8616 [BZ #16743]
8617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8618 non-matching result from nscd.
8619
27c673b8
SP
86202014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8621
8622 * scripts/bench.py: Moved to ...
8623 * benchtests/scripts/bench.py: ... here.
8624 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8625
44152e4b
AS
86262014-03-24 Andreas Schwab <schwab@suse.de>
8627
8628 [BZ #16002]
8629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8630 alloca_account and account alloca use for struct in6ailist.
8631
b376a11a
JM
86322014-03-24 Joseph Myers <joseph@codesourcery.com>
8633
8634 [BZ #16284]
8635 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8636 rounding mode to recompute results that overflow to infinity or
8637 underflow to zero.
8638 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8639 bug 16284.
8640 * math/auto-libm-test-out: Regenerated.
8641 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8642 (ccosh_test): Likewise.
8643 (csin_test_data): Use plus_oflow.
8644 (csin_test): Use ALL_RM_TEST.
8645 (csinh_test_data): Use plus_oflow.
8646 (csinh_test): Use ALL_RM_TEST.
8647 * sysdeps/i386/fpu/libm-test-ulps: Update.
8648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8649
f7be7376
JM
86502014-03-21 Joseph Myers <joseph@codesourcery.com>
8651
1ca2d03e
JM
8652 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8653 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8654 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8655
f7be7376
JM
8656 [BZ #16731]
8657 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8658 when x - 1 is zero.
8659 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8660 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8661 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8663 argument is 1.
8664 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8665 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8666 zero.
8667 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8668 * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670
fdf4534d
SP
86712014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8672
df26ea53
SP
8673 * scripts/bench.pl: Remove file.
8674 * scripts/bench.py: New benchmark script.
8675 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8676 * benchtests/README: Mention python dependency.
8677 * scripts/pylintrc: New file.
8678 * scripts/pylint: New file.
8679
fdf4534d
SP
8680 * bits/mathdef.h: Use #ifdef instead of #if.
8681 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8682 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8683 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8684 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8685 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8686 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8687
6f23d093
AZ
86882014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8689 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8690
8691 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8693 and strpbrk-ppc64 objects.
8694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8695 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8696 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8697 multiarch strpbrk for POWER7.
8698 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8699 multiarch strpbrk for PPC64.
8700 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8701 ifunc selector.
8702 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8703 strpbrk for POWER7.
8704
8c92dfff
JM
87052014-03-20 Joseph Myers <joseph@codesourcery.com>
8706
8707 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8708 (atan_test): Likewise.
8709 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8710 (atanh_test): Use ALL_RM_TEST.
8711 (atan2_test_data): Likewise.
8712 (cabs_test): Likewise.
8713 (cacosh_test): Likewise.
8714 (carg_test): Likewise.
8715 (casin_test): Likewise.
8716 (casinh_test): Likewise.
8717 (cbrt_test): Likewise.
8718 (csqrt_test): Likewise.
8719 (erf_test): Likewise.
8720 (erfc_test): Likewise.
8721 (pow10_test): Likewise.
8722 (exp2_test): Likewise.
8723 (hypot_test): Likewise.
8724 (j0_test): Likewise.
8725 (j1_test): Likewise.
8726 (lgamma_test): Likewise.
8727 (gamma_test): Likewise.
8728 (sincos_test): Likewise.
8729 (tanh_test): Likewise.
8730 (y0_test): Likewise.
8731 (y1_test): Likewise.
8732 * sysdeps/i386/fpu/libm-test-ulps: Update.
8733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8734
6eaf95cb
AZ
87352014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736
a387428c
SP
8737 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8739 and strcspn-ppc64 objects.
8740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8741 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8742 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8743 multiarch strcspn for POWER7.
8744 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8745 multiarch strcspn for PPC64.
8746 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8747 ifunc selector.
8748 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8749 strcspn for POWER7.
8750
ae3a5dff
JM
87512014-03-20 Joseph Myers <joseph@codesourcery.com>
8752
8753 * math/gen-libm-test.pl (generate_testfile): Expect only function
8754 name as argument to AUTO_TESTS_* and pass results for all rounding
8755 modes to parse_args.
8756 (parse_auto_input): Separate inputs of automatic tests from
8757 outputs before storing in %auto_tests.
8758 * math/libm-test.inc (acos_test_data): Update call to
8759 AUTO_TESTS_f_f.
8760 (acos_test): Use ALL_RM_TEST.
8761 (acos_tonearest_test_data): Remove.
8762 (acos_test_tonearest): Likewise.
8763 (acos_towardzero_test_data): Likewise.
8764 (acos_test_towardzero): Likewise.
8765 (acos_downward_test_data): Likewise.
8766 (acos_test_downward): Likewise.
8767 (acos_upward_test_data): Likewise.
8768 (acos_test_upward): Likewise.
8769 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8770 (asin_test_data): Likewise.
8771 (asin_test): Use ALL_RM_TEST.
8772 (asin_tonearest_test_data): Remove.
8773 (asin_test_tonearest): Likewise.
8774 (asin_towardzero_test_data): Likewise.
8775 (asin_test_towardzero): Likewise.
8776 (asin_downward_test_data): Likewise.
8777 (asin_test_downward): Likewise.
8778 (asin_upward_test_data): Likewise.
8779 (asin_test_upward): Likewise.
8780 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8781 (atan_test_data): Likewise.
8782 (atanh_test_data): Likewise.
8783 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8784 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8785 (carg_test_data): Likewise.
8786 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8787 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8788 (ccosh_test_data): Likewise.
8789 (cexp_test_data): Likewise.
8790 (clog_test_data): Likewise.
8791 (clog10_test_data): Likewise.
8792 (cos_test_data): Update call to AUTO_TESTS_f_f.
8793 (cos_test): Use ALL_RM_TEST.
8794 (cos_tonearest_test_data): Remove.
8795 (cos_test_tonearest): Likewise.
8796 (cos_towardzero_test_data): Likewise.
8797 (cos_test_towardzero): Likewise.
8798 (cos_downward_test_data): Likewise.
8799 (cos_test_downward): Likewise.
8800 (cos_upward_test_data): Likewise.
8801 (cos_test_upward): Likewise.
8802 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8803 (cosh_test): Use ALL_RM_TEST.
8804 (cosh_tonearest_test_data): Remove.
8805 (cosh_test_tonearest): Likewise.
8806 (cosh_towardzero_test_data): Likewise.
8807 (cosh_test_towardzero): Likewise.
8808 (cosh_downward_test_data): Likewise.
8809 (cosh_test_downward): Likewise.
8810 (cosh_upward_test_data): Likewise.
8811 (cosh_test_upward): Likewise.
8812 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8813 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8814 (ctan_test_data): Likewise.
8815 (ctan_test): Use ALL_RM_TEST.
8816 (ctan_tonearest_test_data): Remove.
8817 (ctan_test_tonearest): Likewise.
8818 (ctan_towardzero_test_data): Likewise.
8819 (ctan_test_towardzero): Likewise.
8820 (ctan_downward_test_data): Likewise.
8821 (ctan_test_downward): Likewise.
8822 (ctan_upward_test_data): Likewise.
8823 (ctan_test_upward): Likewise.
8824 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8825 (ctanh_test): Use ALL_RM_TEST.
8826 (ctanh_tonearest_test_data): Remove.
8827 (ctanh_test_tonearest): Likewise.
8828 (ctanh_towardzero_test_data): Likewise.
8829 (ctanh_test_towardzero): Likewise.
8830 (ctanh_downward_test_data): Likewise.
8831 (ctanh_test_downward): Likewise.
8832 (ctanh_upward_test_data): Likewise.
8833 (ctanh_test_upward): Likewise.
8834 (erf_test_data): Update call to AUTO_TESTS_f_f.
8835 (erfc_test_data): Likewise.
8836 (exp_test_data): Likewise.
8837 (exp_test): Use ALL_RM_TEST.
8838 (exp_tonearest_test_data): Remove.
8839 (exp_test_tonearest): Likewise.
8840 (exp_towardzero_test_data): Likewise.
8841 (exp_test_towardzero): Likewise.
8842 (exp_downward_test_data): Likewise.
8843 (exp_test_downward): Likewise.
8844 (exp_upward_test_data): Likewise.
8845 (exp_test_upward): Likewise.
8846 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8847 (exp10_test): Use ALL_RM_TEST.
8848 (exp10_tonearest_test_data): Remove.
8849 (exp10_test_tonearest): Likewise.
8850 (exp10_towardzero_test_data): Likewise.
8851 (exp10_test_towardzero): Likewise.
8852 (exp10_downward_test_data): Likewise.
8853 (exp10_test_downward): Likewise.
8854 (exp10_upward_test_data): Likewise.
8855 (exp10_test_upward): Likewise.
8856 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8857 (expm1_test_data): Likewise.
8858 (expm1_test): Use ALL_RM_TEST.
8859 (expm1_tonearest_test_data): Remove.
8860 (expm1_test_tonearest): Likewise.
8861 (expm1_towardzero_test_data): Likewise.
8862 (expm1_test_towardzero): Likewise.
8863 (expm1_downward_test_data): Likewise.
8864 (expm1_test_downward): Likewise.
8865 (expm1_upward_test_data): Likewise.
8866 (expm1_test_upward): Likewise.
8867 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8868 (fma_test): Use ALL_RM_TEST.
8869 (fma_towardzero_test_data): Remove.
8870 (fma_test_towardzero): Likewise.
8871 (fma_downward_test_data): Likewise.
8872 (fma_test_downward): Likewise.
8873 (fma_upward_test_data): Likewise.
8874 (fma_test_upward): Likewise.
8875 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8876 (j0_test_data): Update call to AUTO_TESTS_f_f.
8877 (j1_test_data): Likewise.
8878 (jn_test_data): Update call to AUTO_TESTS_if_f.
8879 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8880 (log_test_data): Update call to AUTO_TESTS_f_f.
8881 (log10_test_data): Likewise.
8882 (log1p_test_data): Likewise.
8883 (log2_test_data): Likewise.
8884 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8885 (pow_tonearest_test_data): Likewise.
8886 (sin_test_data): Update call to AUTO_TESTS_f_f.
8887 (sin_test): Use ALL_RM_TEST.
8888 (sin_tonearest_test_data): Remove.
8889 (sin_test_tonearest): Likewise.
8890 (sin_towardzero_test_data): Likewise.
8891 (sin_test_towardzero): Likewise.
8892 (sin_downward_test_data): Likewise.
8893 (sin_test_downward): Likewise.
8894 (sin_upward_test_data): Likewise.
8895 (sin_test_upward): Likewise.
8896 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8897 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8898 (sinh_test): Use ALL_RM_TEST.
8899 (sinh_tonearest_test_data): Remove.
8900 (sinh_test_tonearest): Likewise.
8901 (sinh_towardzero_test_data): Likewise.
8902 (sinh_test_towardzero): Likewise.
8903 (sinh_downward_test_data): Likewise.
8904 (sinh_test_downward): Likewise.
8905 (sinh_upward_test_data): Likewise.
8906 (sinh_test_upward): Likewise.
8907 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8908 (sqrt_test): Use ALL_RM_TEST.
8909 (sqrt_tonearest_test_data): Remove.
8910 (sqrt_test_tonearest): Likewise.
8911 (sqrt_towardzero_test_data): Likewise.
8912 (sqrt_test_towardzero): Likewise.
8913 (sqrt_downward_test_data): Likewise.
8914 (sqrt_test_downward): Likewise.
8915 (sqrt_upward_test_data): Likewise.
8916 (sqrt_test_upward): Likewise.
8917 (tan_test_data): Update call to AUTO_TESTS_f_f.
8918 (tan_test): Use ALL_RM_TEST.
8919 (tan_tonearest_test_data): Remove.
8920 (tan_test_tonearest): Likewise.
8921 (tan_towardzero_test_data): Likewise.
8922 (tan_test_towardzero): Likewise.
8923 (tan_downward_test_data): Likewise.
8924 (tan_test_downward): Likewise.
8925 (tan_upward_test_data): Likewise.
8926 (tan_test_upward): Likewise.
8927 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8928 (tgamma_test_data): Likewise.
8929 (y0_test_data): Likewise.
8930 (y1_test_data): Likewise.
8931 (yn_test_data): Update call to AUTO_TESTS_if_f.
8932 (main): Do not call removed functions.
8933
d71aeee8
JM
89342014-03-19 Joseph Myers <joseph@codesourcery.com>
8935
8936 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8937 (ldexp_test_data): Remove.
8938 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8939 scalbn_test_data.
8940 (scalb_test): Use ALL_RM_TEST.
8941
baaf1ded
AS
89422014-03-19 Andreas Schwab <schwab@suse.de>
8943
8944 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8945
b1115e91
JM
89462014-03-19 Joseph Myers <joseph@codesourcery.com>
8947
8948 [BZ #16649]
8949 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8950 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8951 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8952 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8953 (__ASSUME_PREADV): Undefine.
8954 (__ASSUME_PWRITEV): Likewise.
8955
0283ecca
RM
89562014-03-18 Roland McGrath <roland@hack.frob.com>
8957
7d375303
RM
8958 * bits/mman-linux.h: Add comment about non-Linux use.
8959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8960 bits/mman-linux.h resting place.
8961
0283ecca
RM
8962 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8963 * bits/mman-linux.h: ... here.
8964
aebe1003
AZ
89652014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8966
8967 * conform/conformtest.pl: Add standard definition when calling C
8968 preprocessor on data files.
8969 (checknamespace): Remove unused variable.
8970
b29b6bb8
JM
89712014-03-18 Joseph Myers <joseph@codesourcery.com>
8972
8973 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8974 minus_oflow, plus_uflow and minus_uflow in expected results.
8975 * math/libm-test.inc (scalbn_test_data): Add more tests of
8976 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8977 minus_uflow.
8978 (scalbn_test): Use ALL_RM_TEST.
8979 (scalbln_test_data): Add more tests of negative arguments. Use
8980 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8981 (scalbln_test): Use ALL_RM_TEST.
8982
c8f8fa15
RM
89832014-03-18 Roland McGrath <roland@hack.frob.com>
8984
8985 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8986
fede7a5f
WN
89872014-03-18 Will Newton <will.newton@linaro.org>
8988
8989 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8990 inaccurate comment.
8991
80cf0a58
JM
89922014-03-18 Joseph Myers <joseph@codesourcery.com>
8993
8994 * Makerules [!subdir] (check-abi): Exit with error status if a
8995 test failed.
8996
b3620862
JM
89972014-03-17 Joseph Myers <joseph@codesourcery.com>
8998
8999 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9000 for rint. Include results for all rounding modes.
9001 (nearbyint_test): Use ALL_RM_TEST.
9002 (rint_test_data): Include all tests used for nearbyint.
9003
788bba36
WN
90042014-03-17 Will Newton <will.newton@linaro.org>
9005
04ec140a
WN
9006 * nptl/sysdeps/pthread/pthread.h: Revert previous
9007 change.
9008
7579d8d5
WN
9009 * sysdeps/generic/ldsodefs.h: Revert previous
9010 change.
9011
c15cf13a
WN
9012 * libio/genops.c: Revert previous change.
9013 * libio/libioP.h: Likewise.
9014 * stdio-common/vfprintf.c: Likewise.
9015
d0ac1324
WN
9016 * sysdeps/generic/math_private.h: Revert previous
9017 change.
9018
9290130a
WN
9019 * sysdeps/generic/math_private.h: Check whether
9020 HAVE_RM_CTX is defined with #ifdef rather
9021 than #if.
9022
afb466fc
WN
9023 * argp/argp-fmtstream.h: Check whether
9024 __STRICT_ANSI__ is defined with #ifdef rather
9025 than #if.
9026 * argp/argp.h: Likewise.
9027
f7efd7c3
WN
9028 * libio/genops.c: Check whether
9029 _IO_JUMPS_OFFSET is defined with #ifdef rather
9030 than #if.
9031 * libio/libioP.h: Likewise.
9032 * stdio-common/vfprintf.c: Likewise.
9033
53f1bed3
WN
9034 * sysdeps/generic/ldsodefs.h: Check whether
9035 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9036 than #if.
9037
788bba36
WN
9038 * nptl/sysdeps/pthread/pthread.h: Check
9039 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9040 its value.
9041
fcd89ebe
SP
90422014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9043
ae42bbc5
SP
9044 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9045 setting O_APPEND.
9046 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9047 test case.
9048
ea33158c
SP
9049 [BZ #16680]
9050 * libio/fileops.c (_IO_file_open): Seek to end of file but
9051 don't cache the offset.
9052 (get_file_offset): Remove function.
9053 (do_ftell): Use cached offset when available.
9054 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9055 don't cache the offset.
9056 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9057 case.
9058 (do_one_test): Call it.
9059 (do_ftell_test): Fix up expected old offset for a+ mode.
9060 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9061 available.
9062
b1dbb426
SP
9063 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9064 up test status with function return status.
9065 (do_write_test): Likewise.
9066 (do_append_test): Likewise.
9067
fcd89ebe
SP
9068 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9069 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9070 Remove.
9071
9962a2d3
JM
90722014-03-17 Joseph Myers <joseph@codesourcery.com>
9073
9074 * math/gen-libm-test.pl (parse_args): Handle results specified for
9075 each rounding mode separately.
9076 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9077 tests and results from lrint_tonearest_test_data,
9078 lrint_towardzero_test_data, lrint_downward_test_data and
9079 lrint_upward_test_data.
9080 (lrint_test): Use ALL_RM_TEST.
9081 (lrint_tonearest_test_data): Remove.
9082 (lrint_test_tonearest): Likewise.
9083 (lrint_towardzero_test_data): Likewise.
9084 (lrint_test_towardzero): Likewise.
9085 (lrint_downward_test_data): Likewise.
9086 (lrint_test_downward): Likewise.
9087 (lrint_upward_test_data): Likewise.
9088 (lrint_test_upward): Likewise.
9089 (llrint_test_data): Merge in per-rounding-mode tests and results
9090 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9091 llrint_downward_test_data and llrint_upward_test_data.
9092 (llrint_test): Use ALL_RM_TEST.
9093 (llrint_tonearest_test_data): Remove.
9094 (llrint_test_tonearest): Likewise.
9095 (llrint_towardzero_test_data): Likewise.
9096 (llrint_test_towardzero): Likewise.
9097 (llrint_downward_test_data): Likewise.
9098 (llrint_test_downward): Likewise.
9099 (llrint_upward_test_data): Likewise.
9100 (llrint_test_upward): Likewise.
9101 (rint_test_data): Merge in per-rounding-mode tests and results
9102 from rint_tonearest_test_data, rint_towardzero_test_data,
9103 rint_downward_test_data and rint_upward_test_data. Add
9104 per-rounding-mode results for tests not in those arrays.
9105 (rint_test): Use ALL_RM_TEST.
9106 (rint_tonearest_test_data): Remove.
9107 (rint_test_tonearest): Likewise.
9108 (rint_towardzero_test_data): Likewise.
9109 (rint_test_towardzero): Likewise.
9110 (rint_downward_test_data): Likewise.
9111 (rint_test_downward): Likewise.
9112 (rint_upward_test_data): Likewise.
9113 (rint_test_upward): Likewise.
9114 (main): Don't call removed functions.
9115
5006148e
RM
91162014-03-14 Roland McGrath <roland@hack.frob.com>
9117
9118 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9119 "Compiled on ..." crapola. It is anti-useful.
9120
d6fe5e58
JM
91212014-03-14 Joseph Myers <joseph@codesourcery.com>
9122
9123 * scripts/evaluate-test.sh: Handle fourth argument to determine
9124 whether test run should stop on failure.
9125 * Makeconfig (stop-on-test-failure): New variable.
9126 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9127 $(stop-on-test-failure).
9128 * Makefile (tests): Give a summary of results from testing and
9129 exit with failure status if they include an ERROR or FAIL.
9130 (xtests): Likewise.
9131 * manual/install.texi (Configuring and compiling): Mention
9132 stop-on-test-failure=y.
9133 * INSTALL: Regenerated.
9134
498a2233
RM
91352014-03-14 Roland McGrath <roland@hack.frob.com>
9136
22dbc19d
RM
9137 * scripts/versionlist.awk: New file.
9138 * Makerules [$(build-shared) = yes]
9139 (postclean-generated): Add Versions.def, not Versions.def.v and
9140 Versions.def.v.i.
9141 ($(common-objpfx)Versions.def.v.i): Target removed.
9142 ($(common-objpfx)Versions.def): New target.
9143 ($(common-objpfx)Versions.all): Depend on that rather that
9144 $(common-objpfx)Versions.def.v.
9145 * Versions.def: File removed.
9146
498a2233
RM
9147 * Makeconfig (+gccwarn): Add -Wundef.
9148 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9149 a dl-sysdep.h breaking its contract.
9150 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9151 * include/stackinfo.h: New file.
9152 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9153 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9154 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9155 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9156 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9157 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9158 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9159 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9160 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9161 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9162 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9163 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9164 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9165 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9166 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9167
c7de5025
AZ
91682014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9169
9170 [BZ #16707]
9171 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9172 implementation.
9173 * math/libm-test.inc (round_test_data): Add more tests.
9174
98fb27a3
AZ
9175 [BZ #16706]
9176 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9177 implementation.
9178 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9179
374f7f61
AZ
9180 [BZ #16701]
9181 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9182 implementation.
9183 * math/libm-test.inc (ceil_test_data): Add more tests.
9184
4655c291
AZ
9185 * math/libm-test.inc (trunc_test_data): Add more tests related to
9186 BZ#16414.
9187
d7329d4b
RM
91882014-03-14 Roland McGrath <roland@hack.frob.com>
9189
9190 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9191 with #if rather than #ifdef.
9192 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9193
aa4de9ce
L
91942014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9197 first. Disable AVX-512 GCC support if assembler doesn't support
9198 it.
9199 * sysdeps/x86_64/configure: Regenerated.
9200
2e03fae7
CD
92012014-03-13 Carlos O'Donell <carlos@redhat.com>
9202
9203 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9204 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9205 (__old_pthread_attr_setstack): Likewise.
9206 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9207 [!_STACK_GROWS_DOWN]: Likewise.
9208
43ca83ec
MF
92092014-03-13 Mike Frysinger <vapier@gentoo.org>
9210
9211 * config.make.in (have-bash2): Delete.
9212 * configure.ac (libc_cv_have_bash2): Delete.
9213 * configure: Regenerate.
9214 * elf/Makefile (common-ldd-rewrite): Rename to ...
9215 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9216 (sh-ldd-rewrite): Delete.
9217 (bash-ldd-rewrite): Delete.
9218 (have-bash2): Delete checks.
57f41c40
AS
9219 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9220 ldd-rewrite.
c66e48b4
MF
9221
9222 * config.make.in (have-ksh): Delete.
9223 (KSH): Delete.
9224 * configure.ac (libc_cv_have_ksh): Delete.
9225 * configure: Regenerate.
9226
b93834ef
MF
9227 * elf/Makefile: Delete $(have-ksh) check.
9228 ($(objpfx)sotruss): Change KSH to BASH.
9229 * elf/sotruss.ksh: Rename to ...
9230 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9231 function style to match POSIX. Drop ksh vim mode setting.
9232
f3a4632a
MF
9233 * manual/time.texi (Specifying the Time Zone with TZ): Change
9234 Tuesday to Thursday.
9235
5896c8bd
MF
9236 * debug/tst-longjmp_chk2.c: Update header comment.
9237 (stackoverflow_handler): Add comment. Call assert on pass value.
9238
2d63a517
IZ
92392014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9240
7e54fd04 9241 [BZ #16194]
2d63a517
IZ
9242 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9243 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9244 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9245 (La_x86_64_vector): Add zmm.
9246 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9247 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9248 ($(objpfx)tst-audit10): New target.
9249 ($(objpfx)tst-audit10.out): Likewise.
9250 (tst-audit10-ENV): New.
9251 (AVX512-CFLAGS): Likewise.
9252 (CFLAGS-tst-audit10.c): Likewise.
9253 (CFLAGS-tst-auditmod10a.c): Likewise.
9254 (CFLAGS-tst-auditmod10b.c): Likewise.
9255 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9256 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9257 * sysdeps/x86_64/configure: Regenerated.
9258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9259 AVX-512 zmm register support.
9260 (_dl_x86_64_save_sse): Likewise.
9261 (_dl_x86_64_restore_sse): Likewise.
9262 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9263 size vector registers.
9264 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9265 (ZMM_SIZE): Likewise.
9266 * sysdeps/x86_64/tst-audit10.c: New file.
9267 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9268 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9269
44c4e5d5
RM
92702014-03-13 Roland McGrath <roland@hack.frob.com>
9271
9272 * configure.ac (HAVE_EHDR_START): New check.
9273 * configure: Regenerated.
9274 * config.h.in (HAVE_EHDR_START): New #undef.
9275 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9276 assuming the lowest-addressed segment maps the start of the file.
9277
acd6e389
JM
92782014-03-13 Joseph Myers <joseph@codesourcery.com>
9279
9280 * INSTALL: Regenerated.
9281
6f918f36
WN
92822014-03-13 Will Newton <will.newton@linaro.org>
9283
9284 * manual/setjmp.texi (System V contexts): Improve
9285 clarity and grammar of documentation.
9286
798212a0
PP
92872014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9288
9289 [BZ #16381]
798212a0 9290 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9291 (tests-pie): Add tst-pie2.
798212a0
PP
9292 * elf/tst-pie2.c: New file.
9293 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9294 for ET_EXEC.
9295 * elf/rtld.c (map_doit): Load executable as lt_executable.
9296 (dl_main): Likewise.
9297
abe6d90c
JM
92982014-03-12 Joseph Myers <joseph@codesourcery.com>
9299
9300 [BZ #16642]
9301 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9302 (__ASSUME_PSELECT): Undefine.
9303
dd3946c6
AZ
93042014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9305
9306 [BZ #16689]
9307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9308 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9309 static build.
9310 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9311 selector for static builds.
9312
c44496df
SP
93132014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9314
9315 [BZ #16695]
9316 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9317 key in the buffer.
9318
27c7220a
AZ
93192014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9320
57f41c40
AS
9321 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9322 IFUNC selector for static builds.
27c7220a 9323
600fa361
JM
93242014-03-11 Joseph Myers <joseph@codesourcery.com>
9325
76c96cf7
JM
9326 * sysdeps/mips/math_private.h [__mips_hard_float]
9327 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9328 libc_feresetround_mips_ctx.
9329 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9330 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9331 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9332
600fa361
JM
9333 [BZ #16677]
9334 * math/s_nextafter.c (__nextafter): Do not return value from
9335 overflowing computation.
9336 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9337 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9339 Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9341 Likewise.
9342 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9343 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9344
d7706c32
RM
93452014-03-11 Roland McGrath <roland@hack.frob.com>
9346
9347 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9348 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9349 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9350 the new mov targetting sp.
9351
4facea47
AZ
93522014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9353
9354 [BZ #16683]
9355 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9356 Define it for static builds as well.
9357 (NO_BZERO_IMPL): Likewise.
9358
e65caf1f
VR
93592014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9360
9361 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9362 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9363 multiarch strspn for PPC64.
9364 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9365 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9367 (__libc_ifunc_impl_list): Likewise.
9368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9369 multiarch optimizations
9370 * string/strspn.c (strspn): Using macro to redefine symbol name.
9371
ba9cc071
AZ
93722014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9373 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9374
9375 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9376 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9377 multiarch strncat for PPC64.
9378 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9379 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9381 (__libc_ifunc_impl_list): Likewise.
9382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9383 multiarch optimizations
9384
8b4ff974
SP
93852014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9386
9387 [BZ #16639]
9388 * nscd/nscd.service: Make service type forking.
9389
54b46a4b
AZ
93902014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9391
9392 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9393 sign in non default rounding modes.
9394 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9395
e9996ef7
JM
93962014-03-08 Joseph Myers <joseph@codesourcery.com>
9397
9398 * math/libm-test.inc (ALL_RM_TEST): New macro.
9399 (ceil_test): Use ALL_RM_TEST.
9400 (cimag_test): Likewise.
9401 (conj_test): Likewise.
9402 (copysign_test): Likewise.
9403 (cproj_test): Likewise.
9404 (creal_test): Likewise.
9405 (fabs_test): Likewise.
9406 (floor_test): Likewise.
9407 (fmax_test): Likewise.
9408 (fmin_test): Likewise.
9409 (fmod_test): Likewise.
9410 (fpclassify_test): Likewise.
9411 (frexp_test): Likewise.
9412 (ilogb_test): Likewise.
9413 (isfinite_test): Likewise.
9414 (finite_test): Likewise.
9415 (isgreater_test): Likewise.
9416 (isgreaterequal_test): Likewise.
9417 (isinf_test): Likewise.
9418 (isless_test): Likewise.
9419 (islessequal_test): Likewise.
9420 (islessgreater_test): Likewise.
9421 (isnan_test): Likewise.
9422 (isnormal_test): Likewise.
9423 (issignaling_test): Likewise.
9424 (isunordered_test): Likewise.
9425 (logb_test): Likewise.
9426 (logb_downward_test_data): Remove.
9427 (logb_test_downward): Likewise.
9428 (lround_test): Use ALL_RM_TEST.
9429 (llround_test): Likewise.
9430 (modf_test): Likewise.
9431 (nexttoward_test): Likewise.
9432 (remainder_test): Likewise.
9433 (drem_test): Likewise.
9434 (remainder_tonearest_test_data): Likewise.
9435 (remainder_test_tonearest): Likewise.
9436 (drem_test_tonearest): Likewise.
9437 (remainder_towardzero_test_data): Likewise.
9438 (remainder_test_towardzero): Likewise.
9439 (drem_test_towardzero): Likewise.
9440 (remainder_downward_test_data): Likewise.
9441 (remainder_test_downward): Likewise.
9442 (drem_test_downward): Likewise.
9443 (remainder_upward_test_data): Likewise.
9444 (remainder_test_upward): Likewise.
9445 (drem_test_upward): Likewise.
9446 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9447 (round_test): Use ALL_RM_TEST.
9448 (signbit_test): Likewise.
9449 (trunc_test): Likewise.
9450 (significand_test): Likewise.
9451 (main): Don't call removed functions.
9452
bc61d27c
JM
94532014-03-07 Joseph Myers <joseph@codesourcery.com>
9454
5c780849
JM
9455 [BZ #16674]
9456 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9457 || __USE_XOPEN2K8].
9458 (ILL_ILLOPN): Likewise.
9459 (ILL_ILLADR): Likewise.
9460 (ILL_ILLTRP): Likewise.
9461 (ILL_PRVOPC): Likewise.
9462 (ILL_PRVREG): Likewise.
9463 (ILL_COPROC): Likewise.
9464 (ILL_BADSTK): Likewise.
9465 (FPE_INTDIV): Likewise.
9466 (FPE_INTOVF): Likewise.
9467 (FPE_FLTDIV): Likewise.
9468 (FPE_FLTOVF): Likewise.
9469 (FPE_FLTUND): Likewise.
9470 (FPE_FLTRES): Likewise.
9471 (FPE_FLTINV): Likewise.
9472 (FPE_FLTSUB): Likewise.
9473 (SEGV_MAPERR): Likewise.
9474 (SEGV_ACCERR): Likewise.
9475 (BUS_ADRALN): Likewise.
9476 (BUS_ADRERR): Likewise.
9477 (BUS_OBJERR): Likewise.
9478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9479 (TRAP_TRACE): Likewise.
9480 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9481 __USE_XOPEN2K8].
9482 (CLD_KILLED): Likewise.
9483 (CLD_DUMPED): Likewise.
9484 (CLD_TRAPPED): Likewise.
9485 (CLD_STOPPED): Likewise.
9486 (CLD_CONTINUED): Likewise.
9487 (POLL_IN): Likewise.
9488 (POLL_OUT): Likewise.
9489 (POLL_MSG): Likewise.
9490 (POLL_ERR): Likewise.
9491 (POLL_PRI): Likewise.
9492 (POLL_HUP): Likewise.
9493 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9494 Likewise.
9495 (ILL_ILLOPN): Likewise.
9496 (ILL_ILLADR): Likewise.
9497 (ILL_ILLTRP): Likewise.
9498 (ILL_PRVOPC): Likewise.
9499 (ILL_PRVREG): Likewise.
9500 (ILL_COPROC): Likewise.
9501 (ILL_BADSTK): Likewise.
9502 (FPE_INTDIV): Likewise.
9503 (FPE_INTOVF): Likewise.
9504 (FPE_FLTDIV): Likewise.
9505 (FPE_FLTOVF): Likewise.
9506 (FPE_FLTUND): Likewise.
9507 (FPE_FLTRES): Likewise.
9508 (FPE_FLTINV): Likewise.
9509 (FPE_FLTSUB): Likewise.
9510 (SEGV_MAPERR): Likewise.
9511 (SEGV_ACCERR): Likewise.
9512 (BUS_ADRALN): Likewise.
9513 (BUS_ADRERR): Likewise.
9514 (BUS_OBJERR): Likewise.
9515 (BUS_MCEERR_AR): Likewise.
9516 (BUS_MCEERR_AO): Likewise.
9517 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9518 (TRAP_TRACE): Likewise.
9519 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9520 __USE_XOPEN2K8].
9521 (CLD_KILLED): Likewise.
9522 (CLD_DUMPED): Likewise.
9523 (CLD_TRAPPED): Likewise.
9524 (CLD_STOPPED): Likewise.
9525 (CLD_CONTINUED): Likewise.
9526 (POLL_IN): Likewise.
9527 (POLL_OUT): Likewise.
9528 (POLL_MSG): Likewise.
9529 (POLL_ERR): Likewise.
9530 (POLL_PRI): Likewise.
9531 (POLL_HUP): Likewise.
9532 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9533 (ILL_ILLOPN): Likewise.
9534 (ILL_ILLADR): Likewise.
9535 (ILL_ILLTRP): Likewise.
9536 (ILL_PRVOPC): Likewise.
9537 (ILL_PRVREG): Likewise.
9538 (ILL_COPROC): Likewise.
9539 (ILL_BADSTK): Likewise.
9540 (FPE_INTDIV): Likewise.
9541 (FPE_INTOVF): Likewise.
9542 (FPE_FLTDIV): Likewise.
9543 (FPE_FLTOVF): Likewise.
9544 (FPE_FLTUND): Likewise.
9545 (FPE_FLTRES): Likewise.
9546 (FPE_FLTINV): Likewise.
9547 (FPE_FLTSUB): Likewise.
9548 (SEGV_MAPERR): Likewise.
9549 (SEGV_ACCERR): Likewise.
9550 (BUS_ADRALN): Likewise.
9551 (BUS_ADRERR): Likewise.
9552 (BUS_OBJERR): Likewise.
9553 (BUS_MCEERR_AR): Likewise.
9554 (BUS_MCEERR_AO): Likewise.
9555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9556 (TRAP_TRACE): Likewise.
9557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9558 __USE_XOPEN2K8].
9559 (CLD_KILLED): Likewise.
9560 (CLD_DUMPED): Likewise.
9561 (CLD_TRAPPED): Likewise.
9562 (CLD_STOPPED): Likewise.
9563 (CLD_CONTINUED): Likewise.
9564 (POLL_IN): Likewise.
9565 (POLL_OUT): Likewise.
9566 (POLL_MSG): Likewise.
9567 (POLL_ERR): Likewise.
9568 (POLL_PRI): Likewise.
9569 (POLL_HUP): Likewise.
9570 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9571 Likewise.
9572 (ILL_ILLOPN): Likewise.
9573 (ILL_ILLADR): Likewise.
9574 (ILL_ILLTRP): Likewise.
9575 (ILL_PRVOPC): Likewise.
9576 (ILL_PRVREG): Likewise.
9577 (ILL_COPROC): Likewise.
9578 (ILL_BADSTK): Likewise.
9579 (ILL_BADIADDR): Likewise.
9580 (ILL_BREAK): Likewise.
9581 (FPE_INTDIV): Likewise.
9582 (FPE_INTOVF): Likewise.
9583 (FPE_FLTDIV): Likewise.
9584 (FPE_FLTOVF): Likewise.
9585 (FPE_FLTUND): Likewise.
9586 (FPE_FLTRES): Likewise.
9587 (FPE_FLTINV): Likewise.
9588 (FPE_FLTSUB): Likewise.
9589 (FPE_DECOVF): Likewise.
9590 (FPE_DECDIV): Likewise.
9591 (FPE_DECERR): Likewise.
9592 (FPE_INVASC): Likewise.
9593 (FPE_INVDEC): Likewise.
9594 (SEGV_MAPERR): Likewise.
9595 (SEGV_ACCERR): Likewise.
9596 (SEGV_PSTKOVF): Likewise.
9597 (BUS_ADRALN): Likewise.
9598 (BUS_ADRERR): Likewise.
9599 (BUS_OBJERR): Likewise.
9600 (BUS_MCEERR_AR): Likewise.
9601 (BUS_MCEERR_AO): Likewise.
9602 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9603 (TRAP_TRACE): Likewise.
9604 (TRAP_BRANCH): Likewise.
9605 (TRAP_HWBKPT): Likewise.
9606 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9607 __USE_XOPEN2K8].
9608 (CLD_KILLED): Likewise.
9609 (CLD_DUMPED): Likewise.
9610 (CLD_TRAPPED): Likewise.
9611 (CLD_STOPPED): Likewise.
9612 (CLD_CONTINUED): Likewise.
9613 (POLL_IN): Likewise.
9614 (POLL_OUT): Likewise.
9615 (POLL_MSG): Likewise.
9616 (POLL_ERR): Likewise.
9617 (POLL_PRI): Likewise.
9618 (POLL_HUP): Likewise.
9619 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9620 (ILL_ILLOPN): Likewise.
9621 (ILL_ILLADR): Likewise.
9622 (ILL_ILLTRP): Likewise.
9623 (ILL_PRVOPC): Likewise.
9624 (ILL_PRVREG): Likewise.
9625 (ILL_COPROC): Likewise.
9626 (ILL_BADSTK): Likewise.
9627 (FPE_INTDIV): Likewise.
9628 (FPE_INTOVF): Likewise.
9629 (FPE_FLTDIV): Likewise.
9630 (FPE_FLTOVF): Likewise.
9631 (FPE_FLTUND): Likewise.
9632 (FPE_FLTRES): Likewise.
9633 (FPE_FLTINV): Likewise.
9634 (FPE_FLTSUB): Likewise.
9635 (SEGV_MAPERR): Likewise.
9636 (SEGV_ACCERR): Likewise.
9637 (BUS_ADRALN): Likewise.
9638 (BUS_ADRERR): Likewise.
9639 (BUS_OBJERR): Likewise.
9640 (BUS_MCEERR_AR): Likewise.
9641 (BUS_MCEERR_AO): Likewise.
9642 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9643 (TRAP_TRACE): Likewise.
9644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9645 __USE_XOPEN2K8].
9646 (CLD_KILLED): Likewise.
9647 (CLD_DUMPED): Likewise.
9648 (CLD_TRAPPED): Likewise.
9649 (CLD_STOPPED): Likewise.
9650 (CLD_CONTINUED): Likewise.
9651 (POLL_IN): Likewise.
9652 (POLL_OUT): Likewise.
9653 (POLL_MSG): Likewise.
9654 (POLL_ERR): Likewise.
9655 (POLL_PRI): Likewise.
9656 (POLL_HUP): Likewise.
9657 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9658 (ILL_ILLOPN): Likewise.
9659 (ILL_ILLADR): Likewise.
9660 (ILL_ILLTRP): Likewise.
9661 (ILL_PRVOPC): Likewise.
9662 (ILL_PRVREG): Likewise.
9663 (ILL_COPROC): Likewise.
9664 (ILL_BADSTK): Likewise.
9665 (FPE_INTDIV): Likewise.
9666 (FPE_INTOVF): Likewise.
9667 (FPE_FLTDIV): Likewise.
9668 (FPE_FLTOVF): Likewise.
9669 (FPE_FLTUND): Likewise.
9670 (FPE_FLTRES): Likewise.
9671 (FPE_FLTINV): Likewise.
9672 (FPE_FLTSUB): Likewise.
9673 (SEGV_MAPERR): Likewise.
9674 (SEGV_ACCERR): Likewise.
9675 (BUS_ADRALN): Likewise.
9676 (BUS_ADRERR): Likewise.
9677 (BUS_OBJERR): Likewise.
9678 (BUS_MCEERR_AR): Likewise.
9679 (BUS_MCEERR_AO): Likewise.
9680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9681 (TRAP_TRACE): Likewise.
9682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9683 __USE_XOPEN2K8].
9684 (CLD_KILLED): Likewise.
9685 (CLD_DUMPED): Likewise.
9686 (CLD_TRAPPED): Likewise.
9687 (CLD_STOPPED): Likewise.
9688 (CLD_CONTINUED): Likewise.
9689 (POLL_IN): Likewise.
9690 (POLL_OUT): Likewise.
9691 (POLL_MSG): Likewise.
9692 (POLL_ERR): Likewise.
9693 (POLL_PRI): Likewise.
9694 (POLL_HUP): Likewise.
9695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9696 (ILL_ILLOPN): Likewise.
9697 (ILL_ILLADR): Likewise.
9698 (ILL_ILLTRP): Likewise.
9699 (ILL_PRVOPC): Likewise.
9700 (ILL_PRVREG): Likewise.
9701 (ILL_COPROC): Likewise.
9702 (ILL_BADSTK): Likewise.
9703 (FPE_INTDIV): Likewise.
9704 (FPE_INTOVF): Likewise.
9705 (FPE_FLTDIV): Likewise.
9706 (FPE_FLTOVF): Likewise.
9707 (FPE_FLTUND): Likewise.
9708 (FPE_FLTRES): Likewise.
9709 (FPE_FLTINV): Likewise.
9710 (FPE_FLTSUB): Likewise.
9711 (SEGV_MAPERR): Likewise.
9712 (SEGV_ACCERR): Likewise.
9713 (BUS_ADRALN): Likewise.
9714 (BUS_ADRERR): Likewise.
9715 (BUS_OBJERR): Likewise.
9716 (BUS_MCEERR_AR): Likewise.
9717 (BUS_MCEERR_AO): Likewise.
9718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9719 (TRAP_TRACE): Likewise.
9720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9721 __USE_XOPEN2K8].
9722 (CLD_KILLED): Likewise.
9723 (CLD_DUMPED): Likewise.
9724 (CLD_TRAPPED): Likewise.
9725 (CLD_STOPPED): Likewise.
9726 (CLD_CONTINUED): Likewise.
9727 (POLL_IN): Likewise.
9728 (POLL_OUT): Likewise.
9729 (POLL_MSG): Likewise.
9730 (POLL_ERR): Likewise.
9731 (POLL_PRI): Likewise.
9732 (POLL_HUP): Likewise.
9733 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9734 (ILL_ILLOPN): Likewise.
9735 (ILL_ILLADR): Likewise.
9736 (ILL_ILLTRP): Likewise.
9737 (ILL_PRVOPC): Likewise.
9738 (ILL_PRVREG): Likewise.
9739 (ILL_COPROC): Likewise.
9740 (ILL_BADSTK): Likewise.
9741 (ILL_DBLFLT): Likewise.
9742 (ILL_HARDWALL): Likewise.
9743 (FPE_INTDIV): Likewise.
9744 (FPE_INTOVF): Likewise.
9745 (FPE_FLTDIV): Likewise.
9746 (FPE_FLTOVF): Likewise.
9747 (FPE_FLTUND): Likewise.
9748 (FPE_FLTRES): Likewise.
9749 (FPE_FLTINV): Likewise.
9750 (FPE_FLTSUB): Likewise.
9751 (SEGV_MAPERR): Likewise.
9752 (SEGV_ACCERR): Likewise.
9753 (BUS_ADRALN): Likewise.
9754 (BUS_ADRERR): Likewise.
9755 (BUS_OBJERR): Likewise.
9756 (BUS_MCEERR_AR): Likewise.
9757 (BUS_MCEERR_AO): Likewise.
9758 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9759 (TRAP_TRACE): Likewise.
9760 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9761 __USE_XOPEN2K8].
9762 (CLD_KILLED): Likewise.
9763 (CLD_DUMPED): Likewise.
9764 (CLD_TRAPPED): Likewise.
9765 (CLD_STOPPED): Likewise.
9766 (CLD_CONTINUED): Likewise.
9767 (POLL_IN): Likewise.
9768 (POLL_OUT): Likewise.
9769 (POLL_MSG): Likewise.
9770 (POLL_ERR): Likewise.
9771 (POLL_PRI): Likewise.
9772 (POLL_HUP): Likewise.
9773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9774 (ILL_ILLOPN): Likewise.
9775 (ILL_ILLADR): Likewise.
9776 (ILL_ILLTRP): Likewise.
9777 (ILL_PRVOPC): Likewise.
9778 (ILL_PRVREG): Likewise.
9779 (ILL_COPROC): Likewise.
9780 (ILL_BADSTK): Likewise.
9781 (FPE_INTDIV): Likewise.
9782 (FPE_INTOVF): Likewise.
9783 (FPE_FLTDIV): Likewise.
9784 (FPE_FLTOVF): Likewise.
9785 (FPE_FLTUND): Likewise.
9786 (FPE_FLTRES): Likewise.
9787 (FPE_FLTINV): Likewise.
9788 (FPE_FLTSUB): Likewise.
9789 (SEGV_MAPERR): Likewise.
9790 (SEGV_ACCERR): Likewise.
9791 (BUS_ADRALN): Likewise.
9792 (BUS_ADRERR): Likewise.
9793 (BUS_OBJERR): Likewise.
9794 (BUS_MCEERR_AR): Likewise.
9795 (BUS_MCEERR_AO): Likewise.
9796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9797 (TRAP_TRACE): Likewise.
9798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9799 __USE_XOPEN2K8].
9800 (CLD_KILLED): Likewise.
9801 (CLD_DUMPED): Likewise.
9802 (CLD_TRAPPED): Likewise.
9803 (CLD_STOPPED): Likewise.
9804 (CLD_CONTINUED): Likewise.
9805 (POLL_IN): Likewise.
9806 (POLL_OUT): Likewise.
9807 (POLL_MSG): Likewise.
9808 (POLL_ERR): Likewise.
9809 (POLL_PRI): Likewise.
9810 (POLL_HUP): Likewise.
9811 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9812 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9813
bc61d27c
JM
9814 [BZ #16670]
9815 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9816 before #include of <time.h>.
9817 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9818 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9819 (test-xfail-UNIX98/sched.h/conform): Likewise.
9820
302949e2
MS
98212014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9822
9823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9824 error absence of trapping exception support.
9825 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9826
a00f522a
JM
98272014-03-07 Joseph Myers <joseph@codesourcery.com>
9828
6f99f280
JM
9829 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9830 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9831 * timezone/Makefile (testdata): Move definition above include of
9832 Rules.
9833 (test-zones): New variable.
9834 (tests-special): Add zone files.
9835 (build-testdata): Use $(evaluate-test).
9836
0b20a9e8
JM
9837 * elf/Makefile (tests-special): Rename tests to end with .out.
9838 ($(objpfx)noload-mem): Likewise.
9839 ($(objpfx)tst-leaks1-mem): Likewise.
9840 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9841 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9842 $(objpfx)test-iconvconfig.out.
9843 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9844 set -e inside subshell and redirect output to file.
9845 * iconvdata/Makefile (generated): Rename tests to end with .out.
9846 Correct type.
9847 (tests-special): Rename tests to end with .out.
9848 ($(objpfx)mtrace-tst-loading): Likewise.
9849 * intl/Makefile (generated): Likewise.
9850 (tests-special): Likewise.
9851 ($(objpfx)mtrace-tst-gettext): Likewise.
9852 * misc/Makefile (generated): Likewise.
9853 (tests-special): Likewise.
9854 ($(objpfx)tst-error1-mem): Likewise.
9855 * nptl/Makefile (tests-special): Likewise.
9856 ($(objpfx)tst-stack3-mem): Likewise.
9857 (generated): Likewise.
9858 * posix/Makefile (generated): Likewise.
9859 (tests-special): Likewise.
9860 (xtests-special): Likewise.
9861 ($(objpfx)tst-fnmatch-mem): Likewise.
9862 ($(objpfx)bug-regex2-mem): Likewise.
9863 ($(objpfx)bug-regex14-mem): Likewise.
9864 ($(objpfx)bug-regex21-mem): Likewise.
9865 ($(objpfx)bug-regex31-mem): Likewise.
9866 ($(objpfx)tst-vfork3-mem): Likewise.
9867 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9868 ($(objpfx)tst-pcre-mem): Likewise.
9869 ($(objpfx)tst-boost-mem): Likewise.
9870 ($(objpfx)bug-ga2-mem): Likewise.
9871 ($(objpfx)bug-glob2-mem): Likewise.
9872 * resolv/Makefile (generate): Likewise.
9873 (tests-special): Likewise.
9874 (xtests-special): Likewise.
9875 (generated): Likewise.
9876 ($(objpfx)mtrace-tst-leaks): Likewise.
9877 ($(objpfx)mtrace-tst-leaks2): Likewise.
9878
265d52ab
JM
9879 * scripts/merge-test-results.sh: New file.
9880 * Makefile (tests-special-notdir): New variable.
9881 (tests): Run merge-test-results.sh.
9882 (xtests): Likewise.
9883 * Rules (tests-special-notdir): New variable.
9884 (xtests-special-notdir): Likewise.
9885 (tests): Run merge-test-results.sh
9886 (xtests): Likewise.
9887
54ee292d
JM
9888 * Makeconfig (test-xfail-name): New variable.
9889 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9890 compute variable name for expected failures.
9891 * conform/Makefile (conformtest-headers-data): New variable.
9892 (conformtest-standards): Likewise.
9893 (conformtest-headers-ISO): Likewise.
9894 (conformtest-headers-ISO99): Likewise.
9895 (conformtest-headers-ISO11): Likewise.
9896 (conformtest-headers-POSIX): Likewise.
9897 (conformtest-headers-XPG3): Likewise.
9898 (conformtest-headers-XPG4): Likewise.
9899 (conformtest-headers-UNIX98): Likewise.
9900 (conformtest-headers-XOPEN2K): Likewise.
9901 (conformtest-headers-POSIX2008): Likewise.
9902 (conformtest-headers-XOPEN2K8): Likewise.
9903 (conformtest-header-list-base): Likewise.
9904 (conformtest-header-list-tests): Likewise.
9905 (conformtest-header-base): Likewise.
9906 (conformtest-header-tests): Likewise.
9907 (tests-special): Add $(conformtest-header-list-tests). If
9908 [$(fast-check) && !$(cross-compiling)], add
9909 $(conformtest-header-tests) instead of
9910 $(objpfx)run-conformtest.out.
9911 (generated): Add $(conformtest-header-list-base). If
9912 [$(fast-check) && !$(cross-compiling)], add
9913 $(conformtest-header-base). Remove previous setting.
9914 ($(conformtest-header-list-tests)): New target.
9915 (test-xfail-run-conformtest): Remove variable.
9916 ($(objpfx)run-conformtest.out): Remove target.
9917 (test-xfail-ISO11/complex.h/conform): New variable.
9918 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9919 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9920 (test-xfail-XPG3/varargs.h/conform): Likewise.
9921 (test-xfail-XPG4/varargs.h/conform): Likewise.
9922 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9923 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9924 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9925 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9926 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9927 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9928 (test-xfail-XPG3/ftw.h/conform): Likewise.
9929 (test-xfail-XPG3/grp.h/conform): Likewise.
9930 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9931 (test-xfail-XPG3/limits.h/conform): Likewise.
9932 (test-xfail-XPG3/pwd.h/conform): Likewise.
9933 (test-xfail-XPG3/search.h/conform): Likewise.
9934 (test-xfail-XPG3/signal.h/conform): Likewise.
9935 (test-xfail-XPG3/stdio.h/conform): Likewise.
9936 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9937 (test-xfail-XPG3/string.h/conform): Likewise.
9938 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9939 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9940 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9941 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9942 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9943 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9944 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9945 (test-xfail-XPG3/termios.h/conform): Likewise.
9946 (test-xfail-XPG3/time.h/conform): Likewise.
9947 (test-xfail-XPG3/unistd.h/conform): Likewise.
9948 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9949 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9950 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9951 (test-xfail-XPG4/netdb.h/conform): Likewise.
9952 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9953 (test-xfail-XPG4/signal.h/conform): Likewise.
9954 (test-xfail-XPG4/stdio.h/conform): Likewise.
9955 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9956 (test-xfail-XPG4/stropts.h/conform): Likewise.
9957 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9958 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9959 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9960 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9961 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9962 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9963 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9964 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9965 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9966 (test-xfail-XPG4/termios.h/conform): Likewise.
9967 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9968 (test-xfail-XPG4/unistd.h/conform): Likewise.
9969 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9970 (test-xfail-POSIX/sched.h/conform): Likewise.
9971 (test-xfail-POSIX/signal.h/conform): Likewise.
9972 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9973 (test-xfail-POSIX/tar.h/conform): Likewise.
9974 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9975 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9976 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9977 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9978 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9979 (test-xfail-UNIX98/sched.h/conform): Likewise.
9980 (test-xfail-UNIX98/signal.h/conform): Likewise.
9981 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9982 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9983 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9984 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9985 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9986 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9987 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9988 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9989 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9990 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9991 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9992 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9993 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9994 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9995 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9996 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9997 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9998 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9999 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10000 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10001 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10002 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10003 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10004 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10005 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10006 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10007 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10008 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10009 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10010 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10011 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10012 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10013 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10014 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10015 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10016 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10017 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10018 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10019 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10020 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10021 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10022 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10023 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10024 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10025 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10026 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10027 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10028 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10029 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10030 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10031 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10032 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10033 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10034 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10035 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10036 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10037 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10038 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10039 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10040 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10041 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10042 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10043 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10044 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10045 (conformtest-cc-flags): Likewise.
10046 ($(conformtest-header-tests): New target.
10047 * conform/check-header-lists.sh: New file.
10048 * conform/run-conformtest.sh: Remove.
10049
a00f522a
JM
10050 * conform/conformtest.pl: Allow ' and \ in values given for
10051 constants.
10052 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10053 inclusion.
10054 [POSIX] (sys/types.h): Likewise.
10055 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10056 inclusion.
10057 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10058 inclusion.
10059 * conform/data/signal.h-data (SIGIO): Remove expectation.
10060 [XPG3] (SIGBUS): Do not expect.
10061 [POSIX || XPG3] (SIGPOLL): Likewise.
10062 [POSIX || XPG3] (SIGPROF): Likewise.
10063 [POSIX || XPG3] (SIGSYS): Likewise.
10064 [XPG3] (SIGTRAP): Likewise.
10065 [POSIX || XPG3] (SIGURG): Likewise.
10066 [POSIX || XPG3] (SIGVTALRM): Likewise.
10067 [POSIX || XPG3] (SIGXCPU): Likewise.
10068 [POSIX || XPG3] (SIGXFSZ): Likewise.
10069 [POSIX] (SA_SIGINFO): Expect.
10070 [XPG3] (siginfo_t): Do not expect type or contents.
10071 [POSIX] (si_pid): Do not expect element.
10072 [POSIX] (si_uid): Likewise.
10073 [POSIX] (si_addr): Likewise.
10074 [POSIX] (si_status): Likewise.
10075 [POSIX] (si_band): Likewise.
10076 [XPG4] (si_value): Likewise.
10077 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10078 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10079 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10080 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10081 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10082 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10083 [POSIX || XPG3] (ILL_COPROC): Likewise.
10084 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10085 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10086 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10087 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10088 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10089 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10090 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10091 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10092 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10093 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10094 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10095 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10096 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10097 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10098 [POSIX || XPG3] (CLD_EXITED): Likewise.
10099 [POSIX || XPG3] (CLD_KILLED): Likewise.
10100 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10101 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10102 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10103 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10104 [POSIX || XPG3] (POLL_IN): Likewise.
10105 [POSIX || XPG3] (POLL_OUT): Likewise.
10106 [POSIX || XPG3] (POLL_MSG): Likewise.
10107 [POSIX || XPG3] (POLL_ERR): Likewise.
10108 [POSIX || XPG3] (POLL_PRI): Likewise.
10109 [POSIX || XPG3] (POLL_HUP): Likewise.
10110 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10111 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10112 (SIG*): Do not allow.
10113 [XPG3] (si_*): Likewise.
10114 [XPG3] (SI_*): Likewise.
10115 [XPG3 || XPG4] (sigev_*): Likewise.
10116 [XPG3 || XPG4] (SIGEV_*): Likewise.
10117 [XPG3 || XPG4] (sival_*): Likewise.
10118 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10119 [POSIX || XPG3] (BUS_*): Likewise.
10120 [POSIX || XPG3] (CLD_*): Likewise.
10121 [POSIX || XPG3] (FPE_*): Likewise.
10122 [POSIX || XPG3] (ILL_*): Likewise.
10123 [POSIX || XPG3] (POLL_*): Likewise.
10124 [POSIX || XPG3] (SEGV_*): Likewise.
10125 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10126 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10127 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10128 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10129 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10130 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10131 Specify type and value.
10132 (TVERSLEN): Likewise.
10133 (REGTYPE): Likewise.
10134 (AREGTYPE): Likewise.
10135 (LNKTYPE): Likewise.
10136 (SYMTYPE): Likewise.
10137 (CHRTYPE): Likewise.
10138 (BLKTYPE): Likewise.
10139 (DIRTYPE): Likewise.
10140 (FIFOTYPE): Likewise.
10141 (CONTTYPE): Likewise.
10142 (TSUID): Likewise.
10143 (TSGID): Likewise.
10144 (TSVTX): Likewise.
10145 (TUREAD): Likewise.
10146 (TUWRITE): Likewise.
10147 (TUEXEC): Likewise.
10148 (TGREAD): Likewise.
10149 (TGWRITE): Likewise.
10150 (TGEXEC): Likewise.
10151 (TOREAD): Likewise.
10152 (TOWRITE): Likewise.
10153 (TOEXEC): Likewise.
10154 [POSIX] (TSVTX): Expect constant.
10155
aa97dee1
JM
101562014-03-06 Joseph Myers <joseph@codesourcery.com>
10157
f214606a
JM
10158 * Makefile (tests): Change dependencies to ....
10159 (tests-special): ... additions to this variable.
10160 (tests): Depend on $(tests-special).
10161 * Makerules (check-abi-list): New variable.
10162 (check-abi): Depend on $(check-abi-list).
10163 [$(subdir) = elf] (tests-special): Add
10164 $(objpfx)check-abi-libc.out.
10165 [$(build-shared) = yes && subdir] (tests-special): Add
10166 $(check-abi-list).
10167 [$(build-shared) = yes && subdir] (tests): Do not depend on
10168 check-abi.
10169 * Rules (tests): Depend on $(tests-special).
10170 (xtests): Depend on $(xtests-special).
10171 * catgets/Makefile (tests): Change dependencies to ....
10172 (tests-special): ... additions to this variable.
10173 * conform/Makefile (tests): Change dependencies to ....
10174 (tests-special): ... additions to this variable.
10175 * elf/Makefile (tests): Change dependencies to ....
10176 (tests-special): ... additions to this variable.
10177 * grp/Makefile (tests): Change dependencies to ....
10178 (tests-special): ... additions to this variable.
10179 * iconv/Makefile (xtests): Change dependencies to ....
10180 (xtests-special): ... additions to this variable.
10181 * iconvdata/Makefile (tests): Change dependencies to ....
10182 (tests-special): ... additions to this variable.
10183 * intl/Makefile (tests): Change dependencies to ....
10184 (tests-special): ... additions to this variable. Also add
10185 $(objpfx)tst-gettext.out.
10186 * io/Makefile (tests): Change dependencies to ....
10187 (tests-special): ... additions to this variable.
10188 * libio/Makefile (tests): Change dependencies to ....
10189 (tests-special): ... additions to this variable.
10190 * malloc/Makefile (tests): Change dependencies to ....
10191 (tests-special): ... additions to this variable.
10192 * misc/Makefile (tests): Change dependencies to ....
10193 (tests-special): ... additions to this variable.
10194 * nptl/Makefile (tests): Change dependencies to ....
10195 (tests-special): ... additions to this variable.
10196 * nptl_db/Makefile (tests): Change dependencies to ....
10197 (tests-special): ... additions to this variable.
10198 * posix/Makefile (tests): Change dependencies to ....
10199 (tests-special): ... additions to this variable.
10200 (xtests): Change dependencies to ....
10201 (xtests-special): ... additions to this variable.
10202 * resolv/Makefile (tests): Change dependencies to ....
10203 (tests-special): ... additions to this variable.
10204 (xtests): Change dependencies to ....
10205 (xtests-special): ... additions to this variable.
10206 * stdio-common/Makefile (tests): Change dependencies to ....
10207 (tests-special): ... additions to this variable.
10208 (do-tst-unbputc): Remove target.
10209 (do-tst-printf): Likewise.
10210 * stdlib/Makefile (tests): Change dependencies to ....
10211 (tests-special): ... additions to this variable.
10212 * string/Makefile (tests): Change dependencies to ....
10213 (tests-special): ... additions to this variable.
10214 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10215 (tests-special): ... additions to this variable.
10216
81700b53
JM
10217 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10218 whole file.
10219 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10220 whole file.
10221 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10222 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10223
2ea18461
JM
10224 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10225 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10226 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10227 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10228 * conform/data/libgen.h-data [XPG3]: Likewise.
10229 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10230 * conform/data/ndbm.h-data [XPG3]: Likewise.
10231 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10232 * conform/data/netdb.h-data [XPG3]: Likewise.
10233 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10234 * conform/data/poll.h-data [XPG3]: Likewise.
10235 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10236 * conform/data/strings.h-data [XPG3]: Likewise.
10237 * conform/data/stropts.h-data [XPG3]: Likewise.
10238 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10239 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10240 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10241 Likewise.
10242 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10243 * conform/data/sys/time.h-data [XPG3]: Likewise.
10244 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10245 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10246 * conform/data/sys/un.h-data [XPG3]: Likewise.
10247 * conform/data/syslog.h-data [XPG3]: Likewise.
10248 * conform/data/ucontext.h-data [XPG3]: Likewise.
10249 * conform/data/utmpx.h-data [XPG3]: Likewise.
10250 * conform/data/varargs.h-data [UNIX98]: Enable file.
10251
355bc986
JM
10252 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10253
215db402
JM
10254 * math/libm-test.inc (struct test_f_f_data): Move expected results
10255 into structure for each rounding mode.
10256 (struct test_ff_f_data): Likewise.
10257 (struct test_ff_f_data_nexttoward): Likewise.
10258 (struct test_fi_f_data): Likewise.
10259 (struct test_fl_f_data): Likewise.
10260 (struct test_if_f_data): Likewise.
10261 (struct test_fff_f_data): Likewise.
10262 (struct test_c_f_data): Likewise.
10263 (struct test_f_f1_data): Likewise.
10264 (struct test_fF_f1_data): Likewise.
10265 (struct test_ffI_f1_data): Likewise.
10266 (struct test_c_c_data): Likewise.
10267 (struct test_cc_c_data): Likewise.
10268 (struct test_f_i_data): Likewise.
10269 (struct test_ff_i_data): Likewise.
10270 (struct test_f_l_data): Likewise.
10271 (struct test_f_L_data): Likewise.
10272 (struct test_fFF_11_data): Likewise.
10273 (RM_): New macro.
10274 (RM_FE_DOWNWARD): Likewise.
10275 (RM_FE_TONEAREST): Likewise.
10276 (RM_FE_TOWARDZERO): Likewise.
10277 (RM_FE_UPWARD): Likewise.
10278 (RUN_TEST_LOOP_f_f): Update references to expected results.
10279 (RUN_TEST_LOOP_2_f): Likewise.
10280 (RUN_TEST_LOOP_fff_f): Likewise.
10281 (RUN_TEST_LOOP_c_f): Likewise.
10282 (RUN_TEST_LOOP_f_f1): Likewise.
10283 (RUN_TEST_LOOP_fF_f1): Likewise.
10284 (RUN_TEST_LOOP_fI_f1): Likewise.
10285 (RUN_TEST_LOOP_ffI_f1): Likewise.
10286 (RUN_TEST_LOOP_c_c): Likewise.
10287 (RUN_TEST_LOOP_cc_c): Likewise.
10288 (RUN_TEST_LOOP_f_i): Likewise.
10289 (RUN_TEST_LOOP_f_i_tg): Likewise.
10290 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10291 (RUN_TEST_LOOP_f_b): Likewise.
10292 (RUN_TEST_LOOP_f_b_tg): Likewise.
10293 (RUN_TEST_LOOP_f_l): Likewise.
10294 (RUN_TEST_LOOP_f_L): Likewise.
10295 (RUN_TEST_LOOP_fFF_11): Likewise.
10296 * math/gen-libm-test.pl (parse_args): Output four copies of
10297 expected results for each test.
10298
67737b8f
JM
10299 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10300 (__ASSUME_UTIMES): Remove.
10301 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10302 (__ASSUME_UTIMES): Likewise.
10303
aa97dee1
JM
10304 * math/gen-auto-libm-tests.c: Update comment on output format.
10305 (output_for_one_input_case): Generate before-rounding and
10306 after-rounding information as conditions on output flags not
10307 floating-point format.
10308 * math/auto-libm-test-out: Regenerated.
10309 * math/gen-libm-test.pl (cond_value): New function.
10310 (or_cond_value): Use cond_value.
10311 (generate_testfile): Handle conditional exceptions.
10312
e6b6a857
JM
103132014-03-05 Joseph Myers <joseph@codesourcery.com>
10314
2f0a0f44
JM
10315 * math/libm-test.inc (max_valid_error): New variable.
10316 (init_max_error): Take new argument specifying whether function
10317 results are exactly determined. Set max_valid_error and bound
10318 other variables for errors based on this argument.
10319 (set_max_error): Do not record results above max_valid_error.
10320 (check_float_internal): Only accept errors of up to 0.5ulps if
10321 also at most max_valid_error.
10322 (START): Take new argument EXACT and pass it to init_max_error.
10323 (acos_test): Update call to START.
10324 (acos_test_tonearest): Likewise.
10325 (acos_test_towardzero): Likewise.
10326 (acos_test_downward): Likewise.
10327 (acos_test_upward): Likewise.
10328 (acosh_test): Likewise.
10329 (asin_test): Likewise.
10330 (asin_test_tonearest): Likewise.
10331 (asin_test_towardzero): Likewise.
10332 (asin_test_downward): Likewise.
10333 (asin_test_upward): Likewise.
10334 (asinh_test): Likewise.
10335 (atan_test): Likewise.
10336 (atanh_test): Likewise.
10337 (atan2_test): Likewise.
10338 (cabs_test): Likewise.
10339 (cacos_test): Likewise.
10340 (cacosh_test): Likewise.
10341 (carg_test): Likewise.
10342 (casin_test): Likewise.
10343 (casinh_test): Likewise.
10344 (catan_test): Likewise.
10345 (catanh_test): Likewise.
10346 (cbrt_test): Likewise.
10347 (ccos_test): Likewise.
10348 (ccosh_test): Likewise.
10349 (ceil_test): Likewise.
10350 (cexp_test): Likewise.
10351 (cimag_test): Likewise.
10352 (clog_test): Likewise.
10353 (clog10_test): Likewise.
10354 (conj_test): Likewise.
10355 (copysign_test): Likewise.
10356 (cos_test): Likewise.
10357 (cos_test_tonearest): Likewise.
10358 (cos_test_towardzero): Likewise.
10359 (cos_test_downward): Likewise.
10360 (cos_test_upward): Likewise.
10361 (cosh_test): Likewise.
10362 (cosh_test_tonearest): Likewise.
10363 (cosh_test_towardzero): Likewise.
10364 (cosh_test_downward): Likewise.
10365 (cosh_test_upward): Likewise.
10366 (cpow_test): Likewise.
10367 (cproj_test): Likewise.
10368 (creal_test): Likewise.
10369 (csin_test): Likewise.
10370 (csinh_test): Likewise.
10371 (csqrt_test): Likewise.
10372 (ctan_test): Likewise.
10373 (ctan_test_tonearest): Likewise.
10374 (ctan_test_towardzero): Likewise.
10375 (ctan_test_downward): Likewise.
10376 (ctan_test_upward): Likewise.
10377 (ctanh_test): Likewise.
10378 (ctanh_test_tonearest): Likewise.
10379 (ctanh_test_towardzero): Likewise.
10380 (ctanh_test_downward): Likewise.
10381 (ctanh_test_upward): Likewise.
10382 (erf_test): Likewise.
10383 (erfc_test): Likewise.
10384 (exp_test): Likewise.
10385 (exp_test_tonearest): Likewise.
10386 (exp_test_towardzero): Likewise.
10387 (exp_test_downward): Likewise.
10388 (exp_test_upward): Likewise.
10389 (exp10_test): Likewise.
10390 (exp10_test_tonearest): Likewise.
10391 (exp10_test_towardzero): Likewise.
10392 (exp10_test_downward): Likewise.
10393 (exp10_test_upward): Likewise.
10394 (pow10_test): Likewise.
10395 (exp2_test): Likewise.
10396 (expm1_test): Likewise.
10397 (expm1_test_tonearest): Likewise.
10398 (expm1_test_towardzero): Likewise.
10399 (expm1_test_downward): Likewise.
10400 (expm1_test_upward): Likewise.
10401 (fabs_test): Likewise.
10402 (fdim_test): Likewise.
10403 (floor_test): Likewise.
10404 (fma_test): Likewise.
10405 (fma_test_towardzero): Likewise.
10406 (fma_test_downward): Likewise.
10407 (fma_test_upward): Likewise.
10408 (fmax_test): Likewise.
10409 (fmin_test): Likewise.
10410 (fmod_test): Likewise.
10411 (fpclassify_test): Likewise.
10412 (frexp_test): Likewise.
10413 (hypot_test): Likewise.
10414 (ilogb_test): Likewise.
10415 (isfinite_test): Likewise.
10416 (finite_test): Likewise.
10417 (isgreater_test): Likewise.
10418 (isgreaterequal_test): Likewise.
10419 (isinf_test): Likewise.
10420 (isless_test): Likewise.
10421 (islessequal_test): Likewise.
10422 (islessgreater_test): Likewise.
10423 (isnan_test): Likewise.
10424 (isnormal_test): Likewise.
10425 (issignaling_test): Likewise.
10426 (isunordered_test): Likewise.
10427 (j0_test): Likewise.
10428 (j1_test): Likewise.
10429 (jn_test): Likewise.
10430 (ldexp_test): Likewise.
10431 (lgamma_test): Likewise.
10432 (gamma_test): Likewise.
10433 (lrint_test): Likewise.
10434 (lrint_test_tonearest): Likewise.
10435 (lrint_test_towardzero): Likewise.
10436 (lrint_test_downward): Likewise.
10437 (lrint_test_upward): Likewise.
10438 (llrint_test): Likewise.
10439 (llrint_test_tonearest): Likewise.
10440 (llrint_test_towardzero): Likewise.
10441 (llrint_test_downward): Likewise.
10442 (llrint_test_upward): Likewise.
10443 (log_test): Likewise.
10444 (log10_test): Likewise.
10445 (log1p_test): Likewise.
10446 (log2_test): Likewise.
10447 (logb_test): Likewise.
10448 (logb_test_downward): Likewise.
10449 (lround_test): Likewise.
10450 (llround_test): Likewise.
10451 (modf_test): Likewise.
10452 (nearbyint_test): Likewise.
10453 (nextafter_test): Likewise.
10454 (nexttoward_test): Likewise.
10455 (pow_test): Likewise.
10456 (pow_test_tonearest): Likewise.
10457 (pow_test_towardzero): Likewise.
10458 (pow_test_downward): Likewise.
10459 (pow_test_upward): Likewise.
10460 (remainder_test): Likewise.
10461 (drem_test): Likewise.
10462 (remainder_test_tonearest): Likewise.
10463 (drem_test_tonearest): Likewise.
10464 (remainder_test_towardzero): Likewise.
10465 (drem_test_towardzero): Likewise.
10466 (remainder_test_downward): Likewise.
10467 (drem_test_downward): Likewise.
10468 (remainder_test_upward): Likewise.
10469 (drem_test_upward): Likewise.
10470 (remquo_test): Likewise.
10471 (rint_test): Likewise.
10472 (rint_test_tonearest): Likewise.
10473 (rint_test_towardzero): Likewise.
10474 (rint_test_downward): Likewise.
10475 (rint_test_upward): Likewise.
10476 (round_test): Likewise.
10477 (scalb_test): Likewise.
10478 (scalbn_test): Likewise.
10479 (scalbln_test): Likewise.
10480 (signbit_test): Likewise.
10481 (sin_test): Likewise.
10482 (sin_test_tonearest): Likewise.
10483 (sin_test_towardzero): Likewise.
10484 (sin_test_downward): Likewise.
10485 (sin_test_upward): Likewise.
10486 (sincos_test): Likewise.
10487 (sinh_test): Likewise.
10488 (sinh_test_tonearest): Likewise.
10489 (sinh_test_towardzero): Likewise.
10490 (sinh_test_downward): Likewise.
10491 (sinh_test_upward): Likewise.
10492 (sqrt_test): Likewise.
10493 (sqrt_test_tonearest): Likewise.
10494 (sqrt_test_towardzero): Likewise.
10495 (sqrt_test_downward): Likewise.
10496 (sqrt_test_upward): Likewise.
10497 (tan_test): Likewise.
10498 (tan_test_tonearest): Likewise.
10499 (tan_test_towardzero): Likewise.
10500 (tan_test_downward): Likewise.
10501 (tan_test_upward): Likewise.
10502 (tanh_test): Likewise.
10503 (tgamma_test): Likewise.
10504 (trunc_test): Likewise.
10505 (y0_test): Likewise.
10506 (y1_test): Likewise.
10507 (yn_test): Likewise.
10508 (significand_test): Likewise.
10509
e6b6a857
JM
10510 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10511 individual tests in comment.
10512 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10513 (prev_max_error): New variable.
10514 (prev_real_max_error): Likewise.
10515 (prev_imag_max_error): Likewise.
10516 (compare_ulp_data): Don't refer to test names in comment.
10517 (find_test_ulps): Remove function.
10518 (find_function_ulps): Likewise.
10519 (find_complex_function_ulps): Likewise.
10520 (init_max_error): Take function name as argument. Look up ulps
10521 for that function.
10522 (print_ulps): Remove function.
10523 (print_max_error): Use prev_max_error instead of calling
10524 find_function_ulps.
10525 (print_complex_max_error): Use prev_real_max_error and
10526 prev_imag_max_error instead of calling find_complex_function_ulps.
10527 (check_float_internal): Take max_ulp parameter instead of calling
10528 find_test_ulps. Don't call print_ulps.
10529 (check_float): Update call to check_float_internal.
10530 (check_complex): Update calls to check_float_internal.
10531 (START): Pass argument to init_max_error.
10532 * math/gen-libm-test.pl (%results): Don't include "kind"
10533 information.
10534 (parse_ulps): Don't handle ulps of individual tests.
10535 (print_ulps_file): Likewise.
10536 (output_ulps): Likewise.
10537 * math/README.libm-test: Update.
10538 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10539 individual tests.
10540 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10541 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10542 * sysdeps/arm/libm-test-ulps: Likewise.
10543 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10544 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10545 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10546 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10547 * sysdeps/microblaze/libm-test-ulps: Likewise.
10548 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10549 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10551 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10553 * sysdeps/sh/libm-test-ulps: Likewise.
10554 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10555 * sysdeps/tile/libm-test-ulps: Likewise.
10556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10557
45adef3c
JM
105582014-03-04 Joseph Myers <joseph@codesourcery.com>
10559
10560 * math/libm-test.inc (print_complex_max_error): Check separately
10561 whether real and imaginary errors are within allowed range and
10562 pass 0 to print_complex_function_ulps instead of value within
10563 allowed range.
10564
000232b9
SP
105652014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10566
d4b17258
SP
10567 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10568 formatting.
10569 (get_handles_fopen): Likewise.
10570 (do_write_test): Likewise.
10571
091eff71
SP
10572 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10573
fa3cd248
SP
10574 * libio/fileops.c (do_ftell): Use cached offset when
10575 available.
10576 * libio/iofwide.c (do_ftell_wide): Likewise.
10577 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10578 _IO_file_attach.
10579 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10580
000232b9
SP
10581 [BZ #16532]
10582 * libio/libioP.h (get_file_offset): New function.
10583 * libio/fileops.c (get_file_offset): Likewise.
10584 (do_ftell): Likewise.
10585 (_IO_new_file_seekoff): Split out ftell logic.
10586 * libio/wfileops.c (do_ftell_wide): Likewise.
10587 (_IO_wfile_seekoff): Split out ftell logic.
10588 * libio/tst-ftell-active-handler.c: New test case.
10589 * libio/Makefile (tests): Add it.
10590
116f4d1a
RM
105912014-03-03 Roland McGrath <roland@hack.frob.com>
10592
10593 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10594 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10595
532a6035
SP
105962014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10597
10598 [BZ #16639]
10599 * nscd/connections.c (nscd_init): Call do_exit.
10600 (start_threads): Call do_exit and notify_parent.
10601 (begin_drop_privileges): Call do_exit.
10602 (finish_drop_privileges): Likewise.
10603 * nscd/selinux.c (preserve_capabilities): Likewise.
10604 (install_real_capabilities): Likewise.
10605 (nscd_selinux_enabled): Likewise.
10606 (avc_create_thread): Likewise.
10607 (avc_alloc_lock): Likewise.
10608 (nscd_avc_init): Likewise.
10609 * nscd/nscd.c (parent_fd): New static variable.
10610 (main): Create a pipe between parent and child processes.
10611 Skip closing parent_fd.
10612 (monitor_child): New function.
10613 (do_exit): Likewise.
10614 (notify_parent): Likewise.
10615 * nscd/nscd.h (notify_parent): Likewise.
10616 (do_exit): Likewise.
10617
d6285c9f
CD
106182014-03-03 Carlos O'Donell <carlos@redhat.com>
10619
10620 * malloc/malloc.c (__libc_calloc): Revert last change.
10621
2b85d2a0
AZ
106222014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10623
10624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10625
c7debbdf
RS
106262014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10627
10628 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10630 implementation.
10631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10632 (__libc_ifunc_impl_list): Likewise.
10633 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10634 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10635 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10636 * string/strrchr.c: Define STRRCHR.
10637
235eed86
OB
106382014-02-28 Ondřej Bílka <neleai@seznam.cz>
10639
10640 * benchtest/bench-strtok.c (simple_strtok): Delete.
10641 (strtok_string): Use as benchmark.
10642 * string/strtok (STRTOK): New macro.
10643
8e25d1e7
CD
106442014-02-28 Carlos O'Donell <carlos@redhat.com>
10645
ef563f92
CD
10646 * manual/threads.texi: Add header and standard comments to all
10647 functions.
10648
8e25d1e7
CD
10649 * elf/dl-lookup.c (check_match): New function.
10650 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10651 (do_lookup_x): Remove nested function check_match. Use non-nested
10652 function check_match.
10653
ff71cc37
RM
106542014-02-28 Roland McGrath <roland@hack.frob.com>
10655
f08e9a26
RM
10656 * csu/Makefile (generated, before-compile): Use += rather than =.
10657 * catgets/Makefile (generated, generated-dirs): Likewise.
10658 * debug/Makefile (generated): Likewise.
10659 * dlfcn/Makefile (generated): Likewise.
10660 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10661 * iconvdata/Makefile (before-compile, generated): Likewise.
10662 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10663 * libio/Makefile (generated): Likewise.
10664 * malloc/Makefile (generated): Likewise.
10665 * manual/Makefile (generated, generated-dirs): Likewise.
10666 * misc/Makefile (generated): Likewise.
10667 * posix/Makefile (generated): Likewise.
10668 * resolv/Makefile (generated): Likewise.
10669 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10670 * timezone/Makefile (generated, generated-dirs): Likewise.
10671
ff71cc37
RM
10672 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10673
fe13a20c
AZ
106742014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10675
57f41c40
AS
10676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10677 power8 implementation.
10678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10679 file: POWER8 llround ifunc implementation.
10680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10681 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10682 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10683 POWER8 llround implementation.
10684
57f41c40
AS
10685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10686 power8 implementation.
10687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10688 file: POWER8 llrint ifunc implementation.
10689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10690 Add POWER8 implementation.
1ad8950a
AZ
10691 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10692 POWER8 llrint implementation.
10693
57f41c40
AS
10694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10695 power8 implementation.
10696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10697 file: POWER8 finite ifunc implementation.
10698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10699 Add POWER8 implementation.
cac626d6
AZ
10700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10701 Likewise.
10702 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10703 POWER8 finite implementation.
10704 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10705
57f41c40
AS
10706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10707 power8 implementation.
10708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10709 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10711 POWER8 implementation.
10712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10713 Likewise.
57f41c40
AS
10714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10715 isinf implementation.
4393fc11
AZ
10716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10717
57f41c40
AS
10718 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10719 (INIT_ARCH): Add hwcap2 initialization.
10720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10721 power8 implementation.
10722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10723 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10725 POWER8 implementation.
10726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10727 Likewise.
57f41c40
AS
10728 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10729 isnan implementation.
487972ae
AZ
10730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10731
7d92b787
JY
107322014-02-27 Joey Ye <joey.ye@arm.com>
10733
10734 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10735 (_FP_NANFRAC_Q): Set to zero.
10736
1cadc858
SP
107372014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10738
10739 [BZ #16623]
10740 * math/auto-libm-test-in: New test inputs.
10741 * math/auto-libm-test-out: Regenerate.
10742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10743 and DA.
10744 (__cos): Likewise.
10745 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10746
f8c17e79
JM
107472014-02-27 Joseph Myers <joseph@codesourcery.com>
10748
10749 * scripts/evaluate-test.sh: Take new argument indicating whether
10750 failure is expected.
10751 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10752 indicating whether failure is expected.
10753 * conform/Makefile (test-xfail-run-conformtest): New variable.
10754 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10755 level.
10756 * posix/Makefile (test-xfail-annexc): New variable.
10757 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10758
a5f891ac
JM
107592014-02-26 Joseph Myers <joseph@codesourcery.com>
10760
10761 * argp/Makefile: Include Makeconfig immediately after defining
10762 subdir.
10763 * assert/Makefile: Likewise.
10764 * benchtests/Makefile: Likewise.
10765 * catgets/Makefile: Likewise.
10766 * conform/Makefile: Likewise.
10767 * crypt/Makefile: Likewise.
10768 * csu/Makefile: Likewise.
10769 (all): Remove target.
10770 * ctype/Makefile: Include Makeconfig immediately after defining
10771 subdir.
10772 * debug/Makefile: Likewise.
10773 * dirent/Makefile: Likewise.
10774 * dlfcn/Makefile: Likewise.
10775 * gmon/Makefile: Likewise.
10776 * gnulib/Makefile: Likewise.
10777 * grp/Makefile: Likewise.
10778 * gshadow/Makefile: Likewise.
10779 * hesiod/Makefile: Likewise.
10780 * hurd/Makefile: Likewise.
10781 (all): Remove target.
10782 * iconvdata/Makefile: Include Makeconfig immediately after
10783 defining subdir.
10784 * inet/Makefile: Likewise.
10785 * intl/Makefile: Likewise.
10786 * io/Makefile: Likewise.
10787 * libio/Makefile: Likewise.
10788 (all): Remove target.
10789 * locale/Makefile: Include Makeconfig immediately after defining
10790 subdir.
10791 * login/Makefile: Likewise.
10792 * mach/Makefile: Likewise.
10793 (all): Remove target.
10794 * malloc/Makefile: Include Makeconfig immediately after defining
10795 subdir.
10796 (all): Remove target.
10797 * manual/Makefile: Include Makeconfig immediately after defining
10798 subdir.
10799 * math/Makefile: Likewise.
10800 * misc/Makefile: Likewise.
10801 * nis/Makefile: Likewise.
10802 * nss/Makefile: Likewise.
10803 * po/Makefile: Likewise.
10804 (all): Remove target.
10805 * posix/Makefile: Include Makeconfig immediately after defining
10806 subdir.
10807 * pwd/Makefile: Likewise.
10808 * resolv/Makefile: Likewise.
10809 * resource/Makefile: Likewise.
10810 * rt/Makefile: Likewise.
10811 * setjmp/Makefile: Likewise.
10812 * shadow/Makefile: Likewise.
10813 * signal/Makefile: Likewise.
10814 * socket/Makefile: Likewise.
10815 * soft-fp/Makefile: Likewise.
10816 * stdio-common/Makefile: Likewise.
10817 * stdlib/Makefile: Likewise.
10818 * streams/Makefile: Likewise.
10819 * string/Makefile: Likewise.
10820 * sunrpc/Makefile: Likewise.
10821 (all): Remove target.
10822 * sysvipc/Makefile: Include Makeconfig immediately after defining
10823 subdir.
10824 * termios/Makefile: Likewise.
10825 * time/Makefile: Likewise.
10826 * timezone/Makefile: Likewise.
10827 (all): Remove target.
10828 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10829 subdir.
10830 * wctype/Makefile: Likewise.
10831
5b456e9d
SE
108322014-02-26 Steve Ellcey <sellcey@mips.com>
10833
10834 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10835 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10836 (libc_feholdexcept_setround_mips): Ditto.
10837 (libc_feholdsetround): New.
10838 (libc_feholdsetroundf): New.
10839 (libc_feholdsetroundl): New.
10840 (libc_feupdateenv_test_mips): New.
10841 (libc_feupdateenv_test): New.
10842 (libc_feupdateenv_testf): New.
10843 (libc_feupdateenv_testl): New.
10844 (libc_feresetround): New.
10845 (libc_feresetroundf): New.
10846 (libc_feresetroundl): New.
10847 (libc_fetestexcept_mips): New.
10848 (libc_fetestexcept): New.
10849 (libc_fetestexceptf): New.
10850 (libc_fetestexceptl): New.
10851 (HAVE_RM_CTX): New.
10852 (libc_feholdexcept_setround_mips_ctx): New.
10853 (libc_feholdexcept_setround_ctx): New.
10854 (libc_feholdexcept_setroundf_ctx): New.
10855 (libc_feholdexcept_setroundl_ctx): New.
10856 (libc_fesetenv_mips_ctx): New.
10857 (libc_fesetenv_ctx): New.
10858 (libc_fesetenv_ctxf): New.
10859 (libc_fesetenv_ctxl): New.
10860 (libc_feupdateenv_mips_ctx): New.
10861 (libc_feupdateenv_ctx): New.
10862 (libc_feupdateenvf_ctx): New.
10863 (libc_feupdateenvl_ctx): New.
10864 (libc_feholdsetround_mips_ctx): New.
10865 (libc_feholdsetround_ctx): New.
10866 (libc_feholdsetroundf_ctx): New.
10867 (libc_feholdsetroundl_ctx): New.
10868 (libc_feresetround_mips_ctx): New.
10869 (libc_feresetround_ctx): New.
10870 (libc_feresetroundf_ctx): New.
10871 (libc_feresetroundl_ctx): New.
10872
085d0e35
CD
108732014-02-26 Carlos O'Donell <carlos@redhat.com>
10874
f067bf1f
CD
10875 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10876
085d0e35
CD
10877 * manual/ipc.texi: New file.
10878 * manual/Makefile (chapters): Add ipc.
10879 * manual/job.texi: Add "Inter-Process Communication" to next.
10880 * manual/process.texi: Add "Inter-Process Communication" to prev.
10881
86e58c08
AZ
108822014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10883
10884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10885
4248f0da
OB
108862014-02-26 Ondřej Bílka <neleai@seznam.cz>
10887
10888 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10889
cf822e3c
OB
10890 * manual/arith.texi: Fix spaces after sentences.
10891 * manual/charset.texi: Likewise.
10892 * manual/errno.texi: Likewise.
10893 * manual/install.texi: Likewise.
10894 * manual/llio.texi: Likewise.
10895 * manual/locale.texi: Likewise.
10896 * manual/maint.texi: Likewise.
10897 * manual/math.texi: Likewise.
10898 * manual/memory.texi: Likewise.
10899 * manual/message.texi: Likewise.
10900 * manual/probes.texi: Likewise.
10901 * manual/resource.texi: Likewise.
10902 * manual/signal.texi: Likewise.
10903 * manual/socket.texi: Likewise.
10904 * manual/stdio.texi: Likewise.
10905 * manual/string.texi: Likewise.
10906 * manual/time.texi: Likewise.
10907 * manual/users.texi: Likewise.
10908
ade40b10
CD
109092014-02-25 Carlos O'Donell <carlos@redhat.com>
10910
10911 [BZ #16632]
10912 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10913 _DEFAULT_SOURCE is defined.
10914
d0503676
CD
109152014-02-25 Ulrich Drepper <drepper@gmail.com>
10916 Carlos O'Donell <carlos@redhat.com>
10917
10918 [BZ #16613]
10919 * elf/dl-tls.c (_dl_count_modids): New function.
10920 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10921 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10922 audit library and increment generation counter.
10923 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10924 * elf/tst-audit9.c: New file.
10925 * elf/tst-auditmod9a.c: New file.
10926 * elf/tst-auditmod9b.c: New file.
10927 * elf/Makefile: Add rules to build and run tst-audit9.
10928
4cbf380c
FW
109292014-02-25 Florian Weimer <fweimer@redhat.com>
10930
10931 [BZ #15347]
10932 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10933
80a56cc3
WN
109342014-02-25 Will Newton <will.newton@linaro.org>
10935
10936 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10937 (__longjmp): Restore sp and lr before restoring callee
10938 saved registers. Add longjmp and longjmp_target
10939 SystemTap probe point.
10940 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10941 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10942 Define to zero to match jmpbuf layout.
10943 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10944 (__sigsetjmp): Save sp and lr before saving callee
10945 saved registers. Add setjmp SystemTap probe point.
10946
3ea0f74e
SL
109472014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10948
10949 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10950
b04acb26
AS
109512014-02-24 Andreas Schwab <schwab@suse.de>
10952
10953 [BZ #15804]
10954 * elf/pldd.c (wait_for_ptrace_stop): New function.
10955 (main): Call it after attaching.
10956
098ad55c
RM
109572014-02-22 Roland McGrath <roland@hack.frob.com>
10958
d4ec6ae1
RM
10959 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10960 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10961 Versions files is now verboten.
10962 * hurd/Versions (libc: GLIBC_2.0):
10963 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10964 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10965 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10966 * mach/Versions: Likewise.
10967
098ad55c
RM
10968 * csu/Versions: Remove unused %include.
10969 * resolv/Versions: Likewise.
10970
acd7f096
JM
109712014-02-21 Joseph Myers <joseph@codesourcery.com>
10972
f0881698
JM
10973 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10974 ($(objpfx)check-local-headers.out): Likewise.
10975 ($(objpfx)begin-end-check.out): Likewise.
10976 * Makerules (check-abi-%.out): Likewise.
10977 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10978 ($(objpfx)test2.cat): Likewise.
10979 ($(objpfx)de/libc.cat): Likewise.
10980 ($(objpfx)test-gencat.out): Likewise.
10981 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10982 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10983 ($(objpfx)noload-mem): Likewise.
10984 ($(objpfx)tst-pathopt.out): Likewise.
10985 ($(objpfx)tst-rtld-load-self.out): Likewise.
10986 ($(objpfx)tst-array1-cmp.out): Likewise.
10987 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10988 ($(objpfx)tst-array2-cmp.out): Likewise.
10989 ($(objpfx)tst-array3-cmp.out): Likewise.
10990 ($(objpfx)tst-array4-cmp.out): Likewise.
10991 ($(objpfx)tst-array5-cmp.out): Likewise.
10992 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10993 ($(objpfx)check-textrel.out): Likewise.
10994 ($(objpfx)check-execstack.out): Likewise.
10995 ($(objpfx)check-localplt.out): Likewise.
10996 ($(objpfx)order2-cmp.out): Likewise.
10997 ($(objpfx)tst-leaks1-mem): Likewise.
10998 ($(objpfx)tst-leaks1-static-mem): Likewise.
10999 ($(objpfx)tst-initorder-cmp.out): Likewise.
11000 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11001 ($(objpfx)tst-unused-dep.out): Likewise.
11002 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11003 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11004 * iconv/Makefile (test-iconvconfig): Likewise.
11005 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11006 ($(objpfx)iconv-test.out): Likewise.
11007 ($(objpfx)tst-tables.out): Likewise.
11008 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11009 ($(objpfx)tst-gettext.out): Likewise.
11010 ($(objpfx)tst-translit.out): Likewise.
11011 ($(objpfx)tst-gettext2.out): Likewise.
11012 ($(objpfx)tst-gettext4.out): Likewise.
11013 ($(objpfx)tst-gettext6.out): Likewise.
11014 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11015 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11016 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11017 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11018 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11019 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11020 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11021 ($(objpfx)wordexp-tst.out): Likewise.
11022 ($(objpfx)annexc.out): Likewise.
11023 ($(objpfx)tst-fnmatch-mem): Likewise.
11024 ($(objpfx)bug-regex2-mem): Likewise.
11025 ($(objpfx)bug-regex14-mem): Likewise.
11026 ($(objpfx)bug-regex21-mem): Likewise.
11027 ($(objpfx)bug-regex31-mem): Likewise.
11028 ($(objpfx)tst-vfork3-mem): Likewise.
11029 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11030 ($(objpfx)tst-pcre-mem): Likewise.
11031 ($(objpfx)tst-boost-mem): Likewise.
11032 ($(objpfx)tst-getconf.out): Likewise.
11033 ($(objpfx)bug-ga2-mem): Likewise.
11034 ($(objpfx)bug-glob2-mem): Likewise.
11035 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11036 ($(objpfx)mtrace-tst-leaks2): Likewise.
11037 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11038 ($(objpfx)tst-printf.out): Likewise.
11039 ($(objpfx)tst-setvbuf1.out): Likewise.
11040 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11041 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11042 ($(objpfx)tst-fmtmsg.out): Likewise.
11043 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11044 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11045
acd7f096
JM
11046 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11047 * bits/sigaction.h [__USE_MISC]: Likewise.
11048 * bits/waitstatus.h: Update #endif comments.
11049 * ctype/ctype.h: Likewise.
11050 * dirent/dirent.h: Likewise.
11051 [__USE_MISC]: Remove redundant conditionals.
11052 * grp/grp.h: Update #endif comments.
11053 [__USE_GNU]: Remove redundant conditionals.
11054 [__USE_MISC]: Likewise.
11055 * inet/netinet/in.h [__USE_GNU]: Likewise.
11056 * io/sys/stat.h [__USE_MISC]: Likewise.
11057 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11058 * libio/bits/stdio.h: Update #endif comments.
11059 [__USE_MISC]: Remove redundant conditionals.
11060 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11061 * libio/stdio.h: Update #endif comments.
11062 [__USE_MISC]: Remove redundant conditionals.
11063 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11064 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11065 * math/math.h: Update #else and #endif comments.
11066 [__USE_MISC]: Remove redundant conditionals.
11067 * misc/sys/uio.h: Update #endif comments.
11068 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11069 * posix/glob.h [__USE_MISC]: Likewise.
11070 * posix/sys/types.h: Update #endif comments.
11071 [__USE_MISC]: Remove redundant conditionals.
11072 * posix/sys/wait.h: Update #endif comments.
11073 [__USE_MISC]: Remove redundant conditionals.
11074 * posix/unistd.h: Update #endif comments.
11075 [__USE_MISC]: Remove redundant conditionals.
11076 * pwd/pwd.h [__USE_GNU]: Likewise.
11077 [__USE_MISC]: Likewise.
11078 * resolv/netdb.h [__USE_GNU]: Likewise.
11079 * signal/signal.h: Update #endif comments.
11080 [__USE_MISC]: Remove redundant conditionals.
11081 * stdlib/stdlib.h: Update #else and #endif comments.
11082 [__USE_MISC]: Remove redundant conditionals.
11083 [__USE_GNU]: Likewise.
11084 * string/bits/string2.h [__USE_MISC]: Likewise.
11085 * string/string.h: Update #endif comments.
11086 [__USE_MISC]: Remove redundant conditionals.
11087 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11088 Likewise.
11089 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11090 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11091 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11092 Likewise.
11093 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11094 Likewise.
11095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11096 comments.
11097 [__USE_MISC]: Remove redundant conditionals.
11098 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11099 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11100 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11101 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11102 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11103 Likewise.
11104 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11105 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11106 Likewise.
11107 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11108 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11109 Likewise.
11110 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11111 Likewise.
11112 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11113 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11114 Likewise.
11115 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11116 Likewise.
11117 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11118 * sysdeps/x86/bits/string.h: Update #endif comments.
11119 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11120 conditionals.
11121 * time/sys/time.h: Update #endif comments.
11122 * time/time.h: Likewise.
11123 [__USE_MISC]: Remove redundant conditionals.
11124
a5d82e4e
YG
111252014-02-21 Yury Gribov <y.gribov@samsung.com>
11126
11127 [BZ #16600]
11128 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11129
9a80491d
AS
111302014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11131
11132 * Versions.def (librt): Add GLIBC_2.17.
11133
105fa381
AC
111342014-02-21 Adam Conrad <adconrad@0c3.net>
11135
11136 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11137 synonym for _SYS_AUXV_H to allow direct inclusion.
11138 * sysdeps/sparc/bits/hwcap.h: Likewise.
11139 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11140 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11141 * sysdeps/sparc/sysdep.h: Likewise.
11142
b8cd1c4e
SP
111432014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11144
11145 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11146
bd939d23
RS
111472014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11148
11149 * benchtests/bench-strrchr.c: Print length instead of position.
11150
5d7b57ca
JM
111512014-02-20 Joseph Myers <joseph@codesourcery.com>
11152
bc688c10
JM
11153 [BZ #16611]
11154 * sysdeps/unix/sysv/linux/kernel-features.h
11155 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11156 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11157 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11158 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11159 Likewise.
11160 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11161 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11162 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11163 (__ASSUME_SENDMMSG): Define instead of using previous
11164 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11165 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11166 (__ASSUME_SENDMMSG_SYSCALL): Define.
11167 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11168 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11169 Likewise.
11170 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11171 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11172 Likewise.
11173 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11174 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11175 Likewise.
11176 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11177 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11178 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11179 [__ASSUME_SENDMMSG]: Change conditionals to
11180 [__ASSUME_SENDMMSG_SOCKETCALL].
11181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11182 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11183 Define.
11184 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11185 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11186 Likewise.
11187 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11188 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11189 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11190 [!__ASSUME_SENDMMSG]: Change conditional to
11191 [!__ASSUME_SENDMMSG_SOCKETCALL].
11192 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11193 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11194 Define.
11195
0e31b18c
JM
11196 [BZ #16610]
11197 * sysdeps/unix/sysv/linux/kernel-features.h
11198 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11199 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11200 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11201 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11202 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11203 [__i386__ || __sparc__]
11204 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11205 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11206 (__ASSUME_RECVMMSG): Define instead of using previous
11207 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11208 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11209 (__ASSUME_RECVMMSG_SYSCALL): Define.
11210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11211 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11212 Likewise.
11213 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11215 Likewise.
11216 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11217 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11218 Likewise.
11219 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11220 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11221 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11222 [__ASSUME_RECVMMSG]: Change condition to
11223 [__ASSUME_RECVMMSG_SOCKETCALL].
11224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11225 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11226 Define.
11227 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11229 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11230 Likewise.
11231 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11232 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11233 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11234 [!__ASSUME_RECVMMSG]: Change condition to
11235 [!__ASSUME_RECVMMSG_SOCKETCALL].
11236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11237 (__ASSUME_RECVMMSG_SYSCALL): Define.
11238
dd481ccf
JM
11239 [BZ #16609]
11240 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11241 __powerpc__ || __s390__ || __sh__ || __sparc__]
11242 (__ASSUME_SOCKETCALL): Define.
11243 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11244 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11245 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11246 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11247 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11248 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11249 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11250 (__ASSUME_ACCEPT4): Define instead of using previous
11251 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11252 __powerpc__ || __sparc__ || __s390__)] condition.
11253 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11254 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11255 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11256 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11257 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11258 [!__ASSUME_ACCEPT4]: Change condition to
11259 [!__ASSUME_ACCEPT4_SOCKETCALL].
11260 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11261 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11262 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11264 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11265 __ASSUME_ACCEPT4_SYSCALL.
11266 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11267 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11268 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11269 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11270 __ASSUME_ACCEPT4_SYSCALL.
11271 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11272 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11273 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11274 [__ASSUME_ACCEPT4]: Change condition to
11275 [__ASSUME_ACCEPT4_SOCKETCALL].
11276 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11277 (__ASSUME_SOCKETCALL): Define.
11278 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11280 (__ASSUME_SOCKETCALL): Define.
11281 (__ASSUME_ACCEPT4): Remove.
11282 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11283 Define.
11284 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11285 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11286 Likewise.
11287 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11288 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11289
5d7b57ca
JM
11290 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11291 macro.
11292 (HWCAP_ARM_LPAE): Likewise.
11293 (HWCAP_ARM_EVTSTRM): Likewise.
11294 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11295 Add vpfd32, lpae and evtstrm.
11296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11297 Increase to 22.
11298
63689d61
JM
112992014-02-19 Joseph Myers <joseph@codesourcery.com>
11300
11301 * math/auto-libm-test-in: Add tests of clog10.
11302 * math/auto-libm-test-out: Regenerated.
11303 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11304 * sysdeps/i386/fpu/libm-test-ulps: Update.
11305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11306
ab09bf61
AS
113072014-02-18 Andreas Schwab <schwab@suse.de>
11308
11309 [BZ #16574]
11310 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11311 Store non-zero if the second buffer was newly allocated.
11312 (send_dg): Likewise.
11313 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11314 to send_vc and send_dg.
11315 (res_nsend): Pass NULL for ansp2_malloced.
11316 * resolv/res_query.c (__libc_res_nquery): Add parameter
11317 answerp2_malloced and pass it down to __libc_res_nsend.
11318 (res_nquery): Pass additional NULL to __libc_res_nquery.
11319 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11320 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11321 second answer buffer if answerp2_malloced was set.
11322 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11323 (__libc_res_nquerydomain): Add parameter
11324 answerp2_malloced and pass it down to __libc_res_nquery.
11325 (res_nquerydomain): Pass additional NULL to
11326 __libc_res_nquerydomain.
11327 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11328 additional NULL to __libc_res_nsend and __libc_res_nquery.
11329 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11330 additional NULL to __libc_res_nsearch.
11331 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11332 parameter of __libc_res_nsearch to check for separately allocated
11333 second buffer.
11334 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11335 __libc_res_nquery.
11336 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11337 additional NULL to __libc_res_nquery.
11338 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11339 __libc_res_nsearch.
11340 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11341 * include/resolv.h: Update prototypes of __libc_res_nquery,
11342 __libc_res_nsearch, __libc_res_nsend.
11343
a4fb7861
JM
113442014-02-18 Joseph Myers <joseph@codesourcery.com>
11345
c6af2d89
JM
11346 * math/auto-libm-test-in: Add tests of fma.
11347 * math/auto-libm-test-out: Regenerated.
11348 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11349 (fma_towardzero_test_data): Likewise.
11350 (fma_downward_test_data): Likewise.
11351 (fma_upward_test_data): Likewise.
11352 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11353 mpc_mode.
11354 (rounding_modes): Add values for new field.
11355 (func_calc_method): Add value mpfr_fff_f.
11356 (func_calc_desc): Add mpfr_fff_f union field.
11357 (test_function): Add field exact_args.
11358 (FUNC): Add macro argument EXACT_ARGS.
11359 (FUNC_mpfr_f_f): Update call to FUNC.
11360 (FUNC_mpfr_f_f): Likewise.
11361 (FUNC_mpfr_ff_f): Likewise.
11362 (FUNC_mpfr_if_f): Likewise.
11363 (FUNC_mpc_c_f): Likewise.
11364 (FUNC_mpc_c_c): Likewise.
11365 (test_functions): Add fma. Update calls to FUNC.
11366 (handle_input_arg): Add argument exact_args.
11367 (add_test): Update call to handle_input_arg.
11368 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11369 (output_for_one_input_case): Update call to calc_generic_results.
11370 Recalculate exact zero results in each rounding mode.
11371
a4fb7861
JM
11372 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11373 non-negative before setting low bit.
11374 * math/auto-libm-test-in: Mark one asin test possibly having
11375 spurious underflow.
11376 * math/auto-libm-test-out: Regenerated.
11377 * sysdeps/i386/fpu/libm-test-ulps: Update.
11378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11379
ef114eaf
DH
113802014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11381
2b7f4f2c
SP
11382 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11383 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11384 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11385 * README: Add missing listing for microblaze*-*-linux-gnu.
11386
8125aedc
AM
113872014-02-16 Ondřej Bílka <neleai@seznam.cz>
11388
11389 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11390 duplicate code
11391
c70a4b1d
MF
113922014-02-16 Mike Frysinger <vapier@gentoo.org>
11393
11394 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11395 * sysdeps/unix/sysv/linux/ia64: Move directory from
11396 ports/sysdeps/unix/sysv/linux/ia64.
11397 * README: Update listing for ia64-*-linux-gnu.
11398
591aeaf7
TD
113992014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11400 Joseph Myers <joseph@codesourcery.com>
11401
11402 * Makeconfig (test-name): New variable.
11403 (evaluate-test): Likewise.
11404 * Makerules (do-test-clean): Remove .test-result files.
11405 (common-mostlyclean): Likewise.
11406 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11407 * scripts/evaluate-test.sh: New file.
11408
6e89caf1
JM
114092014-02-14 Joseph Myers <joseph@codesourcery.com>
11410
7f98f180
JM
11411 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11412 separate $(objpfx)tst-fopenloc-cmp.out and
11413 $(objpfx)tst-fopenloc-mem.out targets.
11414 (tests): Update dependencies.
11415 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11416 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11417 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11418 (tst-rxspencer-no-utf8-ARGS): New variable.
11419 (tst-rxspencer-no-utf8-ENV): Likewise.
11420 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11421 instead of $(objpfx)tst-rxspencer-mem.
11422 ($(objpfx)tst-rxspencer-mem): Change target to
11423 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11424 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11425 * posix/tst-rxspencer-no-utf8.c: New file.
11426
6e89caf1
JM
11427 * elf/Makefile ($(objpfx)order.out): Remove rule.
11428 [$(run-built-tests) = yes] (tests): Depend on
11429 $(objpfx)order-cmp.out.
11430 ($(objpfx)order-cmp.out): New rule.
11431 [$(run-built-tests) = yes] (tests): Depend on
11432 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11433 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11434 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11435 $(objpfx)tst-array5-static-cmp.out.
11436 ($(objpfx)tst-array1.out): Remove rule.
11437 ($(objpfx)tst-array1-cmp.out): New rule.
11438 ($(objpfx)tst-array1-static.out): Remove rule.
11439 ($(objpfx)tst-array1-static-cmp.out): New rule.
11440 ($(objpfx)tst-array2.out): Remove rule.
11441 ($(objpfx)tst-array2-cmp.out): New rule.
11442 ($(objpfx)tst-array3.out): Remove rule.
11443 ($(objpfx)tst-array3-cmp.out): New rule.
11444 ($(objpfx)tst-array4.out): Remove rule.
11445 ($(objpfx)tst-array4-cmp.out): New rule.
11446 ($(objpfx)tst-array5.out): Remove rule.
11447 ($(objpfx)tst-array5-cmp.out): New rule.
11448 ($(objpfx)tst-array5-static.out): Remove rule.
11449 ($(objpfx)tst-array5-static-cmp.out): New rule.
11450 [$(run-built-tests) = yes] (tests): Depend on
11451 $(objpfx)order2-cmp.out.
11452 ($(objpfx)order2.out): Remove rule.
11453 ($(objpfx)order2-cmp.out): New rule.
11454 ($(objpfx)tst-initorder.out): Remove rule.
11455 [$(run-built-tests) = yes] (tests): Depend on
11456 $(objpfx)tst-initorder-cmp.out.
11457 ($(objpfx)tst-initorder-cmp.out): New rule.
11458 ($(objpfx)tst-initorder2.out): Remove rule.
11459 [$(run-built-tests) = yes] (tests): Depend on
11460 $(objpfx)tst-initorder2-cmp.out.
11461 ($(objpfx)tst-initorder2-cmp.out): New rule.
11462 [$(run-built-tests) = yes] (tests): Depend on
11463 $(objpfx)tst-unused-dep-cmp.out.
11464 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11465 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11466 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11467 on $(objpfx)tst-setvbuf1-cmp.out.
11468 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11469 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11470 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11471 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11472 ($(objpfx)tst-svc.out): Remove rule.
11473 ($(objpfx)tst-svc-cmp.out): New rule.
11474
ed9a38e2
JM
114752014-02-13 Joseph Myers <joseph@codesourcery.com>
11476
11477 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11478 * ctype/ctype.h [__USE_MISC]: Likewise.
11479 * dirent/dirent.h [__USE_MISC]: Likewise.
11480 * grp/grp.h [__USE_MISC]: Likewise.
11481 * io/fcntl.h [__USE_MISC]: Likewise.
11482 * io/sys/stat.h [__USE_MISC]: Likewise.
11483 * libio/stdio.h [__USE_MISC]: Likewise.
11484 * posix/unistd.h [__USE_MISC]: Likewise.
11485 * pwd/pwd.h [__USE_MISC]: Likewise.
11486 * stdlib.h [__USE_MISC]: Likewise.
11487 * string/bits/string2.h [__USE_MISC]: Likewise.
11488 * string/string.h [__USE_MISC]: Likewise.
11489 * time/time.h [__USE_MISC]: Likewise.
11490
d6680619
AS
114912014-02-13 Andreas Schwab <schwab@suse.de>
11492
11493 [BZ #16574]
11494 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11495 second answer buffer if it was separately allocated.
11496
ace614b8
JM
114972014-02-12 Joseph Myers <joseph@codesourcery.com>
11498
743151ae
JM
11499 * sysdeps/mips/math-tests.h: Include <features.h>.
11500 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11501 (ROUNDING_TESTS_long_double): Do not define.
11502 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11503 (EXCEPTION_TESTS_long_double): Likewise.
11504 * sysdeps/mips/mips64/libm-test-ulps: Update.
11505
498afc54
JM
11506 * include/features.h (__USE_BSD): Remove macro definitions.
11507 (__USE_SVID): Likewise.
11508 (_BSD_SOURCE): Likewise.
11509 (_SVID_SOURCE): Likewise.
11510 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11511 from definition of _DEFAULT_SOURCE.
11512 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11513 [_DEFAULT_SOURCE].
11514 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11515 * bits/mman.h [__USE_BSD]: Likewise.
11516 * bits/termios.h [__USE_BSD]: Likewise.
11517 * bits/waitstatus.h [__USE_BSD]: Likewise.
11518 * ctype/ctype.h [__USE_SVID]: Likewise.
11519 * dirent/dirent.h [__USE_BSD]: Likewise.
11520 * grp/grp.h [__USE_SVID]: Likewise.
11521 [__USE_BSD]: Likewise.
11522 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11523 * io/fcntl.h [__USE_BSD]: Likewise.
11524 * io/ftw.h [__USE_BSD]: Likewise.
11525 * io/sys/stat.h [__USE_BSD]: Likewise.
11526 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11527 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11528 * libio/stdio.h [__USE_SVID]: Likewise.
11529 [__USE_BSD]: Likewise.
11530 * math/math.h [__USE_SVID]: Likewise.
11531 [__USE_BSD]: Likewise.
11532 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11533 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11534 * misc/search.h [__USE_SVID]: Likewise.
11535 * misc/sys/mman.h [__USE_BSD]: Likewise.
11536 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11537 * misc/sys/uio.h [__USE_BSD]: Likewise.
11538 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11539 * posix/glob.h [__USE_BSD]: Likewise.
11540 * posix/regex.h [__USE_BSD]: Likewise.
11541 * posix/sys/types.h [__USE_BSD]: Likewise.
11542 [__USE_SVID]: Likewise.
11543 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11544 * posix/sys/wait.h [__USE_BSD]: Likewise.
11545 [__USE_SVID]: Likewise.
11546 * posix/unistd.h [__USE_BSD]: Likewise.
11547 [__USE_SVID]: Likewise.
11548 * pwd/pwd.h [__USE_SVID]: Likewise.
11549 * resolv/netdb.h [__USE_BSD]: Likewise.
11550 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11551 * signal/signal.h [__USE_BSD]: Likewise.
11552 [__USE_SVID]: Likewise.
11553 * socket/sys/socket.h [__USE_BSD]: Likewise.
11554 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11555 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11556 [__USE_SVID]: Likewise.
11557 * string/bits/string2.h [__USE_BSD]: Likewise.
11558 [__USE_SVID]: Likewise.
11559 * string/bits/string3.h [__USE_BSD]: Likewise.
11560 * string/endian.h [__USE_BSD]: Likewise.
11561 * string/string.h [__USE_SVID]: Likewise.
11562 [__USE_BSD]: Likewise.
11563 * string/strings.h [__USE_BSD]: Likewise.
11564 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11565 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11566 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11567 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11568 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11569 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11570 Likewise.
11571 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11572 Likewise.
11573 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11574 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11575 Likewise.
11576 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11577 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11578 Likewise.
11579 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11580 Likewise.
11581 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11582 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11583 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11584 Likewise.
11585 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11586 Likewise.
11587 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11588 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11589 * termios/termios.h [__USE_BSD]: Likewise.
11590 * time/sys/time.h [__USE_BSD]: Likewise.
11591 * time/time.h [__USE_BSD]: Likewise.
11592 [__USE_SVID]: Likewise.
11593
dd7b064c
JM
11594 * Makefile (subdir_targets): Remove subdir_lint.out.
11595
a2c4c199
JM
11596 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11597 (do-tst-printf): Likewise.
11598 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11599 $(objpfx)tst-printf.out.
11600
8756f740
JM
11601 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11602
1b6dd3f1
JM
11603 * Makerules (check-abi-%): Change target to
11604 $(objpfx)check-abi-%.out.
11605 (check-abi target): Update dependencies.
11606 (check-abi-pattern variable): Redirect output of diff to $@.
11607 (check-abi variable): Likewise.
11608 * elf/Makefile (check-abi): Update dependencies.
11609
ace614b8
JM
11610 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11611 unused.
11612 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11613 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11614 subnormal range.
11615 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11616 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11617 value has largest subnormal exponent.
11618 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11619 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11620 * sysdeps/aarch64/soft-fp/sfp-machine.h
11621 (_FP_TININESS_AFTER_ROUNDING): New macro.
11622 * sysdeps/alpha/soft-fp/sfp-machine.h
11623 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11624 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11625 Likewise.
11626 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11627 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11628 * sysdeps/mips/soft-fp/sfp-machine.h
11629 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11630 * sysdeps/powerpc/soft-fp/sfp-machine.h
11631 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11632 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11633 Likewise.
11634 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11635 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11636 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11637 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11638 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11639 Likewise.
11640
fbfdf9cb
DAS
116412014-02-12 Dylan Alex Simon <dylan@dylex.net>
11642
11643 [BZ #16545]
11644 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11645 model 1.
11646
68b7efaa
RH
116472014-02-12 Richard Henderson <rth@redhat.com>
11648
c70a4b1d 11649 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11650 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11651 * sysdeps/unix/sysv/linux/alpha: Move directory from
11652 ports/sysdeps/unix/sysv/linux/alpha.
11653 * README: Update listing for alpha-*-linux-gnu.
11654
cb4a2928
JM
116552014-02-11 Joseph Myers <joseph@codesourcery.com>
11656
c941736c
JM
11657 * include/features.h: Update comment documenting feature test
11658 macros.
11659 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11660 _DEFAULT_SOURCE.
11661 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11662 (_SVID_SOURCE): Likewise.
11663 (_DEFAULT_SOURCE): Update description of default features.
11664 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11665 with _GNU_SOURCE.
11666 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11667 (S_ISVTX): Likewise.
11668 * manual/math.texi (Mathematical Constants): Likewise.
11669 * manual/signal.texi (Interrupted Primitives): Likewise.
11670 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11671 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11672 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11673 Don't refer to _SVID_SOURCE in warning text.
11674
e8d8d7ec
JM
11675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11676
cb4a2928
JM
11677 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11678 already defined.
11679 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11680 * sysdeps/mips/dl-lookup.c: Remove.
11681 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11682
7e6424e3
AK
116832014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11684
11685 [BZ #16447]
11686 * math/auto-libm-test-in: Add testcase for expl.
11687 * math/auto-libm-test-out: Regenerate.
11688 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11689 calculation of unsafe.
11690 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11691
75eff3fe
MS
116922014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11693
11694 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11695 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11696 ports/sysdeps/unix/sysv/linux/aarch64.
11697 * README: Update listing for aarch64*-*-linux-gnu.
11698
d35f1e80
WN
116992014-02-11 Will Newton <will.newton@linaro.org>
11700
11701 * manual/probes.texi (Mathematical Function Probes): Use
11702 "triggered" instead of "hit".
11703
7b3436d4
WN
11704 * manual/probes.texi (Internal Probes): Add documentation
11705 of setjmp, longjmp and longjmp_target probes.
11706
b4f12ca3
WN
11707 * include/stap-probe.h: Add comment about probe argument
11708 format.
11709
c13a72b7
WN
11710 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11711 definition. (tr_where, tr_freehook, tr_mallochook,
11712 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11713
195b8165
DM
117142014-02-11 David S. Miller <davem@davemloft.net>
11715
11716 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11717 processing int_tests.
11718
2ad7600b
JM
117192014-02-10 Joseph Myers <joseph@codesourcery.com>
11720
11721 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11722 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11723 * sysdeps/unix/sysv/linux/mips: Move directory from
11724 ports/sysdeps/unix/sysv/linux/mips.
11725 * README: Update listing for mips-*-linux-gnu and
11726 mips64-*-linux-gnu.
11727
73588a72
AS
117282014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11729
11730 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11731 * sysdeps/unix/sysv/linux/m68k: Move directory from
11732 ports/sysdeps/unix/sysv/linux/m68k.
11733 * README: Update listing for m68k-*-linux-gnu.
11734
4372980f
CM
117352014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11736
11737 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11738 * sysdeps/unix/sysv/linux/generic: Move directory from
11739 ports/sysdeps/unix/sysv/linux/generic.
11740 * sysdeps/unix/sysv/linux/tile: Move directory from
11741 ports/sysdeps/unix/sysv/linux/tile.
11742 * README: Update listing for tile*-*-linux-gnu.
11743
a1ffb40e
OB
117442014-02-10 Ondřej Bílka <neleai@seznam.cz>
11745
57f41c40
AS
11746 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11747 __builtin_expect.
a1ffb40e
OB
11748 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11749 * catgets/open_catalog.c (__open_catalog): Likewise.
11750 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11751 * debug/confstr_chk.c: Likewise.
11752 * debug/fread_chk.c (__fread_chk): Likewise.
11753 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11754 * debug/getgroups_chk.c: Likewise.
11755 * debug/mbsnrtowcs_chk.c: Likewise.
11756 * debug/mbsrtowcs_chk.c: Likewise.
11757 * debug/mbstowcs_chk.c: Likewise.
11758 * debug/memcpy_chk.c: Likewise.
11759 * debug/memmove_chk.c: Likewise.
11760 * debug/mempcpy_chk.c: Likewise.
11761 * debug/memset_chk.c: Likewise.
11762 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11763 * debug/strcat_chk.c (__strcat_chk): Likewise.
11764 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11765 * debug/strncat_chk.c (__strncat_chk): Likewise.
11766 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11767 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11768 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11769 * debug/wcpncpy_chk.c: Likewise.
11770 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11771 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11772 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11773 * debug/wcsncpy_chk.c: Likewise.
11774 * debug/wcsnrtombs_chk.c: Likewise.
11775 * debug/wcsrtombs_chk.c: Likewise.
11776 * debug/wcstombs_chk.c: Likewise.
11777 * debug/wmemcpy_chk.c: Likewise.
11778 * debug/wmemmove_chk.c: Likewise.
11779 * debug/wmempcpy_chk.c: Likewise.
11780 * debug/wmemset_chk.c: Likewise.
11781 * dirent/scandirat.c (SCANDIRAT): Likewise.
11782 * dlfcn/dladdr1.c (dladdr1): Likewise.
11783 * dlfcn/dladdr.c (dladdr): Likewise.
11784 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11785 * dlfcn/dlerror.c (__dlerror): Likewise.
11786 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11787 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11788 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11789 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11790 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11791 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11792 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11793 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11794 Likewise.
11795 * elf/dl-conflict.c: Likewise.
11796 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11797 * elf/dl-dst.h: Likewise.
11798 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11799 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11800 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11801 * elf/dl-init.c (call_init, _dl_init): Likewise.
11802 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11803 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11804 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11805 Likewise.
a1ffb40e
OB
11806 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11807 Likewise.
11808 * elf/dl-minimal.c (__libc_memalign): Likewise.
11809 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11810 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11811 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11812 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11813 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11814 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11815 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11816 * elf/dl-writev.h (_dl_writev): Likewise.
11817 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11818 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11819 (dl_main): Likewise.
a1ffb40e
OB
11820 * elf/setup-vdso.h (setup_vdso): Likewise.
11821 * grp/compat-initgroups.c (compat_call): Likewise.
11822 * grp/fgetgrent.c (fgetgrent): Likewise.
11823 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11824 * grp/putgrent.c (putgrent): Likewise.
11825 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11826 Likewise.
11827 * hurd/hurdinit.c: Likewise.
11828 * iconvdata/8bit-gap.c (struct): Likewise.
11829 * iconvdata/ansi_x3.110.c : Likewise.
11830 * iconvdata/big5.c : Likewise.
11831 * iconvdata/big5hkscs.c : Likewise.
11832 * iconvdata/cp1255.c: Likewise.
11833 * iconvdata/cp1258.c : Likewise.
11834 * iconvdata/cp932.c : Likewise.
11835 * iconvdata/euc-cn.c: Likewise.
11836 * iconvdata/euc-jisx0213.c : Likewise.
11837 * iconvdata/euc-jp.c: Likewise.
11838 * iconvdata/euc-jp-ms.c : Likewise.
11839 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11840 * iconvdata/gb18030.c : Likewise.
11841 * iconvdata/gbbig5.c (const): Likewise.
11842 * iconvdata/gbgbk.c: Likewise.
11843 * iconvdata/gbk.c : Likewise.
11844 * iconvdata/ibm1364.c : Likewise.
11845 * iconvdata/ibm930.c : Likewise.
11846 * iconvdata/ibm932.c: Likewise.
11847 * iconvdata/ibm933.c : Likewise.
11848 * iconvdata/ibm935.c : Likewise.
11849 * iconvdata/ibm937.c : Likewise.
11850 * iconvdata/ibm939.c : Likewise.
11851 * iconvdata/ibm943.c: Likewise.
11852 * iconvdata/iso_11548-1.c: Likewise.
11853 * iconvdata/iso-2022-cn.c : Likewise.
11854 * iconvdata/iso-2022-cn-ext.c : Likewise.
11855 * iconvdata/iso-2022-jp-3.c: Likewise.
11856 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11857 * iconvdata/iso-2022-kr.c : Likewise.
11858 * iconvdata/iso646.c (gconv_end): Likewise.
11859 * iconvdata/iso_6937-2.c : Likewise.
11860 * iconvdata/iso_6937.c : Likewise.
11861 * iconvdata/iso8859-1.c: Likewise.
11862 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11863 * iconvdata/shift_jisx0213.c : Likewise.
11864 * iconvdata/sjis.c : Likewise.
11865 * iconvdata/t.61.c : Likewise.
11866 * iconvdata/tcvn5712-1.c : Likewise.
11867 * iconvdata/tscii.c: Likewise.
11868 * iconvdata/uhc.c : Likewise.
11869 * iconvdata/unicode.c (gconv_end): Likewise.
11870 * iconvdata/utf-16.c (gconv_end): Likewise.
11871 * iconvdata/utf-32.c (gconv_end): Likewise.
11872 * iconvdata/utf-7.c (base64): Likewise.
11873 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11874 * iconv/gconv_close.c (__gconv_close): Likewise.
11875 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
11876 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11877 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11878 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11879 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11880 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
11881 * iconv/iconv.c (iconv): Likewise.
11882 * iconv/iconv_close.c: Likewise.
11883 * iconv/loop.c (SINGLE): Likewise.
11884 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11885 * include/atomic.h: Likewise.
11886 * inet/inet6_option.c (option_alloc): Likewise.
11887 * intl/bindtextdom.c (set_binding_values): Likewise.
11888 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11889 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11890 * intl/localealias.c (read_alias_file): Likewise.
11891 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
11892 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11893 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
11894 * libio/fmemopen.c (fmemopen): Likewise.
11895 * libio/iofgets.c (_IO_fgets): Likewise.
11896 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11897 * libio/iofgetws.c (fgetws): Likewise.
11898 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11899 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
11900 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11901 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
11902 * locale/findlocale.c (_nl_find_locale): Likewise.
11903 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11904 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11905 Likewise.
11906 * locale/setlocale.c (setlocale): Likewise.
11907 * login/programs/pt_chown.c (main): Likewise.
11908 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11909 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
11910 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11911 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
11912 * math/e_exp2l.c: Likewise.
11913 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11914 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11915 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11916 * math/s_catan.c (__catan): Likewise.
11917 * math/s_catanf.c (__catanf): Likewise.
11918 * math/s_catanh.c (__catanh): Likewise.
11919 * math/s_catanhf.c (__catanhf): Likewise.
11920 * math/s_catanhl.c (__catanhl): Likewise.
11921 * math/s_catanl.c (__catanl): Likewise.
11922 * math/s_ccosh.c (__ccosh): Likewise.
11923 * math/s_ccoshf.c (__ccoshf): Likewise.
11924 * math/s_ccoshl.c (__ccoshl): Likewise.
11925 * math/s_cexp.c (__cexp): Likewise.
11926 * math/s_cexpf.c (__cexpf): Likewise.
11927 * math/s_cexpl.c (__cexpl): Likewise.
11928 * math/s_clog10.c (__clog10): Likewise.
11929 * math/s_clog10f.c (__clog10f): Likewise.
11930 * math/s_clog10l.c (__clog10l): Likewise.
11931 * math/s_clog.c (__clog): Likewise.
11932 * math/s_clogf.c (__clogf): Likewise.
11933 * math/s_clogl.c (__clogl): Likewise.
11934 * math/s_csin.c (__csin): Likewise.
11935 * math/s_csinf.c (__csinf): Likewise.
11936 * math/s_csinh.c (__csinh): Likewise.
11937 * math/s_csinhf.c (__csinhf): Likewise.
11938 * math/s_csinhl.c (__csinhl): Likewise.
11939 * math/s_csinl.c (__csinl): Likewise.
11940 * math/s_csqrt.c (__csqrt): Likewise.
11941 * math/s_csqrtf.c (__csqrtf): Likewise.
11942 * math/s_csqrtl.c (__csqrtl): Likewise.
11943 * math/s_ctan.c (__ctan): Likewise.
11944 * math/s_ctanf.c (__ctanf): Likewise.
11945 * math/s_ctanh.c (__ctanh): Likewise.
11946 * math/s_ctanhf.c (__ctanhf): Likewise.
11947 * math/s_ctanhl.c (__ctanhl): Likewise.
11948 * math/s_ctanl.c (__ctanl): Likewise.
11949 * math/w_pow.c: Likewise.
11950 * math/w_powf.c: Likewise.
11951 * math/w_powl.c: Likewise.
11952 * math/w_scalb.c (sysv_scalb): Likewise.
11953 * math/w_scalbf.c (sysv_scalbf): Likewise.
11954 * math/w_scalbl.c (sysv_scalbl): Likewise.
11955 * misc/error.c (error_tail): Likewise.
11956 * misc/pselect.c (__pselect): Likewise.
11957 * nis/nis_callback.c (__nis_create_callback): Likewise.
11958 * nis/nis_call.c (__nisfind_server): Likewise.
11959 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11960 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11961 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11962 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11963 * nis/nis_lookup.c (nis_lookup): Likewise.
11964 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
11965 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11966 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 11967 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
11968 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11969 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11970 * nis/nss_compat/compat-initgroups.c (add_group)
11971 (internal_getgrent_r): Likewise.
11972 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11973 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11974 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11975 (internal_getspnam_r): Likewise.
11976 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11977 (_nss_nis_getaliasbyname_r): Likewise.
11978 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11979 (_nss_nis_getntohost_r): Likewise.
11980 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11981 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11982 (_nss_nis_getgrgid_r): Likewise.
11983 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11984 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11985 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11986 (_nss_nis_gethostbyname4_r): Likewise.
11987 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11988 (initgroups_netid): Likewise.
a1ffb40e 11989 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
11990 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11991 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11992 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11993 (_nss_nis_getprotobynumber_r): Likewise.
11994 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11995 (_nss_nis_getsecretkey): Likewise.
11996 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11997 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11998 (_nss_nis_getpwuid_r): Likewise.
11999 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12000 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12001 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12002 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12003 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12004 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12005 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12006 Likewise.
57f41c40
AS
12007 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12008 (_nss_nisplus_getntohost_r): Likewise.
12009 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12010 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12011 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12012 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12013 Likewise.
57f41c40
AS
12014 * nis/nss_nisplus/nisplus-initgroups.c
12015 (_nss_nisplus_initgroups_dyn): Likewise.
12016 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12017 (_nss_nisplus_getnetbyaddr_r): Likewise.
12018 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12019 (_nss_nisplus_getprotobynumber_r): Likewise.
12020 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12021 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12022 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12023 Likewise.
57f41c40
AS
12024 * nis/nss_nisplus/nisplus-service.c
12025 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12026 (_nss_nisplus_getservbyport_r): Likewise.
12027 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12028 (_nss_nisplus_getspnam_r): Likewise.
12029 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12030 Likewise.
a1ffb40e
OB
12031 * nscd/aicache.c (addhstaiX): Likewise.
12032 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12033 * nscd/connections.c (register_traced_file, send_ro_fd)
12034 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12035 (main_loop_epoll): Likewise.
a1ffb40e
OB
12036 * nscd/grpcache.c (addgrbyX): Likewise.
12037 * nscd/hstcache.c (addhstbyX): Likewise.
12038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12039 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12040 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12041 (addinnetgrX): Likewise.
12042 * nscd/nscd-client.h (__nscd_acquire_maplock)
12043 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12044 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12045 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12046 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12047 Likewise.
12048 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12049 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12050 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12051 (__nscd_get_map_ref): Likewise.
a1ffb40e 12052 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12053 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12054 Likewise.
a1ffb40e
OB
12055 * nscd/pwdcache.c (addpwbyX): Likewise.
12056 * nscd/selinux.c (preserve_capabilities): Likewise.
12057 * nscd/servicescache.c (addservbyX): Likewise.
12058 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12059 * posix/fnmatch.c (fnmatch): Likewise.
12060 * posix/getopt.c (_getopt_internal_r): Likewise.
12061 * posix/glob.c (glob, glob_in_dir): Likewise.
12062 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12063 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12064 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12065 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12066 * resolv/res_init.c: Likewise.
12067 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12068 * resolv/res_query.c (__libc_res_nquery): Likewise.
12069 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12070 Likewise.
12071 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12072 * stdio-common/perror.c (perror): Likewise.
12073 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12074 * stdio-common/tmpnam.c (tmpnam): Likewise.
12075 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12076 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12077 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12078 Likewise.
a1ffb40e
OB
12079 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12080 * stdlib/putenv.c (putenv): Likewise.
12081 * stdlib/setenv.c (__add_to_environ): Likewise.
12082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12083 * stdlib/strtol_l.c (INTERNAL): Likewise.
12084 * string/memmem.c (memmem): Likewise.
12085 * string/strerror.c (strerror): Likewise.
12086 * string/strnlen.c (__strnlen): Likewise.
12087 * string/test-memmem.c (simple_memmem): Likewise.
12088 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12089 * sunrpc/pm_getport.c (__get_socket): Likewise.
12090 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12091 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12092 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12093 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12094 Likewise.
12095 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12096 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12097 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12098 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12099 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12100 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12101 Likewise.
12102 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12103 Likewise.
a1ffb40e
OB
12104 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12105 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12107 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12108 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12110 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12111 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12112 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12113 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12114 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12115 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12116 Likewise.
12117 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12118 Likewise.
12119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12120 Likewise.
12121 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12124 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12125 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12126 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12127 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12128 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12130 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12131 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12133 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12134 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12136 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12137 Likewise.
a1ffb40e
OB
12138 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12139 Likewise.
12140 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12141 Likewise.
12142 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12143 Likewise.
12144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12145 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12146 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12147 Likewise.
12148 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12149 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12150 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12151 * sysdeps/posix/sleep.c: Likewise.
12152 * sysdeps/posix/tempname.c: Likewise.
12153 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12154 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12155 Likewise.
57f41c40
AS
12156 * sysdeps/powerpc/powerpc32/dl-machine.h
12157 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12158 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12160 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12161 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12162 Likewise.
12163 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12165 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12167 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12168 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12169 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12170 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12171 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12172 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12174 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12175 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12176 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12177 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12178 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12179 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12180 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12181 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12182 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12183 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12184 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12186 Likewise.
12187 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12188 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12189 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12190 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12191 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12192 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12193 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12194 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12195 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12196 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12197 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12198 Likewise.
12199 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12200 (__posix_fallocate64_l64): Likewise.
12201 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12202 (posix_fallocate): Likewise.
57f41c40
AS
12203 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12204 Likewise.
a1ffb40e 12205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12206 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12207 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12208 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12209 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12210 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12211 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12212 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12213 (__posix_fallocate64_l64): Likewise.
12214 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12215 Likewise.
12216 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12217 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12218 (__get_clockfreq): Likewise.
a1ffb40e
OB
12219 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12220 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12221 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12222 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12224 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12225 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12226 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12227 Likewise.
12228 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12229 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12230 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12231 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12232 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12233 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12234 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12235 Likewise.
12236 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12237 (posix_fallocate): Likewise.
12238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12239 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12240 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12241 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12242 (elf_machine_rela, elf_machine_rela_relative)
12243 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12244 * time/asctime.c (asctime_internal): Likewise.
12245 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12246 * time/tzset.c (__tzset_parse_tz): Likewise.
12247 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12248 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12249 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12250 * wcsmbs/wcsmbsload.h: Likewise.
12251
f3d338c9
OB
12252 [BZ #15894]
12253 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12254
57f41c40
AS
12255 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12256 (arena_get2): Remove THREAD_STATS conditionals.
12257 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12258 (__malloc_stats, int): Likewise.
bdfe308a 12259
d674667c
MF
122602014-02-08 Mike Frysinger <vapier@gentoo.org>
12261
12262 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12263 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12264
6349768c
MF
12265 * manual/setjmp.texi: Fix typos/grammar errors.
12266
0b7c7473
MF
12267 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12268 Only return early when n is <= 0. Delete unused return statement.
12269
ac8cc9e3
MF
12270 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12271 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12272 * debug/tst-longjmp_chk3.c: New file.
12273
c5bb8e23
MF
12274 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12275 (test_main): Replace code with set_fortify_handler call.
12276 * debug/test-strcpy_chk.c: Likewise.
12277 * debug/tst-chk1.c: Likewise.
12278 * debug/tst-longjmp_chk.c: Likewise.
12279 * test-skeleton.c: Include fcntl.h & paths.h
12280 (set_fortify_handler): Define.
12281
10444e42
MF
12282 * debug/tst-longjmp_chk.c: Add header comment and include
12283 ../test-skeleton.c.
12284 (do_test): Mark static.
12285 (TEST_FUNCTION): Define.
12286
1e805e8d
MF
12287 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12288 (IP_PMTUDISC_INTERFACE): Likewise.
12289 (IP_MULTICAST_IF): Likewise.
12290 (IP_MULTICAST_TTL): Likewise.
12291 (IP_MULTICAST_LOOP): Likewise.
12292 (IP_ADD_MEMBERSHIP): Likewise.
12293 (IP_DROP_MEMBERSHIP): Likewise.
12294 (IP_UNBLOCK_SOURCE): Likewise.
12295 (IP_BLOCK_SOURCE): Likewise.
12296 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12297 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12298 (IP_MSFILTER): Likewise.
12299 (MCAST_JOIN_GROUP): Likewise.
12300 (MCAST_BLOCK_SOURCE): Likewise.
12301 (MCAST_UNBLOCK_SOURCE): Likewise.
12302 (MCAST_LEAVE_GROUP): Likewise.
12303 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12304 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12305 (MCAST_MSFILTER): Likewise.
12306 (IP_MULTICAST_ALL): Likewise.
12307 (IP_UNICAST_IF): Likewise.
12308
73f79bb7
MF
12309 * timezone/Makefile: Delete $(have-ksh) check.
12310 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12311 * timezone/tzselect.ksh: Add +x mode bits.
12312
8da79b60
MF
12313 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12314 (ANON_INODE_FS_MAGIC): Likewise.
12315 (BDEVFS_MAGIC): Likewise.
12316 (BINFMTFS_MAGIC): Likewise.
12317 (BTRFS_TEST_MAGIC): Likewise.
12318 (CRAMFS_MAGIC_WEND): Likewise.
12319 (DEBUGFS_MAGIC): Likewise.
12320 (ECRYPTFS_SUPER_MAGIC): Likewise.
12321 (EXT3_SUPER_MAGIC): Likewise.
12322 (EXT4_SUPER_MAGIC): Likewise.
12323 (FUTEXFS_SUPER_MAGIC): Likewise.
12324 (HOSTFS_SUPER_MAGIC): Likewise.
12325 (HUGETLBFS_MAGIC): Likewise.
12326 (MINIX3_SUPER_MAGIC): Likewise.
12327 (MTD_INODE_FS_MAGIC): Likewise.
12328 (NILFS_SUPER_MAGIC): Likewise.
12329 (OPENPROM_SUPER_MAGIC): Likewise.
12330 (PIPEFS_MAGIC): Likewise.
12331 (PSTOREFS_MAGIC): Likewise.
12332 (QNX6_SUPER_MAGIC): Likewise.
12333 (RAMFS_MAGIC): Likewise.
12334 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12335 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12336 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12337 (SECURITYFS_MAGIC): Likewise.
12338 (SELINUX_MAGIC): Likewise.
12339 (SMACK_MAGIC): Likewise.
12340 (SOCKFS_MAGIC): Likewise.
12341 (SQUASHFS_MAGIC): Likewise.
12342 (STACK_END_MAGIC): Likewise.
12343 (TMPFS_MAGIC): Likewise.
12344 (USBDEVICE_SUPER_MAGIC): Likewise.
12345 (V9FS_MAGIC): Likewise.
12346 (XENFS_SUPER_MAGIC): Likewise.
12347 (CRAMFS_MAGIC): Fix typo in comment.
12348 (EXT2_SUPER_MAGIC): Update comment.
12349 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12350
464263cc
JM
123512014-02-08 Joseph Myers <joseph@codesourcery.com>
12352
c6bfe5c4
JM
12353 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12354 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12355 * sysdeps/unix/sysv/linux/arm: Move directory from
12356 ports/sysdeps/unix/sysv/linux/arm.
12357 * README: Update listing for arm-*-linux-gnueabi.
12358
464263cc
JM
12359 * README: Remove mention of am33.
12360
32749f6c
RM
123612014-02-07 Roland McGrath <roland@hack.frob.com>
12362
12363 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12364 than the comma operator, to avoid "rhs of comma has no effect"
12365 compiler warnings.
12366 (__sigfillset, __sigandset, __sigorset): Likewise.
12367 * include/signal.h (__sigemptyset): Likewise.
12368 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12369
d5b396c1
AM
123702014-02-07 Allan McRae <allan@archlinux.org>
12371
12372 * version.h (RELEASE): Set to "development".
12373 (VERSION): Set to "2.19.90"
12374 * NEWS: Add 2.20 section.
12375
3bfff2ed
CD
123762014-02-06 Carlos O'Donell <carlos@redhat.com>
12377
12378 [BZ #16529]
12379 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12380
ee7cc385
SP
123812014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12382
12383 * manual/contrib.texi: Update entry for Carlos O'Donell,
12384 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12385
f877c4f2
CD
123862014-02-05 Carlos O'Donell <carlos@rehdat.com>
12387
27e839f6
CD
12388 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12389
f877c4f2
CD
12390 * sysdeps/unix/sysv/linux/kernel-features.h
12391 [__LINUX_KERNEL_VERSION >= 0x020621]
12392 (__ASSUME_PROC_PID_TASK_COMM): Define.
12393
68159946
SP
123942014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12395
ba17cdbd
SP
12396 [BZ #16398]
12397 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12398 conversion when destination buffer does not have enough space.
12399 * libio/tst-ftell-partial-wide.c: New test case.
12400 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12401
68159946
SP
12402 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12403 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12404 Leonard and Allan McRae.
12405
2b528732
DM
124062014-02-04 David S. Miller <davem@davemloft.net>
12407
12408 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12409 32-bit.
12410
0ff82463
AZ
124112014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12412
57f41c40
AS
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12414 New file
c01603f7
AZ
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12416 New file
57f41c40
AS
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12418 New file.
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12420 New file.
c01603f7
AZ
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12422 New file.
57f41c40
AS
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12424 New file.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12426 New file.
c01603f7
AZ
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12428 New file.
12429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12430 New file.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12432 New file.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12434 New file.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12436 New file.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12438 New file.
12439
124402014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12441
0ff82463
AZ
12442 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12443 * shlib-versions: Likewise.
12444
1695c773
AZ
124452014-02-04 Roland McGrath <roland@hack.frob.com>
12446 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12447
12448 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12449 (abilist-pattern): New variable, set to %-le.abilist.
12450
12451 * Makerules (abilist-pattern): New variable.
12452 (vpath): Use $(abilist-pattern) in place of %.abilist.
12453 (check-abi-% pattern rule): Likewise.
12454 (check-abi, update-abi): Likewise.
12455
6c0ce4b4
EW
124562014-02-04 Eric Wong <normalperson@yhbt.net>
12457
12458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12459
481e3524
CD
124602014-02-03 Carlos O'Donell <carlos@redhat.com>
12461
12462 * manual/startup.texi: Add next, previous, and top entries for
12463 the `Program Arguments' and `Environment Variables' nodes.
12464
375592d3
AO
124652014-02-03 Alexandre Oliva <aoliva@redhat.com>
12466
12467 * manual/macros.texi: Add comments before MTASC-safety macros.
12468
f54838ba
AO
12469 * manual/users.texi: Document MTASC-safety properties.
12470
57f41c40
AS
12471 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12472 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
12473 @deftypefun, and add @safety note.
12474 * manual/signal.texi: Move comments that analyze the above
12475 functions to their home place.
12476
fd3daba4
AM
124772014-02-03 Allan McRae <allan@archlinux.org>
12478
12479 * po/sl.po: Update Slovenian translation from translation project.
12480
597636d7
AO
124812014-02-02 Alexandre Oliva <aoliva@redhat.com>
12482
12483 * manual/time.texi (timegm): Add missing blank after @c.
12484 Reported by Joseph Myers <joseph@codesourcery.com>.
12485
ee196e3c
AO
124862014-02-01 Alexandre Oliva <aoliva@redhat.com>
12487
12488 * manual/check-safety.sh: New.
12489 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12490
f8d529d5
AO
12491 * manual/terminal.texi: Document MTASC-safety properties.
12492
de55fdf4
AO
12493 * manual/filesys.texi: Document MTASC-safety properties.
12494
c3299c08
AO
12495 * manual/errno.texi: Document MTASC-safety properties.
12496
06e90b14
AO
12497 * manual/intro.texi: Document safety identifiers and
12498 conditionals.
12499
1acd4371
AO
12500 * manual/string.texi (wcstok): Fix prototype.
12501 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12502
23e5b8cb
AO
12503 * manual/time.texi: Document MTASC-safety properties.
12504
11087373
AO
12505 * manual/string.texi: Document MTASC-safety properties.
12506
5da2c93d
AO
12507 * manual/threads.texi: Document MTASC-safety properties.
12508
171e9210
AO
12509 * manual/stdio.texi: Document MTASC-safety properties.
12510
d9e02532
AO
12511 * manual/syslog.texi: Document MTASC-safety properties.
12512
6af8bab7
AO
12513 * manual/sysinfo.texi: Document MTASC-safety properties.
12514
663b02d7
AO
12515 * manual/startup.texi: Document MTASC-safety properties.
12516
973f180b
AO
12517 * manual/socket.texi: Document MTASC-safety properties.
12518
8f3c25c8
AO
12519 * manual/signal.texi: Document MTASC-safety properties.
12520
542210fb
AO
125212014-01-31 Alexandre Oliva <aoliva@redhat.com>
12522
12523 * manual/setjmp.texi: Document MTASC-safety properties.
12524
433c45a2
AO
12525 * manual/search.texi: Document MTASC-safety properties.
12526
c8ce789c
AO
12527 * manual/resource.texi: Document MTASC-safety properties.
12528
19f5d29c
AO
12529 * manual/process.texi: Document MTASC-safety properties.
12530
e2dfb7f4
AO
12531 * manual/platform.texi: Document MTASC-safety properties.
12532
8c1413f5
AO
12533 * manual/pipe.texi: Document MTASC-safety properties.
12534
03483ada
AO
12535 * manual/pattern.texi: Document MTASC-safety properties.
12536
29e7e2df
AO
12537 * manual/message.texi: Document MTASC-safety properties.
12538
9f529d7c
AO
12539 [BZ #12751]
12540 * manual/memory.texi: Document MTASC-safety properties.
12541
27aaa791
AO
12542 * manual/math.texi: Document MTASC-safety properties.
12543
f2d58726
AO
12544 * manual/locale.texi: Document MTASC-safety properties.
12545
2cc3615c
AO
12546 * manual/llio.texi: Document MTASC-safety properties.
12547
d9f0ec97
AO
12548 * manual/libdl.texi: New.
12549
e7c4409a
AO
12550 * manual/lang.texi: Document MTASC-safety properties.
12551
27bdc63c
AO
12552 * manual/job.texi: Document MTASC-safety properties.
12553
a7b90ea9
AO
12554 * manual/getopt.texi: Document MTASC-safety properties.
12555
c49130e3
AO
12556 * manual/ctype.texi: Document MTASC-safety properties.
12557
0d23a5c1
MR
125582014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12559
12560 [BZ #16046]
12561 * csu/libc-tls.c (static_map): Remove variable.
12562 (__libc_setup_tls): Use main executable's link map for TLS data.
12563 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12564 casing for LM_ID_BASE and GL(dl_nns).
12565 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12566 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12567 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12568 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12569 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12570 member.
12571 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12572 l_phnum members.
12573
0037bb60
AO
125742014-01-30 Alexandre Oliva <aoliva@redhat.com>
12575
12576 * manual/debug.texi: Document MTASC-safety properties.
12577
409e00bd
L
125782014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12579
12580 [BZ #16510]
12581 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12582 of __x86_64__ when disabling x87 inline functions.
12583
86e60666
AO
125842014-01-29 Alexandre Oliva <aoliva@redhat.com>
12585
12586 * manual/charset.texi: Document MTASC-safety properties.
12587
76167637
AO
12588 * manual/crypt.texi: Document MTASC-safety properties.
12589
e567f2a0
AO
12590 * manual/conf.texi: Document MTASC-safety properties.
12591
b719dafd
AO
12592 * manual/arith.texi: Document MTASC-safety properties.
12593
4a16c662
AO
12594 * manual/argp.texi: Document MTASC-safety properties.
12595
0a57b83e
AO
12596 * manual/macros.texi: Introduce macros to document multi
12597 thread, asynchronous signal and asynchronous cancellation
12598 safety properties.
12599 * manual/intro.texi: Introduce the properties themselves.
12600
feab2397
KK
126012014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12602
12603 * sysdeps/sh/sh4/Makefile: New file.
12604
1c0d11bc
AS
126052014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12606
12607 * math/gen-libm-test.pl ($srcdir): New variable.
12608 ($auto_input): Use it.
12609
af37a8a3
SP
126102014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12611
d7b00f98
SP
12612 [BZ #16506]
12613 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12614 access beyond array bounds when parsing netgroups file.
12615
af37a8a3
SP
12616 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12617 the old buffer before realloc.
12618
0c00f062
AM
126192014-01-27 Allan McRae <allan@archlinux.org>
12620
12621 * po/fr.po: Update French translation from translation project.
12622
7d69a1b0
KK
126232014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12624
12625 * sysdeps/sh/libm-test-ulps: Regenerate.
12626
6e697ff7
DM
126272014-01-24 David S. Miller <davem@davemloft.net>
12628
12629 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12630
9cadb35c
KK
126312014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12632
12633 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12634 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12635
5d41dadf
SP
126362013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12637
12638 [BZ #16474]
12639 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12640 string pointers after reallocation.
12641
0bad441c
KK
126422014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12643
12644 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12645 __SH4A__ instead of __SH_FPU_ANY__.
12646
7007c661
KK
126472014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12648
12649 * sysdeps/sh/fpu_control.h: New file.
12650 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12651 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12652 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12653 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12654 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12655 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12656 * sysdeps/sh/sys/ucontext.h: Remove.
12657 * sysdeps/sh/sys: Remove directory.
12658
0f0c35e4
AK
126592014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12660
12661 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12662 s390/sys/ucontext.h.
12663 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12665
4959e284
L
126662014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12667
12668 [BZ #15605]
12669 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12670
d98720e0
AZ
126712014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12672
12673 [BZ#16431]
12674 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12675 Adjust the vDSO correctly for internal calls.
12676 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12677
91cbd0bc
AM
126782014-01-20 Allan McRae <allan@archlinux.org>
12679
12680 * po/ca.po: Update Catalan translation from translation project.
12681
7a02cfad
MF
126822014-01-16 Mike Frysinger <vapier@gentoo.org>
12683
12684 * sysdeps/s390/sotruss-lib.c: New file.
12685
736c304a
AZ
126862014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12687
12688 [BZ#16430]
6e077ee5 12689 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12690 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12691 local calls issues by not having a PLT stub required for IFUNC calls.
12692 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12693
94d0cea0
JM
126942014-01-16 Joseph Myers <joseph@codesourcery.com>
12695
12696 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12697 * math/test-fpucw-static.c: Likewise.
12698
980cb518
SP
126992013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12700
12701 [BZ #16453]
12702 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12703
2393fc01
AZ
127042014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12705
12706 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12707 implementation for powerpc.
12708
d359bcc2
OB
127092014-01-15 Ondřej Bílka <neleai@seznam.cz>
12710
12711 [BZ #14782]
12712 * sysdeps/posix/system.c (__libc_system): Do not enable
12713 asynchronous cancellation.
12714
7beb48cb
AK
127152014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12716
12717 [BZ #16427]
12718 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12719 handling only for numbers special also in the IEEE case.
12720
c20d5bf5
AK
127212014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12722
12723 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12724
e83bd4ee
AM
127252014-01-11 Allan McRae <allan@archlinux.org>
12726
76d0ea69
AM
12727 * po/bg.po: Update Bulgarian translation from translation project.
12728
e83bd4ee
AM
12729 * po/de.po: Update German translation from translation project.
12730
bc2ba20a
RM
127312014-01-10 Roland McGrath <roland@hack.frob.com>
12732
12733 * sysdeps/generic/gcc-compat.h: New file.
12734
649ecea2
SP
127352014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12736
12737 * benchtests/asin-inputs: Correct slow inputs.
12738 * benchtests/acos-inputs: Likewise.
12739
1b19c006
AM
127402014-01-10 Allan McRae <allan@archlinux.org>
12741
a46dab08
AM
12742 * po:sv.po: Update Swedish translation from translation project.
12743
421df74a
AM
12744 * po/vi.po: Update Vietnamese translation from translation project.
12745
d61c51a7
AM
12746 * po/eo.po: Update Esperanto translation from translation project.
12747
0339a319
AM
12748 * po/cs.po: Update Czech translation from translation project.
12749
94ad3e99
AM
12750 * po/nl.po: Update Dutch translation from translation project.
12751
e349ca71
AM
12752 * po/pl.po: Update Polish translation from translation project.
12753
ddf930c1
AM
12754 * po/ru.po: Update Russian translation from translation project.
12755
1b19c006
AM
12756 * po/uk.po: Update Ukrainian translation from translation project.
12757
9f236c49
BM
127582014-01-08 Brooks Moses <bmoses@google.com>
12759
12760 * elf/dl-load.c: Fix comment typo.
12761
cd6701cf
CD
127622014-01-08 Carlos O'Donell <carlos@redhat.com>
12763
12764 * po/header.pot: Rename to...
12765 * po/pot.header: ... this.
12766 * po/Makefile: Use pot.header.
12767
66671c84
YK
127682014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12769 Maxim Kuvyrkov <maxim@kugelworks.com>
12770
12771 [BZ #16394]
cd6701cf
CD
12772 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12773 SRC and DEST against LEN.
66671c84 12774
38f34581
AZ
127752014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12776
12777 [BZ #16414]
12778 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12779 implementation.
12780 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12781
127822014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12783
12784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12785
4c327f2a
JM
127862014-01-08 Joseph Myers <joseph@codesourcery.com>
12787
12788 [BZ #16408]
12789 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12790 for large positive arguments.
12791
b821f414
JM
127922014-01-07 Joseph Myers <joseph@codesourcery.com>
12793
1f0f2067
JM
12794 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12795
a5a326f6
JM
12796 * math/auto-libm-test-in: Mark various tests with
12797 xfail-rounding:ldbl-128ibm.
12798 * math/auto-libm-test-out: Regenerated.
12799
b821f414
JM
12800 [BZ #16407]
12801 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12802 Increase overflow threshold.
12803
94c8a4bc
OB
128042014-01-07 Ondřej Bílka <neleai@seznam.cz>
12805
12806 [BZ #14286]
12807 * stdio-common/vfprintf.c: Check for integer overflow.
12808
87ded0c3
AK
128092014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12810
12811 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12812 the first argument and return value of __tls_get_addr_internal.
12813
c5eebdd0
AK
128142014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12815
12816 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12817 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12818
05d138ef
AK
128192014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12820
12821 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12822 * sysdeps/s390/rtld-global-offsets.sym: New file.
12823 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12824 GLIBC_2.19 symbol.
12825 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12826 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12827 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12828 ... this.
12829 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12830 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12831 ... this.
12832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12833 Regenerate.
12834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12835 Regenerate.
12836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12837 halfs of GPRs for high_gprs contexts.
12838 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12839 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12840 field.
12841 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12842 uc_flags field.
12843 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12844 64 bit versions:
12845 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12846 for high GPRs (uc_high_gprs) and for future extensions
12847 (__reserved).
12848 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12849 for future extensions (__reserved).
12850 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12851 64 bit versions:
12852 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12853 SC_HIGHGPRS offset definition.
12854 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12855 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12856
93a45ff1
AK
12857 * Versions.def: Add GLIBC_2.19 for libpthread.
12858 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12859 siglongjmp for libpthread with GLIBC_2.19 symver.
12860 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12861 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12862 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12863 * sysdeps/s390/__longjmp.c: New file.
12864 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12865 * sysdeps/s390/longjmp.c: New file.
12866 * sysdeps/s390/setjmp.S: New file.
12867 * sysdeps/s390/sigjmp.S: New file.
12868 * sysdeps/s390/v1-longjmp.c: New file.
12869 * sysdeps/s390/v1-setjmp.h: New file.
12870 * sysdeps/s390/v1-sigjmp.c: New file.
12871 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12872 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12873 GLIBC_2.19 version.
12874 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12875 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12876 versioned symbols for ____longjmp_chk.
12877 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12878 Likewise.
12879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12880 Regenerate.
12881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12882 Regenerate.
12883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12884 Regenerate.
12885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12886 Regenerate.
12887 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12888 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12889 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12890 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12891 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12892 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12893 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12894 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12895 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12896 * sysdeps/s390/rtld-__longjmp.c: New file.
12897 * sysdeps/s390/rtld-setjmp.S: New file.
12898
eb3fc44b
JM
128992014-01-06 Joseph Myers <joseph@codesourcery.com>
12900
12901 [BZ #16400]
12902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12903 Return -__logl (x) for small positive arguments without evaluating
12904 a polynomial.
12905
9341dde4
MF
129062014-01-06 Mike Frysinger <vapier@gentoo.org>
12907
12908 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12909 Rename to ...
12910 (__ptrace_peeksiginfo_args): ... this.
12911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12914
4cff0293
AM
129152014-01-06 Allan McRae <allan@archlinux.org>
12916
12917 * inet/netinet/in.h: Fix typo in comment.
12918
75595dcf
AJ
129192014-01-05 Andreas Jaeger <aj@suse.de>
12920
12921 * sysdeps/i386/fpu/libm-test-ulps: Update.
12922
79c1e109
AM
129232014-01-05 Allan McRae <allan@archlinux.org>
12924
dd804818
AM
12925 * po/libc.pot: Regenerated.
12926
79c1e109
AM
12927 * malloc/memusagestat.c: Fix gettext call formatting.
12928
0c813d1f
SK
129292014-01-04 Sami Kerola <kerolasa@iki.fi>
12930
12931 * nscd/nscd.c: Improve usage() output.
12932
20f4a8d9
MF
129332014-01-04 Mike Frysinger <vapier@gentoo.org>
12934
12935 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12936 * sysdeps/unix/sysv/linux/configure: Regenerated.
12937 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12938 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12939
22562bb2
JM
129402014-01-03 Joseph Myers <joseph@codesourcery.com>
12941
12942 [BZ #16390]
12943 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12944 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12945
d7ad2d9b
AZ
129462014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12947
12948 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12949 extra tokens at end of #undef directive.
12950 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12951 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12952 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12953
7dd009d8
JM
129542014-01-03 Joseph Myers <joseph@codesourcery.com>
12955
24db925a
JM
12956 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12957
7dd009d8
JM
12958 * math/auto-libm-test-in: Mark various tests with
12959 xfail-rounding:ldbl-128ibm.
12960 * math/auto-libm-test-out: Regenerated.
12961
396e3ecf
JM
129622014-01-02 Joseph Myers <joseph@codesourcery.com>
12963
819e5d50
JM
12964 [BZ #16386]
12965 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12966 numbers with subnormal high part when calculating exponent.
12967
90b6a1e5
JM
12968 [BZ #16385]
12969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12970 fabs.
12971
396e3ecf
JM
12972 [BZ #16384]
12973 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12974 M_LN2l.
12975 (__ieee754_acoshl): Use __log1pl not __log1p.
12976
6c8dbf00
OB
129772013-01-02 Ondřej Bílka <neleai@seznam.cz>
12978
57f41c40
AS
12979 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12980 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12981 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12982 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12983 (reused_arena, arena_get2): Convert to GNU style.
12984 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12985 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12986 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 12987 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
12988 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12989 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12990 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12991 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12992 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12993 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 12994 * malloc/malloc.h: Likewise.
57f41c40
AS
12995 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12996 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 12997 * malloc/mcheck.h: Likewise.
57f41c40
AS
12998 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12999 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13000 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13001 * malloc/morecore.c (__default_morecore): Likewise.
13002 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13003 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13004 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13005 (print_and_abort): Likewise.
6c8dbf00
OB
13006 * malloc/obstack.h: Likewise.
13007 * malloc/set-freeres.c (__libc_freeres): Likewise.
13008 * malloc/tst-mallocstate.c (main): Likewise.
13009 * malloc/tst-mtrace.c (main): Likewise.
13010 * malloc/tst-realloc.c (do_test): Likewise.
13011
d4124212
SP
130122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13013
9a3c6a6f
SP
13014 [BZ #16366]
13015 * nscd/netgroupcache.c (do_notfound): New function.
13016 (addgetnetgrentX): Use it.
13017
d4124212
SP
13018 [BZ # 16365]
13019 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13020 NSS_STATUS_NOTFOUND.
13021
97b9a009
JM
130222014-01-01 Joseph Myers <joseph@codesourcery.com>
13023
13024 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13026
d4697bc9
AM
130272014-01-01 Allan McRae <allan@archlinux.org>
13028
ddb3687f
AM
13029 * scripts/update-copyrights: Update configure input file suffix.
13030
88726d48
AM
13031 * NEWS: Update copyright year.
13032 * catgets/gencat.c: Likewise.
13033 * csu/version.c: Likewise.
13034 * debug/catchsegv.sh: Likewise.
13035 * debug/pcprofiledump.c: Likewise.
13036 * debug/xtrace.sh: Likewise.
13037 * elf/ldconfig.c: Likewise.
13038 * elf/ldd.bash.in: Likewise.
13039 * elf/pldd.c: Likewise.
13040 * elf/sotruss.ksh: Likewise.
13041 * elf/sprof.c: Likewise.
13042 * iconv/iconv_prog.c: Likewise.
13043 * iconv/iconvconfig.c: Likewise.
13044 * locale/programs/locale.c: Likewise.
13045 * locale/programs/localedef.c: Likewise.
13046 * login/programs/pt_chown.c: Likewise.
13047 * malloc/memusage.sh: Likewise.
13048 * malloc/memusagestat.c: Likewise.
13049 * malloc/mtrace.pl: Likewise.
13050 * manual/libc.texinfo: Likewise.
13051 * nscd/nscd.c: Likewise.
13052 * nss/getent.c: Likewise.
13053 * nss/makedb.c: Likewise.
13054 * posix/getconf.c: Likewise.
13055 * scripts/test-installation.pl: Likewise.
13056
d4697bc9
AM
13057 * All files with FSF copyright notices: Update copyright dates
13058 using scripts/update-copyrights.
13059 * intl/plural.c: Regenerated.
13060 * locale/programs/charmap-kw.h: Likewise.
13061 * locale/programs/locfile-kw.h: Likewise.
13062
c8590f9d
MF
130632013-12-31 Mike Frysinger <vapier@gentoo.org>
13064
13065 * sysdeps/unix/sysv/linux/configure: Regenerated.
13066 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13067 the linux/fanotify.h header.
13068 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13069 HAVE_LINUX_FANOTIFY_H is defined.
13070
b19221b9
SP
130712013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13072
dd1d85e5
SP
13073 * benchtests/cos-inputs: New inputs.
13074 * benchtests/sin-inputs: Likewise.
13075
1acbb90f
SP
13076 * benchtests/atan-inputs: New inputs. Fix name of multiple
13077 precision fallback inputs.
13078
4c012ed3
SP
13079 * benchtests/atanh-inputs: New inputs.
13080 * benchtests/tanh-inputs: Likewise.
13081
eff98324
SP
13082 * benchtests/acosh-inputs: New inputs.
13083 * benchtests/asinh-inputs: Likewise.
13084
ce641152
SP
13085 * benchtests/cosh-inputs: New inputs.
13086 * benchtests/sinh-inputs: Likewise.
13087
b19221b9
SP
13088 * benchtests/acos-inputs: Add more inputs.
13089 * benchtests/asin-inputs: Likewise.
13090
030a4976 130912013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13092
030a4976 13093 [BZ #16375]
9dcc8f11
VS
13094 * manual/arith.texi: Fix spelling.
13095 * manual/charset.texi: Likewise.
13096 * manual/errno.texi: Likewise.
13097 * manual/filesys.texi: Likewise.
13098 * manual/lang.texi: Likewise.
13099 * manual/llio.texi: Likewise.
13100 * manual/locale.texi: Likewise.
13101 * manual/message.texi: Likewise.
13102 * manual/resource.texi: Likewise.
13103 * manual/search.texi: Likewise.
13104 * manual/setjmp.texi: Likewise.
13105 * manual/stdio.texi: Likewise.
13106 * manual/string.texi: Likewise.
13107 * manual/sysinfo.texi: Likewise.
13108 * manual/time.texi: Likewise.
13109
11520a57
CD
131102013-12-27 Carlos O'Donell <carlos@redhat.com>
13111
13112 * po/sl.po: New file.
13113
471103ae
MF
131142013-12-27 Mike Frysinger <vapier@gentoo.org>
13115
13116 * .gitignore: Add core/.gdbinit/.gdb_history.
13117
6c9642ed
AM
131182013-12-27 Allan McRae <allan@archlinux.org>
13119
13120 [BZ #16369]
13121 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13122 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13123
3f637079
BM
131242013-12-24 Brooks Moses <bmoses@google.com>
13125
13126 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13127 all compilers that claim C++98 compliance, not just GCC.
13128 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13129 Likewise.
13130
abc26e99
MK
131312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13132
13133 * NEWS: Restore accidentally deleted bug-fix entries.
13134
362b47fe
MK
131352013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13136 Ondřej Bílka <neleai@seznam.cz>
13137
13138 [BZ #15073]
13139 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13140 have_lock.
362b47fe 13141
b9bcbbcb
OB
131422013-12-23 Ondřej Bílka <neleai@seznam.cz>
13143
13144 [BZ #12986]
13145 * manual/stdio.texi (String Input Conversions): Clarify that character
13146 classes are not supported.
13147
fb55fcd2
AZ
131482013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13149
13150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13151
ef7344f0
JM
131522013-12-22 Joseph Myers <joseph@codesourcery.com>
13153
4f40e4b3
JM
13154 [BZ #16337]
13155 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13156 Calculate results for small negative arguments directly rather
13157 than using reflection formula with special underflow handling.
13158
ef7344f0
JM
13159 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13160 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13161 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13162 (fchflags): Likewise.
13163 (revoke): Likewise.
13164 (setlogin): Likewise.
13165 (sigaltstack): Likewise.
13166 (wait4): Likewise.
13167 (sigblock): Remove.
13168 (sigsetmask): Likewise.
13169 (wait3): Likewise.
13170 (waitpid): Likewise.
13171 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13172 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13173 file.
13174 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13175 * sysdeps/unix/bsd/Makefile: ... here.
13176 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13177 * sysdeps/unix/bsd/Versions: ... here.
13178 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13179 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13180 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13181 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13182 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13183 * sysdeps/unix/bsd/sigblock.c: ... here.
13184 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13185 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13186 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13187 * sysdeps/unix/bsd/sigvec.c: ... here.
13188 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13189 * sysdeps/unix/bsd/tcdrain.c: ... here.
13190 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13191 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13192 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13193 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13194 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13195 * sysdeps/unix/bsd/wait.c: ... here.
13196 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13197 * sysdeps/unix/bsd/wait3.c: ... here.
13198 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13199 * sysdeps/unix/bsd/waitpid.c: ... here.
13200
5b0626b9
JM
132012013-12-21 Joseph Myers <joseph@codesourcery.com>
13202
13203 [BZ #16356]
13204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13205 round-to-nearest for [!USE_AS_EXPM1L].
13206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13207 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13208 more tests of exp and exp10. Expect some exp10 tests to miss
13209 exceptions or fail in directed rounding modes.
13210 * math/auto-libm-test-out: Regenerated.
13211 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13212 (exp10_test_tonearest): New function.
13213 (exp10_towardzero_test_data): New array.
13214 (exp10_test_towardzero): New function.
13215 (exp10_downward_test_data): New array.
13216 (exp10_test_downward): New function.
13217 (exp10_upward_test_data): New array.
13218 (exp10_test_upward): New function.
13219 (main): Call the new functions.
13220 * sysdeps/i386/fpu/libm-test-ulps: Update.
13221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222
7fda5682
JM
132232013-12-20 Joseph Myers <joseph@codesourcery.com>
13224
31e3a405
JM
13225 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13226 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13227 * math/auto-libm-test-out: Regenerated.
13228 * math/libm-test.inc (acosh_test_data): Add more tests.
13229 (atanh_test_data): Likewise.
13230 (ceil_test_data): Likewise.
13231 (copysign_test_data): Likewise.
13232 * sysdeps/i386/fpu/libm-test-ulps: Update.
13233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13234
85bff96a
JM
13235 * timezone/checktab.awk: Update from tzcode 2013i.
13236 * timezone/private.h: Likewise.
13237 * timezone/scheck.c: Likewise.
13238 * timezone/tzfile.h: Likewise.
13239 * timezone/tzselect.ksh: Likewise.
13240 * timezone/zdump.c: Likewise.
13241 * timezone/zic.c: Likewise.
13242
b7867a3b
JM
13243 * math/auto-libm-test-in: Add tests of cpow.
13244 * math/auto-libm-test-out: Regenerated.
13245 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13247 mpc_cc_c.
13248 (func_calc_desc): Add mpc_cc_c union field.
13249 (test_functions): Add cpow.
13250 (special_fill_2pi): New function.
13251 (special_real_inputs): Add 2pi.
13252 (calc_generic_results): Handle mpc_cc_c.
13253 * sysdeps/i386/fpu/libm-test-ulps: Update.
13254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13255
7fda5682
JM
13256 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13257 csqrt, ctan and ctanh.
13258 * math/auto-libm-test-out: Regenerated.
13259 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13260 (TEST_COND_x86): Likewise.
13261 (ccos_test_data): Use AUTO_TESTS_c_c.
13262 (ccosh_test_data): Likewise.
13263 (cexp_test_data): Likewise.
13264 (clog_test_data): Likewise.
13265 (csqrt_test_data): Likewise.
13266 (ctan_test_data): Likewise.
13267 (ctan_tonearest_test_data): Likewise.
13268 (ctan_towardzero_test_data): Likewise.
13269 (ctan_downward_test_data): Likewise.
13270 (ctan_upward_test_data): Likewise.
13271 (ctanh_test_data): Likewise.
13272 (ctanh_tonearest_test_data): Likewise.
13273 (ctanh_towardzero_test_data): Likewise.
13274 (ctanh_downward_test_data): Likewise.
13275 (ctanh_upward_test_data): Likewise.
13276 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13277 mpc_c_c.
13278 (func_calc_desc): Add mpc_c_c union field.
13279 (FUNC_mpc_c_c): New macro.
13280 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13281 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13282 ctanh.
13283 (special_fill_min_subnorm_p120): New function.
13284 (special_real_inputs): Add min_subnorm_p120.
13285 (calc_generic_results): Handle mpc_c_c.
13286 * sysdeps/i386/fpu/libm-test-ulps: Update.
13287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13288
5ff8d60e
SP
132892013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13290
57f41c40
AS
13291 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13292 (do_sin_slow): New functions.
13293 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13294 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13295
84ba214c
SP
13296 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13297 Use M to change sign of result instead of X. Assume X is
13298 positive.
13299 (csloww1): Likewise.
13300 (__sin): Adjust.
13301 (__cos): Adjust.
13302
975195e4
SP
13303 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13304 arguments A and DA.
13305 (__sin): Adjust.
13306 (__cos): Likewise.
13307
5ff8d60e
SP
13308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13309 (__cos): Likewise.
13310 (sloww1): Don't adjust sign of DX.
13311 (csloww1): Likewise.
13312 (sloww2): Use X directly and don't adjust sign of DX.
13313 (csloww2): Likewise.
13314
eb983568
JM
133152013-12-19 Joseph Myers <joseph@codesourcery.com>
13316
64a17f1a
JM
13317 * math/auto-libm-test-in: Add tests of cabs and carg.
13318 * math/auto-libm-test-out: Regenerated.
13319 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13320 (carg_test_data): Likewise.
13321 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13322 mpc_c_f.
13323 (func_calc_desc): Add mpc_c_f union field.
13324 (test_functions): Add cabs and carg.
13325 (calc_generic_results): Handle mpc_c_f.
13326
eb983568
JM
13327 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13328 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13329 as a macro and a compat symbol.
13330 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13331 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13332 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13333 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13334 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13335 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13336 not use .hidden.
13337 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13338 Likewise.
13339 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13340 Likewise.
13341 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13342 Likewise.
13343 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13344 Likewise.
13345 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13346 Likewise.
13347 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13348 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13349 from GLIBC_2.3.2.
13350
6eeb678a
AZ
133512013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13352
13353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13354
6f6fc482
JM
133552013-12-19 Joseph Myers <joseph@codesourcery.com>
13356
21fea2e2
JM
13357 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13358 trailing whitespace removed.
13359 * scripts/config.guess: Update to version 2013-11-29.
13360 * scripts/config.sub: Update to version 2013-10-01.
13361
6f6fc482
JM
13362 * math/auto-libm-test-in: Add tests of sincos.
13363 * math/auto-libm-test-out: Regenerated.
13364 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13365 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13366 mpfr_f_11.
13367 (func_calc_desc): Add mpfr_f_11 union field.
13368 (test_functions): Add sincos.
13369 (calc_generic_results): Handle mpfr_f_11.
13370 * sysdeps/i386/fpu/libm-test-ulps: Update.
13371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13372
83f5c32d
AS
133732013-12-19 Andreas Schwab <schwab@suse.de>
13374
13375 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13376 CALL_MCOUNT.
13377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13378 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13379 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13380
c688b419
JM
133812013-12-19 Joseph Myers <joseph@codesourcery.com>
13382
335ee092
JM
13383 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13384 * sysdeps/i386/fpu/libm-test-ulps: Update.
13385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13386
f88acd39
JM
13387 [BZ #16293]
13388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13389 round-to-nearest mode when using frndint.
13390 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13391 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13392 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13393 Likewise.
13394 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13395 sinh test to fail.
13396 * math/auto-libm-test-out: Regenerated.
13397 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13398 (TEST_COND_x86): Likewise.
13399 (expm1_tonearest_test_data): New array.
13400 (expm1_test_tonearest): New function.
13401 (expm1_towardzero_test_data): New array.
13402 (expm1_test_towardzero): New function.
13403 (expm1_downward_test_data): New array.
13404 (expm1_test_downward): New function.
13405 (expm1_upward_test_data): New array.
13406 (expm1_test_upward): New function.
13407 (main): Run the new test functions.
13408 * sysdeps/i386/fpu/libm-test-ulps: Update.
13409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13410
c688b419
JM
13411 * include/features.h: Update comment documenting feature test
13412 macros. Mention _DEFAULT_SOURCE in comment.
13413 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13414 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13415 _BSD_SOURCE and _SVID_SOURCE.
13416 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13417 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13418 !_SVID_SOURCE]: Likewise.
13419 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13420 (__USE_POSIX_IMPLICITLY): Define.
13421 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13422 (_POSIX_SOURCE): Undefine and redefine.
13423 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13424 (_POSIX_C_SOURCE): Likewise.
13425 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13426 (Feature Test Macros): Update documentation of default features.
13427
9f6e964c
RS
134282013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13429
13430 * benchtests/Makefile: Add bench-strtok.
13431 * benchtests/bench-strtok.c: New file: strtok benchtest.
13432
ee0a148a
AM
134332013-12-19 Allan McRae <allan@archlinux.org>
13434
13435 * manual/install.texi: Suppress menu for plain text output.
13436 * INSTALL: Regenerated.
13437
b9ab448f
BM
134382013-12-18 Brooks Moses <bmoses@google.com>
13439
13440 [BZ #15846]
13441 * misc/getauxval.c: Include errno.h.
13442 (__getauxval): Set errno to ENOENT if the requested type is not
13443 found.
13444 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13445 don't declare with __attribute_const__.
13446 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13447 * manual/startup.texi: Document that getauxval sets errno.
13448
23776487
JM
134492013-12-18 Joseph Myers <joseph@codesourcery.com>
13450
f889953b
JM
13451 * math/auto-libm-test-in: Add tests of jn and yn.
13452 * math/auto-libm-test-out: Regenerated.
13453 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13454 (yn_test_data): Likewise.
13455 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13456 mpfr_if_f.
13457 (func_calc_desc): Add mpfr_if_f union field.
13458 (FUNC_mpfr_if_f): New macro.
13459 (test_functions): Add jn and yn.
13460 (calc_generic_results): Assert type of second input for
13461 mpfr_ff_f. Handle mpfr_if_f.
13462 (output_for_one_input_case): Disable all checking for arguments
13463 fitting floating-point types in case of an integer argument.
13464 * sysdeps/i386/fpu/libm-test-ulps: Update.
13465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13466
23776487
JM
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13468 Don't expect fegetround reference in libm.so.
13469
cb756c6d
MS
134702013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13471
13472 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13473 $(config-cflags-nofma).
13474
2dec468f
JM
134752013-12-18 Joseph Myers <joseph@codesourcery.com>
13476
5953eb3a
JM
13477 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13478 * math/auto-libm-test-out: Regenerated.
13479
2dec468f
JM
13480 [BZ #16338]
13481 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13482 to determine exponent and adjust argument to have exponent of -1.
13483 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13484 log2.
13485 * math/auto-libm-test-out: Regenerated.
13486 * sysdeps/i386/fpu/libm-test-ulps: Update.
13487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13488
4d84e6ad
OB
134892013-12-18 Ondřej Bílka <neleai@seznam.cz>
13490
13491 * manual/probes.texi: Remove cases when per-thread arenas are
13492 disabled.
13493
1818483b
AS
134942013-12-18 Andreas Schwab <schwab@suse.de>
13495
13496 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13497 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13498 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13499 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13500 * sysdeps/i386/i686/multiarch/Makefile: Update.
13501 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13502
25de95bf
JM
135032013-12-17 Joseph Myers <joseph@codesourcery.com>
13504
13505 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13506 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13507
674762d9
PE
135082013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13509
ed27ed83 13510 [BZ #15968]
0748546f
PE
13511 Support TZ transition times < 00:00:00.
13512 This is needed for version-3 tz-format files; it supports time
13513 stamps past 2037 for America/Godthab (the only entry in the tz
13514 database for which this change is relevant).
13515 * manual/time.texi (TZ Variable): Document transition times
13516 from -167:59:59 through -00:00:01.
13517 * time/tzset.c (tz_rule): Time of day is now signed.
13518 (__tzset_parse_tz): Parse negative time of day.
13519
4480e934
PE
13520 Document TZ transition times >= 25:00:00.
13521 * manual/time.texi (TZ Variable): Document transition times from
13522 25:00:00 through 167:59:59. These are already supported, and this
13523 support will help with version-3 tz-format files.
13524
69947401
PE
13525 * manual/time.texi (TZ Variable): Modernize North America example
13526 to reflect current (i.e., 2007-and-later) daylight saving rules.
13527
674762d9
PE
13528 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13529
7011c262
JM
135302013-12-17 Joseph Myers <joseph@codesourcery.com>
13531
2fc6557e
JM
13532 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13533 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13536 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13537 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13538 * sysdeps/unix/bsd/clock.c: Likewise.
13539 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13540 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13541 * sysdeps/unix/bsd/init-posix.c: Likewise.
13542 * sysdeps/unix/bsd/poll.c: Likewise.
13543 * sysdeps/unix/bsd/ptsname.c: Likewise.
13544 * sysdeps/unix/bsd/seekdir.c: Likewise.
13545 * sysdeps/unix/bsd/setegid.c: Likewise.
13546 * sysdeps/unix/bsd/seteuid.c: Likewise.
13547 * sysdeps/unix/bsd/setgid.c: Likewise.
13548 * sysdeps/unix/bsd/setrgid.c: Likewise.
13549 * sysdeps/unix/bsd/setruid.c: Likewise.
13550 * sysdeps/unix/bsd/setsid.c: Likewise.
13551 * sysdeps/unix/bsd/setuid.c: Likewise.
13552 * sysdeps/unix/bsd/sigaction.c: Likewise.
13553 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13554 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13555 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13556 * sysdeps/unix/bsd/telldir.c: Likewise.
13557 * sysdeps/unix/bsd/times.c: Likewise.
13558 * sysdeps/unix/bsd/usleep.c: Likewise.
13559
029c7b25
JM
13560 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13561 ($(objpfx)libbsd-compat.a): Remove rule.
13562
7011c262
JM
13563 * include/features.h (__FAVOR_BSD): Do not define.
13564 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13565 features conflicting with POSIX.
13566 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13567 (_BSD_SOURCE): Remove description of not being a subset of other
13568 feature test macros.
13569 * manual/job.texi (getpgrp): Do not document BSD version.
13570 (getpgid): Do not document by reference to BSD getpgrp.
13571 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13572 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13573 * signal/signal.h [__FAVOR_BSD]: Likewise.
13574 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13575 instead of making contents conditional on [__FAVOR_BSD].
13576 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13577
affb6f78
AZ
135782013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579
13580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13581
c88769dd
JM
135822013-12-17 Joseph Myers <joseph@codesourcery.com>
13583
6432a540
JM
13584 [BZ #16314]
13585 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13586 values below 2**-450, not 2**-500.
13587 * math/auto-libm-test-in: Don't allow spurious underflow from
13588 hypot.
13589 * math/auto-libm-test-out: Regenerated.
13590
c88769dd
JM
13591 [BZ #16316]
13592 [BZ #16330]
13593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13594 values of ha and hb and sort them after adjusting subnormal
13595 arguments.
13596 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13597 Likewise.
13598 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13599 values of ea and eb and sort them after adjusting subnormal
13600 arguments.
13601 * math/auto-libm-test-in: Do not expect some hypot tests of
13602 subnormals to fail. Add more hypot tests.
13603 * math/auto-libm-test-out: Regenerated.
13604
29618f6b
KK
136052013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13606
13607 [BZ #13304]
13608 * sysdeps/sh/s_fma.c: New file.
13609 * sysdeps/sh/s_fmaf.c: New file.
13610 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13611 version.
13612 * sysdeps/sh/Implies: Add sh/soft-fp.
13613
eacfdfbf
RM
136142013-12-16 Roland McGrath <roland@hack.frob.com>
13615
13616 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13617 level of indirection to members `objname', `errstring', `malloced'.
13618 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13619 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13620 it as the __longjmp argument (just pass 1 instead).
13621 (_dl_catch_error): Initialize C with argument pointers and address of
13622 volatile local ERRCODE rather than copying values out of C at return.
13623
ff362e5b
JM
136242013-12-16 Joseph Myers <joseph@codesourcery.com>
13625
13626 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13627 * math/auto-libm-test-out: Regenerated.
13628 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13629 (hypot_test_data): Likewise.
13630 (pow_test_data): Likewise.
13631 (pow_tonearest_test_data): Likewise.
13632 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13633 mpfr_ff_f.
13634 (func_calc_desc): Add mpfr_ff_f union field.
13635 (FUNC_mpfr_ff_f): New macro.
13636 (test_functions): Add atan2, hypot and pow.
13637 (special_fill_min): New function.
13638 (special_fill_minus_min): Likewise.
13639 (special_fill_min_subnorm): Likewise.
13640 (special_fill_minus_min_subnorm): Likewise.
13641 (special_real_inputs): Add min, -min, min_subnorm and
13642 -min_subnorm.
13643 (calc_generic_results): Handle mpfr_ff_f.
13644 * sysdeps/i386/fpu/libm-test-ulps: Update.
13645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13646
5764c27f
WN
136472013-12-16 Will Newton <will.newton@linaro.org>
13648
13649 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13650 (Aligned Memory Blocks): Add documentation for aligned_alloc
13651 and suggest it as an alternative to posix_memalign.
13652 (Hooks for Malloc): Document __memalign_hook is also called
13653 for aligned_alloc. (Summary of Malloc): Add summary for
13654 aligned alloc. Document __memalign_hook is also called
13655 for aligned_alloc.
13656
0a096e44
WN
136572013-12-16 Will Newton <will.newton@linaro.org>
13658
13659 * manual/memory.texi (Malloc Examples): Clarify default
13660 alignment documentation. Suggest posix_memalign rather
13661 than memalign or valloc.
13662 (Aligned Memory Blocks): Remove suggestion to use memalign
13663 or valloc. Remove obsolete comment about BSD.
13664 Document memalign errno values and mark the function obsolete.
13665 Document posix_memalign returned error codes. Mark valloc
13666 as obsolete. (Hooks for Malloc): __memalign_hook is also
13667 called for posix_memalign and valloc.
13668 (Summary of Malloc): Add posix_memalign to function summary.
13669 __memalign_hook is also called for posix_memalign and valloc.
13670
8d561986
SP
136712013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13672
13673 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13674 TAYLOR_SIN.
13675 (__sin): Adjust.
13676 (__cos): Likewise.
13677 (sloww): Use mynumber union. Expand ternary operator into
13678 if-else statements.
13679 (cslow): use mynumber union.
13680
73616a74
AM
136812013-12-16 Allan McRae <allan@archlinux.org>
13682
9e8ac24b
AM
13683 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13684 * configure: Regenerated.
13685
6f8e37eb
AM
13686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13687
8894bad3
AM
13688 [BZ #14120]
13689 * configure.ac: Added --enable-maintainer-mode. Check for
13690 autoconf when enabled.
13691 * configure: Regenerated.
13692
73616a74
AM
13693 * nscd/nscd.service: New file.
13694 * nscd/nscd.tmpfiles: New file.
13695
584b18eb
OB
136962013-12-14 Ondřej Bílka <neleai@seznam.cz>
13697
13698 [BZ #12100]
13699 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13700 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13701 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13702 (strstr): Add __strstr_sse2_unaligned ifunc.
13703 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13704 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13705 (strcasestr): Remove __strcasestr_sse42 ifunc.
13706 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13709
8a5c7897
KK
137102013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13711
13712 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13713 * sysdeps/sh/bits/fenv.h: ... here.
13714 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13715
fd712ef3
AZ
137162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13717
13718 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13719
42fcb46c
AZ
13720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13721 hypotf multiarch implementations.
13722 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13725 multiarch hypot for PPC64.
13726 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13727 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13729 multiarch hypotf for PPC64.
13730
83efded4
AZ
13731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13732 modff multiarch implementations.
13733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13736 multiarch modf for PPC64.
13737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13740 multiarch modff for PPC64.
13741
43e246d2
AZ
13742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13743 and logl multiarch implementations.
13744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13747 multiarch logb for PPC64.
13748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13751 multiarch logb for PPC64.
13752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13755 multiarch logb for PPC64.
13756
8fdad123
AZ
13757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13758 isinff multiarch implementation.
13759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13760 file.
13761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13763 multiarch isinf for PPC64.
13764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13765 file.
13766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13767 multiarch isinff for PPC64.
13768
1481d706
AZ
13769 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13770 finitef multiarch implementation.
13771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13772 file.
13773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13775 multiarch finite for PPC64.
13776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13777 file.
13778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13779 multiarch finitef for PPC64.
13780
5ccd5fc8
AZ
13781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13782 lrint multiarch implementation.
13783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13784 file.
13785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13787 multiarch llrint for PPC64.
13788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13789 multiarch lrint for PPC64.
13790
2568f3fa
AZ
13791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13792 copysignf multiarch implementation.
13793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13794 file.
13795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13796 file.
13797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13798 multiarch copysign for PPC64.
13799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13800 multiarch copysignf for PPC64.
13801
1cb341fd
AZ
13802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13803 multiarch implementation.
13804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13805 file.
13806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13807 file.
13808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13809 file.
13810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13811 file.
13812 multiarch llround for PPC64.
13813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13814 multiarch trunc for PPC64.
13815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13816 multiarch truncf for PPC64.
13817
59a3e194
AZ
13818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13819 multiarch implementation.
13820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13821 file.
13822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13823 file.
13824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13825 file.
13826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13827 file.
13828 multiarch llround for PPC64.
13829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13830 multiarch round for PPC64.
13831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13832 multiarch roundf for PPC64.
13833
357fd3b4
AZ
13834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13835 multiarch implementation.
13836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13837 file.
13838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13839 file.
13840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13841 file.
13842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13843 file.
13844 multiarch llround for PPC64.
13845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13846 multiarch floor for PPC64.
13847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13848 multiarch floorf for PPC64.
13849
96770f12
AZ
13850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13851 multiarch implementation.
13852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13853 file.
13854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13855 file.
13856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13857 file.
13858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13859 file.
13860 multiarch llround for PPC64.
13861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13862 multiarch ceil for PPC64.
13863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13864 multiarch ceilf for PPC64.
13865
c3627f6e
AZ
13866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13867 multiarch implementation.
13868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13869 file.
13870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13871 file.
13872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13873 file.
13874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13875 multiarch llround for PPC64.
13876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13877 multiarch lround for PPC64.
13878
b2284ad7
AZ
13879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13880 multiarch implementation.
13881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13884 file.
13885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13888 multiarch isnan for PPC64.
13889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13890 multiarch isnanf for PPC64.
13891
69bbc63d
AZ
13892 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13893 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13894 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13895 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13896 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13898
c24517c9
AZ
13899 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13900 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13901 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13903
a52374e8
AZ
13904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13905 multiarch implementations.
13906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13907 (__libc_ifunc_impl_list): Likewise.
13908 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13909 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13910 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13911 multiarch stpcpy for PPC64.
13912
7f5ec113
AZ
13913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13914 multiarch implementations.
13915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13916 (__libc_ifunc_impl_list): Likewise.
13917 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13918 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13919 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13920 multiarch strcpy for PPC64.
13921
e28bcd42
AZ
13922 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13923 redefine function name.
13924 (_wordcopy_fwd_dest_aligned): Likewise.
13925 (_wordcopy_bwd_aligned): Likewise.
13926 (_wordcopy_bwd_dest_aligned): Likewise.
13927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13928 multiarch implementations.
13929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13930 (__libc_ifunc_impl_list): Likewise.
13931 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13932 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13933 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13934 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13935 multiarch wcscpy for PPC64.
13936
92cacfce
AZ
13937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13938 multiarch implementations.
13939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13940 (__libc_ifunc_impl_list): Likewise.
13941 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13942 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13943 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13944 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13945 multiarch wcscpy for PPC64.
13946
7b714620
AZ
13947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13948 multiarch implementations.
13949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13950 (__libc_ifunc_impl_list): Likewise.
13951 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13952 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13953 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13954 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13955 multiarch wcsrchr for PPC64.
13956
16fd2ae3
AZ
13957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13958 multiarch implementations.
13959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13960 (__libc_ifunc_impl_list): Likewise.
13961 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13962 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13963 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13964 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13965 multiarch wcschr for PPC64.
13966
9ee2969b
AZ
13967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13968 multiarch implementations.
13969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13970 (__libc_ifunc_impl_list): Likewise.
13971 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13972 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13973 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13974 multiarch strchrnul for PPC64.
13975
372dc060
AZ
13976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13977 implementations.
13978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13979 (__libc_ifunc_impl_list): Likewise.
13980 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13981 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13982 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13983 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13984 strchr for PPC64.
13985
24c2c3b9
AZ
13986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13987 implementations.
13988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13989 (__libc_ifunc_impl_list): Likewise.
13990 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13991 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13993 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13994 strncmp for PPC64.
13995
1c92d9a0
AZ
13996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13997 multiarch implementations.
13998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13999 (__libc_ifunc_impl_list): Likewise.
14000 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14001 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14002 strncasecmp for PPC64.
14003 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14004 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14005 multiarch strncasecmp_l for PPC64.
14006
17de3ee3
AZ
14007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14008 multiarch implementations.
14009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14010 (__libc_ifunc_impl_list): Likewise.
14011 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14012 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14013 multiarch strcasecmp for PPC64.
14014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14015 file.
14016 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14017 multiarch strcasecmp_l for PPC64.
14018
62982bf9
AZ
14019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14020 implementations.
14021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14022 (__libc_ifunc_impl_list): Likewise.
14023 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14024 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14025 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14026 strnlen for PPC64.
14027
a65f4904
AZ
14028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14029 implementations.
14030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14031 (__libc_ifunc_impl_list): Likewise.
14032 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14033 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14034 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14035 strlen for PPC64.
14036
1fd005ad
AZ
14037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14038 implementations.
14039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14040 (__libc_ifunc_impl_list): Likewise.
14041 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14042 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14043 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14044 rawmemrchr for PPC64.
14045
cd05ba91
AZ
14046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14047 implementation.
14048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14049 (__libc_ifunc_impl_list): Likewise.
14050 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14051 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14052 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14053 memrchr for PPC64.
14054
870f8676
AZ
14055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14056 implementation.
14057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14058 (__libc_ifunc_impl_list): Likewise.
14059 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14060 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14061 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14062 memchr for PPC64.
14063
f00be62b
AZ
14064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14065 implementation.
14066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14067 (__libc_ifunc_impl_list): Likewise.
14068 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14069 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14071 mempcpy for PPC64.
14072
8a29a3d0
AZ
14073 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14074 avoid cretion of __bzero symbol.
14075 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14076 Likewise.
14077 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14078 Likewise.
14079 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14080 Likewise.
14081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14082 multiarch implementations.
14083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14084 (__libc_ifunc_impl_list): Likewise.
14085 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14086 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14087 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14088 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14089 bzero for PPC32.
14090 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14091 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14092 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14093 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14094 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14095 memset for PPC64.
14096 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14097
07253fcf
AZ
14098 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14100 implementations.
14101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14102 (__libc_ifunc_impl_list): Likewise.
14103 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14104 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14105 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14106 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14107 memcmp for PPC64.
14108
b5beafbc
AZ
14109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14110 multiarch for POWER/PPC64.
14111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14112 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14113 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14117 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14118 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14119 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14120 memcpy for PPC64.
14121
5e6a4d4b
AZ
14122 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14123 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14124 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14125 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14126 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14127 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14128 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14129 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14130 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14131 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14132 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14133 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14134 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14135 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14136 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14144
ddfab6dc
KK
141452013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14146
14147 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14148
19b5525e
SP
141492013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14150
14151 * benchtests/Makefile (bench): Add exp2 and log2.
14152 (LDLIBS-bench-exp2): Add -lm.
14153 (LDLIBS-bench-log2): Likewise.
14154 * benchtests/exp2-inputs: New inputs file.
14155 * benchtests/log2-inputs: New inputs file.
14156 * benchtests/log-inputs: Add new inputs.
14157 * benchtests/tan-inputs: Likewise.
14158
196f7f5d
SP
141592013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14160
7a74607f
SP
14161 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14162 definition...
57f41c40
AS
14163 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14164 (csloww2): ... from here.
7a74607f 14165
196f7f5d
SP
14166 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14167 instead of structures.
14168 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14169 (POLYNOMIAL): Likewise.
14170 (TAYLOR_SLOW): Likewise.
14171 (__sin): Likewise.
14172 (__cos): Likewise.
14173 (slow1): Likewise.
14174 (slow2): Likewise.
14175 (sloww): Likewise.
14176 (sloww1); Likewise.
14177 (sloww2): Likewise.
14178 (bsloww1): Likewise.
14179 (bsloww2): Likewise.
14180 (cslow2): Likewise.
14181 (csloww): Likewise.
14182 (csloww1): Likewise.
14183 (csloww2): Likewise.
14184
0dfa665c
OB
141852013-12-10 Ondřej Bílka <neleai@seznam.cz>
14186
14187 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14188 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14189 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14190 * malloc/hooks.c (realloc_check): Likewise.
14191
5782a80f
OB
14192 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14193 * malloc/arena.c: Remove PER_THREAD conditional.
14194 [!PER_THREAD]: Remove code.
14195 (ptmalloc_unlock_all2): Likewise.
14196 (ptmalloc_init): Likewise.
14197 (_int_new_arena): Likewise.
14198 (arena_get2): Likewise.
14199 * malloc/hooks.c (__malloc_get_state): Likewise.
14200 (__malloc_set_state): Likewise.
14201 * malloc/malloc.c: Likewise.
14202 (struct malloc_state): Likewise.
14203 (struct malloc_par): Likewise.
14204 (__libc_realloc): Likewise.
14205 (__libc_mallopt): Likewise.
14206
aeb95445
AZ
142072013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14208
14209 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14210
e8349efd
OB
142112013-12-09 Ondřej Bílka <neleai@seznam.cz>
14212
14213 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14214 macro to a function. Check for zero perturb_byte.
14215 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14216
f3eeb3fc 14217 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14218 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14219 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14220 force_reg by atomic_forced_read.
14221 * malloc/arena.c (ptmalloc_init): Likewise.
14222 * malloc/hooks.c (top_check): Likewise.
14223
be2f9009
AZ
142242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14225
14226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14227
e7b914bd
MT
142282013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14229
14230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14231
9f0be4f8
JM
142322013-12-08 Joseph Myers <joseph@codesourcery.com>
14233
14234 * math/auto-libm-test-in: Add tests of lgamma.
14235 * math/auto-libm-test-out: Regenerated.
14236 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14237 (M_LOG_2_SQRT_PIl): Likewise.
14238 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14239 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14240 mpfr_f_f1.
14241 (func_calc_desc): Add mpfr_f_f1 union field.
14242 (ARGS1): New macro.
14243 (ARGS2): Likewise.
14244 (ARGS3): Likewise.
14245 (ARGS4): Likewise.
14246 (RET1): Likewise.
14247 (RET2): Likewise.
14248 (CALC): Likewise.
14249 (FUNC): Likewise.
14250 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14251 (test_functions): Add lgamma.
14252 (calc_generic_results): Handle mpfr_f_f1.
14253 * sysdeps/i386/fpu/libm-test-ulps: Update.
14254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14255
24eeafdb
AZ
142562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14257
14258 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14259 __mpn_add_n for PowerPC64/POWER7.
14260 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14261 __mpn_sub_n for PowerPC64/POWER7.
14262
4a2c0fd4
AZ
14263 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14264 __mpn_addmul_1 for PowerPC64.
14265 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14266 __mpn_submul_1 for PowerPC64.
14267 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14268 for PowerPC64.
14269 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14270 for PowerPC64.
14271
4b5b548c
FS
142722013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14273
14274 [BZ #15089]
14275 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14276
0a3ac0aa
AZ
142772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14278
14279 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14280
ccdc8438
AZ
14281 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14282 add multiarch folders.
14283 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14284 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14285 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14286 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14287 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14288 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14289 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14290 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14291 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14292 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14293 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14300
2e973d99
AZ
14301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14302 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14304 New file.
14305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14306 New file.
14307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14308 multiarch __ieee754_hypot for PowerPC32.
14309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14310 New file.
14311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14312 New file.
14313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14314 multiarch __ieee754_hypotf for PowerPC32.
14315
2d9470b2
AZ
14316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14317 long_double_symbol only if __logbl is defined.
14318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14319 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14321 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14323 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14325 path for implementation.
14326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14327 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14329 logb, and logbl multiarch implementations for PowerPC32.
14330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14331 file.
14332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14333 file.
14334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14335 multiarch logb for PowerPC32.
14336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14337 file.
14338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14339 file.
14340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14341 multiarch logbf for PowerPC32.
14342 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14344 file.
14345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14346 multiarch logbl implementation for PowerPC32.
14347
5212ffce
AZ
14348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14349 and modff multiarch implementations.
14350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14351 New file.
14352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14353 New file.
14354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14355 multiarch modf for PowerPC32.
14356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14357 New file.
14358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14359 New file.
14360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14361 multiarch modff for PowerPC32.
14362
79dccf31
AZ
14363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14364 and lrintf multiarch implementations.
14365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14366 New file.
14367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14368 New file.
14369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14370 multiarch lrint for PowerPC32.
14371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14372 file: multiarch lrintf for PowerPC32.
14373
deb66480
AZ
14374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14375 and lroundf multiarch implementations.
14376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14377 New file.
14378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14379 New file.
14380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14381 New file.
14382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14383 multiarch lround for PowerPC32.
14384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14385 file: multiarch lroundf for PowerPC32.
14386
264b036b
AZ
14387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14388 copysign and copysignf multiarch implementations.
14389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14390 New file.
14391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14392 New file.
14393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14394 file: multiarch copysign for PowerPC32.
14395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14396 file: multiarch copysignf for PowerPC32.
14397
d47db6c9
AZ
14398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14399 and truncf multiarch implementations.
14400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14401 New file.
14402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14403 file.
14404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14405 multiarch trunc for PowerPC32.
14406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14407 New file.
14408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14409 New file.
14410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14411 multiarch truncf for PowerPC32.
14412
ddb60b5a
AZ
14413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14414 and roundf multiarch implementations.
14415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14416 New file.
14417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14418 file.
14419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14420 multiarch round for PowerPC32.
14421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14422 New file.
14423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14424 New file.
14425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14426 multiarch roundf for PowerPC32.
14427
bedcf49b
AZ
14428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14429 and floorf multiarch implementations.
14430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14431 New file.
14432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14433 file.
14434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14435 multiarch floor for PowerPC32.
14436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14437 New file.
14438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14439 New file.
14440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14441 multiarch floorf for PowerPC32.
14442
35ae5b40
AZ
14443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14444 and ceilf multiarch implementations.
14445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14446 New file.
14447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14448 file.
14449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14450 multiarch ceil for PowerPC32.
14451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14452 New file.
14453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14454 file.
14455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14456 multiarch ceilf for PowerPC32.
14457
ae1a4cd9
AZ
14458 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14459 is defined.
14460 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14461 FINITEF is defined.
14462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14463 and finitef multiarch implementations.
14464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14465 New file.
14466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14467 file.
14468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14469 multiarch finite for PowerPC32.
14470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14471 New file.
14472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14473 file: multiarch finitef for PowerPC32.
14474
64fffd65
AZ
14475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14476 and isinff multiarch implementations.
14477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14478 file.
14479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14480 file.
14481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14482 multiarch isinf for PowerPC32.
14483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14484 New file.
14485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14486 multiarch isinff for PowerPC32.
14487
8e4e7ba2
AZ
14488 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14489 alias when __isnan is defined.
14490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14491 and isnanf multiarch implementations.
14492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14493 file.
14494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14495 file.
14496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14497 file.
14498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14499 file.
14500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14501 multiarch isnan for PowerPC32.
14502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14503 New file.
14504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14505 New file.
14506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14507 multiarch isnanf for PowerPC32.
14508
ddba588e
AZ
14509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14510 and sqrtf multiarch implementations.
14511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14512 file.
14513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14514 file.
14515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14516 multiarch sqrt for PowerPC32.
14517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14518 file.
14519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14520 file.
14521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14522 multiarch sqrtf for PowerPC32.
14523
0f96a2f0
AZ
14524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14525 and llroundf multiarch implementations.
14526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14527 New file.
14528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14529 New file.
14530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14531 New file.
14532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14533 file: multiarch llround for PowerPC32.
14534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14535 file: multiarch llroundf for PowerPC32.
14536
c9b5d79e
AZ
14537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14538 multiarch PowerPC32 fpu implementations.
14539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14540 New file.
14541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14542 New file.
14543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14544 multiarch llrint for PowerPC32.
14545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14546 New file.
14547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14548 New file.
14549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14550 file.
14551
9cbb3aab
AZ
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14553
ea5a72f8
AZ
14554 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14555 file.
14556 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14557 file.
14558 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14559 file.
14560 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14561 multiarch wordcopy for PPC32.
14562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14563 wordcopy objects.
14564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14565 (__libc_ifunc_impl_list): Likewise.
14566 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14567 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14569 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14571 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14572
93be09e7
AZ
14573 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14575 file.
14576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14577 file.
14578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14579 file.
14580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14581 multiarch wcscpy for PPC32.
14582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14583 multiarch objects.
14584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14585 (__libc_ifunc_impl_list): Likewise.
14586 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14587 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14588 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14589 sysdeps/powerpc/power6/wcscpy.c.
14590
bb04e529
AZ
14591 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14593 file.
14594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14595 file.
14596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14597 file.
14598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14599 multiarch wcsrchr for PPC32.
14600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14601 multiarch objects.
14602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14603 (__libc_ifunc_impl_list): Likewise.
14604 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14605 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14606 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14607 sysdeps/powerpc/power6/wcsrchr.c.
14608
05b5cd1c
AZ
14609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14610 file.
14611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14612 file.
14613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14615 multiarch wcschr for PPc32.
14616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14617 multiarch objects.
14618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14619 (__libc_ifunc_impl_list): Likewise.
14620 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14621 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14622 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14623 sysdeps/powerpc/power6/wcschr.c.
14624
ba964147
AZ
14625 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14627 file.
14628 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14629 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14630 file: multiarch strchr for PPC32.
14631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14632 multiarch objects.
14633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14634 (__libc_ifunc_impl_list): Likewise.
14635
31c81aaa
AZ
14636 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14637 name.
14638 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14639 file.
14640 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14641 file.
14642 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14643 multiarch strchrnul for PPC32.
14644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14645 multiarch objects.
14646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14647 (__libc_ifunc_impl_list): Likewise.
14648
0d0607d9
AZ
14649 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14650 file.
14651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14652 multiarch strncasecmp for PPC32.
14653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14654 file.
14655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14656 multiarch strncasecmp_l for PPC32.
14657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14658 strncasecmp multiarch objects.
14659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14660 (__libc_ifunc_impl_list): Likewise.
14661
4dfd5c86
AZ
14662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14663 file.
14664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14665 multiarch strncasecmp for PPC32.
14666 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14667 New file.
14668 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14669 multiarch strcasecmp_l for PPC32.
14670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14671 multiarch objects.
14672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14673 (__libc_ifunc_impl_list): Likewise.
14674
a19e01a3
AZ
14675 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14676 file.
14677 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14678 file.
14679 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14680 multiarch strncmp for PPC32.
14681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14682 multiarch objects.
14683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14684 (__libc_ifunc_impl_list): Likewise.
14685
ae9cf7a2
AZ
14686 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14687 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14688 file.
14689 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14690 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14692 multiarch objects.
14693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14694 (__libc_ifunc_impl_list): Likewise.
14695
3148bb7d
AZ
14696 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14697 file.
14698 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14699 file.
14700 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14702 multiarch objects.
14703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14704 (__libc_ifunc_impl_list): Likewise.
14705
7af8b946
AZ
14706 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14707 file.
14708 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14709 file.
14710 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14711 multiarch rawmemchr for PPC32.
14712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14713 multiarch objects.
14714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14715 (__libc_ifunc_impl_list): Likewise.
14716
03a6aa6a
AZ
14717 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14718 file.
14719 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14720 file.
14721 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14722 file: memrchr multiarch for PPC32.
14723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14724 multiarch objects.
14725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14726 (__libc_ifunc_impl_list): Likewise.
14727
1c62e6d9
AZ
14728 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14730 file.
14731 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14732 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14733 multiarch memchr for PPC32.
14734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14735 multiarch objects.
14736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14737 (__libc_ifunc_impl_list): Likewise.
14738
87da8bdb
AZ
14739 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14740 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14741 file.
14742 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14743 file.
14744 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14745 file: multiarch mempcpy for PPC32.
14746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14747 multiarch objects.
14748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14749 (__libc_ifunc_impl_list): Likewise.
14750
20ed4714
AZ
14751 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14753 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14754 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14755 multiarch bzero for PPC32.
14756 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14757 file.
14758 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14759 file.
14760 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14761 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14762 file: multiarch memset for PPC32.
14763 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14765 memset multiarch objects.
14766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14767 (__libc_ifunc_impl_list): Likewise.
14768
ab3e3a46
AZ
14769 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14770 file.
14771 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14773 memcmp for PPC32.
14774 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14776 multiarch objects.
14777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14778 (__libc_ifunc_impl_list): Likewise.
14779
930de6f0
AZ
14780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14781 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14783 file.
14784 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14785 file.
14786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14787 file.
14788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14789 multiarch memcpy for PPC32.
14790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14791 multiarch objects.
14792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14793 (__libc_ifunc_impl_list): Likewise.
14794
4c628e00
AZ
14795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14796 support multiarch for POWER/PPC32.
14797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14798 Likewise.
14799 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14801 Implies file to make multiarch folder appers before the fpu and
14802 default folder for power4 configuration.
14803
f4479220
SP
148042013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14805
14806 * scripts/bench.pl: Append volatile keyword to type.
14807
8517800f
KK
148082013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14809
14810 * sysdeps/sh/sotruss-lib.c: New file.
14811 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14812
180138f1
AZ
148132013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14814
14815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14816
bbf37bdc
JM
148172013-12-05 Joseph Myers <joseph@codesourcery.com>
14818
e47cc4e0
JM
14819 [BZ #6810]
14820 * math/w_tgamma.c: Include <errno.h>.
14821 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14822 * math/w_tgammaf.c: Include <errno.h>.
14823 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14824 * math/w_tgammal.c: Include <errno.h>.
14825 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14826 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14827 underflow. Add more tgamma tests.
14828 * math/auto-libm-test-out: Regenerated.
14829 * sysdeps/i386/fpu/libm-test-ulps: Update.
14830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831
bbf37bdc
JM
14832 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14833 sin, sinh, tan, tanh, tgamma, y0 and y1.
14834 * math/auto-libm-test-out: Regenerated.
14835 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14836 (TEST_COND_x86): Likewise.
14837 (M_E2l): Remove macro.
14838 (M_E3l): Likewise.
14839 (M_2_SQRT_PIl): Likewise.
14840 (M_SQRT_PIl): Likewise.
14841 (M_1_DIV_El): Likewise.
14842 (log_test_data): Use AUTO_TESTS_f_f.
14843 (log10_test_data): Likewise.
14844 (log1p_test_data): Likewise.
14845 (log2_test_data): Likewise.
14846 (sin_test_data): Likewise.
14847 (sin_tonearest_test_data): Likewise.
14848 (sin_towardzero_test_data): Likewise.
14849 (sin_downward_test_data): Likewise.
14850 (sin_upward_test_data): Likewise.
14851 (sinh_test_data): Likewise.
14852 (sinh_tonearest_test_data): Likewise.
14853 (sinh_towardzero_test_data): Likewise.
14854 (sinh_downward_test_data): Likewise.
14855 (sinh_upward_test_data): Likewise.
14856 (tan_test_data): Likewise.
14857 (tan_tonearest_test_data): Likewise.
14858 (tan_towardzero_test_data): Likewise.
14859 (tan_downward_test_data): Likewise.
14860 (tan_upward_test_data): Likewise.
14861 (tanh_test_data): Likewise.
14862 (tgamma_test_data): Likewise.
14863 (y0_test_data): Likewise.
14864 (y1_test_data): Likewise.
14865 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14866 (special_real_inputs): Add pi/4.
14867 * sysdeps/i386/fpu/libm-test-ulps: Update.
14868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14869
eb5ad6b9
AZ
148702013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14871
14872 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14873 "longjmp_target" static probes.
14874 (__longjmp): Rename to __longjmp_symbol.
14875 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14876 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14877 on which longjmp to generate.
14878 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14880 probe.
14881 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14882 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14883 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14884 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14885 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14886 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14888 __longjmp_symbol based on which __longjmp to generate.
14889 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14890 probe.
14891 (setjmp): Rename to setjmp_symbol.
14892 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14893 (_setjmp): Rename to _setjmp_symbol.
14894 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14895 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14896 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14897 which setjmp to generate.
14898 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14899 "longjmp_target" static probes.
14900
d136c6dc
SP
149012013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14902
9298ecba
SP
14903 * benchtests/README: Add note about output arguments.
14904 * benchtests/bench-sincos.c: Remove file.
14905 * benchtests/sincos-inputs: New file.
14906 * scripts/bench.pl: Identify output arguments and define
14907 static variables for them.
14908
232983e9
SP
14909 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14910
d136c6dc
SP
14911 [BZ #15941]
14912 * Makefile (INSTALL): Add install-plain.texi as the primary
14913 dependency.
14914 * manual/install-plain.texi: New file.
14915 * manual/install.texi: Include node directive only for
14916 non-plaintext output.
14917
699ff837
JM
149182013-12-04 Joseph Myers <joseph@codesourcery.com>
14919
ab07cea8
JM
14920 * stdlib/longlong.h: Update from GCC.
14921
699ff837
JM
14922 [BZ #6807]
14923 [BZ #15901]
14924 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14925 * math/w_j0f.c (y0f): Likewise.
14926 * math/w_j0l.c (__y0l): Likewise.
14927 * math/w_j1.c (y1): Likewise.
14928 * math/w_j1f.c (y1f): Likewise.
14929 * math/w_j1l.c (__y1l): Likewise
14930 * math/w_jn.c (yn): Likewise.
14931 * math/w_jnf.c (ynf): Likewise.
14932 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14933 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14934 value for Bessel function domain errors outside _SVID_ mode.
14935 Adjust sign of return value for yn (negative integer, 0).
14936 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14937 by zero in return for negative x and set sign appropriately for
14938 negative n.
14939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14940 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14941 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14942 expectations in error cases.
14943 (y1_test_data): Likewise.
14944 (yn_test_data): Likewise.
14945 * sysdeps/i386/fpu/libm-test-ulps: Update.
14946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14947
5b118558
UW
149482013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14949
14950 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14951 "64" to "64-v1". Add "64-v2".
14952 (abi-64-options): Rename to ...
14953 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14954 (abi-64-condition): Rename to ...
14955 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14956 (abi-64-ld-soname): Rename to ...
14957 (abi-64-v1-ld-soname): ... this.
14958 (abi-64-v2-options): Define.
14959 (abi-64-v2-condition): Likewise.
14960 (abi-64-v2-ld-soname): Likewise.
14961 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14962 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14966
61cd8fe4
UW
149672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14968 Alan Modra <amodra@gmail.com>
14969
14970 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14971 New versions for use with the ELFv2 ABI.
14972 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14973 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14974 declaration.
14975 (struct La_ppc64v2_retval): Likewise.
14976 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14977 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14978 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14979 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14980 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14981 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14982 Do not save or restore CR.
14983 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14984 (_dl_profile_resolve): Do no save or restore CR. Support extended
14985 return values for ELFv2 ABI. Fix location of FPR return registers.
14986 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14987 updated values for _CALL_ELF == 2.
14988 (La_regs, La_retval, int_retval): Likewise.
14989
8b8a692c
UW
149902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14991
14992 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14993 (FRAME_MIN_SIZE_PARM): Likewise.
14994 (FRAME_BACKCHAIN): Likewise.
14995 (FRAME_CR_SAVE): Likewise.
14996 (FRAME_LR_SAVE): Likewise.
14997 (FRAME_TOC_SAVE): Likewise.
14998 (FRAME_PARM_SAVE): Likewise.
14999 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15000 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15001 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15002 (call_mcount_parm_offset): New macro.
15003 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15004 (PROF): Use symbolic stack frame offsets.
15005 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15006 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15007 Redefine in terms of FRAME_MIN_SIZE.
15008 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15009 (_dl_profile_resolve): Likewise. Update comment.
15010 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15011 symbols stack frame offsets.
15012 (__sigsetjmp): Likewise.
15013 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15014 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15015 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15016 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15017
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15019 (FRAME_BACKCHAIN): Remove.
15020 (FRAME_CR_SAVE): Likewise.
15021 (FRAME_LR_SAVE): Likewise.
15022 (FRAME_COMPILER_DW): Likewise.
15023 (FRAME_LINKER_DW): Likewise.
15024 (FRAME_TOC_SAVE): Likewise.
15025 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15026 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15027 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15028 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15030 (CHECK_SP): Use symbolic stack frame offsets.
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15032 zone" instead of caller's parameter save area for temp storage.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15034 Likewise. Also, use symbolic stack frame offsets.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15036 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15037 our own stack frame instead of the caller's.
15038 (__socket): Use symbolic stack frame offsets.
15039
122b66de
UW
150402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15041 Alan Modra <amodra@gmail.com>
15042
15043 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15044 Define.
57f41c40
AS
15045 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15046 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15047 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15048 New function.
15049 (elf_machine_fixup_plt): Call it.
15050 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15051 reloc arguments.
15052 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15053 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15054 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15055 r2 before calling target.
15056
696caf1d
UW
150572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15058 Alan Modra <amodra@gmail.com>
15059
15060 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15061 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15062 versions of macros to support ELFv2 ABI.
15063 (LOCALENTRY): New macro.
15064 (ENTRY, EALIGN): Use it.
15065 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15066 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15067 fall through into ENTRY entry point.
15068 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15069 Only define if _CALL_ELF != 2.
15070
15071 (elf_machine_matches_host): Verify ABI version matches.
15072 (RTLD_START): Use LOCALENTRY.
15073 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15074 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15075 (PLT_ENTRY_WORDS): New macro.
15076 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15077 (elf_machine_runtime_setup): Support ELFv2 ABI.
15078 (elf_machine_fixup_plt): Likewise.
15079 (elf_machine_plt_conflict): Likewise.
15080 (resolve_ifunc): Likewise.
15081 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15082 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15083 Likewise.
15084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15085 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15087 (makecontext): Support ELFv2 ABI.
15088 * elf/elf.h (EF_PPC64_ABI): Define.
15089
d31beafa
UW
150902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15091
57f41c40
AS
15092 * sysdeps/powerpc/powerpc64/sysdep.h
15093 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15094 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15095 (ENTRY) [ASSEMBLER]: ... but instead here ...
15096 (EALIGN) [ASSEMBLER]: ... and here.
15097 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15098 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15099 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15100 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15101 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15103 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15104 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15106 Use PPC64_LOAD_FUNCPTR.
15107
b525166b
UW
15108 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15109
7ec07d9a
AM
151102013-12-04 Alan Modra <amodra@gmail.com>
15111
15112 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15113 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15114 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15115 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15116
15117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15118 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15119 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15120 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15121 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15122 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15123
5162e7dd
UW
151242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15125
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15127 (__makecontext): Fix incorrect CFI when backtracing out of
15128 context created via makecontext.
15129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15130 (__setcontext): Fix incorrect CFI during switch to new context.
15131 (__novec_setcontext): Likewise.
15132
19e3372b
OB
151332013-12-04 Ondřej Bílka <neleai@seznam.cz>
15134
15135 [BZ #4772]
15136 * time/strptime_l.c (__strptime_internal): Allow modifiers
15137 in strptime.
15138 * time/tst-strptime.c (day_tests): Add testcase.
15139
ecaf142d
SP
151402013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15141
15142 * scripts/bench.pl: Skip over blank lines.
15143
fbf964ae
PE
151442013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15145
15146 [BZ #926]
15147 * manual/time.texi (Calendar Time): Clarify what timezone functions
15148 use.
15149
fa60a674
AZ
151502013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15151
15152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15153
d674f0ef
OB
151542013-12-04 Ondřej Bílka <neleai@seznam.cz>
15155
15156 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15157 implementation.
15158 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15159 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15160 * debug/memset_chk.c (__memset_chk): Likewise.
15161 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15162 * debug/strncpy_chk.c: Likewise.
15163
17dea188
JM
151642013-12-03 Joseph Myers <joseph@codesourcery.com>
15165
749008ff
JM
15166 [BZ #15268]
15167 [BZ #15425]
15168 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15169 (__ieee754_exp): For possibly underflowing results, check size of
15170 result and force underflow exception if required.
15171 * math/auto-libm-test-in: Add more tests of exp.
15172 * math/auto-libm-test-out: Regenerated.
15173 * sysdeps/i386/fpu/libm-test-ulps: Update.
15174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15175
17dea188
JM
15176 [BZ #16283]
15177 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15178 * math/w_exp2f.c (__exp2f): Likewise.
15179 * math/w_exp2l.c (__exp2l): Likewise.
15180 * math/auto-libm-test-in: Do not allow missing errno on exp2
15181 underflow.
15182 * math/auto-libm-test-out: Regenerated.
15183
b20de2c3
OB
151842013-12-03 Ondřej Bílka <neleai@seznam.cz>
15185
15186 [BZ #16274]
15187 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15188 handle filename validation.
15189 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15190 (do_open): Delete.
15191
d8e2dbe3
JM
151922013-12-03 Joseph Myers <joseph@codesourcery.com>
15193
34e16df5
JM
15194 [BZ #6786]
15195 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15196 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15197 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15198 <float.h>.
15199 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15201 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15203 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15205 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15206 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15207 Add more erfc tests.
15208 * math/auto-libm-test-out: Regenerated.
15209 * sysdeps/i386/fpu/libm-test-ulps: Update.
15210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15211
d8e2dbe3
JM
15212 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15213 exp2, expm1, j0 and j1.
15214 * math/auto-libm-test-out: Regenerated.
15215 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15216 (erfc_test_data): Likewise.
15217 (exp_test_data): Likewise.
15218 (exp_tonearest_test_data): Likewise.
15219 (exp_towardzero_test_data): Likewise.
15220 (exp_downward_test_data): Likewise.
15221 (exp_upward_test_data): Likewise.
15222 (exp10_test_data): Likewise.
15223 (exp2_test_data): Likewise.
15224 (expm1_test_data): Likewise.
15225 (j0_test_data): Likewise.
15226 (j1_test_data): Likewise.
15227 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15228 (input_flag_type): Add flag_xfail_rounding.
15229 (input_flags): Add xfail-rounding.
15230 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15231 (output_for_one_input_case): Handle flag_xfail_rounding.
15232 * sysdeps/i386/fpu/libm-test-ulps: Update.
15233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15234
18d14251
AJ
152352013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15236
3d2e6075 15237 [BZ #16289]
18d14251
AJ
15238 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15239 division by 0.
15240
520d437b
SP
152412013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15242
15243 [BZ #16195]
15244 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15245 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15246 (STAP_PROBE0): New macro.
15247 (STAP_PROBE1): Likewise.
15248 (STAP_PROBE2): Likewise.
15249 (STAP_PROBE3): Likewise.
15250 (STAP_PROBE4): Likewise.
15251
416e0145
OB
152522013-12-02 Ondřej Bílka <neleai@seznam.cz>
15253
15254 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15255
9d17796a
SE
152562013-12-02 Steve Ellcey <sellcey@mips.com>
15257
15258 * benchtests/Makefile (bench): Add sqrt.
15259 (LDLIBS-bench-sqrt): New.
15260 * benchtests/sqrt-input: New.
15261
f524d6a8
PS
152622013-12-02 Pavel Simerda <psimerda@redhat.com>
15263
639a0ef8
PS
15264 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15265 (GAIH_EAI): Likewise.
15266 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15267 (gaih_inet): Likewise.
15268 (getaddrinfo): Don't use GAIH_EAI.
15269
f524d6a8
PS
15270 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15271 (struct gaih): Remove definition.
15272
df3aedaf
SP
152732013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15274
15275 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15276 Use HERRNOP directly.
15277
1ab19dec
AZ
152782013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15279
b42ad38d 15280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15281
176b0c79
JM
152822013-11-30 Joseph Myers <joseph@codesourcery.com>
15283
15284 * math/gen-auto-libm-tests.c (test_functions): Add more
15285 single-argument functions.
15286 (special_fill_pi_2): New function.
15287 (special_fill_minus_pi_2): Likewise.
15288 (special_fill_pi_6): Likewise.
15289 (special_fill_minus_pi_6): Likewise.
15290 (special_fill_pi_3): Likewise.
15291 (special_fill_2pi_3): Likewise.
15292 (special_fill_e): Likewise.
15293 (special_fill_1_e): Likewise.
15294 (special_fill_e_minus_1): Likewise.
15295 (special_real_inputs): Add more special inputs.
15296 (output_for_one_input_case): Do not require ERANGE on underflow to
15297 zero if round-to-nearest result does not underflow to zero, unless
15298 exact results required.
15299 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15300 atan, atanh, cbrt, cos and cosh.
15301 * math/auto-libm-test-out: Regenerated.
15302 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15303 (acos_tonearest_test_data): Likewise.
15304 (acos_towardzero_test_data): Likewise.
15305 (acos_downward_test_data): Likewise.
15306 (acos_upward_test_data): Likewise.
15307 (acosh_test_data): Likewise.
15308 (asin_test_data): Likewise.
15309 (asin_tonearest_test_data): Likewise.
15310 (asin_towardzero_test_data): Likewise.
15311 (asin_upward_test_data): Likewise.
15312 (asinh_test_data): Likewise.
15313 (atan_test_data): Likewise.
15314 (atanh_test_data): Likewise.
15315 (cbrt_test_data): Likewise.
15316 (cos_test_data): Likewise.
15317 (cos_tonearest_test_data): Likewise.
15318 (cos_towardzero_test_data): Likewise.
15319 (cos_downward_test_data): Likewise.
15320 (cos_upward_test_data): Likewise.
15321 (cosh_test_data): Likewise.
15322 (cosh_tonearest_test_data): Likewise.
15323 (cosh_towardzero_test_data): Likewise.
15324 (cosh_downward_test_data): Likewise.
15325 (cosh_upward_test_data): Likewise.
15326 * sysdeps/i386/fpu/libm-test-ulps: Update.
15327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15328
ffb536d0
JM
153292013-11-29 Joseph Myers <joseph@codesourcery.com>
15330
2a77a467
JM
15331 [BZ #6787]
15332 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15333 * math/w_exp10f.c (__exp10f): Likewise.
15334 * math/w_exp10l.c (__exp10l): Likewise.
15335 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15336 errno settings in existing tests.
15337
ea3bc4e8
JM
15338 [BZ #14032]
15339 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15340 precision control set to double precision.
15341 * sysdeps/i386/fpu/w_sqrt.c: New file.
15342 * math/auto-libm-test-in: Add more tests.
15343 * math/auto-libm-test-out: Update.
15344
0712c9d8
JM
15345 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15346 (sqrt_test_tonearest): New function.
15347 (sqrt_towardzero_test_data): New variable.
15348 (sqrt_test_towardzero): New function.
15349 (sqrt_downward_test_data): New variable.
15350 (sqrt_test_downward): New function.
15351 (sqrt_upward_test_data): New variable.
15352 (sqrt_test_upward): New function.
15353 (main): Call the new functions.
15354
ffb536d0
JM
15355 * math/gen-auto-libm-tests.c: New file.
15356 * math/auto-libm-test-in: Likewise.
15357 * math/auto-libm-test-out: New generated file.
15358 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15359 variables.
15360 (%beautify): Add generated representations of zero.
15361 (top level): Set $auto_input and call parse_auto_input.
15362 (beautify): Remove trailing "f" from hex float constants.
15363 (parse_args): Handle XFAIL_TEST.
15364 (convert_condition): New function.
15365 (or_value): Likewise.
15366 (or_cond_value): Likewise.
15367 (generate_testfile): Handle AUTO_TESTS_* lines.
15368 (parse_auto_input): New function.
15369 * math/libm-test.inc (XFAIL_TEST): New macro.
15370 (ERRNO_UNCHANGED): Update value.
15371 (ERRNO_EDOM): Likewise.
15372 (ERRNO_ERANGE): Likewise.
15373 (IGNORE_RESULT): Likewise.
15374 (TEST_COND_flt_32): New macro.
15375 (TEST_COND_dbl_64): Likewise.
15376 (TEST_COND_ldbl_96_intel): Likewise.
15377 (TEST_COND_ldbl_96_m68k): Likewise.
15378 (TEST_COND_ldbl_128): Likewise.
15379 (TEST_COND_ldbl_128ibm): Likewise.
15380 (TEST_COND_long32): Likewise.
15381 (TEST_COND_long64): Likewise.
15382 (TEST_COND_before_rounding): Likewise.
15383 (TEST_COND_after_rounding): Likewise.
15384 (enable_test): Handle XFAIL_TEST flag.
15385 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15386 with finite results.
15387 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15388 auto-libm-test-out.
15389
acd98a8e
AK
153902013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15391 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15392
15393 [BZ #16214]
15394 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15395 __tls_get_addr_internal instead of __tls_get_offset in order to
15396 avoid GOT pointer dependency. Make rtld export
15397 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15398 __tls_get_addr since we are a __tls_get_offset platform.
15399 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15400 GOT pointer being set up before.
15401 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15402
3c1c46a6
JM
154032013-11-28 Joseph Myers <joseph@codesourcery.com>
15404
7475aef5
JM
15405 * manual/math.texi (Errors in Math Functions): Document accuracy
15406 goals.
15407
8bca7cd8
JM
15408 [BZ #15004]
15409 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15410 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15412 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15413 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15415 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15425
91a1f3fe
JM
15426 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15427 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15428 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15429 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15430 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15431 Likewise.
15432 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15433 Likewise.
15434 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15435 Likewise.
15436 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15437 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15438 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15439 atomic-feupdateenv and flt-rounds.
15440 * sysdeps/powerpc/nofpu/Versions (libc): Add
15441 __atomic_feholdexcept, __atomic_feclearexcept,
15442 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15443 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15444 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15445 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15446 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15447 here.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15449 Update.
15450
c5df7609
JM
15451 * manual/arith.texi (FP Exceptions): Document that exceptions may
15452 not be raised when matherr is used.
15453 (Math Error Reporting): Document overflow in directed rounding
15454 modes. Document that errno may not be set when finite values are
15455 returned on overflow. Document intent to set errno on underflow
15456 only for underflow to zero.
15457
3c1c46a6
JM
15458 [BZ #16271]
15459 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15460 round-to-nearest then adjust result for other rounding modes.
15461 * include/fenv.h (fegetround): Use libm_hidden_proto.
15462 * math/fegetround.c (fegetround): Use libm_hidden_def.
15463 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15464 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15465 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15466 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15467 Likewise.
15468 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15469 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15470 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15471 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15472
5a4c6d53
SP
154732013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15474
15475 [BZ #16077]
15476 * nss/Versions (libnss_files): Add
15477 _nss_files_gethostbyname3_r.
15478 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15479 New function.
15480 (HOST_DB_LOOKUP): Remove macro.
15481 (_nss_files_gethostbyname_r): Implement function without the
15482 HOST_DB_LOOKUP macro.
15483 (_nss_files_gethostbyname2_r): Likewise.
15484
897b98ba
OB
154852013-11-28 Ondřej Bílka <neleai@seznam.cz>
15486
15487 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15488
6f476861
UB
154892013-11-26 Uros Bizjak <ubizjak@gmail.com>
15490
15491 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15492 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15493 warning.
15494
bd12ab55
AZ
154952013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15496
15497 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15498 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15499 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15500 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15501 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15502 __fe_nomask_env_priv and attribute_hidden.
15503 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15504 (libc_feupdateenv_test_ppc): Likewise.
15505 (libc_feresetround_ppc): Likewise.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15507 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15508 compat_symbol macro.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15510 (__fe_nomask_env): Likewise.
15511 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15512
52bb6543
OB
155132013-11-26 Ondřej Bílka <neleai@seznam.cz>
15514
15515 * string/Makefile: Remove ifunc tests.
15516 * string/test-string.h: Define TEST_IFUNC.
15517 * string/test-bcopy-ifunc.c: Remove.
15518 * string/test-bzero-ifunc.c: Likewise.
15519 * string/test-memccpy-ifunc.c: Likewise.
15520 * string/test-memchr-ifunc.c: Likewise.
15521 * string/test-memcmp-ifunc.c: Likewise.
15522 * string/test-memcpy-ifunc.c: Likewise.
15523 * string/test-memmem-ifunc.c: Likewise.
15524 * string/test-memmove-ifunc.c: Likewise.
15525 * string/test-mempcpy-ifunc.c: Likewise.
15526 * string/test-memrchr-ifunc.c: Likewise.
15527 * string/test-memset-ifunc.c: Likewise.
15528 * string/test-rawmemchr-ifunc.c: Likewise.
15529 * string/test-stpcpy-ifunc.c: Likewise.
15530 * string/test-stpncpy-ifunc.c: Likewise.
15531 * string/test-strcasecmp-ifunc.c: Likewise.
15532 * string/test-strcasestr-ifunc.c: Likewise.
15533 * string/test-strcat-ifunc.c: Likewise.
15534 * string/test-strchr-ifunc.c: Likewise.
15535 * string/test-strchrnul-ifunc.c: Likewise.
15536 * string/test-strcmp-ifunc.c: Likewise.
15537 * string/test-strcpy-ifunc.c: Likewise.
15538 * string/test-strcspn-ifunc.c: Likewise.
15539 * string/test-strlen-ifunc.c: Likewise.
15540 * string/test-strncasecmp-ifunc.c: Likewise.
15541 * string/test-strncat-ifunc.c: Likewise.
15542 * string/test-strncmp-ifunc.c: Likewise.
15543 * string/test-strncpy-ifunc.c: Likewise.
15544 * string/test-strnlen-ifunc.c: Likewise.
15545 * string/test-strpbrk-ifunc.c: Likewise.
15546 * string/test-strrchr-ifunc.c: Likewise.
15547 * string/test-strspn-ifunc.c: Likewise.
15548 * string/test-strstr-ifunc.c: Likewise.
15549
ab260039 155502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15551
15552 * benchtests/Makefile: Remove ifunc tests.
15553 * benchtests/bench-string.h: Define TEST_IFUNC.
15554 * benchtests/bench-bcopy-ifunc.c: Remove.
15555 * benchtests/bench-bzero-ifunc.c: Likewise.
15556 * benchtests/bench-memccpy-ifunc.c: Likewise.
15557 * benchtests/bench-memchr-ifunc.c: Likewise.
15558 * benchtests/bench-memcmp-ifunc.c: Likewise.
15559 * benchtests/bench-memcpy-ifunc.c: Likewise.
15560 * benchtests/bench-memmem-ifunc.c: Likewise.
15561 * benchtests/bench-memmove-ifunc.c: Likewise.
15562 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15563 * benchtests/bench-memrchr-ifunc.c: Likewise.
15564 * benchtests/bench-memset-ifunc.c: Likewise.
15565 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15566 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15567 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15568 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15569 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15570 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15571 * benchtests/bench-strcat-ifunc.c: Likewise.
15572 * benchtests/bench-strchr-ifunc.c: Likewise.
15573 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15574 * benchtests/bench-strcmp-ifunc.c: Likewise.
15575 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15576 * benchtests/bench-strcpy-ifunc.c: Likewise.
15577 * benchtests/bench-strcspn-ifunc.c: Likewise.
15578 * benchtests/bench-strlen-ifunc.c: Likewise.
15579 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15580 * benchtests/bench-strncat-ifunc.c: Likewise.
15581 * benchtests/bench-strncmp-ifunc.c: Likewise.
15582 * benchtests/bench-strncpy-ifunc.c: Likewise.
15583 * benchtests/bench-strnlen-ifunc.c: Likewise.
15584 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15585 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15586 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15587 * benchtests/bench-strspn-ifunc.c: Likewise.
15588 * benchtests/bench-strstr-ifunc.c: Likewise.
15589
155902013-11-26 Ondřej Bílka <neleai@seznam.cz>
15591
ab260039
OB
15592 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15593
d1d9eaf4 155942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15595
d1d9eaf4
OB
15596 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15597 * rt/aio.h: Likewise.
15598 * sysdeps/gnu/bits/utmp.h: Likewise.
15599 * sysdeps/gnu/bits/utmpx.h: Likewise.
15600 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15601 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15602 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15603 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15604 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15605 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15606 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15607 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15608 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15609 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15610 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15611 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15612 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15614 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15615 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15616 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15617 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15618 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15619 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15620 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15621 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15622 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15624 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15626 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15627 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15628 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15629 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15630 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15632 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15633 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15634 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15635 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15636 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15637 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15638 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15639 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15640 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15641 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15642
a7624ed9
CD
156432013-11-25 Carlos O'Donell <carlos@redhat.com>
15644
15645 [BZ #16245]
15646 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15647 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15648
63cfe52b
JM
156492013-11-25 Joseph Myers <joseph@codesourcery.com>
15650
15651 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15652 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15653 Likewise.
15654
41e8926a
AZ
156552013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15656
15657 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15658 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15659 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15660 (__fesetround): Remove define.
15661 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15662 rounding and exceptions handling.
15663 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15664 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15665 (__fe_nomask_env): Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15667 __fegetround instead of fegetround.
15668 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15669 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15670
6851bd4d
RM
156712013-11-21 Roland McGrath <roland@hack.frob.com>
15672
070906ff
RM
15673 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15674 it's there.
15675
6851bd4d
RM
15676 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15677
84ae135d
MI
156782013-11-21 Meador Inge <meadori@codesourcery.com>
15679
15680 [BZ #11157]
15681 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15682 (encrypt_r): Likewise.
15683 * malloc/obstack.h (obstack_free): Likewise.
15684 * posix/unistd.h (encrypt): Likewise.
15685
daf75146
GM
156862013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15687
15688 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15689 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15690 DL_CALL_DT_FINI() that call the functions directly.
15691 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15692 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15693 * elf/dl-fini.c: Likewise.
15694
10ad46bc
OB
156952013-11-20 Ondřej Bílka <neleai@seznam.cz>
15696
15697 * malloc/hooks.c (memalign_check): Add alignment rounding.
15698 * malloc/malloc.c (_mid_memalign): New function.
15699 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15700 Implement by calling _mid_memalign.
15701 * manual/probes.texi (Memory Allocation Probes): Remove
15702 memory_valloc_retry and memory_pvalloc_retry.
15703
f3fd2628
SP
157042013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15705
4712799f
SP
15706 * locale/programs/locarchive.c (open_archive): Add const
15707 qualifier to ARCHIVEFNAME and copy default fname to
15708 DEFAULT_FNAME.
15709
0417b20f
SP
15710 [BZ #15601]
15711 * libio/tst-widetext.input: Rename Oriya to Odia.
15712 * locale/iso-639.def: Likewise.
15713
f3fd2628
SP
15714 * manual/probes.texi (Mathematical Function Probes): Add
15715 documentation for sin, cos, asin and acos probes.
15716 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15717 (__sin32): Add slowasin probe.
15718 (__cos32): Add slowacos probe.
15719 (__mpsin): Add slowsin probe.
15720 (__mpcos): Add slowcos probe.
15721
73c1ce4f
JM
157222013-11-19 Joseph Myers <joseph@codesourcery.com>
15723
15724 [BZ #15483]
15725 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15726 thread-local __sim_exceptions_thread and global
15727 __sim_exceptions_global.
15728 (__sim_disabled_exceptions): Change to thread-local
15729 __sim_disabled_exceptions_thread and global
15730 __sim_disabled_exceptions_global.
15731 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15732 and global __sim_round_mode_global.
15733 (__simulate_exceptions): Use thread-local floating-point state and
15734 set global state from it as needed.
15735 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15736 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15737 __sim_round_mode_thread.
15738 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15739 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15740 and global __sim_exceptions_global.
15741 (__sim_disabled_exceptions): Change to thread-local
15742 __sim_disabled_exceptions_thread and global
15743 __sim_disabled_exceptions_global.
15744 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15745 and global __sim_round_mode_global.
15746 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15747 (SIM_SET_GLOBAL): Likewise.
15748 * sysdeps/powerpc/soft-fp/sfp-machine.h
15749 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15750 __sim_round_mode_thread.
15751 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15752 __sim_disabled_exceptions_thread.
15753 (__sim_exceptions): Change to __sim_exceptions_thread.
15754 (__sim_disabled_exceptions): Change to
15755 __sim_disabled_exceptions_thread.
15756 (__sim_round_mode): Change to __sim_round_mode_thread.
15757 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15758 thread-local floating-point state and set global state from it as
15759 needed.
15760 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15761 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15762 (__sim_disabled_exceptions): Remove extern declaration.
15763 (feenableexcept): Use thread-local floating-point state and set
15764 global state from it as needed.
15765 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15766 extern declaration.
15767 (__sim_disabled_exceptions): Likewise.
15768 (__sim_round_mode): Likewise.
15769 (__fegetenv): Use thread-local floating-point state.
15770 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15771 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15772 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15773 floating-point state and set global state from it as needed.
15774 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15775 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15776 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15777 Likewise.
15778 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15779 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15780 Likewise.
15781 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15782 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15783 Use __sim_round_mode_thread.
15784 * math/test-fenv-tls.c: New file.
15785 * math/Makefile (tests): Add test-fenv-tls.
15786 ($(objpfx)test-fenv-tls): Depend on
15787 $(common-objpfx)nptl/libpthread.so.
15788
b5449b12
AS
157892013-11-19 Andreas Schwab <schwab@suse.de>
15790
15791 * locale/programs/locale.c (show_info): Decode wordarray elements.
15792 * locale/categories.def (LC_MONETARY): Add element for
15793 _NL_MONETARY_CRNCYSTR.
15794 * locale/C-monetary.c (conversion_rate): New variable.
15795 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15796 element.
15797
e186536b
CM
157982013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15799
15800 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15801 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15802
5c349950
PP
158032013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15804
15805 * elf/Makefile (tst-auxv): New test.
15806 * elf/tst-auxv.c: New
15807 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15808
699df45b
JM
158092013-11-18 Joseph Myers <joseph@codesourcery.com>
15810
15811 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15812 (hidden_proto): Caller changed.
15813 (hidden_tls_proto): New macro.
15814 (libc_hidden_tls_proto): Likewise.
15815 (rtld_hidden_tls_proto): Likewise.
15816 (libm_hidden_tls_proto): Likewise.
15817 (libresolv_hidden_tls_proto): Likewise.
15818 (librt_hidden_tls_proto): Likewise.
15819 (libdl_hidden_tls_proto): Likewise.
15820 (libnss_files_hidden_tls_proto): Likewise.
15821 (libnsl_hidden_tls_proto): Likewise.
15822 (libnss_nisplus_hidden_tls_proto): Likewise.
15823 (libutil_hidden_tls_proto): Likewise.
15824
b7589107
OB
158252013-11-18 Ondřej Bílka <neleai@seznam.cz>
15826
15827 [BZ #10253]
15828 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15829 (decompose_rpath): Defer expansion to fillin_rpath.
15830 (_dl_init_paths): Pass linkmap to fillin_rpath.
15831
250c23bd
RS
158322013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15833
15834 * benchtests/Makefile: Add strsep.
15835 * benchtests/bench-strsep.c: New file: strsep benchtest.
15836 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15837
a7931fcf
AS
158382013-11-18 Andreas Schwab <schwab@suse.de>
15839
15840 * locale/programs/locale.c (show_info) [case byte]: Check for
15841 '\377' instead of '\177'.
15842 * locale/C-monetary.c (not_available): Always use "\377".
15843 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15844 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15845 detect unavailable sign_posn locale elements.
15846 * locale/localeconv.c (__localeconv): For grouping and
15847 mon_grouping handle "\177" and "\377" like no grouping.
15848 (INT_ELEM): New macro. Use it to set all numeric members.
15849 * locale/programs/ld-monetary.c (monetary_read)
15850 <tok_mon_grouping>: Normalize single -1 to the empty string.
15851 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15852 Likewise.
15853
728dab0e
OB
158542013-11-07 Ondřej Bílka <neleai@seznam.cz>
15855
15856 [BZ #16055]
15857 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15858 when we match (nil).
15859 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15860
66294491
JM
158612013-11-16 Joseph Myers <joseph@codesourcery.com>
15862
ce665817
JM
15863 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15864 (NO_TEST_INLINE): Update value.
15865 (ERRNO_UNCHANGED): Likewise.
15866 (ERRNO_EDOM): Likewise.
15867 (ERRNO_ERANGE): Likewise.
15868 (IGNORE_RESULT): Likewise.
15869 (check_float_internal): Check signs of NaN results if
15870 TEST_NAN_SIGN used.
15871 (check_complex): Pass TEST_NAN_SIGN flag through to second
15872 check_float_internal call.
15873 (copysign_test_data): Add tests with quiet NaNs as second
15874 argument. Use TEST_NAN_SIGN.
15875 (fabs_test_data): Add test of negative quiet NaN argument. Use
15876 TEST_NAN_SIGN.
15877 (signbit_test_data): Add tests of quiet NaN argument.
15878 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15879
ee1466a9
JM
15880 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15881 $ignore_result.
15882 (parse_args): Handle function results specified as IGNORE.
15883 * math/libm-test.inc (IGNORE_RESULT): New macro.
15884 (check_float_internal): Do not check numerical result if flag
15885 IGNORE_RESULT set.
15886 (check_complex): Pass through IGNORE_RESULT to second
15887 check_float_internal call.
15888 (check_int): Do not check numerical result if flag IGNORE_RESULT
15889 set.
15890 (check_long): Likewise.
15891 (check_bool): Likewise.
15892 (check_longlong): Likewise.
15893 (lrint_test_data): Add tests of infinite and NaN arguments.
15894 (lrint_tonearest_test_data): Likewise.
15895 (lrint_towardzero_test_data): Likewise.
15896 (lrint_downward_test_data): Likewise.
15897 (lrint_upward_test_data): Likewise.
15898 (llrint_test_data): Likewise.
15899 (llrint_tonearest_test_data): Likewise.
15900 (llrint_towardzero_test_data): Likewise.
15901 (llrint_downward_test_data): Likewise.
15902 (llrint_upward_test_data): Likewise.
15903 (lround_test_data): Likewise.
15904 (llround_test_data): Likewise.
15905
14407b7e
JM
15906 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15907 (ERRNO_UNCHANGED): Update value.
15908 (ERRNO_EDOM): Likewise.
15909 (ERRNO_ERANGE): Likewise.
15910 (NO_TEST_INLINE_FLOAT): New macro.
15911 (NO_TEST_INLINE_DOUBLE): Likewise.
15912 (enable_test): New function.
15913 (RUN_TEST_f_f): Check enable_test before running test.
15914 (RUN_TEST_2_f): Likewise.
15915 (RUN_TEST_fff_f): Likewise.
15916 (RUN_TEST_c_f): Likewise.
15917 (RUN_TEST_f_f1): Likewise.
15918 (RUN_TEST_fF_f1): Likewise.
15919 (RUN_TEST_fI_f1): Likewise.
15920 (RUN_TEST_ffI_f1): Likewise.
15921 (RUN_TEST_c_c): Likewise.
15922 (RUN_TEST_cc_c): Likewise.
15923 (RUN_TEST_f_i): Likewise.
15924 (RUN_TEST_f_i_tg): Likewise.
15925 (RUN_TEST_ff_i_tg): Likewise.
15926 (RUN_TEST_f_b): Likewise.
15927 (RUN_TEST_f_b_tg): Likewise.
15928 (RUN_TEST_f_l): Likewise.
15929 (RUN_TEST_f_L): Likewise.
15930 (RUN_TEST_fFF_11): Likewise.
15931 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15932 conditionals.
15933 (cosh_test_data): Likewise.
15934 (exp_test_data): Likewise.
15935 (expm1_test_data): Likewise.
15936 (hypot_test_data): Likewise.
15937 (pow_test_data): Likewise.
15938 (sinh_test_data): Likewise.
15939 (tanh_test_data): Likewise.
15940 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15941 flags argument.
15942
ca07f197
JM
15943 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15944 tests with quiet NaN input and output.
15945 (acosh_test_data): Likewise.
15946 (asin_test_data): Likewise.
15947 (asinh_test_data): Likewise.
15948 (atan_test_data): Likewise.
15949 (atanh_test_data): Likewise.
15950 (atan2_test_data): Likewise.
15951 (cbrt_test_data): Likewise.
15952 (cos_test_data): Likewise.
15953 (cosh_test_data): Likewise.
15954 (erf_test_data): Likewise.
15955 (erfc_test_data): Likewise.
15956 (exp_test_data): Likewise.
15957 (exp10_test_data): Likewise.
15958 (exp2_test_data): Likewise.
15959 (expm1_test_data): Likewise.
15960 (hypot_test_data): Likewise.
15961 (j0_test_data): Likewise.
15962 (j1_test_data): Likewise.
15963 (jn_test_data): Likewise.
15964 (lgamma_test_data): Likewise.
15965 (log_test_data): Likewise.
15966 (log10_test_data): Likewise.
15967 (log1p_test_data): Likewise.
15968 (log2_test_data): Likewise.
15969 (pow_test_data): Likewise.
15970 (scalb_test_data): Likewise.
15971 (sin_test_data): Likewise.
15972 (sincos_test_data): Likewise.
15973 (sinh_test_data): Likewise.
15974 (tan_test_data): Likewise.
15975 (tanh_test_data): Likewise.
15976 (tgamma_test_data): Likewise.
15977 (y0_test_data): Likewise.
15978 (y1_test_data): Likewise.
15979 (yn_test_data): Likewise.
15980
66294491
JM
15981 [BZ #16167]
15982 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15983 argument being NaN and avoid computations with second argument in
15984 that case.
15985 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15986 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15987 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15988
1820b143
CL
159892013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15990
15991 * locale/iso-639.def: Add Chitwani Tharu (the).
15992
714bd261
AS
159932013-11-14 Andreas Schwab <schwab@suse.de>
15994
15995 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15996 word instead of empty string.
15997
7ab44563
AZ
159982013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15999
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16001 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16003 (__fe_nomask_env): Likewise.
16004
e8470ea2
SE
160052013-11-13 Steve Ellcey <sellcey@mips.com>
16006
16007 * benchtests/bench-timing.h: Include time.h.
16008
17c1d9f0
L
160092013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16010
16011 [BZ #15997]
16012 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16013 to 3.4.0 for x32.
16014 * sysdeps/unix/sysv/linux/configure: Regenerated.
16015
9310c284
JM
160162013-11-13 Joseph Myers <joseph@codesourcery.com>
16017
16018 [BZ #16151]
16019 * stdlib/strtod_l.c (round_and_return): Do not consider
16020 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16021 exponent one less than half the least subnormal exponent.
16022 * stdlib/test-strtod-round-data: Add more tests.
16023 * stdlib/tst-strtod-round.c (tests): Regenerated.
16024
7a2ad8cf
AZ
160252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16026
16027 [BZ #14143]
16028 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16029 (__fe_mask_env): Likewise.
16030 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16031 libm_hidden_proto and add function prototype.
16032 (__fe_mask_env): Add function prototype.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16034 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16036 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16038 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16039
50727aa7
MS
160402013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16041
b2f386c1 16042 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16043 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16044
a615be46
MS
160452013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16046
16047 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16048 of htab_find_slot().
16049
7ddace62
DM
160502013-11-11 David S. Miller <davem@davemloft.net>
16051
16052 [BZ #16150]
16053 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16054 symbol in the non-vis3 case in static builds.
16055 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16056 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16057 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16058 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16059
9182aa67
JK
160602013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16061
16062 [BZ #387]
16063 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16064 it is empty.
16065
450a2e2d
AZ
160662013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16067
b2f386c1
SP
16068 * benchtests/Makefile: Add bench-strtod.
16069 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16070
8ec3f656
AS
160712013-11-11 Andreas Schwab <schwab@suse.de>
16072
16073 [BZ #16153]
16074 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16075 terminating NUL in key length.
16076
76a9b998
AZ
160772013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16078
16079 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16080 Add artificial ODP entry for vDSO symbol for PPC64.
16081 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16082 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16083
e4368156
OB
160842013-11-07 Ondřej Bílka <neleai@seznam.cz>
16085
16086 [BZ #15374]
16087 * nss/getent.c (services_keys): Recognize services starting with digit.
16088
8d6bb57c
DM
160892013-11-06 David S. Miller <davem@davemloft.net>
16090
16091 [BZ #15985]
16092 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16093 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16094
e256c421
WN
160952013-11-06 Will Newton <will.newton@linaro.org>
16096
16097 * manual/memory.texi (Malloc Examples): Remove register
16098 keyword from examples.
16099
f6e12daa 161002013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16101
f6e12daa 16102 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16103
9d880655
AS
161042013-11-04 Joseph Myers <joseph@codesourcery.com>
16105
fd2f9486 16106 [BZ #6981]
9d880655
AS
16107 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16108 depending on [__GCC_IEC_559 > 0].
16109 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16110 depending on [__GCC_IEC_559_COMPLEX > 0].
16111
ae129d3c
CL
161122013-11-03 Chris Leonard <cjl@sugarlabs.org>
16113
16114 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16115 to iso-639.def.
16116
4a15c2a4 161172013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16118
16119 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16120
8b35e35d
OB
161212013-11-01 Ondřej Bílka <neleai@seznam.cz>
16122
16123 [BZ #16112]
16124 * malloc/malloc (malloc_info): Do not handle first bin as
16125 special case.
16126
1d70fd6c
CL
161272013-11-01 Chris Leonard <cjl@sugarlabs.org>
16128
16129 * locale/iso-639.def: Add Central Nahuatl (nhn).
16130
8c5c2600
BH
161312013-11-01 Bruno Haible <bruno@clisp.org>
16132
16133 [BZ #7003]
16134 * manual/math.texi (BSD Random): Specify range upper bound as
16135 in POSIX.
16136
da5579c2
CL
161372013-10-31 Chris Leonard <cjl@sugarlabs.org>
16138
16139 * locale/iso-639.def: Add Meadow Mari (mhr).
16140
5d30d853
OB
161412013-10-31 Ondřej Bílka <neleai@seznam.cz>
16142
16143 [BZ #14752], [BZ #15763]
16144 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16145 Validate name.
16146 * rt/tst_shm.c: Add test for escaping directory.
16147
a4966c61
AS
161482013-10-31 Andreas Schwab <schwab@suse.de>
16149
8a43e768 16150 [BZ #15917]
a4966c61
AS
16151 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16152 followed by 'x' as part of digit sequence.
16153 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16154
28d708c4
MAP
161552013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16156
16157 [BZ #16037]
16158 * configure.ac: allow GNU Make 4.0 and greater.
16159 * configure: Regenerated.
16160
a56ee40b
WN
161612013-10-30 Will Newton <will.newton@linaro.org>
16162
16163 [BZ #16038]
16164 * malloc/hooks.c (memalign_check): Limit alignment to the
16165 maximum representable power of two.
16166 * malloc/malloc.c (__libc_memalign): Likewise.
16167 * malloc/tst-memalign.c (do_test): Add test for very
16168 large alignment values.
16169 * malloc/tst-posix_memalign.c (do_test): Likewise.
16170
c6e4925d
OB
161712013-10-30 Ondřej Bílka <neleai@seznam.cz>
16172
16173 [BZ #11087]
16174 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16175 (munmap_chunk): Likewise.
16176 (mremap_chunk): Likewise.
16177
161782013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16179
8a43e768 16180 [BZ #15799]
bbea82f7
OB
16181 * stdlib/div.c (div): Remove obsolete code.
16182 * stdlib/ldiv.c (ldiv): Likewise.
16183 * stdlib/lldiv.c (lldiv): Likewise.
16184
977f4b31
SP
161852013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16186
16187 [BZ #16071]
16188 * nss/nss_files/files-XXX.c (get_contents_ret): New
16189 enumerator.
16190 (get_contents): New function.
16191 (internal_getent): Use it. Expand size of LINEBUFLEN.
16192
cb8a6dbd
MF
161932013-10-30 Mike Frysinger <vapier@gentoo.org>
16194
16195 * configure.in: Moved to ...
16196 * configure.ac: ... here. Change reference to configure.in
16197 to configure.ac.
16198 * sysdeps/arm/preconfigure.ac: ... here.
16199 configure.in to configure.ac.
16200 * sysdeps/gnu/configure.in: Moved to ...
16201 * sysdeps/gnu/configure.ac: ... here.
16202 * sysdeps/i386/configure.in: Moved to ...
16203 * sysdeps/i386/configure.ac: ... here.
16204 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16205 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16206 * sysdeps/mach/configure.in: Moved to ...
16207 * sysdeps/mach/configure.ac: ... here.
16208 * sysdeps/mach/hurd/configure.in: Moved to ...
16209 * sysdeps/mach/hurd/configure.ac: ... here.
16210 * sysdeps/powerpc/configure.in: Moved to ...
16211 * sysdeps/powerpc/configure.ac: ... here.
16212 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16213 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16214 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16215 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16216 * sysdeps/s390/s390-32/configure.in: Moved to ...
16217 * sysdeps/s390/s390-32/configure.ac: ... here.
16218 * sysdeps/s390/s390-64/configure.in: Moved to ...
16219 * sysdeps/s390/s390-64/configure.ac: ... here.
16220 * sysdeps/sh/configure.in: Moved to ...
16221 * sysdeps/sh/configure.ac: ... here.
16222 * sysdeps/sparc/configure.in: Moved to ...
16223 * sysdeps/sparc/configure.ac: ... here.
16224 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16225 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16226 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16227 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16228 * sysdeps/x86_64/configure.in: Moved to ...
16229 * sysdeps/x86_64/configure.ac: ... here.
16230 * sysdeps/x86_64/preconfigure.in: Moved to ...
16231 * sysdeps/x86_64/preconfigure.ac: ... here.
16232 * aclocal.m4: Change reference to configure.in to configure.ac.
16233 * config.h.in: Likewise.
16234 * manual/install.texi: Likewise.
16235 * manual/maint.texi: Likewise.
16236 * Makefile: Likewise.
16237 * malloc/Makefile: Likewise.
16238 * nscd/Makefile: Likewise.
16239 * Makeconfig: Change reference to configure.in and
16240 preconfigure.in to configure.ac and preconfigure.ac
16241 respectively.
16242 * INSTALL: Regenerated.
16243 * configure: Likewise.
16244 * sysdeps/gnu/configure: Likewise.
16245 * sysdeps/i386/configure: Likewise.
16246 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16247 * sysdeps/mach/configure: Likewise.
16248 * sysdeps/mach/hurd/configure: Likewise.
16249 * sysdeps/powerpc/configure: Likewise.
16250 * sysdeps/powerpc/powerpc32/configure: Likewise.
16251 * sysdeps/powerpc/powerpc64/configure: Likewise.
16252 * sysdeps/s390/s390-32/configure: Likewise.
16253 * sysdeps/s390/s390-64/configure: Likewise.
16254 * sysdeps/sh/configure: Likewise.
16255 * sysdeps/sparc/configure: Likewise.
16256 * sysdeps/unix/sysv/linux/configure: Likewise.
16257 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16258 * sysdeps/x86_64/configure: Likewise.
16259 * sysdeps/x86_64/preconfigure: Likewise.
16260
36a4953a
AS
162612013-10-29 Andreas Schwab <schwab@suse.de>
16262
16263 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16264
c79a1204
SP
162652013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16266
dfa1b402
SP
16267 * benchtests/pow-inputs: Add new inputs.
16268
54f73d9c
SP
16269 * benchtests/exp-inputs: Add new inputs.
16270
c79a1204
SP
16271 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16272 conditional check for return value.
16273 (__cos32): Likewise.
16274
67beb545 162752013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16276
16277 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16278 to provide a boost for large inputs with word alignment.
16279 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16280 implementation based on optimized PPC64 strcpy.
16281 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16282 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16283 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16284 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16285
151659f6
OB
162862013-10-25 Ondřej Bílka <neleai@seznam.cz>
16287
482a077e 16288 [BZ #2801]
151659f6
OB
16289 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16290
10b0f26b
OB
162912013-10-25 Ondřej Bílka <neleai@seznam.cz>
16292
16293 [BZ #14876]
16294 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16295 * time/tst-strptime.c (day_tests): Add testcase.
16296
ca42d35e
OB
162972013-10-25 Ondřej Bílka <neleai@seznam.cz>
16298
482a077e 16299 [BZ #14029]
ca42d35e
OB
16300 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16301
52e6d801
FB
163022013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16303
16304 [BZ #16074]
16305 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16306 MAP_FAILED on error.
16307
7cbcdb36
SP
163082013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16309
16310 [BZ #16072]
16311 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16312 heap for large requests.
16313
894f3f10
AM
163142013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16315
16316 [BZ #9954]
16317 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16318 result if the result has no associated interface.
16319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16320 interface for all 127.X.Y.Z addresses.
16321
b85545a6
CL
163222013-10-24 Chris Leonard <cjl@sugarlabs.org>
16323
16324 * locale/iso-639.def: Add Ligurian (lij)
16325
d1f23d46
OB
163262013-10-21 Ondřej Bílka <neleai@seznam.cz>
16327
16328 [BZ #15825]
16329 * sunrpc/rpc_main.c: Document rpcgen -5.
16330
4db5b08f
MS
163312013-10-19 Michael Stahl <mstahl@redhat.com>
16332
16333 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16334
a471e96a
OB
163352013-10-19 Ondřej Bílka <neleai@seznam.cz>
16336
d1f23d46 16337 [BZ #10278]
a471e96a
OB
16338 * posix/glob.c: Match only directories when trailing slash is present.
16339 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16340 (main): Add testcase.
16341
45c30c61
OB
163422013-10-19 Ondřej Bílka <neleai@seznam.cz>
16343
16344 [BZ #15670]
16345 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16346
484c12fb
CD
163472013-10-18 Carlos O'Donell <carlos@redhat.com>
16348
3d7dc513
CD
16349 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16350 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16351 AUTH_DES and cindex for FIPS 140-2.
16352 (DES Encryption): Add cindex FIPS 46-3.
16353
484c12fb
CD
16354 * locale/locarchive.h (struct locarhandle): Add fname.
16355 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16356 if an optional argument was specified to --list-archive,
16357 otherwise NULL.
16358 * locale/programs/locarchive.c (show_archive_content): Take new
16359 argument fname and pass it via ah.fname to open_archive.
16360 * locale/programs/localedef.h: Update decl.
16361 (open_archive): If AH->fname is non-null, open that file
16362 rather than the default file name, and don't ignore ENOENT.
16363 (create_archive): Set AH.fname to NULL.
16364 (delete_locales_from_archive): Likewise.
16365 (add_locales_to_archive): Likewise.
16366 * locale/programs/locfile.c (write_all_categories): Likewise.
16367
3c8325fb
JM
163682013-10-18 Joseph Myers <joseph@codesourcery.com>
16369 Aldy Hernandez <aldyh@redhat.com>
16370
16371 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16372 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16373 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16374 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16375 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16376 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16377 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16378 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16379 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16380 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16381 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16382 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16383 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16384 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16385 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16386 Likewise.
16387 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16388 Likewise.
16389 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16390 Likewise.
16391 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16392 Likewise.
16393 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16394 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16395 Likewise.
16396 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16397 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16398 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16399 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16400 Likewise.
16401 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16402 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16403 * sysdeps/powerpc/preconfigure: Likewise.
16404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16405 Likewise.
16406 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16407 Replace contents of file by #include of <fenv_libc.h>.
16408 * sysdeps/powerpc/soft-fp/sfp-machine.h
16409 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16410 and <sys/prctl.h>.
16411 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16412 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16413 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16419 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16424 Allow copysignl PLT reference to be missing.
16425
5abe0682
RS
164262013-10-18 Richard Sandiford <richard@codesourcery.com>
16427 Joseph Myers <joseph@codesourcery.com
16428
16429 [BZ #15948]
16430 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16431 single character.
16432 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16433
c7738d08
SP
164342013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16435
16436 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16437 * elf/tst-tls1.c: Likewise.
16438 * elf/tst-tls10.h: Likewise.
16439 * elf/tst-tls14.c: Likewise.
16440 * elf/tst-tls2.c: Likewise.
16441 * elf/tst-tls3.c: Likewise.
16442 * elf/tst-tls4.c: Likewise.
16443 * elf/tst-tls5.c: Likewise.
16444 * elf/tst-tls6.c: Likewise.
16445 * elf/tst-tls7.c: Likewise.
16446 * elf/tst-tls8.c: Likewise.
16447 * elf/tst-tls9.c: Likewise.
16448 * elf/tst-tlsmod1.c: Likewise.
16449 * elf/tst-tlsmod13.c: Likewise.
16450 * elf/tst-tlsmod13a.c: Likewise.
16451 * elf/tst-tlsmod14a.c: Likewise.
16452 * elf/tst-tlsmod16a.c: Likewise.
16453 * elf/tst-tlsmod16b.c: Likewise.
16454 * elf/tst-tlsmod2.c: Likewise.
16455 * elf/tst-tlsmod3.c: Likewise.
16456 * elf/tst-tlsmod4.c: Likewise.
16457 * elf/tst-tlsmod5.c: Likewise.
16458 * elf/tst-tlsmod6.c: Likewise.
16459
0bfcf2c7
OB
164602013-10-18 Ondřej Bílka <neleai@seznam.cz>
16461
16462 [BZ #12486]
16463 * malloc/malloc.c: remove checks for statistics.
16464
264aad1e
OB
164652013-10-17 Ondřej Bílka <neleai@seznam.cz>
16466
16467 [BZ #15277]
16468 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16469 * inet/tst-network.c: Add testcase.
16470
b957ced8
AS
164712013-10-17 Andreas Schwab <schwab@suse.de>
16472
16473 [BZ #15218]
16474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16475 to determine canonical name.
16476
c5d5d574
OB
164772013-10-17 Ondřej Bílka <neleai@seznam.cz>
16478
16479 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16480 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16481 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16482 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16483 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16484 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16485 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16486 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16487 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16488 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16489 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16491 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16492 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16493 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16494 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16496 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16497 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16498 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16499 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16500 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16501 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16502 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16503 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16504 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16509 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16513 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16517 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16520 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16521 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16522 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16537
e5c2c2d0
JM
165382013-10-17 Joseph Myers <joseph@codesourcery.com>
16539
16540 [BZ #16041]
16541 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16542 make result into a quiet NaN.
16543
51ca9e29
JM
165442013-10-16 Joseph Myers <joseph@codesourcery.com>
16545
16546 * soft-fp/adddf3.c: Fix horizontal whitespace.
16547 * soft-fp/addsf3.c: Likewise.
16548 * soft-fp/addtf3.c: Likewise.
16549 * soft-fp/divdf3.c: Likewise.
16550 * soft-fp/divsf3.c: Likewise.
16551 * soft-fp/divtf3.c: Likewise.
16552 * soft-fp/double.h: Likewise.
16553 * soft-fp/eqdf2.c: Likewise.
16554 * soft-fp/eqsf2.c: Likewise.
16555 * soft-fp/eqtf2.c: Likewise.
16556 * soft-fp/extenddftf2.c: Likewise.
16557 * soft-fp/extended.h: Likewise.
16558 * soft-fp/extendsfdf2.c: Likewise.
16559 * soft-fp/extendsftf2.c: Likewise.
16560 * soft-fp/extendxftf2.c: Likewise.
16561 * soft-fp/fixdfdi.c: Likewise.
16562 * soft-fp/fixdfsi.c: Likewise.
16563 * soft-fp/fixdfti.c: Likewise.
16564 * soft-fp/fixsfdi.c: Likewise.
16565 * soft-fp/fixsfsi.c: Likewise.
16566 * soft-fp/fixsfti.c: Likewise.
16567 * soft-fp/fixtfdi.c: Likewise.
16568 * soft-fp/fixtfsi.c: Likewise.
16569 * soft-fp/fixtfti.c: Likewise.
16570 * soft-fp/fixunsdfdi.c: Likewise.
16571 * soft-fp/fixunsdfsi.c: Likewise.
16572 * soft-fp/fixunsdfti.c: Likewise.
16573 * soft-fp/fixunssfdi.c: Likewise.
16574 * soft-fp/fixunssfsi.c: Likewise.
16575 * soft-fp/fixunssfti.c: Likewise.
16576 * soft-fp/fixunstfdi.c: Likewise.
16577 * soft-fp/fixunstfsi.c: Likewise.
16578 * soft-fp/fixunstfti.c: Likewise.
16579 * soft-fp/floatdidf.c: Likewise.
16580 * soft-fp/floatdisf.c: Likewise.
16581 * soft-fp/floatditf.c: Likewise.
16582 * soft-fp/floatsidf.c: Likewise.
16583 * soft-fp/floatsisf.c: Likewise.
16584 * soft-fp/floatsitf.c: Likewise.
16585 * soft-fp/floattidf.c: Likewise.
16586 * soft-fp/floattisf.c: Likewise.
16587 * soft-fp/floattitf.c: Likewise.
16588 * soft-fp/floatundidf.c: Likewise.
16589 * soft-fp/floatundisf.c: Likewise.
16590 * soft-fp/floatunditf.c: Likewise.
16591 * soft-fp/floatunsidf.c: Likewise.
16592 * soft-fp/floatunsisf.c: Likewise.
16593 * soft-fp/floatunsitf.c: Likewise.
16594 * soft-fp/floatuntidf.c: Likewise.
16595 * soft-fp/floatuntisf.c: Likewise.
16596 * soft-fp/floatuntitf.c: Likewise.
16597 * soft-fp/fmadf4.c: Likewise.
16598 * soft-fp/fmasf4.c: Likewise.
16599 * soft-fp/fmatf4.c: Likewise.
16600 * soft-fp/gedf2.c: Likewise.
16601 * soft-fp/gesf2.c: Likewise.
16602 * soft-fp/getf2.c: Likewise.
16603 * soft-fp/ledf2.c: Likewise.
16604 * soft-fp/lesf2.c: Likewise.
16605 * soft-fp/letf2.c: Likewise.
16606 * soft-fp/muldf3.c: Likewise.
16607 * soft-fp/mulsf3.c: Likewise.
16608 * soft-fp/multf3.c: Likewise.
16609 * soft-fp/negdf2.c: Likewise.
16610 * soft-fp/negsf2.c: Likewise.
16611 * soft-fp/negtf2.c: Likewise.
16612 * soft-fp/op-1.h: Likewise.
16613 * soft-fp/op-2.h: Likewise.
16614 * soft-fp/op-4.h: Likewise.
16615 * soft-fp/op-8.h: Likewise.
16616 * soft-fp/op-common.h: Likewise.
16617 * soft-fp/quad.h: Likewise.
16618 * soft-fp/single.h: Likewise.
16619 * soft-fp/soft-fp.h: Likewise.
16620 * soft-fp/sqrtdf2.c: Likewise.
16621 * soft-fp/sqrtsf2.c: Likewise.
16622 * soft-fp/sqrttf2.c: Likewise.
16623 * soft-fp/subdf3.c: Likewise.
16624 * soft-fp/subsf3.c: Likewise.
16625 * soft-fp/subtf3.c: Likewise.
16626 * soft-fp/truncdfsf2.c: Likewise.
16627 * soft-fp/trunctfdf2.c: Likewise.
16628 * soft-fp/trunctfsf2.c: Likewise.
16629 * soft-fp/trunctfxf2.c: Likewise.
16630 * soft-fp/unorddf2.c: Likewise.
16631 * soft-fp/unordsf2.c: Likewise.
16632 * soft-fp/unordtf2.c: Likewise.
16633
9ebb0332
JM
166342013-10-15 Joseph Myers <joseph@codesourcery.com>
16635
16636 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16637 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16638
4b1a6d8b
OB
166392013-10-15 Ondřej Bílka <neleai@seznam.cz>
16640
16641 * elf/dl-libc.c: Clear initfini list after freeing.
16642
1e145589
JM
166432013-10-14 Joseph Myers <joseph@codesourcery.com>
16644
16645 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16646 * soft-fp/addsf3.c: Likewise.
16647 * soft-fp/addtf3.c: Likewise.
16648 * soft-fp/divdf3.c: Likewise.
16649 * soft-fp/divsf3.c: Likewise.
16650 * soft-fp/divtf3.c: Likewise.
16651 * soft-fp/double.h: Likewise.
16652 * soft-fp/eqdf2.c: Likewise.
16653 * soft-fp/eqsf2.c: Likewise.
16654 * soft-fp/eqtf2.c: Likewise.
16655 * soft-fp/extenddftf2.c: Likewise.
16656 * soft-fp/extended.h: Likewise.
16657 * soft-fp/extendsfdf2.c: Likewise.
16658 * soft-fp/extendsftf2.c: Likewise.
16659 * soft-fp/extendxftf2.c: Likewise.
16660 * soft-fp/fixdfdi.c: Likewise.
16661 * soft-fp/fixdfsi.c: Likewise.
16662 * soft-fp/fixdfti.c: Likewise.
16663 * soft-fp/fixsfdi.c: Likewise.
16664 * soft-fp/fixsfsi.c: Likewise.
16665 * soft-fp/fixsfti.c: Likewise.
16666 * soft-fp/fixtfdi.c: Likewise.
16667 * soft-fp/fixtfsi.c: Likewise.
16668 * soft-fp/fixtfti.c: Likewise.
16669 * soft-fp/fixunsdfdi.c: Likewise.
16670 * soft-fp/fixunsdfsi.c: Likewise.
16671 * soft-fp/fixunsdfti.c: Likewise.
16672 * soft-fp/fixunssfdi.c: Likewise.
16673 * soft-fp/fixunssfsi.c: Likewise.
16674 * soft-fp/fixunssfti.c: Likewise.
16675 * soft-fp/fixunstfdi.c: Likewise.
16676 * soft-fp/fixunstfsi.c: Likewise.
16677 * soft-fp/fixunstfti.c: Likewise.
16678 * soft-fp/floatdidf.c: Likewise.
16679 * soft-fp/floatdisf.c: Likewise.
16680 * soft-fp/floatditf.c: Likewise.
16681 * soft-fp/floatsidf.c: Likewise.
16682 * soft-fp/floatsisf.c: Likewise.
16683 * soft-fp/floatsitf.c: Likewise.
16684 * soft-fp/floattidf.c: Likewise.
16685 * soft-fp/floattisf.c: Likewise.
16686 * soft-fp/floattitf.c: Likewise.
16687 * soft-fp/floatundidf.c: Likewise.
16688 * soft-fp/floatundisf.c: Likewise.
16689 * soft-fp/floatunsidf.c: Likewise.
16690 * soft-fp/floatunsisf.c: Likewise.
16691 * soft-fp/floatuntidf.c: Likewise.
16692 * soft-fp/floatuntisf.c: Likewise.
16693 * soft-fp/floatuntitf.c: Likewise.
16694 * soft-fp/fmadf4.c: Likewise.
16695 * soft-fp/fmasf4.c: Likewise.
16696 * soft-fp/fmatf4.c: Likewise.
16697 * soft-fp/gedf2.c: Likewise.
16698 * soft-fp/gesf2.c: Likewise.
16699 * soft-fp/getf2.c: Likewise.
16700 * soft-fp/ledf2.c: Likewise.
16701 * soft-fp/lesf2.c: Likewise.
16702 * soft-fp/letf2.c: Likewise.
16703 * soft-fp/muldf3.c: Likewise.
16704 * soft-fp/mulsf3.c: Likewise.
16705 * soft-fp/multf3.c: Likewise.
16706 * soft-fp/negdf2.c: Likewise.
16707 * soft-fp/negsf2.c: Likewise.
16708 * soft-fp/negtf2.c: Likewise.
16709 * soft-fp/op-1.h: Likewise.
16710 * soft-fp/op-2.h: Likewise.
16711 * soft-fp/op-4.h: Likewise.
16712 * soft-fp/op-8.h: Likewise.
16713 * soft-fp/op-common.h: Likewise.
16714 * soft-fp/quad.h: Likewise.
16715 * soft-fp/single.h: Likewise.
16716 * soft-fp/soft-fp.h: Likewise.
16717 * soft-fp/sqrtdf2.c: Likewise.
16718 * soft-fp/sqrtsf2.c: Likewise.
16719 * soft-fp/sqrttf2.c: Likewise.
16720 * soft-fp/subdf3.c: Likewise.
16721 * soft-fp/subsf3.c: Likewise.
16722 * soft-fp/subtf3.c: Likewise.
16723 * soft-fp/truncdfsf2.c: Likewise.
16724 * soft-fp/trunctfdf2.c: Likewise.
16725 * soft-fp/trunctfsf2.c: Likewise.
16726 * soft-fp/trunctfxf2.c: Likewise.
16727 * soft-fp/unorddf2.c: Likewise.
16728 * soft-fp/unordsf2.c: Likewise.
16729 * soft-fp/unordtf2.c: Likewise.
16730
17c48a60
OB
167312013-10-14 Ondřej Bílka <neleai@seznam.cz>
16732
16733 [BZ #15672]
16734 * misc/error.c (error_tail): Fix possible buffer overflow.
16735
cabba934
OB
167362013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16737
16738 [BZ #13028]
16739 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16740 address.
16741
94bf958a
PM
167422013-10-14 P. J. McDermott <pj@pehjota.net>
16743
16744 [BZ #832]
16745 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16746 testing pipefail option.
16747
71b4dea7
JM
167482013-10-12 Joseph Myers <joseph@codesourcery.com>
16749
16750 * soft-fp/double.h: Indent preprocessor directives inside #if.
16751 * soft-fp/extended.h: Likewise.
16752 * soft-fp/op-2.h: Likewise.
16753 * soft-fp/op-4.h: Likewise.
16754 * soft-fp/op-common.h: Likewise.
16755 * soft-fp/quad.h: Likewise.
16756 * soft-fp/single.h: Likewise.
16757 * soft-fp/soft-fp.h: Likewise.
16758
55602758
YC
167592013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16760
16761 * iconv/iconv_prog.c: Fix typos.
16762 * stdio-common/psiginfo-data.h: Likewise.
16763
9cd83302
RT
167642013-10-12 Reuben Thomas <rrt@sc3d.org>
16765
16766 [BZ #15764]
16767 * locale/setlocale.c: Fix typo.
16768
99fd9f47
JM
167692013-10-12 Joseph Myers <joseph@codesourcery.com>
16770
b7ea74f0
JM
16771 [BZ #16036]
16772 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16773 signaling NaN arguments.
16774 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16775 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16776
8a509447
JM
16777 [BZ #14910]
16778 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16779 unordered operands.
16780 * soft-fp/gesf2.c (__gesf2): Likewise.
16781 * soft-fp/getf2.c (__getf2): Likewise.
16782 * soft-fp/ledf2.c (__ledf2): Likewise.
16783 * soft-fp/lesf2.c (__lesf2): Likewise.
16784 * soft-fp/letf2.c (__letf2): Likewise.
16785
98998e9f
JM
16786 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16787 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16788 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16789 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16790 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16791 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16792 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16793 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16794 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16795 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16796 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16797 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16798 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16799 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16800 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16801 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16802 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16803 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16804 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16805 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16806 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16807 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16808 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16809 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16810 * soft-fp/floattidf.c (__floattidf): Likewise.
16811 * soft-fp/floattisf.c (__floattisf): Likewise.
16812 * soft-fp/floattitf.c (__floattitf): Likewise.
16813 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16814 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16815 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16816 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16817 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16818 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16819 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16820 * soft-fp/gesf2.c (__gesf2): Likewise.
16821 * soft-fp/getf2.c (__getf2): Likewise.
16822 * soft-fp/ledf2.c (__ledf2): Likewise.
16823 * soft-fp/lesf2.c (__lesf2): Likewise.
16824 * soft-fp/letf2.c (__letf2): Likewise.
16825
8edc4a11
JM
16826 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16827 Undefine and redefine.
16828 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16829 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16830 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16831 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16832 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16833 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16834 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16835 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16836 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16837 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16838 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16839 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16840 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16841 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16842 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16843
8399acaf
JM
16844 [BZ #16032]
16845 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16846 without decrementing exponent if mantissa >= that for the
16847 denominator, not >.
16848 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16849 denominator, not >. Decrement exponent in < case instead of
16850 incrementing in >= case.
16851 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16852 without decrementing exponent if mantissa >= that for the
16853 denominator, not >.
16854
99fd9f47
JM
16855 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16856 computing saturated result for unsigned overflow.
16857
10e1cf6b
SP
168582013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16859 Jeff Law <law@redhat.com>
16860
16861 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16862 (atan2Mp): Add systemtap probe marker.
16863 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16864 (__ieee754_log): Add systemtap probe marker.
16865 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16866 (atanMp): Add systemtap probe marker.
16867 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16868 (tanMp): Add systemtap probe marker.
16869 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16870 (__slowexp): Add systemtap probe marker.
16871 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16872 (__slowpow): Add systemtap probe marker.
16873 * manual/probes.texi: Document probes.
16874
3d110c7c
EB
168752013-10-11 Eric Biggers <ebiggers3@gmail.com>
16876
16877 [BZ #15362]
16878 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16879 written.
16880 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16881 written.
16882 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16883 written to buffer but not flushed.
16884 * libio/iofwrite_u.c: Likewise.
16885 * libio/iopadn.c: Return bytes returned even if EOF was
16886 encountered.
16887 * libio/iowpadn.c: Likewise.
16888 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16889 if _IO_padn does not write the whole buffer.
16890 [!COMPILE_WPRINTF] (PAD): Likewise.
16891
75b4202a
DM
168922013-10-10 David S. Miller <davem@davemloft.net>
16893
16894 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16895 directory block.
16896
6c6352e6
JM
168972013-10-10 Joseph Myers <joseph@codesourcery.com>
16898
33b853c3
JM
16899 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16900 instead of FSF address.
16901 * soft-fp/fixdfti.c: Likewise.
16902 * soft-fp/fixsfti.c: Likewise.
16903 * soft-fp/fixtfti.c: Likewise.
16904 * soft-fp/fixunsdfti.c: Likewise.
16905 * soft-fp/fixunssfti.c: Likewise.
16906 * soft-fp/fixunstfti.c: Likewise.
16907 * soft-fp/floattidf.c: Likewise.
16908 * soft-fp/floattisf.c: Likewise.
16909 * soft-fp/floattitf.c: Likewise.
16910 * soft-fp/floatuntidf.c: Likewise.
16911 * soft-fp/floatuntisf.c: Likewise.
16912 * soft-fp/floatuntitf.c: Likewise.
16913 * soft-fp/trunctfxf2.c: Likewise.
16914
6c6352e6
JM
16915 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16916 * soft-fp/fixdfti.c: Likewise.
16917 * soft-fp/fixsfti.c: Likewise.
16918 * soft-fp/fixtfti.c: Likewise.
16919 * soft-fp/fixunsdfti.c: Likewise.
16920 * soft-fp/fixunssfti.c: Likewise.
16921 * soft-fp/fixunstfti.c: Likewise.
16922 * soft-fp/floattidf.c: Likewise.
16923 * soft-fp/floattisf.c: Likewise.
16924 * soft-fp/floattitf.c: Likewise.
16925 * soft-fp/floatuntidf.c: Likewise.
16926 * soft-fp/floatuntisf.c: Likewise.
16927 * soft-fp/floatuntitf.c: Likewise.
16928 * soft-fp/trunctfxf2.c: Likewise.
16929
3bf78b71
DM
169302013-10-10 David S. Miller <davem@davemloft.net>
16931
16932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16933
6f10289e
JM
169342013-10-10 Joseph Myers <joseph@codsourcery.com>
16935
bd878fc0
JM
16936 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16937 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16938 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16939 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16940 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16941 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16942 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16943
6f10289e
JM
16944 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16945 for NaNs before doing comparisons on argument.
16946 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16947 Likewise.
16948
321e2684
WN
169492013-10-10 Will Newton <will.newton@linaro.org>
16950
16951 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16952 passed to _int_memalign does not overflow.
16953
40fefba1
TR
169542013-10-10 Torvald Riegel <triegel@redhat.com>
16955
16956 * scripts/bench.pl: Add include-sources directive.
16957 * benchtests/README: Update documentation.
16958
2ae21ed2
JM
169592013-10-10 Joseph Myers <joseph@codesourcery.com>
16960
dcc2dd3f
JM
16961 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16962 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16963 instead of FP_INIT_ROUNDMODE.
16964 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16965 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16966
2ae21ed2
JM
16967 [BZ #16034]
16968 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16969 copy class of input value.
16970 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16971 not handle exceptions.
16972 * soft-fp/negsf2.c (__negsf2): Likewise.
16973 * soft-fp/negtf2.c (__negtf2): Likewise.
16974 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16975
cb8f9562
JM
169762013-10-09 Joseph Myers <joseph@codesourcery.com>
16977
16978 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16979 semicolon. From Linux kernel.
16980
5b60c59d
AB
169812013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16982
16983 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16984
b86835ca
YC
169852013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16986
16987 [BZ #156]
16988 * manual/socket.texi: Added statement about buffer
16989 for gethostbyname2_r.
16990
e7044ea7
OB
169912013-10-08 Ondřej Bílka <neleai@seznam.cz>
16992
16993 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16994 Use .p2align directive instead, throughout.
16995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16996 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16997 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17000 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17001 * sysdeps/x86_64/strchr.S: Likewise.
17002 * sysdeps/x86_64/strrchr.S: Likewise.
17003
09544cbc
SP
170042013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17005
88576635
SP
17006 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17007
e7b2d1dd
SP
17008 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17009
09544cbc
SP
17010 * sysdeps/generic/math_private.h (__mpsin1): Remove
17011 declaration.
17012 (__mpcos1): Likewise.
17013 (__mpsin): New argument __range_reduce.
17014 (__mpcos): Likewise.
17015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17016 (slow): Use __mpsin and __mpcos.
17017 (slow1): Likewise.
17018 (slow2): Likewise.
17019 (sloww): Likewise.
17020 (sloww1): Likewise.
17021 (sloww2): Likewise.
17022 (bsloww): Likewise.
17023 (bsloww1): Likewise.
17024 (bsloww2): Likewise.
17025 (cslow2): Likewise.
17026 (csloww): Likewise.
17027 (csloww1): Likewise.
17028 (csloww2): Likewise.
17029 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17030 range_reduce. Merge in __mpsin1.
17031 (__mpcos): Likewise.
17032 (__mpsin1): Remove.
17033 (__mpcos1): Likewise.
17034
7602d070
JM
170352013-10-07 Joseph Myers <joseph@codesourcery.com>
17036
17037 * locale/loadlocale.c (_nl_intern_locale_data): Use
17038 LOCFILE_ALIGNED_P.
17039 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17040 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17041 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17042 obstack data is appropriately aligned.
17043 (obstack_int32_grow_fast): Likewise.
17044 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17045 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17046 (add_locale_uint32_array): Likewise.
17047
a357259b
SP
170482013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17049
17050 * benchtests/Makefile: Remove ARGLIST and RET variables.
17051 ($(objpfx)bench-%.c): Pass only function name to the script.
17052 * benchtests/README: Update documentation.
17053 * benchtests/acos-inputs: Add new directives.
17054 * benchtests/acosh-inputs: Likewise.
17055 * benchtests/asin-inputs: Likewise.
17056 * benchtests/asinh-inputs: Likewise.
17057 * benchtests/atan-inputs: Likewise.
17058 * benchtests/atanh-inputs: Likewise.
17059 * benchtests/cos-inputs: Likewise.
17060 * benchtests/cosh-inputs: Likewise.
17061 * benchtests/exp-inputs: Likewise.
17062 * benchtests/log-inputs: Likewise.
17063 * benchtests/pow-inputs: Likewise.
17064 * benchtests/rint-inputs: Likewise.
17065 * benchtests/sin-inputs: Likewise.
17066 * benchtests/sinh-inputs: Likewise.
17067 * benchtests/tan-inputs: Likewise.
17068 * benchtests/tanh-inputs: Likewise.
17069 * scripts/bench.pl: Add support for new directives.
17070
9ec1b13d
AM
170712013-10-07 Alan Modra <amodra@gmail.com>
17072
17073 * README: Fix careless merge.
17074
8b7d57cd
AM
170752013-10-05 Alan Modra <amodra@gmail.com>
17076
17077 * NEWS: Mention powerpc64le support and bugs fixed.
17078 * README: Both big-endian and little-endian powerpc64 supported.
17079
7b7bab13
ST
170802013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17081
57f41c40
AS
17082 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17083 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17084 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17085 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17086
d39baad1
RA
170872013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17088
17089 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17090 match prototype.
17091
cd78f7e7
JM
170922013-10-04 Joseph Myers <joseph@codesourcery.com>
17093
29d73d86
JM
17094 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17095 Move -mhard-float appending from
17096 ports/sysdeps/powerpc/powerpc32/Makefile.
17097 [$(with-fp) = yes] (ASFLAGS): Likewise.
17098 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17099 * sysdeps/powerpc/nofpu: Move directory from
17100 ports/sysdeps/powerpc/nofpu.
17101 * sysdeps/powerpc/soft-fp: Move directory from
17102 ports/sysdeps/powerpc/soft-fp.
17103 * sysdeps/powerpc/powerpc32/405: Move directory from
17104 ports/sysdeps/powerpc/powerpc32/405.
17105 * sysdeps/powerpc/powerpc32/440: Move directory from
17106 ports/sysdeps/powerpc/powerpc32/440.
17107 * sysdeps/powerpc/powerpc32/464: Move directory from
17108 ports/sysdeps/powerpc/powerpc32/464.
17109 * sysdeps/powerpc/powerpc32/476: Move directory from
17110 ports/sysdeps/powerpc/powerpc32/476.
17111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17112 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17114 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17116 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17118 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17120 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17121 * README: Update for powerpc-*-linux-gnu software floating point
17122 support in libc.
17123
e246b347
JM
17124 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17125 case to powerpc/powerpc32*.
17126 * sysdeps/unix/sysv/linux/configure: Regenerated.
17127
89c2003e
JM
17128 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17129 (_FPU_MASK_OM): Define as 0x04.
17130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17132 0x00c10080.
17133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17134 0x0000003c.
17135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17136
cd78f7e7
JM
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17138 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17139 getcontext_e500.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17141 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17142 setcontext_e500.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17144 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17145 and setcontext_e500.
17146
c755294d
CL
171472013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17148
17149 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17150
e16d221c
SP
171512013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17152
17153 * manual/threads.texi (Default Thread Attributes): Fix typo.
17154
215c7d43
WN
171552013-10-04 Will Newton <will.newton@linaro.org>
17156
17157 * malloc/Makefile: Add tst-memalign.
17158 * malloc/tst-memalign.c: New file.
17159
27d0461b
WN
17160 * malloc/tst-posix_memalign.c: Add comments.
17161 (do_test): Add comments and call free on all potentially
17162 allocated pointers. Add space after cast.
17163
1bc92709
WN
17164 * malloc/tst-pvalloc.c: Add comments.
17165 (do_test): Add comments and call free on all potentially
17166 allocated pointers. Remove duplicate check for NULL pointer.
17167 Add space after cast.
17168
66a9be9d
WN
17169 * malloc/tst-valloc.c: Add comments.
17170 (do_test): Add comments and call free on all potentially
17171 allocated pointers. Remove duplicate check for NULL pointer.
17172 Add space after cast.
17173
4cb81307
AM
171742013-10-04 Alan Modra <amodra@gmail.com>
17175
17176 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17177 Use stdint types in rather than __attribute__((mode())).
17178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17179
f8e3e9f3
AM
171802013-10-04 Alan Modra <amodra@gmail.com>
17181
17182 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17183 Correct handling of unaligned relocs for little-endian.
17184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17185
8f9ebb08
AM
171862013-10-04 Alan Modra <amodra@gmail.com>
17187
17188 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17189 * configure: Regenerate.
17190 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17191 * shlib-versions: Likewise.
17192
0edf96c2
AM
171932013-10-04 Alan Modra <amodra@gmail.com>
17194
17195 * string/tester.c (test_memrchr): Increment reported test cycle.
17196
e0f7a380
AM
171972013-10-04 Alan Modra <amodra@gmail.com>
17198
17199 * string/test-memcpy.c (do_one_test): When reporting errors, print
17200 string address and don't overrun end of string.
17201
466b0393
AM
172022013-10-04 Alan Modra <amodra@gmail.com>
17203
17204 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17205 insrdi. Make better use of reg selection to speed exit slightly.
17206 Schedule entry path a little better. Remove useless "are we done"
17207 checks on entry to main loop. Handle wrapping around zero address.
17208 Correct main loop count. Handle single left-over word from main
17209 loop inline rather than by using loop_small. Remove extra word
17210 case in loop_small caused by wrong loop count. Add little-endian
17211 support.
17212 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17214 cache hint.
17215 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17216 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17217 support. Avoid rlwimi.
17218 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17219
3be87c77
AM
172202013-10-04 Alan Modra <amodra@gmail.com>
17221
17222 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17223 insrdi. Formatting.
3be87c77
AM
17224 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17225 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17226 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17227 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17228 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17229 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17230
759cfef3
AM
172312013-10-04 Alan Modra <amodra@gmail.com>
17232
17233 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17235 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17237 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17238 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17239 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17240 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17241 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17242 use of regs. Use power7 mtocrf. Tidy function tails.
17243
fe6e95d7
AM
172442013-10-04 Alan Modra <amodra@gmail.com>
17245
17246 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17247 Formatting. Consistently use rXXX register defines or rN defines.
17248 Use early exit labels that avoid restoring unused non-volatile regs.
17249 Make cr field use more consistent with rWORDn compares. Rename
17250 regs used as shift registers for unaligned loop, using rN defines
17251 for short lifetime/multiple use regs.
17252 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17253 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17254 addi 1,1,64 to pop stack frame. Simplify return value code.
17255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17256
664318c3
AM
172572013-10-04 Alan Modra <amodra@gmail.com>
17258
17259 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17260 support. Correct typos, formatting. Optimize tail. Use insrdi
17261 rather than rlwimi.
17262 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17263 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17264 little-endian support. Correct typos.
17265 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17266 rather than rlwimi.
17267 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17268 in loop and entry code to keep "and." results.
17269 (strchr): Add little-endian support. Comment. Move cntlzd
17270 earlier in tail.
17271 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17272
43b84013
AM
172732013-10-04 Alan Modra <amodra@gmail.com>
17274
17275 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17276 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17277 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17278 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17279
8a7413f9
AM
172802013-10-04 Alan Modra <amodra@gmail.com>
17281
17282 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17283 (rTMP): Define as r11.
17284 (strcmp): Add little-endian support. Optimise tail.
17285 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17286 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17287 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17288 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17290 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17291 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17292
33ee81de
AM
172932013-10-04 Alan Modra <amodra@gmail.com>
17294
17295 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17296 little-endian support. Remove unnecessary "are we done" tests.
17297 Handle "s" wrapping around zero and extremely large "size".
17298 Correct main loop count. Handle single left-over word from main
17299 loop inline rather than by using small_loop. Correct comments.
17300 Delete "zero" tail, use "end_max" instead.
17301 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17302
db9b4570
AM
173032013-10-04 Alan Modra <amodra@gmail.com>
17304
17305 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17306 support. Don't branch over align.
17307 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17308 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17309 support. Rearrange tmp reg use to suit. Comment.
17310 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17311
f7c399cf
AM
173122013-10-04 Alan Modra <amodra@gmail.com>
17313
17314 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17315
0b2c2ace
AM
173162013-10-04 Alan Modra <amodra@gmail.com>
17317
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17319 conditional form of branch and link when obtaining pc.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17321
02f04a6c
AM
173222013-10-04 Alan Modra <amodra@gmail.com>
17323
17324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17325 HIWORD/LOWORD.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17328
9b874b2f
AM
173292013-10-04 Alan Modra <amodra@gmail.com>
17330
17331 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17332 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17333 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17334 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17335 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17336 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17337 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17338 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17339 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17340 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17341
be1e5d31
AB
173422013-10-04 Anton Blanchard <anton@au1.ibm.com>
17343 Alistair Popple <alistair@ozlabs.au.ibm.com>
17344 Alan Modra <amodra@gmail.com>
17345
17346 [BZ #15723]
17347 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17348 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17349 _dl_hwcap access for little-endian.
17350 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17351 destroy vmx regs when saving unaligned.
17352 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17353 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17354 destroy vmx regs when saving unaligned.
17355
fef13a78
AM
173562013-10-04 Alan Modra <amodra@gmail.com>
17357
17358 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17359 Don't use a union to pack hi/low value.
17360
76a66d51
AB
173612013-10-04 Anton Blanchard <anton@au1.ibm.com>
17362
17363 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17364 for little-endian.
17365 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17367 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17368 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17369 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17370
6a31fe7f
AM
173712013-10-04 Alan Modra <amodra@gmail.com>
17372
17373 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17374 constants to usual value for .cst8 section, and remove redundant
17375 high address load.
17376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17377 constant for 0x1p52. Load little-endian words of double from
17378 correct stack offsets.
17379
7b88401f
AM
173802013-10-04 Alan Modra <amodra@gmail.com>
17381
17382 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17383 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17384 words of double from correct stack offsets.
17385 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17386 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17387 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17388 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17389 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17390 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17392 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17393 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17394 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17395 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17396 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17397 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17398 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17399 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17400 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17401 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17402
9c008155
AM
174032013-10-04 Alan Modra <amodra@gmail.com>
17404
17405 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17406 64-bit int/double union.
17407 (_FPU_SETCW): Likewise.
17408 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17409 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17410
da13146d
AM
174112013-10-04 Alan Modra <amodra@gmail.com>
17412
17413 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17414 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17415
603e8410
AM
174162013-10-04 Alan Modra <amodra@gmail.com>
17417
17418 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17419 use vector int constants.
17420 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17421
4a28b3ca
AB
174222013-10-04 Anton Blanchard <anton@au1.ibm.com>
17423
17424 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17425 array with long long.
17426 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17427 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17428 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17429 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17430 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17431 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17432 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17433 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17434 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17435 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17436 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17437 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17438 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17439
2ca85d2b
AB
174402013-10-04 Anton Blanchard <anton@au1.ibm.com>
17441
17442 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17443 (__signbit): Likewise. Correct for little-endian.
17444 (__signbitl): Call __signbit.
17445 (lrint): Correct for little-endian.
17446 (lrintf): Call lrint.
17447
62a728ae
AM
174482013-10-04 Alan Modra <amodra@gmail.com>
17449
17450 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17451 union 32-bit int array member with 64-bit int array.
17452 (t515, tm256): Double rather than long double.
17453 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17454
32c301df
AM
174552013-10-04 Alan Modra <amodra@gmail.com>
17456
17457 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17458 Delete.
17459 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17461 version of math_ldbl.h.
17462
650ef4bd
AM
174632013-10-04 Alan Modra <amodra@gmail.com>
17464
17465 [BZ #15734], [BZ #15735]
17466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17467 all uses of ieee875 long double macros and unions. Simplify test
17468 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17469 ldbl_extract_mantissa value for ix,iy exponents. Properly
17470 normalize after ldbl_extract_mantissa, and don't add hidden bit
17471 already handled. Don't treat low word of ieee854 mantissa like
17472 low word of IBM long double and mask off bit when testing for
17473 zero.
17474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17475 all uses of ieee875 long double macros and unions. Simplify tests
17476 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17477 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17478 two1022, instead use their values. Recognise that tests for large
17479 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17480 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17481 Rewrite all uses of ieee875 long double macros and unions. Simplify
17482 test for 0.0L and nan. Correct negation.
17483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17484 ieee875 long double macros and unions. Correct output for large
17485 magnitude x. Correct absolute value calculation.
17486 (__erfcl): Likewise.
17487 * math/libm-test.inc: Add tests for errors discovered in IBM long
17488 double versions of fmodl, remainderl, erfl and erfcl.
17489
765714ca
AM
174902013-10-04 Alan Modra <amodra@gmail.com>
17491
17492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17493 all uses of ieee854 long double macros and unions. Simplify tests
17494 for long doubles that are fully specified by the high double.
17495 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17496 Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17498 Remove dead code too.
17499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17500 (__ieee754_ynl): Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17504 Remove dead code too.
17505 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17506 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17509 Simplify.
17510 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17511 Simplify.
17512 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17513 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17514 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17515 Comment on variable precision.
17516 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17518 Likewise.
17519 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17520 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17521 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17522 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17524
4ebd120c
AM
175252013-10-04 Alan Modra <amodra@gmail.com>
17526
17527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17529 all uses of ieee854 long double macros and unions.
17530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17534 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17536 Likewise.
17537 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17541 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17542 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17543 Simplify sign and nan test too.
17544 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17545 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17548 Likewise.
17549 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17550 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17551 Likewise.
17552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17553 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17554 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17555 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17556 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17558
1b6adf88
AM
175592013-10-04 Alan Modra <amodra@gmail.com>
17560
17561 * stdio-common/printf_size.c (__printf_size): Don't use
17562 union ieee854_long_double in fpnum union.
17563 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17564 signbit macro to retrieve sign from long double.
17565 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17566 retrieve sign from long double.
17567 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17568 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17569 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17570 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17571 * math/test-misc.c (main): Don't use union ieee854_long_double.
17572
4cf69995
AM
175732013-10-04 Alan Modra <amodra@gmail.com>
17574
17575 [BZ #15680]
17576 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17577 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17578 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17579 calculation. Remove unnecessary test for denormal exponent.
17580 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17581 Correct handling of denormals. Avoid undefined shift behaviour.
17582 Correct normalisation of low mantissa when low double is denormal.
17583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17584 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17585 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17586 Correct normalisation of low mantissa. Test for overflow of high
17587 mantissa and normalise.
17588 (ldbl_nearbyint): Use more readable constant for two52.
17589 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17590 (__mpn_construct_long_double): Fix test for overflow of high
17591 mantissa and correct normalisation. Avoid undefined shift.
17592
9605ca6c
AM
175932013-10-04 Alan Modra <amodra@gmail.com>
17594
17595 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17596 (union ibm_extended_long_double): Define as an array of ieee754_double.
17597 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17598 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17599 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17600 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17604 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17607 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17608
975569d0
JM
176092013-10-03 Joseph Myers <joseph@codesourcery.com>
17610
d3d23756
JM
17611 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17612 page size instead of calling getpagesize.
17613
975569d0
JM
17614 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17615 (LOCFILE_ALIGN_MASK): Likewise.
17616 (LOCFILE_ALIGN_UP): Likewise.
17617 (LOCFILE_ALIGNED_P): Likewise.
17618 * locale/programs/ld-collate.c (collate_output): Use the new
17619 macros instead of __alignof__ (int32_t).
17620 * locale/weight.h (findidx): Likewise.
17621
b1fe1f2b
OB
176222013-10-03 Ondřej Bílka <neleai@seznam.cz>
17623
17624 [BZ #431]
17625 * manual/string.texi: Fix strncat and wcsncat.
17626
5f855e35
BM
176272013-10-03 Brooks Moses <bmoses@google.com>
17628
17629 [BZ #15915]
17630 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17631 * Makerules: ...here, and adjust associated comments.
17632
3cef6009
WN
176332013-10-02 Will Newton <will.newton@linaro.org>
17634
17635 * malloc/Makefile: Add tst-pvalloc.
17636 * malloc/tst-pvalloc.c: New file.
17637
7815420b
WN
176382013-10-02 Will Newton <will.newton@linaro.org>
17639
17640 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17641 improve test coverage.
17642
4868b204
WN
176432013-10-02 Will Newton <will.newton@linaro.org>
17644
17645 * malloc/Makefile: Add tst-posix_memalign.
17646 * malloc/tst-posix_memalign.c: New file.
17647
29c793b3
EB
176482013-10-01 Eric Blake <eblake@redhat.com>
17649
17650 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17651 Use __THROWNL rather than __THROW on static functions.
17652
fd967522
PM
176532013-09-30 Petr Machata <pmachata@redhat.com>
17654
17655 * elf/elf.h (R_AARCH64_ABS16): New macro.
17656 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17657 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17658 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17659 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17660 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17661 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17662 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17663 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17664 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17665 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17666 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17667 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17668 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17669 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17670 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17671 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17672 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17673 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17674 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17675 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17676 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17677 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17678 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17679 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17680 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17681 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17682 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17683 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17684 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17685 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17686 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17687 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17688 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17689 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17690 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17691 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17692 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17693 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17694 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17695 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17696 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17697 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17698 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17699 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17700 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17701 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17702 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17703 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17704 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17705 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17706 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17707 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17708 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17709 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17710 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17711 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17712 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17713 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17714 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17715 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17716 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17717 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17718 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17719 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17720 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17721 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17722 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17723 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17724 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17725 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17726 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17727 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17728 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17729 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17730 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17731 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17732 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17733 (R_AARCH64_TLSDESC_LDR): Likewise.
17734 (R_AARCH64_TLSDESC_ADD): Likewise.
17735 (R_AARCH64_TLSDESC_CALL): Likewise.
17736
b2179107
AS
177372013-09-30 Andreas Schwab <schwab@suse.de>
17738
17739 [BZ #15048]
17740 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17741 the nss database lookup.
17742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17744
47f28d0a
MF
177452013-09-28 Mike Frysinger <vapier@gentoo.org>
17746
17747 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17748
177492013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17750
17751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17752 ${Bash-specific parameter/pattern/string} parameter expansion.
17753 * sysdeps/unix/make-syscalls.sh: Likewise.
17754
f4518a17
KK
177552013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17756
17757 * sysdeps/sh/stackguard-macros.h: New file.
17758
dc1a95c7
OB
177592013-09-26 Ondřej Bílka <neleai@seznam.cz>
17760
17761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17763 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17764 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17765 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17766 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17767
5ebbff8f
AZ
177682013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17769
17770 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17771 Fix thread ID register.
17772
4fd2cf9f
JM
177732013-09-25 Joseph Myers <joseph@codesourcery.com>
17774
17775 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17776 [POSIX || UNIX98]: Require rather than permitting all symbols from
17777 <time.h>.
17778 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17779 element of struct sched_param.
17780 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17781 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17782 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17783 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17784 constant.
17785
12c22bc4
OL
177862013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17787
17788 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17789 argument calculation.
17790
a03d8ea7
JM
177912013-09-24 Joseph Myers <joseph@codesourcery.com>
17792
17793 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17794 Expect macro.
17795 [POSIX] (pthread_attr_t): Do not require type.
17796 [POSIX] (pthread_cond_t): Likewise.
17797 [POSIX] (pthread_condattr_t): Likewise.
17798 [POSIX] (pthread_key_t): Likewise.
17799 [POSIX] (pthread_mutex_t): Likewise.
17800 [POSIX] (pthread_mutexattr_t): Likewise.
17801 [POSIX] (pthread_once_t): Likewise.
17802 [POSIX] (pthread_t): Likewise.
17803 [POSIX-based standards] (pthread_atfork): Expect function.
17804
6055173a
JM
178052013-09-24 Joseph Myers <joseph@codesourcery.com>
17806 Richard Sandiford <richard@codesourcery.com>
17807
17808 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17809 (swap_endianness_p): New extern variable.
17810 (set_big_endian): New inline function.
17811 (maybe_swap_uint32): Likewise.
17812 (maybe_swap_uint32_array): Likewise.
17813 (maybe_swap_uint32_obstack): Likewise.
17814 * locale/programs/locfile.c: Include <stdbool.h>.
17815 (swap_endianness_p): New variable.
17816 (add_locale_uint32): Call maybe_swap_uint32.
17817 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17818 (write_locale_data): Call maybe_swap_uint32_array.
17819 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17820 maybe_swap_uint32.
17821 (obstack_int32_grow_fast): Likewise.
17822 (output_weightwc): Call maybe_swap_uint32_obstack.
17823 (collate_output): Likewise.
17824 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17825 (OPT_LITTLE_ENDIAN): Likewise.
17826 (options): Add --little-endian and --big-endian options.
17827 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17828 * locale/programs/locarchive.c: Include "locfile.h".
17829 (GET): New macro.
17830 (SET): Likewise.
17831 (INC): Likewise.
17832 (create_archive): Use the new macros to access fields of
17833 structures directly mapped from or written to locale archives.
17834 (oldlocrecentcmp): Likewise.
17835 (enlarge_archive): Likewise.
17836 (insert_name): Likewise.
17837 (add_alias): Likewise.
17838 (add_locale): Likewise.
17839 (delete_locales_from_archive): Likewise.
17840 (show_archive_content): Likewise.
17841 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17842 locale data.
17843
39bf0bb4
RM
178442013-09-24 Roland McGrath <roland@hack.frob.com>
17845
17846 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17847 http://www.gnu.org/doc/freemanuals.texi.
17848 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17849
f02eed10
WN
178502013-09-24 Will Newton <will.newton@linaro.org>
17851
17852 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17853 macro.
17854
a3a6c312
JM
178552013-09-23 Joseph Myers <joseph@codesourcery.com>
17856
17857 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17858 unsigned char.
17859
107375ac
MR
178602013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17861
17862 * manual/threads.texi (POSIX Threads): Fix a typo.
17863
141f3a77
SP
178642013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17865
303e567a
SP
17866 [BZ #14547]
17867 * string/tst-strcoll-overflow.c: New test case.
17868 * string/Makefile (xtests): Add tst-strcoll-overflow.
17869 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17870 cache if string sizes may cause integer overflow.
17871
141f3a77
SP
17872 [BZ #14547]
17873 * string/strcoll_l.c (coll_seq): New members rule, idx,
17874 save_idx and back_us.
17875 (get_next_seq_nocache): New function.
17876 (do_compare_nocache): New function.
17877 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17878 when malloc fails.
17879
c61b4d41
CD
178802013-09-23 Carlos O'Donell <carlos@redhat.com>
17881
0b1f8e35
CD
17882 [BZ #15754]
17883 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17884 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17885 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17886
c61b4d41
CD
17887 [BZ #15754]
17888 * elf/Makefile (tests): Add tst-ptrguard1.
17889 (tests-static): Add tst-ptrguard1-static.
17890 (tst-ptrguard1-ARGS): Define.
17891 (tst-ptrguard1-static-ARGS): Define.
17892 * elf/tst-ptrguard1.c: New file.
17893 * elf/tst-ptrguard1-static.c: New file.
17894 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17895 * sysdeps/i386/stackguard-macros.h: Likewise.
17896 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17897 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17898 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17899 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17900 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17901 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17902
179032013-09-23 Hector Marco <hecmargi@upv.es>
17904 Ismael Ripoll <iripoll@disca.upv.es>
17905 Carlos O'Donell <carlos@redhat.com>
17906
17907 [BZ #15754]
17908 * sysdeps/generic/stackguard-macros.h: Define
17909 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17910 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17911 Define __pointer_chk_guard_local.
17912 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17913 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17914
f5f4e7b4
VV
179152013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17916
17917 [BZ #15859]
17918 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17919
5bb43a43
AS
179202013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17921
17922 * include/string.h (__ffs): Declare as hidden.
17923 * string/ffs.c (__ffs): Define as hidden.
17924 * sysdeps/i386/ffs.c (__ffs): Likewise.
17925 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17926 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17927 * sysdeps/s390/ffs.c (__ffs): Likewise.
17928 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17929
3ea5be54
AO
179302013-09-20 Alexandre Oliva <aoliva@redhat.com>
17931
ffb89e53
AO
17932 * NEWS: Mention malloc probes.
17933
322dea08
AO
17934 * malloc/arena.c (new_heap): New memory_heap_new probe.
17935 (grow_heap): New memory_heap_more probe.
17936 (shrink_heap): New memory_heap_less probe.
17937 (heap_trim): New memory_heap_free probe.
17938 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17939 (systrim): New memory_sbrk_less probe.
17940 * manual/probes.texi: Document them.
17941
655673f3
AO
17942 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17943 * manual/probes.texi: Document it.
17944
35fed6f1
AO
17945 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17946 (__libc_realloc): Add memory_realloc_retry probe.
17947 (__libc_memalign): Add memory_memalign_retry probe.
17948 (__libc_valloc): Add memory_valloc_retry probe.
17949 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17950 (__libc_calloc): Add memory_calloc_retry probe.
17951 * manual/probes.texi: Document them.
17952
6999d38c
AO
17953 * malloc/arena.c (get_free_list): Add probe
17954 memory_arena_reuse_free_list.
17955 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17956 and memory_arena_reuse.
17957 (arena_get2) [!PER_THREAD]: Likewise.
17958 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17959 memory_arena_reuse_realloc.
17960 * manual/probes.texi: Document them.
17961
0653427f
AO
17962 * malloc/malloc.c (__libc_free): Add
17963 memory_mallopt_free_dyn_thresholds probe.
17964 (__libc_mallopt): Add multiple memory_mallopt probes.
17965 * manual/probes.texi: Document them.
17966
3ea5be54
AO
17967 * malloc/malloc.c: Include stap-probe.h.
17968 (__libc_mallopt): Add memory_mallopt probe.
17969 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17970 * manual/probes.texi: New.
17971 * manual/Makefile (chapters): Add probes.
17972 * manual/threads.texi: Set next node.
17973
e35696c3 179742013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 17975
e35696c3
CL
17976 [BZ #15963, #13985]
17977 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17978 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17979 Add `Chinese' to `nan' entry name.
17980
4aafb73c
SP
179812013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17982
17983 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17984 (POLYNOMIAL): Likewise.
17985 (TAYLOR_SINCOS): Likewise.
17986 (TAYLOR_SLOW): Likewise.
17987 (__sin): Use TAYLOR_SINCOS.
17988 (__cos): Likewise.
17989 (slow): Use TAYLOR_SLOW.
17990 (sloww): Likewise.
17991 (bsloww): Likewise.
17992 (csloww): Likewise.
17993
d84f25c7
LD
179942013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17995
17996 * stdlib/strtod_l.c: Fix buffer overrun.
17997
5eea0404
SP
179982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17999
7849ff93
SP
18000 * benchtests/Makefile (bench): Add sincos.
18001 * benchtests/bench-sincos.c: New file.
18002
cfa3c886
SP
18003 * math/libm-test.inc (cos_test_data): New test inputs.
18004 (sin_test_data): Likewise.
18005
b348e1e3
SP
18006 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18007 macro.
18008 (__sin): Use it.
18009 (__cos): Likewise.
18010 (slow1): Likewise.
18011 (slow2): Likewise.
18012 (sloww1): Likewise.
18013 (sloww2): Likewise.
18014 (bsloww1): Likewise.
18015 (bsloww2): Likewise.
18016 (cslow2): Likewise.
18017 (csloww1): Likewise.
18018 (csloww2): Likewise.
18019
6cce25f8
SP
18020 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18021 function.
18022 (__sin): Use it.
18023 (__cos): Likewise.
18024
5eea0404
SP
18025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18026 gotos.
18027 (__cos): Likewise.
18028
9c21573c
MR
180292013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18030
18031 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18032 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18033 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18034 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18035 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18036 * elf/cache.c (print_entry): Handle the new cache flags.
18037
24d22e65
JM
180382013-09-18 Joseph Myers <joseph@codesourcery.com>
18039 Aldy Hernandez <aldyh@redhat.com>
18040
18041 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18042 Change condition to [_SOFT_FLOAT].
18043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18055 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18058 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18059 declaration.
18060
d13ef066
JM
180612013-09-18 Joseph Myers <joseph@codesourcery.com>
18062
2e071de0
JM
18063 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18064 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18065 (__longjmp): Use LOAD_GP to load saved GPRs.
18066 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18067 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18068 (__sigsetjmp): Use SAVE_GP to save GPRs.
18069
d13ef066
JM
18070 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18071 Do not append -msoft-float.
18072 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18073
97a0650b
SP
180742013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18075
18076 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18077
11ca09e9
JM
180782013-09-17 Joseph Myers <joseph@codesourcery.com>
18079
18080 [BZ #15966]
18081 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18082 (_FPU_GETCW): Use initial "__" on variable and field names but not
18083 on macro parameter name.
18084 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18085 parentheses around reference to macro parameter.
18086
08ffcf34
RS
180872013-09-13 Richard Sandiford <richard@codesourcery.com>
18088
18089 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18090 prototype.
18091 (ctype_startup): Use uint32_t in cast and sizeof for
18092 ctype->charnames.
18093
ae7080d3
JL
180942013-09-11 Jia Liu <proljc@gmail.com>
18095
18096 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18097 __daddr_t_defined.
18098 [__FreeBSD__]: Likewise.
18099
5905e7b3
OB
181002013-09-11 Ondřej Bílka <neleai@seznam.cz>
18101
18102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18103 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18104 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18105 (strchr): Remove __strchr_sse42 ifunc selection.
18106 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18107 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18108
b987c776
WN
181092013-09-11 Will Newton <will.newton@linaro.org>
18110
18111 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18112 parameter to RES. Remove hardcoded 1000 value.
18113 * benchtests/bench-skeleton.c (main): Pass RES parameter
18114 to TIMING_INIT and multiply result by 1000.
18115
ddf985af
AZ
181162013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18117
18118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18119
ffdd3181
AS
181202013-09-11 Andreas Schwab <schwab@suse.de>
18121
18122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18123 if not defined.
18124 (O_TMPFILE) [__USE_GNU]: Define.
18125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18126 Define.
18127
b73ed247
WN
181282013-09-11 Will Newton <will.newton@linaro.org>
18129
18130 [BZ #15857]
18131 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18132 does not overflow.
18133
55e17aad
WN
181342013-09-11 Will Newton <will.newton@linaro.org>
18135
18136 [BZ #15856]
18137 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18138 does not overflow.
18139
1159a193
WN
181402013-09-11 Will Newton <will.newton@linaro.org>
18141
18142 [BZ #15855]
18143 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18144 does not overflow.
18145
5905e7b3 181462013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18147
18148 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18153
cdfc721b
AM
181542013-09-10 Allan McRae <allan@archlinux.org>
18155
aa04af00
AM
18156 [BZ #15748]
18157 * manual/arith.texi (Parsing of Floats): Clarify
18158 cross-reference.
18159
cdfc721b
AM
18160 [BZ #15849]
18161 * manual/install.texi (Running make install): Mention
18162 --enable-pt-chown.
18163 * INSTALL: Regenerated.
18164
95e7cf29
MR
181652013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18166
18167 * csu/init-first.c (_init): Remove the !SHARED condition around
18168 FPU control word initialization.
18169 * elf/dl-support.c (_dl_fpu_control): New variable.
18170 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18171 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18172 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18173 * math/test-fpucw-static.c: New file.
18174 * math/test-fpucw-ieee.c: New file.
18175 * math/test-fpucw-ieee-static.c: New file.
18176 * math/Makefile (tests): Add `test-fpucw-ieee' and
18177 `$(tests-static)'.
18178 (tests-static): New variable.
18179 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18180 dependency to...
18181 [($(build-shared),yes)]
18182 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18183 ... this.
18184 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18185 New dependency.
18186
83e43bf0
AM
181872013-09-09 Allan McRae <allan@archlinux.org>
18188
a9f5ce09
AM
18189 [BZ #15939]
18190 * manual/string.texi (Collation Functions): Fix typo in
18191 strcoll example.
18192 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18193
34829bc2
AM
18194 [BZ #15893]
18195 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18196
3932737d
AM
18197 [BZ #15892]
18198 * libio/memstream.c (open_memstream): Fix memory leak.
18199 * libio/wmemstream.c (open_wmemstream): Likewise.
18200
83e43bf0
AM
18201 [BZ #15895]
18202 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18203
0c66b8e9
WN
182042013-09-09 Will Newton <will.newton@linaro.org>
18205
18206 * malloc/Makefile: Add tst-realloc to tests.
18207 * malloc/tst-realloc.c: New file.
18208
f6b00fd1
AM
182092013-09-09 Allan McRae <allan@archlinux.org>
18210
18211 [BZ #15844]
18212 * COPYING: Update from GNU website to fix FSF address.
18213 * COPYING.LIB: Likewise.
18214
eec55e16
DM
182152013-09-06 David S. Miller <davem@davemloft.net>
18216
18217 * po/zh_TW.po: Update Chinese (traditional) translation from
18218 translation project.
18219
1ecbb381
RS
182202013-09-06 Richard Sandiford <richard@codesourcery.com>
18221 Joseph Myers <joseph@codesourcery.com>
18222
18223 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18224 "localeinfo.h".
18225 (obstack_chunk_alloc): New macro.
18226 (obstack_chunk_free): Likewise.
18227 (record_offset): New function.
18228 (init_locale_data): Likewise.
18229 (align_locale_data): Likewise.
18230 (add_locale_empty): Likewise.
18231 (add_locale_raw_data): Likewise.
18232 (add_locale_raw_obstack): Likewise.
18233 (add_locale_string): Likewise.
18234 (add_locale_wstring): Likewise.
18235 (add_locale_uint32): Likewise.
18236 (add_locale_uint32_array): Likewise.
18237 (add_locale_char): Likewise.
18238 (start_locale_structure): Likewise.
18239 (end_locale_structure): Likewise.
18240 (start_locale_prelude): Likewise.
18241 (end_locale_prelude): Likewise.
18242 (write_locale_data): Take locale_file structure rather than an
18243 iovec.
18244 * locale/programs/locfile.h: Include "obstack.h".
18245 (struct locale_file): Change to store locale file contents instead
18246 of header.
18247 (init_locale_data): New prototype.
18248 (align_locale_data): Likewise.
18249 (add_locale_empty): Likewise.
18250 (add_locale_raw_data): Likewise.
18251 (add_locale_raw_obstack): Likewise.
18252 (add_locale_string): Likewise.
18253 (add_locale_wstring): Likewise.
18254 (add_locale_uint32): Likewise.
18255 (add_locale_uint32_array): Likewise.
18256 (add_locale_char): Likewise.
18257 (start_locale_structure): Likewise.
18258 (end_locale_structure): Likewise.
18259 (start_locale_prelude): Likewise.
18260 (end_locale_prelude): Likewise.
18261 (write_locale_data): Update prototype.
18262 * locale/programs/3level.h (struct TABLE): Remove result field.
18263 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18264 Use new locale_file interface.
18265 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18266 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18267 * locale/programs/ld-address.c (address_output): Use new
18268 locale_file interface.
18269 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18270 NO_ADD_LOCALE.
18271 (collate_finish): Don't call collseq_table_finalize.
18272 (collate_output): Use new locale_file interface.
18273 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18274 in file.
18275 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18276 (TABLE): Move defines earlier in file.
18277 (ELEMENT): Likewise.
18278 (DEFAULT): Likewise.
18279 (wctrans_table_add): Move macro and inline function earlier in
18280 file.
18281 (struct wctype_table): Move type earlier in file.
18282 (add_locale_wctype_table): New static prototype.
18283 (struct locale_ctype_t): Use logical types instead of struct iovec
18284 pointers for members.
18285 (ctype_output): Use new locale_file interface.
18286 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18287 new locale_file interface.
18288 (allocate_arrays): Update for use of new locale_file interface.
18289 * locale/programs/ld-identification.c (identification_output): Use
18290 new locale_file interface.
18291 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18292 * locale/programs/ld-messages.c (messages_output): Likewise.
18293 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18294 * locale/programs/ld-name.c (name_output): Likewise.
18295 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18296 * locale/programs/ld-paper.c (paper_output): Likewise.
18297 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18298 * locale/programs/ld-time.c (time_output): Likewise.
18299
e029e2e5
AZ
183002013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18301
18302 * benchtests/Makefile: Add memrchr benchmark.
18303 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18304 benchmark as memrchr.
18305 * benchtests/bench-memrchr-ifunc.c: New file.
18306 * benchtests/bench-memrchr.c: New file.
18307
bbf6e8e4
WN
183082013-09-06 Will Newton <will.newton@linaro.org>
18309
18310 * benchtests/Makefile (string-bench): Add memcpy.
18311
6c82a2f8
CD
183122013-09-05 Carlos O'Donell <carlos@redhat.com>
18313 Cong Wang <amwang@redhat.com>
18314
e732c5f0 18315 [BZ #15850]
6c82a2f8
CD
18316 * sysdeps/unix/sysv/linux/bits/in.h
18317 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18318 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18319 before __USE_KERNEL_IPV6_DEFS uses.
18320 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18321 IPPROTO_BEETPH.
18322 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18323 sockaddr_in6, or ipv6_mreq.
18324
5430fc65
AZ
183252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18326
18327 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18328 memory access for final bytes in some large inputs.
18329 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18330
4660856c
AZ
183312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18332
18333 * string/test-memrchr.c: New file.
18334 * string/test-memrchr-ifunc.c: New file.
18335 * string/Makefile: Add new memrchr testcase.
18336
bb8ea713
MF
183372013-09-05 Mike Frysinger <vapier@gentoo.org>
18338
18339 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18340 fanotify_init returns EPERM.
18341
b92a20b5
JM
183422013-09-04 Joseph Myers <joseph@codesourcery.com>
18343
18344 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18345 errors.
18346 (top level): Treat second token from macro or constant entries for
18347 allowed headers as allowed.
18348 * include/complex.h: Condition internal declarations on
18349 [!_ISOMAC].
18350 * include/fenv.h: Condition include of <stdbool.h> and internal
18351 declarations on [!_ISOMAC].
7447ccd9
CL
18352
183532013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18354
3e181dda 18355 [BZ #15923]
7447ccd9
CL
18356 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18357
3f2e46a4
JM
183582013-09-04 Joseph Myers <joseph@codesourcery.com>
18359
18360 * configure.in (--enable-versioning): Remove configure option.
18361 (libc_cv_asm_symver_directive): Remove configure test.
18362 (libc_cv_ld_version_script_option): Likewise.
18363 (VERSIONING): Remove variable and AC_SUBST.
18364 (DO_VERSIONING): Remove AC_DEFINE.
18365 * configure: Regenerated.
18366 * config.h.in (DO_VERSIONING): Remove macro.
18367 * Makerules [$(versioning) = yes]: Change conditionals to
18368 [$(build-shared) = yes].
18369 * config.make.in (versioning): Remove variable.
18370 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18371 [$(build-shared) = yes].
18372 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18373 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18374 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18375 [$(build-shared) = yes].
18376 * extra-lib.mk [$(versioning) = yes]: Likewise.
18377 * hurd/Makefile [$(versioning) = yes]: Likewise.
18378 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18379 [SHARED].
18380 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18381 [SHARED].
18382 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18383 [SHARED && !NO_HIDDEN].
18384 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18385 [SHARED].
18386 [SHARED && DO_VERSIONING]: Likewise..
18387 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18388 [$(build-shared) = yes].
18389 * manual/install.texi (--disable-versioning): Remove
18390 documentation.
18391 * INSTALL: Regenerated.
18392 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18393 to [SHARED].
18394 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18395 [$(build-shared) = yes].
18396 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18397 * sysdeps/i386/i686/multiarch/strstr-c.c
18398 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18399 [SHARED && !NO_HIDDEN].
18400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18401 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18402 * sysdeps/powerpc/powerpc32/dl-machine.c
18403 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18404 * sysdeps/powerpc/powerpc32/sysdep.h
18405 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18406 to [SHARED && PIC && !NO_HIDDEN].
18407 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18408 conditional to [SHARED].
18409
44558701
WN
184102013-09-04 Will Newton <will.newton@linaro.org>
18411
18412 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18413 * benchtests/bench-string.h: Include bench-timing.h instead
18414 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18415 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18416 call to HP_TIMING_DIFF_INIT.
18417 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18418 instead of hp-timing.h macros.
18419 * benchtests/bench-memchr.c: Likewise.
18420 * benchtests/bench-memcmp.c: Likewise.
18421 * benchtests/bench-memcpy.c: Likewise.
18422 * benchtests/bench-memmem.c: Likewise.
18423 * benchtests/bench-memmove.c: Likewise.
18424 * benchtests/bench-memset.c: Likewise.
18425 * benchtests/bench-rawmemchr.c: Likewise.
18426 * benchtests/bench-strcasecmp.c: Likewise.
18427 * benchtests/bench-strcasestr.c: Likewise.
18428 * benchtests/bench-strcat.c: Likewise.
18429 * benchtests/bench-strchr.c: Likewise.
18430 * benchtests/bench-strcmp.c: Likewise.
18431 * benchtests/bench-strcpy.c: Likewise.
18432 * benchtests/bench-strcpy_chk.c: Likewise.
18433 * benchtests/bench-strlen.c: Likewise.
18434 * benchtests/bench-strncasecmp.c: Likewise.
18435 * benchtests/bench-strncat.c: Likewise.
18436 * benchtests/bench-strncmp.c: Likewise.
18437 * benchtests/bench-strncpy.c: Likewise.
18438 * benchtests/bench-strnlen.c: Likewise.
18439 * benchtests/bench-strpbrk.c: Likewise.
18440 * benchtests/bench-strrchr.c: Likewise.
18441 * benchtests/bench-strspn.c: Likewise.
18442 * benchtests/bench-strstr.c: Likewise.
18443
cae16d66
WN
184442013-09-04 Will Newton <will.newton@linaro.org>
18445
18446 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18447
ffa3cd7f
JM
184482013-09-03 Joseph Myers <joseph@codesourcery.com>
18449
18450 [BZ #15427]
18451 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18452 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18453 * math/libm-test.inc (lgamma_test_data): Add more tests.
18454 * sysdeps/i386/fpu/libm-test-ulps: Update.
18455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18456
8f02859f
OB
184572013-09-03 Ondřej Bílka <neleai@seznam.cz>
18458
18459 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18461 Add ifunc.
18462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18463 Add strcmp-sse2-unaligned
18464 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18465
18d43716
MF
184662013-09-02 Mike Frysinger <vapier@gentoo.org>
18467
18468 * Versions.def (libc): Add GLIBC_2.19.
18469
ac444012
MF
184702013-09-02 Mike Frysinger <vapier@gentoo.org>
18471
18472 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18473 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18474
b7835e32
JM
184752013-09-02 Joseph Myers <joseph@codesourcery.com>
18476
18477 [BZ #14155]
18478 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18479 intermediate calculations in recurrence.
18480 (__ieee754_ynf): Likewise.
18481 * math/libm-test.inc (jn_test_data): Do not allow spurious
18482 underflow exception. Add more tests.
18483 (yn_test_data): Add more tests.
18484 * sysdeps/i386/fpu/libm-test-ulps: Update.
18485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18486
8220f4f0
OB
184872013-09-02 Ondřej Bílka <neleai@seznam.cz>
18488
18489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18490
f24a6d08
OB
184912013-08-30 Ondřej Bílka <neleai@seznam.cz>
18492
18493 * csu/init-first.c: Fix then/than typos.
18494 * locale/programs/ld-collate.c: Likewise.
18495 * locale/programs/linereader.h: Likewise.
18496 * manual/charset.texi: Likewise.
18497 * manual/filesys.texi: Likewise.
18498 * manual/stdio.texi: Likewise.
18499 * manual/string.texi: Likewise.
18500 * stdlib/fmtmsg.c: Likewise.
18501 * sysdeps/i386/stpncpy.S: Likewise.
18502 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18503 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18505 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18506
382466e0
OB
185072013-08-30 Ondřej Bílka <neleai@seznam.cz>
18508
18509 * elf/dl-open.c: Fix typos.
18510 * iconvdata/gbbig5.c: Likewise.
18511 * iconvdata/iso-2022-jp.c: Likewise.
18512 * iconv/gconv_int.h: Likewise.
18513 * iconv/loop.c: Likewise.
18514 * nis/rpcsvc/nis.h: Likewise.
18515 * resolv/ns_name.c: Likewise.
18516 * stdio-common/vfscanf.c: Likewise.
18517 * streams/stropts.h: Likewise.
18518 * sunrpc/rpc_thread.c: Likewise.
18519 * sysdeps/i386/strpbrk.S: Likewise.
18520 * sysdeps/ieee754/k_standard.c: Likewise.
18521 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18523 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18524 * sysdeps/mach/hurd/profil.c: Likewise.
18525 * sysdeps/s390/dl-procinfo.h: Likewise.
18526 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18527 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18528 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18529 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18531
0186c6e9
OB
185322013-08-30 Ondřej Bílka <neleai@seznam.cz>
18533
18534 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18536
d4e16af1
OB
185372013-08-29 Ondřej Bílka <neleai@seznam.cz>
18538
18539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18540 aix specific files.
18541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18543 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18544 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18545 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18546 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18547 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18548 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18549
88335980
TS
185502013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18551 Roland McGrath <roland@hack.frob.com>
18552
18553 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18554 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18555
ed479b02
ST
185562013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18557
18558 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18559 __executable_start symbol instead of _start.
18560
f1cc4c86
TS
185612013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18562
d821f07c
TS
18563 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18564 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18565 Move macros to...
18566 * sysdeps/gnu/ldsodefs.h: ... this new file.
18567
c54290cf
TS
18568 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18569 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18570 instead of ELFOSABI_LINUX.
18571
0007fc9b 18572 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18573 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18574 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18575 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18576 Likewise.
18577 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18578 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18579 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18580 Likewise.
18581 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18582 (ibm_extended_long_double): Add ieee_nan member.
18583 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18584 (do_test): New function.
18585
f1cc4c86
TS
18586 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18587 TEST_TRUNC.
18588 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18589 functions, renamed from truncdfsf_test, trunctfsf_test,
18590 trunctfdf_test.
18591 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18592 functions.
18593 (do_test): Run all these.
18594
6f65e668
OB
185952013-08-29 Ondřej Bílka <neleai@seznam.cz>
18596
18597 * argp/argp-help.c: Fix typos.
18598 * argp/argp-parse.c: Likewise.
18599 * debug/backtracesyms.c: Likewise.
18600 * elf/elf.h: Likewise.
18601 * malloc/malloc.c: Likewise.
18602 * nis/nis_print.c: Likewise.
18603 * resolv/res_comp.c: Likewise.
18604 * stdlib/stdlib.h: Likewise.
18605 * sunrpc/clnt_tcp.c: Likewise.
18606 * sunrpc/clnt_udp.c: Likewise.
18607 * sunrpc/clnt_unix.c: Likewise.
18608 * sysdeps/unix/bsd/ptsname.c: Likewise.
18609 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18610 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18612 Likewise.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18614 Likewise.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18616 Likewise.
6f65e668
OB
18617 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18618
3a309239
SP
186192013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18620
18621 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18623
3b813b29
MF
186242013-08-27 Mike Frysinger <vapier@gentoo.org>
18625
18626 [BZ #15897]
18627 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18628 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18629 ($(objpfx)bug-dl-leaf): New rule.
18630 ($(objpfx)bug-dl-leaf.so): Likewise.
18631 ($(objpfx)bug-dl-leaf.out): Likewise.
18632 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18633 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18634 * dlfcn/bug-dl-leaf.c: New test.
18635 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18636 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18637 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18638 (dlclose): Likewise.
18639 (dlmopen): Likewise.
18640
8cc3269f
RM
186412013-08-27 Roland McGrath <roland@hack.frob.com>
18642
7f9d0034
RM
18643 * include/netdb.h [!_ISOMAC]:
18644 Don't include <tls.h>.
18645 (h_errno, __libc_h_errno): Move declaration and macros out of
18646 [_LIBC_REENTRANT].
18647
fb431262
RM
18648 * include/resolv.h [_RESOLV_H_]:
18649 Don't include <tls.h>.
18650 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18651 * resolv/res_libc.c: Don't include <tls.h>.
18652 (_res): Use __attribute__ ((nocommon)) in place of
18653 __attribute__ ((section (".bss"))).
18654
bd81123a
RM
18655 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18656 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18657
c4e42566
RM
18658 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18659
f890a59b
RM
18660 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18661 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18662
18663 * resolv/res_mkquery.c: Include <sys/time.h>.
18664
5d1f0a09
RM
18665 * inet/ifreq.c: Moved to ...
18666 * sysdeps/unix/ifreq.c: ... here.
18667 * inet/ifreq.c: New file, true stub version.
18668
6fcf28b3
RM
18669 * socket/sa_len.c: New file.
18670 * socket/Makefile (aux): Add it.
18671 * sysdeps/unix/sysv/linux/Makefile
18672 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18673 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18674 and #include <socket/sa_len.c>.
18675 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18676 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18677
e041fb8b
RM
18678 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18679 * bits/socket.h: ... here.
18680
8cc3269f
RM
18681 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18682 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18683 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18684
5d228a43
AS
186852013-08-27 Andreas Schwab <schwab@suse.de>
18686
45b8accc
AS
18687 [BZ #15736]
18688 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18689 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18690 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18691 * string/test-strcasecmp.c (test_main): Run tests in several
18692 locales.
18693 * string/test-strncasecmp.c (test_main): Likewise.
18694
5d228a43
AS
18695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18696 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18697 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18699 (__strncasecmp_ssse3) [PIC]: Likewise.
18700
59d112a4
RM
187012013-08-26 Roland McGrath <roland@hack.frob.com>
18702
53234cc3
RM
18703 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18704
59d112a4
RM
18705 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18706 instead of explicitly declaring xdecrypt.
18707 * nis/nss_nis/nis-publickey.c: Likewise.
18708
595aba70
SP
187092013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18710
18711 [BZ #15890]
18712 * nscd/aicache.c: Include res_hconf.h.
18713 (addhstaiX): Initialize res_hconf.
18714
ffabd393
AS
187152013-08-26 Andreas Schwab <schwab@suse.de>
18716
18717 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18718 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18719
e0a69f5c
SP
187202013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18721
18722 * nscd/aicache.c (addhstaiX): Fix indentation.
18723
8c12f01d
MF
187242013-08-25 Mike Frysinger <vapier@gentoo.org>
18725
18726 * configure.ac: Quote $build_pt_chown test.
18727 * configure: Regenerated.
18728
8fe89494
JM
187292013-08-23 Joseph Myers <joseph@codesourcery.com>
18730
18731 [BZ #15532]
18732 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18733 * math/s_cexpf.c (__cexpf): Likewise.
18734 * math/s_cexpl.c (__cexpl): Likewise.
18735 * math/libm-test.inc (cexp_test_data): Correct expected return
18736 value for NaN + i0. Add another test.
18737
75b181d6
DM
187382013-08-22 David S. Miller <davem@davemloft.net>
18739
18740 * po/ca.po: Update Catalan translation from translation project.
936241e4 18741 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18742
acd06bb1
JM
187432013-08-21 Joseph Myers <joseph@codesourcery.com>
18744
18745 [BZ #15797]
18746 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18747 is infinite, not alongside NaN test.
18748 * math/s_fdimf.c (__fdimf): Likewise.
18749 * math/s_fdiml.c (__fdiml): Likewise.
18750 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18751 errno is unchanged.
18752
c0c3f78a
OB
187532013-08-21 Ondřej Bílka <neleai@seznam.cz>
18754
18755 * argp/argp-help.c: Fix typos.
18756 * crypt/speeds.c: Likewise.
18757 * csu/check_fds.c: Likewise.
18758 * elf/dl-load.c: Likewise.
18759 * elf/dl-open.c: Likewise.
18760 * elf/reldep3.c: Likewise.
18761 * elf/reldep.c: Likewise.
18762 * elf/sprof.c: Likewise.
18763 * iconv/iconv_charmap.c: Likewise.
18764 * iconv/skeleton.c: Likewise.
18765 * iconv/strtab.c: Likewise.
18766 * io/lockf64.c: Likewise.
18767 * libio/libioP.h: Likewise.
18768 * resolv/gai_notify.c: Likewise.
18769 * resolv/ns_name.c: Likewise.
18770 * resolv/ns_samedomain.c: Likewise.
18771 * resolv/res_send.c: Likewise.
18772 * stdlib/random.c: Likewise.
18773 * sunrpc/rpc/xdr.h: Likewise.
18774 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18775 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18776 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18777 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18778 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18782 * sysdeps/mach/hurd/check_fds.c: Likewise.
18783 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18784 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18786 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18787 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18788 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18789 * sysdeps/pthread/aio_notify.c: Likewise.
18790 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18791 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18792 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18794 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18795
46ed1038
LD
187962013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18797
18798 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18799 version if bit_Slow_SSE4_2 is set.
18800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18801 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18802
d400dcac
AZ
188032013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18804
18805 [BZ #15867]
18806 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18807 trampoline stack frame information.
18808 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18809 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18810 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18811 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18812 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18813 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18814 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18815 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18816 sa_flags value.
18817 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18818 interrupting a syscall and set with option SA_SIGINFO.
18819
42c8fdd8
JM
188202013-08-20 Joseph Myers <joseph@codesourcery.com>
18821
c980f2f4
JM
18822 [BZ #15531]
18823 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18824 argument is infinite.
18825 * math/s_cprojf.c (__cprojf): Likewise.
18826 * math/s_cprojl.c (__cprojl): Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18828 * math/libm-test.inc (cproj_test_data): Add more tests.
18829
0716c4fc
JM
18830 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18831
42c8fdd8
JM
18832 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18833 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18834 size. Use __ffs to determine corresponding shift.
18835
b31469d0
JM
188362013-08-20 Joseph Myers <joseph@codesourcery.com>
18837 Roland McGrath <roland@hack.frob.com>
18838
18839 * Makefile (INSTALL): Remove trailing blank lines from output of
18840 makeinfo.
18841
4e39af6e
AK
188422013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18843
18844 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18845 Align 32 bit compat elf_greg to 8 bytes.
18846
f315524e
AA
188472013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18848
18849 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18850
1326ba1a
SP
188512013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18852
18853 * string/strcoll_l.c (coll_seq): New structure.
18854 (get_next_seq_cached): New function.
18855 (get_next_seq): New function.
18856 (do_compare): New function.
18857 (STRCOLL): Use GNU style definition. Simplify implementation
18858 by using get_next_seq, get_next_seq_cached and do_compare.
18859
91ce4085
FW
188602013-08-16 Florian Weimer <fweimer@redhat.com>
18861
18862 [BZ #14699]
18863 CVE-2013-4237
18864 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18865 member.
18866 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18867 member.
18868 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18869 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18870 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18871 conditional.
18872 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18873 GETDENTS_64BIT_ALIGNED.
18874 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18875 * manual/filesys.texi (Reading/Closing Directory): Document
18876 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18877 strongly.
18878 * manual/conf.texi (Limits for Files): Add portability note to
18879 NAME_MAX, PATH_MAX.
18880 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18881
ca0a6bc4
AS
188822013-08-13 Andreas Schwab <schwab@suse.de>
18883
18884 [BZ #15749]
18885 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18886 of fabs.
18887 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18888 LDBL_MAX_EXP >= 16384]: Add tests for it.
18889
6c1fd795
DM
188902013-08-12 David S. Miller <davem@davemloft.net>
18891
18892 * version.h (RELEASE): Set to "development".
18893 (VERSION): Set to "2.18.90".
18894 * NEWS: Add 2.19 section.
18895
31ad488d
DM
188962013-08-03 David S. Miller <davem@davemloft.net>
18897
18898 * po/ko.po: Update Korean translation from translation project.
18899
db24e684
DM
189002013-08-01 David S. Miller <davem@davemloft.net>
18901
18902 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18903 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18904 Bilka.
18905
f723285b
DM
189062013-07-30 David S. Miller <davem@davemloft.net>
18907
18908 * po/fr.po: Update French translation from translation project.
18909
3cbc52db
DM
189102013-07-28 David S. Miller <davem@davemloft.net>
18911
30bbc0cc
DM
18912 * po/cs.po: Update Czech translation from translation project.
18913
3cbc52db
DM
18914 * po/sv.po: Update Swedish translation from translation project.
18915
d492e6d0
DM
189162013-07-27 David S. Miller <davem@davemloft.net>
18917
f1a7f492
DM
18918 * po/eo.po: Update Esperanto translation from translation project.
18919
90e62a4a
DM
18920 * po/vi.po: Update Vietnamese translation from translation project.
18921
d492e6d0
DM
18922 * po/de.po: Update German translation from translation project.
18923
d4baa62d
DM
189242013-07-26 David S. Miller <davem@davemloft.net>
18925
641aa7b4
DM
18926 * po/bg.po: Update Bulgarian translation from translation project.
18927
d4baa62d
DM
18928 * po/nl.po: Update Dutch translation from translation project.
18929 * po/pl.po: Update Polish translation from translation project.
18930 * po/ru.po: Update Russian translation from translation project.
18931
61a9dcb9
DM
189322013-07-24 David S. Miller <davem@davemloft.net>
18933
18934 * po/libc.pot: Update.
18935
7b1f8b58
AZ
189362013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18937
18938 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18939 variable page size.
18940 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18941 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18942 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18943
a8fc7a03
AK
189442013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18945
18946 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18947
e4608715
CD
189482013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18949 Andreas Schwab <schwab@suse.de>
18950 Roland McGrath <roland@hack.frob.com>
18951 Joseph Myers <joseph@codesourcery.com>
18952 Carlos O'Donell <carlos@redhat.com>
18953
18954 [BZ #15755]
18955 * config.h.in: Define HAVE_PT_CHOWN.
18956 * config.make.in (build-pt-chown): New variable.
18957 * configure.in (--enable-pt_chown): New configure option.
18958 * configure: Regenerate.
18959 * login/Makefile: Include Makeconfig. Build pt_chown only if
18960 build-pt-chown is enabled.
18961 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18962 pt_chown to fix pty ownership.
18963 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18964 CLOSE_ALL_FDS.
18965 * manual/install.texi (Configuring and compiling): Mention
18966 --enable-pt_chown. Add @findex for grantpt.
18967 * INSTALL: Regenerate.
18968
da2d62df
DM
189692013-07-20 David S. Miller <davem@davemloft.net>
18970
18971 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18972 difference between 32-bit and 64-bit.
18973
d7e06450
CD
189742013-07-15 Carlos O'Donell <carlos@redhat.com>
18975
18976 [BZ #15711]
18977 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18978 Avoid system header dependency with -ffreestanding.
18979 ($(objpfx)bits/syscall%d): Likewise.
18980
f959cfd7
DM
189812013-07-13 David S. Miller <davem@davemloft.net>
18982
18983 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18984 underflows from atanl/atan2l due to bug 15319.
18985 (casinh_test_data): Likewise.
18986
c61f8513
DM
189872013-07-07 David S. Miller <davem@davemloft.net>
18988
18989 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18990
72c90ed0
JA
189912013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18992
18993 * sysdeps/i386/fpu/libm-test-ulps: Update.
18994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18995
52dfbe13
SP
189962013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18997
18998 * configure.in (--enable-lock-elision): Fix message text.
18999 * INSTALL: Regenerate.
19000 * configure: Regenerate.
19001
3f169543
AZ
190022013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19003
19004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19005
521c6785
AJ
190062013-07-03 Andreas Jaeger <aj@suse.de>
19007
19008 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19009 define.
19010 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19011 (ptrace_peeksiginfo_args): Add.
19012 (__ptrace_peeksiginfo_flags): Add.
19013 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19015 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19016
d2cc15cb
AM
190172013-07-03 Allan McRae <allan@archlinux.org>
19018
19019 * sysdeps/i386/fpu/libm-test-ulps: Update.
19020
3aaeeca7
DM
190212013-07-02 David S. Miller <davem@davemloft.net>
19022
19023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19024
5314ed1a
MT
190252013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19026
19027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19028
67338156
JM
190292013-07-02 Joseph Myers <joseph@codesourcery.com>
19030
19031 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19033
1717da59
AK
190342013-07-02 Andi Kleen <ak@linux.intel.com>
19035
19036 * config.h.in (ENABLE_LOCK_ELISION): Add.
19037 * configure.in (--enable-lock-elision): Add option.
19038 * manual/install.texi: Document --enable lock elision.
19039 * configure: Regenerate
19040 * INSTALL: Regenerate.
19041
1c81621c
L
190422013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19043
19044 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19045 SSE4.2 strcasecmp for libc.a.
19046 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19047
77f01ab5
JM
190482013-07-02 Joseph Myers <joseph@codesourcery.com>
19049
19050 [BZ #13304]
19051 * soft-fp/op-common.h (_FP_FMA): New macro.
19052 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19053 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19054 (_FP_MUL_MEAT_1_imm): ... here.
19055 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19056 (_FP_MUL_MEAT_1_wide): ... here.
19057 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19058 (_FP_MUL_MEAT_1_hard): ... here.
19059 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19060 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19061 (_FP_MUL_MEAT_2_wide): ... here.
19062 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19063 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19064 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19065 (_FP_MUL_MEAT_2_gmp): ... here.
19066 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19067 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19068 (_FP_MUL_MEAT_4_wide): ... here.
19069 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19070 (_FP_MUL_MEAT_4_gmp): ... here.
19071 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19072 (_FP_WFRACBITS_DW_S): Likewise.
19073 (_FP_WFRACXBITS_DW_S): Likewise.
19074 (_FP_HIGHBIT_DW_S): Likewise.
19075 (FP_FMA_S): Likewise.
19076 (_FP_FRAC_HIGH_DW_S): Likewise.
19077 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19078 (_FP_WFRACBITS_DW_D): Likewise.
19079 (_FP_WFRACXBITS_DW_D): Likewise.
19080 (_FP_HIGHBIT_DW_D): Likewise.
19081 (FP_FMA_D): Likewise.
19082 (_FP_FRAC_HIGH_DW_D): Likewise.
19083 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19084 (_FP_WFRACBITS_DW_E): Likewise.
19085 (_FP_WFRACXBITS_DW_E): Likewise.
19086 (_FP_HIGHBIT_DW_E): Likewise.
19087 (FP_FMA_E): Likewise.
19088 (_FP_FRAC_HIGH_DW_E): Likewise.
19089 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19090 (_FP_WFRACBITS_DW_Q): Likewise.
19091 (_FP_WFRACXBITS_DW_Q): Likewise.
19092 (_FP_HIGHBIT_DW_Q): Likewise.
19093 (FP_FMA_Q): Likewise.
19094 (_FP_FRAC_HIGH_DW_Q): Likewise.
19095 * soft-fp/fmasf4.c: New file.
19096 * soft-fp/fmadf4.c: Likewise.
19097 * soft-fp/fmatf4.c: Likewise.
19098
6308fd9a
LD
190992013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19100
19101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19102 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19103 Silvermont.
19104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19105 macro.
19106 (index_Slow_SSE4_2): Likewise.
19107 (index_Prefer_PMINUB_for_stringop): Likewise.
19108 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19109 bit_Slow_SSE4_2 is set.
19110 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19111 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19112
89cd9569
RA
191132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19114
19115 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19116 rtld_global._dl_hwcap2.
19117 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19118 POWER8.
19119 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19120 POWER8 feature descriptions defined in _dl_hwcap2.
19121 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19122 string handling for POWER8 feature bits.
19123 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19124 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19125 _dl_powerpc_cap_flags.
19126 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19127 * sysdeps/powerpc/rtld-global-offsets.sym
19128 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19129 _dl_hwcap2 in the rtld_global_ro structure.
19130
1ae8bfe0
RA
191312013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19132
19133 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19134 hardware capabilities in support of AT_HWCAP2.
19135 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19136 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19137 GLRO(dl_hwcap2).
19138 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19139 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19140 explicitly the unknown a_type display mechanism is used.
19141 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19142 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19143 struct member.
19144 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19145 to macro prototype for AT_HWCAP2 support.
19146 * sysdeps/i386/dl-procinfo.h: Likewise.
19147 * sysdeps/s390/dl-procinfo.h: Likewise.
19148 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19149 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19150 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19151 return -1 for unknown a_type display fallback.
19152 * sysdeps/sparc/dl-procinfo.h: Likewise.
19153 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19154 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19155
8fbec010
JM
191562013-06-28 Joseph Myers <joseph@codesourcery.com>
19157
19158 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19159 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19160
0432680e
PY
191612013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19162
19163 [BZ #12492]
19164 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19165 mprotect making __stack_prot writable.
19166
ce61a2ad
NF
191672013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19168 Joseph Myers <joseph@codesourcery.com>
19169
19170 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19171 as being properly aligned.
19172
f91f1c0f
MR
191732013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19174
3d0f5d0c
MR
19175 * dlfcn/modstatic5.c: New file.
19176 * dlfcn/tststatic5.c: New file.
19177 * dlfcn/Makefile (tests): Add tststatic5.
19178 (tests-static): Likewise.
19179 (modules-names): Add modstatic5.
19180 (tststatic5-ENV): New variable.
19181 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19182
f91f1c0f
MR
19183 [BZ #15022]
19184 * elf/dl-support.c (_dl_main_map): New variable.
19185 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19186 (_dl_nns, _dl_load_adds): Set to 1.
19187 (_dl_initial_searchlist): Refer to _dl_main_map.
19188 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19189 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19190 call to _dl_get_origin.
19191 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19192 around call_map.
19193 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19194 * dlfcn/modstatic3.c: New file.
19195 * dlfcn/tststatic3.c: New file.
19196 * dlfcn/tststatic4.c: New file.
19197 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19198 (tests-static): Likewise.
19199 (modules-names): Add modstatic3.
19200 (tststatic3-ENV, tststatic4-ENV): New variables.
19201 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19202 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19203
cbe7d24b
JM
192042013-06-26 Joseph Myers <joseph@codesourcery.com>
19205
19206 * configure.in (CC): Require GCC version 4.4 or later.
19207 * configure: Regenerated.
19208 * manual/install.texi (Tools for Compilation): Update GCC version
19209 requirement.
19210 * INSTALL: Regenerated.
19211
11b8a0e1
LD
192122013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19213
19214 [BZ #15674]
bb5bb87c
L
19215 * string/test-memcmp.c (check2): New.
19216 (main): Call check2.
19217
11b8a0e1
LD
19218 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19219
b0037103
MR
192202013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19221
19222 [BZ #15022]
19223 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19224 over to...
19225 (dl_open_worker) [!SHARED]: ... here.
19226
c18c701d
RA
192272013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19228
19229 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19230
1d17fa5f
RH
192312013-06-25 Richard Henderson <rth@redhat.com>
19232
19233 * locale/programs/locarchive.c: Include <libc-internal.h>
19234
8fcb833a
JM
192352013-06-25 Joseph Myers <joseph@codesourcery.com>
19236
19237 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19238 trailing whitespace removed.
19239
17db6e8d
MF
192402013-06-24 Mike Frysinger <vapier@gentoo.org>
19241
19242 [BZ #10283]
17db6e8d
MF
19243 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19244 * locale/programs/locarchive.c: Include libc-mmap.h.
19245 (prepare_address_space): Take two new outputs (the mmap base and len).
19246 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19247 values.
19248 (create_archive): Declare new mmap base and len values for
19249 prepare_address_space, and store the result in ah.
19250 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19251 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19252 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19253 Declare new mmap base and len values for
19254 prepare_address_space, and store the result in new_ah.
19255 (open_archive): Declare new mmap base and len values for
19256 prepare_address_space, and store the result in ah.
19257 (close_archive): If ah->mmap_base is not NULL, use that and
19258 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19259 * sysdeps/generic/libc-mmap.h: New file.
19260
d605071e
MF
192612013-06-24 Mike Frysinger <vapier@gentoo.org>
19262
19263 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19264 (ALIGN_UP): Likewise.
19265 (PTR_ALIGN_DOWN): Likewise.
19266 (PTR_ALIGN_UP): Likewise.
19267
2f063a6e
RA
192682013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19269
19270 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19271 entry mapped to PPC_PLATFORM_POWER8.
19272 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19273 POWER8.
19274 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19275 (_dl_string_platform): Add case for exporting platform position for
19276 POWER8.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19278 search path to sysdeps/powerpc/powerpc32/power8 directory.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19280 search path to sysdeps/powerpc/powerpc64/power8 directory.
19281 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19282 power7 directories.
19283 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19284 power7 directories.
19285
a31ee4b3
SP
192862013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19287
a74ca98f
SP
19288 * INSTALL: Regenerate.
19289
a31ee4b3
SP
19290 * nscd/connections.c (nscd_init): Fix comment.
19291
695c378f
JM
192922013-06-22 Joseph Myers <joseph@codesourcery.com>
19293
d8412221
JM
19294 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19295
695c378f
JM
19296 [BZ #15667]
19297 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19298 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19299
d1d54715
MR
193002013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19301
19302 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19303 DL_DST_REQ_STATIC.
19304 (DL_DST_REQ_STATIC): Remove macro.
19305
8fdda7af
JM
193062013-06-21 Joseph Myers <joseph@codesourcery.com>
19307
19308 [BZ #7006]
19309 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19310 with a shift of 0 bits.
19311
f3bc5e5a
MR
193122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19313
19314 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19315 $(tststatic-ENV).
19316
be09e8c9
KK
193172013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19318
19319 [BZ #15655]
19320 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19321
85c2e611
AZ
193222013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19323
19324 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19325 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19326 accepts -fno-tree-loop-distribute-patterns.
19327 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19328 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19329 recursive call.
19330 * string/memset.c (memset): Likewise.
19331 * string/test-memmove.c (simple_memmove): Disable loop transformation
19332 to library calls.
19333 * string/test-memset.c (simple_memset): Likewise.
19334 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19335 * benchtests/bench-memset.c (simple_memset): Likewise.
19336 * configure: Regenerated.
19337
c91e0825
JM
193382013-06-20 Joseph Myers <joseph@codesourcery.com>
19339
b8c792af
JM
19340 * math/test-misc.c (main): Ignore fesetround failure when failures
19341 of subsequent rounding tests would be ignored.
19342
c91e0825
JM
19343 [BZ #15654]
19344 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19345 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19346 * math/fegetenv.c (__fegetenv): Return 0.
19347 * math/fegetexcept.c (fegetexcept): Return 0.
19348 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19349 FE_TONEAREST.
19350 * math/feholdexcpt.c (feholdexcept): Return 0.
19351 * math/fesetenv.c (__fesetenv): Return 0.
19352 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19353 argument FE_TONEAREST.
19354 * math/feupdateenv.c (__feupdateenv): Return 0.
19355 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19356
bfcacbde
RM
193572013-06-18 Roland McGrath <roland@hack.frob.com>
19358
19359 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19360 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19361 ($(objpfx)rtld-%.os rules): Use them.
19362
e55a9b25
AZ
193632013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19364
19365 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19366 fields.
19367
346d65b3
RM
193682013-06-17 Roland McGrath <roland@hack.frob.com>
19369
12086fb4
RM
19370 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19371 length of target pattern, then descending length of dependency pattern.
19372 * configure.in (AWK): Require gawk 3.1.2 or newer.
19373 * manual/install.texi (Tools for Compilation): Say that we do.
19374 * configure: Regenerated.
19375
346d65b3
RM
19376 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19377 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19378 * scripts/sysd-rules.awk: ... this new script.
19379 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19380 than a glob-style pattern.
19381
1a846317
JM
193822013-06-17 Joseph Myers <joseph@codesourcery.com>
19383
19384 * math/test-misc.c (main): Do not treat incorrectly rounded
19385 conversions as failure unless ROUNDING_TESTS passes.
19386
8fc75e6f
JM
193872013-06-15 Joseph Myers <joseph@codesourcery.com>
19388
3711a167
JM
19389 [BZ #15631]
19390 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19391 restore exception state around main square root computation, then
19392 check for inexactness explicitly.
19393
8fc75e6f
JM
19394 * math/libm-test.inc (fma_test_data): Add another test.
19395
61dd6208
SP
193962013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19397
adf23d2c
SP
19398 * manual/threads.texi (Non-POSIX Extensions): New document
19399 node. Document pthread_getattr_default_np and
19400 pthread_setattr_default_np.
19401
61dd6208
SP
19402 * Versions.def (libpthread): Add GLIBC_2.18.
19403 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19405 Likewise.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19407 Likewise.
19408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19409 Likewise.
19410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19411 Likewise.
19412 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19413 Likewise.
19414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19415 Likewise.
19416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19417 Likewise.
19418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19419 Likewise.
19420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19421 Likewise.
19422
d086fc7b
LD
194232013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19424
19425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19426 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19427
747ef469
SP
194282013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19429 H.J. Lu <hjl.tools@gmail.com>
19430
19431 [BZ #15627]
19432 * sysdeps/x86_64/rtld-memset.c: Remove file.
19433 * sysdeps/x86_64/rtld-memset.S: New file.
19434
1b2feed2
JM
194352013-06-14 Joseph Myers <joseph@codesourcery.com>
19436
19437 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19438 (test_in_one_mode): Take arguments for whether the rounding mode
19439 is supported for each floating-point type.
19440 (do_test): Pass new arguments to test_in_one_mode using
19441 ROUNDING_TESTS.
19442
a58ad3f8
RM
194432013-06-13 Roland McGrath <roland@hack.frob.com>
19444
19445 * posix/tst-waitid.c (do_test): Distinguish different instances of
19446 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19447 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19448 before entering the kernel for waitpid.
19449
c204ab28
SP
194502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19451
19452 * NEWS: Fix note on clock function precision. Text by Roland
19453 McGrath.
19454
f4a29fba
RM
194552013-06-13 Roland McGrath <roland@hack.frob.com>
19456
19457 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19458 it into place only when and if the sanity check passes.
19459
1f24b9ad
JM
194602013-06-13 Joseph Myers <joseph@codesourcery.com>
19461
19462 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19463 output for whether conversion result is exact. Take argument
19464 indicating whether type is IBM long double.
19465 (round_for_all): Change need_exact field to ibm_ld.
19466 * stdlib/tst-strtod-round.c (struct exactness): New type.
19467 (struct test): Change bool ld_ok field to struct exactness exact.
19468 (TEST): Update all definitions for change to field.
19469 (tests): Regenerate array contents.
19470 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19471 field value. Check for IBM long double here.
19472 (do_test): Update calls to test_in_one_mode.
19473
58206c68
SP
194742013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19475
19476 [BZ #12515]
19477 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19478 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19479
2d6f4c5b 194802013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
19481
19482 [BZ #15605]
19483 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19484 generated by the compiler on loop optimizations.
19485 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19486 general definitions.
19487
94f2c076
JM
194882013-06-12 Joseph Myers <joseph@codesourcery.com>
19489
19490 * math/bug-nextafter.c: Include <math-tests.h>.
19491 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19492 the relevant type.
19493 * math/bug-nexttoward.c: Include <math-tests.h>.
19494 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19495 the relevant type.
19496 * math/test-misc.c: Include <math-tests.h>.
19497 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19498 the relevant type.
19499
e0e50a0a
AJ
195002013-06-12 Andreas Jaeger <aj@suse.de>
19501
19502 * po/ia.po: Update Interlingua translation from translation
19503 project.
19504
25061094
SP
195052013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19506
19507 * include/fenv.h: Include stdbool.h.
19508 (struct rm_ctx): New structure.
19509 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19510 Define macro.
19511 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19512 (SET_RESTORE_ROUNDF): Likewise.
19513 (SET_RESTORE_ROUNDL): Likewise.
19514 (SET_RESTORE_ROUND_NOEX): Likewise.
19515 (SET_RESTORE_ROUND_NOEXF): Likewise.
19516 (SET_RESTORE_ROUND_NOEXL): Likewise.
19517 (SET_RESTORE_ROUND_53BIT): Likewise.
19518 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19519 (libc_feresetround_noexf_ctx): Likewise.
19520 (libc_feresetround_noexl_ctx): Likewise.
19521 (libc_feholdsetround_53bit_ctx): Likewise.
19522 (libc_feresetround_53bit_ctx): Likewise.
19523 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19524 (libc_feholdexcept_setround_sse_ctx): New function.
19525 (libc_fesetenv_sse_ctx): Likewise.
19526 (libc_feupdateenv_sse_ctx): Likewise.
19527 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19528 (libc_feholdexcept_setround_387_ctx): Likewise.
19529 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19530 (libc_feholdsetround_387_prec_ctx): Likewise.
19531 (libc_feholdsetround_387_ctx): Likewise.
19532 (libc_feholdsetround_387_53bit_ctx): Likewise.
19533 (libc_feholdsetround_sse_ctx): Likewise.
19534 (libc_feresetround_sse_ctx): Likewise.
19535 (libc_feresetround_387_ctx): Likewise.
19536 (libc_feupdateenv_387_ctx): Likewise.
19537 (libc_feholdexcept_setroundf_ctx): Define macro.
19538 (libc_fesetenvf_ctx): Likewise.
19539 (libc_feupdateenvf_ctx): Likewise.
19540 (libc_feholdsetroundf_ctx): Likewise.
19541 (libc_feresetroundf_ctx): Likewise.
19542 (libc_feholdexcept_setround_ctx): Likewise.
19543 (libc_fesetenv_ctx): Likewise.
19544 (libc_feupdateenv_ctx): Likewise.
19545 (libc_feholdsetround_ctx): Likewise.
19546 (libc_feresetround_ctx): Likewise.
19547 (libc_feholdexcept_setroundl_ctx): Likewise.
19548 (libc_feupdateenvl_ctx): Likewise.
19549 (libc_feholdsetroundl_ctx): Likewise.
19550 (libc_feresetroundl_ctx): Likewise.
19551 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19552 (libc_feresetround_53bit_ctx): Likewise.
19553
59b30555
SP
195542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19555
19556 * locale/iso-639.def: Convert to UTF-8.
19557
f1d73d30
JM
195582013-06-11 Joseph Myers <joseph@codesourcery.com>
19559
19560 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19561 (EXCEPTION_TESTS_double): Likewise.
19562 (EXCEPTION_TESTS_long_double): Likewise.
19563 (EXCEPTION_TESTS): Likewise.
19564 * math/libm-test.inc (test_exceptions): Only test exceptions if
19565 EXCEPTION_TESTS (FLOAT).
19566
94aca5e7
SP
195672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19568
19569 * benchtests/Makefile (string-bench): Add strcpy_chk and
19570 stpcpy_chk.
19571 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19572 * benchtests/bench-stpcpy_chk.c: New file.
19573 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19574 * benchtests/bench-strcpy_chk.c: New file.
19575 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19576 code.
19577 (do_test): Likewise.
19578
fac0c5f2
RA
195792013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19580
19581 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19582 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19583 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19584 with tabs where appropriate.
19585 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19586 dl-procinfo.h.
19587 [PPC_PLATFORM_PPC440]: Likewise.
19588 [PPC_PLATFORM_PPC464]: Likewise.
19589 [PPC_PLATFORM_PPC476]: Likewise.
19590 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19591 ppc464, and ppc476 platform strings merging from ports/
19592 dl-procinfo.h.
19593
f22bc486
AS
195942013-06-11 Andreas Schwab <schwab@suse.de>
19595
19596 [BZ #14991]
19597 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19598 (from_ucs4_idx): Regenerate.
19599 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19600 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19601 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19602 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19603 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19604 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19605 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19606 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19607 from FROM_LOOP and TO_LOOP specific macros.
19608 (BODY): Handle combining characters.
19609 * iconvdata/BIG5HKSCS.irreversible: Update.
19610 * iconvdata/BIG5HKSCS.precomposed: New file.
19611 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19612 characters.
19613 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19614
c1f75dc3
SP
196152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19616
4eacded2
SP
19617 * include/sys/time.h: Fix indentation and add copyright header.
19618
fec799f8
SP
19619 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19620 (do_test): Likewise.
19621 * string/test-memchr.c (do_one_test): Likewise.
19622 (do_test): Likewise.
19623 * string/test-memcmp.c (do_one_test): Likewise.
19624 (do_test): Likewise.
19625 * string/test-memcpy.c (do_one_test): Likewise.
19626 (do_test): Likewise.
19627 * string/test-memmem.c (do_one_test): Likewise.
19628 (do_test): Likewise.
19629 (do_random_tests): Likewise.
19630 * string/test-memmove.c (do_one_test): Likewise.
19631 (do_test): Likewise.
19632 * string/test-memset.c (do_one_test): Likewise.
19633 (do_test): Likewise.
19634 * string/test-rawmemchr.c (do_one_test): Likewise.
19635 (do_test): Likewise.
19636 * string/test-strcasecmp.c (do_one_test): Likewise.
19637 (do_test): Likewise.
19638 * string/test-strcasestr.c (do_one_test): Likewise.
19639 (do_test): Likewise.
19640 * string/test-strcat.c (do_one_test): Likewise.
19641 (do_test): Likewise.
19642 * string/test-strchr.c (do_one_test): Likewise.
19643 (do_test): Likewise.
19644 * string/test-strcmp.c (do_one_test): Likewise.
19645 (do_test): Likewise.
19646 * string/test-strcpy.c (do_one_test): Likewise.
19647 (do_test): Likewise.
19648 * string/test-string.h: Likewise.
19649 (test_init): Likewise.
19650 * string/test-strlen.c (do_one_test): Likewise.
19651 (do_test): Likewise.
19652 * string/test-strncasecmp.c (do_one_test): Likewise.
19653 (do_test): Likewise.
19654 * string/test-strncat.c (do_one_test): Likewise.
19655 (do_test): Likewise.
19656 * string/test-strncmp.c (do_one_test): Likewise.
19657 (do_test_limit): Likewise.
19658 (do_test): Likewise.
19659 * string/test-strncpy.c (do_one_test): Likewise.
19660 (do_test): Likewise.
19661 * string/test-strnlen.c (do_one_test): Likewise.
19662 (do_test): Likewise.
19663 * string/test-strpbrk.c (do_one_test): Likewise.
19664 (do_test): Likewise.
19665 * string/test-strrchr.c (do_one_test): Likewise.
19666 (do_test): Likewise.
19667 * string/test-strspn.c (do_one_test): Likewise.
19668 (do_test): Likewise.
19669 * string/test-strstr.c (do_one_test): Likewise.
19670 (do_test): Likewise.
19671
97020474
SP
19672 * benchtests/Makefile (string-bench): Add string benchmarks.
19673 * benchtests/bench-bcopy-ifunc.c: New file.
19674 * benchtests/bench-bcopy.c: New file.
19675 * benchtests/bench-bzero-ifunc.c: New file.
19676 * benchtests/bench-bzero.c: New file.
19677 * benchtests/bench-memccpy-ifunc.c: New file.
19678 * benchtests/bench-memccpy.c: New file.
19679 * benchtests/bench-memchr-ifunc.c: New file.
19680 * benchtests/bench-memchr.c: New file.
19681 * benchtests/bench-memcmp-ifunc.c: New file.
19682 * benchtests/bench-memcmp.c: New file.
19683 * benchtests/bench-memmem-ifunc.c: New file.
19684 * benchtests/bench-memmem.c: New file.
19685 * benchtests/bench-memmove-ifunc.c: New file.
19686 * benchtests/bench-memmove.c: New file.
19687 * benchtests/bench-mempcpy-ifunc.c: New file.
19688 * benchtests/bench-mempcpy.c: New file.
19689 * benchtests/bench-memset-ifunc.c: New file.
19690 * benchtests/bench-memset.c: New file.
19691 * benchtests/bench-rawmemchr-ifunc.c: New file.
19692 * benchtests/bench-rawmemchr.c: New file.
19693 * benchtests/bench-stpcpy-ifunc.c: New file.
19694 * benchtests/bench-stpcpy.c: New file.
19695 * benchtests/bench-stpncpy-ifunc.c: New file.
19696 * benchtests/bench-stpncpy.c: New file.
19697 * benchtests/bench-strcasecmp-ifunc.c: New file.
19698 * benchtests/bench-strcasecmp.c: New file.
19699 * benchtests/bench-strcasestr-ifunc.c: New file.
19700 * benchtests/bench-strcasestr.c: New file.
19701 * benchtests/bench-strcat-ifunc.c: New file.
19702 * benchtests/bench-strcat.c: New file.
19703 * benchtests/bench-strchr-ifunc.c: New file.
19704 * benchtests/bench-strchr.c: New file.
19705 * benchtests/bench-strchrnul-ifunc.c: New file.
19706 * benchtests/bench-strchrnul.c: New file.
19707 * benchtests/bench-strcmp-ifunc.c: New file.
19708 * benchtests/bench-strcmp.c: New file.
19709 * benchtests/bench-strcpy-ifunc.c: New file.
19710 * benchtests/bench-strcpy.c: New file.
19711 * benchtests/bench-strcspn-ifunc.c: New file.
19712 * benchtests/bench-strcspn.c: New file.
19713 * benchtests/bench-strlen-ifunc.c: New file.
19714 * benchtests/bench-strlen.c: New file.
19715 * benchtests/bench-strncasecmp-ifunc.c: New file.
19716 * benchtests/bench-strncasecmp.c: New file.
19717 * benchtests/bench-strncat-ifunc.c: New file.
19718 * benchtests/bench-strncat.c: New file.
19719 * benchtests/bench-strncmp-ifunc.c: New file.
19720 * benchtests/bench-strncmp.c: New file.
19721 * benchtests/bench-strncpy-ifunc.c: New file.
19722 * benchtests/bench-strncpy.c: New file.
19723 * benchtests/bench-strnlen-ifunc.c: New file.
19724 * benchtests/bench-strnlen.c: New file.
19725 * benchtests/bench-strpbrk-ifunc.c: New file.
19726 * benchtests/bench-strpbrk.c: New file.
19727 * benchtests/bench-strrchr-ifunc.c: New file.
19728 * benchtests/bench-strrchr.c: New file.
19729 * benchtests/bench-strspn-ifunc.c: New file.
19730 * benchtests/bench-strspn.c: New file.
19731 * benchtests/bench-strstr-ifunc.c: New file.
19732 * benchtests/bench-strstr.c: New file.
19733
c1f75dc3
SP
19734 * benchtests/Makefile: Disable parallel execution of targets.
19735 (string-bench): Add memcpy.
19736 (benchset): New variable to store a list of benchmark sets.
19737 (bench-func): Renamed from bench.
19738 (bench-set): New target.
19739 (bench): Depend on bench-func and bench-set.
19740 * benchtests/README: Add section on benchmark sets.
19741 * benchtests/bench-memcpy-ifunc.c: New file.
19742 * benchtests/bench-memcpy.c: New file.
19743 * benchtests/bench-string.h: New file.
19744
50fd745b
AS
197452013-06-11 Andreas Schwab <schwab@suse.de>
19746
19747 [BZ #15577]
19748 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19749 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19750 values in the triple.
19751 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19752 terminator in the group key.
19753
3ee7e9fe
AJ
197542013-06-11 Andreas Jaeger <aj@suse.de>
19755
19756 * po/zh_TW.po: Update Chinese (traditional) translation from
19757 translation project.
19758
89fb6835
SP
197592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19760
19761 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19762 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19763 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19764 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19765 (clock_getcpuclockid): Likewise.
19766 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19767 Add weak_alias and libc_hidden_def.
19768 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19769 * rt/clock_gettime.c (clock_gettime): Rename to
19770 __clock_gettime. Add weak_alias and libc_hidden_def.
19771 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19772 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19773 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19774 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19775 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19776 Likewise.
19777 * rt/clock_settime.c (clock_settime): Rename to
19778 __clock_settime. Add weak_alias and libc_hidden_def.
19779 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19780
0efa6f8b
JM
197812013-06-10 Joseph Myers <joseph@codesourcery.com>
19782
b8c61b4b
JM
19783 * mach/err_boot.sub: Remove trailing whitespace.
19784 * mach/err_ipc.sub: Likewise.
19785 * mach/err_mach.sub: Likewise.
19786
0efa6f8b
JM
19787 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19788 (ROUNDING_TESTS_double): Likewise.
19789 (ROUNDING_TESTS_long_double): Likewise.
19790 (ROUNDING_TESTS): Likewise.
19791 * math/libm-test.inc: Include <math-tests.h>.
19792 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19793 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19794 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19795 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19796
50b818bf
SP
197972013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19798
19799 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19800 of assigning.
19801
60d2f8f3
JM
198022013-06-08 Joseph Myers <joseph@codesourcery.com>
19803
4902d2c3
JM
19804 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19805 otherwise empty TRANS lines.
19806 * sysdeps/gnu/errlist.c: Regenerated.
19807
60d2f8f3
JM
19808 * catgets/gencat.c (error_print): Use (void) in function
19809 definition.
19810 * crypt/crypt_util.c (__init_des): Likewise.
19811 * crypt/speeds.c (Stop): Likewise.
19812 (main): Likewise.
19813 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19814 * inet/ruserpass.c (token): Likewise.
19815 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19816 * intl/localealias.c (extend_alias_table): Likewise.
19817 * intl/plural-exp.c (init_germanic_plural): Likewise.
19818 * libio/fcloseall.c (__fcloseall): Likewise.
19819 * libio/genops.c (_IO_flush_all): Likewise.
19820 (_IO_flush_all_linebuffered): Likewise.
19821 (_IO_cleanup): Likewise.
19822 (_IO_iter_begin): Likewise.
19823 (_IO_iter_end): Likewise.
19824 (_IO_list_lock): Likewise.
19825 (_IO_list_unlock): Likewise.
19826 (_IO_list_resetlock): Likewise.
19827 * libio/getchar.c (getchar): Likewise.
19828 * libio/getchar_u.c (getchar_unlocked): Likewise.
19829 * libio/getwchar.c (getwchar): Likewise.
19830 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19831 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19832 * login/getpt.c (__getpt): Likewise.
19833 * login/tst-utmp.c (main): Likewise.
19834 * malloc/hooks.c (__malloc_check_init): Likewise.
19835 * malloc/malloc.c (__malloc_stats): Likewise.
19836 * malloc/mtrace.c (tr_break): Likewise.
19837 (mtrace): Likewise.
19838 (muntrace): Likewise.
19839 * misc/fstab.c (endfsent): Likewise.
19840 * misc/getclktck.c (__getclktck): Likewise.
19841 * misc/getdtsz.c (__getdtablesize): Likewise.
19842 * misc/gethostid.c (gethostid): Likewise.
19843 * misc/getpagesize.c (__getpagesize): Likewise.
19844 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19845 (__get_nprocs): Likewise.
19846 (__get_phys_pages): Likewise.
19847 (__get_avphys_pages): Likewise.
19848 * misc/getttyent.c (getttyent): Likewise.
19849 (setttyent): Likewise.
19850 (endttyent): Likewise.
19851 * misc/getusershell.c (getusershell): Likewise.
19852 (endusershell): Likewise.
19853 (setusershell): Likewise.
19854 (initshells): Likewise.
19855 * misc/hsearch.c (__hdestroy): Likewise.
19856 * misc/sync.c (sync): Likewise.
19857 * misc/syslog.c (closelog_internal): Likewise.
19858 (closelog): Likewise.
19859 * misc/ttyslot.c (ttyslot): Likewise.
19860 * misc/vhangup.c (vhangup): Likewise.
19861 * posix/fork.c (__fork): Likewise.
19862 * posix/getegid.c (__getegid): Likewise.
19863 * posix/geteuid.c (__geteuid): Likewise.
19864 * posix/getgid.c (__getgid): Likewise.
19865 * posix/getpid.c (__getpid): Likewise.
19866 * posix/getppid.c (__getppid): Likewise.
19867 * posix/getuid.c (__getuid): Likewise.
19868 * posix/pause.c (pause): Likewise.
19869 * posix/setpgrp.c (setpgrp): Likewise.
19870 * posix/setsid.c (__setsid): Likewise.
19871 * posix/test-vfork.c (noop): Likewise.
19872 * resolv/gethnamaddr.c (_endhtent): Likewise.
19873 (_gethtent): Likewise.
19874 (ht_endhostent): Likewise.
19875 (gethostent): Likewise.
19876 (dns_service): Likewise.
19877 * stdlib/drand48.c (drand48): Likewise.
19878 * stdlib/lrand48.c (lrand48): Likewise.
19879 * stdlib/mrand48.c (mrand48): Likewise.
19880 * stdlib/rand.c (rand): Likewise.
19881 * stdlib/random.c (__random): Likewise.
19882 * stdlib/setenv.c (clearenv): Likewise.
19883 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19884 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19885 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19886 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19887 (__get_nprocs): Likewise.
19888 (__get_phys_pages): Likewise.
19889 (__get_avphys_pages): Likewise.
19890 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19891 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19892 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19893 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19894 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19895 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19896 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19897 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19898 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19899 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19900 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19901 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19902 * sysdeps/posix/clock.c (clock): Likewise.
19903 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19904 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19905 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19906 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19907 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19909 (__get_nprocs_conf): Likewise.
19910 (__get_phys_pages): Likewise.
19911 (__get_avphys_pages): Likewise.
19912 * time/clock.c (clock): Likewise.
19913 * time/tzset.c (__tzname_max): Likewise.
19914
2e09a79a
JM
199152013-06-07 Joseph Myers <joseph@codesourcery.com>
19916
19917 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19918 (__bswap_32): Do not use "register".
19919 * crypt/crypt.c (_ufc_doit_r): Likewise.
19920 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19921 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19922 * gmon/gmon.c (__monstartup): Likewise.
19923 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19924 * hurd/hurdmalloc.c (more_memory): Likewise.
19925 (malloc): Likewise.
19926 (free): Likewise.
19927 (realloc): Likewise.
19928 (malloc_fork_prepare): Likewise.
19929 (malloc_fork_parent): Likewise.
19930 (malloc_fork_child): Likewise.
19931 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19932 (_svcauth_des): Likewise.
19933 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19934 * inet/inet_net.c (inet_network): Likewise.
19935 * inet/inet_netof.c (inet_netof): Likewise.
19936 * inet/rcmd.c (__validuser2_sa): Likewise.
19937 * io/fts.c (fts_open): Likewise.
19938 (fts_load): Likewise.
19939 (fts_close): Likewise.
19940 (fts_read): Likewise.
19941 (fts_children): Likewise.
19942 (fts_build): Likewise.
19943 (fts_stat): Likewise.
19944 (fts_sort): Likewise.
19945 (fts_alloc): Likewise.
19946 (fts_lfree): Likewise.
19947 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19948 (_IO_file_xsgetn): Likewise.
19949 (_IO_file_xsgetn_mmap): Likewise.
19950 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19951 (_IO_cookie_write): Likewise.
19952 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19953 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19954 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19955 * malloc/obstack.c (_obstack_begin): Likewise.
19956 (_obstack_begin_1): Likewise.
19957 (_obstack_newchunk): Likewise.
19958 (_obstack_allocated_p): Likewise.
19959 (obstack_free): Likewise.
19960 (_obstack_memory_used): Likewise.
19961 * misc/getttyent.c (getttynam): Likewise.
19962 (getttyent): Likewise.
19963 (skip): Likewise.
19964 (value): Likewise.
19965 * misc/getusershell.c (initshells): Likewise.
19966 * misc/syslog.c (__vsyslog_chk): Likewise.
19967 * misc/ttyslot.c (ttyslot): Likewise.
19968 * nis/nis_hash.c (__nis_hash): Likewise.
19969 * posix/fnmatch_loop.c (FCT): Likewise.
19970 * posix/getconf.c (print_all): Likewise.
19971 (main): Likewise.
19972 * posix/getopt.c (exchange): Likewise.
19973 * posix/glob.c (globfree): Likewise.
19974 (prefix_array): Likewise.
19975 (__glob_pattern_type): Likewise.
19976 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19977 (NS_GET32): Likewise.
19978 (NS_PUT16): Likewise.
19979 (NS_PUT32): Likewise.
19980 * resolv/gethnamaddr.c (getanswer): Likewise.
19981 (gethostbyname2): Likewise.
19982 (gethostbyaddr): Likewise.
19983 (_gethtent): Likewise.
19984 (_gethtbyname2): Likewise.
19985 (_gethtbyaddr): Likewise.
19986 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19987 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19988 * resolv/res_init.c (__res_vinit): Likewise.
19989 (net_mask): Likewise.
19990 * resolv/res_mkquery.c (outchar): Likewise.
19991 (PRINT): Likewise.
19992 * stdio-common/printf_fp.c (outchar): Likewise.
19993 (PRINT): Likewise.
19994 * stdio-common/printf_fphex.c (outchar): Likewise.
19995 (PRINT): Likewise.
19996 * stdio-common/printf_size.c (outchar): Likewise.
19997 (PRINT): Likewise.
19998 * stdio-common/test_rdwr.c (main): Likewise.
19999 * stdio-common/tfformat.c (matches): Likewise.
20000 * stdio-common/vfprintf.c (outchar): Likewise.
20001 (printf_unknown): Likewise.
20002 (buffered_vfprintf): Likewise.
20003 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20004 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20005 (ReadFile): Likewise.
20006 * stdlib/qsort.c (SWAP): Likewise.
20007 (_quicksort): Likewise.
20008 * stdlib/setenv.c (__add_to_environ): Likewise.
20009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20010 * stdlib/strtol_l.c (__strtol_l): Likewise.
20011 * stdlib/tst-strtod.c (main): Likewise.
20012 * stdlib/tst-strtol.c (main): Likewise.
20013 * stdlib/tst-strtoll.c (main): Likewise.
20014 * string/bits/string2.h (__strcmp_cc): Likewise.
20015 (__strcmp_cg): Likewise.
20016 (__strcspn_c1): Likewise.
20017 (__strcspn_c2): Likewise.
20018 (__strcspn_c3): Likewise.
20019 (__strspn_c1): Likewise.
20020 (__strspn_c2): Likewise.
20021 (__strspn_c3): Likewise.
20022 (__strsep_1c): Likewise.
20023 (__strsep_2c): Likewise.
20024 (__strsep_3c): Likewise.
20025 * string/memccpy.c (__memccpy): Likewise.
20026 * string/stpcpy.c (__stpcpy): Likewise.
20027 * string/strcmp.c (strcmp): Likewise.
20028 * string/strrchr.c (strrchr): Likewise.
20029 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20030 Likewise.
20031 * sysdeps/mach/hurd/getcwd.c
20032 (_hurd_canonicalize_directory_name_internal): Likewise.
20033 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20034 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20035 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20036 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20037 Likewise, in both definitions.
20038 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20039 definitions.
20040 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20041 64] (__bswap_64): Likewise.
20042 * time/test_time.c (main): Likewise.
20043 * time/tzfile.c (__tzfile_read): Likewise.
20044 (__tzfile_compute): Likewise.
20045 * time/tzset.c (__tzset_parse_tz): Likewise.
20046 (tzset_internal): Likewise.
20047 (compute_change): Likewise.
20048 * wcsmbs/wcscat.c (__wcscat): Likewise.
20049 * wcsmbs/wcschr.c (wcschr): Likewise.
20050 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20051 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20052 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20053 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20054 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20055 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20056 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20057 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20058 * wcsmbs/wmemset.c (wmemset): Likewise.
20059
9e54314b
JM
200602013-06-06 Joseph Myers <joseph@codesourcery.com>
20061
20062 * scripts/config.guess: Update to version 2013-05-16.
20063 * scripts/config.sub: Update to version 2013-04-24.
20064 * scripts/install-sh: Update to version 2011-11-20.07.
20065 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20066 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20067
350635a5
OB
200682013-06-06 Ondřej Bílka <neleai@seznam.cz>
20069
20070 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20071 * elf/sln.c: Likewise.
20072 * hurd/hurd/ioctl.h: Likewise.
20073 * hurd/hurdmalloc.c: Likewise.
20074 * hurd/xattr.c: Likewise.
20075 * include/shlib-compat.h: Likewise.
20076 * inet/ruserpass.c: Likewise.
20077 * libio/iofgets_u.c: Likewise.
20078 * libio/iofgetws_u.c: Likewise.
20079 * locale/programs/ld-identification.c: Likewise.
20080 * locale/programs/ld-time.c: Likewise.
20081 * mach/msg-destroy.c: Likewise.
20082 * nss/nss_files/files-netgrp.c: Likewise.
20083 * resolv/res_data.c: Likewise.
20084 * soft-fp/op-1.h: Likewise.
20085 * soft-fp/op-2.h: Likewise.
20086 * soft-fp/op-4.h: Likewise.
20087 * soft-fp/op-common.h: Likewise.
20088 * stdio-common/printf_fphex.c: Likewise.
20089 * stdlib/strtod_l.c: Likewise.
20090 * sunrpc/rpc/clnt.h: Likewise.
20091 * sysdeps/generic/framestate.c: Likewise.
20092 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20093 * sysdeps/i386/bsd-setjmp.S: Likewise.
20094 * sysdeps/i386/__longjmp.S: Likewise.
20095 * sysdeps/i386/setjmp.S: Likewise.
20096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20097 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20098 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20099 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20101 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20103 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20104 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20105 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20108 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20109 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20110 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20111 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20112 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20113 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20114 * sysdeps/ieee754/support.c: Likewise.
20115 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20116 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20117 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20118 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20119 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20120 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20121 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20122 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20123 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20124 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20125 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20126 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20127 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20128 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20129 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20130 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20131 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20133
44a988af
OB
201342013-06-05 Ondřej Bílka <neleai@seznam.cz>
20135
25506f09 20136 * posix/transbug.c: Remove executable mode.
44a988af 20137
9c84384c
JM
201382013-06-05 Joseph Myers <joseph@codesourcery.com>
20139
20140 * crypt/speeds.c: Remove trailing whitespace.
20141 * dlfcn/default.c: Likewise.
20142 * elf/ifuncdep2.c: Likewise.
20143 * elf/ifuncmain1.c: Likewise.
20144 * elf/ifuncmain1vis.c: Likewise.
20145 * elf/testobj.h: Likewise.
20146 * elf/tst-stackguard1.c: Likewise.
20147 * gmon/sys/gmon.h: Likewise.
20148 * hurd/hurdmsg.c: Likewise.
20149 * hurd/new-fd.c: Likewise.
20150 * hurd/ports-get.c: Likewise.
20151 * iconvdata/ibm1008_420.c: Likewise.
20152 * inet/tst-getni1.c: Likewise.
20153 * inet/tst-getni2.c: Likewise.
20154 * libio/ioungetc.c: Likewise.
20155 * libio/wfiledoalloc.c: Likewise.
20156 * manual/libm-err-tab.pl: Likewise.
20157 * math/w_dremf.c: Likewise.
20158 * misc/ftruncate.c: Likewise.
20159 * posix/bug-glob2.c: Likewise.
20160 * posix/tst-pcre.c: Likewise.
20161 * posix/wait4.c: Likewise.
20162 * resolv/README: Likewise.
20163 * resolv/res_debug.h: Likewise.
20164 * resolv/tst-inet_ntop.c: Likewise.
20165 * setjmp/bug269-setjmp.c: Likewise.
20166 * soft-fp/extended.h: Likewise.
20167 * soft-fp/op-1.h: Likewise.
20168 * soft-fp/op-2.h: Likewise.
20169 * soft-fp/op-4.h: Likewise.
20170 * soft-fp/op-8.h: Likewise.
20171 * soft-fp/testit.c: Likewise.
20172 * stdio-common/bug16.c: Likewise.
20173 * stdlib/random.c: Likewise.
20174 * sunrpc/rpcsvc/rquota.x: Likewise.
20175 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20176 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20177 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20178 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20179 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20180 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20181 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20182 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20183 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20184 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20185 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20204 * sysdeps/ieee754/s_lib_version.c: Likewise.
20205 * sysdeps/mach/hurd/check_fds.c: Likewise.
20206 * sysdeps/mach/hurd/getsockname.c: Likewise.
20207 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20208 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20209 * sysdeps/powerpc/bits/link.h: Likewise.
20210 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20211 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20212 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20213 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20214 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20215 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20216 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20217 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20218 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20219 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20220 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20221 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20222 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20223 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20224 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20225 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20228 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20229 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20230 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20231 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20232 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20233 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20234 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20235 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20237 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20238 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20239 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20242 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20243 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20244 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20245 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20246 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20247 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20248 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20249 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20250 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20251 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20252 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20253 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20254 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20255 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20256 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20257 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20258 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20259 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20262 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20263 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20264 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20265 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20266 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20267 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20268 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20269 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20270 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20271 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20272 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20273 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20274 * sysdeps/powerpc/sysdep.h: Likewise.
20275 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20276 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20277 * sysdeps/sh/dl-trampoline.S: Likewise.
20278 * sysdeps/sh/memset.S: Likewise.
20279 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20280 * sysdeps/sh/strlen.S: Likewise.
20281 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20282 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20283 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20284 * sysdeps/sparc/sparc32/rem.S: Likewise.
20285 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20286 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20287 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20288 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20289 * sysdeps/sparc/sparc32/urem.S: Likewise.
20290 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20291 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20292 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20293 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20294 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20295 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20296 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20297 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20298 * sysdeps/unix/bsd/times.c: Likewise.
20299 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20300 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20304 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20305 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20306 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20307 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20308 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20309 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20310 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20311 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20312 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20313 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20314 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20315 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20316 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20317 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20318 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20319 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20320 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20321 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20322 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20323 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20324 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20325 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20327 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20328 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20329 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20330 * sysdeps/x86_64/strcspn.S: Likewise.
20331
869378a5
RA
203322013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20333
20334 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20335 generated file. Regenerate properly from gen-translit.pl.
20336 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20337 locale/C-translit.h.
20338
840e2943
AS
203392013-06-05 Andreas Schwab <schwab@suse.de>
20340
20341 [BZ #15100]
20342 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20343 week as 6 instead of -1.
20344 * time/tst-strptime.c (day_tests): Add test case.
20345
4c60cb0c
SP
203462013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20347
20348 * sysdeps/generic/math_private.h
20349 (libc_feholdexcept_setround_53bit): Replace with
20350 libc_feholdsetround_53bit.
20351 (libc_feupdateenv_53bit): Replace with
20352 libc_feresetround_53bit.
20353 (SET_RESTORE_ROUND_53BIT): Adjust.
20354
d180203e
SP
203552013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20356
96df079a
SP
20357 * string/test-strchrnul.c: Add copyright header.
20358
d180203e
SP
20359 * posix/tst-getaddrinfo4.c: Increase test timeout.
20360
8b0ccb2d
CD
203612013-06-03 Carlos O'Donell <carlos@redhat.com>
20362
20363 [BZ #15536]
20364 * math/libm-test.inc (MAX_EXP): Remove
20365 (MIN_EXP): Define.
20366 (ulp): Use MIN_EXP - MANT_DIG.
20367 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20368
3b3c4d40
CD
203692013-05-31 Carlos O'Donell <carlos@redhat.com>
20370
20371 * po/be.po: Revert last change.
20372 * po/zh_CN.po: Likewise.
20373 * po/header.pot: Likewise.
20374
fab7ce3f
JM
203752013-05-31 Joseph Myers <joseph@codesourcery.com>
20376
20377 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20378 link-libc-deps to empty as target-specific variable.
20379 * Makerules (link-libc-args): New variable.
20380 (libc-for-link): Likewise.
20381 (link-libc-deps): Likewise.
20382 (lib%.so): Depend on $(link-libc-deps). Link with
20383 $(link-libc-args).
20384 (build-module): Link with $(link-libc-args).
20385 (build-module-asneeded): Likewise.
20386 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20387 list of objects.
20388 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20389 target-specific variable.
20390 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20391 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20392 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20393 libc.
20394 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20395 libc and ld.so.
20396 ($(objpfx)libpcprofile.so): Likewise.
20397 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20398 libc_nonshared.a.
20399 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20400 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20401 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20402 $(link-libc-deps).
20403 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20404 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20405 * login/Makefile ($(objpfx)libutil.so): Likewise.
20406 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20407 * math/Makefile ($(objpfx)libm.so): Likewise.
20408 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20409 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20410 variable instead of depending directly on libc.
20411 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20412 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20413 $(link-libc-deps).
20414 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20415 libc.
20416 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20417 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20418 ($(objpfx)libanl.so): Likewise.
20419 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20420 ld.so.
20421 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20422 $(link-libc-deps).
20423 * sysdeps/i386/fpu/Makefile: Remove file.
20424 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20425 ($(objpfx)libm.so): Remove dependency on ld.so.
20426
eca5920c
PF
204272013-05-30 Patsy Franklin <pfrankli@redhat.com>
20428
20429 [BZ # 15553]
20430 * nis/yp_xdr.c (XDRMAXNAME): Define.
20431 (XDRMAXRECORD): Define.
20432 (xdr_domainname): Use XDRMAXNAME.
20433 (xdr_mapname): Likewise.
20434 (xdr_peername): Likewise.
20435 (xdr_keydat): Use XDRMAXRECORD.
20436 (xdr_valdat): Likewise.
20437
204382013-05-30 Jeff Law <law@redhat.com>
96945714
JL
20439
20440 [BZ #14256]
20441 * manual/errno.texi (ESTALE): Update to account for more than
20442 just NFS file systems.
20443 * sysdeps/gnu/errlist.c: Regenerated.
20444
b9375348
SP
204452013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20446
20447 [BZ #15465]
20448 * elf/Makefile (tests): Add tst-null-argv.
20449 (modules-names): Add tst-null-argv-lib.
20450 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20451 (tst-null-argv-ENV): Set environment for tst-null-argv.
20452 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20453 (RTLD_PROGNAME): New macro.
20454 * elf/tst-null-argv.c: New test case.
20455 * elf/tst-null-argv-lib.c: Library for test case.
20456 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20457 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20458 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20459 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20460 * elf/dl-init.c (call_init): Likewise.
20461 (_dl_init): Likewise.
20462 * elf/dl-load.c (print_search_path): Likewise.
20463 (_dl_map_object): Likewise.
20464 * elf/dl-lookup.c (do_lookup_x): Likewise.
20465 (add_dependency): Likewise.
20466 (_dl_lookup_symbol_x): Likewise.
20467 (_dl_debug_bindings): Likewise.
20468 * elf/dl-open.c (_dl_show_scope): Likewise.
20469 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20470 * elf/dl-version.c (match_symbol): Likewise.
20471 (_dl_check_map_versions): Likewise.
20472 * elf/rtld.c (dl_main): Likewise.
20473 (print_unresolved): Use RTLD_PROGNAME.
20474 (print_missing_version): Likewise.
20475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20476 (elf_machine_rela): Likewise.
20477 * sysdeps/powerpc/powerpc32/dl-machine.c
20478 (__process_machine_rela): Likewise.
20479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20480 Likewise.
20481 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20482 Likewise.
20483 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20484 Likewise.
20485 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20487 Likewise.
20488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20489 Likewise.
20490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20491
8a9f20c8
CD
204922013-05-28 Carlos O'Donell <carlos@redhat.com>
20493
20494 * po/be.po: Add descriptive title.
20495 * po/zh_CN.po: Likewise.
20496 * po/header.pot: Likewise.
20497
0e60d68e
MF
204982013-05-28 Mike Frysinger <vapier@gentoo.org>
20499
20500 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20501 error message.
20502 (enlarge_archive): Likewise.
20503
56b672e9
BN
205042013-05-28 Ben North <ben@redfrontdoor.org>
20505
20506 * manual/arith.texi (frexp): It is the magnitude of the return
20507 value which lies in [0.5, 1), not the return value itself.
20508
5e056687
AZ
205092013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20510
20511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20512
2b66ef5d
TS
205132013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20514
528c2405
TS
20515 * stdio-common/bug26.c (main): Correct fscanf template.
20516
07b4c13d
TS
20517 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20518 declare _dl_skip_args.
20519
ec9dd97c
TS
20520 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20521 Don't declare.
20522
2b66ef5d
TS
20523 * manual/platform.texi: Add missing @end deftypefun.
20524
4f8dfe27
JM
205252013-05-24 Joseph Myers <joseph@codesourcery.com>
20526
0323d086
JM
20527 [BZ #15529]
20528 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20529 bit of mantissa of 2^16382.
20530 * math/libm-test.inc (hypot_test_data): Add more tests.
20531
dd4259b9
JM
20532 * math/libm-test.inc: Add drem and pow10 to list of tested
20533 functions.
20534 (pow10_test): New function.
20535 (drem_test): Likewise.
20536 (drem_test_tonearest): Likewise.
20537 (drem_test_towardzero): Likewise.
20538 (drem_test_downward): Likewise.
20539 (drem_test_upward): Likewise.
20540 (main): Call the new functions.
20541
4f8dfe27
JM
20542 * math/libm-test.inc (finite_test_data): Remove.
20543 (finite_test): Run tests from isfinite_test_data.
20544 (gamma_test_data): Remove.
20545 (gamma_test): Run tests from lgamma_test_data.
20546 * sysdeps/i386/fpu/libm-test-ulps: Update.
20547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20548
d116b7c4
AZ
205492013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20550
20551 * manual/platform.texi: Add PowerPC PPR function set documentation.
20552 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20553 implementation.
20554
e96e3767
CD
205552013-05-24 Carlos O'Donell <carlos@redhat.com>
20556
20557 * math/libm-test.inc (MAX_EXP): Define.
20558 (ULPDIFF): Define.
20559 (ulp): New function.
20560 (check_float_internal): Use ULPDIFF.
20561 (cpow_test): Disable failing test.
20562 (check_ulp): Test ulp() implemetnation.
20563 (main): Call check_ulp before starting tests.
20564
b679a606
JM
205652013-05-24 Joseph Myers <joseph@codesourcery.com>
20566
e8bdba36
JM
20567 * math/gen-libm-test.pl (generate_testfile): Do not handle
20568 START_DATA and END_DATA.
20569 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20570 END_DATA.
20571 (acos_tonearest_test_data): Likewise.
20572 (acos_towardzero_test_data): Likewise.
20573 (acos_downward_test_data): Likewise.
20574 (acos_upward_test_data): Likewise.
20575 (acosh_test_data): Likewise.
20576 (asin_test_data): Likewise.
20577 (asin_tonearest_test_data): Likewise.
20578 (asin_towardzero_test_data): Likewise.
20579 (asin_downward_test_data): Likewise.
20580 (asin_upward_test_data): Likewise.
20581 (asinh_test_data): Likewise.
20582 (atan_test_data): Likewise.
20583 (atanh_test_data): Likewise.
20584 (atan2_test_data): Likewise.
20585 (cabs_test_data): Likewise.
20586 (cacos_test_data): Likewise.
20587 (cacosh_test_data): Likewise.
20588 (carg_test_data): Likewise.
20589 (casin_test_data): Likewise.
20590 (casinh_test_data): Likewise.
20591 (catan_test_data): Likewise.
20592 (catanh_test_data): Likewise.
20593 (cbrt_test_data): Likewise.
20594 (ccos_test_data): Likewise.
20595 (ccosh_test_data): Likewise.
20596 (ceil_test_data): Likewise.
20597 (cexp_test_data): Likewise.
20598 (cimag_test_data): Likewise.
20599 (clog_test_data): Likewise.
20600 (clog10_test_data): Likewise.
20601 (conj_test_data): Likewise.
20602 (copysign_test_data): Likewise.
20603 (cos_test_data): Likewise.
20604 (cos_tonearest_test_data): Likewise.
20605 (cos_towardzero_test_data): Likewise.
20606 (cos_downward_test_data): Likewise.
20607 (cos_upward_test_data): Likewise.
20608 (cosh_test_data): Likewise.
20609 (cosh_tonearest_test_data): Likewise.
20610 (cosh_towardzero_test_data): Likewise.
20611 (cosh_downward_test_data): Likewise.
20612 (cosh_upward_test_data): Likewise.
20613 (cpow_test_data): Likewise.
20614 (cproj_test_data): Likewise.
20615 (creal_test_data): Likewise.
20616 (csin_test_data): Likewise.
20617 (csinh_test_data): Likewise.
20618 (csqrt_test_data): Likewise.
20619 (ctan_test_data): Likewise.
20620 (ctan_tonearest_test_data): Likewise.
20621 (ctan_towardzero_test_data): Likewise.
20622 (ctan_downward_test_data): Likewise.
20623 (ctan_upward_test_data): Likewise.
20624 (ctanh_test_data): Likewise.
20625 (ctanh_tonearest_test_data): Likewise.
20626 (ctanh_towardzero_test_data): Likewise.
20627 (ctanh_downward_test_data): Likewise.
20628 (ctanh_upward_test_data): Likewise.
20629 (erf_test_data): Likewise.
20630 (erfc_test_data): Likewise.
20631 (exp_test_data): Likewise.
20632 (exp_tonearest_test_data): Likewise.
20633 (exp_towardzero_test_data): Likewise.
20634 (exp_downward_test_data): Likewise.
20635 (exp_upward_test_data): Likewise.
20636 (exp10_test_data): Likewise.
20637 (exp2_test_data): Likewise.
20638 (expm1_test_data): Likewise.
20639 (fabs_test_data): Likewise.
20640 (fdim_test_data): Likewise.
20641 (finite_test_data): Likewise.
20642 (floor_test_data): Likewise.
20643 (fma_test_data): Likewise.
20644 (fma_towardzero_test_data): Likewise.
20645 (fma_downward_test_data): Likewise.
20646 (fma_upward_test_data): Likewise.
20647 (fmax_test_data): Likewise.
20648 (fmin_test_data): Likewise.
20649 (fmod_test_data): Likewise.
20650 (fpclassify_test_data): Likewise.
20651 (frexp_test_data): Likewise.
20652 (gamma_test_data): Likewise.
20653 (hypot_test_data): Likewise.
20654 (ilogb_test_data): Likewise.
20655 (isfinite_test_data): Likewise.
20656 (isgreater_test_data): Likewise.
20657 (isgreaterequal_test_data): Likewise.
20658 (isinf_test_data): Likewise.
20659 (isless_test_data): Likewise.
20660 (islessequal_test_data): Likewise.
20661 (islessgreater_test_data): Likewise.
20662 (isnan_test_data): Likewise.
20663 (isnormal_test_data): Likewise.
20664 (issignaling_test_data): Likewise.
20665 (isunordered_test_data): Likewise.
20666 (j0_test_data): Likewise.
20667 (j1_test_data): Likewise.
20668 (jn_test_data): Likewise.
20669 (ldexp_test_data): Likewise.
20670 (lgamma_test_data): Likewise.
20671 (lrint_test_data): Likewise.
20672 (lrint_tonearest_test_data): Likewise.
20673 (lrint_towardzero_test_data): Likewise.
20674 (lrint_downward_test_data): Likewise.
20675 (lrint_upward_test_data): Likewise.
20676 (llrint_test_data): Likewise.
20677 (llrint_tonearest_test_data): Likewise.
20678 (llrint_towardzero_test_data): Likewise.
20679 (llrint_downward_test_data): Likewise.
20680 (llrint_upward_test_data): Likewise.
20681 (log_test_data): Likewise.
20682 (log10_test_data): Likewise.
20683 (log1p_test_data): Likewise.
20684 (log2_test_data): Likewise.
20685 (logb_test_data): Likewise.
20686 (logb_downward_test_data): Likewise.
20687 (lround_test_data): Likewise.
20688 (llround_test_data): Likewise.
20689 (modf_test_data): Likewise.
20690 (nearbyint_test_data): Likewise.
20691 (nextafter_test_data): Likewise.
20692 (nexttoward_test_data): Likewise.
20693 (pow_test_data): Likewise.
20694 (pow_tonearest_test_data): Likewise.
20695 (pow_towardzero_test_data): Likewise.
20696 (pow_downward_test_data): Likewise.
20697 (pow_upward_test_data): Likewise.
20698 (remainder_test_data): Likewise.
20699 (remainder_tonearest_test_data): Likewise.
20700 (remainder_towardzero_test_data): Likewise.
20701 (remainder_downward_test_data): Likewise.
20702 (remainder_upward_test_data): Likewise.
20703 (remquo_test_data): Likewise.
20704 (rint_test_data): Likewise.
20705 (rint_tonearest_test_data): Likewise.
20706 (rint_towardzero_test_data): Likewise.
20707 (rint_downward_test_data): Likewise.
20708 (rint_upward_test_data): Likewise.
20709 (round_test_data): Likewise.
20710 (scalb_test_data): Likewise.
20711 (scalbn_test_data): Likewise.
20712 (scalbln_test_data): Likewise.
20713 (signbit_test_data): Likewise.
20714 (sin_test_data): Likewise.
20715 (sin_tonearest_test_data): Likewise.
20716 (sin_towardzero_test_data): Likewise.
20717 (sin_downward_test_data): Likewise.
20718 (sin_upward_test_data): Likewise.
20719 (sincos_test_data): Likewise.
20720 (sinh_test_data): Likewise.
20721 (sinh_tonearest_test_data): Likewise.
20722 (sinh_towardzero_test_data): Likewise.
20723 (sinh_downward_test_data): Likewise.
20724 (sinh_upward_test_data): Likewise.
20725 (sqrt_test_data): Likewise.
20726 (tan_test_data): Likewise.
20727 (tan_tonearest_test_data): Likewise.
20728 (tan_towardzero_test_data): Likewise.
20729 (tan_downward_test_data): Likewise.
20730 (tan_upward_test_data): Likewise.
20731 (tanh_test_data): Likewise.
20732 (tgamma_test_data): Likewise.
20733 (trunc_test_data): Likewise.
20734 (y0_test_data): Likewise.
20735 (y1_test_data): Likewise.
20736 (yn_test_data): Likewise.
20737 (significand_test_data): Likewise.
20738
b679a606
JM
20739 * math/gen-libm-test.pl (@functions): Remove variable.
20740 (generate_testfile): Don't handle START and END lines.
20741 * math/libm-test.inc (START): New macro.
20742 (END): Likewise.
20743 (END_COMPLEX): Likewise.
20744 (acos_test): Use END macro without arguments.
20745 (acos_test_tonearest): Likewise.
20746 (acos_test_towardzero): Likewise.
20747 (acos_test_downward): Likewise.
20748 (acos_test_upward): Likewise.
20749 (acosh_test): Likewise.
20750 (asin_test): Likewise.
20751 (asin_test_tonearest): Likewise.
20752 (asin_test_towardzero): Likewise.
20753 (asin_test_downward): Likewise.
20754 (asin_test_upward): Likewise.
20755 (asinh_test): Likewise.
20756 (atan_test): Likewise.
20757 (atanh_test): Likewise.
20758 (atan2_test): Likewise.
20759 (cabs_test): Likewise.
20760 (cacos_test): Use END_COMPLEX macro without arguments.
20761 (cacosh_test): Likewise.
20762 (carg_test): Use END macro without arguments.
20763 (casin_test): Use END_COMPLEX macro without arguments.
20764 (casinh_test): Likewise.
20765 (catan_test): Likewise.
20766 (catanh_test): Likewise.
20767 (cbrt_test): Use END macro without arguments.
20768 (ccos_test): Use END_COMPLEX macro without arguments.
20769 (ccosh_test): Likewise.
20770 (ceil_test): Use END macro without arguments.
20771 (cexp_test): Use END_COMPLEX macro without arguments.
20772 (cimag_test): Use END macro without arguments.
20773 (clog_test): Use END_COMPLEX macro without arguments.
20774 (clog10_test): Likewise.
20775 (conj_test): Likewise.
20776 (copysign_test): Use END macro without arguments.
20777 (cos_test): Likewise.
20778 (cos_test_tonearest): Likewise.
20779 (cos_test_towardzero): Likewise.
20780 (cos_test_downward): Likewise.
20781 (cos_test_upward): Likewise.
20782 (cosh_test): Likewise.
20783 (cosh_test_tonearest): Likewise.
20784 (cosh_test_towardzero): Likewise.
20785 (cosh_test_downward): Likewise.
20786 (cosh_test_upward): Likewise.
20787 (cpow_test): Use END_COMPLEX macro without arguments.
20788 (cproj_test): Likewise.
20789 (creal_test): Use END macro without arguments.
20790 (csin_test): Use END_COMPLEX macro without arguments.
20791 (csinh_test): Likewise.
20792 (csqrt_test): Likewise.
20793 (ctan_test): Likewise.
20794 (ctan_test_tonearest): Likewise.
20795 (ctan_test_towardzero): Likewise.
20796 (ctan_test_downward): Likewise.
20797 (ctan_test_upward): Likewise.
20798 (ctanh_test): Likewise.
20799 (ctanh_test_tonearest): Likewise.
20800 (ctanh_test_towardzero): Likewise.
20801 (ctanh_test_downward): Likewise.
20802 (ctanh_test_upward): Likewise.
20803 (erf_test): Use END macro without arguments.
20804 (erfc_test): Likewise.
20805 (exp_test): Likewise.
20806 (exp_test_tonearest): Likewise.
20807 (exp_test_towardzero): Likewise.
20808 (exp_test_downward): Likewise.
20809 (exp_test_upward): Likewise.
20810 (exp10_test): Likewise.
20811 (exp2_test): Likewise.
20812 (expm1_test): Likewise.
20813 (fabs_test): Likewise.
20814 (fdim_test): Likewise.
20815 (finite_test): Likewise.
20816 (floor_test): Likewise.
20817 (fma_test): Likewise.
20818 (fma_test_towardzero): Likewise.
20819 (fma_test_downward): Likewise.
20820 (fma_test_upward): Likewise.
20821 (fmax_test): Likewise.
20822 (fmin_test): Likewise.
20823 (fmod_test): Likewise.
20824 (fpclassify_test): Likewise.
20825 (frexp_test): Likewise.
20826 (gamma_test): Likewise.
20827 (hypot_test): Likewise.
20828 (ilogb_test): Likewise.
20829 (isfinite_test): Likewise.
20830 (isgreater_test): Likewise.
20831 (isgreaterequal_test): Likewise.
20832 (isinf_test): Likewise.
20833 (isless_test): Likewise.
20834 (islessequal_test): Likewise.
20835 (islessgreater_test): Likewise.
20836 (isnan_test): Likewise.
20837 (isnormal_test): Likewise.
20838 (issignaling_test): Likewise.
20839 (isunordered_test): Likewise.
20840 (j0_test): Likewise.
20841 (j1_test): Likewise.
20842 (jn_test): Likewise.
20843 (ldexp_test): Likewise.
20844 (lgamma_test): Likewise.
20845 (lrint_test): Likewise.
20846 (lrint_test_tonearest): Likewise.
20847 (lrint_test_towardzero): Likewise.
20848 (lrint_test_downward): Likewise.
20849 (lrint_test_upward): Likewise.
20850 (llrint_test): Likewise.
20851 (llrint_test_tonearest): Likewise.
20852 (llrint_test_towardzero): Likewise.
20853 (llrint_test_downward): Likewise.
20854 (llrint_test_upward): Likewise.
20855 (log_test): Likewise.
20856 (log10_test): Likewise.
20857 (log1p_test): Likewise.
20858 (log2_test): Likewise.
20859 (logb_test): Likewise.
20860 (logb_test_downward): Likewise.
20861 (lround_test): Likewise.
20862 (llround_test): Likewise.
20863 (modf_test): Likewise.
20864 (nearbyint_test): Likewise.
20865 (nextafter_test): Likewise.
20866 (nexttoward_test): Likewise.
20867 (pow_test): Likewise.
20868 (pow_test_tonearest): Likewise.
20869 (pow_test_towardzero): Likewise.
20870 (pow_test_downward): Likewise.
20871 (pow_test_upward): Likewise.
20872 (remainder_test): Likewise.
20873 (remainder_test_tonearest): Likewise.
20874 (remainder_test_towardzero): Likewise.
20875 (remainder_test_downward): Likewise.
20876 (remainder_test_upward): Likewise.
20877 (remquo_test): Likewise.
20878 (rint_test): Likewise.
20879 (rint_test_tonearest): Likewise.
20880 (rint_test_towardzero): Likewise.
20881 (rint_test_downward): Likewise.
20882 (rint_test_upward): Likewise.
20883 (round_test): Likewise.
20884 (scalb_test): Likewise.
20885 (scalbn_test): Likewise.
20886 (scalbln_test): Likewise.
20887 (signbit_test): Likewise.
20888 (sin_test): Likewise.
20889 (sin_test_tonearest): Likewise.
20890 (sin_test_towardzero): Likewise.
20891 (sin_test_downward): Likewise.
20892 (sin_test_upward): Likewise.
20893 (sincos_test): Likewise.
20894 (sinh_test): Likewise.
20895 (sinh_test_tonearest): Likewise.
20896 (sinh_test_towardzero): Likewise.
20897 (sinh_test_downward): Likewise.
20898 (sinh_test_upward): Likewise.
20899 (sqrt_test): Likewise.
20900 (tan_test): Likewise.
20901 (tan_test_tonearest): Likewise.
20902 (tan_test_towardzero): Likewise.
20903 (tan_test_downward): Likewise.
20904 (tan_test_upward): Likewise.
20905 (tanh_test): Likewise.
20906 (tgamma_test): Likewise.
20907 (trunc_test): Likewise.
20908 (y0_test): Likewise.
20909 (y1_test): Likewise.
20910 (yn_test): Likewise.
20911 (significand_test): Likewise.
20912
bae143d2
OB
209132013-05-24 Ondřej Bílka <neleai@seznam.cz>
20914
20915 [BZ #15381]
20916 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20917
9323d39b
EM
209182013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20919
d4ea44a0 20920 [BZ #14894]
9323d39b
EM
20921 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20922 __ppc_mdoio and __ppc_mdoom.
20923 * manual/platform.texi: Document new functions __ppc_yield,
20924 __ppc_mdoio and __ppc_mdoom.
20925
13e23af7
CD
209262013-05-22 Carlos O'Donell <carlos@redhat.com>
20927
20928 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20929 (main): Mention "tls" pseudo-hwcap is legacy.
20930 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20931
351fe550
JM
209322013-05-22 Joseph Myers <joseph@codesourcery.com>
20933
20934 * math/gen-libm-test.pl (parse_args): Output only string of
20935 arguments as text for test name, not full call or descriptions of
20936 tests for extra outputs.
20937 (generate_testfile): Do not pass function name to parse_args.
20938 Generate this_func variable from START.
20939 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20940 field to arg_str.
20941 (struct test_ff_f_data): Likewise.
20942 (test_ff_f_data_nexttoward): Likewise.
20943 (struct test_fi_f_data): Likewise.
20944 (struct test_fl_f_data): Likewise.
20945 (struct test_if_f_data): Likewise.
20946 (struct test_fff_f_data): Likewise.
20947 (struct test_c_f_data): Likewise.
20948 (struct test_f_f1_data): Likewise. Remove field extra_name.
20949 (struct test_fF_f1_data): Likewise.
20950 (struct test_ffI_f1_data): Likewise.
20951 (struct test_c_c_data): Rename test_name field to arg_str.
20952 (struct test_cc_c_data): Likewise.
20953 (struct test_f_i_data): Likewise.
20954 (struct test_ff_i_data): Likewise.
20955 (struct test_f_l_data): Likewise.
20956 (struct test_f_L_data): Likewise.
20957 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20958 and extra2_name.
20959 (COMMON_TEST_SETUP): New macro.
20960 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20961 (COMMON_TEST_CLEANUP): Likewise.
20962 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20963 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20964 macros.
20965 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20966 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20967 macros.
20968 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20969 (RUN_TEST_fff_f): Take argument string. Call new setup and
20970 cleanup macros.
20971 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20972 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20973 macros.
20974 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20975 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20976 macros.
20977 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20978 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20979 cleanup macros.
20980 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20981 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20982 cleanup macros.
20983 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20984 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20985 cleanup macros.
20986 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20987 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20988 macros.
20989 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20990 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20991 macros.
20992 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20993 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20994 macros.
20995 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20996 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20997 cleanup macros.
20998 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20999 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21000 cleanup macros.
21001 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21002 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21003 macros.
21004 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21005 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21006 cleanup macros.
21007 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21008 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21009 macros.
21010 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21011 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21012 macros.
21013 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21014 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21015 cleanup macros.
21016 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21017
85118d4d
EBM
210182013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21019
21020 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21021 to _sifields.sigfault.
21022 (si_addr_lsb): Define new macro.
21023 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21024 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21025 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21026
7a44c18f
CD
210272013-05-03 Carlos O'Donell <carlos at redhat.com>
21028
21029 [BZ #15441]
21030 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21031 returns -1.
21032 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21033 null return -1.
21034 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21035 loading the domain.
21036
b50a7181
JM
210372013-05-22 Joseph Myers <joseph@codesourcery.com>
21038
21039 * math/gen-libm-test.pl (parse_args): Do not include expected
21040 result in test name.
21041 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21043 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21044 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21045 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21047
051063c8
SP
210482013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
3ce9e010
SP
21050 * benchtests/Makefile: Sort function entries.
21051
051063c8
SP
21052 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21053 tanh, asinh, acosh, atanh.
21054 * benchtests/acos-inputs: New file.
21055 * benchtests/acosh-inputs: New file.
21056 * benchtests/asin-inputs: New file.
21057 * benchtests/asinh-inputs: New file.
21058 * benchtests/atanh-inputs: New file.
21059 * benchtests/cosh-inputs: New file.
21060 * benchtests/log-inputs: New file.
21061 * benchtests/sinh-inputs: New file.
21062 * benchtests/tanh-inputs: New file.
21063
47c22455
DL
210642013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21065
21066 [BZ #15339]
21067 * posix/tst-getaddrinfo4.c: New test.
21068 * posix/Makefile (tests): Add it.
21069
3d04f5db
SP
210702013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21071
21072 [BZ #15339]
21073 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21074 when no services were used.
21075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21076 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21077
d5dd6189
AS
210782013-05-21 Andreas Schwab <schwab@suse.de>
21079
21080 [BZ #15014]
21081 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21082 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21083 successful.
21084 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21085 redundant variable declarations and reallocation of buffer when
21086 parsing as IPv6 address. Always set NSS status when called from
21087 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21088 buffer too small. Correct computation of needed size.
21089 * nss/Makefile (tests): Add test-digits-dots.
21090 * nss/test-digits-dots.c: New test.
21091
fef94eab
SP
210922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21093
21094 * benchtests/Makefile: Remove instructions for adding
21095 benchmark tests.
21096 * benchtests/README: New file to explain how to execute and
21097 enhance the benchmark tests.
21098
e39adf43
AS
210992013-05-21 Andreas Schwab <schwab@suse.de>
21100
21101 [BZ #15493]
21102 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21103 * setjmp/tst-sigsetjmp.c: New test.
21104
b2b671b6
OB
211052013-05-20 Ondřej Bílka <neleai@seznam.cz>
21106
21107 * sysdeps/x86_64/memset.S (memset): New implementation.
21108 (__bzero): Likewise.
21109 (__memset_tail): New function.
21110
2d48b41c
OB
211112013-05-20 Ondřej Bílka <neleai@seznam.cz>
21112
21113 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21114 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21115 __memcpy_sse2_unaligned ifunc selection.
21116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21117 Add memcpy-sse2-unaligned.S.
21118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21119 Add: __memcpy_sse2_unaligned.
21120
f16cc3eb
JM
211212013-05-19 Joseph Myers <joseph@codesourcery.com>
21122
3e694268
JM
21123 [BZ #15490]
21124 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21125 math_force_eval before restoring floating-point envrionment.
21126 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21128 Likewise.
21129 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21130 <math_private.h>.
21131 (__nearbyintl): Use math_force_eval before restoring
21132 floating-point environment.
21133 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21134
db62a907
JM
21135 * math/gen-libm-test.pl (special_functions): Remove.
21136 (parse_args): Don't handle TEST_extra. Handle functions with no
21137 return value.
21138 * math/libm-test.inc (struct test_sincos_data): Replace with
21139 struct test_fFF_11_data.
21140 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21141 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21142 (sincos_test_data): Change element type to struct
21143 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21144 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21145 RUN_TEST_LOOP_sincos.
21146 * math/README.libm-test: Don't mention special handling of
21147 individual functions.
21148 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21150 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21151 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21152 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21154
f16cc3eb
JM
21155 * math/gen-libm-test.pl (get_variable): Remove function.
21156 (parse_args): Don't show pointer parameters to call in test
21157 names. Use "extra output N" in test names for extra outputs
21158 rather than naming variables.
21159
3779b5b6
JM
211602013-05-18 Joseph Myers <joseph@codesourcery.com>
21161
2ee094ff
JM
21162 [BZ #15488]
21163 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21164 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21165 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21166 double tests.
21167 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21168 disable.
21169 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21170 check_long_double.
21171
3779b5b6
JM
21172 * math/gen-libm-test.pl (@tests): Remove variable.
21173 ($count): Likewise.
21174 (new_test): Remove function.
21175 (show_exceptions): New function.
21176 (special_functions): Use show_exceptions instead of new_test.
21177 (parse_args): Likewise.
21178 (generate_testfile): Pass only function name in generated call to
21179 print_max_error or print_complex_max_error.
21180 (get_ulps): Do not handle complex tests specially.
21181 (output_test): Rename to ...
21182 (get_all_ulps_for_test): ... this. Return a string rather than
21183 printing to a file. Require ulps to be present.
21184 (output_ulps): Generate arrays rather than #defines.
21185 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21186 (struct ulp_data): New type.
21187 (BUILD_COMPLEX_ULP): Remove macro.
21188 (compare_ulp_data): New function.
21189 (find_ulps): Likewise.
21190 (find_test_ulps): Likewise.
21191 (find_function_ulps): Likewise.
21192 (find_complex_function_ulps): Likewise.
21193 (print_max_error): Determine allowed ulps using
21194 find_function_ulps.
21195 (print_complex_max_error): Determine allowed ulps using
21196 find_complex_function_ulps.
21197 (check_float_internal): Determine max ulps using find_test_ulps.
21198 (check_float): Do not take max_ulp parameter. Update call to
21199 check_float_internal.
21200 (check_complex): Likewise.
21201 (check_int): Do not take max_ulp parameter.
21202 (check_long): Likewise.
21203 (check_bool): Likewise.
21204 (check_longlong): Likewise.
21205 (struct test_f_f_data): Remove max_ulp field.
21206 (struct test_ff_f_data): Likewise.
21207 (struct test_ff_f_data_nexttoward): Likewise.
21208 (struct test_fi_f_data): Likewise.
21209 (struct test_fl_f_data): Likewise.
21210 (struct test_if_f_data): Likewise.
21211 (struct test_fff_f_data): Likewise.
21212 (struct test_c_f_data): Likewise.
21213 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21214 (struct test_fF_f1_data): Likewise.
21215 (struct test_ffI_f1_data): Likewise.
21216 (struct test_c_c_data): Remove max_ulp field.
21217 (struct test_cc_c_data): Likewise.
21218 (struct test_f_i_data): Likewise.
21219 (struct test_ff_i_data): Likewise.
21220 (struct test_f_l_data): Likewise.
21221 (struct test_f_L_data): Likewise.
21222 (struct test_sincos_data): Likewise.
21223 (RUN_TEST_f_f): Do not handle ulps.
21224 (RUN_TEST_LOOP_f_f): Likewise.
21225 (RUN_TEST_2_f): Likewise.
21226 (RUN_TEST_LOOP_2_f): Likewise.
21227 (RUN_TEST_fff_f): Likewise.
21228 (RUN_TEST_LOOP_fff_f): Likewise.
21229 (RUN_TEST_c_f): Likewise.
21230 (RUN_TEST_LOOP_c_f): Likewise.
21231 (RUN_TEST_f_f1): Likewise.
21232 (RUN_TEST_LOOP_f_f1): Likewise.
21233 (RUN_TEST_fF_f1): Likewise.
21234 (RUN_TEST_LOOP_fF_f1): Likewise.
21235 (RUN_TEST_fI_f1): Likewise.
21236 (RUN_TEST_LOOP_fI_f1): Likewise.
21237 (RUN_TEST_ffI_f1): Likewise.
21238 (RUN_TEST_LOOP_ffI_f1): Likewise.
21239 (RUN_TEST_c_c): Likewise.
21240 (RUN_TEST_LOOP_c_c): Likewise.
21241 (RUN_TEST_cc_c): Likewise.
21242 (RUN_TEST_LOOP_cc_c): Likewise.
21243 (RUN_TEST_f_i): Likewise.
21244 (RUN_TEST_LOOP_f_i): Likewise.
21245 (RUN_TEST_f_i_tg): Likewise.
21246 (RUN_TEST_LOOP_f_i_tg): Likewise.
21247 (RUN_TEST_ff_i_tg): Likewise.
21248 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21249 (RUN_TEST_f_b): Likewise.
21250 (RUN_TEST_LOOP_f_b): Likewise.
21251 (RUN_TEST_f_b_tg): Likewise.
21252 (RUN_TEST_LOOP_f_b_tg): Likewise.
21253 (RUN_TEST_f_l): Likewise.
21254 (RUN_TEST_LOOP_f_l): Likewise.
21255 (RUN_TEST_f_L): Likewise.
21256 (RUN_TEST_LOOP_f_L): Likewise.
21257 (RUN_TEST_sincos): Likewise.
21258 (RUN_TEST_LOOP_sincos): Likewise.
21259
8269107f
JM
212602013-05-17 Joseph Myers <joseph@codesourcery.com>
21261
bb38759d
JM
21262 [BZ #15480]
21263 [BZ #15485]
21264 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21265 main case of finite arguments, set rounding mode to FE_TONEAREST
21266 and discard exceptions.
21267 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21268 exceptions.
21269 (remainder_tonearest_test_data): New variable.
21270 (remainder_test_tonearest): New function.
21271 (remainder_towardzero_test_data): New variable.
21272 (remainder_test_towardzero): New function.
21273 (remainder_downward_test_data): New variable.
21274 (remainder_test_downward): New function.
21275 (remainder_upward_test_data): New variable.
21276 (remainder_test_upward): New function.
21277 (main): Call the new test functions.
21278
a00bdcf0
JM
21279 * math/libm-test.inc (struct test_f_f1_data): Remove field
21280 extra_init.
21281 (struct test_fF_f1_data): Likewise.
21282 (struct test_ffI_f1_data): Likewise.
21283 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21284 based on value of EXTRA_EXPECTED.
21285 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21286 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21287 EXTRA_VAR based on value of EXTRA_EXPECTED.
21288 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21289 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21290 EXTRA_VAR based on value of EXTRA_EXPECTED.
21291 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21292 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21293 EXTRA_VAR based on value of EXTRA_EXPECTED.
21294 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21295 * math/gen-libm-test.pl (parse_args): Don't output initializers
21296 for extra output values.
21297
de407f79
JM
21298 * math/libm-test.inc (check_int): Expect result to be exactly
21299 equal to expected value and do not handle ulps.
21300 (check_long): Likewise.
21301 (check_longlong): Likewise.
21302
8269107f
JM
21303 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21304 exceptions.
21305 (cimag_test_data): Likewise.
21306 (conj_test_data): Likewise.
21307 (copysign_test_data): Likewise.
21308 (cproj_test_data): Likewise.
21309 (creal_test_data): Likewise.
21310 (fabs_test_data): Likewise.
21311 (fdim_test_data): Likewise.
21312 (finite_test_data): Likewise.
21313 (floor_test_data): Likewise.
21314 (fmax_test_data): Likewise.
21315 (fmin_test_data): Likewise.
21316 (fmod_test_data): Likewise.
21317 (fpclassify_test_data): Likewise.
21318 (frexp_test_data): Likewise.
21319 (ilogb_test_data): Likewise.
21320 (isfinite_test_data): Likewise.
21321 (isgreater_test_data): Likewise.
21322 (isgreaterequal_test_data): Likewise.
21323 (isinf_test_data): Likewise.
21324 (isless_test_data): Likewise.
21325 (islessequal_test_data): Likewise.
21326 (islessgreater_test_data): Likewise.
21327 (isnan_test_data): Likewise.
21328 (isnormal_test_data): Likewise.
21329 (issignaling_test_data): Likewise.
21330 (isunordered_test_data): Likewise.
21331 (ldexp_test_data): Likewise.
21332 (lrint_test_data): Likewise.
21333 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21334 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21335 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21336 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21337 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21338 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21339 test input.
21340 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21341 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21342 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21343 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21344 that test input.
21345 (lrint_downward_test_data): Test for "inexact" exceptions.
21346 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21347 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21348 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21349 test input.
21350 (lrint_upward_test_data): Test for "inexact" exceptions.
21351 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21352 test input.
21353 (llrint_test_data): Test for "inexact" exceptions.
21354 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21355 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21356 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21357 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21358 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21359 (llrint_downward_test_data): Test for "inexact" exceptions.
21360 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21361 (llrint_upward_test_data): Test for "inexact" exceptions.
21362 (logb_test_data): Likewise.
21363 (logb_downward_test_data): Likewise.
21364 (nextafter_test_data): Likewise.
21365 (nexttoward_test_data): Likewise.
21366 (remainder_test_data): Likewise.
21367 (remquo_test_data): Likewise.
21368 (scalbn_test_data): Likewise.
21369 (scalbln_test_data): Likewise.
21370 (signbit_test_data): Likewise.
21371 (sqrt_test_data): Likewise.
21372 (significand_test_data): Likewise.
21373
48a18de1
SP
213742013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21375
21376 [BZ #15424]
21377 * benchtests/bench-modf.c (struct args): Mark arg0 as
21378 volatile.
21379 * scripts/bench.pl: Mark members of struct args as volatile.
21380
13d3b41a
AZ
213812013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21382
68191c1d 21383 [BZ # 15497]
13d3b41a
AZ
21384 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21385 negative infinity on POWER6 or lower.
21386 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21387
2848b105
MR
213882013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21389
21390 [BZ #15442]
21391 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21392 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21393 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21394 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21395 (_FP_SETQNAN): New macro.
21396 (_FP_SETQNAN_SEMIRAW): Likewise.
21397 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21398 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21399 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21400 (FP_EXTEND): Use _FP_FRAC_SNANP.
21401 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21402 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21403 into account.
21404 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21405 New macro.
21406 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21407 Likewise.
21408
323e5cb7
JM
214092013-05-16 Joseph Myers <joseph@codesourcery.com>
21410
c58b274f
JM
21411 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21412 with DIVIDE_BY_ZERO_EXCEPTION.
21413 (gamma_test_data): Likewise.
21414 (lgamma_test_data): Likewise.
21415 (log_test_data): Likewise.
21416 (log10_test_data): Likewise.
21417 (log2_test_data): Likewise.
21418 (tgamma_test_data): Likewise.
21419
0ab34904
JM
21420 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21421 (acos_test_tonearest): Likewise.
21422 (acos_test_towardzero): Likewise.
21423 (acos_test_downward): Likewise.
21424 (acos_test_upward): Likewise.
21425 (acosh_test): Likewise.
21426 (asin_test): Likewise.
21427 (asin_test_tonearest): Likewise.
21428 (asin_test_towardzero): Likewise.
21429 (asin_test_downward): Likewise.
21430 (asin_test_upward): Likewise.
21431 (asinh_test): Likewise.
21432 (atan_test): Likewise.
21433 (atanh_test): Likewise.
21434 (atan2_test): Likewise.
21435 (cabs_test): Likewise.
21436 (cacos_test): Likewise.
21437 (cacosh_test): Likewise.
21438 (casin_test): Likewise.
21439 (casinh_test): Likewise.
21440 (catan_test): Likewise.
21441 (catanh_test): Likewise.
21442 (cbrt_test): Likewise.
21443 (ccos_test): Likewise.
21444 (ccosh_test): Likewise.
21445 (cexp_test): Likewise.
21446 (clog_test): Likewise.
21447 (clog10_test): Likewise.
21448 (cos_test): Likewise.
21449 (cos_test_tonearest): Likewise.
21450 (cos_test_towardzero): Likewise.
21451 (cos_test_downward): Likewise.
21452 (cos_test_upward): Likewise.
21453 (cosh_test): Likewise.
21454 (cosh_test_tonearest): Likewise.
21455 (cosh_test_towardzero): Likewise.
21456 (cosh_test_downward): Likewise.
21457 (cosh_test_upward): Likewise.
21458 (cpow_test): Likewise.
21459 (csin_test): Likewise.
21460 (csinh_test): Likewise.
21461 (csqrt_test): Likewise.
21462 (ctan_test): Likewise.
21463 (ctan_test_tonearest): Likewise.
21464 (ctan_test_towardzero): Likewise.
21465 (ctan_test_downward): Likewise.
21466 (ctan_test_upward): Likewise.
21467 (ctanh_test): Likewise.
21468 (ctanh_test_tonearest): Likewise.
21469 (ctanh_test_towardzero): Likewise.
21470 (ctanh_test_downward): Likewise.
21471 (ctanh_test_upward): Likewise.
21472 (erf_test): Likewise.
21473 (erfc_test): Likewise.
21474 (exp_test): Likewise.
21475 (exp_test_tonearest): Likewise.
21476 (exp_test_towardzero): Likewise.
21477 (exp_test_downward): Likewise.
21478 (exp_test_upward): Likewise.
21479 (exp10_test): Likewise.
21480 (exp2_test): Likewise.
21481 (expm1_test): Likewise.
21482 (fmod_test): Likewise.
21483 (gamma_test): Likewise.
21484 (hypot_test): Likewise.
21485 (j0_test): Likewise.
21486 (j1_test): Likewise.
21487 (jn_test): Likewise.
21488 (lgamma_test): Likewise.
21489 (log_test): Likewise.
21490 (log10_test): Likewise.
21491 (log1p_test): Likewise.
21492 (log2_test): Likewise.
21493 (logb_test_downward): Likewise.
21494 (pow_test): Likewise.
21495 (pow_test_tonearest): Likewise.
21496 (pow_test_towardzero): Likewise.
21497 (pow_test_downward): Likewise.
21498 (pow_test_upward): Likewise.
21499 (remainder_test): Likewise.
21500 (remquo_test): Likewise.
21501 (sin_test): Likewise.
21502 (sin_test_tonearest): Likewise.
21503 (sin_test_towardzero): Likewise.
21504 (sin_test_downward): Likewise.
21505 (sin_test_upward): Likewise.
21506 (sincos_test): Likewise.
21507 (sinh_test): Likewise.
21508 (sinh_test_tonearest): Likewise.
21509 (sinh_test_towardzero): Likewise.
21510 (sinh_test_downward): Likewise.
21511 (sinh_test_upward): Likewise.
21512 (sqrt_test): Likewise.
21513 (tan_test): Likewise.
21514 (tan_test_tonearest): Likewise.
21515 (tan_test_towardzero): Likewise.
21516 (tan_test_downward): Likewise.
21517 (tan_test_upward): Likewise.
21518 (tanh_test): Likewise.
21519 (tgamma_test): Likewise.
21520 (y0_test): Likewise.
21521 (y1_test): Likewise.
21522 (yn_test): Likewise.
21523
323e5cb7
JM
21524 * math/gen-libm-test.pl (adjust_arg): Remove function.
21525 (special_function): Remove argument $in_func. Only handle
21526 generating output for tables of tests, not inside functions.
21527 (parse_args): Likewise.
21528 (generate_testfile): Remove variable $in_func. Update call to
21529 parse_args.
21530 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21531 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21532 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21533 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21534 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21535 (MAX_VALUE_INIT): Rename macro to max_value.
21536 (MIN_VALUE_INIT): Rename macro to min_value.
21537 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21538 (plus_zero): Remove variable.
21539 (minus_zero): Likewise.
21540 (plus_infty): Likewise.
21541 (minus_infty): Likewise.
21542 (qnan_value): Likewise.
21543 (max_value): Likewise.
21544 (min_value): Likewise.
21545 (min_subnorm_value): Likewise.
21546
e054f494
RA
215472013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21548
21549 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21550 uint64_t or uint32_t usage.
21551 * crypt/sha256-block.c: Likewise.
21552 * crypt/sha256-crypt.c: Likewise.
21553 * crypt/sha256.c: Likewise.
21554 * crypt/sha512-block.c: Likewise.
21555 * crypt/sha512-crypt.c: Likewise.
21556 * crypt/sha512.c: Likewise.
21557 * debug/backtrace-tst.c: Likewise.
21558 * debug/pcprofiledump.c: Likewise.
21559 * elf/cache.c: Likewise.
21560 * elf/dl-cache.c: Likewise.
21561 * elf/dl-misc.c: Likewise.
21562 * elf/dl-profile.c: Likewise.
21563 * elf/dl-support.c: Likewise.
21564 * elf/ldconfig.c: Likewise.
21565 * elf/sprof.c: Likewise.
21566 * iconv/dummy-repertoire.c: Likewise.
21567 * iconv/iconv_charmap.c: Likewise.
21568 * iconv/skeleton.c: Likewise.
21569 * iconvdata/8bit-generic.c: Likewise.
21570 * iconvdata/cp737.h: Likewise.
21571 * iconvdata/cp775.h: Likewise.
21572 * iconvdata/ibm1008.h: Likewise.
21573 * iconvdata/ibm1025.h: Likewise.
21574 * iconvdata/ibm1046.h: Likewise.
21575 * iconvdata/ibm1097.h: Likewise.
21576 * iconvdata/ibm1112.h: Likewise.
21577 * iconvdata/ibm1122.h: Likewise.
21578 * iconvdata/ibm1123.h: Likewise.
21579 * iconvdata/ibm1124.h: Likewise.
21580 * iconvdata/ibm1129.h: Likewise.
21581 * iconvdata/ibm1130.h: Likewise.
21582 * iconvdata/ibm1132.h: Likewise.
21583 * iconvdata/ibm1133.h: Likewise.
21584 * iconvdata/ibm1137.h: Likewise.
21585 * iconvdata/ibm1140.h: Likewise.
21586 * iconvdata/ibm1141.h: Likewise.
21587 * iconvdata/ibm1142.h: Likewise.
21588 * iconvdata/ibm1143.h: Likewise.
21589 * iconvdata/ibm1144.h: Likewise.
21590 * iconvdata/ibm1145.h: Likewise.
21591 * iconvdata/ibm1146.h: Likewise.
21592 * iconvdata/ibm1147.h: Likewise.
21593 * iconvdata/ibm1148.h: Likewise.
21594 * iconvdata/ibm1149.h: Likewise.
21595 * iconvdata/ibm1153.h: Likewise.
21596 * iconvdata/ibm1154.h: Likewise.
21597 * iconvdata/ibm1155.h: Likewise.
21598 * iconvdata/ibm1156.h: Likewise.
21599 * iconvdata/ibm1157.h: Likewise.
21600 * iconvdata/ibm1158.h: Likewise.
21601 * iconvdata/ibm1160.h: Likewise.
21602 * iconvdata/ibm1161.h: Likewise.
21603 * iconvdata/ibm1162.h: Likewise.
21604 * iconvdata/ibm1163.h: Likewise.
21605 * iconvdata/ibm1164.h: Likewise.
21606 * iconvdata/ibm1166.h: Likewise.
21607 * iconvdata/ibm1167.h: Likewise.
21608 * iconvdata/ibm12712.h: Likewise.
21609 * iconvdata/ibm1390.h: Likewise.
21610 * iconvdata/ibm1399.h: Likewise.
21611 * iconvdata/ibm16804.h: Likewise.
21612 * iconvdata/ibm4517.h: Likewise.
21613 * iconvdata/ibm4899.h: Likewise.
21614 * iconvdata/ibm4909.h: Likewise.
21615 * iconvdata/ibm4971.h: Likewise.
21616 * iconvdata/ibm5347.h: Likewise.
21617 * iconvdata/ibm803.h: Likewise.
21618 * iconvdata/ibm856.h: Likewise.
21619 * iconvdata/ibm901.h: Likewise.
21620 * iconvdata/ibm902.h: Likewise.
21621 * iconvdata/ibm9030.h: Likewise.
21622 * iconvdata/ibm9066.h: Likewise.
21623 * iconvdata/ibm921.h: Likewise.
21624 * iconvdata/ibm922.h: Likewise.
21625 * iconvdata/ibm9448.h: Likewise.
21626 * iconvdata/isiri-3342.h: Likewise.
21627 * iconvdata/jis0201.h: Likewise.
21628 * include/link.h: Likewise.
21629 * include/netdb.h: Likewise.
21630 * inet/check_native.c: Likewise.
21631 * inet/check_pf.c: Likewise.
21632 * inet/getipv4sourcefilter.c: Likewise.
21633 * inet/getnameinfo.c: Likewise.
21634 * inet/getsourcefilter.c: Likewise.
21635 * inet/htonl.c: Likewise.
21636 * inet/setipv4sourcefilter.c: Likewise.
21637 * inet/setsourcefilter.c: Likewise.
21638 * inet/test-inet6_opt.c: Likewise.
21639 * inet/tst-network.c: Likewise.
21640 * locale/C-collate.c: Likewise.
21641 * locale/C-ctype.c: Likewise.
21642 * locale/C-time.c: Likewise.
21643 * locale/C-translit.h: Likewise.
21644 * locale/loadarchive.c: Likewise.
21645 * locale/programs/3level.h: Likewise.
21646 * locale/programs/charmap.c: Likewise.
21647 * locale/programs/charmap.h: Likewise.
21648 * locale/programs/ld-address.c: Likewise.
21649 * locale/programs/ld-collate.c: Likewise.
21650 * locale/programs/ld-ctype.c: Likewise.
21651 * locale/programs/ld-identification.c: Likewise.
21652 * locale/programs/ld-measurement.c: Likewise.
21653 * locale/programs/ld-messages.c: Likewise.
21654 * locale/programs/ld-monetary.c: Likewise.
21655 * locale/programs/ld-name.c: Likewise.
21656 * locale/programs/ld-numeric.c: Likewise.
21657 * locale/programs/ld-paper.c: Likewise.
21658 * locale/programs/ld-telephone.c: Likewise.
21659 * locale/programs/ld-time.c: Likewise.
21660 * locale/programs/linereader.c: Likewise.
21661 * locale/programs/locale.c: Likewise.
21662 * locale/programs/locarchive.c: Likewise.
21663 * locale/programs/locfile.h: Likewise.
21664 * locale/programs/repertoire.c: Likewise.
21665 * locale/programs/simple-hash.c: Likewise.
21666 * locale/programs/simple-hash.h: Likewise.
21667 * malloc/memusage.c: Likewise.
21668 * malloc/memusagestat.c: Likewise.
21669 * nis/nis_defaults.c: Likewise.
21670 * nis/nis_hash.c: Likewise.
21671 * nis/nis_print.c: Likewise.
21672 * nis/nis_xdr.c: Likewise.
21673 * nscd/connections.c: Likewise.
21674 * nscd/hstcache.c: Likewise.
21675 * nscd/nscd_gethst_r.c: Likewise.
21676 * nscd/nscd_getserv_r.c: Likewise.
21677 * nscd/nscd_helper.c: Likewise.
21678 * nscd/servicescache.c: Likewise.
21679 * nss/makedb.c: Likewise.
21680 * nss/nss_db/db-XXX.c: Likewise.
21681 * nss/nss_db/db-initgroups.c: Likewise.
21682 * nss/nss_db/db-netgrp.c: Likewise.
21683 * nss/nss_files/files-network.c: Likewise.
21684 * nss/nss_files/files-parse.c: Likewise.
21685 * posix/bug-regex5.c: Likewise.
21686 * posix/fnmatch_loop.c: Likewise.
21687 * posix/regcomp.c: Likewise.
21688 * posix/regexec.c: Likewise.
21689 * posix/tst-rfc3484-2.c: Likewise.
21690 * posix/tst-rfc3484-3.c: Likewise.
21691 * posix/tst-rfc3484.c: Likewise.
21692 * resolv/nss_dns/dns-canon.c: Likewise.
21693 * resolv/nss_dns/dns-network.c: Likewise.
21694 * resolv/res_init.c: Likewise.
21695 * resolv/res_mkquery.c: Likewise.
21696 * resolv/tst-aton.c: Likewise.
21697 * stdlib/cxa_atexit.c: Likewise.
21698 * stdlib/cxa_finalize.c: Likewise.
21699 * stdlib/gen-fpioconst.c: Likewise.
21700 * stdlib/strtol_l.c: Likewise.
21701 * string/tst-endian.c: Likewise.
21702 * sunrpc/auth_des.c: Likewise.
21703 * sunrpc/clnt_udp.c: Likewise.
21704 * sunrpc/rtime.c: Likewise.
21705 * sunrpc/svcauth_des.c: Likewise.
21706 * sunrpc/xdr.c: Likewise.
21707 * sunrpc/xdr_intXX_t.c: Likewise.
21708 * sunrpc/xdr_rec.c: Likewise.
21709 * sysdeps/generic/ldconfig.h: Likewise.
21710 * sysdeps/generic/ldsodefs.h: Likewise.
21711 * sysdeps/generic/memusage.h: Likewise.
21712 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21715 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21722 * sysdeps/posix/getaddrinfo.c: Likewise.
21723 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21724 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21725 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21726 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21727 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21728 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21729 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21730 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21731 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21732 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21733 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21734 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21735 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21736 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21737 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21738 * sysdeps/x86_64/dl-tls.h: Likewise.
21739 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21740 * time/alt_digit.c: Likewise.
21741 * time/era.c: Likewise.
21742 * wcsmbs/tst-c16c32-1.c: Likewise.
21743
8c75f674
JM
217442013-05-16 Joseph Myers <joseph@codesourcery.com>
21745
21746 * math/libm-test.inc (struct test_sincos_data): New type.
21747 (RUN_TEST_LOOP_sincos): New macro.
21748 (sincos_test_data): New variable.
21749 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21750
e6e49e59
RH
217512013-05-16 Richard Henderson <rth@redhat.com>
21752
21753 * math/atest-exp2.c (LIMB64): New macro.
21754 (CONSTSZ): New macro.
21755 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21756 (hexdig): Move ...
21757 (print_mpn_fp): ... to function scope.
21758 (read_mpn_hex): Remove.
21759 (get_log2): Remove.
21760 (exp2_mpn): Use mp_log2.
21761 (main): Use mp_exp1.
21762
15c7c18d
JM
217632013-05-16 Joseph Myers <joseph@codesourcery.com>
21764
105a07df
JM
21765 * math/libm-test.inc: Remove comment about not testing "inexact"
21766 exceptions.
21767 (INEXACT_EXCEPTION): New macro.
21768 (NO_INEXACT_EXCEPTION): Likewise.
21769 (INVALID_EXCEPTION_OK): Update value.
21770 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21771 (OVERFLOW_EXCEPTION_OK): Likewise.
21772 (UNDERFLOW_EXCEPTION_OK): Likewise.
21773 (IGNORE_ZERO_INF_SIGN): Likewise.
21774 (ERRNO_UNCHANGED): Likewise.
21775 (ERRNO_EDOM): Likewise.
21776 (ERRNO_ERANGE): Likewise.
21777 (test_exceptions): Handle testing "inexact" exceptions.
21778 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21779 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21780 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21781 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21782 INEXACT_EXCEPTION.
21783 (rint_towardzero_test_data): Likewise.
21784 (rint_downward_test_data): Likewise.
21785 (rint_upward_test_data): Likewise.
21786
e9eee333
JM
21787 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21788 with OVERFLOW_EXCEPTION.
21789 (exp10_test_data): Likewise.
21790 (exp2_test_data): Likewise.
21791 (expm1_test_data): Likewise.
21792 (lgamma_test_data): Likewise.
21793 (pow_test_data): Likewise.
21794 (tgamma_test_data): Likewise.
21795 (yn_test_data): Remove duplicate test of overflow.
21796
1c38ff73
JM
21797 * math/libm-test.inc (struct test_cc_c_data): New type.
21798 (RUN_TEST_LOOP_cc_c): New macro.
21799 (cpow_test_data): New variable.
21800 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21801
15c7c18d
JM
21802 * math/libm-test.inc (struct test_f_L_data): New type.
21803 (RUN_TEST_LOOP_f_L): New macro.
21804 (llrint_test_data): New variable.
21805 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21806 (llrint_tonearest_test_data): New variable.
21807 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21808 (llrint_towardzero_test_data): New variable.
21809 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21810 (llrint_downward_test_data): New variable.
21811 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21812 (llrint_upward_test_data): New variable.
21813 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21814 (llround_test_data): New variable.
21815 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21816
f137ff13
PC
218172013-05-13 Peter Collingbourne <pcc@google.com>
21818
21819 * math/atest-exp2.c (get_log2): Remove const attribute.
21820
3608cb24
JM
218212013-05-15 Joseph Myers <joseph@codesourcery.com>
21822
21823 * math/libm-test.inc (struct test_f_l_data): New type.
21824 (RUN_TEST_LOOP_f_l): New macro.
21825 (lrint_test_data): New variable.
21826 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21827 (lrint_tonearest_test_data): New variable.
21828 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21829 (lrint_towardzero_test_data): New variable.
21830 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21831 (lrint_downward_test_data): New variable.
21832 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21833 (lrint_upward_test_data): New variable.
21834 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21835 (lround_test_data): New variable.
21836 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21837
39b1f617
PC
218382013-05-15 Peter Collingbourne <pcc@google.com>
21839
1deff3dc
PC
21840 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21841 (EXTRACT_WORDS64) Use where appropriate.
21842 (INSERT_WORDS64) Likewise.
21843
791f3ba0
PC
21844 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21845 constraints with x constraints.
21846 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21847
39b1f617
PC
21848 * malloc/obstack.c (_obstack_compat): Add initializer.
21849
12fba011
EM
218502013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21851
21852 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21853 si_trapno and add si_addr_lsb to _sifields.sigfault.
21854 (si_trapno): Remove macro.
21855 (si_addr_lsb): Define new macro.
21856 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21857
d369f531
JM
218582013-05-15 Joseph Myers <joseph@codesourcery.com>
21859
b861c6c4
JM
21860 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21861 instead of TEST_f_l.
21862 (llrint_test_tonearest): Likewise.
21863 (llrint_test_towardzero): Likewise.
21864 (llrint_test_downward): Likewise.
21865 (llrint_test_upward): Likewise.
21866 (llround_test): Likewise.
21867
7abeee12
JM
21868 * math/libm-test.inc (struct test_f_i_data): Add comment.
21869 (RUN_TEST_LOOP_f_b): New macro.
21870 (RUN_TEST_LOOP_f_b_tg): Likewise.
21871 (finite_test_data): New variable.
21872 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21873 (isfinite_test_data): New variable.
21874 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21875 (isinf_test_data): New variable.
21876 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21877 (isnan_test_data): New variable.
21878 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21879 (isnormal_test_data): New variable.
21880 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21881 (issignaling_test_data): New variable.
21882 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21883 (signbit_test_data): New variable.
21884 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21885
cbe8c4d3
JM
21886 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21887 with INVALID_EXCEPTION.
21888 (acosh_test_data): Likewise.
21889 (asin_test_data): Likewise.
21890 (atanh_test_data): Likewise.
21891 (fmod_test_data): Likewise.
21892 (log_test_data): Likewise.
21893 (log10_test_data): Likewise.
21894 (log2_test_data): Likewise.
21895 (pow_test_data): Likewise.
21896 (sqrt_test_data): Likewise.
21897 (y0_test_data): Likewise.
21898 (y1_test_data): Likewise.
21899 (yn_test_data): Likewise.
21900
5575c0e5
JM
21901 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21902 function contents.
21903
d369f531
JM
21904 * math/libm-test.inc (struct test_ff_i_data): New type.
21905 (RUN_TEST_LOOP_ff_i_tg): New macro.
21906 (isgreater_test_data): New variable.
21907 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21908 (isgreaterequal_test_data): New variable.
21909 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21910 (isless_test_data): New variable.
21911 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21912 (islessequal_test_data): New variable.
21913 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21914 (islessgreater_test_data): New variable.
21915 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21916 (isunordered_test_data): New variable.
21917 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21918
781fd748
DM
219192013-05-14 David S. Miller <davem@davemloft.net>
21920
21921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21922
87aa21df
JM
219232013-05-14 Joseph Myers <joseph@codesourcery.com>
21924
5e908270
JM
21925 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21926
f71172e5
JM
21927 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21928 extra_test to int.
21929 (struct test_f_i_data): Change type of max_ulp to int.
21930
8cfa635a
JM
21931 * math/libm-test.inc (test_ffI_f1_data): New type.
21932 (RUN_TEST_LOOP_ffI_f1): New macro.
21933 (remquo_test_data): New variable.
21934 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21935
2bcb36b2
JM
21936 * setjmp/tst-setjmp-fp.c: New file.
21937 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21938 (link-libm): New variable.
21939 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21940
acbd839a
JM
21941 * math/libm-test.inc (struct test_f_i_data): New type.
21942 (RUN_TEST_LOOP_f_i): New macro.
21943 (RUN_TEST_LOOP_f_i_tg): Likewise.
21944 (fpclassify_test_data): New variable.
21945 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21946 (ilogb_test_data): New variable.
21947 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21948
e414d745
JM
21949 * math/libm-test.inc (scalbln_test): Correct function name in END
21950 call.
21951
d9c2a0fd
JM
21952 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21953 (RUN_TEST_LOOP_fI_f1): New macro.
21954 (frexp_test_data): New variable.
21955 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21956
9dc9095d
JM
21957 * math/libm-test.inc (struct test_fF_f1_data): New type.
21958 (RUN_TEST_LOOP_fF_f1): New macro.
21959 (modf_test_data): New variable.
21960 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21961
87aa21df
JM
21962 * math/libm-test.inc (struct test_f_f1_data): New type.
21963 (RUN_TEST_LOOP_f_f1): New macro.
21964 (gamma_test_data): New variable.
21965 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21966 (lgamma_test_data): New variable.
21967 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21968
141af660
CD
219692013-05-13 Carlos O'Donell <carlos@redhat.com>
21970
21971 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21972 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21973 (main): Comment "tls" pseudo-hwcap.
21974
6d33265c
JM
219752013-05-13 Joseph Myers <joseph@codesourcery.com>
21976
68fc074c
JM
21977 * math/libm-test.inc (struct test_fl_f_data): New type.
21978 (RUN_TEST_LOOP_fl_f): New variable.
21979 (scalbln_test_data): New variable.
21980 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21981
243216e1
JM
21982 * math/libm-test.inc (struct test_fi_f_data): New type.
21983 (RUN_TEST_LOOP_fi_f): New macro.
21984 (ldexp_test_data): New variable.
21985 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21986 (scalbn_test_data): New variable.
21987 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21988
6a1992e2
JM
21989 * math/libm-test.inc (struct test_c_f_data): New type.
21990 (RUN_TEST_LOOP_c_f): New macro.
21991 (cabs_test_data): New variable.
21992 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21993 (carg_test_data): New variable.
21994 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21995 (cimag_test_data): New variable.
21996 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21997 (creal_test_data): New variable.
21998 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21999
0e400df5
JM
22000 * math/libm-test.inc (struct test_if_f_data): New type.
22001 (RUN_TEST_LOOP_if_f): New macro.
22002 (jn_test_data): New variable.
22003 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22004 (yn_test_data): New variable.
22005 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22006
6d33265c
JM
22007 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22008
f98ece5f
AZ
220092013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22010
22011 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22012 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22013
0f7d347b
SP
220142013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22015
43fe811b
SP
22016 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22017 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22018 (bench-deps): Add bench-timing.h.
22019 * benchtests-bench-skeleton.c: Include bench-timing.h.
22020 (main): Use TIMING_* macros instead of clock_gettime.
22021 * benchtests/bench-timing.h: New file.
22022
0f7d347b
SP
22023 [BZ #14582]
22024 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22025 Renamed from _LIB_VERSION.
22026 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22027
601a3a5f
JM
220282013-05-12 Joseph Myers <joseph@codesourcery.com>
22029
4f184d30
JM
22030 * math/libm-test.inc (struct test_fff_f_data): New type.
22031 (RUN_TEST_LOOP_fff_f): New macro.
22032 (fma_test_data): New variable.
22033 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22034 (fma_towardzero_test_data): New variable.
22035 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22036 (fma_downward_test_data): New variable.
22037 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22038 (fma_upward_test_data): New variable.
22039 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22040
08198877
JM
22041 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22042 (struct test_c_c_data): New type.
22043 (RUN_TEST_LOOP_c_c): New macro.
22044 (cacos_test_data): New variable.
22045 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22046 (cacosh_test_data): New variable.
22047 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22048 (casin_test_data): New variable.
22049 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22050 (casinh_test_data): New variable.
22051 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22052 (catan_test_data): New variable.
22053 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22054 (catanh_test_data): New variable.
22055 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22056 (ccos_test_data): New variable.
22057 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22058 (ccosh_test_data): New variable.
22059 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22060 (cexp_test_data): New variable.
22061 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22062 (clog_test_data): New variable.
22063 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22064 (clog10_test_data): New variable.
22065 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22066 (conj_test_data): New variable.
22067 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22068 (cproj_test_data): New variable.
22069 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22070 (csin_test_data): New variable.
22071 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22072 (csinh_test_data): New variable.
22073 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22074 (csqrt_test_data): New variable.
22075 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22076 (ctan_test_data): New variable.
22077 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22078 (ctan_tonearest_test_data): New variable.
22079 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22080 (ctan_towardzero_test_data): New variable.
22081 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22082 (ctan_downward_test_data): New variable.
22083 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22084 (ctan_upward_test_data): New variable.
22085 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22086 (ctanh_test_data): New variable.
22087 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22088 (ctanh_tonearest_test_data): New variable.
22089 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22090 (ctanh_towardzero_test_data): New variable.
22091 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22092 (ctanh_downward_test_data): New variable.
22093 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22094 (ctanh_upward_test_data): New variable.
22095 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22096 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22097 of BUILD_COMPLEX.
22098
601a3a5f
JM
22099 * math/libm-test.inc (struct test_ff_f_data): New type.
22100 (struct test_ff_f_data_nexttoward): Likewise.
22101 (RUN_TEST_LOOP_2_f): New macro.
22102 (RUN_TEST_LOOP_ff_f): Likewise.
22103 (atan2_test_data): New variable.
22104 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22105 (copysign_test_data): New variable.
22106 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22107 (fdim_test_data): New variable.
22108 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22109 (fmax_test_data): New variable.
22110 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22111 (fmin_test_data): New variable.
22112 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22113 (fmod_test_data): New variable.
22114 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22115 (hypot_test_data): New variable.
22116 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22117 (nextafter_test_data): New variable.
22118 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22119 (nexttoward_test_data): New variable.
22120 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22121 (pow_test_data): New variable.
22122 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22123 (pow_tonearest_test_data): New variable.
22124 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22125 (pow_towardzero_test_data): New variable.
22126 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22127 (pow_downward_test_data): New variable.
22128 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22129 (pow_upward_test_data): New variable.
22130 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22131 (remainder_test_data): New variable.
22132 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22133 (scalb_test_data): New variable.
22134 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22135 * sysdeps/i386/fpu/libm-test-ulps: Update.
22136
74c57478
JM
221372013-05-11 Joseph Myers <joseph@codesourcery.com>
22138
8329e4da
JM
22139 * math/libm-test.inc (fma_test): Use max_value instead of local
22140 variable fltmax.
22141 (nextafter_test): Likewise.
22142
74c57478
JM
22143 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22144 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22145 (acos_downward_test_data): New variable.
22146 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22147 (acos_upward_test_data): New variable.
22148 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22149 (acosh_test_data): New variable.
22150 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22151 (asin_test_data): New variable.
22152 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22153 (asin_tonearest_test_data): New variable.
22154 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22155 (asin_towardzero_test_data): New variable.
22156 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22157 (asin_downward_test_data): New variable.
22158 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22159 (asin_upward_test_data): New variable.
22160 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22161 (asinh_test_data): New variable.
22162 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22163 (atan_test_data): New variable.
22164 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22165 (atanh_test_data): New variable.
22166 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22167 (cbrt_test_data): New variable.
22168 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22169 (ceil_test_data): New variable.
22170 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22171 (cos_test_data): New variable.
22172 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22173 (cos_tonearest_test_data): New variable.
22174 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22175 (cos_towardzero_test_data): New variable.
22176 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22177 (cos_downward_test_data): New variable.
22178 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22179 (cos_upward_test_data): New variable.
22180 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22181 (cosh_test_data): New variable.
22182 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22183 (cosh_tonearest_test_data): New variable.
22184 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22185 (cosh_towardzero_test_data): New variable.
22186 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22187 (cosh_downward_test_data): New variable.
22188 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22189 (cosh_upward_test_data): New variable.
22190 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22191 (erf_test_data): New variable.
22192 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22193 (erfc_test_data): New variable.
22194 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22195 (exp_test_data): New variable.
22196 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22197 (exp_tonearest_test_data): New variable.
22198 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22199 (exp_towardzero_test_data): New variable.
22200 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22201 (exp_downward_test_data): New variable.
22202 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22203 (exp_upward_test_data): New variable.
22204 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22205 (exp10_test_data): New variable.
22206 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22207 (exp2_test_data): New variable.
22208 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22209 (expm1_test_data): New variable.
22210 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22211 (fabs_test_data): New variable.
22212 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22213 (floor_test_data): New variable.
22214 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22215 (j0_test_data): New variable.
22216 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22217 (j1_test_data): New variable.
22218 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22219 (log_test_data): New variable.
22220 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22221 (log10_test_data): New variable.
22222 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22223 (log1p_test_data): New variable.
22224 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22225 (log2_test_data): New variable.
22226 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22227 (logb_test_data): New variable.
22228 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22229 (logb_downward_test_data): New variable.
22230 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22231 (nearbyint_test_data): New variable.
22232 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22233 (rint_test_data): New variable.
22234 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22235 (rint_tonearest_test_data): New variable.
22236 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22237 (rint_towardzero_test_data): New variable.
22238 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22239 (rint_downward_test_data): New variable.
22240 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22241 (rint_upward_test_data): New variable.
22242 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22243 (round_test_data): New variable.
22244 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22245 (sin_test_data): New variable.
22246 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22247 (sin_tonearest_test_data): New variable.
22248 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22249 (sin_towardzero_test_data): New variable.
22250 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22251 (sin_downward_test_data): New variable.
22252 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22253 (sin_upward_test_data): New variable.
22254 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22255 (sinh_test_data): New variable.
22256 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22257 (sinh_tonearest_test_data): New variable.
22258 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22259 (sinh_towardzero_test_data): New variable.
22260 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22261 (sinh_downward_test_data): New variable.
22262 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22263 (sinh_upward_test_data): New variable.
22264 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22265 (sqrt_test_data): New variable.
22266 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22267 (tan_test_data): New variable.
22268 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22269 (tan_tonearest_test_data): New variable.
22270 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22271 (tan_towardzero_test_data): New variable.
22272 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22273 (tan_downward_test_data): New variable.
22274 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22275 (tan_upward_test_data): New variable.
22276 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22277 (tanh_test_data): New variable.
22278 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22279 (tgamma_test_data): New variable.
22280 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22281 (trunc_test_data): New variable.
22282 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22283 (y0_test_data): New variable.
22284 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22285 (y1_test_data): New variable.
22286 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22287 (significand_test_data): New variable.
22288 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22289
7187d844
CG
222902013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22291
22292 [BZ #12387]
22293 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22294
f63fae73
PT
222952013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22296
22297 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22298
8a67a4b3
AJ
222992013-05-10 Andreas Jaeger <aj@suse.de>
22300
22301 [BZ #15448]
22302 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22303 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22304
51df539d
JM
223052013-05-10 Joseph Myers <joseph@codesourcery.com>
22306
22307 * math/gen-libm-test.pl (adjust_arg): New function.
22308 (special_functions): Handle generating output in both functions
22309 and arrays.
22310 (parse_args): Likewise.
22311 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22312 $in_func argument to parse_args.
22313 * math/libm-test.inc (struct test_f_f_data): New type.
22314 (IF_ROUND_INIT_): New macro.
22315 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22316 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22317 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22318 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22319 (ROUND_RESTORE_): Likewise.
22320 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22321 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22322 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22323 (ROUND_RESTORE_FE_UPWARD): Likewise.
22324 (RUN_TEST_LOOP_f_f): New macro.
22325 (acos_test_data): New variable.
22326 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22327 (acos_tonearest_test_data): New variable.
22328 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22329
5c637fe5
SP
223302013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22331
22332 * benchtests/bench-skeleton.c (startup): Fix coding style.
22333
ab2b9461
JM
223342013-05-10 Joseph Myers <joseph@codesourcery.com>
22335
22336 [BZ #6809]
22337 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22338 negative infinity argument.
22339 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22340 negative infinity argument.
22341 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22342 negative infinity argument.
22343 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22344 domain errors.
22345
4c0fe6fe
FW
223462013-05-10 Florian Weimer <fweimer@redhat.com>
22347
22348 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22349 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22350 * iconv/iconv_prog.c (main): Likewise.
22351 * locale/programs/charmap-dir.c (charmap_readdir)
22352 (fopen_uncompressed): Likewise.
22353 * locale/programs/locfile.c (siblings_uncached)
22354 (write_locale_data): Use lstat64 instead of lstat.
22355 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22356 stat.
22357
a3375d29
AJ
223582013-05-10 Andreas Jaeger <aj@suse.de>
22359
22360 [BZ #15395]
22361 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22362 localization.
22363 Include <locale.h>.
22364
36129722
CD
223652013-05-09 Carlos O'Donell <carlos@redhat.com>
22366
22367 * elf/dl-close.c (_dl_close_worker): Add comments.
22368
faa7f811
JM
223692013-05-09 Joseph Myers <joseph@codesourcery.com>
22370
ed41ffef
JM
22371 [BZ #15359]
22372 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22373 high part of pi/2.
22374 (__ieee754_rem_pio2l): Update comments.
22375
d0213cd0
JM
22376 [BZ #15429]
22377 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22378 high part of pi/2.
22379 (__ieee754_rem_pio2l): Update comments.
22380
0d3e777a
JM
22381 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22382 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22383
24f56066
JM
22384 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22385 M_PI_4l.
22386
faa7f811
JM
22387 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22388 (M_PI_34_LOG10El): Likewise.
22389 (M_PI2_LOG10El): Likewise.
22390 (M_PI4_LOG10El): Likewise.
22391 (M_PI_LOG10El): Likewise.
22392
e9a5e0fd
AZ
223932013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22394
22395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22396
d8cd06db
JM
223972013-05-08 Joseph Myers <joseph@codesourcery.com>
22398
a0d9f9d7
JM
22399 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22400 (MINUS_ZERO_INIT): Likewise.
22401 (PLUS_INFTY_INIT): Likewise.
22402 (MINUS_INFTY_INIT): Likewise.
22403 (QNAN_VALUE_INIT): Likewise.
22404 (MAX_VALUE_INIT): Likewise.
22405 (MIN_VALUE_INIT): Likewise.
22406 (MIN_SUBNORM_VALUE_INIT): Likewise.
22407 (plus_zero): Initialize with PLUS_ZERO_INIT.
22408 (minus_zero): Initialize with MINUS_ZERO_INIT.
22409 (plus_infty): Initialize with PLUS_INFTY_INIT.
22410 (minus_infty): Initialize with MINUS_INFTY_INIT.
22411 (qnan_value): Initialize with QNAN_VALUE_INIT.
22412 (max_value): Initialize with MAX_VALUE_INIT.
22413 (min_value): Initialize with MIN_VALUE_INIT.
22414 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22415
ae08db3b
JM
22416 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22417 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22418 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22419 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22420
f44bf14a
JM
22421 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22422 (RUN_TEST_2_f): Likewise.
22423 (RUN_TEST_ff_f): Likewise.
22424 (RUN_TEST_fi_f): Likewise.
22425 (RUN_TEST_fl_f): Likewise.
22426 (RUN_TEST_fff_f): Likewise.
22427 (RUN_TEST_c_f): Likewise.
22428 (RUN_TEST_f_f1): Likewise.
22429 (RUN_TEST_fF_f1): Likewise.
22430 (RUN_TEST_fI_f1): Likewise.
22431 (RUN_TEST_ffI_f1): Likewise.
22432 (RUN_TEST_c_c): Likewise.
22433 (RUN_TEST_cc_c): Likewise.
22434 (RUN_TEST_f_i): Likewise.
22435 (RUN_TEST_f_i_tg): Likewise.
22436 (RUN_TEST_ff_i_tg): Likewise.
22437 (RUN_TEST_f_b): Likewise.
22438 (RUN_TEST_f_b_tg): Likewise.
22439 (RUN_TEST_f_l): Likewise.
22440 (RUN_TEST_f_L): Likewise.
22441 (RUN_TEST_sincos): Likewise.
22442 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22443 whether to show exceptions. Do not include ");\n" in return
22444 value.
22445 (special_functions): Output call to RUN_TEST_sincos instead of
22446 check_float calls. Update calls to new_test.
22447 (parse_args): Output call to single RUN_TEST_* macro instead of
22448 check_* calls and other assignments. Update calls to new_test.
22449
d8cd06db
JM
22450 [BZ #2546]
22451 [BZ #2560]
22452 [BZ #5159]
22453 [BZ #15426]
22454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22455 input to result for tgamma overflow.
22456 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22457 (gamma_coeff): New variable.
22458 (NCOEFF): New macro.
22459 (gamma_positive): New function.
22460 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22461 underflow here. Use gamma_positive instead of exp (lgamma) for
22462 other arguments.
22463 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22464 (gamma_coeff): New variable.
22465 (NCOEFF): New macro.
22466 (gammaf_positive): New function.
22467 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22468 underflow here. Use gamma_positive instead of exp (lgamma) for
22469 other arguments.
22470 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22471 (gamma_coeff): New variable.
22472 (NCOEFF): New macro.
22473 (gammal_positive): New function.
22474 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22475 underflow here. Use gamma_positive instead of exp (lgamma) for
22476 other arguments.
22477 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22478 (gamma_coeff): New variable.
22479 (NCOEFF): New macro.
22480 (gammal_positive): New function.
22481 (__ieee754_gammal_r): Handle positive infinity, overflow and
22482 underflow here. Handle NaN the same as positive infinity. Remove
22483 check x < 0xffffffff for negative integers. Use gamma_positive
22484 instead of exp (lgamma) for other arguments.
22485 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22486 (gamma_coeff): New variable.
22487 (NCOEFF): New macro.
22488 (gammal_positive): New function.
22489 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22490 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22494 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22495 * sysdeps/generic/math_private.h (__gamma_productf): New
22496 prototype.
22497 (__gamma_product): Likewise.
22498 (__gamma_productl): Likewise.
22499 * math/Makefile (libm-calls): Add gamma_product.
22500 * math/libm-test.inc (tgamma_test): Add more tests.
22501 * sysdeps/i386/fpu/libm-test-ulps: Update.
22502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22503
bb7cf681
OB
225042013-05-08 Ondřej Bílka <neleai@seznam.cz>
22505
22506 * benchtests/bench-skeleton.c (main): Preheat CPU.
22507
ba853947
AJ
225082013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22509
22510 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22511
8347c74c
RM
225122013-05-07 Roland McGrath <roland@hack.frob.com>
22513
22514 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22515 and _dl_skip_args_internal.
22516
e8dd4791
CD
225172013-05-07 Carlos O'Donell <carlos@redhat.com>
22518
22519 * manual/message.texi (Message Translation): Talk about users.
22520 Message to key mapping impacts design.
22521
c7405830
RM
225222013-05-06 Roland McGrath <roland@hack.frob.com>
22523
a9173057
RM
22524 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22525
976e2f03
RM
22526 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22527
9723ffc5
RM
22528 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22529 * sysdeps/wordsize-64/glob64.c: ... here.
22530
962e6658
RM
22531 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22532 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22533 New macros.
22534
ee586a6d
RM
22535 * debug/getlogin_r_chk.c: Moved to ...
22536 * login/getlogin_r_chk.c: ... here.
22537 * debug/Makefile (routines): Move getlogin_r_chk to ...
22538 * login/Makefile (routines): ... here.
22539 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22540 * login/Versions (libc: GLIBC_2.4): ... here.
22541
355f9165
RM
22542 * io/poll.c (__poll): Renamed from poll.
22543 Add libc_hidden_def.
22544 (poll): Define as weak alias.
22545
bd9ffde6
RM
22546 * debug/ptsname_r_chk.c: Moved to ...
22547 * login/ptsname_r_chk.c: ... here.
22548 * debug/Makefile (routines): Move ptsname_r_chk to ...
22549 * login/Makefile (routines): ... here.
22550 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22551 * login/Versions (libc: GLIBC_2.4): ... here.
22552
8fb16a04
RM
22553 * posix/getlogin.c: Moved to ...
22554 * login/getlogin.c: ... here.
22555 * posix/getlogin_r.c: Moved to ...
22556 * login/getlogin_r.c: ... here.
22557 * posix/getlogin_r.c: Moved to ...
22558 * login/getlogin_r.c: ... here.
22559 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22560 * login/Makefile (routines): ... here.
22561 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22562 * login/Versions (libc: GLIBC_2.0): ... here.
22563
b99b892f
RM
22564 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22565 (setrlimit): Define as weak alias.
22566
c7405830
RM
22567 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22568 Call __ names for open, ftruncate, and close.
22569 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22570 (truncate): Define as weak alias.
22571
5bf96de5
JM
225722013-05-06 Joseph Myers <joseph@codesourcery.com>
22573
9ea3513c
JM
22574 * math/gen-libm-test.pl (parse_args): Initialize x before each
22575 test of frexp, modf and remquo.
22576
5bf96de5
JM
22577 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22578 test signgam value.
22579
16e616a7
AZ
225802013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22581
22582 [BZ #15418]
22583 [BZ #15419]
22584 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22585 internal tests.
22586 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22587
d5e82754
RM
225882013-05-06 Roland McGrath <roland@hack.frob.com>
22589
22590 * elf/dl-writev.h: New file.
22591 * elf/dl-misc.c: Include it.
22592 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22593 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22594
a7548d41
JM
225952013-05-04 Joseph Myers <joseph@codesourcery.com>
22596
b7dab1e4
JM
22597 * math/libm-test.inc (noXFails): Remove variable.
22598 (noXPasses): Likewise.
22599 (BUILD_COMPLEX_INT): Remove macro.
22600 (print_screen): Remove xfail argument.
22601 (print_screen_max_error): Likewise.
22602 (update_stats): Likewise.
22603 (print_max_error): Likewise. Update calls to other affected
22604 functions.
22605 (print_complex_max_error): Likewise.
22606 (test_single_exception): Update calls to print_screen.
22607 (test_single_errno): Likewise.
22608 (check_float_internal): Remove xfail argument. Update calls to
22609 other affected functions.
22610 (check_float): Likewise.
22611 (check_complex): Likewise.
22612 (check_int): Likewise.
22613 (check_long): Likewise.
22614 (check_bool): Likewise.
22615 (check_longlong): Likewise.
22616 (main): Don't print noXFails and noXPasses.
22617 * math/gen-libm-test.pl (top level): Don't mention expected
22618 failure handling in comment.
22619 (new_test): Don't handle expected failures.
22620 (parse_args): Don't mention expected failure handling in comment.
22621 (generate_testfile): Don't handle expected failures.
22622 (parse_ulps): Likewise.
22623 (print_ulps_file): Likewise.
22624 (get_failure): Remove function.
22625 (output_test): Don't handle expected failures.
22626 * make/README.libm-test: Don't mention expected failure handling.
22627
a7548d41
JM
22628 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22629 (minus_zero): Likewise.
22630 (plus_infty): Likewise.
22631 (minus_infty): Likewise.
22632 (qnan_value): Likewise.
22633 (max_value): Likewise.
22634 (min_value): Likewise.
22635 (min_subnorm_value): Likewise.
22636 (initialize): Do not initialize those variables dynamically.
22637
60bfd54c
RM
226382013-05-03 Roland McGrath <roland@hack.frob.com>
22639
cc0e6ed8
RM
22640 * io/open.c (__open_2): Moved to ...
22641 * io/open_2.c: ... this new file.
22642 * io/open64.c (__open64_2): Moved to ...
22643 * io/open64_2.c: ... this new file.
22644 * io/openat.c (__openat_2): Moved to ...
22645 * io/openat_2.c: ... this new file.
22646 * io/openat64.c (__openat64_2): Moved to ...
22647 * io/openat64_2.c: ... this new file.
22648 * io/Makefile (routines): Add them.
22649 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22650 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22651 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22652 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22653 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22654 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22655 (__openat64): Add hidden_ver.
22656 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22657 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22658
60bfd54c
RM
22659 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22660 Separately conditionalize setting of GLRO(dl_sysinfo) so
22661 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22662 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22663
83e7640f
AZ
226642013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22665
22666 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22667 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22668 definition.
22669 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22670 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22671 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22672 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22673 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22674
d5dc2af3
JM
226752013-05-03 Joseph Myers <joseph@codesourcery.com>
22676
c31a5b1e
JM
22677 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22678 test signgam value.
22679
d5dc2af3
JM
22680 * math/libm-test.inc (hypot_test): Do not use
22681 IGNORE_ZERO_INF_SIGN.
22682
164fd39d
AJ
226832013-05-03 Andreas Jaeger <aj@suse.de>
22684
22685 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22686 Linux 3.9.
22687 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22688 (PF_MAX): Adjust for VSOCK change.
22689
8237f48c
AZ
226902013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22691
22692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22693
9df02941
CD
226942013-05-02 Carlos O'Donell <carlos@redhat.com>
22695
22696 [BZ #15264]
22697 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22698 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22699 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22700
d422395e
DM
227012013-05-02 David S. Miller <davem@davemloft.net>
22702
22703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22704
a07c5731
OB
227052013-05-01 Ondřej Bílka <neleai@seznam.cz>
22706
22707 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22708
1324e37f
RM
227092013-05-01 Roland McGrath <roland@hack.frob.com>
22710
22711 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22712
0695940b
RS
227132013-05-01 Richard Smith <richard@metafoo.co.uk>
22714
bb5f27ad 22715 [BZ #14952]
0695940b
RS
22716 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22717 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22718 Use __attribute__ ((__gnu_inline__)).
22719 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22720 Don't use __attribute__ ((__gnu_inline__)).
22721
10de07f5
JM
227222013-05-01 Joseph Myers <joseph@codesourcery.com>
22723
22724 [BZ #15423]
22725 * math/s_catan.c (__catan): Handle small real or imaginary part of
22726 input specially to avoid spurious underflow.
22727 * math/s_catanf.c (__catanf): Likewise.
22728 * math/s_catanh.c (__catanh): Likewise.
22729 * math/s_catanhf.c (__catanhf): Likewise.
22730 * math/s_catanhl.c (__catanhl): Likewise.
22731 * math/s_catanl.c (__catanl): Likewise.
22732 * math/libm-test.inc (catan_test): Add more tests.
22733 (catanh_test): Likewise.
22734 * sysdeps/i386/fpu/libm-test-ulps: Update.
22735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22736
cb4d5414
AZ
227372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22738
22739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22740
caf84319
JM
227412013-04-30 Joseph Myers <joseph@codesourcery.com>
22742
22743 [BZ #15416]
22744 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22745 accurately for denominator in atan2.
22746 * math/s_catanf.c (__catanf): Likewise.
22747 * math/s_catanh.c (__catanh): Likewise.
22748 * math/s_catanhf.c (__catanhf): Likewise.
22749 * math/s_catanhl.c (__catanhl): Likewise.
22750 * math/s_catanl.c (__catanl): Likewise.
22751 * math/libm-test.inc (catan_test): Add more tests.
22752 (catanh_test): Likewise.
22753 * sysdeps/i386/fpu/libm-test-ulps: Update.
22754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22755
d569c6ee
SP
227562013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22757
6dbe713d
SP
22758 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22759
f0ee064b
SP
22760 * benchtests/Makefile (bench): Remove slow benchmarks.
22761 * benchtests/atan-inputs: Add slow benchmark inputs.
22762 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22763 (BENCH_FUNC): Accept variant offset.
22764 (VARIANT): Define.
22765 * benchtests/bench-skeleton.c (main): Run benchmark for each
22766 variant.
22767 * benchtests/cos-inputs: Add slow benchmark inputs.
22768 * benchtests/exp-inputs: Likewise.
22769 * benchtests/pow-inputs: Likewise.
22770 * benchtests/sin-inputs: Likewise.
22771 * benchtests/slowatan-inputs: Remove.
22772 * benchtests/slowatan.c: Remove.
22773 * benchtests/slowcos-inputs: Remove.
22774 * benchtests/slowcos.c: Remove.
22775 * benchtests/slowexp-inputs: Remove.
22776 * benchtests/slowexp.c: Remove.
22777 * benchtests/slowpow-inputs: Remove.
22778 * benchtests/slowpow.c: Remove.
22779 * benchtests/slowsin-inputs: Remove.
22780 * benchtests/slowsin.c: Remove.
22781 * benchtests/slowtan-inputs: Remove.
22782 * benchtests/slowtan.c: Remove.
22783 * benchtests/tan-inputs: Add slow benchmark inputs.
22784 * scripts/bench.pl: Parse comments and directives.
22785
d569c6ee
SP
22786 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22787 in CPPFLAGS.
22788 ($(objpfx)bench-%.c): Remove *-ITER.
22789 * benchtests/bench-modf.c: Remove definition of ITER.
22790 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22791 (main): Loop for DURATION seconds instead of fixed number of
22792 iterations.
22793 * scripts/bench.pl: Don't expect iterations in parameters.
22794
a6a242fe
RM
227952013-04-29 Roland McGrath <roland@hack.frob.com>
22796
22797 * io/fchdir.c (__fchdir): Renamed from fchdir.
22798 (fchdir): Define as weak alias.
22799
f2da7793
JM
228002013-04-29 Joseph Myers <joseph@codesourcery.com>
22801
22802 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22803 (ERRNO_EDOM): Likewise.
22804 (ERRNO_ERANGE): Likewise.
22805 (noErrnoTests): New variable.
22806 (init_max_error): Set errno to 0.
22807 (test_single_errno): New function.
22808 (test_errno): Likewise.
22809 (check_float_internal): Call test_errno. Set errno to 0.
22810 (check_complex): Refer to errno tests in comment.
22811 (check_int): Call test_errno. Set errno to 0.
22812 (check_long): Likewise.
22813 (check_bool): Likewise.
22814 (check_longlong): Likewise.
22815 (cos_test): Use ERRNO_* flags for errno tests instead of
22816 check_int.
22817 (expm1_test): Likewise.
22818 (fmod_test): Likewise.
22819 (ilogb_test): Likewise.
22820 (lgamma_test): Likewise.
22821 (pow_test): Likewise.
22822 (remainder_test): Likewise.
22823 (sin_test): Likewise.
22824 (tan_test): Likewise.
22825 (yn_test): Likewise.
22826 (initialize): Set errno to 0.
22827 (main): Print number of errno tests.
22828 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22829
b1a36ceb
AJ
228302013-04-29 Andreas Jaeger <aj@suse.de>
22831
c3ed8088
AJ
22832 [BZ #15084]
22833 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22834 and RES_USEVC.
22835
f1a24198
AJ
22836 [BZ #15085]
22837 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22838 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22839 unimplemented.
22840
9ce3b2cb
AJ
22841 [BZ #15380]
22842 * stdlib/random.c (__initstate): Return NULL if
22843 __initstate fails.
22844
f1a24198 22845 [BZ #15086]
b1a36ceb
AJ
22846 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22847 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22848 RES_SNGLKUPREOP.
22849
7e7b6f36
AZ
228502013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22851
22852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22853
4d14f449
JM
228542013-04-29 Joseph Myers <joseph@codesourcery.com>
22855
22856 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22857 of individual tests.
22858 (casin_test): Likewise.
22859 (casinh_test): Likewise.
22860
5b4217d7
JM
228612013-04-27 Joseph Myers <joseph@codesourcery.com>
22862
22863 [BZ #15409]
22864 * math/s_catan.c (__catan): Handle arguments with large real or
22865 imaginary part separately without squaring.
22866 * math/s_catanf.c (__catanf): Likewise.
22867 * math/s_catanh.c (__catanh): Likewise.
22868 * math/s_catanhf.c (__catanhf): Likewise.
22869 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22870 and redefine.
22871 (__catanhl): Handle arguments with large real or imaginary part
22872 separately without squaring.
22873 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22874 and redefine.
22875 (__catanl): Handle arguments with large real or imaginary part
22876 separately without squaring.
22877 * math/libm-test.inc (catan_test): Add more tests.
22878 (catanh_test): Likewise.
22879 * sysdeps/i386/fpu/libm-test-ulps: Update.
22880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22881
4220c3ef
AJ
228822013-04-27 Andreas Jaeger <aj@suse.de>
22883
22884 [BZ #15007]
22885 * stdlib/stdlib.h: Update guards for qecvt.
22886 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22887 <stdlib.h>.
22888
4721b2d1
AM
228892013-04-27 Allan McRae <allan@archlinux.org>
22890
22891 * sysdeps/i386/fpu/libm-test-ulps: Update.
22892
f0302940
JM
228932013-04-26 Joseph Myers <joseph@codesourcery.com>
22894
9457fd95
JM
22895 [BZ #15406]
22896 * math/s_catan.c: Include <float.h>.
22897 (__catan): Ensure underflow exception occurs for underflowed
22898 result.
22899 * math/s_catanf.c: Include <float.h>.
22900 (__catanf): Ensure underflow exception occurs for underflowed
22901 result.
22902 * math/s_catanh.c: Include <float.h>.
22903 (__catanh): Ensure underflow exception occurs for underflowed
22904 result.
22905 * math/s_catanhf.c: Include <float.h>.
22906 (__catanhf): Ensure underflow exception occurs for underflowed
22907 result.
22908 * math/s_catanhl.c: Include <float.h>.
22909 (__catanhl): Ensure underflow exception occurs for underflowed
22910 result.
22911 * math/s_catanl.c: Include <float.h>.
22912 (__catanl): Ensure underflow exception occurs for underflowed
22913 result.
22914 * math/libm-test.inc (catan_test): Add more tests.
22915 (catanh_test): Likewise.
22916
f0302940
JM
22917 [BZ #15405]
22918 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22919 underflowed result.
22920 * math/s_ccoshf.c (__ccoshf): Likewise.
22921 * math/s_ccoshl.c (__ccoshl): Likewise.
22922 * math/s_csin.c (__csin): Likewise.
22923 * math/s_csinf.c (__csinf): Likewise.
22924 * math/s_csinh.c (__csinh): Likewise.
22925 * math/s_csinhf.c (__csinhf): Likewise.
22926 * math/s_csinhl.c (__csinhl): Likewise.
22927 * math/s_csinl.c (__csinl): Likewise.
22928 * math/libm-test.inc (ccos_test): Add more tests.
22929 (ccosh_test): Likewise.
22930 (csin_test): Likewise.
22931 (csinh_test): Likewise.
22932
aa630f59
AZ
229332013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22934
22935 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22936 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22937 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22938 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22939 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22940 powerpc/power5+/fpu folders.
22941 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22942
22943
1b835983
MT
229442013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22945
22946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22947
73709b26
JM
229482013-04-25 Joseph Myers <joseph@codesourcery.com>
22949
22950 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22951 additions to variable.
22952 [$(config-machine) = x86_64] (modules-names): Likewise.
22953 ($(objpfx)tst-audit3): Remove dependency.
22954 ($(objpfx)tst-audit3.out): Likewise.
22955 ($(objpfx)tst-audit4): Likewise.
22956 ($(objpfx)tst-audit4.out): Likewise.
22957 ($(objpfx)tst-audit5): Likewise.
22958 ($(objpfx)tst-audit5.out): Likewise.
22959 ($(objpfx)tst-audit6): Likewise.
22960 ($(objpfx)tst-audit6.out): Likewise.
22961 ($(objpfx)tst-audit7): Likewise.
22962 ($(objpfx)tst-audit7.out): Likewise.
22963 (tst-audit3-ENV): Remove variable.
22964 (tst-audit4-ENV): Likewise.
22965 (tst-audit5-ENV): Likewise.
22966 (tst-audit6-ENV): Likewise.
22967 (tst-audit7-ENV): Likewise.
22968 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22969 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22970 addition to variable.
22971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22974 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22975 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22976 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22977 tst-audit3, tst-audit4 and tst-audit5.
22978 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22979 tst-audit6 and tst-audit7.
22980 [$(subdir) = elf] (modules-names): Add audit modules for those
22981 tests.
22982 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22983 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22984 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22985 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22986 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22987 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22988 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22989 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22990 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22991 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22992 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22993 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22994 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22995 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22996 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22997 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22998 Likewise.
22999 [$(subdir) = elf && $(config-cflags-avx) = yes]
23000 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23001 [$(subdir) = elf && $(config-cflags-avx) = yes]
23002 (CFLAGS-tst-auditmod4a.c): Likewise.
23003 [$(subdir) = elf && $(config-cflags-avx) = yes]
23004 (CFLAGS-tst-auditmod4b.c): Likewise.
23005 [$(subdir) = elf && $(config-cflags-avx) = yes]
23006 (CFLAGS-tst-auditmod6b.c): Likewise.
23007 [$(subdir) = elf && $(config-cflags-avx) = yes]
23008 (CFLAGS-tst-auditmod6c.c): Likewise.
23009 [$(subdir) = elf && $(config-cflags-avx) = yes]
23010 (CFLAGS-tst-auditmod7b.c): Likewise.
23011 * elf/tst-audit3.c: Move to ...
23012 * sysdeps/x86_64/tst-audit3.c: ... here.
23013 * elf/tst-audit4.c: Move to ...
23014 * sysdeps/x86_64/tst-audit4.c: ... here.
23015 * elf/tst-audit5.c: Move to ...
23016 * sysdeps/x86_64/tst-audit5.c: ... here.
23017 * elf/tst-audit6.c: Move to ...
23018 * sysdeps/x86_64/tst-audit6.c: ... here.
23019 * elf/tst-audit7.c: Move to ...
23020 * sysdeps/x86_64/tst-audit7.c: ... here.
23021 * elf/tst-auditmod3a.c: Move to ...
23022 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23023 * elf/tst-auditmod3b.c: Move to ...
23024 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23025 * elf/tst-auditmod4a.c: Move to ...
23026 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23027 * elf/tst-auditmod4b.c: Move to ...
23028 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23029 * elf/tst-auditmod5a.c: Move to ...
23030 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23031 * elf/tst-auditmod5b.c: Move to ...
23032 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23033 * elf/tst-auditmod6a.c: Move to ...
23034 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23035 * elf/tst-auditmod6b.c: Move to ...
23036 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23037 * elf/tst-auditmod6c.c: Move to ...
23038 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23039 * elf/tst-auditmod7a.c: Move to ...
23040 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23041 * elf/tst-auditmod7b.c: Move to ...
23042 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23043
1ef74943
PP
230442013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23045
23046 [BZ #15366]
23047 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23048 define unconditionally.
23049 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23050 define unconditionally.
23051 (INT8_C, INT16_C, etc.): Likewise.
23052
93fd48c5
MR
230532013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23054
ae9552cf
MR
23055 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23056 __ehdr_start with hidden visibility.
23057
93fd48c5
MR
23058 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23059
418601aa
CD
230602013-04-24 Carlos O'Donell <carlos@redhat.com>
23061
23062 * math/libm-test.inc (cos_test): Use accurate hex constants.
23063 (sincost_test): Likewise.
23064
2f38fbfe
JM
230652013-04-24 Joseph Myers <joseph@codesourcery.com>
23066
5e221800
JM
23067 * math/libm-test.inc (catan_test): Add more tests.
23068 (catanh_test): Likewise.
23069
77f143fd
JM
23070 * math/s_catanf.c (__catanf): Use suffixed floating-point
23071 constants.
23072 * math/s_catanhf.c (__catanhf): Likewise.
23073 * math/s_catanhl.c (__catanhl): Likewise.
23074 * math/s_catanl.c (__catanl): Likewise.
23075
2f38fbfe
JM
23076 [BZ #15394]
23077 * math/s_catan.c (__catan): Calculate imaginary part of result
23078 with log1p not log unless computing log of number close to 0.
23079 * math/s_catanf.c (__catanf): Likewise.
23080 * math/s_catanl.c (__catanl): Likewise.
23081 * math/s_catanh.c (__catanh): Calculate real part of result with
23082 log1p not log unless computing log of number close to 0.
23083 * math/s_catanhf.c (__catanhf): Likewise.
23084 * math/s_catanhl.c (__catanhl): Likewise.
23085 * math/libm-test.inc (catan_test): Add more tests.
23086 (catanh_test): Likewise.
23087 * sysdeps/i386/fpu/libm-test-ulps: Update.
23088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23089
45d69176
SP
230902013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23091
23092 * benchtests/Makefile: Mention files in which fast and slow
23093 paths of math functions are implemented.
23094
87f51853
RM
230952013-04-23 Roland McGrath <roland@hack.frob.com>
23096
23097 * sysdeps/posix/timespec_get.c: New file.
23098
3c026539
AZ
230992013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23100
23101 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23102 POWER.
23103 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23104 for POWER.
23105 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23106 powerpc/power5/fpu folders.
23107 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23108 * benchtests/Makefile: Add modf testcase.
23109 * benchtests/bench-modf.c: New file: Benchmark test for mo
23110
ff491d14
SP
231112013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23112
23113 [BZ #14888]
23114 * time/Makefile (tests): Add tst-strptime-whitespace.
23115 * time/strptime_l.c (get_number): Use ISSPACE.
23116 (__strptime_internal): Likewise.
23117 * time/tst-strptime-whitespace.c: New test case.
23118
7ed3f4e8
AS
231192013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23120
23121 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23122 member.
23123 (_nss_files_init): Set it here.
23124
5c95f7b6
HC
231252013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23126
23127 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23128 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23129 unsigned.
23130
d34c9158
JBG
231312013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23132
23133 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23134
2169712d
SP
231352013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23136
23137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23138 size just once.
23139
29c5de99
DM
231402013-04-21 David S. Miller <davem@davemloft.net>
23141
23142 * po/ru.po: Update Russion translation from translation project.
23143
ccdad15d
AC
231442013-04-17 Adam Conrad <adconrad@0c3.net>
23145
23146 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23147 and setfsgid.
23148
0f122b8d
CD
231492013-04-17 Carlos O'Donell <carlos@redhat.com>
23150
5c5b07da 23151 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23152 * configure: Regenerate.
5c5b07da 23153 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23154 Add example to error message.
23155 * sysdeps/i386/configure: Regenerate.
23156
037714dd
SP
231572013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23158
23159 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23160 slowtan.
23161 * benchtests/cos-inputs: New file.
23162 * benchtests/slowcos-inputs: New file.
23163 * benchtests/slowcos.c: New file.
23164 * benchtests/slowtan-inputs: New file.
23165 * benchtests/slowtan.c: New file.
23166 * benchtests/tan-inputs: New file.
23167
e913141d
RM
231682013-04-16 Roland McGrath <roland@hack.frob.com>
23169
23170 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23171 considered kosher.
23172
a2964074
SP
231732013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23174
4856bcd2
SP
23175 * benchtests/Makefile: Include cppflags-iterator.mk to add
23176 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23177
a2964074
SP
23178 * Makefile.in (bench-clean): New target.
23179 * benchtests/Makefile (bench-clean): Likewise.
23180
9fbf9aca
DH
231812013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23182
23183 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23184
207d1e2a
TS
231852013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23186
23187 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23188
306dfba9
AS
231892013-04-15 Andreas Schwab <schwab@suse.de>
23190
23191 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23193 * nscd/pwdcache.c (cache_addpw): Likewise.
23194 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23195 more than recsize.
23196
206a6699
SP
231972013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23198
23199 * benchtests/Makefile (bench): Write all output to
23200 bench-out.tmp together.
23201
0582f6b3
AS
232022013-04-15 Andreas Schwab <schwab@suse.de>
23203
23204 * nscd/nscd.c (main): Don't fork again after closing files.
23205
acb4325f
SP
232062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23207
5cb26d0a
SP
23208 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23209
acb4325f
SP
23210 * benchtests/Rules (bench-deps): Collect dependencies into a
23211 single variable. Add Makefile to dependencies.
23212 ($(objpfx)bench-%.c): Depend on bench-deps.
23213
47792506
RM
232142013-04-12 Roland McGrath <roland@hack.frob.com>
23215 Xavier Roche <roche+kml2@exalead.com>
23216
23217 [BZ #15361]
23218 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23219 just that it's a file descriptor.
23220 * manual/llio.texi (Synchronizing AIO Operations): Update description
23221 for EBADF error from aio_fsync.
23222
8fc1bee5
SP
232232013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23224
23225 * Rules (bench): Move target definition...
23226 * benchtests/Makefile: ... here.
23227
aba5e333
CD
232282013-04-11 Carlos O'Donell <carlos@redhat.com>
23229
23230 * math/libm-test.inc (cos_test): Fix PI/2 test.
23231 (sincos_test): Likewise.
23232 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23233 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23234
273cdee8
AS
232352013-04-11 Andreas Schwab <schwab@suse.de>
23236
6ecec3b6
AS
23237 [BZ #13988]
23238 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23239 accept exponent character only when digits were seen.
23240 * stdio-common/Makefile (tests): Add bug26.
23241 * stdio-common/bug26.c: New file.
23242
273cdee8
AS
23243 [BZ #14293]
23244 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23245 non-freeable.
23246
8da491f5
SP
232472013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23248
01dc6df9
SP
23249 * Makeconfig (rtld-prefix): Define built linker prefix.
23250 * Rules (run-bench): Use it.
23251 * math/Makefile (run-regen-ulps): Likewise.
23252
8da491f5
SP
23253 * Rules (bench): Remove eval.
23254
abe7f530
SP
232552013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23256 Roland McGrath <roland@hack.frob.com>
23257 Ondrej Bilka <neleai@seznam.cz>
23258
23259 [BZ #15346]
23260 * time/getdate.c: Include ctype.h and alloca.h.
23261 (__getdate_r): Trim leading and trailing spaces of input.
23262 * time/tst-getdate.c (tests): Add tests with leading and
23263 trailing spaces.
23264
61c23e62
RM
232652013-04-08 Roland McGrath <roland@hack.frob.com>
23266
23267 [BZ #14280]
23268 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23269 when computing value.
23270
7208a313
CD
232712013-04-06 Carlos O'Donell <carlos@redhat.com>
23272
085b2d41
CD
23273 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23274 Use testrun.sh to run libm tests.
23275
7208a313
CD
23276 [BZ #15309]
23277 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23278
872c0acd
MM
232792013-04-06 Marko Myllynen <myllynen@redhat.com>
23280
23281 [BZ #15264]
23282 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23283
26510bdd
CD
232842013-04-06 Carlos O'Donell <carlos@redhat.com>
23285
23286 * Makefile.in (regen-ulps): New target.
23287 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23288 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23289 [ifneq (no,$(PERL)] (regen-ulps): New target.
23290 [ifeq (no,$(PERL)] (regen-ulps): New target.
23291 * math/libm-test.inc (ulps_file_name): Define.
23292 (output_dir): New variable.
23293 (options): Add "output-dir" option.
23294 (parse_opt): Handle 'o' case.
23295 (main): If output_dir is non-NULL use it as a prefix
23296 otherwise use "".
23297 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23298
a01f19c8
CD
232992013-04-06 Carlos O'Donell <carlos@redhat.com>
23300
23301 [BZ #10060, #10062]
23302 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23303 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23304 fail configure if __sync_val_compare_and_swap is not inlined.
23305 * sysdeps/i386/configure: Regenerate.
23306 * configure.in: Build for i686 when configured for i386.
23307 * configure: Regenerate.
23308 * README: Remove i386 reference.
23309
b7a329a5
CD
233102013-04-06 Carlos O'Donell <carlos@redhat.com>
23311
23312 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23313 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23314
bf0f50df
TS
233152013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23316
ee091edf
TS
23317 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23318 (lmsnanval): New variables.
23319 (F): Add conversion tests.
23320 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23321 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23322
a8b792d6
TS
23323 * stdio-common/tstdiomisc.c (F): Properly collect individual
23324 tests' results.
23325
a1cbf437
TS
23326 [BZ #14686, #15336]
23327 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23328 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23329 Instead, use input NaN values or generate a qNaN by arithmetic
23330 operation. Also fix bugs to comply with the standard.
23331 * math/libm-test.inc (remainder_test): Add more tests.
23332
8b43a0c9
TS
23333 [BZ #15335, #15342]
23334 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23336 input NaN values or generate a qNaN by arithmetic operation.
23337
d91da4ce
TS
23338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23339 unreachable code.
23340
bf0f50df
TS
23341 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23342 definitions.
23343
05e166c8
JM
233442013-04-03 Joseph Myers <joseph@codesourcery.com>
23345
23346 [BZ #14478]
23347 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23348 underflowed result.
23349 * math/s_cexpf.c (__cexpf): Likewise.
23350 * math/s_cexpl.c (__cexpl): Likewise.
23351 * math/libm-test.inc (cexp_test): Add more tests.
23352
1cef1b19
AS
233532013-04-03 Andreas Schwab <schwab@suse.de>
23354
23355 [BZ #15330]
23356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23357 order arrays from heap if bigger than alloca cutoff.
23358
74d87055
TS
233592013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23360
23361 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23362 (SNAN_TESTS_double): Refer to GCC PR56831.
23363 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23364 GCC PR56828.
23365
d755bba4
SP
233662013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23367
90d5d5bb
SP
23368 * Rules (bench): Move bench.out after the run is complete.
23369
73e0cd5d
SP
23370 * Rules (bench): Echo currently running benchmark.
23371
64aabd4b
SP
23372 * benchtests/Makefile (bench): Add atan and slowatan.
23373 * benchtests/atan-inputs: New file.
23374 * benchtests/slowatan-inputs: New file.
23375 * benchtests/slowatan.c: New file.
23376
c871eccd
SP
23377 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23379 its value.
23380
d755bba4
SP
23381 [BZ #15305]
23382 * sysdeps/unix/sysv/linux/kernel-features.h
23383 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23384 __ASSUME_XFS_RESTRICTED_CHOWN.
23385 * sysdeps/unix/sysv/linux/pathconf.c
23386 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23387 Save and restore errno.
23388
52ce4860
JM
233892013-04-02 Joseph Myers <joseph@codesourcery.com>
23390
23391 [BZ #15327]
23392 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23393 arguments using __kernel_casinh.
23394 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23395 arguments using __kernel_casinhf.
23396 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23397 arguments using __kernel_casinhl.
23398 * math/libm-test.inc (cacosh_test): Add more tests.
23399 * sysdeps/i386/fpu/libm-test-ulps: Update.
23400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23401
81f311c2
SP
234022013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23403
e7906a47
SP
23404 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23406
92e3664b
SP
23407 * bench/Makefile (bench): Add sin and slowsin.
23408 * benchtests/sin-inputs: New file.
23409 * benchtests/slowsin-inputs: New file.
23410 * benchtests/slowsin.c: New file.
23411
81f311c2
SP
23412 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23413 (bench): Add slowexp and slowpow.
23414 (exp-ITER): Increase iterations.
23415 (pow-ITER): Likewise.
23416 * benchtests/exp-inputs: Change input.
23417 * benchtests/pow-inputs: Likewise.
23418 * benchtests/slowexp-inputs: New file.
23419 * benchtests/slowexp.c: New file.
23420 * benchtests/slowpow-inputs: New file.
23421 * benchtests/slowpow.c: New file.
23422
ab0f1aa9
AZ
234232013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23424
23425 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23426 instructions.
23427 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23428 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23429 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23430 * benchtests/Makefile: Add rint benchtest.
23431 * benchtests/rint-inputs: Input for rint benchtest.
23432
57267616
TS
234332013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23434
23435 * Versions.def (libm): Add GLIBC_2.18.
23436 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23437 hidden libm prototypes.
23438 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23439 * math/Makefile (libm-calls): Add s_issignaling.
23440 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23441 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23442 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23443 declaration.
23444 * math/math.h [__USE_GNU] (issignaling): New macro.
23445 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23446 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23451 * manual/arith.texi (issignaling): New section.
23452 * manual/libm-err-tab.pl (@all_functions): Update comment.
23453 * math/gen-libm-test.pl (parse_args): Apply special handling for
23454 issignaling.
23455 * math/libm-test.inc (print_float, issignaling_test): New
23456 functions.
23457 (check_float_internal): Add issignaling checks.
23458 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23459 default definition.
23460 * sysdeps/powerpc/math-tests.h: New file.
23461 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23462 tests.
23463 * math/test-snan.c (TEST_FUNC): Likewise.
23464
6142896d
DM
234652013-03-30 David S. Miller <davem@davemloft.net>
23466
23467 * po/de.po: Update from translation team.
23468
ccc8cadf
JM
234692013-03-30 Joseph Myers <joseph@codesourcery.com>
23470
23471 [BZ #10357]
23472 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23473 imaginary part less than 1.0 and real part less than 0.5
23474 specially.
23475 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23476 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23477 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23478 (cacos_test): Add more tests.
23479 (casin_test): Likewise.
23480 (casinh_test): Likewise.
23481 * sysdeps/i386/fpu/libm-test-ulps: Update.
23482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23483
0f6a8d4b
SP
234842013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23485
0d1029de
SP
23486 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23487 ONE with its value.
23488
c2d94018
SP
23489 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23490 (__pow_mp): Replace ONE and MONE with their values.
23491 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23492 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23493 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23494 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23495 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23496 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23497
27ec37f1
SP
23498 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23499
a64d7e0e
SP
23500 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23501 (__pow_mp): Replace ZERO and MZERO with their values.
23502 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23503 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23504 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23505 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23506 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23507 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23508 (__sqr): Likewise.
23509
d26dd3eb
SP
23510 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23511
0f6a8d4b
SP
23512 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23513
e57b0c61
RM
235142013-03-28 Roland McGrath <roland@hack.frob.com>
23515
23516 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23517 Declare with __attribute__ ((weak)).
23518 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23519 Call __call_tls_dtors only if it's not NULL.
23520
356b3480
RM
235212013-03-28 Roland McGrath <roland@hack.frob.com>
23522
288f7d79
RM
23523 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23524 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23525 magic __ehdr_start linker symbol if it's defined.
23526 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23527 them up here if it was already done.
23528
dc0a0263
RM
23529 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23530 (_dl_aux_init): Use const in cast when setting it.
23531 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23532 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23533 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23534
3d3436ae
RM
23535 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23536 Declare them here.
23537 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23538 * csu/libc-tls.c: Nor here.
23539 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23540
356b3480
RM
23541 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23542 (__libc_message): Never call vsyslog.
23543
b0f1246a
AM
235442013-03-28 Alan Modra <amodra@gmail.com>
23545
23546 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23547 Define as empty.
23548 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23549 Likewise.
23550
fbbe2b9a
AZ
235512013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23552
23553 [BZ #15214]
23554 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23555 underflow.
23556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23557
1728ab37
SP
235582013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23559
7a86be6e
SP
23560 [BZ #15304]
23561 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23562 Don't add gid passed as argument.
23563
1728ab37
SP
23564 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23565
3a7182a1
JM
235662013-03-27 Joseph Myers <joseph@codesourcery.com>
23567
23568 [BZ #15307]
23569 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23570 imaginary part between 1.0 and 1.5 and real part less than 0.5
23571 specially.
23572 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23573 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23574 * math/libm-test.inc (cacos_test): Add more tests.
23575 (casin_test): Likewise.
23576 (casinh_test): Likewise.
23577 * sysdeps/i386/fpu/libm-test-ulps: Update.
23578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23579
6f2e90e7
SP
235802013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23581
5739f705
SP
23582 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23583 constants.
23584 (norm): Likewise.
23585 (denorm): Likewise.
23586 (__dbl_mp): Likewise.
23587 (add_magnitudes): Likewise.
23588 (sub_magnitudes): Likewise.
23589 (__add): Likewise.
23590 (__sub): Likewise.
23591 (__mul): Likewise.
23592 (__sqr): Likewise.
23593 (__inv): Likewise.
23594 (__dvd): Likewise.
23595
e375e83d
SP
23596 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23597 commented code.
23598 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23599 (__dubcos): Likewise.
23600 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23601 (__ieee754_acos): Likewise.
23602 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23603 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23604 (__exp1): Likewise.
23605 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23607 (log1): Likewise.
23608 (my_log2): Likewise.
23609 (checkint): Likewise.
23610 * sysdeps/ieee754/dbl-64/e_remainder.c
23611 (__ieee754_remainder): Likewise.
23612 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23614 (bsloww): Likewise.
23615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23616
6f2e90e7
SP
23617 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23618 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23619 MANTISSA_STORE_T to store computations on mantissa. Use
23620 macros for rounding and division.
23621 (denorm): Likewise.
23622 (__dbl_mp): Likewise.
23623 (add_magnitudes): Likewise.
23624 (sub_magnitudes): Likewise.
23625 (__mul): Likewise.
23626 (__sqr): Likewise.
23627 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23628 powers of two in terms of TWOPOW macro.
23629 (mp_no): Make type of mantissa as MANTISSA_T.
23630 [!RADIXI]: Define RADIXI.
23631 [!TWO52]: Define TWO52.
23632 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23633
fce14d4e
AZ
236342013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23635
23636 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23637 llroundl symbol when building for PPC32.
23638
9ad027fb
MW
236392013-03-24 Mark H Weaver <mhw@netris.org>
23640
23641 * manual/arith.texi (Normalization Functions): Fix prototypes for
23642 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23643
e42a38dd
AZ
236442013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23645
23646 [BZ #13889]
23647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23648 high value to check if expl overflow.
23649 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23650 to check for underflow and overflow.
23651 * math/libm-test.inc: Add exp test.
23652
2e0fb521
DL
236532013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23654
23655 [BZ #11120]
23656 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23657 with NOT_IN_libc.
23658
b5784d95
AZ
236592013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23660
23661 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23662 symbol.
23663
5aa4a1a1
TS
236642013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23665
bdef0be7
TS
23666 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23667 wrap blocks consisting of several statements.
23668
5aa4a1a1
TS
23669 * sysdeps/generic/math-tests.h: New file.
23670 * sysdeps/i386/fpu/math-tests.h: Likewise.
23671 * math/test-snan.c: Include it.
23672 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23673
98c48fe5
JM
236742013-03-21 Joseph Myers <joseph@codesourcery.com>
23675
23676 [BZ #15285]
23677 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23678 (__ieee754_j0l): Do not improve calculations using cos of twice
23679 input for inputs above LDBL_MAX / 2.0L.
23680 (__ieee754_y0l): Likewise.
23681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23682 (__ieee754_j1l): Do not improve calculations using cos of twice
23683 input for inputs above LDBL_MAX / 2.0L.
23684 (__ieee754_y1l): Likewise.
23685 * math/libm-test.inc (j0_test): Add another test.
23686 (j1_test): Likewise.
23687 (y0_test): Likewise.
23688 (y1_test): Likewise.
23689 * sysdeps/i386/fpu/libm-test-ulps: Update.
23690
3775a8bc
SP
236912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23692
23693 * Rules ($(objpfx)bench-%.c): Include code from a C source
23694 file.
23695
0a1b2ae6
JM
236962013-03-21 Joseph Myers <joseph@codesourcery.com>
23697
23698 [BZ #15287]
23699 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23700 imaginary part 1.0 and real part less than 0.5 specially.
23701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23703 * math/libm-test.inc (cacos_test): Add more tests.
23704 (casin_test): Likewise.
23705 (casinh_test): Likewise.
23706 * sysdeps/i386/fpu/libm-test-ulps: Update.
23707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23708
b33d4ce4
SP
237092013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23710
23711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23712 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23713
bef0b507
JM
237142013-03-20 Joseph Myers <joseph@codesourcery.com>
23715
23716 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23717 * config.make.in (config-cflags-sse4): Remove variable.
23718 (config-cflags-avx): Likewise.
23719 (config-cflags-sse2avx): Likewise.
23720 (config-cflags-novzeroupper): Likewise.
23721 (config-asflags-i686): Likewise.
23722 (have-mfma4): Likewise.
23723 (have-as-vis3): Likewise.
23724 (MIG): Likewise.
23725 * configure.in (MIG): Do not AC_SUBST.
23726 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23727 (libc_cv_cc_sse4): Do not AC_SUBST.
23728 (libc_cv_cc_avx): Likewise.
23729 (libc_cv_cc_sse2avx): Likewise.
23730 (libc_cv_cc_novzeroupper): Likewise.
23731 (libc_cv_cc_fma4): Likewise.
23732 (libc_cv_as_i686): Likewise.
23733 (libc_cv_sparc_as_vis3): Likewise.
23734 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23735 LIBC_CONFIG_VAR.
23736 (config-asflags-i686): Likewise.
23737 (config-cflags-avx): Likewise.
23738 (config-cflags-sse2avx): Likewise.
23739 (have-mfma4): Likewise.
23740 (config-cflags-novzeroupper): Likewise.
23741 * sysdeps/mach/configure.in (MIG): Likewise.
23742 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23743 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23744 LIBC_CONFIG_VAR.
23745 (config-cflags-avx): Likewise.
23746 (config-cflags-sse2avx): Likewise.
23747 (have-mfma4): Likewise.
23748 (config-cflags-novzeroupper): Likewise.
23749 * configure: Regenerated.
23750 * sysdeps/i386/configure: Likewise.
23751 * sysdeps/mach/configure: Likewise.
23752 * sysdeps/sparc/configure: Likewise.
23753 * sysdeps/x86_64/configure: Likewise.
23754
912cc4b3
RM
237552013-03-20 Roland McGrath <roland@hack.frob.com>
23756
23757 [BZ #14812]
23758 * locale/programs/localedef.c (options): Put N_ translation marker
23759 on argument names, not just descriptions.
23760
04eed2b0
MS
237612013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23762
23763 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23764
a065ceff
OB
237652013-03-20 Ondřej Bílka <neleai@seznam.cz>
23766
9bb2a810 23767 [BZ #14176]
a065ceff
OB
23768 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23769
a600e5ce
RM
237702013-03-19 Roland McGrath <roland@hack.frob.com>
23771
23772 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23773 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23774 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23775 [!BEFORE_ABORT] (before_abort): New function.
23776 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23777 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23778 (writev_for_fatal): New function.
23779 (WRITEV_FOR_FATAL): New macro; call that.
23780 (backtrace_and_maps): New function.
23781 (BEFORE_ABORT): New macro; call that.
23782 (struct str_list): Type removed.
23783 (__libc_message, __libc_fatal): Functions removed.
23784 Include <sysdeps/posix/libc_fatal.c> instead.
23785
6b18bea6
JM
237862013-03-19 Joseph Myers <joseph@codesourcery.com>
23787
23788 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23789 constants.
23790 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23791 double constants.
23792
aaa8cb4b
AS
237932013-03-19 Andreas Schwab <schwab@suse.de>
23794
44673770
AS
23795 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23796 * sysdeps/gnu/configure: Regenerate.
23797
aaa8cb4b
AS
23798 * configure.in: Substitute libc_cv_rtlddir.
23799 * configure: Regenerate.
23800 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23801 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23802 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23803 * elf/Makefile (install-others, CFLAGS-interp.c)
23804 (ldso_install, common-ldd-rewrite): Likewise.
23805 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23806 $(inst_slibdir)/$(rtld-installed-name).
23807 * scripts/rellns-sh: Add -p option.
23808 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23809 for source.
23810
d3cfc668
SP
238112013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23812
23813 * manual/nptl.texi: Renamed to ...
23814 * manual/threads.texi: ... this.
23815 * manual/Makefile (chapters): Update.
23816
0e2b9cdd
RM
238172013-03-18 Roland McGrath <roland@hack.frob.com>
23818
23819 [BZ #14812]
23820 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23821 on argument names, not just descriptions.
0e2b9cdd
RM
23822 * malloc/memusagestat.c (options): Likewise.
23823 * nss/getent.c (options): Likewise.
63270c24
RM
23824
238252013-03-18 Benno Schulenberg <bensberg@justemail.net>
23826
23827 [BZ #14812]
23828 * iconv/iconv_prog.c (options): Put N_ translation marker
23829 on argument names, not just descriptions.
23830 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 23831
b2e1393c
OB
238322013-03-18 Ondrej Bilka <neleai@seznam.cz>
23833
23834 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23835 implementation which is faster on all x86_64 architectures.
23836 Tested on AMD, Intel Nehalem, SNB, IVB.
23837 * sysdeps/x86_64/strnlen.S: Likewise.
23838
23839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23840 Remove all multiarch strlen and strnlen versions.
23841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23842 Remove strlen and strnlen related parts.
23843
23844 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23845 Inline strlen part.
23846 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23847
23848 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23849 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23850 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23851 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23852 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23853 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23854
ec4ff04d
CD
238552013-03-17 Carlos O'Donell <carlos@redhat.com>
23856
23857 * manual/memory.texi (Malloc Tunable Parameters):
23858 Sort parameters alphabetically. Add comments for missing entries.
23859
cd18e90a
DM
238602013-03-17 David S. Miller <davem@davemloft.net>
23861
23862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23863
2a185d32
JM
238642013-03-16 Joseph Myers <joseph@codesourcery.com>
23865
d2f9799e
JM
23866 [BZ #15283]
23867 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23868 for arguments at most half maximum finite value.
23869 * math/libm-test.inc (j0_test): Add more tests.
23870 (j1_test): Likewise.
23871 (y0_test): Likewise.
23872 (y1_test): Likewise.
23873 * sysdeps/i386/fpu/libm-test-ulps: Update.
23874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23875
2a185d32
JM
23876 [BZ #14155]
23877 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23878 1 / x and functions P and Q for arguments above 0x1p256L.
23879 (__ieee754_y0l): Likewise.
23880 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23881 (__ieee754_y1l): Likewise.
23882 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23883 (j1_test): Likewise.
23884 (y0_test): Likewise.
23885 (y1_test): Likewise.
23886
6cbec759
TS
238872013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23888
23889 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23890 variable.
23891
bc16e260
RM
238922013-03-15 Roland McGrath <roland@hack.frob.com>
23893
aefc9b8c
RM
23894 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23895 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23896 zero since it's initialized to EXEC_PAGESIZE.
23897
bc16e260
RM
23898 * sysdeps/unix/sysv/linux/ldsodefs.h
23899 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23900 * sysdeps/generic/ldsodefs.h: ... here.
23901
a57da955
TS
239022013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23903
af00a34d
TS
23904 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23905
495ded2c
TS
23906 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23907 math/test-snan.c.
23908 * math/test-snan.c: Renamed from
23909 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23910 * math/Makefile (tests): Add test-snan.
23911 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23912 test-powerpc-snan.
23913
777b0332
TS
23914 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23915 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23916 functions.
23917 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23918 __builtin_nan family of functions.
23919 * math/libm-test.inc (initialize): Initialize qnan_value with
23920 __builtin_nan family of functions.
23921 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23922 Remove variables.
23923 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23924 Remove functions.
23925 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23926 storage class. Initialize qNaN_var and sNaN_var with
23927 __builtin_nan and __builtin_nans families of functions,
23928 respectively.
23929
64d063b8
TS
23930 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23931 (sqrt_test): Remove duplicate test with qNaN input.
23932 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23933 (round_test, signbit_test, significand_test): Note missing +/-Inf
23934 as well as qNaN tests.
23935
67e971f1
TS
23936 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23937 qNaN_var. Fix a few strings, too.
23938 * math/libm-test.inc (nan_value): Rename to qnan_value.
23939 * math/gen-libm-test.pl (%beautify): Adjust to that.
23940 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23941 * math/test-misc.c (main): Likewise.
23942 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23943 to __qnan_bytes, and __qnan_union, respectively.
23944 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23945 Likewise.
23946 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23947 and lqnanval, respectively.
23948 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23949 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23950 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23951 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23952
64487e12
TS
23953 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23954 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23955 doubles.
23956
e015e27b
TS
23957 * math/test-misc.c (main): Fix copy'n'pastos.
23958 * misc/tst-efgcvt.c (special): Likewise.
23959
a57da955
TS
23960 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23961 Remove declarations.
23962
1e380345
SP
239632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23964
23965 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23966 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23967 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23968 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23969
ef26eece
AZ
239702013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23971
23972 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23973 macro to return vdso values correctly in IFUNC implementations.
23974 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23975 Optimization by using IFUNC.
23976
8cfdb7e0
SP
239772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23978 Richard Henderson <rth@redhat.com>
23979 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23980
23981 * Makefile.in (bench): New target.
23982 * NEWS: Mention the benchmark framework.
23983 * Rules (bench): Likewise.
23984 (binaries-bench): Generate binaries for functions to
23985 benchmark.
23986 * benchtests/Makefile: New makefile for benchmark tests.
23987 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23988 programs.
23989 * benchtests/exp-inputs: New input file for EXP function.
23990 * benchtests/pow-inputs: New input file for POW function.
23991 * scripts/bench.pl: New script to generate source files for
23992 benchmark programs.
23993
bcda9880
SP
239942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23995
d22ca8cd
SP
23996 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23997 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23998 computations on mantissa. Use macros for rounding and
23999 division.
24000 (denorm): Likewise.
24001 (__dbl_mp): Likewise.
24002 (add_magnitudes): Likewise.
24003 (sub_magnitudes): Likewise.
24004 (__mul): Likewise.
24005 (__sqr): Likewise.
24006 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24007 powers of two in terms of TWOPOW macro.
24008 (mp_no): Make type of mantissa as MANTISSA_T.
24009 [!RADIXI]: Define RADIXI.
24010 [!TWO52]: Define TWO52.
24011 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24012
bcda9880
SP
24013 * manual/nptl.texi (cindex): Modify threads to pthreads.
24014
06d5adfb
JM
240152013-03-15 Joseph Myers <joseph@codesourcery.com>
24016
24017 * sysdeps/x86_64/preconfigure: Regenerated.
24018
41c7328e
JM
240192013-03-14 Joseph Myers <joseph@codesourcery.com>
24020
24021 [BZ #14155]
24022 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24023 0x1p28 and above.
24024 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24025 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24026 0x1p28 and above.
24027 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24028 * math/libm-test.inc (j0_test): Do not allow one spurious
24029 underflow exception.
24030 (y1_test): Likewise.
24031
e25cfa60
SP
240322013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24033
0409959c
SP
24034 * manual/Makefile (chapters): Add nptl.
24035 * manual/debug.texi (Debugging Support): Add link to Threads
24036 chapter.
24037 * manual/nptl.texi: New file.
24038
e25cfa60
SP
24039 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24040
58a1335e
PB
240412013-03-14 Petr Baudis <pasky@ucw.cz>
24042
24043 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24044 for non-NULL pointer before the memory validity test. Pointed
24045 out by Holger Brunck <holger.brunck@keymile.com>.
24046
9dc7c64f
AS
240472013-03-13 Andreas Schwab <schwab@suse.de>
24048
24049 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24050 instead of .os.
24051
54206aa6
JM
240522013-03-13 Joseph Myers <joseph@codesourcery.com>
24053
24054 * timezone/zic.c: Update from tzcode 2013b.
24055
e98cdb38
CD
240562013-03-12 Carlos O'Donell <carlos@redhat.com>
24057
24058 * manual/install.texi (Configuring and compiling):
24059 Mention i686 and i586.
24060 * INSTALL: Regenerate.
24061
9967e003
RM
240622013-03-12 Roland McGrath <roland@hack.frob.com>
24063
24064 * sysdeps/init_array/elf-init.c: New file.
24065 * csu/elf-init.c
24066 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24067 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24068
24069 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24070 __gmon_start__ as global, but as static with a .preinit_array pointer.
24071 * sysdeps/init_array/gmon-start.c: New file. Use that.
24072 * sysdeps/init_array/crti.S: New file, empty except for comments.
24073 * sysdeps/init_array/crtn.S: Likewise.
24074
e6b5a293 240752013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24076
24077 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24078 definining bcopy.
80f844c9
OB
24079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24080 Remove Prefer_SSE_for_memop.
24081 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24082 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24083 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24085 memset-x86-64.
80f844c9 24086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24087 Remove bzero, memset ifunc support.
80f844c9
OB
24088 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24089 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24090 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24091 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24092
fb6b0fcb
AS
240932013-03-11 Andreas Schwab <schwab@suse.de>
24094
24095 [BZ #15234]
24096 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24097 by SHLIB_COMPAT.
24098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24099 (GLIBC_2.16): Remove pthread_atfork.
24100
3e6bd4b1
PP
241012013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24102
24103 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24104 (ptestcases.h): Likewise.
24105
222d7f00
RM
241062013-03-08 Roland McGrath <roland@hack.frob.com>
24107
24108 * Makeconfig ($(common-objpfx)config.status): Depend on
24109 sysdeps/*/preconfigure{,.in} too.
24110
1ba4f030
JM
241112013-03-08 Joseph Myers <joseph@codesourcery.com>
24112
a222d91a
JM
24113 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24114 (__free_hook): Use void * instead of __malloc_ptr_t.
24115 (__malloc_hook): Likewise.
24116 (__realloc_hook): Likewise.
24117 (__memalign_hook): Likewise.
24118 (__after_morecore_hook): Likewise.
24119 * malloc/arena.c (save_malloc_hook): Likewise.
24120 (save_free_hook): Likewise.
24121 * malloc/hooks.c (malloc_hook_ini): Likewise.
24122 (realloc_hook_ini): Likewise.
24123 (memalign_hook_ini): Likewise.
24124 * malloc/malloc.c (malloc_hook_ini): Likewise.
24125 (realloc_hook_ini): Likewise.
24126 (memalign_hook_ini): Likewise.
24127 (__free_hook): Likewise.
24128 (__malloc_hook): Likewise.
24129 (__realloc_hook): Likewise.
24130 (__memalign_hook): Likewise.
24131 (__libc_malloc): Likewise.
24132 (__libc_free): Likewise.
24133 (__libc_realloc): Likewise.
24134 (__libc_memalign): Likewise.
24135 (__libc_valloc): Likewise.
24136 (__libc_pvalloc): Likewise.
24137 (__libc_calloc): Likewise.
24138 (__posix_memalign): Likewise.
24139 * malloc/morecore.c (__sbrk): Likewise.
24140 (__default_morecore): Likewise.
24141
5cc45e10
JM
24142 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24143
dd54b864
JM
24144 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24145 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24146 __malloc_ptrdiff_t.
24147
1ba4f030
JM
24148 * malloc/malloc.h (__malloc_size_t): Remove macro.
24149 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24150 __malloc_size_t.
24151 (old_memalign_hook): Likewise.
24152 (old_realloc_hook): Likewise.
24153 (struct hdr): Likewise.
24154 (flood): Likewise.
24155 (mallochook): Likewise.
24156 (memalignhook): Likewise.
24157 (reallochook): Likewise.
24158 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24159 (tr_old_realloc_hook): Likewise.
24160 (tr_old_memalign_hook): Likewise.
24161 (tr_mallochook): Likewise.
24162 (tr_reallochook): Likewise.
24163 (tr_memalignhook): Likewise.
24164
edf66e57
AZ
241652013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24166
24167 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24168 default_ldbl_pack and using as default implementation.
24169 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24170 implementation.
24171 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24172 redundant definition.
24173 (ldbl_insert_mantissa): Likewise.
24174 (ldbl_canonicalize): Likewise.
24175 (ldbl_nearbyint): Likewise.
24176 (ldbl_pack): Rename to ldbl_pack_ppc.
24177 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24178 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24179 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24180
6d9145d8
SP
241812013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24182
24183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24184 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24185 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24186 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24188 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24189 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24190 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24191
4dd4e157
AJ
241922013-03-07 Andreas Jaeger <aj@suse.de>
24193
24194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24195 bits/mman-linux.h.
24196
adbb8027
SP
241972013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24198
ce544b5b
SP
24199 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24200 Include mpa.h and declare __MPEXP.
24201 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24202 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24203 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24204 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24205 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24206 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24208
4cc149fd
SP
24209 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24210 (__slowpow): Use long double EXPL and LOGL functions to
24211 compute POW.
24212 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24213 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24214 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24215 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24216 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24217 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24218
e6ebd4a7
SP
24219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24220 intermediate variable to calculate exponent.
24221 (__sqr): Likewise.
24222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24223 Likewise.
24224 (__sqr): Likewise.
24225
82a9811d
SP
24226 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24227 [!NO__SQR]: Define __sqr.
24228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24229 and NO__SQR. Remove all code except __mul and __sqr. Include
24230 sysdeps/ieee754/dbl-64/mpa.c.
24231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24232
adbb8027
SP
24233 [BZ #12723]
24234 * posix/Makefile (tests): Add tst-pathconf.
24235 * posix/tst-pathconf.c: New test case.
24236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24237 _PC_PIPE_BUF.
24238 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24239
39120df9
PF
242402013-03-06 Patsy Franklin <pfrankli@redhat.com>
24241
24242 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24243
67525cb8
AJ
242442013-03-06 Andreas Jaeger <aj@suse.de>
24245
664a9ce4
AJ
24246 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24247 definition via __MAP_ANONYMOUS.
24248
8e39047d
AJ
24249 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24250 it's not part of Linux headers.
24251
67525cb8
AJ
24252 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24253 (MAP_HUGE_MASK): Define.
24254
24255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24256 Define.
24257 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24259 Define.
24260 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24261 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24262 Define.
24263 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24264 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24265 Define.
24266 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24267
24268 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24269 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24270 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24271 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24272 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24273 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24274
24275 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24276 Handle f2fs.
24277
24278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24279 Handle f2fs and efivarfs.
24280
24281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24282 f2fs.
24283
24284 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24285 (EFIVARFS_MAGIC): Add.
24286 (F2FS_LINK_MAX): Add.
24287
e1b42695
PP
242882013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24289
24290 * stdio-common/vfprintf.c: Replace __builtin_expect with
24291 __glibc_unlikely.
24292
2d67d91a
JM
242932013-03-06 Joseph Myers <joseph@codesourcery.com>
24294
24295 [BZ #13550]
24296 * sysdeps/generic/bp-sym.h: Remove file.
24297 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24298 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24299 <bp-sym.h> and <bp-asm.h>.
24300 (__longjmp): Don't use BP_SYM.
24301 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24302 and <bp-asm.h>.
24303 (memcpy): Don't use BP_SYM.
24304 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24305 <bp-sym.h> and <bp-asm.h>.
24306 (memcpy): Don't use BP_SYM.
24307 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24308 <bp-asm.h>.
24309 (memcpy): Don't use BP_SYM.
24310 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24311 <bp-asm.h>.
24312 (memset): Don't use BP_SYM.
24313 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24314 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24315 (__bzero): Don't use BP_SYM.
24316 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24317 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24318 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24319 <bp-sym.h> and <bp-asm.h>.
24320 (memcmp): Don't use BP_SYM. Remove comment about bounded
24321 pointers.
24322 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24323 <bp-sym.h> and <bp-asm.h>.
24324 (memcpy): Don't use BP_SYM.
24325 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24326 <bp-sym.h> and <bp-asm.h>.
24327 (memset): Don't use BP_SYM.
24328 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24329 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24330 (__bzero): Don't use BP_SYM.
24331 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24332 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24333 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24334 <bp-sym.h> and <bp-asm.h>.
24335 (strncmp): Don't use BP_SYM. Remove comment about bounded
24336 pointers.
24337 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24338 <bp-sym.h> and <bp-asm.h>.
24339 (memcpy): Don't use BP_SYM.
24340 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24341 <bp-sym.h> and <bp-asm.h>.
24342 (memset): Don't use BP_SYM.
24343 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24344 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24345 (__bzero): Don't use BP_SYM.
24346 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24347 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24348 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24349 <bp-sym.h> and <bp-asm.h>.
24350 (__memchr): Don't use BP_SYM.
24351 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24352 <bp-sym.h> and <bp-asm.h>.
24353 (memcmp): Don't use BP_SYM. Remove comment about bounded
24354 pointers.
24355 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24356 <bp-sym.h> and <bp-asm.h>.
24357 (memcpy): Don't use BP_SYM.
24358 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24359 <bp-sym.h> and <bp-asm.h>.
24360 (__mempcpy): Don't use BP_SYM.
24361 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24362 <bp-sym.h> and <bp-asm.h>.
24363 (__memrchr): Don't use BP_SYM.
24364 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24365 <bp-sym.h> and <bp-asm.h>.
24366 (memset): Don't use BP_SYM.
24367 (__bzero): Likewise.
24368 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24369 <bp-sym.h> and <bp-asm.h>.
24370 (__rawmemchr): Don't use BP_SYM.
24371 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24372 <bp-sym.h> and <bp-asm.h>.
24373 (__STRCMP): Don't use BP_SYM.
24374 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24375 <bp-sym.h> and <bp-asm.h>.
24376 (strchr): Don't use BP_SYM.
24377 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24378 <bp-sym.h> and <bp-asm.h>.
24379 (__strchrnul): Don't use BP_SYM.
24380 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24381 <bp-sym.h> and <bp-asm.h>.
24382 (strlen): Don't use BP_SYM.
24383 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24384 <bp-sym.h> and <bp-asm.h>.
24385 (strncmp): Don't use BP_SYM. Remove comment about bounded
24386 pointers.
24387 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24388 <bp-sym.h> and <bp-asm.h>.
24389 (__strnlen): Don't use BP_SYM.
24390 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24391 <bp-sym.h> and <bp-asm.h>.
24392 (__GI__setjmp): Don't use BP_SYM.
24393 (_setjmp): Likewise.
24394 (__sigsetjmp): Likewise.
24395 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24396 (L(start_addresses)): Don't use BP_SYM.
24397 (_start): Likewise.
24398 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24399 <bp-asm.h>.
24400 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24401 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24402 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24403 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24404 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24405 <bp-asm.h>.
24406 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24407 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24408 about bounded pointers.
24409 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24410 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24411 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24412 <bp-asm.h>.
24413 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24414 about bounded pointers. Remove GKM FIXME comments.
24415 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24416 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24417 <bp-asm.h>.
24418 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24419 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24420 Remove GKM FIXME comments.
24421 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24422 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24423 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24424 <bp-asm.h>.
24425 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24426 about bounded pointers. Remove GKM FIXME comment.
24427 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24428 and <bp-asm.h>.
24429 (strncmp): Don't use BP_SYM. Remove comment about bounded
24430 pointers.
24431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24432 <bp-sym.h> and <bp-asm.h>.
24433 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24435 <bp-sym.h> and <bp-asm.h>.
24436 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24437 comment.
24438
cdcf361f
PP
244392013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24440
24441 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24442 call free(NULL).
24443
3c4a2b15
DM
244442013-03-05 David S. Miller <davem@davemloft.net>
24445
24446 * po/es.po: Update from translation team.
24447
cdcf361f 244482013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
24449
24450 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24451 <bits/mman-linux.h>.
24452 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24453 is fine.
24454 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24455 <bits/mman-linux.h> to end of file.
24456 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24457 is fine.
24458 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24459 <bits/mman-linux.h> to end of file.
24460 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24461 is fine.
24462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24463 <bits/mman-linux.h> to end of file.
24464
24465 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24466 (MCL_CURRENT, MCL_FUTURE): Define here.
24467
5f67c04f
AK
244682013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24469
8a4473cc 24470 [BZ #15232]
5f67c04f
AK
24471 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24472 attribute_hidden.
24473 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24474
c3e94a95
AK
244752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24476
24477 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24478 fourth parameter needed for rt_sigprocmask syscall.
24479 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24480 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24481 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24482 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24483 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24484 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24485
cfb6382a
JM
244862013-03-04 Joseph Myers <joseph@codesourcery.com>
24487
24488 [BZ #13550]
24489 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24490 comment about bounded pointers.
24491 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24492 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24493
539d8e01
AJ
244942013-03-04 Andreas Jaeger <aj@suse.de>
24495
24496 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24497 common definitions.
24498
24499 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24500 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24501 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24502 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
24504 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24505
2e167a70 245062013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
24507
24508 [BZ #15055]
24509 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24510 __ieee754_sqrl instead of __sqrl.
24511
68508633
JM
245122013-03-01 Joseph Myers <joseph@codesourcery.com>
24513
24514 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24515 * sysdeps/powerpc/fpu_control.h: ... here.
24516 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24517 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24518 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24519 * sysdeps/powerpc/bits/mathinline.h: ... here.
24520
7775448e
RM
245212013-03-01 Roland McGrath <roland@hack.frob.com>
24522
24523 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24524 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24525 to just [NEED_DL_SYSINFO_DSO].
24526 * elf/dl-support.c: Likewise.
24527 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24528 * elf/rtld.c (dl_main): Likewise.
24529 * elf/setup-vdso.h (setup_vdso): Likewise.
24530 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24531 * sysdeps/unix/sysv/linux/dl-sysdep.c
24532 (_dl_discover_osversion): Likewise.
24533
4e9b5995
CD
245342013-03-01 Carlos O'Donell <carlos@redhat.com>
24535
24536 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24537 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24538
e23872c8
SP
245392013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24540
e5c74c63
SP
24541 * NEWS: Mention libm performance improvements and non-x86 PI
24542 futex support.
24543
e23872c8
SP
24544 * csu/libc-start.c (__pthread_initialize_minimal): Change
24545 function arguments.
24546 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24547
b5510883
JM
245482013-02-28 Joseph Myers <joseph@codesourcery.com>
24549
24550 [BZ #13550]
24551 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24552 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24553 <bp-sym.h> and <bp-asm.h>.
24554 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24555 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24556 and <bp-asm.h>.
24557 (memcpy): Don't use BP_SYM.
24558 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24559 <bp-asm.h>.
24560 (__mpn_add_n): Don't use BP_SYM.
24561 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24562 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24563 and <bp-asm.h>.
24564 (__mpn_addmul_1): Don't use BP_SYM.
24565 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24566 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24567 <bp-sym.h>.
24568 (_setjmp): Don't use BP_SYM.
24569 (__novmx_setjmp): Likewise.
24570 (__GI__setjmp): Likewise.
24571 (__vmx_setjmp): Likewise.
24572 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24573 <bp-sym.h>.
24574 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24575 (__bzero): Don't use BP_SYM.
24576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24578 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24579 <bp-sym.h> and <bp-asm.h>.
24580 (memcpy): Don't use BP_SYM.
24581 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24582 <bp-sym.h> and <bp-asm.h>.
24583 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24584 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24585 <bp-sym.h> and <bp-asm.h>.
24586 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24587 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24588 <bp-asm.h>.
24589 (__mpn_lshift): Don't use BP_SYM.
24590 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24591 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24592 <bp-asm.h>.
24593 (memset): Don't use BP_SYM.
24594 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24595 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24596 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24597 <bp-asm.h>.
24598 (__mpn_mul_1): Don't use BP_SYM.
24599 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24601 <bp-sym.h> and <bp-asm.h>.
24602 (memcmp): Don't use BP_SYM.
24603 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24604 <bp-sym.h> and <bp-asm.h>.
24605 (memcpy): Don't use BP_SYM.
24606 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24607 <bp-sym.h> and <bp-asm.h>.
24608 (memset): Don't use BP_SYM.
24609 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24610 <bp-sym.h> and <bp-asm.h>.
24611 (strncmp): Don't use BP_SYM.
24612 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24613 <bp-sym.h> and <bp-asm.h>.
24614 (memcpy): Don't use BP_SYM.
24615 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24616 <bp-sym.h> and <bp-asm.h>.
24617 (memset): Don't use BP_SYM.
24618 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24619 <bp-sym.h> and <bp-asm.h>.
24620 (__memchr): Don't use BP_SYM.
24621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24622 <bp-sym.h> and <bp-asm.h>.
24623 (memcmp): Don't use BP_SYM.
24624 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24625 <bp-sym.h> and <bp-asm.h>.
24626 (memcpy): Don't use BP_SYM.
24627 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24628 <bp-sym.h> and <bp-asm.h>.
24629 (__mempcpy): Don't use BP_SYM.
24630 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24631 <bp-sym.h> and <bp-asm.h>.
24632 (__memrchr): Don't use BP_SYM.
24633 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24634 <bp-sym.h> and <bp-asm.h>.
24635 (memset): Don't use BP_SYM.
24636 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24637 <bp-sym.h> and <bp-asm.h>.
24638 (__rawmemchr): Don't use BP_SYM.
24639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24640 <bp-sym.h> and <bp-asm.h>.
24641 (__STRCMP): Don't use BP_SYM.
24642 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24643 <bp-sym.h> and <bp-asm.h>.
24644 (strchr): Don't use BP_SYM.
24645 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24646 <bp-sym.h> and <bp-asm.h>.
24647 (__strchrnul): Don't use BP_SYM.
24648 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24649 <bp-sym.h> and <bp-asm.h>.
24650 (strlen): Don't use BP_SYM.
24651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24652 <bp-sym.h> and <bp-asm.h>.
24653 (strncmp): Don't use BP_SYM.
24654 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24655 <bp-sym.h> and <bp-asm.h>.
24656 (__strnlen): Don't use BP_SYM.
24657 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24658 <bp-asm.h>.
24659 (__mpn_rshift): Don't use BP_SYM.
24660 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24661 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24662 <bp-sym.h> and <bp-asm.h>.
24663 (__sigsetjmp): Don't use BP_SYM.
24664 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24665 (L(start_addresses)): Don't use BP_SYM.
24666 (_start): Likewise.
24667 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24668 <bp-asm.h>.
24669 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24670 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24671 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24672 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24673 <bp-asm.h>.
24674 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24675 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24676 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24677 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24678 <bp-asm.h>.
24679 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24680 comments.
24681 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24682 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24683 <bp-asm.h>.
24684 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24685 FIXME comments.
24686 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24687 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24688 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24689 <bp-asm.h>.
24690 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24691 comment.
24692 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24693 and <bp-asm.h>.
24694 (strncmp): Don't use BP_SYM,
24695 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24696 <bp-asm.h>.
24697 (__mpn_sub_n): Don't use BP_SYM.
24698 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24699 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24700 and <bp-asm.h>.
24701 (__mpn_submul_1): Don't use BP_SYM.
24702 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24704 <bp-sym.h> and <bp-asm.h>.
24705 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24707 <bp-sym.h> and <bp-asm.h>.
24708 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24709 comment.
24710
8d19fe64
SP
247112013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24712
24713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24714 Use ZK to minimize writes to Z.
24715 (sub_magnitudes): Simplify code a bit.
24716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24717 Use ZK to minimize writes to Z.
24718 (sub_magnitudes): Simplify code a bit.
24719
85bd816a
RM
247202013-02-27 Roland McGrath <roland@hack.frob.com>
24721
24722 * csu/gmon-start.c: Add special exception to license text.
24723
b5977bf2
RH
247242013-02-27 Richard Henderson <rth@redhat.com>
24725
24726 * scripts/config.guess: Update from config.git.
24727 * scripts/config.sub: Likewise.
24728
11d6e2f2
SP
247292013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24730
09c14ed2
SP
24731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24732
a688864e
SP
24733 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24734
6295157a
SP
24735 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24736
b8de2202
SP
24737 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24738
11d6e2f2
SP
24739 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24740
7e80ddb8
RM
247412013-02-26 Roland McGrath <roland@hack.frob.com>
24742
24743 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24744 [$(build-shared = yes].
7e80ddb8 24745
7da6d9ed
SP
247462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24747
45f05884
SP
24748 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24749 (__mul): Reduce iterations for calculating mantissa.
24750
2236d359
SP
24751 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24752 MPTWO.
24753 (__mpranred): Likewise.
24754
7da6d9ed
SP
24755 [BZ #15160]
24756 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24757 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24758
b7688c42
PE
247592013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24760
24761 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24762 Define __attribute__.
24763
53a5c423
SP
247642013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24765
24766 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24767 unused.
24768 * posix/regex_internal.h (__attribute): Remove.
24769 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24770 (re_string_context_at): Likewise.
24771 (bitset_not): Use __attribute__ and mark function as possibly
24772 unused.
24773 (bitset_merge): Likewise.
24774 (bitset_mask): Likewise.
24775 (re_string_char_size_at): Likewise.
24776 (re_string_wchar_at): Likewise.
24777 (re_string_elem_size_at): Likewise.
24778
60f5a8b5
SP
247792013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24780
2a983a2e
SP
24781 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24782 code.
24783 (cc32): Likewise.
24784
e69804d1
SP
24785 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24786 (__acr): Likewise.
24787 (__cpy): Likewise.
24788 (norm): Likewise.
24789 (denorm): Likewise.
24790 (__dbl_mp): Likewise.
24791 (add_magnitudes): Likewise.
24792 (sub_magnitudes): Likewise.
24793 (__mul): Likewise.
24794 (__inv): Likewise.
24795
2f22a1e8
SP
24796 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24797 style.
24798
8930ddc7
SP
24799 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24800 style.
24801
dc60cb11
SP
24802 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24803 code.
24804
60f5a8b5
SP
24805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24806 up changes with default code.
24807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24808 Likewise.
24809
b4d1fd33
AM
248102013-02-24 Allan McRae <allan@archlinux.org>
24811
faf6f8bc
AM
24812 * manual/socket.texi (The Internet Namespace): Order menu items
24813 to match that in the file.
24814
b4d1fd33
AM
24815 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24816 node listing of the info page menu.
24817
2366713d
JM
248182013-02-21 Joseph Myers <joseph@codesourcery.com>
24819
24820 [BZ #13550]
24821 * sysdeps/i386/bp-asm.h: Remove file.
24822 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24823 (PARMS): Do not use macros from bp-asm.h.
24824 (S1): Likewise.
24825 (S2): Likewise.
24826 (SIZE): Likewise.
24827 (__mpn_add_n): Do not use BP_SYM
24828 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24829 "bp-asm.h".
24830 (PARMS): Do not use macros from bp-asm.h.
24831 (S1): Likewise.
24832 (SIZE): Likewise.
24833 (__mpn_addmul_1): Do not use BP_SYM
24834 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24835 "bp-asm.h".
24836 (PARMS): Do not use macros from bp-asm.h.
24837 (SIGMSK): Likewise.
24838 (_setjmp): Likewise. Do not use BP_SYM.
24839 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24840 "bp-asm.h".
24841 (PARMS): Do not use macros from bp-asm.h.
24842 (SIGMSK): Likewise.
24843 (setjmp): Likewise. Do not use BP_SYM.
24844 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24845 "bp-asm.h".
24846 (PARMS): Do not use macros from bp-asm.h.
24847 (__frexp): Do not use BP_SYM.
24848 (frexp): Likewise.
24849 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24850 "bp-asm.h".
24851 (PARMS): Do not use macros from bp-asm.h.
24852 (__frexpf): Do not use BP_SYM.
24853 (frexpf): Likewise.
24854 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24855 "bp-asm.h".
24856 (PARMS): Do not use macros from bp-asm.h.
24857 (__frexpl): Do not use BP_SYM.
24858 (frexpl): Likewise.
24859 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24860 "bp-asm.h".
24861 (PARMS): Do not use macros from bp-asm.h.
24862 (__remquo): Do not use BP_SYM.
24863 (remquo): Likewise.
24864 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24865 "bp-asm.h".
24866 (PARMS): Do not use macros from bp-asm.h.
24867 (__remquof): Do not use BP_SYM.
24868 (remquof): Likewise.
24869 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24870 "bp-asm.h".
24871 (PARMS): Do not use macros from bp-asm.h.
24872 (__remquol): Do not use BP_SYM.
24873 (remquol): Likewise.
24874 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24875 "bp-asm.h".
24876 (PARMS): Do not use macros from bp-asm.h.
24877 (DEST): Likewise.
24878 (SRC): Likewise.
24879 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24880 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24881 "bp-asm.h".
24882 (PARMS): Do not use macros from bp-asm.h.
24883 (strlen): Do not use BP_SYM.
24884 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24885 "bp-asm.h".
24886 (PARMS): Do not use macros from bp-asm.h.
24887 (S1): Likewise.
24888 (S2): Likewise.
24889 (SIZE): Likewise.
24890 (__mpn_add_n): Do not use BP_SYM.
24891 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24892 "bp-asm.h".
24893 (PARMS): Do not use macros from bp-asm.h.
24894 (S1): Likewise.
24895 (SIZE): Likewise.
24896 (__mpn_addmul_1): Do not use BP_SYM.
24897 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24898 weak_alias.
24899 (bzero): Likewise.
24900 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24901 "bp-asm.h".
24902 (PARMS): Do not use macros from bp-asm.h.
24903 (S): Likewise.
24904 (SIZE): Likewise.
24905 (__mpn_lshift): Do not use BP_SYM.
24906 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24907 "bp-asm.h".
24908 (PARMS): Do not use macros from bp-asm.h.
24909 (DEST): Likewise.
24910 (SRC): Likewise.
24911 (LEN): Likewise.
24912 (memcpy): Likewise. Do not use BP_SYM.
24913 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24914 libc_hidden_def and weak_alias.
24915 (mempcpy): Do not use BP_SYM in weak_alias.
24916 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24917 "bp-asm.h".
24918 (PARMS): Do not use macros from bp-asm.h.
24919 (DEST): Likewise.
24920 (LEN): Likewise.
24921 [!BZERO_P] (CHR): Likewise.
24922 (memset): Likewise. Do not use BP_SYM.
24923 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24924 "bp-asm.h".
24925 (PARMS): Do not use macros from bp-asm.h.
24926 (S1): Likewise.
24927 (SIZE): Likewise.
24928 (__mpn_mul_1): Do not use BP_SYM.
24929 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24930 "bp-asm.h".
24931 (PARMS): Do not use macros from bp-asm.h.
24932 (S): Likewise.
24933 (SIZE): Likewise.
24934 (__mpn_rshift): Do not use BP_SYM.
24935 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24936 "bp-asm.h".
24937 (PARMS): Do not use macros from bp-asm.h.
24938 (STR): Likewise.
24939 (CHR): Likewise.
24940 (strchr): Likewise. Do not use BP_SYM.
24941 (index): Do not use BP_SYM in weak_alias.
24942 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24943 "bp-asm.h".
24944 (PARMS): Do not use macros from bp-asm.h.
24945 (DEST): Likewise.
24946 (SRC): Likewise.
24947 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24948 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24949 "bp-asm.h".
24950 (PARMS): Do not use macros from bp-asm.h.
24951 (strlen): Do not use BP_SYM.
24952 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24953 "bp-asm.h".
24954 (PARMS): Do not use macros from bp-asm.h.
24955 (S1): Likewise.
24956 (S2): Likewise.
24957 (SIZE): Likewise.
24958 (__mpn_sub_n): Do not use BP_SYM.
24959 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24960 "bp-asm.h".
24961 (PARMS): Do not use macros from bp-asm.h.
24962 (S1): Likewise.
24963 (SIZE): Likewise.
24964 (__mpn_submul_1): Do not use BP_SYM.
24965 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24966 "bp-asm.h".
24967 (PARMS): Do not use macros from bp-asm.h.
24968 (S1): Likewise.
24969 (S2): Likewise.
24970 (SIZE): Likewise.
24971 (__mpn_add_n): Do not use BP_SYM.
24972 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24973 weak_alias.
24974 (bzero): Likewise.
24975 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24976 "bp-asm.h".
24977 (PARMS): Do not use macros from bp-asm.h.
24978 (BLK2): Likewise.
24979 (LEN): Likewise.
24980 (memcmp): Do not use BP_SYM.
24981 (bcmp): Do not use BP_SYM in weak_alias.
24982 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24983 "bp-asm.h".
24984 (PARMS): Do not use macros from bp-asm.h.
24985 (DEST): Likewise.
24986 (SRC): Likewise.
24987 (LEN): Likewise.
24988 (memcpy): Likewise. Do not use BP_SYM.
24989 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24990 "bp-asm.h".
24991 (PARMS): Do not use macros from bp-asm.h.
24992 (DEST): Likewise.
24993 (SRC): Likewise.
24994 (LEN): Likewise.
24995 (memmove): Likewise. Do not use BP_SYM.
24996 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24997 "bp-asm.h".
24998 (PARMS): Do not use macros from bp-asm.h.
24999 (DEST): Likewise.
25000 (SRC): Likewise.
25001 (LEN): Likewise.
25002 (__mempcpy): Likewise. Do not use BP_SYM.
25003 (mempcpy): Do not use BP_SYM in weak_alias.
25004 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25005 "bp-asm.h".
25006 (PARMS): Do not use macros from bp-asm.h.
25007 (DEST): Likewise.
25008 (LEN): Likewise.
25009 [!BZERO_P] (CHR): Likewise.
25010 (memset): Likewise. Do not use BP_SYM.
25011 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25012 "bp-asm.h".
25013 (PARMS): Do not use macros from bp-asm.h.
25014 (STR2): Likewise.
25015 (strcmp): Do not use BP_SYM.
25016 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25017 "bp-asm.h".
25018 (PARMS): Do not use macros from bp-asm.h.
25019 (STR): Likewise.
25020 (DELIM): Likewise.
25021 [USE_AS_STRTOK_R] (SAVE): Likewise.
25022 (FUNCTION): Likewise. Do not use BP_SYM.
25023 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25024 aliases.
25025 (strtok_r): Likewise.
25026 (__GI___strtok_r): Likewise.
25027 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25028 (PARMS): Do not use macros from bp-asm.h.
25029 (S): Likewise.
25030 (SIZE): Likewise.
25031 (__mpn_lshift): Do not use BP_SYM.
25032 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25033 (PARMS): Do not use macros from bp-asm.h.
25034 (STR): Likewise.
25035 (CHR): Likewise.
25036 (__memchr): Do not use BP_SYM.
25037 (memchr): Do not use BP_SYM in weak_alias.
25038 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25039 (PARMS): Do not use macros from bp-asm.h.
25040 (BLK2): Likewise.
25041 (LEN): Likewise.
25042 (memcmp): Do not use BP_SYM.
25043 (bcmp): Do not use BP_SYM in weak_alias.
25044 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25045 (PARMS): Do not use macros from bp-asm.h.
25046 (S1): Likewise.
25047 (SIZE): Likewise.
25048 (__mpn_mul_1): Do not use BP_SYM.
25049 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25050 "bp-asm.h".
25051 (PARMS): Do not use macros from bp-asm.h.
25052 (STR): Likewise.
25053 (CHR): Likewise.
25054 (__rawmemchr): Do not use BP_SYM.
25055 (rawmemchr): Do not use BP_SYM in weak_alias.
25056 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25057 (PARMS): Do not use macros from bp-asm.h.
25058 (S): Likewise.
25059 (SIZE): Likewise.
25060 (__mpn_rshift): Do not use BP_SYM.
25061 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25062 (PARMS): Do not use macros from bp-asm.h.
25063 (SIGMSK): Likewise.
25064 (__sigsetjmp): Likewise. Do not use BP_SYM.
25065 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25066 (_start): Do not use BP_SYM.
25067 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25068 (PARMS): Do not use macros from bp-asm.h.
25069 (DEST): Likewise.
25070 (SRC): Likewise.
25071 (__stpcpy): Likewise. Do not use BP_SYM.
25072 (stpcpy): Do not use BP_SYM in weak_alias.
25073 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25074 "bp-asm.h".
25075 (PARMS): Do not use macros from bp-asm.h.
25076 (DEST): Likewise.
25077 (SRC): Likewise.
25078 (LEN): Likewise.
25079 (__stpncpy): Likewise. Do not use BP_SYM.
25080 (stpncpy): Do not use BP_SYM in weak_alias.
25081 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25082 (PARMS): Do not use macros from bp-asm.h.
25083 (STR): Likewise.
25084 (CHR): Likewise.
25085 (strchr): Likewise. Do not use BP_SYM.
25086 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25087 "bp-asm.h".
25088 (PARMS): Do not use macros from bp-asm.h.
25089 (STR): Likewise.
25090 (CHR): Likewise.
25091 (__strchrnul): Likewise. Do not use BP_SYM.
25092 (strchrnul): Do not use BP_SYM in weak_alias.
25093 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25094 "bp-asm.h".
25095 (PARMS): Do not use macros from bp-asm.h.
25096 (STOP): Likewise.
25097 (strcspn): Do not use BP_SYM.
25098 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25099 "bp-asm.h".
25100 (PARMS): Do not use macros from bp-asm.h.
25101 (STR): Likewise.
25102 (STOP): Likewise.
25103 (strpbrk): Likewise. Do not use BP_SYM.
25104 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25105 "bp-asm.h".
25106 (PARMS): Do not use macros from bp-asm.h.
25107 (STR): Likewise.
25108 (CHR): Likewise.
25109 (strrchr): Likewise. Do not use BP_SYM.
25110 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25111 (PARMS): Do not use macros from bp-asm.h.
25112 (SKIP): Likewise.
25113 (strspn): Do not use BP_SYM.
25114 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25115 (PARMS): Do not use macros from bp-asm.h.
25116 (STR): Likewise.
25117 (DELIM): Likewise.
25118 (SAVE): Likewise.
25119 (FUNCTION): Likewise. Do not use BP_SYM.
25120 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25121 aliases.
25122 (strtok_r): Likewise.
25123 (__GI___strtok_r): Likewise.
25124 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25125 (PARMS): Do not use macros from bp-asm.h.
25126 (S1): Likewise.
25127 (S2): Likewise.
25128 (SIZE): Likewise.
25129 (__mpn_sub_n): Do not use BP_SYM.
25130 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25131 "bp-asm.h".
25132 (PARMS): Do not use macros from bp-asm.h.
25133 (S1): Likewise.
25134 (SIZE): Likewise.
25135 (__mpn_submul_1): Do not use BP_SYM.
25136 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25137 <bp-sym.h>.
25138 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25139 and <bp-asm.h>.
25140 (PARMS): Do not use macros from bp-asm.h.
25141 (FLAGS): Likewise.
25142 (PTID): Likewise.
25143 (TLS): Likewise.
25144 (CTID): Likewise.
25145 (__clone): Do not use BP_SYM.
25146 (clone): Do not use BP_SYM in weak_alias.
25147 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25148 and <bp-asm.h>.
25149 (PARMS): Do not use macros from bp-asm.h.
25150 (LEN): Likewise.
25151 (__mmap64): Do not use BP_SYM.
25152 (mmap64): Do not use BP_SYM in weak_alias.
25153 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25154 <bp-sym.h> and <bp-asm.h>.
25155 (PARMS): Do not use macros from bp-asm.h.
25156 (__posix_fadvise64_l64): Do not use BP_SYM.
25157 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25158 (PARMS): Do not use macros from bp-asm.h.
25159 (NSOPS): Likewise.
25160 (semtimedop): Do not use BP_SYM.
25161 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25162 and <bp-asm.h>.
25163
582a3cff
AM
251642013-02-21 Allan McRae <allan@archlinux.org>
25165
25166 * manual/message.texi (Charset conversion in gettext):
25167 Move @end statement to beginning of line.
25168
bab8a695
SP
251692013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25170
80945231
SP
25171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25172 static.
25173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25174 Likewise.
25175
bab8a695
SP
25176 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25177 (denorm): Likewise.
25178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25180
e21d7aa7
AK
251812013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25182
25183 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25184 tail-call to the resolved function if pltexit isn't needed.
25185
4c7a4263
SP
251862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25187
25188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25189 or Y being zero as being unlikely.
25190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25191 Likewise.
25192
41f49342
CD
251932013-02-20 Carlos O'Donell <carlos@redhat.com>
25194
25195 * manual/nss.texi (System Databases and Name Service Switch):
25196 Remove frobnicate @pxref.
25197
50022a93
TS
251982013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25199
25200 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25201 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25202
08cbd996
PM
252032013-02-20 Petr Machata <pmachata@redhat.com>
25204
25205 * elf/elf.h (R_ARM_TARGET1): New macro.
25206 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25207 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25208 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25209 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25210 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25211 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25212 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25213 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25214 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25215 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25216 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25217 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25218 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25219 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25220 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25221 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25222 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25223 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25224 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25225 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25226 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25227 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25228 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25229 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25230 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25231 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25232 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25233 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25234 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25235 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25236 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25237 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25238 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25239 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25240 (R_ARM_THM_GOT_BREL12): Likewise.
25241 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25242 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25243 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25244 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25245 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25246 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25247 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25248 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25249 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25250
c7b275d6
TS
252512013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25252
25253 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25254 __attribute_used__ to __attribute__ ((unused)).
25255
20cd7fb3
SP
252562013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25257
25258 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25259 powerpc mpa.c.
25260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25261 comment formatting.
25262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25263
92945b52
JM
252642013-02-19 Joseph Myers <joseph@codesourcery.com>
25265
25266 [BZ #13550]
25267 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25268 Remove macro.
25269 (ENTER): Remove both macro definitions.
25270 (LEAVE): Likewise.
25271 (CHECK_BOUNDS_LOW): Likewise.
25272 (CHECK_BOUNDS_HIGH): Likewise.
25273 (CHECK_BOUNDS_BOTH): Likewise.
25274 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25275 (RETURN_BOUNDED_POINTER): Likewise.
25276 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25277 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25278 (POP_ERRNO_LOCATION_RETURN): Likewise.
25279 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25280 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25281 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25282 macros.
25283 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25284 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25285 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25286 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25287 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25288 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25289 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25290 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25291 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25292 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25293 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25294 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25295 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25296 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25297 removed macros.
25298 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25299 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25300 macros.
25301 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25302 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25303 * sysdeps/i386/i586/memset.S (memset): Likewise.
25304 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25305 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25306 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25307 macros.
25308 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25309 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25310 Change uses of L(2) to L(out).
25311 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25312 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25313 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25314 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25315 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25316 removed macros.
25317 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25318 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25319 macros.
25320 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25321 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25322 (RETURN): Do not use macro LEAVE.
25323 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25324 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25325 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25326 * sysdeps/i386/i686/memset.S (memset): Likewise.
25327 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25328 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25329 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25330 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25331 Likewise.
25332 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25333 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25334 L(1_2) and L(1_3) into L(1).
25335 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25336 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25337 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25338 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25339 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25340 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25341 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25342 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25343 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25344 macros.
25345 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25347 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25348 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25349 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25350 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25351 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25352 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25353 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25354 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25355 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25356 * sysdeps/i386/strspn.S (strspn): Likewise.
25357 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25358 conditional code.
25359 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25360 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25361 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25362 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25363 L(1_3) into L(1_1).
25364 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25365 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25366 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25367 macros.
25368 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25369
2389741a
JJ
253702013-02-19 Jakub Jelinek <jakub@redhat.com>
25371
25372 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25373 macro.
25374
2016b3cd
SP
253752013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25376
e4f22324
SP
25377 * math/atest-exp.c (exp_mpn): Remove ROUND.
25378 * math/atest-exp2.c (exp_mpn): Likewise.
25379 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25380
2016b3cd
SP
25381 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25382 * stdlib/tst-tls-atexit-lib.c: Likewise.
25383 * stdlib/tst-tls-atexit.c: Likewise.
25384
4be9b544
MF
253852013-02-18 Mike Frysinger <vapier@gentoo.org>
25386
25387 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25388 and __attribute_alloc_size__.
25389
2f62b9ee
MF
253902013-02-18 Mike Frysinger <vapier@gentoo.org>
25391
25392 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25393 __attribute_alloc_size__.
25394 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25395 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25396
6ff444c4
MF
253972013-02-18 Mike Frysinger <vapier@gentoo.org>
25398
25399 * include/programs/xmalloc.h: New file.
25400 * catgets/gencat.c: Include it.
25401 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25402 * elf/pldd.c: Likewise.
25403 * iconv/iconv_charmap.c: Likewise.
25404 * iconv/iconvconfig.c: Likewise.
25405 * iconv/strtab.c: Likewise.
25406 * locale/programs/locale.c: Likewise.
25407 * locale/programs/localedef.h: Likewise.
25408 * locale/programs/simple-hash.c: Likewise.
25409 * nscd/nscd.h: Likewise.
25410 * nss/makedb.c: Likewise.
25411 * sysdeps/generic/ldconfig.h: Likewise.
25412
be179c8a
SP
254132013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25414
ba384f6e
SP
25415 * Versions.def: Add GLIBC_2.18.
25416 * include/link.h (struct link_map): New member l_tls_dtor_count.
25417 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25418 (__call_tls_dtors): Likewise.
25419 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25420 __cxa_thread_atexit_impl.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25422 Likewise.
25423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25424 Likewise.
25425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25426 Likewise.
25427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25428 Likewise.
25429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25431 Likewise.
25432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25433 Likewise.
25434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25436 Likewise.
25437 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25438 (tests): Add test case tst-tls-atexit.
25439 (modules-names): Add shared library for tst-tls-atexit.
85891aca 25440 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
25441 (GLIBC_PRIVATE): Add __call_tls_dtors.
25442 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25443 for libstdc++.
25444 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25445 * stdlib/tst-tls-atexit.c: New test case.
25446 * stdlib/tst-tls-atexit-lib.c: New test case.
25447
ffaa74cf 25448 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 25449
be179c8a
SP
25450 * elf/Versions (ld): Add _dl_find_dso_for_object.
25451 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25452 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25453 (dl_open_worker): Use _dl_find_dso_for_object.
25454 * elf/dl-sym.c (do_sym): Likewise.
25455 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25456
f78b5caa
AK
254572013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25458
25459 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25460 Syntactic changes only.
25461 (_dl_runtime_profile): Do a tail-call to the resolved function.
25462
29691210
JM
254632013-02-17 Joseph Myers <joseph@codesourcery.com>
25464
25465 [BZ #13550]
25466 * sysdeps/x86_64/bp-asm.h: Remove file.
25467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25468 <bp-sym.h> and <bp-asm.h>.
25469 (__clone): Do not use BP_SYM.
25470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25471 <bp-sym.h> and <bp-asm.h>.
25472 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25473 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25474 "bp-asm.h".
25475 (_setjmp): Do not use BP_SYM.
25476 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25477 "bp-asm.h".
25478 (setjmp): Do not use BP_SYM.
25479 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25480 libc_hidden_def.
25481 (mempcpy): Do not use BP_SYM in weak_alias.
25482 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25483 "bp-asm.h".
25484 (strchr): Do not use BP_SYM.
25485 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25486 "bp-asm.h".
25487 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25488 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25489 (_start): Do not use BP_SYM.
25490 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25491 "bp-asm.h".
25492 (strcat): Do not use BP_SYM.
25493 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25494 "bp-asm.h".
25495 (STRCMP): Do not use BP_SYM.
25496 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25497 "bp-asm.h".
25498 (STRCPY): Do not use BP_SYM.
25499 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25500 "bp-asm.h".
25501 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25502 "bp-asm.h".
25503 (FUNCTION): Do not use BP_SYM.
25504 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25505 weak_alias.
25506 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25507
f238fd19
AJ
255082013-02-17 Andreas Jaeger <aj@suse.de>
25509
25510 * time/Versions: Sort entries.
25511 * string/Versions: Likewise.
25512 * resolv/Versions: Likewise.
25513 * posix/Versions: Likewise.
25514 * iconv/Versions: Likewise.
25515 * elf/Versions: Likewise.
25516 * wcsmbs/Versions: Likewise.
25517
bd07f23c 255182013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 25519
22af19f9
SP
25520 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25521 loop termination condition.
25522
4709fe76
SP
25523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25524 variable to calculate EZ.
25525 (__sqr): Likewise.
2d0e0f29
SP
25526
25527 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25528 the lower precision input.
25529
daaa7713
JM
255302013-02-15 Joseph Myers <joseph@codesourcery.com>
25531
25532 [BZ #13550]
25533 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25534 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25535 (run-via-rtld-prefix): Do not handle %-bp tests.
25536 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25537 (all-object-suffixes): Remove .ob.
25538 (bppfx): Remove variable.
25539 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25540 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25541 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25542 [$(build-bounded) = yes] (libtype.ob): Likewise.
25543 * Makerules (elide-routines.ob): Remove variable.
25544 (do-tests-clean): Do not handle *-bp.out.
25545 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25546 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25547 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25548 (tests): Do not include $(tests-bp.out).
25549 (xtests): Do not include $(xtests-bp.out).
25550 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25551 [$(build-bounded) = yes] ($(addprefix
25552 $(objpfx),$(binaries-bounded))): Remove rule.
25553 ($(objpfx)%-bp.out): Remove rule.
25554 * config.make.in (build-bounded): Remove variable.
25555 * crypt/Makefile [$(build-bounded) = yes]
25556 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25557 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25558 append to variable.
25559 [$(build-bounded) = yes] (install-lib): Likewise.
25560 [$(build-bounded) = yes] (generated): Likewise.
25561 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25562 Remove rule.
25563 * intl/Makefile [$(build-bounded) = yes]
25564 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25565 * math/Makefile [$(build-bounded) = yes]
25566 ($(tests:%=$(objpfx)%-bp): Likewise.
25567 * misc/Makefile [$(build-bounded) = yes]
25568 ($(objpfx)tst-tsearch-bp): Likewise.
25569 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25570 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25571 Remove dependency.
25572 * string/Makefile (o-objects.ob): Remove variable.
25573 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25574 (CFLAGS-.ob): Remove variable.
25575 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25576 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25577 both definitions of variable.
25578 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25579 (ASFLAGS-.ob): Remove variable.
25580
e97ed6dd
JM
255812013-02-14 Joseph Myers <joseph@codesourcery.com>
25582
2bdd4ca6
JM
25583 [BZ #13550]
25584 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25585 Remove __BOUNDED_POINTERS__ from condition.
25586 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25587 * string/bits/string2.h [!__NO_STRING_INLINES &&
25588 !__BOUNDED_POINTERS__]: Likewise.
25589 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25590 Likewise.
25591 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25592 Remove conditional code.
25593 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25594 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25595 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25596 condition.
25597
e97ed6dd
JM
25598 [BZ #13550]
25599 * csu/libc-start.c: Do not include <bp-sym.h>.
25600 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25601 * elf/dl-open.c: Do not include <bp-sym.h>.
25602 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25603 * math/fegetenv.c: Do not include <bp-sym.h>.
25604 (fegetenv): Do not use BP_SYM in versioned symbols.
25605 * nptl/sysdeps/pthread/bits/libc-lockP.h
25606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25607 <bp-sym.h>.
25608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25609 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25611 (__pthread_mutex_destroy): Likewise.
25612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25613 (__pthread_mutex_lock): Likewise.
25614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25615 (__pthread_mutex_trylock): Likewise.
25616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25617 (__pthread_mutex_unlock): Likewise.
25618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25619 (__pthread_mutexattr_init): Likewise.
25620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25621 (__pthread_mutexattr_destroy): Likewise.
25622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25623 (__pthread_mutexattr_settype): Likewise.
25624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25625 (__pthread_rwlock_init): Likewise.
25626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25627 (__pthread_rwlock_destroy): Likewise.
25628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25629 (__pthread_rwlock_rdlock): Likewise.
25630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25631 (__pthread_rwlock_tryrdlock): Likewise.
25632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25633 (__pthread_rwlock_wrlock): Likewise.
25634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25635 (__pthread_rwlock_trywrlock): Likewise.
25636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25637 (__pthread_rwlock_unlock): Likewise.
25638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25639 (__pthread_key_create): Likewise.
25640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25641 (__pthread_setspecific): Likewise.
25642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25643 (__pthread_getspecific): Likewise.
25644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25645 Likewise.
25646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25647 (_pthread_cleanup_push_defer): Likewise.
25648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25649 (_pthread_cleanup_pop_restore): Likewise.
25650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25651 (pthread_setcancelstate): Likewise.
25652 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25653 <bp-sym.h>.
25654 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25655 (memchr): Do not use BP_SYM in weak_alias.
25656 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25657 (fegetenv): Do not use BP_SYM in versioned symbols.
25658 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25659 (fesetenv): Do not use BP_SYM in versioned symbols.
25660 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25661 (feupdateenv): Do not use BP_SYM in versioned symbols.
25662 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25663 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25664 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25665 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25666 (open64): Do not use BP_SYM in weak_alias.
25667 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25668 (fegetenv): Do not use BP_SYM in versioned symbols.
25669 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25670 (fesetenv): Do not use BP_SYM in versioned symbols.
25671 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25672 (feupdateenv): Do not use BP_SYM in versioned symbols.
25673 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25674 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25675 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25676 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25677 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25678 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25679 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25680 <bp-sym.h>.
25681 (__libc_start_main): Do not use BP_SYM.
25682
d6752ccd
SP
256832013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25684
cb57ce60
SP
25685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25686 redundant return line.
25687 (norm): Likewise.
25688 (denorm): Likewise.
25689 (dbl_mp): Likewise.
25690 (sub_magnitudes): Likewise.
25691 (__add): Likewise.
25692 (__sub): Likewise.
25693 (__mul): Likewise.
25694 (__inv): Likewise.
25695 (__dvd): Likewise.
25696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25697 (norm): Likewise.
25698 (denorm): Likewise.
25699 (dbl_mp): Likewise.
25700 (sub_magnitudes): Likewise.
25701 (__add): Likewise.
25702 (__sub): Likewise.
25703 (__mul): Likewise.
25704 (__inv): Likewise.
25705 (__dvd): Likewise.
25706
f414520d
SP
25707 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25708 instead of __mul.
25709 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25710 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25711 (cc32): Likewise.
25712
d6752ccd
SP
25713 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25714 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25716 of __mul for squares.
25717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25718 function
25719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25720 Likewise.
25721 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25722 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25723
70d9946a
JM
257242013-02-13 Joseph Myers <joseph@codesourcery.com>
25725
25726 [BZ #13550]
25727 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25728 code.
25729 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25730 prototype or function definition. Rename ubp_* variables and
25731 parameters. Remove argv definitions conditional on
25732 [__BOUNDED_POINTERS__].
25733 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25734 * elf/dl-runtime.c (_dl_fixup): Likewise.
25735 * include/set-hooks.h (RUN_HOOK): Likewise.
25736 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25737 definition.
25738 * string/strcpy.c (strcpy): Do not use __unbounded.
25739 * sysdeps/generic/frame.h (struct layout): Likewise.
25740 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25741 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25742 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25743 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25744 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25745 (__backtrace): Likewise.
25746 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25747 use __ptrvalue.
25748 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25749 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25750 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25751 Likewise.
25752 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25753 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25754 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25755 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25756 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25757 Do not use __unbounded.
25758 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25759 Rename __unboundedrlimits parameter to rlimits in prototype.
25760 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25761 Do not use __unbounded.
25762 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25763 not use __ptrvalue.
25764 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25765 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25766 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25767 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25768 __ptrvalue or __unbounded.
25769 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25770 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25771 use __unbounded.
25772 (__new_msgctl): Do not use __ptrvalue.
25773 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25774 __unbounded.
25775 (__libc_msgrcv): Do not use __ptrvalue.
25776 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25777 startup_info): Do not use __unbounded.
25778 (__libc_start_main): Likewise. Rename ubp_* variables and
25779 parameters. Remove argv definitions conditional on
25780 [__BOUNDED_POINTERS__].
25781 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25782 __ptrvalue.
25783 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25784 use __unbounded.
25785 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25786 or __ptrvalue.
25787 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25788 use __unbounded.
25789 (__new_shmctl): Do not use __ptrvalue.
25790 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25791 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25792 Likewise.
25793 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25794 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25795 (__libc_sigaction): Likewise.
25796 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25797 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25798 Likewise.
25799 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25800
cc7834d6
OB
258012013-02-13 Ondřej Bílka <neleai@seznam.cz>
25802
ffb1ec7b 25803 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25804
25805 * string/mempcpy.c: Implement by calling memcpy.
25806
bdf02814
SP
258072013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25808
c2af38aa
SP
25809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25810
4e92d59e
SP
25811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25812 evaluation.
25813
909279a5
SP
25814 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25815 values in the mantissa.
25816
bdf02814
SP
25817 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25818 minimize writes to Z.
25819 (sub_magnitudes): Simplify code a bit.
25820
cd525923
RM
258212013-02-12 Roland McGrath <roland@hack.frob.com>
25822
25823 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25824 from the message. The linker prefixes all warnings with that already.
25825
7e2f0d2d
AS
258262013-02-12 Andreas Schwab <schwab@suse.de>
25827
a445af0b
AS
25828 [BZ #15078]
25829 * posix/regexec.c (extend_buffers): Add parameter min_len.
25830 (check_matching): Pass minimum needed length.
25831 (clean_state_log_if_needed): Likewise.
25832 (get_subexp): Likewise.
25833 * posix/Makefile (tests): Add bug-regex34.
25834 (bug-regex34-ENV): Define.
25835 * posix/bug-regex34.c: New file.
25836
7e2f0d2d
AS
25837 [BZ #11561]
25838 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25839 elements compare against the byte sequence of it, not its name.
25840 * posix/Makefile (tests): Add bug-regex35.
25841 (bug-regex35-ENV): Define.
25842 * posix/bug-regex35.c: New file.
25843
a175b684
TV
258442013-02-11 Tom de Vries <tom@codesourcery.com>
25845
25846 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25847 comment.
25848 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25849 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25850 (CHECK_EOL): Add undef.
25851
310998fe 258522013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
25853
25854 * bits/stdlib-bsearch.h: New file.
25855 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 25856 * stdlib/stdlib.h: Likewise.
41eda41d 25857
8ded91fb
RM
258582013-02-11 Roland McGrath <roland@hack.frob.com>
25859
25860 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25861 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25862 declaration.
25863 * manual/search.texi (Array Search Function): Add missing const in
25864 lfind prototype.
25865 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25866 declaration to use rlim_t.
25867 (Basic Scheduling Functions): Remove erroneous const from
25868 sched_getparam prototype. Remove erroneous * from
25869 sched_get_priority_max and sched_get_priority_min prototypes.
25870 (Resource Usage): Fix summary @comment on vtimes to refer to
25871 sys/vtimes.h rather than vtimes.h.
25872 Add missing *s in vtimes prototype.
25873 (Limits on Resources): Fix ulimit prototype to return long int.
25874 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25875 prototypes to use long int rather than double.
25876 (BSD Random): Fix initstate and setstate to use char *, not void *.
25877 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25878 prototype to make second argument 'struct aiocb64 *const[]'.
25879 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25880 (Status of AIO Operations): Remove erroneous const in aio_return and
25881 aio_return64 prototypes.
25882 (Synchronizing I/O): Fix sync prototype to return void.
25883 * manual/startup.texi (Suboptions): Remove an erroneous const in
25884 getsubopt prototype.
25885 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25886 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25887 use size_t rather than int.
25888 (Scanning All Users): Likewise for getpwent_r.
25889 (Setting Groups): Add missing const to setgroups prototype.
25890 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25891 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25892 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25893 'const void *' rather than 'const char *'.
25894 (Host Address Functions): Likewise for inet_ntop.
25895 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25896 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25897 ssize_t for return value.
25898 (Sending Data): Likewise for send, sendto, sendmsg.
25899 (Socket Option Functions): Add a missing const in setsockopt prototype.
25900 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25901 use wchar_t for the argument.
25902 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25903 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25904 take no arguments.
25905 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25906 double/float/long double for second argument.
25907 Fix return types of significand, significandf, significandl.
25908 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25909 argument in fchmod prototype.
25910 (File Owner): Use uid_t and gid_t in fchown prototype.
25911 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25912 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25913 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25914 use 'const struct dirent **' as argument types to CMP function pointer
25915 argument.
25916 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25917 (File Times): Fix summary magic @comment for struct utimbuf and utime
25918 to refer to utime.h, not time.h.
25919 * manual/string.texi (Argz Functions): Add missing const in
25920 argz_extract and argz_next prototypes.
25921 (Finding Tokens in a String): Likewise for basename.
25922 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25923 (Copying and Concatenation): Fix typo in wmemmove prototype.
25924 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25925 (Signal Stack): Remove erroneous const in sigstack prototype.
25926 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25927 prototype.
25928 (Simple Calendar Time): Likewise for stime.
25929 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25930 prototype.
25931 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25932 say sys/sysctl.h instead.
25933 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25934 and vsyslog prototypes.
25935
fe77fe6d
TV
259362013-02-11 Tom de Vries <tom@codesourcery.com>
25937
25938 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25939 Remove.
25940
3a09b620
RM
259412013-02-11 Roland McGrath <roland@hack.frob.com>
25942
25943 * misc/sys/mman.h: Fix typo in mremap comment.
25944
550a0b89
RM
259452013-02-08 Roland McGrath <roland@hack.frob.com>
25946
25947 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25948 the '\0' terminator.
25949
a2da1673
JM
259502013-02-08 Joseph Myers <joseph@codesourcery.com>
25951
25952 [BZ #13550]
25953 * debug/segfault.c: Don't include <bp-checks.h>.
25954 * sysdeps/generic/bp-checks.h: Remove file.
25955 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25956 (__GETDENTS): Don't use CHECK_N.
25957 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25958 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25959 (__getgroups): Don't use CHECK_N.
25960 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25961 (setgroups): Don't use CHECK_N.
25962 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25963 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25964 (__libc_msgrcv): Don't use CHECK_N.
25965 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25966 (__libc_msgsnd): Don't use CHECK_N.
25967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25968 <bp-checks.h>.
25969 (__libc_pread): Don't use CHECK_N.
25970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25971 include <bp-checks.h>.
25972 (__libc_pread64): Don't use CHECK_N.
25973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25974 include <bp-checks.h>.
25975 (__libc_pwrite): Don't use CHECK_N.
25976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25977 include <bp-checks.h>.
25978 (__libc_pwrite64): Don't use CHECK_N.
25979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25980 <bp-checks.h>.
25981 (__libc_pread): Don't use CHECK_N.
25982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25983 include <bp-checks.h>.
25984 (__libc_pread64): Don't use CHECK_N.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25986 include <bp-checks.h>.
25987 (__libc_pwrite): Don't use CHECK_N.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25989 include <bp-checks.h>.
25990 (__libc_pwrite64): Don't use CHECK_N.
25991 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25992 (do_pread): Don't use CHECK_N.
25993 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25994 (do_pread64): Don't use CHECK_N.
25995 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25996 (do_pwrite): Don't use CHECK_N.
25997 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25998 (do_pwrite64): Don't use CHECK_N.
25999 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26000 (__libc_readv): Don't use CHECK_N.
26001 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26002 (semop): Don't use CHECK_N.
26003 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26004 <bp-checks.h>.
26005 (semtimedop): Don't use CHECK_N.
26006 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26007 (__libc_pread): Don't use CHECK_N.
26008 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26009 <bp-checks.h>.
26010 (__libc_pread64): Don't use CHECK_N.
26011 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26012 <bp-checks.h>.
26013 (__libc_pwrite): Don't use CHECK_N.
26014 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26015 <bp-checks.h>.
26016 (__libc_pwrite64): Don't use CHECK_N.
26017 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26018 <bp-checks.h>.
26019 (__libc_msgrcv): Don't use CHECK_N.
26020 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26021 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26022 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26023 (__libc_writev): Don't use CHECK_N.
26024
b84660a8
RM
260252013-02-08 Roland McGrath <roland@hack.frob.com>
26026
7f3e75f8
RM
26027 * string/strcpy.c: Removed unused variable.
26028
b84660a8
RM
26029 * Makeconfig (+sysdep-includes): Define with := rather than =.
26030 Use an existing include/ subdir of each sysdeps dir before it.
26031
471514d3
CD
260322013-02-08 Carlos O'Donell <carlos@redhat.com>
26033
26034 * nscd/connection.c (register_traced_file): Comment function.
26035 [HAVE_INOTIFY] (union __inev): Define.
26036 [HAVE_INOTIFY] (inotify_check_files): New function.
26037 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26038 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26039 clear_db_cache.
26040 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26041
b2d3c3be
CD
260422013-02-08 Carlos O'Donell <carlos@redhat.com>
26043
26044 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26045 loaded if not already and that a failure is permanent.
26046
b39949d2
CD
260472013-02-08 Carlos O'Donell <carlos@redhat.com>
26048
ddacd1db 26049 [BZ #15006]
b39949d2
CD
26050 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26051 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26052
b2c9eff4
JM
260532013-02-08 Joseph Myers <joseph@codesourcery.com>
26054
f3aae3f3
JM
26055 [BZ #13550]
26056 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26057 (CHECK_1_NULL_OK): Likewise.
26058 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26059 (__fxstat): Do not use CHECK_1.
26060 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26061 <bp-checks.h>.
26062 (___fxstat64): Do not use CHECK_1.
26063 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26064 <bp-checks.h>.
26065 (__fxstatat): Do not use CHECK_1.
26066 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26067 <bp-checks.h>.
26068 (__fxstatat64): Do not use CHECK_1.
26069 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26070 <bp-checks.h>.
26071 (__fxstat): Do not use CHECK_1.
26072 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26073 <bp-checks.h>.
26074 (__fxstatat): Do not use CHECK_1.
26075 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26076 <bp-checks.h>.
26077 (__getresgid): Do not use CHECK_1.
26078 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26079 <bp-checks.h>.
26080 (__getresuid): Do not use CHECK_1.
26081 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26082 <bp-checks.h>.
26083 (__lxstat): Do not use CHECK_1.
26084 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26085 <bp-checks.h>.
26086 (__old_msgctl): Do not use CHECK_1.
26087 (__new_msgctl): Likewise.
26088 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26089 <bp-checks.h>.
26090 (__new_setrlimit): Do not use CHECK_1.
26091 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26092 <bp-checks.h>.
26093 (__old_shmctl): Do not use CHECK_1.
26094 (__new_shmctl): Likewise.
26095 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26096 <bp-checks.h>.
26097 (__xstat): Do not use CHECK_1.
26098 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26099 (__lxstat): Do not use CHECK_1.
26100 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26101 <bp-checks.h>.
26102 (___lxstat64): Do not use CHECK_1.
26103 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26104 (__old_msgctl): Do not use CHECK_1.
26105 (__new_msgctl): Likewise.
26106 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26107 <bp-checks.h>.
26108 (__gettimeofday): Do not use CHECK_1.
26109 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26110 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26111 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26112 <bp-checks.h>.
26113 (__gettimeofday): Do not use CHECK_1.
26114 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26115 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26116 (__new_shmctl): Do not use CHECK_1.
26117 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26118 <bp-checks.h>.
26119 (do_sigtimedwait): Do not use CHECK_1.
26120 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26121 <bp-checks.h>.
26122 (do_sigwaitinfo): Do not use CHECK_1.
26123 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26124 <bp-checks.h>.
26125 (msgctl): Do not use CHECK_1.
26126 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26127 <bp-checks.h>.
26128 (shmctl): Do not use CHECK_1.
26129 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26130 (ustat): Do not use CHECK_1.
26131 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26132 <bp-checks.h>.
26133 (__fxstat): Do not use CHECK_1.
26134 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26135 <bp-checks.h>.
26136 (__fxstatat): Do not use CHECK_1.
26137 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26138 <bp-checks.h>.
26139 (__lxstat): Do not use CHECK_1.
26140 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26141 <bp-checks.h>.
26142 (__xstat): Do not use CHECK_1.
26143 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26144 (__xstat): Do not use CHECK_1.
26145 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26146 (___xstat64): Do not use CHECK_1.
26147
b2c9eff4
JM
26148 [BZ #13550]
26149 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26150 definitions.
26151 (CHECK_BOUNDS_HIGH): Likewise.
26152 * string/strcpy.c: Do not include <bp-checks.h>.
26153 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26154
f1d70dad
RM
261552013-02-07 Roland McGrath <roland@hack.frob.com>
26156
26157 * nscd/nscd-client.h (__nscd_drop_map_ref):
26158 Add __attribute__ ((unused)).
26159 * nis/nss-nisplus.h (niserr2nss): Likewise.
26160
26161 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26162 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26163
26164 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26165 Remove inline keyword.
26166 * include/rounding-mode.h (round_away): Likewise.
26167 * libio/wfileops.c (adjust_wide_data): Likewise.
26168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26169 (__m128i_strloadu_tolower): Likewise.
26170 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26171 (__m128i_strloadu_tolower): Likewise.
26172 * time/mktime.c (ydhms_diff): Likewise.
26173 * locale/elem-hash.h (elem_hash): Likewise.
26174 * locale/setlocale.c (setdata): Likewise.
26175 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26176 (re_string_wchar_at): Likewise.
26177 (bitset_not, bitset_merge, bitset_mask): Likewise.
26178 [!(__GNUC__ > 3)] (inline): Remove macro.
26179 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26180 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26181 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26182 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26183 * string/memcmp.c (memcmp_bytes): Likewise.
26184 * locale/programs/locarchive.c (compute_hashval): Likewise.
26185 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26186 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26187 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26188 * nss/getent.c (print_rpc, print_protocols): Likewise.
26189 (print_passwd, print_group, print_aliases): Likewise.
26190 * nis/nss-nisplus.h (niserr2nss): Likewise.
26191 * nscd/connections.c (restart_p): Likewise.
26192 Change return type to bool.
26193
eab55bfb
RM
261942013-02-05 Roland McGrath <roland@hack.frob.com>
26195
7bd642f5
RM
26196 * Makeconfig (all-Depend-files): Add existing
26197 $(sorted-subdirs:=/Depend) files.
26198 (all-subdirs): Remove nss.
26199 * sysdeps/unix/inet/Subdirs: Add it here instead.
26200 * hesiod/Depend: New file.
26201
573c29b2
RM
26202 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26203 instead of calling alloca.
26204
b2e25af0
RM
26205 * io/lseek.c (__lseek): Rename to __libc_lseek.
26206 Define __lseek as an alias.
26207
eab55bfb
RM
26208 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26209
9a0d1941
CD
262102013-02-04 Carlos O'Donell <carlos@redhat.com>
26211
26212 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26213 else clause and remove check for non-standard endianness.
26214
b83bbec4
DM
262152013-02-04 David S. Miller <davem@davemloft.net>
26216
26217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26218
6277fdab
JM
262192013-02-04 Joseph Myers <joseph@codesourcery.com>
26220
26221 [BZ #13550]
26222 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26223 (__ubp_memchr): Remove prototype.
26224 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26225 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26226 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26227 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26228 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26229 Remove alias.
26230 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26231 (__ubp_memchr): Likewise.
26232 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26233 (__ubp_memchr): Likewise.
26234 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26235 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26236 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26237 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26238 CHECK_STRING.
26239 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26240 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26241 (__getcwd): Do not use CHECK_STRING.
26242 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26243 <bp-checks.h>.
26244 (__real_chown): Do not use CHECK_STRING.
26245 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26246 <bp-checks.h>.
26247 (fchownat): Do not use CHECK_STRING.
26248 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26249 CHECK_STRING.
26250 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26251 <bp-checks.h>.
26252 (__lchown): Do not use CHECK_STRING.
26253 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26254 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26255 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26256 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26258 include <bp-checks.h>.
26259 (truncate64): Do not use CHECK_STRING.
26260 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26261 <bp-checks.h>.
26262 (__real_chown): Do not use CHECK_STRING.
26263 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26264 <bp-checks.h>.
26265 (__lchown): Do not use CHECK_STRING.
26266 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26267 <bp-checks.h>.
26268 (__chown): Do not use CHECK_STRING.
26269 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26270 <bp-checks.h>.
26271 (truncate64): Do not use CHECK_STRING.
26272 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26273 Likewise.
26274 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26275 (__xmknod): Do not use CHECK_STRING.
26276 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26277 <bp-checks.h>.
26278 (__xmknodat): Do not use CHECK_STRING.
26279 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26280 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26281
903ae060
AS
262822013-02-04 Andreas Schwab <schwab@suse.de>
26283
26284 [BZ #14142]
26285 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26286 * include/netdb.h: Likewise for h_errno.
26287 * elf/tst-stackguard1.c: Include <tls.h>.
26288
542f9466
JK
262892013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26290
26291 * elf/link.h (struct link_map): Extend the l_addr comment.
26292 * include/link.h (struct link_map): Likewise.
26293
e782a927
JM
262942013-02-01 Joseph Myers <joseph@codesourcery.com>
26295
26296 [BZ #13550]
26297 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26298 (BOUNDED_1): Remove macro.
26299 * debug/backtrace.c: Don't include <bp-checks.h>.
26300 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26301 (__backtrace): Likewise.
26302 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26303 <bp-checks.h>.
26304 (__backtrace): Don't use BOUNDED_1.
26305 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26306 <bp-checks.h>.
26307 (__backtrace): Don't use BOUNDED_1.
26308 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26309 (__backtrace): Don't use BOUNDED_1.
26310 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26311 (shmat): Don't use BOUNDED_N.
26312
8cf28c5e
JM
263132013-01-31 Joseph Myers <joseph@codesourcery.com>
26314
3a7ac8a0
JM
26315 [BZ #13550]
26316 * sysdeps/generic/bp-start.h: Remove file.
26317 * csu/libc-start.c: Don't include <bp-start.h>.
26318 (LIBC_START_MAIN): Set up __environ directly instead of using
26319 INIT_ARGV_and_ENVIRON.
26320 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26321 <bp-start.h>.
26322
f3499f95
JM
26323 [BZ #13550]
26324 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26325 definitions.
26326 (CHECK_FCNTL): Likewise.
26327 (CHECK_N_PAGES): Likewise.
26328
32a45bea
JM
26329 [BZ #13550]
26330 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26331 definitions.
26332 (CHECK_SIGSET_NULL_OK): Likewise.
26333 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26334 <bp-checks.h>.
26335 (sigpending): Don't use CHECK_SIGSET.
26336 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26337 <bp-checks.h>.
26338 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26339 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26340 <bp-checks.h>.
26341 (do_sigsuspend): Don't use CHECK_SIGSET.
26342 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26343 use CHECK_SIGSET.
26344 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26345 (do_sigwait): Don't use CHECK_SIGSET.
26346 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26347 use CHECK_SIGSET.
26348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26349 include <bp-checks.h>.
26350 (sigpending): Don't use CHECK_SIGSET.
26351 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26352 include <bp-checks.h>.
26353 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26354 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26355 <bp-checks.h>.
26356 (sigpending): Don't use CHECK_SIGSET.
26357 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26358 <bp-checks.h>.
26359 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26360
2e8a5c8c
JM
26361 [BZ #13550]
26362 * sysdeps/generic/bp-semctl.h: Remove file.
26363 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26364 <bp-checks.h> and <bp-semctl.h>.
26365 (__old_semctl): Don't use CHECK_SEMCTL.
26366 (__new_semctl): Likewise.
26367 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26368 and <bp-semctl.h>.
26369 (__old_semctl): Don't use CHECK_SEMCTL.
26370 (__new_semctl): Likewise.
26371 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26372 <bp-checks.h> and <bp-semctl.h>.
26373 (__old_semctl): Don't use CHECK_SEMCTL.
26374 (__new_semctl): Likewise.
26375 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26376 <bp-checks.h> and <bp-semctl.h>.
26377 (semctl): Don't use CHECK_SEMCTL.
26378
c2d54929
JM
26379 [BZ #13550]
26380 * Makerules (elide-bp-thunks): Remove variable.
26381 (elide-routines.oS): Don't use $(elide-bp-thunks).
26382 (elide-routines.os): Likewise.
26383 (elide-routines.o): Likewise.
26384 (elide-routines.op): Likewise.
26385 (elide-routines.og): Likewise.
26386 (objects): Don't use $(bp-thunks).
26387 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26388 include.
26389 (common-generated): Do not add s-proto-bp.d.
26390 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26391 (int): Likewise.
26392 (typ): Likewise.
26393 Do not generate makefile rules for bounded-pointer thunks.
26394 * sysdeps/generic/bp-thunks.h: Remove file.
26395 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26396 * sysdeps/unix/s-proto-bp.S: Likewise.
26397
8cf28c5e
JM
26398 [BZ #15062]
26399 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26400 parts of result separately when argument is not close to line from
26401 -i to i and one part of argument is small.
26402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26404 * math/libm-test.inc (cacos_test): Add more tests.
26405 (casin_test): Likewise.
26406 (casinh_test): Likewise.
26407 * sysdeps/i386/fpu/libm-test-ulps: Update.
26408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409
c4e33b8d
DM
264102013-01-31 David S. Miller <davem@davemloft.net>
26411
26412 * po/de.po: Update from translation team.
26413
3b60b421
MK
264142013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26415
26416 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26417
bb931195
TS
264182013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26419
b5a5da23
TS
26420 * configure.in (_AC_PROG_CC_C89): New definition.
26421 * configure: Regenerate.
26422
bb931195
TS
26423 * configure.in (AC_PROG_CPP): New definition.
26424 * configure: Regenerate.
26425
8c53a12c
JM
264262013-01-23 Joseph Myers <joseph@codesourcery.com>
26427
26428 * debug/tst-backtrace.h: New file.
26429 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26430 (ret): Remove variable.
26431 (x): Likewise.
26432 (FAIL): Remove macro.
26433 (NO_INLINE): Likewise.
26434 (fn1): Use match function instead of strstr.
26435 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26436 (ret): Remove variable.
26437 (x): Likewise.
26438 (FAIL): Remove macro.
26439 (NO_INLINE): Likewise.
26440 (fn): Use match function instead of strstr.
26441 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26442 (ret): Remove variable.
26443 (x): Likewise.
26444 (FAIL): Remove macro.
26445 (NO_INLINE): Likewise.
26446 (handle_signal): Use match function instead of strstr.
26447 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26448 (ret): Remove variable.
26449 (x): Likewise.
26450 (FAIL): Remove macro.
26451 (NO_INLINE): Likewise.
26452 (handle_signal): Use match function instead of strstr.
26453
4858fa2a
RM
264542013-01-23 Roland McGrath <roland@hack.frob.com>
26455
26456 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26457
bae8e7f5
DM
264582013-01-23 David S. Miller <davem@davemloft.net>
26459
26460 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26461 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26462 argument of CAS if possible.
26463 * sysdeps/sparc/sparc64/bits/atomic.h
26464 (__arch_compare_and_exchange_val_32_acq): Likewise.
26465 (__arch_compare_and_exchange_val_64_acq): Likewise.
26466
9cbbc4ae
PT
264672013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26468
26469 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26470 * sysdeps/posix/ulimit.c: ... this.
92a601b8 26471 Include <limits.h>.
67b3f58c 26472 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 26473
5655a0b5
AC
264742013-01-23 Adam Conrad <adconrad@0c3.net>
26475
26476 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26477 (LDFLAGS-tst-array5): Likewise.
26478
052aff95
JM
264792013-01-23 Joseph Myers <joseph@codesourcery.com>
26480
26481 [BZ #15036]
26482 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26483 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26484 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26485 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26486
7c1e01aa
DM
264872013-01-21 David S. Miller <davem@davemloft.net>
26488
26489 * sysdeps/sparc/backtrace.c: New file.
26490 * sysdeps/sparc/sparc32/backtrace.h: New file.
26491 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26492 * sysdeps/sparc/sparc64/backtrace.h: New file.
26493 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26494 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26495 -funwind-tables.
26496
ab087e0a
AS
264972013-01-21 Andreas Schwab <schwab@suse.de>
26498
26499 [BZ #15020]
26500 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26501 closed its stdout.
26502
ed689c2f
AS
265032013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26504
26505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26506 "mpa2.h".
26507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26508
31d470ac
JM
265092013-01-18 Joseph Myers <joseph@codesourcery.com>
26510 Mark Mitchell <mark@codesourcery.com>
26511 Tom de Vries <tom@codesourcery.com>
26512 Paul Pluzhnikov <ppluzhnikov@google.com>
26513
26514 * debug/tst-backtrace2.c: New file.
26515 * debug/tst-backtrace3.c: Likewise.
26516 * debug/tst-backtrace4.c: Likewise.
26517 * debug/tst-backtrace5.c: Likewise.
26518 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26519 (CFLAGS-tst-backtrace3.c): Likewise.
26520 (CFLAGS-tst-backtrace4.c): Likewise.
26521 (CFLAGS-tst-backtrace5.c): Likewise.
26522 (LDFLAGS-tst-backtrace2): Likewise.
26523 (LDFLAGS-tst-backtrace3): Likewise.
26524 (LDFLAGS-tst-backtrace4): Likewise.
26525 (LDFLAGS-tst-backtrace5): Likewise.
26526 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26527 tst-backtrace4 and tst-backtrace5.
26528
90567f30 265292013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
26530 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26531
26532 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26533 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26534 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26535 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26537 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26538 "+r" and remove output regs list as redundant. Add explicit inline
26539 asm to specify register of return val to work around compiler codegen
26540 bug. Remove (int) cast on return value. Add return type parameter to
26541 use in macro so that this macro does not truncate return value for
26542 64-bit values.
26543 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26544 pass to INTERNAL_VSYSCALL_NCS.
26545 (INLINE_VSYSCALL): Add 'long int' as return type to
26546 INTERNAL_VSYSCALL_NCS macro invocation.
26547 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26548 INTERNAL_VSYSCALL_NCS macro invocation.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26550
d3b9ea61
SP
265512013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26552
0b57daeb
SP
26553 [BZ #14496]
26554 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26555 Fix application of SIMD FP exception mask.
26556
caa99d06
SP
26557 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26558 mp_no from a power of two.
26559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26560 __mpexp_twomm1. Use __pow_mp.
26561
d3b9ea61
SP
26562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26563 multiplication.
26564
1dbaee3c
DM
265652013-01-17 David S. Miller <davem@davemloft.net>
26566
26567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26568
728d7b43
JM
265692013-01-17 Joseph Myers <joseph@codesourcery.com>
26570
26571 [BZ #15023]
26572 * include/complex.h: Condition contents on [!_COMPLEX_H].
26573 (__kernel_casinhf): New prototype.
26574 (__kernel_casinh): Likewise.
26575 (__kernel_casinhl): Likewise.
26576 * math/Makefile (libm_calls): Add k_casinh.
26577 * math/k_casinh.c: New file.
26578 * math/k_casinhf.c: Likewise.
26579 * math/k_casinhl.c: Likewise.
26580 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26581 finite nonzero arguments.
26582 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26583 finite nonzero arguments.
26584 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26585 finite nonzero arguments.
26586 * math/s_casinh.c: Do not include <float.h>.
26587 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26588 * math/s_casinhf.c: Do not include <float.h>.
26589 (__casinhf): Move code for finite nonzero arguments to
26590 k_casinhf.c.
26591 * math/s_casinhl.c: Do not include <float.h>.
26592 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26593 redefine.
26594 (__casinhl): Move code for finite nonzero arguments to
26595 k_casinhl.c.
26596 * math/libm-test.inc (cacos_test): Add more tests.
26597 * sysdeps/i386/fpu/libm-test-ulps: Update.
26598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26599
2a26ef3a
PT
266002013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26601
26602 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26603 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26604 [!HAVE_MREMAP]: Remove [defined linux] case.
26605 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26606
a897655d
SP
266072013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26608
26609 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26610
881ebe89 266112013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26612
26613 * elf/elf.h (R_386_SIZE32): New relocation.
26614 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26615 R_386_SIZE32.
26616 (elf_machine_rela): Likewise.
26617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26618 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26619
59981e9b
JM
266202013-01-17 Joseph Myers <joseph@codesourcery.com>
26621
26622 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26623 (FP_FAST_FMA): Do not define.
26624 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26625 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26626 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26627 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26628 !_SOFT_FLOAT]: Likewise.
26629 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26630 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26631 value.
26632 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26633 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26634 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26635 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26636 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26637 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26638 file.
26639
cfa8054f
AS
266402013-01-16 Andreas Schwab <schwab@suse.de>
26641
26642 [BZ #14327]
26643 * include/stdlib.h (__mktemp): Add declaration.
26644 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26645 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26646
dd930cc5
SP
266472013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26648
881ebe89
SP
26649 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26650 definitions.
26651 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26652 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26653 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26654 definitions here.
26655 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26656 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26657 definitions.
26658 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26659 and ONE.
26660 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26661 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26662 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26663 definitions.
26664 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26665 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26666 definitions.
26667 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26668
dd930cc5
SP
26669 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26670
c19a9f89
DM
266712013-01-15 David S. Miller <davem@davemloft.net>
26672
1aa61767
DM
26673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26674 trunc{,f} to libm-sysdep_routes.
26675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26677 file.
26678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26680 file.
26681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26682 file.
26683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26685 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26687 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26688 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26689 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26690 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26691
c42d5e98
DM
26692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26693 nearbyint{,f} to libm-sysdep_routes.
26694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26696 New file.
26697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26698 file.
26699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26700 New file.
26701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26702 file.
26703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26705 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26706 file.
26707 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26708 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26709 file.
26710 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26711 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26712 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26713
c19a9f89
DM
26714 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26715 libc_feholdexcept and libc_fesetenv.
26716
357679d2
MF
267172013-01-15 Mike Frysinger <vapier@gentoo.org>
26718
26719 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26720
65a82e3d
DM
267212013-01-14 David S. Miller <davem@davemloft.net>
26722
8b954ab9
DM
26723 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26724 (SPARC_ASM_VIS2_IFUNC): Likewise.
26725 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26727 use of 'siam' instruction.
26728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26729 Likewise.
26730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26731 Likewise.
26732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26733 Likewise.
26734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26739 file.
26740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26741 file.
26742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26743 file.
26744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26745 file.
26746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26751 new VIS2 routines.
26752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26755 Likewise.
26756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26761 routines to libm-sysdep_routines.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26763
65a82e3d
DM
26764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26765 fdim/fdimf to libm-sysdep_routines.
26766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26767 file.
26768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26770 file.
26771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26774 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26775 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26776 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26777 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26778
e34ab705
SP
267792013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26780
2a91b573
SP
26781 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26782 to optimize copies.
26783
1066a534
SP
26784 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26787
e34ab705
SP
26788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26789 local variable MPTWO.
26790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26791 Likewise.
26792
aba5e596
MF
267932013-01-13 Mike Frysinger <vapier@gentoo.org>
26794
26795 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26796 GLOB_NOESCAPE.
26797
e557e9e5
MF
267982013-01-13 Mike Frysinger <vapier@gentoo.org>
26799
26800 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26801
0428cec9
MF
268022013-01-13 Mike Frysinger <vapier@gentoo.org>
26803
26804 * manual/pattern.texi (glob_t): Document gl_flags.
26805 (glob64_t): Likewise.
26806
8794a964
DM
268072013-01-11 David S. Miller <davem@davemloft.net>
26808
66438c3f
RM
26809 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26810 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26811 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26812 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26813 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26814 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26815 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26816 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26817 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26818 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26819 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26820 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26821 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26822
4ae4244d
DM
26823 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26824 sparc V9 rather than using V8 code.
26825 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26826 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26827
8794a964
DM
26828 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26829 Move to...
26830 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26831 Here.
26832
6270516e
RM
268332013-01-11 Roland McGrath <roland@hack.frob.com>
26834
26835 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26836 not in the main loop.
26837 * configure: Regenerated.
26838
6a57d931
JM
268392013-01-11 Joseph Myers <joseph@codesourcery.com>
26840
26841 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26842 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26843 to just #else.
26844 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26845 [!__GLIBC_HAVE_LONG_LONG] case.
26846 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26847 condition to just #else.
26848 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26849 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26850 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26851 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26852 unconditional.
26853 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26854 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26855 #elif condition to just #else.
26856 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26857 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26858 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26859 #elif condition to just #else.
26860
0e8529e9
SE
268612013-01-11 Steve Ellcey <sellcey@mips.com>
26862
26863 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26864 (EF_MIPS_ARCH_64): Fix value.
26865 (EF_MIPS_ARCH_32R2): New.
26866 (EF_MIPS_ARCH_64R2): New.
26867
740b3dbe
L
268682013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26869
26870 * Makeconfig (+link-pie-before-libc): New.
26871 (+link-pie-after-libc): Likewise.
26872 (+link-pie-tests): Likewise.
26873 (+link-pie): Rewritten.
26874 (link-before-libc): Remove $(config-LDFLAGS).
26875 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26876 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26877 (config-LDFLAGS): Renamed to ...
26878 (rtld-LDFLAGS): This.
26879 (rtld-tests-LDFLAGS): New macro.
26880 (link-libc-rpath-link): Likewise.
26881 (link-libc-tests-rpath-link): Likewise.
26882 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26883 (link-libc): Prepand $(link-libc-rpath-link).
26884 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26885 (test-program-prefix): New macro.
26886 (test-via-rtld-prefix): Likewise.
26887 (test-program-cmd): Likewise.
26888 (host-test-program-cmd): Likewise.
26889 * Makefile ($(common-objpfx)testrun.sh): Replace
26890 $(run-program-prefix) with $(test-program-prefix).
26891 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26892 $(rtld-LDFLAGS).
26893 ($(common-objpfx)shlib.lds): Likewise.
26894 (build-module-helper): Likewise.
26895 ($(common-objpfx)format.lds): Likewise.
26896 * Rules (binaries-pie-tests): New.
26897 (binaries-pie-notests): Likewise.
26898 (binaries-pie): Rewritten.
26899 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26900 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26901 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26902 (make-test-out): Replace $(host-built-program-cmd) with
26903 $(host-test-program-cmd).
26904 * config.make.in (build-hardcoded-path-in-tests): New variable.
26905 * configure.in (--enable-hardcoded-path-in-tests): New configure
26906 option.
26907 (hardcoded_path_in_tests): New AC_SUBST.
26908 * configure: Regenerated.
26909 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26910 $(built-program-cmd) with $(test-program-cmd).
26911 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26912 (test_program_cmd): This.
26913 * elf/Makefile ($(objpfx)order.out): Run test with
26914 $(test-program-prefix).
26915 ($(objpfx)order2.out): Likewise.
26916 ($(objpfx)tst-initorder.out): Likewise.
26917 ($(objpfx)tst-initorder2.out): Likewise.
26918 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26919 $(test-program-cmd).
26920 ($(objpfx)tst-array1-static.out): Likewise.
26921 ($(objpfx)tst-array2.out): Likewise.
26922 ($(objpfx)tst-array3.out): Likewise.
26923 ($(objpfx)tst-array4.out): Likewise.
26924 ($(objpfx)tst-array5.out): Likewise.
26925 ($(objpfx)tst-array5-static.out): Likewise.
26926 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26927 $(test-program-cmd).
26928 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26929 $(run-program-prefix) with $(test-program-prefix).
26930 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26931 (test_program_prefix): This.
26932 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26933 $(run-program-prefix) with $(test-program-prefix).
26934 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26935 (test_program_prefix): This.
26936 * iconvdata/tst-tables.sh: Likewise.
26937 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26938 $(run-program-prefix) with $(test-program-prefix).
26939 ($(objpfx)tst-translit.out): Likewise.
26940 ($(objpfx)tst-gettext2.out): Likewise.
26941 ($(objpfx)tst-gettext4.out): Likewise.
26942 ($(objpfx)tst-gettext6.out): Likewise.
26943 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26944 (test_program_prefix): This.
26945 * intl/tst-gettext2.sh: Likewise.
26946 * intl/tst-gettext4.sh Likewise.
26947 * intl/tst-gettext6.sh: Likewise.
26948 * intl/tst-translit.sh: Likewise.
26949 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26950 with $(test-program-cmd).
26951 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26952 $(run-program-prefix) with $(test-program-prefix).
26953 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26954 (test_program_prefix): This.
26955 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26956 $(run-program-prefix) with $(test-program-prefix).
26957 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26958 (test_program_prefix): This.
26959 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26960 * posix/Makefile ($(objpfx)globtest.out): Replace
26961 $(run-via-rtld-prefix) and $(test-wrapper) with
26962 $(test-program-prefix) and $(test-via-rtld-prefix).
26963 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26964 $(test-program-prefix).
26965 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26966 $(host-test-program-cmd).
26967 (tst-spawn-ARGS): Likewise.
26968 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26969 $(test-program-prefix).
26970 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26971 (test_via_rtld_prefix): This.
26972 (test_wrapper): Renamed to ...
26973 (test_program_prefix): This.
26974 (run_program_prefix): Replaced by test_program_prefix.
26975 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26976 (test_program_prefix): This.
26977 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26978 with $(host-test-program-cmd).
26979 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26980 $(run-program-prefix) with $(test-program-prefix).
26981 ($(objpfx)tst-printf.out): Likewise.
26982 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26983 $(test-program-cmd).
26984 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26985 (test_program_prefix): This.
26986 * stdio-common/tst-unbputc.sh: Likewise.
26987 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26988 $(run-program-prefix) with $(test-program-prefix).
26989 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26990 (test_program_prefix): This.
26991 * string/Makefile ($(objpfx)tst-svc.out): Replace
26992 $(built-program-cmd) with $(test-program-cmd).
26993
c6fe55cf
AJ
269942013-01-11 Andreas Jaeger <aj@suse.de>
26995
26996 [BZ #15003]
26997 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26998 value. Sync with Linux 3.7.
26999
9e6919c8
DM
270002013-01-10 David S. Miller <davem@davemloft.net>
27001
27002 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27003 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27004 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27005
1c9f1a02
RM
270062013-01-10 Roland McGrath <roland@hack.frob.com>
27007
27008 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27009 never set.
27010 * configure: Regenerated.
27011
b9de2dde
DM
270122013-01-10 David S. Miller <davem@davemloft.net>
27013
27014 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27015 sparc V9 rather than using V8 code.
27016 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27017 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27018
e7f68ef4
RM
270192013-01-10 Roland McGrath <roland@hack.frob.com>
27020
27021 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27022 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27023 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27024 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27025 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27026 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27027 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27028 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27029 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27030 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27031 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27032 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27033 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27034 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27035 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27036 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27037 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27038 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27039 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27040 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27041 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27042 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27043 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27044 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27045 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27046 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27047 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27048
5a47cc9c
DM
270492013-01-10 David S. Miller <davem@davemloft.net>
27050
27051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27052
4cf8f209
L
270532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27054
27055 * posix/Makefile (tests-static): New variable.
27056 (tests): Add $(tests-static).
27057 (tst-exec-static-ARGS): New variable.
27058 (tst-spawn-static-ARGS): Likewise.
27059 * posix/tst-exec-static.c: New file.
27060 * posix/tst-spawn-static.c: Likewise.
27061 * posix/tst-exec.c: Support run directly.
27062 * posix/tst-spawn.c: Likewise.
27063
fed0faa1
JM
270642013-01-10 Joseph Myers <joseph@codesourcery.com>
27065
828beb13
JM
27066 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27067 long.
27068 * math/bits/mathcalls.h (llrint): Likewise.
27069 (llround): Likewise.
27070 * stdlib/stdlib.h (struct drand48_data): Likewise.
27071 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27072 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27073 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27074 Likewise.
27075 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27076 Likewise.
27077 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27078 (elf_greg_t): Likewise.
27079 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27080 (__jmp_buf): Likewise.
27081 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27082 definitions.
27083 (llrint): Likewise, for all definitions.
27084 (llrintl): Likewise.
27085
fed0faa1
JM
27086 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27087 Remove [__GNUC__] condition.
27088 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27089 condition to just [__USE_ISOC99].
27090 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27091
1a20cb20
L
270922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27093
27094 [BZ #14200]
27095 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27096 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27097 defined.
27098 (_POSIX_V6_ILP32_OFF32): Likewise.
27099 (_XBS5_ILP32_OFF32): Likewise.
27100 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27101 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27102
751b85f7
SP
271032013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27104
7490eb81
SP
27105 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27106
751b85f7
SP
27107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27108 doubles __mpexp_twomm1. Adjust usage.
27109 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27110 Remove.
27111
988197f0
AS
271122013-01-10 Andreas Schwab <schwab@suse.de>
27113
27114 [BZ #14964]
27115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27116 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27117
e83d7298
DM
271182013-01-09 David S. Miller <davem@davemloft.net>
27119
034ed64b 27120 [BZ #15003]
57f41c40
AS
27121 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27122 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27123 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27124 (TCP_FASTOPEN): Define.
e83d7298
DM
27125 (tcp_repair_opt): New structure.
27126 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27127 enum values.
57f41c40
AS
27128 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27129 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27130 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27131 (tcp_cookie_transactions): New structure.
27132
d5e0b9bd
AB
271332013-01-09 Anton Blanchard <anton@samba.org>
27134
27135 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27136 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27137 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27138 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27139
0c07e3ea
JM
271402013-01-09 Joseph Myers <joseph@codesourcery.com>
27141
27142 * include/features.h (__USE_ANSI): Remove.
27143
232f7002
RM
271442013-01-09 Roland McGrath <roland@hack.frob.com>
27145
ad98e30c
RM
27146 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27147
232f7002
RM
27148 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27149
950c99ca
SP
271502013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27151
b5792741
SP
27152 * sysdeps/s390/fpu/libm-test-ulps: Update.
27153
47cf2278
SP
27154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27155
950c99ca
SP
27156 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27157 (__acr): Likewise.
27158 (__cpy): Likewise.
27159 (norm): Likewise.
27160 (denorm): Likewise.
27161 (__mp_dbl): Likewise.
27162 (__dbl_mp): Likewise.
27163 (add_magnitudes): Likewise.
27164 (sub_magnitudes): Likewise.
27165 (__add): Likewise.
27166 (__sub): Likewise.
27167 (__mul): Likewise.
27168 (__inv): Likewise.
27169 (__dvd): Likewise.
27170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27171 (__acr): Likewise.
27172 (__cpy): Likewise.
27173 (norm): Likewise.
27174 (denorm): Likewise.
27175 (__mp_dbl): Likewise.
27176 (__dbl_mp): Likewise.
27177 (add_magnitudes): Likewise.
27178 (sub_magnitudes): Likewise.
27179 (__add): Likewise.
27180 (__sub): Likewise.
27181 (__mul): Likewise.
27182 (__inv): Likewise.
27183 (__dvd): Likewise.
27184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27185 (__acr): Likewise.
27186 (__cpy): Likewise.
27187 (norm): Likewise.
27188 (denorm): Likewise.
27189 (__mp_dbl): Likewise.
27190 (__dbl_mp): Likewise.
27191 (add_magnitudes): Likewise.
27192 (sub_magnitudes): Likewise.
27193 (__add): Likewise.
27194 (__sub): Likewise.
27195 (__mul): Likewise.
27196 (__inv): Likewise.
27197 (__dvd): Likewise.
27198
eede9df9
JM
271992013-01-08 Joseph Myers <joseph@codesourcery.com>
27200
27201 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27202 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27203 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27204 2 && __USE_EXTERN_INLINES]: Likewise.
27205
c40ea3d9
AJ
272062013-01-08 Andreas Jaeger <aj@suse.de>
27207
27208 [BZ# 14985]
27209 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27210 Remove.
27211 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27212 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27213
2ccdea26
AB
272142013-01-07 Anton Blanchard <anton@samba.org>
27215
27216 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27217 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27218 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27219 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27220 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27221 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27222 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27223 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27225 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27227 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27228 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27229 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27230 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27231 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27232 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27233 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27234 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27235 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27236 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27237 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27238 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27239 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27240 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27241 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27243 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27244 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27245 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27246 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27248 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27249 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27250 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27251 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27252 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27254 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27255 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27258 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27259
a9708fed
JM
272602013-01-07 Joseph Myers <joseph@codesourcery.com>
27261
375607b9
JM
27262 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27263 (__MALLOC_PMT): Likewise.
27264 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27265 [__GNUC__], only on [_LIBC].
27266 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27267 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27268 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27269 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27270 forward declaration.
27271 (realloc_hook_ini): Likewise.
27272 (memalign_hook_ini): Likewise.
27273 (__libc_memalign): Do not use __MALLOC_PMT in variable
27274 declaration.
27275 (__libc_valloc): Likewise.
27276 (__libc_pvalloc): Likewise.
27277 (__libc_calloc): Likewise.
27278 (__posix_memalign): Likewise.
27279
a9708fed
JM
27280 [BZ #14996]
27281 * math/s_casinh.c: Include <float.h>.
27282 (__casinh): Do not do computation with squaring and square root
27283 for large arguments.
27284 * math/s_casinhf.c: Include <float.h>.
27285 (__casinhf): Do not do computation with squaring and square root
27286 for large arguments.
27287 * math/s_casinhl.c: Include <float.h>.
27288 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27289 (__casinhl): Do not do computation with squaring and square root
27290 for large arguments.
27291 * math/libm-test.inc (casin_test): Add more tests.
27292 (casinh_test): Likewise.
27293 * sysdeps/i386/fpu/libm-test-ulps: Update.
27294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27295
afec409a
L
272962013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27297
27298 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27299 (__x86_64_raw_data_cache_size): Likewise.
27300 (__x86_64_data_cache_size_half): Likewise.
27301 (__x86_64_raw_data_cache_size_half): Likewise.
27302 (__x86_64_shared_cache_size): Likewise.
27303 (__x86_64_raw_shared_cache_size): Likewise.
27304 (__x86_64_shared_cache_size_half): Likewise.
27305 (__x86_64_raw_shared_cache_size_half): Likewise.
27306 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27307 to ...
27308 (__x86_data_cache_size): This.
27309 (__x86_64_raw_data_cache_size): Renamed to ...
27310 (__x86_raw_data_cache_size): This.
27311 (__x86_64_data_cache_size_half): Renamed to ...
27312 (__x86_data_cache_size_half): This.
27313 (__x86_64_raw_data_cache_size_half): Renamed to ...
27314 (__x86_raw_data_cache_size_half): This.
27315 (__x86_64_shared_cache_size): Renamed to ...
27316 (__x86_shared_cache_size): This.
27317 (__x86_64_raw_shared_cache_size): Renamed to ...
27318 (__x86_raw_shared_cache_size): This.
27319 (__x86_64_shared_cache_size_half): Renamed to ...
27320 (__x86_shared_cache_size_half): This.
27321 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27322 (__x86_raw_shared_cache_size_half): This.
27323 * sysdeps/x86_64/memcpy.S: Updated.
27324 * sysdeps/x86_64/memset.S: Likewise.
27325 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27326 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27327 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27328
0b3986d0
DM
273292013-01-04 David S. Miller <davem@davemloft.net>
27330
27331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27332
e47686e9
AS
273332013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27334
d643bac1
AS
27335 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27336 1 to avoid redefinition warning.
27337 (__USE_GNU): Don't define.
27338 (init_signaling_nan): Protoize.
27339
e47686e9
AS
27340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27341
b18decba
SP
273422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27343
fffb407f
SP
27344 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27346 (__cpymn): Likewise.
27347 (norm): Remove commented code.
27348 (denorm): Likewise.
27349 (__mp_dbl): Likewise.
27350 (__inv): Likewise.
27351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27352 (__cpymn): Likewise.
27353 (norm): Remove commented code.
27354 (denorm): Likewise.
27355 (__mp_dbl): Likewise.
27356 (__inv): Likewise.
27357
b18decba
SP
27358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27359 mp_no value for 1.0 and 2.0.
27360 (norm): Use RADIXI instead of radixi.d.
27361 (denorm): Likewise.
27362 (__mul): Use 0.0 instead of zero.d.
27363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27364 mp_no value for 1.0 and 2.0.
27365 (norm): Use RADIXI instead of radixi.d.
27366 (denorm): Likewise.
27367 (__mul): Use 0.0 instead of zero.d.
27368
cdc1c96f
JM
273692013-01-04 Joseph Myers <joseph@codesourcery.com>
27370
27371 [BZ #14994]
27372 * math/s_casinh.c (__casinh): Reduce finite argument to first
27373 quadrant then set signs of results at the end.
27374 * math/s_casinhf.c (__casinhf): Likewise.
27375 * math/s_casinhl.c (__casinhl): Likewise.
27376 * math/libm-test.inc (casin_test): Add more tests.
27377 (casinh_test): Likewise.
27378 * sysdeps/i386/fpu/libm-test-ulps: Update.
27379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27380
302913e1
SP
273812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27382
6420d207
SP
27383 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27384
a9e48ab4
SP
27385 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27386
b7837264
SP
27387 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27388 declarations.
27389 (denorm): Likewise.
27390 (__mp_dbl): Likewise.
27391 (__inv): Likewise.
27392
f8af25d2
SP
27393 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27394 and adjust the header comment.
27395
302913e1
SP
27396 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27397 variable name from declaration.
27398
5d7dd1ca
L
273992013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27400
27401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27402 Initialize COMMON_CPUID_INDEX_7 element.
27403 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27404 (CPUID_RTM): Likewise.
27405 (HAS_RTM): Likewise.
27406 (COMMON_CPUID_INDEX_7): New enum.
27407
2f5f40f4
AS
274082013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27409
27410 [BZ #14981]
27411 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27412 size is zero, record memory as freed.
27413
4056f4a0
AJ
274142013-01-03 Andreas Jaeger <aj@suse.de>
27415
27416 * po/ia.po: Add new Interlingua translation.
27417
ab15736f 274182012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27419
27420 * locale/programs/localedef.c: Fix description of '--posix' flag.
27421
568035b7
JM
274222013-01-02 Joseph Myers <joseph@codesourcery.com>
27423
e6898b8d
JM
27424 * NEWS: Update dates in second copyright notice.
27425 * README: Update copyright dates in example.
27426 * manual/libc.texinfo: Update copyright dates.
27427 * scripts/test-installation.pl: Update copyright date in --version
27428 output.
27429
0e2f9562
JM
27430 * hurd/ctty-input.c: Fix copyright notice formatting.
27431 * hurd/ctty-output.c: Likewise.
27432 * hurd/dtable.c: Likewise.
27433 * hurd/hurd-raise.c: Likewise.
27434 * hurd/hurdprio.c: Likewise.
27435 * hurd/msgportdemux.c: Likewise.
27436 * misc/sys/file.h: Likewise.
27437 * misc/sys/ioctl.h: Likewise.
27438 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27439 * sysdeps/mach/hurd/chdir.c: Likewise.
27440 * sysdeps/mach/hurd/fchdir.c: Likewise.
27441 * sysdeps/mach/hurd/rename.c: Likewise.
27442 * sysdeps/mach/hurd/rmdir.c: Likewise.
27443 * sysdeps/mach/hurd/seekdir.c: Likewise.
27444 * sysdeps/mach/hurd/setsid.c: Likewise.
27445 * sysdeps/posix/wait3.c: Likewise.
27446
568035b7
JM
27447 * All files with FSF copyright notices: Update copyright dates
27448 using scripts/update-copyrights.
27449 * intl/plural.c: Regenerated.
27450 * locale/programs/charmap-kw.h: Likewise.
27451 * locale/programs/locfile-kw.h: Likewise.
27452
da08f647
SP
274532013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27454
0f5477af
SP
27455 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27456 four values.
27457
44e0d4c2
SP
27458 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27459 calculation loop and add branch prediction.
27460
4d55b4e5
SP
27461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27462 check access beyond bounds of m1np.
27463
da08f647
SP
27464 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27465 MPTWO.
27466 (__inv): Remove local variable MPTWO to use the global
27467 constant.
27468 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27469 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27470 variable MPTWO.
27471 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27472 MP3HALFS static const.
27473
8e051029
DM
274742013-01-01 David S. Miller <davem@davemloft.net>
27475
27476 * po/ca.po: Update from translation team.
27477
f4cf5f2d
JM
274782013-01-01 Joseph Myers <joseph@codesourcery.com>
27479
27480 * scripts/update-copyrights: New file.
27481 * Makeconfig: Reformat copyright notice.
27482 * ctype/ctype.h: Likewise.
27483 * debug/swprintf_chk.c: Likewise.
27484 * elf/dl-cache.c: Likewise.
27485 * elf/dl-debug.c: Likewise.
27486 * elf/dl-object.c: Likewise.
27487 * grp/initgroups.c: Likewise.
27488 * hurd/Makefile: Likewise.
27489 * hurd/hurd/signal.h: Likewise.
27490 * hurd/hurdfault.c: Likewise.
27491 * hurd/hurdioctl.c: Likewise.
27492 * hurd/hurdlookup.c: Likewise.
27493 * hurd/intr-msg.c: Likewise.
27494 * iconv/gconv_open.c: Likewise.
27495 * libio/swprintf.c: Likewise.
27496 * locale/lc-ctype.c: Likewise.
27497 * locale/nl_langinfo.c: Likewise.
27498 * mach/Machrules: Likewise.
27499 * mach/Makefile: Likewise.
27500 * malloc/obstack.h: Likewise.
27501 * manual/Makefile: Likewise.
27502 * manual/tsort.awk: Likewise.
27503 * misc/bits/stab.def: Likewise.
27504 * nis/nis_print_group_entry.c: Likewise.
27505 * nis/nis_table.c: Likewise.
27506 * nis/nss_compat/compat-pwd.c: Likewise.
27507 * nis/nss_compat/compat-spwd.c: Likewise.
27508 * po/Makefile: Likewise.
27509 * posix/fnmatch.c: Likewise.
27510 * posix/regex.h: Likewise.
27511 * resolv/Makefile: Likewise.
27512 * resolv/nss_dns/dns-network.c: Likewise.
27513 * resolv/res_hconf.c: Likewise.
27514 * scripts/gen-sorted.awk: Likewise.
27515 * soft-fp/soft-fp.h: Likewise.
27516 * stdio-common/printf.h: Likewise.
27517 * stdlib/monetary.h: Likewise.
27518 * stdlib/random.c: Likewise.
27519 * stdlib/random_r.c: Likewise.
27520 * sysdeps/generic/Makefile: Likewise.
27521 * sysdeps/gnu/Makefile: Likewise.
27522 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27530 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27533 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27534 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27535 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27550 * sysdeps/mach/hurd/errnos.awk: Likewise.
27551 * sysdeps/mach/hurd/fork.c: Likewise.
27552 * sysdeps/mach/hurd/getcwd.c: Likewise.
27553 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27554 * sysdeps/mach/hurd/mmap.c: Likewise.
27555 * sysdeps/mach/hurd/utimes.c: Likewise.
27556 * sysdeps/mach/hurd/xmknod.c: Likewise.
27557 * sysdeps/posix/profil.c: Likewise.
27558 * sysdeps/posix/readdir_r.c: Likewise.
27559 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27560 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27561 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27562 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27564 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27565 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27566 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27568 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27569 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27570 * sysdeps/pthread/lio_listio.c: Likewise.
27571 * sysdeps/sparc/dl-procinfo.h: Likewise.
27572 * sysdeps/unix/i386/sysdep.S: Likewise.
27573 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27574 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27575 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27576 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27578 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27579 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27580 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27581 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27582 * sysdeps/wordsize-32/divdi3.c: Likewise.
27583 * time/sys/time.h: Likewise.
27584 * wcsmbs/Makefile: Likewise.
27585
0549fbba
DM
275862013-01-01 David S. Miller <davem@davemloft.net>
27587
a141f1a7
DM
27588 * po/fr.po: Update from translation team.
27589
0549fbba
DM
27590 * catgets/gencat.c: Update copyright year.
27591 * csu/version.c: Likewise.
27592 * debug/catchsegv.sh: Likewise.
27593 * debug/pcprofiledump.c: Likewise.
27594 * debug/xtrace.sh: Likewise.
27595 * elf/ldconfig.c: Likewise.
27596 * elf/ldd.bash.in: Likewise.
27597 * elf/pldd.c: Likewise.
27598 * elf/sotruss.ksh: Likewise.
27599 * elf/sprof.c: Likewise.
27600 * iconv/iconv_prog.c: Likewise.
27601 * iconv/iconvconfig.c: Likewise.
27602 * locale/programs/locale.c: Likewise.
27603 * locale/programs/localedef.c: Likewise.
27604 * login/programs/pt_chown.c: Likewise.
27605 * malloc/memusage.sh: Likewise.
27606 * malloc/memusagestat.c: Likewise.
27607 * malloc/mtrace.pl: Likewise.
27608 * nscd/nscd.c: Likewise.
27609 * nss/getent.c: Likewise.
27610 * nss/makedb.c: Likewise.
27611 * posix/getconf.c: Likewise.
27612
18ea052c
SP
276132012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27614
27615 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27616 numbers.
27617
9c89fca6
MF
276182012-12-30 Mike Frysinger <vapier@gentoo.org>
27619
27620 * math/bits/mathcalls.h (modf): Use __nonnull.
27621
085ec079
SP
276222012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27623
27624 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27625 (split): Use macro CN instead of the bare value.
27626 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27627 could be used.
27628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27629 instead of the bare value.
27630 (power1): Likewise.
27631
6d9f97e1
SP
276322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27633
d63f73be
SP
27634 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27635 __ATAN_TWOM.
27636 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27637
6d9f97e1
SP
27638 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27639 their values.
27640 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27641 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27642 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27643 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27644
4c4febf5
AJ
276452012-12-28 Andreas Jaeger <aj@suse.de>
27646
af5843ef
AJ
27647 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27648 values are from Linux 3.7.
27649
4c4febf5
AJ
27650 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27651 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27652
99136f82
SP
276532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27654
2f216c3c 27655 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27656 TRUE case.
27657
99136f82
SP
27658 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27659 (norm): Likewise.
27660 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27661 variables with preprocessor constants.
27662 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27663 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27664 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27665
7fffbdff
BH
276662012-12-27 Bruno Haible <bruno@clisp.org>
27667
27668 [BZ #14317]
27669 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27670 only if needed.
27671
b76eb5f0
SP
276722012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27673
31a7fe5c
SP
27674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27675 and use variable directly.
27676 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27677
b76eb5f0
SP
27678 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27679 MPONE.
27680 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27681 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27682 variable MPONE.
27683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27685 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27686 include directive. Remove local variable MPONE.
27687 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27688 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27689 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27690
2c8bfe7d
DM
276912012-12-25 David S. Miller <davem@davemloft.net>
27692
27693 * version.h (RELEASE): Set to "development".
27694 (VERSION): Set to "2.17.90".
27695 * NEWS: Add 2.18 section.
27696
147d03b0
DM
276972012-12-21 David S. Miller <davem@davemloft.net>
27698
27699 * po/hr.po: Update from translation team.
27700
a8ebb2b9
AK
277012012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27702
27703 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27704
95b4f1b6
SE
277052012-12-19 Steve Ellcey <sellcey@mips.com>
27706
b2d94007 27707 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27708
cedb2a90
MS
277092012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27710
27711 * manual/contrib.texi (Contributors): Spelling correction.
27712
bbf527d6
DM
277132012-12-15 David S. Miller <davem@davemloft.net>
27714
27715 * po/ru.po: Update from translation team.
27716
bc38c906
DM
277172012-12-13 David S. Miller <davem@davemloft.net>
27718
85429b1a
DM
27719 * NEWS: Mention IFUNC testsuite enhancements.
27720
d283e353
DM
27721 * po/pl.po: Update from translation team.
27722 * po/bg.po: Likewise.
27723
bc38c906
DM
27724 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27725 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27726
a181b0d7
DM
277272012-12-11 David S. Miller <davem@davemloft.net>
27728
4641d57e
DM
27729 * po/sv.po: Update from translation team.
27730
f7bc6495
DM
27731 * po/vi.po: Update from translation team.
27732
6fc9048f
DM
27733 * po/cs.po: Update from translation team.
27734
a181b0d7
DM
27735 * po/de.po: Update from translation team.
27736 * po/eo.po: Likewise.
27737 * po/nl.po: Likewise.
27738
f70bfe80
SP
277392012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27740
3c8b4190
SP
27741 [BZ #14246]
27742 * manual/argp.texi (Argp Helper Functions): Move node to follow
27743 Argp Parsing State.
27744
f70bfe80
SP
27745 [BZ #14872]
27746 * manual/conf.texi (Limits on File System Capacity): Mention if
27747 terminating null is included in the max size.
27748
188f0adf
AJ
277492012-12-10 Andreas Jaeger <aj@suse.de>
27750
27751 * po/cs.po: Update from translation team.
27752
56e7d3ad
SP
277532012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27754
27755 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27756 void pointer and cast to uintptr_t.
27757 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27758 path.
27759 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27760 * sysdeps/s390/s390-64/memset.S: Likewise.
27761
76f2d2ea 277622012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27763
27764 [BZ #14833]
27765 * menual/message.texi (Message Translation): Fix typos.
27766 (Helper programs for gettext): Likewise.
27767
67cbf9a2
AS
277682012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27769
27770 [BZ #14898]
27771 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27772 Change to -1.
27773
682d0e9a
DM
277742012-12-07 David S. Miller <davem@davemloft.net>
27775
27776 * po/libc.pot: Update.
27777
573cd484
RH
277782012-12-07 Richard Henderson <rth@redhat.com>
27779
7e9da188 27780 [BZ #10114]
573cd484
RH
27781 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27782 normal/normal case to before the switch.
27783 (_FP_DIV): Likewise.
27784
e933a943
MF
277852012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27786 Mike Frysinger <vapier@gentoo.org>
27787
27788 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27789 check for __NR_fadvise64_64.
27790
82123268
CM
277912012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27792
27793 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27794 0, not just to plain "0" as a statement.
27795 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27796 with cw.
27797
d9814526
JM
277982012-12-06 Joseph Myers <joseph@codesourcery.com>
27799
27800 * NEWS: Use sourceware.org in Bugzilla URL.
27801
7728c574
SP
278022012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27803
f16946dd
SP
27804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27805 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27806
5704bbcb
SP
27807 * stdio-common/tst-put-error.c (do_test): Add newline to the
27808 padded test to ensure flush.
27809
17aa0516
JL
278102012-12-05 Jeff Law <law@redhat.com>
27811
27812 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27813
363313b5
JM
278142012-12-05 Joseph Myers <joseph@codesourcery.com>
27815
effbd42a
JM
27816 * README: Don't refer to ports add-on as distributed separately.
27817 Mention AArch64 in list of systems supported in the ports add-on.
27818
87600365
JM
27819 * LICENSES: Add more non-FSF copyright and license notices.
27820
a0d7066a
JM
27821 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27822 ((unused)).
27823
66ca5a5b
JM
27824 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27825
363313b5
JM
27826 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27827 10000 as width of padded output.
27828
b37984ad
JM
278292012-12-04 Joseph Myers <joseph@codesourcery.com>
27830
9003570a
JM
27831 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27832
b37984ad
JM
27833 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27834 variable LX with __attribute__ ((unused)).
27835 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27836 Likewise.
27837 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27839 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27840 with __attribute__ ((unused)).
27841
c8df52ec
DM
278422012-12-04 David S. Miller <davem@abraco.davemloft.net>
27843
27844 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27845
b3b099af
JM
278462012-12-04 Joseph Myers <joseph@codesourcery.com>
27847
c33aa6e3
JM
27848 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27849 (CFLAGS-nldbl-acos.c): New variable.
27850 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27851 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27852 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27853 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27854 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27855 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27856 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27857 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27858 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27859 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27860 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27861 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27862 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27863 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27864 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27865 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27866 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27867 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27868 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27869 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27870 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27871 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27872 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27873 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27874 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27875 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27876 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27877 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27878 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27879 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27880 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27881 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27882 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27883 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27884 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27885 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27886 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27887 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27888 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27889 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27890 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27891 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27892 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27893 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27894 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27895 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27896 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27897 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27898 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27899 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27900 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27901 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27902 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27903 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27904 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27905 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27906 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27907 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27908 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27909 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27910 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27911 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27912 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27913 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27914 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27915 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27916 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27917 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27918 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27919 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27920 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27921 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27922 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27923 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27924 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27925 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27926 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27927 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27928 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27929 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27930 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27931 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27932 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27933 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27934 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27935 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27936 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27937 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27938 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27939 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27940 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27941 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27942 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27943 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27944 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27945 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27946 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27947
20f0018d
JM
27948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27949 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27950
b3b099af
JM
27951 [BZ #14914]
27952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27953 whole low double instead of just low 47 bits when splitting values
27954 into two parts.
27955
029264d1
AM
279562012-12-03 Allan McRae <allan@archlinux.org>
27957
27958 * manual/stdio.texi (Predefined Printf Handlers): Remove
27959 @hsep and @vsep usage.
27960
c9d6789e
MF
279612012-12-03 Mike Frysinger <vapier@gentoo.org>
27962
27963 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27964 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27965
4b7634a5
JL
279662012-12-03 Jeff Law <law@redhat.com>
27967
27968 * time/sys/time.h (settimeofday): Do not mark TV argument
27969 as __nonnull.
27970
eb6cbd24
MF
279712012-12-01 Mike Frysinger <vapier@gentoo.org>
27972
27973 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27974 when currently writing and seek to current position when not.
27975 * libio/Makefile (tests): Remove bug-fclose1.
27976 * libio/bug-fclose1.c: Delete.
27977
f638872a
JM
279782012-12-01 Joseph Myers <joseph@codesourcery.com>
27979
27980 * manual/arith.texi (feenableexcept): Fix typo.
27981 (fedisableexcept): Likewise.
27982
48085d14
RM
279832012-11-30 Roland McGrath <roland@hack.frob.com>
27984
27985 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27986 second, differently-typed declaration, rather than a cast.
27987
1a538b9f
SP
279882012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27989
27990 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27991 * include/rpc/svc.h: ... here.
27992
d07f2ff1 279932012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
27994
27995 [BZ #13013]
27996 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27997 depending n and resplen2 to catch cases where answer
27998 equals answerp2.
27999
c93ec1f0
CD
280002012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28001
28002 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28003 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28004
37db69de
MF
280052012-11-29 Mike Frysinger <vapier@gentoo.org>
28006
28007 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28008
e10c4e4f
RM
280092012-11-29 Roland McGrath <roland@hack.frob.com>
28010
28011 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28012
2af1b328
JL
280132012-11-28 Jeff Law <law@redhat.com>
28014
28015 [BZ #13761]
28016 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28017 dataset_temporary. Track alloca usage into alloca_used.
28018 If dataset is large allocate and release it via malloc/free.
28019
111db5b1
FW
280202012-06-04 Florian Weimer <fweimer@redhat.com>
28021
f06cc227 28022 [BZ #14197]
111db5b1
FW
28023 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28024
dd694abd
DM
280252012-11-28 David S. Miller <davem@davemloft.net>
28026
28027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28028
9984dd01
JM
280292012-11-28 Joseph Myers <joseph@codesourcery.com>
28030
28031 [BZ #14803]
28032 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28033 of pi/2 rounded to nearest to 64 bits.
28034 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28035 nearest to 64 bits.
28036 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28037 bits.
28038
14bc93a9
JL
280392012-11-28 Jeff Law <law@redhat.com>
28040 Martin Osvald <mosvald@redhat.com>
28041
28042 [BZ #14889]
28043 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28044 * sunrpc/svc.c: Include time.h.
28045 (__svc_accept_failed): New function.
28046 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28047 any reason other than EINTR, call __svc_accept_failed.
28048 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28049 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28050
e3c6aa3a
AS
280512012-11-28 Andreas Schwab <schwab@suse.de>
28052
28053 * scripts/abilist.awk: Also handle indirect functions in .opd
28054 section.
28055
1bead169
JM
280562012-11-28 Joseph Myers <joseph@codesourcery.com>
28057
28058 [BZ #13881]
28059 * sysdeps/x86/fpu/powl_helper.c: New file.
28060 * sysdeps/x86/fpu/Makefile: Likewise.
28061 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28062 (p3): New object.
28063 (__ieee754_powl): Use __powl_helper for finite arguments except
28064 integer exponents below 8.
28065 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28066 (p3): New object.
28067 (__ieee754_powl): Use __powl_helper for finite arguments except
28068 integer exponents below 8.
28069 * math/libm-test.inc (pow_test): Add more tests and enable some
28070 previously disabled tests.
28071 * sysdeps/i386/fpu/libm-test-ulps: Update.
28072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28073
0817d63d
SP
280742012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28075 Carlos O'Donell <carlos_odonell@mentor.com>
28076
28077 * nss/makedb.c (is_prime): Assert that input is odd and greater
28078 than 4. Note that fact in a comment too.
28079 (next_prime): Add 4 to input.
28080
de2fd463
SP
280812012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28082
28083 [BZ #11741]
28084 * libio/Makefile (tests): Add test case tst-fwrite-error.
28085 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28086 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28087 * libio/tst-fwrite-error.c: New test case.
28088
c515fb51
L
280892012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28090
28091 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28092 before casting to void *.
28093 * include/libc-internal.h (__pointer_type): New macro.
28094 (__integer_if_pointer_type_sub): Likewise.
28095 (__integer_if_pointer_type): Likewise.
28096 (cast_to_integer): Likewise.
28097 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28098 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28099 before casting to atomic64_t.
28100 (atomic_exchange_acq): Likewise.
28101 (__arch_exchange_and_add_body): Likewise.
28102 (__arch_add_body): Likewise.
28103 (atomic_add_negative): Likewise.
28104 (atomic_add_zero): Likewise.
28105
4cf77aa9
JM
281062012-11-26 Joseph Myers <joseph@codesourcery.com>
28107
28108 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28109 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28110 (add_fdes): Likewise.
28111 (linear_search_fdes): Likewise.
28112 (binary_search_unencoded_fdes): Likewise.
28113
d260b3b4
AS
281142012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28115
28116 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28117
67060746
AC
281182012-11-24 Adam Conrad <adconrad@0c3.net>
28119
28120 * configure.in: Autodetect C++ header directories.
28121 * configure: Regenerated.
28122
800938a1
MF
281232012-11-23 Mike Frysinger <vapier@gentoo.org>
28124
28125 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28126
4e6e34e6
AS
281272012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28128
28129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28130
7c7feb47
JM
281312012-11-22 Joseph Myers <joseph@codesourcery.com>
28132
7184dcdf
JM
28133 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28134 LDBL_MANT_DIG == 106]: Disable some tests.
28135 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28136 Likewise.
28137 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28138 Likewise.
28139
0a42601f
JM
28140 [BZ #14871]
28141 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28142 input for small inputs. Return +/- pi/2 for large inputs.
28143 * math/libm-test.inc (atan_test): Add more tests.
28144
79c9b9fe
JM
28145 * sysdeps/generic/unwind-dw2-fde-glibc.c
28146 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28147 __attribute__ ((unused)).
28148
c60d3bf2
JM
28149 [BZ #14645]
28150 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28151 x * y if x and y are nonzero and z is zero.
28152
ef1e0867
JM
28153 [BZ #14811]
28154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28155 nonzero exponents with absolute value below 0x1p-117 to +/-
28156 0x1p-117.
28157
1468ded3
JM
28158 [BZ #14869]
28159 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28160 up arguments below 2**-450, not just those below 2**-500.
28161 * math/libm-test.inc (hypot_test): Add another test.
28162
8e27e3cc
JM
28163 [BZ #14868]
28164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28165 Return a+b for ratio over 2**120, not 2**60.
28166 * math/libm-test.inc (hypot_test): Add another test.
28167
c9c0279b
JM
28168 * math/libm-test.inc (clog_test): Use
28169 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28170 (clog10_test): Likewise.
28171
7c7feb47
JM
28172 [BZ #6778]
28173 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28174
fff1530e
AS
281752012-11-22 Andreas Schwab <schwab@suse.de>
28176
28177 * sysdeps/i386/fpu/libm-test-ulps: Update.
28178
94558d30
PT
281792012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28180
28181 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28182 printf output with newline.
28183
7e1be741
L
281842012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28185
6bfea974
L
28186 [BZ #14865]
28187 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28188 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28189 -z nodlopen, -z initfirst and -z execstack support.
28190 * configure: Regenerated.
28191
7e1be741
L
28192 * elf/elf.h (DF_1_NODIRECT): New macro.
28193 (DF_1_IGNMULDEF): Likewise.
28194 (DF_1_NOKSYMS): Likewise.
28195 (DF_1_NOHDR): Likewise.
28196 (DF_1_EDITED): Likewise.
28197 (DF_1_NORELOC): Likewise.
28198 (DF_1_SYMINTPOSE): Likewise.
28199 (DF_1_GLOBAUDIT): Likewise.
28200 (DF_1_SINGLETON): Likewise.
28201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28202 DT_1_SUPPORTED_MASK bits.
28203 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28204
105ce2ce
CD
282052012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28206
28207 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28208
123be9de
TS
282092012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28210
d072f3f7
TS
28211 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28212 macro.
28213
123be9de
TS
28214 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28215 (sendmmsg): Move declarations...
28216 * socket/sys/socket.h: ... here.
28217 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28218 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28219 include it from...
28220 * socket/recvmmsg.c: ... this new file.
28221 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28222 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28223 definition of __sendmmsg hidden.
28224 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28225 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28226 Move ENOSYS stub into and include it from...
28227 * socket/sendmmsg.c: ... this new file.
28228 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28229 (sysdep_routines): Move recvmmsg and sendmmsg...
28230 * socket/Makefile (routines): ... here.
28231 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28232 (GLIBC_PRIVATE): Add __sendmmsg.
28233 * include/sys/socket.h (__sendmmsg): Add declarations.
28234 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28235 sendmmsg.
28236
cf9a5d18
JM
282372012-11-20 Joseph Myers <joseph@codesourcery.com>
28238
28239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28240 variable I1 with __attribute__ ((unused)).
28241 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28242
ecd4caf9
JM
282432012-11-19 Joseph Myers <joseph@codesourcery.com>
28244
be14d48f
JM
28245 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28246 DUMMY variables with __attribute__ ((unused)).
28247
ecd4caf9
JM
28248 * bits/byteswap.h: Include <bits/types.h>.
28249 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28250
986cab95
PT
282512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28252
28253 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28254 string_t. Do not manually set errno.
28255 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28256 length with __strnlen. Make sure to both set errno and return it on
28257 failure.
28258
6d33cc9d
DM
282592012-11-19 David S. Miller <davem@davemloft.net>
28260
28261 With help from Joseph Myers.
28262 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28263 very large arguments properly.
28264 * math/libm-test.inc (atan_test): New tests.
28265 (atan2_test): New tests.
28266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28268
ee663277
JM
282692012-11-19 Joseph Myers <joseph@codesourcery.com>
28270
877f2d8e
JM
28271 [BZ #14856]
28272 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28273 Define to 3.
28274
116fc08a
JM
28275 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28276 [POSIX] (EADDRNOTAVAIL): Likewise.
28277 [POSIX] (EAFNOSUPPORT): Likewise.
28278 [POSIX] (EALREADY): Likewise.
28279 [POSIX] (ECONNABORTED): Likewise.
28280 [POSIX] (ECONNREFUSED): Likewise.
28281 [POSIX] (ECONNRESET): Likewise.
28282 [POSIX] (EDESTADDRREQ): Likewise.
28283 [POSIX] (EDQUOT): Likewise.
28284 [POSIX] (EHOSTUNREACH): Likewise.
28285 [POSIX] (EIDRM): Likewise.
28286 [POSIX] (EISCONN): Likewise.
28287 [POSIX] (ELOOP): Likewise.
28288 [POSIX] (EMULTIHOP): Likewise.
28289 [POSIX] (ENETDOWN): Likewise.
28290 [POSIX] (ENETUNREACH): Likewise.
28291 [POSIX] (ENOBUFS): Likewise.
28292 [POSIX] (ENODATA): Likewise.
28293 [POSIX] (ENOLINK): Likewise.
28294 [POSIX] (ENOMSG): Likewise.
28295 [POSIX] (ENOPROTOOPT): Likewise.
28296 [POSIX] (ENOSR): Likewise.
28297 [POSIX] (ENOSTR): Likewise.
28298 [POSIX] (ENOTCONN): Likewise.
28299 [POSIX] (ENOTSOCK): Likewise.
28300 [POSIX] (EOPNOTSUPP): Likewise.
28301 [POSIX] (EOVERFLOW): Likewise.
28302 [POSIX] (EPROTO): Likewise.
28303 [POSIX] (EPROTONOSUPPORT): Likewise.
28304 [POSIX] (EPROTOTYPE): Likewise.
28305 [POSIX] (ESTALE): Likewise.
28306 [POSIX] (ETIME): Likewise.
28307 [POSIX] (ETXTBSY): Likewise.
28308 [POSIX] (EWOULDBLOCK): Likewise.
28309 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28310 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28311 [POSIX] (SEEK_CUR): Likewise.
28312 [POSIX] (SEEK_END): Likewise.
28313 [POSIX || UNIX98] (mode_t): Do not require.
28314 [POSIX] (off_t): Likewise.
28315 [POSIX] (pid_t): Likewise.
28316 [POSIX] (sys/stat.h): Do not allow header.
28317 [POSIX] (unistd.h): Likewise.
28318 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28319 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28320 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28321 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28322 require.
28323 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28324 sigevent): Specify elements.
28325 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28326 entry.
28327 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28328 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28329
a483863f
JM
28330 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28331 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28332 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28333 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28334 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28335 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28336 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28337 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28338 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28339 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28340 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28341 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28342 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28343 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28344 Likewise.
28345 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28346 Likewise.
28347 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28348 Likewise.
28349 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28350 Likewise.
28351 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28352 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28353 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28354 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28355 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28356 Specify lower bound on value.
28357 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28358 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28359 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28360 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28361 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28362 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28363 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28364 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28365 value.
28366 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28367 as optional.
28368 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28369 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28370 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28371 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28372 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28373 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28374 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28375 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28376 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28377 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28378 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28379 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28380 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28381 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28382 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28383 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28384 entry.
28385 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28386 optional.
28387 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28388 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28389 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28390 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28391 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28392 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28393 Likewise.
28394 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28395 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28396 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28397 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28398 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28399 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28400 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28401 as optional.
28402 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28403 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28404 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28405 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28406 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28407 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28408 specify as optional.
28409 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28410 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28411 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28412 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28413 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28414 [XPG3] (NL_LANGMAX): Likewise.
28415 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28416 [POSIX || XPG3] (NL_NMAX): Likewise.
28417 [POSIX || XPG3] (NL_SETMAX): Likewise.
28418 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28419 [XPG3] (NZERO): Likewise.
28420 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28421 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28422 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28423 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28424 (REG_ERANGE): Expect.
28425 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28426 optional-constant.
28427 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28428 Use (void) in prototype.
28429 [POSIX] (*_t): Allow.
28430 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28431 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28432 (WRDE_BADVAL): Expect.
28433
5ba924e3
JM
28434 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28435 expect.
28436 [XPG3 || XPG4] (O_RSYNC): Likewise.
28437 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28438 Likewise.
28439 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28440 [XPG3 || XPG4] (sigqueue): Likewise.
28441 [XPG3 || XPG4] (sigtimedwait): Likewise.
28442 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28443 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28444 [XPG3 || XPG4] (vsnprintf): Likewise.
28445 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28446 Likewise.
28447 [XPG3 || XPG4] (blksize_t): Likewise.
28448 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28449 Likewise.
28450 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28451 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28452 [XPG3 || XPG4] (struct itimerspec): Likewise.
28453 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28454 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28455 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28456 [XPG3 || XPG4] (clockid_t): Likewise.
28457 [XPG3 || XPG4] (timer_t): Likewise.
28458 [XPG3 || XPG4] (clock_getres): Likewise.
28459 [XPG3 || XPG4] (clock_gettime): Likewise.
28460 [XPG3 || XPG4] (clock_settime): Likewise.
28461 [XPG3 || XPG4] (nanosleep): Likewise.
28462 [XPG3 || XPG4] (timer_create): Likewise.
28463 [XPG3 || XPG4] (timer_delete): Likewise.
28464 [XPG3 || XPG4] (timer_gettime): Likewise.
28465 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28466 [XPG3 || XPG4] (timer_settime): Likewise.
28467 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28468 [XPG3 || XPG4] (getlogin_r): Likewise.
28469 [XPG3 || XPG4] (pread): Likewise.
28470 [XPG3 || XPG4] (pthread_atfork): Likewise.
28471 [XPG3 || XPG4] (pwrite): Likewise.
28472
ee663277
JM
28473 [BZ #14835]
28474 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28475 <bits/siginfo.h>.
28476
942caa16
PT
284772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28478
e19af380
PT
28479 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28480 finalizing MALLSTREAM.
28481
942caa16
PT
28482 * sysdeps/mach/hurd/syncfs.c: New file.
28483
cfde9b46
SP
284842012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28485
28486 [BZ #14719]
28487 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28488 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28489 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28490 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28491 (_nss_dns_gethostbyname4_r): Likewise.
28492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28493 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28494
f6da27e5
PH
284952012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28496
28497 [BZ #13763]
28498 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28499
6665d4a2
SM
285002012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28501
1f51ee92
SM
28502 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28503 * elf/cache.c (print_entry): Print ",AArch64" for
28504 FLAG_AARCH64_LIB64
28505
6665d4a2
SM
28506 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28507 * elf/cache.c (print_entry): Print ",hard-float" for
28508 FLAG_ARM_LIBHF.
28509
05b227bd
DM
285102012-11-18 David S. Miller <davem@davemloft.net>
28511
28512 With help from Joseph Myers.
28513 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28514 cutoff to 2**-13.
28515 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28516 cutoff to 2**-25.
28517 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28518 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28519 small.
28520 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28521 * math/libm-test.inc (y0_test): New tests.
28522 (y1_test): New tests.
28523 * sysdeps/i386/fpu/libm-test-ulps: Update.
28524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28526
786b0b67
AS
285272012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28528
28529 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28530 64-bit targets.
28531 * configure: Regenerated.
28532
8e18b86d
DM
285332012-11-17 David S. Miller <davem@davemloft.net>
28534
28535 [BZ #14811]
28536 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28537 nonzero exponents with absolute value below 0x1p-128 to +/-
28538 0x1p-128.
28539
531f1ae0
JM
285402012-11-17 Joseph Myers <joseph@codesourcery.com>
28541
12df29e2
JM
28542 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28543
150dc1a0
JM
28544 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28545
531f1ae0
JM
28546 * posix/getconf-speclist.c: New file.
28547 * posix/posix-envs.def: Likewise.
28548 * posix/confstr.c (START_ENV_GROUP): New macro.
28549 (END_ENV_GROUP): Likewise.
28550 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28551 (KNOWN_PRESENT_ENV_STRING): Likewise.
28552 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28553 (UNKNOWN_ENVIRONMENT): Likewise.
28554 (confstr): Include posix-envs.def instead of handling
28555 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28556 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28557 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28558 (END_ENV_GROUP): Likewise.
28559 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28560 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28561 (UNKNOWN_ENVIRONMENT): Likewise.
28562 (__sysconf): Include posix-envs.def instead of handling associated
28563 cases directly here.
28564 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28565 preprocessing getconf-speclist.c rather than running getconf or
28566 generating empty file.
28567
a93f9cbc
PT
285682012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28569
28570 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28571
d64d9f87
AL
285722012-11-16 Andrej Lajovic <natrij@gmail.com>
28573
28574 [BZ #14672]
28575 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28576
447885eb
DM
285772012-11-16 David S. Miller <davem@davemloft.net>
28578
28579 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28580 smaller than LDBL_EPSILON/2.0L, just return xm1.
28581
bcbf9830
L
285822012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28583
28584 * elf/tst-array1.c (init): Set constructor priority to 1000.
28585 (fini): Set destructor priority to 1000.
28586 * elf/tst-array2dep.c: Likewise.
28587
2b766585
SP
285882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28589
28590 [BZ #11741]
28591 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28592 (_IO_new_file_xsputn): Also return EOF if none of the input
28593 data was written when overflow failed.
28594 * libio/iopadn.c (_IO_padn): Likewise.
28595 * libio/iowpadn.c (_IO_wpadn): Likewise.
28596 * stdio-common/tst-put-error.c: Add copyright notice.
28597 (do_test): Add case for printing padded string.
28598 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28599 _IO_padn returned error.
28600 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28601 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28602 return EOF.
28603
b1848fde
SP
286042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28605
28606 * libio/libioP.h: Add comment note that the references to C++
28607 bits are now obsolete.
28608
2fd89785
MS
286092012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28610
28611 * math/libm-test.inc (check_complex): Use asprintf.
28612
e3ea5409
JM
286132012-11-14 Joseph Myers <joseph@codesourcery.com>
28614
28615 * debug/pcprofiledump.c (print_version): Update copyright year.
28616 * malloc/memusagestat.c (print_version): Likewise.
28617
2e64d265
L
286182012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28619
28620 [BZ #14831]
28621 * elf/Makefile (tests): Add tst-audit8.
28622 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28623 ($(objpfx)tst-audit8.out): New target.
28624 (tst-audit8-ENV): New variable.
28625 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28626 audit if l_reloc_result is NULL.
28627 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28628 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28629 * elf/tst-audit8.c: New file.
28630
c485e4d2
MS
286312012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28632
28633 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28634 * misc/Makefile (CFLAGS-select.c): Define.
28635 * posix/Makefile (CFLAGS-pause.c): Define.
28636
3a0d900a
DM
286372012-11-13 David S. Miller <davem@davemloft.net>
28638
28639 * crypt/Makefile: Move test targets after toplevel Rules
28640 inclusion. Grab any necessary sysdep routines when linking.
28641 * crypt/md5.c (md5_process_block): Remove define, we will always
28642 name it __md5_process_block.
28643 (md5_finish_ctx): Update md5_process_block call.
28644 (md5_stream): Likewise.
28645 (md5_process_bytes): Likewise.
28646 (md5_process_block): Rename to __md5_process_block and move to ...
28647 * crypt/md5-block.c: ... here.
28648 * crypt/sha256.c (sha256_process_block): Move to ...
28649 * crypt/sha256-block.c: ... here.
28650 * crypt/sha512.c (sha512_process_block): Move to ...
28651 * crypt/sha512-block.c: ... here.
28652 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28653 path.
28654 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28655 * sysdeps/sparc/sparc64/multiarch/Makefile
28656 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28657 crypt subdir.
28658 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28659 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28660 multiarch changes.
28661 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28662 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28663 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28664 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28665 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28666 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28667 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28668 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28669 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28670 file.
28671 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28672 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28673 file.
28674 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28675
8ca89318
JM
286762012-11-13 Joseph Myers <joseph@codesourcery.com>
28677
e27d476a
JM
28678 * timezone/tzselect.ksh: Update from tzcode git revision
28679 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28680 * timezone/zdump.c: Likewise.
28681 * timezone/zic.c: Likewise.
28682 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28683 in TZVERSION setting, not $(PKGVERSION).
28684 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28685 REPORT_BUGS_TO settings.
28686
8ca89318
JM
28687 [BZ #14838]
28688 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28689 macro.
28690
47594329
MS
286912012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28692
28693 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28694 detection to immediately after _FP_ROUND().
28695 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28696 bits are 0.
28697
640ac3f1
DM
286982012-11-11 David S. Miller <davem@davemloft.net>
28699
28700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28701 inttypes.h
28702 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28703 __close rather than their public counterparts.
28704
3d2577bb
JM
287052012-11-10 Joseph Myers <joseph@codesourcery.com>
28706
28707 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28708 file.
28709 [UNIX98] (sem_timedwait): Do not expect.
28710 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28711 [XPG4 || UNIX98] (sockatmark): Do not expect.
28712 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28713 (clock_getcpuclockid): Do not expect.
28714 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28715 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28716 Do not expect.
28717 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28718 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28719 [UNIX98] (vwscanf): Likewise.
28720 [UNIX98] (vswscanf): Likewise.
28721
fb1ae1ee
JM
287222012-11-09 Joseph Myers <joseph@codesourcery.com>
28723
9ec6f8bd
JM
28724 * timezone/version.h: Remove file.
28725 * timezone/README: Do not refer to version.h.
28726 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28727 $(objpfx)version.h.
28728 ($(objpfx)zdump.o): Likewise.
c3f81911 28729 ($(objpfx)version.h): New target.
9ec6f8bd 28730
0aa8f8a1
JM
28731 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28732 2012i.
28733 * timezone/README: Don't mention modification to tzselect.ksh.
28734 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28735 work on unmodified tzselect.ksh. Substitute version numbers in
28736 tzselect.ksh.
28737
4e87147f
JM
28738 * Makefile (format-me): Remove.
28739 (INSTALL): Adjust indentation. Use commands directly instead of
28740 using $(format-me).
28741
8b748aed
JM
28742 * aclocal.m4 (ACX_PKGVERSION): New macro.
28743 (ACX_BUGURL): Likewise.
28744 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28745 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28746 (REPORT_BUGS_TO): Likewise.
28747 * configure: Regenerated.
28748 * config.h.in (PKGVERSION): New macro.
28749 (REPORT_BUGS_TO): Likewise.
28750 * config.make.in (PKGVERSION): New variable.
28751 (PKGVERSION_TEXI): Likewise.
28752 (REPORT_BUGS_TO): Likewise.
28753 (REPORT_BUGS_TEXI): Likewise.
28754 * Makefile (format-me): Use -I$(common-objpfx)manual.
28755 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28756 ($(common-objpfx)manual/%): New target.
28757 (manual/%): Remove target.
28758 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28759 (print_version): Use PKGVERSION.
28760 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28761 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28762 and REPORT_BUGS_TO.
28763 ($(objpfx)xtrace): Likewise.
28764 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28765 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28766 (print_version): Use PKGVERSION.
28767 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28768 (do_version): Use PKGVERSION.
28769 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28770 REPORT_BUGS_TO.
28771 (common-ldd-rewrite): Likewise.
28772 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28773 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28774 (print_version): Use PKGVERSION.
28775 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28776 * elf/pldd.c (argp_program_bug_address): Remove variable.
28777 (more_help): New function.
28778 (argp): Use more_help.
28779 (print_version): Use PKGVERSION.
28780 * elf/sln.c (main): Use PKGVERSION.
28781 (usage): Use REPORT_BUGS_TO.
28782 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28783 (top level): Use PKGVERSION.
28784 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28785 (print_version): Use PKGVERSION.
28786 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28787 (print_version): Use PKGVERSION.
28788 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28789 (print_version): Use PKGVERSION.
28790 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28791 (print_version): Use PKGVERSION.
28792 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28793 (print_version): Use PKGVERSION.
28794 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28795 (print_version): Use PKGVERSION.
28796 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28797 and BUGURL.
28798 ($(objpfx)memusage): Likewise.
28799 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28800 (do_version): Use PKGVERSION.
28801 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28802 (print_version): Use PKGVERSION.
28803 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28804 ($PKGVERSION): New variable.
28805 ($REPORT_BUGS_TO): Likewise.
28806 (usage): Use $REPORT_BUGS_TO.
28807 (top level): Use $PKGVERSION.
28808 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28809 ($(objpfx)pkgvers.texi): New rule.
28810 ($(objpfx)stamp-pkgvers): Likewise.
28811 * manual/install.texi: Include pkgvers.texi.
28812 (--with-pkgversion): Document new configure option.
28813 (--with-bugurl): Likewise.
28814 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28815 than necessarily for this particular distribution. Use
28816 REPORT_BUGS_TO for where to report bugs.
28817 * INSTALL: Regenerated.
28818 * manual/libc.texinfo: Include pkgvers.texi.
28819 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28820 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28821 (print_version): Use PKGVERSION.
28822 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28823 (print_version): Use PKGVERSION.
28824 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28825 (print_version): Use PKGVERSION.
28826 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28827 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28828 macro.
28829 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28830 (print_version): Use PKGVERSION.
28831 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28832 (print_version): Use PKGVERSION.
28833 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28834 and PKGVERSION.
28835
92e4b6a9
JM
28836 * timezone/checktab.awk: Update from tzcode 2012i.
28837 * timezone/ialloc.c: Likewise.
28838 * timezone/private.h: Likewise.
28839 * timezone/scheck.c: Likewise.
28840 * timezone/tzfile.h: Likewise.
28841 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28842 (TZVERSION): Hardcode tzcode version number.
28843 * timezone/zdump.c: Update from tzcode 2012i.
28844 * timezone/zic.c: Likewise.
28845 * timezone/version.h: New file.
28846 * timezone/README: Describe version.h. Update upstream location.
28847
9bde902c
JM
28848 [BZ #14824]
28849 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28850 (mktemp): Enable declaration.
28851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28855 Likewise.
28856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28857 Likewise.
28858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28859 Likewise.
28860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28861 Likewise.
28862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28863 Likewise.
28864 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28865 Likewise.
28866
fb1ae1ee
JM
28867 [BZ #14821]
28868 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28869 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28870 for copies of such integer values.
28871 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28872 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28873
2c1adbcb
AJ
288742012-11-09 Andreas Jaeger <aj@suse.de>
28875
28876 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28877 definitions and declarations that are provided by
28878 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28879
d0f8457e
AK
288802012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28881
3a235abb 28882 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
28883 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28884 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28885 definition.
28886
57241e26
MS
288872012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28888
28889 * elf/elf.h: Update comment before AArch64 relocations.
28890
60e8270d
DM
288912012-11-07 David S. Miller <davem@davemloft.net>
28892
28893 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28894 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28895 (__start_context): Declare.
28896 (__makecontext_ret): Delete.
28897 (__makecontext): Hook up __start_context instead of
28898 __makecontext_ret.
28899 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28900 (sysdep_routines): Add __start_context when in stdlib.
28901
0fbb0fbc
JM
289022012-11-07 Joseph Myers <joseph@codesourcery.com>
28903
28904 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28905 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28906 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28907 hardcoded "nm".
28908 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28909 (READELF): New variable. Use it instead of hardcoded "readelf".
28910
eb48db7e
L
289112012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28912
28913 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28914 * sysdeps/x86/Makefile: Here.
28915 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28916 * sysdeps/x86/tst-xmmymm.sh: This.
28917
05bcf62a
JM
289182012-11-07 Joseph Myers <joseph@codesourcery.com>
28919
c4b6cf53
JM
28920 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28921 expectations.
28922 [UNIX98] (pthread_barrier_t): Do not expect.
28923 [UNIX98] (pthread_barrierattr_t): Likewise.
28924 [UNIX98] (pthread_spinlock_t): Likewise.
28925 [UNIX98] (pthread_barrier_destroy): Likewise.
28926 [UNIX98] (pthread_barrier_init): Likewise.
28927 [UNIX98] (pthread_barrier_wait): Likewise.
28928 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28929 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28930 [UNIX98] (pthread_barrierattr_init): Likewise.
28931 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28932 [UNIX98] (pthread_getcpuclockid): Likewise.
28933 [UNIX98] (pthread_mutex_timedlock): Likewise.
28934 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28935 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28936 [UNIX98] (pthread_sigmask): Likewise.
28937 [UNIX98] (pthread_spin_destroy): Likewise.
28938 [UNIX98] (pthread_spin_init): Likewise.
28939 [UNIX98] (pthread_spin_lock): Likewise.
28940 [UNIX98] (pthread_spin_trylock): Likewise.
28941 [UNIX98] (pthread_spin_unlock): Likewise.
28942 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28943 Do not expect.
28944 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28945 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28946 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28947 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28948 [XPG3 || XPG4] (pthread_key_t): Likewise.
28949 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28950 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28951 [XPG3 || XPG4] (pthread_once_t): Likewise.
28952 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28953 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28954 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28955 [XPG3 || XPG4] (pthread_t): Likewise.
28956
cbe6e120
JM
28957 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28958 not expect.
28959 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28960
1b126443
JM
28961 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28962 Change function return type to int.
28963
b961a573
JM
28964 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28965 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28966 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28967 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28968 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28969 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28970 [!POSIX] (posix_madvise): Likewise.
28971 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28972 && !UNIX98].
28973 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28974 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28975 (mode_t): Likewise.
28976 (posix_mem_offset): Likewise.
28977 (posix_typed_mem_get_info): Likewise.
28978 (posix_typed_mem_open): Likewise.
28979
9e188909
JM
28980 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28981 Change condition to [XOPEN2K8].
28982
05bcf62a
JM
28983 * conform/conformtest.pl: Preprocess allow-header data with -x c
28984 instead of from stdin.
28985 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28986 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28987 [C99-based standards] (cerfc): Likewise.
28988 [C99-based standards] (cexp2): Likewise.
28989 [C99-based standards] (cexpm1): Likewise.
28990 [C99-based standards] (clog10): Likewise.
28991 [C99-based standards] (clog1p): Likewise.
28992 [C99-based standards] (clog2): Likewise.
28993 [C99-based standards] (clgamma): Likewise.
28994 [C99-based standards] (ctgamma): Likewise.
28995 [C99-based standards] (cerff): Likewise.
28996 [C99-based standards] (cerfcf): Likewise.
28997 [C99-based standards] (cexp2f): Likewise.
28998 [C99-based standards] (cexpm1f): Likewise.
28999 [C99-based standards] (clog10f): Likewise.
29000 [C99-based standards] (clog1pf): Likewise.
29001 [C99-based standards] (clog2f): Likewise.
29002 [C99-based standards] (clgammaf): Likewise.
29003 [C99-based standards] (ctgammaf): Likewise.
29004 [C99-based standards] (cerfl): Likewise.
29005 [C99-based standards] (cerfcl): Likewise.
29006 [C99-based standards] (cexp2l): Likewise.
29007 [C99-based standards] (cexpm1l): Likewise.
29008 [C99-based standards] (clog10l): Likewise.
29009 [C99-based standards] (clog1pl): Likewise.
29010 [C99-based standards] (clog2l): Likewise.
29011 [C99-based standards] (clgammal): Likewise.
29012 [C99-based standards] (ctgammal): Likewise.
29013 * conform/data/inttypes.h-data [C99-based standards]: Include
29014 stdint.h-data. Remove all expectations for stdint.h contents.
29015 [C99-based standards] (PRI*): Do not allow.
29016 [C99-based standards] (SCN*): Likewise.
29017 [C99-based standards] (*_t): Likewise.
29018 [C99-based-standards] (PRId8): Expect macro.
29019 [C99-based-standards] (PRIi8): Likewise.
29020 [C99-based-standards] (PRIo8): Likewise.
29021 [C99-based-standards] (PRIu8): Likewise.
29022 [C99-based-standards] (PRIx8): Likewise.
29023 [C99-based-standards] (PRIX8): Likewise.
29024 [C99-based-standards] (SCNd8): Likewise.
29025 [C99-based-standards] (SCNi8): Likewise.
29026 [C99-based-standards] (SCNo8): Likewise.
29027 [C99-based-standards] (SCNu8): Likewise.
29028 [C99-based-standards] (SCNx8): Likewise.
29029 [C99-based-standards] (PRIdLEAST8): Likewise.
29030 [C99-based-standards] (PRIiLEAST8): Likewise.
29031 [C99-based-standards] (PRIoLEAST8): Likewise.
29032 [C99-based-standards] (PRIuLEAST8): Likewise.
29033 [C99-based-standards] (PRIxLEAST8): Likewise.
29034 [C99-based-standards] (PRIXLEAST8): Likewise.
29035 [C99-based-standards] (SCNdLEAST8): Likewise.
29036 [C99-based-standards] (SCNiLEAST8): Likewise.
29037 [C99-based-standards] (SCNoLEAST8): Likewise.
29038 [C99-based-standards] (SCNuLEAST8): Likewise.
29039 [C99-based-standards] (SCNxLEAST8): Likewise.
29040 [C99-based-standards] (PRIdFAST8): Likewise.
29041 [C99-based-standards] (PRIiFAST8): Likewise.
29042 [C99-based-standards] (PRIoFAST8): Likewise.
29043 [C99-based-standards] (PRIuFAST8): Likewise.
29044 [C99-based-standards] (PRIxFAST8): Likewise.
29045 [C99-based-standards] (PRIXFAST8): Likewise.
29046 [C99-based-standards] (SCNdFAST8): Likewise.
29047 [C99-based-standards] (SCNiFAST8): Likewise.
29048 [C99-based-standards] (SCNoFAST8): Likewise.
29049 [C99-based-standards] (SCNuFAST8): Likewise.
29050 [C99-based-standards] (SCNxFAST8): Likewise.
29051 [C99-based-standards] (PRId16): Likewise.
29052 [C99-based-standards] (PRIi16): Likewise.
29053 [C99-based-standards] (PRIo16): Likewise.
29054 [C99-based-standards] (PRIu16): Likewise.
29055 [C99-based-standards] (PRIx16): Likewise.
29056 [C99-based-standards] (PRIX16): Likewise.
29057 [C99-based-standards] (SCNd16): Likewise.
29058 [C99-based-standards] (SCNi16): Likewise.
29059 [C99-based-standards] (SCNo16): Likewise.
29060 [C99-based-standards] (SCNu16): Likewise.
29061 [C99-based-standards] (SCNx16): Likewise.
29062 [C99-based-standards] (PRIdLEAST16): Likewise.
29063 [C99-based-standards] (PRIiLEAST16): Likewise.
29064 [C99-based-standards] (PRIoLEAST16): Likewise.
29065 [C99-based-standards] (PRIuLEAST16): Likewise.
29066 [C99-based-standards] (PRIxLEAST16): Likewise.
29067 [C99-based-standards] (PRIXLEAST16): Likewise.
29068 [C99-based-standards] (SCNdLEAST16): Likewise.
29069 [C99-based-standards] (SCNiLEAST16): Likewise.
29070 [C99-based-standards] (SCNoLEAST16): Likewise.
29071 [C99-based-standards] (SCNuLEAST16): Likewise.
29072 [C99-based-standards] (SCNxLEAST16): Likewise.
29073 [C99-based-standards] (PRIdFAST16): Likewise.
29074 [C99-based-standards] (PRIiFAST16): Likewise.
29075 [C99-based-standards] (PRIoFAST16): Likewise.
29076 [C99-based-standards] (PRIuFAST16): Likewise.
29077 [C99-based-standards] (PRIxFAST16): Likewise.
29078 [C99-based-standards] (PRIXFAST16): Likewise.
29079 [C99-based-standards] (SCNdFAST16): Likewise.
29080 [C99-based-standards] (SCNiFAST16): Likewise.
29081 [C99-based-standards] (SCNoFAST16): Likewise.
29082 [C99-based-standards] (SCNuFAST16): Likewise.
29083 [C99-based-standards] (SCNxFAST16): Likewise.
29084 [C99-based-standards] (PRId32): Likewise.
29085 [C99-based-standards] (PRIi32): Likewise.
29086 [C99-based-standards] (PRIo32): Likewise.
29087 [C99-based-standards] (PRIu32): Likewise.
29088 [C99-based-standards] (PRIx32): Likewise.
29089 [C99-based-standards] (PRIX32): Likewise.
29090 [C99-based-standards] (SCNd32): Likewise.
29091 [C99-based-standards] (SCNi32): Likewise.
29092 [C99-based-standards] (SCNo32): Likewise.
29093 [C99-based-standards] (SCNu32): Likewise.
29094 [C99-based-standards] (SCNx32): Likewise.
29095 [C99-based-standards] (PRIdLEAST32): Likewise.
29096 [C99-based-standards] (PRIiLEAST32): Likewise.
29097 [C99-based-standards] (PRIoLEAST32): Likewise.
29098 [C99-based-standards] (PRIuLEAST32): Likewise.
29099 [C99-based-standards] (PRIxLEAST32): Likewise.
29100 [C99-based-standards] (PRIXLEAST32): Likewise.
29101 [C99-based-standards] (SCNdLEAST32): Likewise.
29102 [C99-based-standards] (SCNiLEAST32): Likewise.
29103 [C99-based-standards] (SCNoLEAST32): Likewise.
29104 [C99-based-standards] (SCNuLEAST32): Likewise.
29105 [C99-based-standards] (SCNxLEAST32): Likewise.
29106 [C99-based-standards] (PRIdFAST32): Likewise.
29107 [C99-based-standards] (PRIiFAST32): Likewise.
29108 [C99-based-standards] (PRIoFAST32): Likewise.
29109 [C99-based-standards] (PRIuFAST32): Likewise.
29110 [C99-based-standards] (PRIxFAST32): Likewise.
29111 [C99-based-standards] (PRIXFAST32): Likewise.
29112 [C99-based-standards] (SCNdFAST32): Likewise.
29113 [C99-based-standards] (SCNiFAST32): Likewise.
29114 [C99-based-standards] (SCNoFAST32): Likewise.
29115 [C99-based-standards] (SCNuFAST32): Likewise.
29116 [C99-based-standards] (SCNxFAST32): Likewise.
29117 [C99-based-standards] (PRId64): Likewise.
29118 [C99-based-standards] (PRIi64): Likewise.
29119 [C99-based-standards] (PRIo64): Likewise.
29120 [C99-based-standards] (PRIu64): Likewise.
29121 [C99-based-standards] (PRIx64): Likewise.
29122 [C99-based-standards] (PRIX64): Likewise.
29123 [C99-based-standards] (SCNd64): Likewise.
29124 [C99-based-standards] (SCNi64): Likewise.
29125 [C99-based-standards] (SCNo64): Likewise.
29126 [C99-based-standards] (SCNu64): Likewise.
29127 [C99-based-standards] (SCNx64): Likewise.
29128 [C99-based-standards] (PRIdLEAST64): Likewise.
29129 [C99-based-standards] (PRIiLEAST64): Likewise.
29130 [C99-based-standards] (PRIoLEAST64): Likewise.
29131 [C99-based-standards] (PRIuLEAST64): Likewise.
29132 [C99-based-standards] (PRIxLEAST64): Likewise.
29133 [C99-based-standards] (PRIXLEAST64): Likewise.
29134 [C99-based-standards] (SCNdLEAST64): Likewise.
29135 [C99-based-standards] (SCNiLEAST64): Likewise.
29136 [C99-based-standards] (SCNoLEAST64): Likewise.
29137 [C99-based-standards] (SCNuLEAST64): Likewise.
29138 [C99-based-standards] (SCNxLEAST64): Likewise.
29139 [C99-based-standards] (PRIdFAST64): Likewise.
29140 [C99-based-standards] (PRIiFAST64): Likewise.
29141 [C99-based-standards] (PRIoFAST64): Likewise.
29142 [C99-based-standards] (PRIuFAST64): Likewise.
29143 [C99-based-standards] (PRIxFAST64): Likewise.
29144 [C99-based-standards] (PRIXFAST64): Likewise.
29145 [C99-based-standards] (SCNdFAST64): Likewise.
29146 [C99-based-standards] (SCNiFAST64): Likewise.
29147 [C99-based-standards] (SCNoFAST64): Likewise.
29148 [C99-based-standards] (SCNuFAST64): Likewise.
29149 [C99-based-standards] (SCNxFAST64): Likewise.
29150 [C99-based-standards] (PRIdMAX): Likewise.
29151 [C99-based-standards] (PRIiMAX): Likewise.
29152 [C99-based-standards] (PRIoMAX): Likewise.
29153 [C99-based-standards] (PRIuMAX): Likewise.
29154 [C99-based-standards] (PRIxMAX): Likewise.
29155 [C99-based-standards] (PRIXMAX): Likewise.
29156 [C99-based-standards] (SCNdMAX): Likewise.
29157 [C99-based-standards] (SCNiMAX): Likewise.
29158 [C99-based-standards] (SCNoMAX): Likewise.
29159 [C99-based-standards] (SCNuMAX): Likewise.
29160 [C99-based-standards] (SCNxMAX): Likewise.
29161 [C99-based-standards] (PRIdPTR): Likewise.
29162 [C99-based-standards] (PRIiPTR): Likewise.
29163 [C99-based-standards] (PRIoPTR): Likewise.
29164 [C99-based-standards] (PRIuPTR): Likewise.
29165 [C99-based-standards] (PRIxPTR): Likewise.
29166 [C99-based-standards] (PRIXPTR): Likewise.
29167 [C99-based-standards] (SCNdPTR): Likewise.
29168 [C99-based-standards] (SCNiPTR): Likewise.
29169 [C99-based-standards] (SCNoPTR): Likewise.
29170 [C99-based-standards] (SCNuPTR): Likewise.
29171 [C99-based-standards] (SCNxPTR): Likewise.
29172 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29173 allow.
29174 * conform/data/stdint.h-data: Update comments to clarify
29175 requirements.
29176 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29177 type.
29178 [C99-based standards] (INT8_MAX): Likewise.
29179 [C99-based standards] (INT16_MIN): Likewise.
29180 [C99-based standards] (INT16_MAX): Likewise.
29181 [C99-based standards] (INT32_MIN): Likewise.
29182 [C99-based standards] (INT32_MAX): Likewise.
29183 [C99-based standards] (INT64_MIN): Likewise.
29184 [C99-based standards] (INT64_MAX): Likewise.
29185 [C99-based standards] (UINT8_MAX): Likewise.
29186 [C99-based standards] (UINT16_MAX): Likewise.
29187 [C99-based standards] (UINT32_MAX): Likewise.
29188 [C99-based standards] (UINT64_MAX): Likewise.
29189 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29190 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29191 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29192 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29193 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29194 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29195 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29196 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29197 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29198 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29199 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29200 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29201 [C99-based standards] (INT_FAST8_MIN): Likewise.
29202 [C99-based standards] (INT_FAST8_MAX): Likewise.
29203 [C99-based standards] (INT_FAST16_MIN): Likewise.
29204 [C99-based standards] (INT_FAST16_MAX): Likewise.
29205 [C99-based standards] (INT_FAST32_MIN): Likewise.
29206 [C99-based standards] (INT_FAST32_MAX): Likewise.
29207 [C99-based standards] (INT_FAST64_MIN): Likewise.
29208 [C99-based standards] (INT_FAST64_MAX): Likewise.
29209 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29210 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29211 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29212 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29213 [C99-based standards] (INTPTR_MIN): Likewise.
29214 [C99-based standards] (INTPTR_MAX): Likewise.
29215 [C99-based standards] (UINTPTR_MAX): Likewise.
29216 [C99-based standards] (INTMAX_MIN): Likewise.
29217 [C99-based standards] (INTMAX_MAX): Likewise.
29218 [C99-based standards] (UINTMAX_MAX): Likewise.
29219 [C99-based standards] (PTRDIFF_MIN): Likewise.
29220 [C99-based standards] (PTRDIFF_MAX): Likewise.
29221 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29222 [C99-based standards] (SIZE_MAX): Likewise.
29223 [C99-based standards] (WCHAR_MAX): Likewise.
29224 [C99-based standards] (WINT_MAX): Likewise.
29225 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29226 constraint on value.
29227 [C99-based standards] (WCHAR_MIN): Likewise.
29228 [C99-based standards] (WINT_MIN): Likewise.
29229 [C99-based standards] (*_t): Allow.
29230 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29231 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29232 Include math.h-data and complex.h-data. Remove all expectations
29233 of math.h and complex.h contents.
29234 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29235 at end of line.
29236 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29237 (struct tm): Expect tag.
29238 [C99-based-standards] (wcstof): Expect function.
29239 [C99-based-standards] (wcstold): Likewise.
29240 [C99-based-standards] (wcstoll): Likewise.
29241 [C99-based-standards] (wcstoull): Likewise.
29242 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29243 macro-int-constant. Specify type.
29244 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29245 constraint on value.
29246 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29247 Specify type.
29248 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29249 Specify value.
29250 [ISO C standards]: Do not allow headers.
29251 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29252 wcs[abcdefghijklmnopqrstuvwxyz]*.
29253 [ISO C standards] (*_t): Do not allow.
29254 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29255 Expect function.
29256 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29257 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29258 Specify type.
29259 [ISO C standards]: Do not allow headers.
29260 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29261 is[abcdefghijklmnopqrstuvwxyz]*.
29262 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29263 to[abcdefghijklmnopqrstuvwxyz]*.
29264 [ISO C standards] (*_t): Do not allow.
29265 * conform/data/stdalign.h-data: New file.
29266 * conform/data/stdbool.h-data: Likewise.
29267 * conform/data/stdnoreturn.h-data: Likewise.
29268
7514feb8
RM
292692012-11-07 Roland McGrath <roland@hack.frob.com>
29270
29271 [BZ #14815]
29272 * manual/filesys.texi (Directory Entries): Typo fix.
29273 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29274
19b2ecfc
MS
292752012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29276
29277 * elf/elf.h (EM_AARCH64): New macro.
29278 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29279 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29280 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29281 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29282 (R_AARCH64_TLSDESC): Likewise.
29283 (NT_ARM_TLS): Likewise.
29284 (NT_ARM_HW_BREAK): Likewise.
29285 (NT_ARM_HW_WATCH): Likewise.
29286
60e235ee
JM
292872012-11-07 Joseph Myers <joseph@codesourcery.com>
29288
29289 [BZ #14811]
29290 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29291 (__ieee754_powl): Saturate nonzero exponents with absolute value
29292 below 0x1p-79 to +/- 0x1p-79.
29293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29294 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29295 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29296 nonzero exponents with absolute value below 0x1p-32 to +/-
29297 0x1p-32.
29298 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29299 (__ieee754_powl): Saturate nonzero exponents with absolute value
29300 below 0x1p-79 to +/- 0x1p-79.
29301 * math/libm-test.inc (pow_test): Add more tests.
29302
0ab234b7
AK
293032012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29304
29305 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29306 _dl_s390_cap_flags with kernel. Increase string length.
29307 (_dl_s390_platforms): Add z196 and zEC12.
29308
45832f74
JM
293092012-11-07 Joseph Myers <joseph@codesourcery.com>
29310
29311 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29312 Change XOPEN21K to XOPEN2K.
29313
19218757
MK
293142012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29315
29316 * string/memmove.c: Use memcpy when possible.
29317
c5f45721
AJ
293182012-11-06 Andreas Jaeger <aj@suse.de>
29319
29320 * po/eo.po: Update from translation team.
29321
82477c28
JM
293222012-11-06 Joseph Myers <joseph@codesourcery.com>
29323
29324 [BZ #14793]
29325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29326 exponent and small x and y exponents, scale x or y up. Increase
29327 by 2 the exponent used in scaling up.
29328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29330 * math/libm-test.inc (fma_test): Add more tests.
29331 (fma_test_towardzero): Likewise.
29332 (fma_test_downward): Likewise.
29333 (fma_test_upward): Likewise.
29334
99252c8c
JM
293352012-11-05 Joseph Myers <joseph@codesourcery.com>
29336
acfa885f
JM
29337 [BZ #14805]
29338 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29339 fenv_t *.
29340
99252c8c
JM
29341 [BZ #14801]
29342 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29343 namespace for names of struct fields.
29344 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29345 fenv_t fields.
29346 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29347 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29348
d6d98dea
ST
293492012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29350
29351 [BZ #3665]
29352 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29353
e10bb107
TS
293542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29355
29356 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29357 PTR_DEMANGLE.
29358
29359 [BZ #5246]
29360 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29361 PTR_DEMANGLE.
29362
a0c2940d
JM
293632012-11-04 Joseph Myers <joseph@codesourcery.com>
29364
29365 [BZ #14797]
29366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29367 definitely overflow as x * y not x * y + z.
29368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29370 * math/libm-test.inc (fma_test): Add more tests.
29371 (fma_test_towardzero): Likewise.
29372 (fma_test_downward): Likewise.
29373 (fma_test_upward): Likewise.
29374
b830319d
TS
293752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29376
29377 [BZ #157]
29378
29379 * include/stub-tag.h: Remove file.
29380 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29381 '#include' of it.
29382 * manual/maint.texi (Porting): Don't reference it.
29383 * Makerules ($(objpfx)stubs): Likewise.
29384 * dirent/closedir.c: Don't include <stub-tag.h>.
29385 * dirent/dirfd.c: Likewise.
29386 * dirent/fdopendir.c: Likewise.
29387 * dirent/getdents.c: Likewise.
29388 * dirent/getdents64.c: Likewise.
29389 * dirent/opendir.c: Likewise.
29390 * dirent/readdir.c: Likewise.
29391 * dirent/readdir64.c: Likewise.
29392 * dirent/readdir64_r.c: Likewise.
29393 * dirent/readdir_r.c: Likewise.
29394 * dirent/rewinddir.c: Likewise.
29395 * dirent/seekdir.c: Likewise.
29396 * dirent/telldir.c: Likewise.
29397 * gmon/profil.c: Likewise.
29398 * grp/setgroups.c: Likewise.
29399 * inet/if_index.c: Likewise.
29400 * io/access.c: Likewise.
29401 * io/chdir.c: Likewise.
29402 * io/chmod.c: Likewise.
29403 * io/chown.c: Likewise.
29404 * io/close.c: Likewise.
29405 * io/dup.c: Likewise.
29406 * io/dup2.c: Likewise.
29407 * io/dup3.c: Likewise.
29408 * io/euidaccess.c: Likewise.
29409 * io/faccessat.c: Likewise.
29410 * io/fchdir.c: Likewise.
29411 * io/fchmod.c: Likewise.
29412 * io/fchmodat.c: Likewise.
29413 * io/fchown.c: Likewise.
29414 * io/fchownat.c: Likewise.
29415 * io/fcntl.c: Likewise.
29416 * io/flock.c: Likewise.
29417 * io/fstatfs.c: Likewise.
29418 * io/fstatfs64.c: Likewise.
29419 * io/fstatvfs.c: Likewise.
29420 * io/fstatvfs64.c: Likewise.
29421 * io/futimens.c: Likewise.
29422 * io/fxstat.c: Likewise.
29423 * io/fxstat64.c: Likewise.
29424 * io/fxstatat.c: Likewise.
29425 * io/fxstatat64.c: Likewise.
29426 * io/getcwd.c: Likewise.
29427 * io/isatty.c: Likewise.
29428 * io/lchmod.c: Likewise.
29429 * io/lchown.c: Likewise.
29430 * io/link.c: Likewise.
29431 * io/linkat.c: Likewise.
29432 * io/lseek.c: Likewise.
29433 * io/lseek64.c: Likewise.
29434 * io/lxstat64.c: Likewise.
29435 * io/mkdir.c: Likewise.
29436 * io/mkdirat.c: Likewise.
29437 * io/mkfifo.c: Likewise.
29438 * io/mkfifoat.c: Likewise.
29439 * io/open.c: Likewise.
29440 * io/open64.c: Likewise.
29441 * io/openat.c: Likewise.
29442 * io/openat64.c: Likewise.
29443 * io/pipe.c: Likewise.
29444 * io/pipe2.c: Likewise.
29445 * io/poll.c: Likewise.
29446 * io/posix_fadvise.c: Likewise.
29447 * io/posix_fadvise64.c: Likewise.
29448 * io/posix_fallocate.c: Likewise.
29449 * io/posix_fallocate64.c: Likewise.
29450 * io/read.c: Likewise.
29451 * io/readlink.c: Likewise.
29452 * io/readlinkat.c: Likewise.
29453 * io/rmdir.c: Likewise.
29454 * io/sendfile.c: Likewise.
29455 * io/sendfile64.c: Likewise.
29456 * io/statfs.c: Likewise.
29457 * io/statfs64.c: Likewise.
29458 * io/statvfs.c: Likewise.
29459 * io/statvfs64.c: Likewise.
29460 * io/symlink.c: Likewise.
29461 * io/symlinkat.c: Likewise.
29462 * io/ttyname.c: Likewise.
29463 * io/ttyname_r.c: Likewise.
29464 * io/umask.c: Likewise.
29465 * io/unlink.c: Likewise.
29466 * io/unlinkat.c: Likewise.
29467 * io/utime.c: Likewise.
29468 * io/utimensat.c: Likewise.
29469 * io/write.c: Likewise.
29470 * io/xmknod.c: Likewise.
29471 * io/xmknodat.c: Likewise.
29472 * io/xstat.c: Likewise.
29473 * io/xstat64.c: Likewise.
29474 * login/getpt.c: Likewise.
29475 * login/grantpt.c: Likewise.
29476 * login/unlockpt.c: Likewise.
29477 * math/e_acoshl.c: Likewise.
29478 * math/e_acosl.c: Likewise.
29479 * math/e_asinl.c: Likewise.
29480 * math/e_atan2l.c: Likewise.
29481 * math/e_atanhl.c: Likewise.
29482 * math/e_coshl.c: Likewise.
29483 * math/e_expl.c: Likewise.
29484 * math/e_fmodl.c: Likewise.
29485 * math/e_gammal_r.c: Likewise.
29486 * math/e_hypotl.c: Likewise.
29487 * math/e_j0l.c: Likewise.
29488 * math/e_j1l.c: Likewise.
29489 * math/e_jnl.c: Likewise.
29490 * math/e_lgammal_r.c: Likewise.
29491 * math/e_log10l.c: Likewise.
29492 * math/e_log2l.c: Likewise.
29493 * math/e_logl.c: Likewise.
29494 * math/e_powl.c: Likewise.
29495 * math/e_rem_pio2l.c: Likewise.
29496 * math/e_sinhl.c: Likewise.
29497 * math/e_sqrtl.c: Likewise.
29498 * math/fclrexcpt.c: Likewise.
29499 * math/fedisblxcpt.c: Likewise.
29500 * math/feenablxcpt.c: Likewise.
29501 * math/fegetenv.c: Likewise.
29502 * math/fegetexcept.c: Likewise.
29503 * math/fegetround.c: Likewise.
29504 * math/feholdexcpt.c: Likewise.
29505 * math/fesetenv.c: Likewise.
29506 * math/fesetround.c: Likewise.
29507 * math/feupdateenv.c: Likewise.
29508 * math/fgetexcptflg.c: Likewise.
29509 * math/fraiseexcpt.c: Likewise.
29510 * math/fsetexcptflg.c: Likewise.
29511 * math/ftestexcept.c: Likewise.
29512 * math/k_cosl.c: Likewise.
29513 * math/k_rem_pio2l.c: Likewise.
29514 * math/k_sinl.c: Likewise.
29515 * math/k_tanl.c: Likewise.
29516 * math/s_asinhl.c: Likewise.
29517 * math/s_atanl.c: Likewise.
29518 * math/s_cbrtl.c: Likewise.
29519 * math/s_erfl.c: Likewise.
29520 * math/s_expm1l.c: Likewise.
29521 * math/s_log1pl.c: Likewise.
29522 * math/s_tanhl.c: Likewise.
29523 * misc/acct.c: Likewise.
29524 * misc/brk.c: Likewise.
29525 * misc/chflags.c: Likewise.
29526 * misc/chroot.c: Likewise.
29527 * misc/fchflags.c: Likewise.
29528 * misc/fgetxattr.c: Likewise.
29529 * misc/flistxattr.c: Likewise.
29530 * misc/fremovexattr.c: Likewise.
29531 * misc/fsetxattr.c: Likewise.
29532 * misc/fsync.c: Likewise.
29533 * misc/ftruncate.c: Likewise.
29534 * misc/futimes.c: Likewise.
29535 * misc/futimesat.c: Likewise.
29536 * misc/getdomain.c: Likewise.
29537 * misc/getdtsz.c: Likewise.
29538 * misc/gethostid.c: Likewise.
29539 * misc/gethostname.c: Likewise.
29540 * misc/getloadavg.c: Likewise.
29541 * misc/getpagesize.c: Likewise.
29542 * misc/getsysstats.c: Likewise.
29543 * misc/getxattr.c: Likewise.
29544 * misc/gtty.c: Likewise.
29545 * misc/ioctl.c: Likewise.
29546 * misc/lgetxattr.c: Likewise.
29547 * misc/listxattr.c: Likewise.
29548 * misc/llistxattr.c: Likewise.
29549 * misc/lremovexattr.c: Likewise.
29550 * misc/lsetxattr.c: Likewise.
29551 * misc/lutimes.c: Likewise.
29552 * misc/madvise.c: Likewise.
29553 * misc/mincore.c: Likewise.
29554 * misc/mlock.c: Likewise.
29555 * misc/mlockall.c: Likewise.
29556 * misc/mmap.c: Likewise.
29557 * misc/mprotect.c: Likewise.
29558 * misc/msync.c: Likewise.
29559 * misc/munlock.c: Likewise.
29560 * misc/munlockall.c: Likewise.
29561 * misc/munmap.c: Likewise.
29562 * misc/preadv.c: Likewise.
29563 * misc/preadv64.c: Likewise.
29564 * misc/ptrace.c: Likewise.
29565 * misc/pwritev.c: Likewise.
29566 * misc/pwritev64.c: Likewise.
29567 * misc/readv.c: Likewise.
29568 * misc/reboot.c: Likewise.
29569 * misc/remap_file_pages.c: Likewise.
29570 * misc/removexattr.c: Likewise.
29571 * misc/revoke.c: Likewise.
29572 * misc/select.c: Likewise.
29573 * misc/setdomain.c: Likewise.
29574 * misc/setegid.c: Likewise.
29575 * misc/seteuid.c: Likewise.
29576 * misc/sethostid.c: Likewise.
29577 * misc/sethostname.c: Likewise.
29578 * misc/setregid.c: Likewise.
29579 * misc/setreuid.c: Likewise.
29580 * misc/setxattr.c: Likewise.
29581 * misc/sstk.c: Likewise.
29582 * misc/stty.c: Likewise.
29583 * misc/swapoff.c: Likewise.
29584 * misc/swapon.c: Likewise.
29585 * misc/sync.c: Likewise.
29586 * misc/syncfs.c: Likewise.
29587 * misc/syscall.c: Likewise.
29588 * misc/truncate.c: Likewise.
29589 * misc/ualarm.c: Likewise.
29590 * misc/usleep.c: Likewise.
29591 * misc/ustat.c: Likewise.
29592 * misc/utimes.c: Likewise.
29593 * misc/vhangup.c: Likewise.
29594 * misc/writev.c: Likewise.
29595 * posix/_exit.c: Likewise.
29596 * posix/alarm.c: Likewise.
29597 * posix/execve.c: Likewise.
29598 * posix/fexecve.c: Likewise.
29599 * posix/fork.c: Likewise.
29600 * posix/fpathconf.c: Likewise.
29601 * posix/getaddrinfo.c: Likewise.
29602 * posix/getegid.c: Likewise.
29603 * posix/geteuid.c: Likewise.
29604 * posix/getgid.c: Likewise.
29605 * posix/getgroups.c: Likewise.
29606 * posix/getlogin.c: Likewise.
29607 * posix/getlogin_r.c: Likewise.
29608 * posix/getpgid.c: Likewise.
29609 * posix/getpid.c: Likewise.
29610 * posix/getppid.c: Likewise.
29611 * posix/getresgid.c: Likewise.
29612 * posix/getresuid.c: Likewise.
29613 * posix/getsid.c: Likewise.
29614 * posix/getuid.c: Likewise.
29615 * posix/glob64.c: Likewise.
29616 * posix/nanosleep.c: Likewise.
29617 * posix/pathconf.c: Likewise.
29618 * posix/pause.c: Likewise.
29619 * posix/posix_madvise.c: Likewise.
29620 * posix/pread.c: Likewise.
29621 * posix/pread64.c: Likewise.
29622 * posix/pwrite.c: Likewise.
29623 * posix/pwrite64.c: Likewise.
29624 * posix/sched_getaffinity.c: Likewise.
29625 * posix/sched_getp.c: Likewise.
29626 * posix/sched_gets.c: Likewise.
29627 * posix/sched_primax.c: Likewise.
29628 * posix/sched_primin.c: Likewise.
29629 * posix/sched_rr_gi.c: Likewise.
29630 * posix/sched_setaffinity.c: Likewise.
29631 * posix/sched_setp.c: Likewise.
29632 * posix/sched_sets.c: Likewise.
29633 * posix/sched_yield.c: Likewise.
29634 * posix/setgid.c: Likewise.
29635 * posix/setlogin.c: Likewise.
29636 * posix/setpgid.c: Likewise.
29637 * posix/setresgid.c: Likewise.
29638 * posix/setresuid.c: Likewise.
29639 * posix/setsid.c: Likewise.
29640 * posix/setuid.c: Likewise.
29641 * posix/sleep.c: Likewise.
29642 * posix/spawni.c: Likewise.
29643 * posix/sysconf.c: Likewise.
29644 * posix/times.c: Likewise.
29645 * posix/wait.c: Likewise.
29646 * posix/wait3.c: Likewise.
29647 * posix/wait4.c: Likewise.
29648 * posix/waitpid.c: Likewise.
29649 * resolv/gai_sigqueue.c: Likewise.
29650 * resource/getpriority.c: Likewise.
29651 * resource/getrlimit.c: Likewise.
29652 * resource/getrusage.c: Likewise.
29653 * resource/nice.c: Likewise.
29654 * resource/setpriority.c: Likewise.
29655 * resource/setrlimit.c: Likewise.
29656 * resource/ulimit.c: Likewise.
29657 * rt/aio_cancel.c: Likewise.
29658 * rt/aio_fsync.c: Likewise.
29659 * rt/aio_read.c: Likewise.
29660 * rt/aio_sigqueue.c: Likewise.
29661 * rt/aio_suspend.c: Likewise.
29662 * rt/aio_write.c: Likewise.
29663 * rt/clock_getres.c: Likewise.
29664 * rt/clock_gettime.c: Likewise.
29665 * rt/clock_nanosleep.c: Likewise.
29666 * rt/clock_settime.c: Likewise.
29667 * rt/lio_listio.c: Likewise.
29668 * rt/mq_close.c: Likewise.
29669 * rt/mq_getattr.c: Likewise.
29670 * rt/mq_notify.c: Likewise.
29671 * rt/mq_open.c: Likewise.
29672 * rt/mq_receive.c: Likewise.
29673 * rt/mq_send.c: Likewise.
29674 * rt/mq_setattr.c: Likewise.
29675 * rt/mq_timedreceive.c: Likewise.
29676 * rt/mq_timedsend.c: Likewise.
29677 * rt/mq_unlink.c: Likewise.
29678 * rt/shm_open.c: Likewise.
29679 * rt/shm_unlink.c: Likewise.
29680 * rt/timer_create.c: Likewise.
29681 * rt/timer_delete.c: Likewise.
29682 * rt/timer_getoverr.c: Likewise.
29683 * rt/timer_gettime.c: Likewise.
29684 * rt/timer_settime.c: Likewise.
29685 * setjmp/__longjmp.c: Likewise.
29686 * setjmp/setjmp.c: Likewise.
29687 * signal/kill.c: Likewise.
29688 * signal/killpg.c: Likewise.
29689 * signal/raise.c: Likewise.
29690 * signal/sigaction.c: Likewise.
29691 * signal/sigaltstack.c: Likewise.
29692 * signal/sigblock.c: Likewise.
29693 * signal/sigignore.c: Likewise.
29694 * signal/sigintr.c: Likewise.
29695 * signal/signal.c: Likewise.
29696 * signal/sigpause.c: Likewise.
29697 * signal/sigpending.c: Likewise.
29698 * signal/sigqueue.c: Likewise.
29699 * signal/sigreturn.c: Likewise.
29700 * signal/sigset.c: Likewise.
29701 * signal/sigsetmask.c: Likewise.
29702 * signal/sigstack.c: Likewise.
29703 * signal/sigsuspend.c: Likewise.
29704 * signal/sigtimedwait.c: Likewise.
29705 * signal/sigvec.c: Likewise.
29706 * signal/sigwait.c: Likewise.
29707 * signal/sigwaitinfo.c: Likewise.
29708 * signal/sysv_signal.c: Likewise.
29709 * socket/accept.c: Likewise.
29710 * socket/accept4.c: Likewise.
29711 * socket/bind.c: Likewise.
29712 * socket/connect.c: Likewise.
29713 * socket/getpeername.c: Likewise.
29714 * socket/getsockname.c: Likewise.
29715 * socket/getsockopt.c: Likewise.
29716 * socket/isfdtype.c: Likewise.
29717 * socket/listen.c: Likewise.
29718 * socket/recv.c: Likewise.
29719 * socket/recvfrom.c: Likewise.
29720 * socket/recvmsg.c: Likewise.
29721 * socket/send.c: Likewise.
29722 * socket/sendmsg.c: Likewise.
29723 * socket/sendto.c: Likewise.
29724 * socket/setsockopt.c: Likewise.
29725 * socket/shutdown.c: Likewise.
29726 * socket/sockatmark.c: Likewise.
29727 * socket/socket.c: Likewise.
29728 * socket/socketpair.c: Likewise.
29729 * stdio-common/ctermid.c: Likewise.
29730 * stdio-common/cuserid.c: Likewise.
29731 * stdio-common/remove.c: Likewise.
29732 * stdio-common/rename.c: Likewise.
29733 * stdio-common/renameat.c: Likewise.
29734 * stdio-common/tempname.c: Likewise.
29735 * stdlib/getcontext.c: Likewise.
29736 * stdlib/makecontext.c: Likewise.
29737 * stdlib/setcontext.c: Likewise.
29738 * stdlib/swapcontext.c: Likewise.
29739 * stdlib/system.c: Likewise.
29740 * streams/fattach.c: Likewise.
29741 * streams/fdetach.c: Likewise.
29742 * streams/getmsg.c: Likewise.
29743 * streams/getpmsg.c: Likewise.
29744 * streams/putmsg.c: Likewise.
29745 * streams/putpmsg.c: Likewise.
29746 * sysdeps/unix/bsd/getpt.c: Likewise.
29747 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29748 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29749 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29751 Likewise.
29752 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29753 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29754 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29755 * sysvipc/msgctl.c: Likewise.
29756 * sysvipc/msgget.c: Likewise.
29757 * sysvipc/msgrcv.c: Likewise.
29758 * sysvipc/msgsnd.c: Likewise.
29759 * sysvipc/semctl.c: Likewise.
29760 * sysvipc/semget.c: Likewise.
29761 * sysvipc/semop.c: Likewise.
29762 * sysvipc/semtimedop.c: Likewise.
29763 * sysvipc/shmat.c: Likewise.
29764 * sysvipc/shmctl.c: Likewise.
29765 * sysvipc/shmdt.c: Likewise.
29766 * sysvipc/shmget.c: Likewise.
29767 * termios/tcdrain.c: Likewise.
29768 * termios/tcflow.c: Likewise.
29769 * termios/tcflush.c: Likewise.
29770 * termios/tcgetattr.c: Likewise.
29771 * termios/tcgetpgrp.c: Likewise.
29772 * termios/tcsendbrk.c: Likewise.
29773 * termios/tcsetattr.c: Likewise.
29774 * termios/tcsetpgrp.c: Likewise.
29775 * time/adjtime.c: Likewise.
29776 * time/clock.c: Likewise.
29777 * time/getitimer.c: Likewise.
29778 * time/gettimeofday.c: Likewise.
29779 * time/setitimer.c: Likewise.
29780 * time/settimeofday.c: Likewise.
29781 * time/stime.c: Likewise.
29782 * time/time.c: Likewise.
29783
297842012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29785
a20492cf
PT
29786 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29787 /usr/old/bin.
29788
72e182e3
PT
29789 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29790 instead of spaces.
29791 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29792
fbeafede
JM
297932012-11-03 Joseph Myers <joseph@codesourcery.com>
29794
5b5b04d6
JM
29795 [BZ #14796]
29796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29797 FE_TONEAREST before applying Dekker multiplication and Knuth
29798 addition. Clear inexact exceptions and check for exact zero
29799 results afterwards.
29800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29801 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29802 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29803 * math/libm-test.inc (fma_test): Add more tests.
29804 (fma_test_towardzero): Likewise.
29805 (fma_test_downward): Likewise.
29806 (fma_test_upward): Likewise.
29807 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29808 function.
29809 (libc_fesetround): New macro.
29810 (libc_fesetroundf): Likewise.
29811 (libc_fesetroundl): Likewise.
29812 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29813 function.
29814 (libc_fesetround_387): Likewise.
29815 (libc_fesetroundf): New macro.
29816 (libc_fesetround): Likewise.
29817 (libc_fesetroundl): Likewise.
29818 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29819 function.
29820 (libc_fesetroundf): New macro.
29821 (libc_fesetround): Likewise.
29822 (libc_fesetroundl): Likewise.
29823 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29824 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29825 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29826 libm_hidden_ver.
29827 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29828 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29829 libm_hidden_def.
29830 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29831 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29832 libm_hidden_ver.
29833 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29834 libm_hidden_def.
29835
fbeafede
JM
29836 [BZ #3439]
29837 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29838 integer constant usable in #if and use that to give value to enum
29839 constant.
29840 (FE_DIVBYZERO): Likewise.
29841 (FE_UNDERFLOW): Likewise.
29842 (FE_OVERFLOW): Likewise.
29843 (FE_INVALID): Likewise.
29844 (FE_INVALID_SNAN): Likewise.
29845 (FE_INVALID_ISI): Likewise.
29846 (FE_INVALID_IDI): Likewise.
29847 (FE_INVALID_ZDZ): Likewise.
29848 (FE_INVALID_IMZ): Likewise.
29849 (FE_INVALID_COMPARE): Likewise.
29850 (FE_INVALID_SOFTWARE): Likewise.
29851 (FE_INVALID_SQRT): Likewise.
29852 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29853 (FE_TONEAREST): Likewise.
29854 (FE_TOWARDZERO): Likewise.
29855 (FE_UPWARD): Likewise.
29856 (FE_DOWNWARD): Likewise.
29857 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29858 (FE_DIVBYZERO): Likewise.
29859 (FE_OVERFLOW): Likewise.
29860 (FE_UNDERFLOW): Likewise.
29861 (FE_INEXACT): Likewise.
29862 (FE_TONEAREST): Likewise.
29863 (FE_DOWNWARD): Likewise.
29864 (FE_UPWARD): Likewise.
29865 (FE_TOWARDZERO): Likewise.
29866 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29867 (FE_UNDERFLOW): Likewise.
29868 (FE_OVERFLOW): Likewise.
29869 (FE_DIVBYZERO): Likewise.
29870 (FE_INVALID): Likewise.
29871 (FE_TONEAREST): Likewise.
29872 (FE_TOWARDZERO): Likewise.
29873 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29874 (FE_OVERFLOW): Likewise.
29875 (FE_UNDERFLOW): Likewise.
29876 (FE_DIVBYZERO): Likewise.
29877 (FE_INEXACT): Likewise.
29878 (FE_TONEAREST): Likewise.
29879 (FE_TOWARDZERO): Likewise.
29880 (FE_UPWARD): Likewise.
29881 (FE_DOWNWARD): Likewise.
29882 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29883 (FE_DIVBYZERO): Likewise.
29884 (FE_OVERFLOW): Likewise.
29885 (FE_UNDERFLOW): Likewise.
29886 (FE_INEXACT): Likewise.
29887 (FE_TONEAREST): Likewise.
29888 (FE_DOWNWARD): Likewise.
29889 (FE_UPWARD): Likewise.
29890 (FE_TOWARDZERO): Likewise.
29891
105ca950
CM
298922012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29893
29894 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29895
a542b389
AS
298962012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29897
29898 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29899 commands. Quote $PWD.
29900 (blacklist_exports): Don't use remove_newlines. Replace "declare
29901 -x" by "export".
29902 (remove_newlines): Remove.
29903
f62c8abc
L
299042012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29905
29906 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29907 * stdlib/stdlib.h (atof): Moved to ...
29908 * include/bits/stdlib-float.h: Here. New file.
29909 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29910 * stdlib/bits/stdlib-float.h: New file.
29911 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29912 -mno-sse -mno-mmx.
29913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29914 <xmmintrin.h>.
29915
0155d5b2
JM
299162012-11-02 Joseph Myers <joseph@codesourcery.com>
29917
a68d0680
JM
29918 * conform/conformtest.pl (@headers): Add fenv.h.
29919 * conform/data/fenv.h-data: New file.
29920 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29921 include of <math/fenv.h>.
29922
caf7f573
JM
29923 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29924 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29925 && !UNIX98]. Enables tests for XOPEN2K8.
29926 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29927 POSIX2008]: Likewise.
29928
6c073ad6
JM
29929 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29930 (struct rusage): Do not expect type or its members.
29931
0155d5b2
JM
29932 [BZ #3439]
29933 * math/math.h (FP_NAN): Define macro to integer constant usable in
29934 #if and use that to give value to enum constant.
29935 (FP_INFINITE): Likewise.
29936 (FP_ZERO): Likewise.
29937 (FP_SUBNORMAL): Likewise.
29938 (FP_NORMAL): Likewise.
29939
b5dcacb4
AS
299402012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29941
29942 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29943 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29944 arguments.
29945
f7934be8
RM
299462012-11-02 Roland McGrath <roland@hack.frob.com>
29947
29948 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29949 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29950 autoconf-time if not.
29951 * configure.in: Remove AC_PREREQ.
29952
d7d08bde
TMQMF
299532012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29954
29955 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29956 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29957 of the internal implementation.
29958
dcdae19a
JM
299592012-11-02 Joseph Myers <joseph@codesourcery.com>
29960
29961 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29962 except include of <misc/sys/syslog.h>.
29963
d6cffd3e
AS
299642012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29965
29966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29967 function returns with a NULL context exit with zero.
29968
b3563932
TMQMF
299692012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29970
29971 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29972
b288a93d
L
299732012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29974
29975 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29976 (run_program_cmd): This.
29977 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29978 (tst_langinfo): New variable. Use it.
29979
a2421a68
SAS
299802012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29981
29982 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29983 floating point opcodes.
29984
6f796e1b
TS
299852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29986
7402596b
TS
29987 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29988 variable.
29989
d0d4f868
TS
29990 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29991
6f796e1b
TS
29992 * sysdeps/mach/hurd/powerpc: Remove directory.
29993 * sysdeps/mach/powerpc: Likewise.
29994
4da224a2
AS
299952012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29996
29997 * scripts/check-local-headers.sh: Ignore c++ headers.
29998
341dd673
TS
299992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30000
30001 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30002 __libc_cleanup_region_start argument.
30003
473611b2
JM
300042012-11-01 Joseph Myers <joseph@codesourcery.com>
30005
30006 [BZ #14784]
30007 [BZ #14785]
30008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30009 x * y using scaling, not as x * y + z.
30010 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30012 * math/libm-test.inc (fma_test): Add more tests.
30013 (fma_test_towardzero): Likewise.
30014 (fma_test_downward): Likewise.
30015 (fma_test_upward): Likewise.
30016
4078da3d
TS
300172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30018
30019 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30020
903252aa
JM
300212012-10-31 Joseph Myers <joseph@codesourcery.com>
30022
30023 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30024 New variable.
30025
cbc818d0
TS
300262012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30027
30028 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30029
5a03cb1e
AS
300302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30031
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30033 Fix sort order.
30034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30035 Likewise.
30036
90aff2ff
TMQMF
300372012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30038
30039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30040 Fix the order of the list for glibc 2.17.
30041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30042 Likewise.
30043
1818fcb7
AS
300442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30045
30046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30047
ef82f4da
JM
300482012-10-31 Joseph Myers <joseph@codesourcery.com>
30049
16a0e2ec
JM
30050 [BZ #14610]
30051 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30052 for low part of x being zero before using __atanl (y).
30053 * math/libm-test.inc (atan2_test): Add another test.
30054
0eb69512
JM
30055 * manual/install.texi (Configuring and compiling): Document
30056 general use of test-wrapper and test-wrapper-env.
30057 * INSTALL: Regenerated.
30058
ef82f4da
JM
30059 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30060 (__fma): Do not extract and scale down low bits on after-rounding
30061 systems when result rounded to normal precision would have normal
30062 exponent.
30063 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30064 (__fmal): Do not extract and scale down low bits on after-rounding
30065 systems when result rounded to normal precision would have normal
30066 exponent.
30067 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30068 (__fmal): Do not extract and scale down low bits on after-rounding
30069 systems when result rounded to normal precision would have normal
30070 exponent.
30071 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30072 macro.
30073 (fma_test): Add more tests.
30074 (fma_test_towardzero): Likewise.
30075 (fma_test_downward): Likewise.
30076 (fma_test_upward): Likewise.
30077
954ef0d9
L
300782012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30079
30080 * sysdeps/i386/tininess.h: Renamed to ...
30081 * sysdeps/x86/tininess.h: This.
30082 * sysdeps/x86_64/tininess.h: Removed.
30083
df61ffb2
JM
300842012-10-30 Joseph Myers <joseph@codesourcery.com>
30085
30086 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30087 input. Use $(build-program-cmd).
30088 ($(objpfx)tst-array1-static.out): Likewise.
30089 ($(objpfx)tst-array2.out): Likewise.
30090 ($(objpfx)tst-array3.out): Likewise.
30091 ($(objpfx)tst-array4.out): Likewise.
30092 ($(objpfx)tst-array5.out): Likewise.
30093 ($(objpfx)tst-array5-static.out): Likewise.
30094
01767843
CM
300952012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30096
47cc1490
CM
30097 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30098 if defined.
30099
01767843
CM
30100 * nss/nsswitch.h (nss_interface_function): Provide new
30101 macro for use with NSS functions.
30102 * grp/initgroups.c: Use new macro.
30103 * nss/getXXbyYY.c: Likewise.
30104 * nss/getXXbyYY_r.c: Likewise.
30105 * nss/getXXent.c: Likewise.
30106 * nss/getXXent_r.c: Likewise.
30107 * sysdeps/posix/getaddrinfo.c: Likewise.
30108
8321aa97
AJ
301092012-10-30 Andreas Jaeger <aj@suse.de>
30110
30111 * po/ru.po: Update Russion translation from translation project.
30112
2a27fd6d
JM
301132012-10-30 Joseph Myers <joseph@codesourcery.com>
30114
8627a232
JM
30115 [BZ #14152]
30116 [BZ #14783]
30117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30118 result and shift together with sticky bit instead of replicating
30119 round-to-nearest rounding.
30120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30122 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30123 missing underflow exceptions.
30124 (fma_test_towardzero): Add more tests.
30125 (fma_test_downward): Likewise.
30126 (fma_test_upward): Likewise.
30127
2a27fd6d
JM
30128 [BZ #14047]
30129 * sysdeps/generic/tininess.h: New file.
30130 * sysdeps/i386/tininess.h: Likewise.
30131 * sysdeps/sh/tininess.h: Likewise.
30132 * sysdeps/x86_64/tininess.h: Likewise.
30133 * stdlib/tst-strtod-underflow.c: Likewise.
30134 * stdlib/tst-tininess.c: Likewise.
30135 * stdlib/strtod_l.c: Include <tininess.h>.
30136 (round_and_return): Do not set errno for exact underflow cases.
30137 Force an underflow exception when setting errno for underflow.
30138 Determine underflow based on rounding to normal precision if
30139 TININESS_AFTER_ROUNDING.
30140 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30141 ERANGE for exact underflow cases.
30142 * stdlib/Makefile (tests): Add tst-tininess and
30143 tst-strtod-underflow.
30144 ($(objpfx)tst-tininess): Use $(link-libm).
30145 ($(objpfx)tst-strtod-underflow): Likewise.
30146
e7170363
AJ
301472012-10-30 Andreas Jaeger <aj@suse.de>
30148
e5088dc6
AJ
30149 [BZ#14767]
30150 * elf/Makefile (tests): Remove conditional for have-initfini-array
30151 since this is now always required and the variable does not exist
30152 anymore.
30153 (tests-static): Likewise.
30154 (modules-names): Likewise.
30155
e7170363 30156 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30157
30158 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30159 merged with constructor/destructor.
30160 (init_array): Likewise.
30161 * elf/tst-array2dep.c (fini_array): Likewise.
30162 (init_array): Likewise.
30163
60457d8a
MF
301642012-10-29 Mike Frysinger <vapier@gentoo.org>
30165
30166 * manual/message.texi: Delete @cartouche tags.
30167
8bece752
PT
301682012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30169
94ce799f
PT
30170 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30171 EOPNOTSUPP.
30172 * sysdeps/mach/hurd/fsync.c: Likewise.
30173
8bece752
PT
30174 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30175 [_POSIX_REALTIME_SIGNALS]: Change condition to
30176 [_POSIX_REALTIME_SIGNALS > 0].
30177
86ebe6b1
AJ
301782012-10-27 Andreas Jaeger <aj@suse.de>
30179
30180 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30181 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30183 [__WORDSIZE != 64]: Likewise.
30184
54399c08
L
301852012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30186
30187 * iconvdata/tst-table.sh: Remove ${SHELL}.
30188 * iconvdata/tst-tables.sh: Likewise.
30189
e2211bed
DM
301902012-10-25 David S. Miller <davem@davemloft.net>
30191
30192 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30193 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30194 of strtoull.
30195
f303f97c
DM
30196 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30197 ifunc-impl-list.c
30198 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30199 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30200 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30201 file.
30202
1e9d84cd
RM
302032012-10-25 Roland McGrath <roland@hack.frob.com>
30204
30205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30206 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30207 __getdirentries.
30208
df381762
JM
302092012-10-25 Joseph Myers <joseph@codesourcery.com>
30210 Jim Blandy <jimb@codesourcery.com>
30211
30212 * scripts/cross-test-ssh.sh: New file.
30213 * manual/install.texi (Configuring and compiling): Document use of
30214 cross-test-ssh.sh.
30215 * INSTALL: Regenerated.
30216
bff64913
PT
302172012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30218
30219 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30220 EOPNOTSUPP.
30221
25fe8932
JM
302222012-10-25 Joseph Myers <joseph@codesourcery.com>
30223
30224 * Makeconfig (run-program-prefix): Fix comment.
30225
cc1290d0
JM
302262012-10-24 Joseph Myers <joseph@codesourcery.com>
30227 Jim Blandy <jimb@codesourcery.com>
30228
30229 * Makeconfig (test-wrapper): New variable,
30230 (test-wrapper-env): Likewise.
30231 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30232 (run-built-tests): Define to yes.
30233 (run-program-prefix): Use $(test-wrapper).
30234 (built-program-cmd): Likewise.
30235 * Rules (make-test-out): Use $(test-wrapper-env) and
30236 $(host-built-program-cmd).
30237 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30238 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30239 tst-pathopt.sh.
30240 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30241 $(test-wrapper-env) to tst-rtld-load-self.sh.
30242 ($(objpfx)order2.out): Use $(test-wrapper).
30243 ($(objpfx)tst-initorder.out): Likewise.
30244 ($(objpfx)tst-initorder2.out): Likewise.
30245 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30246 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30247 (test_wrapper_env): New variable. Use it to run ld.so.
30248 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30249 Use it to run ld.so.
30250 (test_wrapper_env): Likewise.
30251 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30252 $(test-wrapper) to run-iconv-test.sh.
30253 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30254 (ICONV): Use $test_wrapper.
30255 * posix/Makefile ($(objpfx)globtest.out): Pass
30256 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30257 globtest.sh, not $(run-program-prefix).
30258 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30259 (test_wrapper): Likewise.
30260 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30261 set together with run_via_rtld_prefix.
30262 (run_program_prefix): Define in terms of test_wrapper and
30263 run_via_rtld_prefix.
30264
6e6249d0
RM
302652012-10-24 Roland McGrath <roland@hack.frob.com>
30266
30267 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30268 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30269 Targets removed.
30270
30271 [BZ #14743]
30272 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30273 Declare __clock_getres, __clock_gettime, __clock_settime,
30274 __clock_nanosleep, and __clock_getcpuclockid.
30275 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30276 Remove librt_hidden_def (clock_gettime).
30277 * sysdeps/unix/clock_gettime.c: Likewise.
30278 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30279 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30280 * rt/clock_getres.c: Define __clock_getres as an alias.
30281 * sysdeps/posix/clock_getres.c: Likewise.
30282 * rt/clock_settime.c: Define __clock_settime as an alias.
30283 * sysdeps/unix/clock_settime.c: Likewise.
30284 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30285 * sysdeps/unix/clock_nanosleep.c: Likewise.
30286 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30287 * rt/clock-compat.c: New file.
30288 * rt/Makefile (librt-routines): Add clock-compat and move
30289 $(clock-routines) to ...
30290 (routines): ... here, new variable.
30291 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30292 Don't add get_clockfreq here.
30293 * rt/Versions (libc: GLIBC_2.17): New version set.
30294 Add clock_* symbols here.
30295 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30296 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30297 (GLIBC_2.17): Add clock_* symbols.
30298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30300 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30302 Likewise.
30303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30304 Likewise.
30305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30309 * NEWS: Mention the move.
30310
30311 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30312 Use __open, __read, __close rather than their public counterparts.
30313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30314 (__get_clockfreq_via_cpuinfo): Likewise.
30315 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30316 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30317
30318 * config.h.in (HAVE_IFUNC): New #undef.
30319 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30320 was successful.
30321 * configure: Regenerated.
30322
0cae3f4b
MF
303232012-10-24 Mike Frysinger <vapier@gentoo.org>
30324
30325 * configure.in: Move READELF check to start of file.
30326 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30327 libc_cv_asm_gnu_indirect_function in the process.
30328 * configure: Regenerated.
30329
8175a253
MF
303302012-10-24 Mike Frysinger <vapier@gentoo.org>
30331
30332 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30333 send the output to /dev/null.
30334 (libc_cv_cc_with_libunwind): Likewise.
30335 (libc_cv_as_noexecstack): Likewise.
30336 * configure: Regenerate.
30337
0708a7d1
JM
303382012-10-24 Joseph Myers <joseph@codesourcery.com>
30339
10b40d85
JM
30340 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30341
0708a7d1
JM
30342 * posix/globtest.sh (TMPDIR): Do not set.
30343 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30344 (testout): Likewise.
30345
9fddec1a
AJ
303462012-10-24 Andreas Jaeger <aj@suse.de>
30347
3a8db22f
AJ
30348 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30349 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30350 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30351 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30352 posix_fadvise64, posix_fallocate64.
30353
9fddec1a
AJ
30354 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30355 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30356 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30357 Likewise.
30358 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30359 Likewise.
30360 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30361
30362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30363 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30364 <bits/fcntl-linux.h>.
30365 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30366
30367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30368 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30369 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30370 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30371 [__WORDSIZE != 64]: Likewise.
30372
ebfd1bbd
JM
303732012-10-23 Joseph Myers <joseph@codesourcery.com>
30374
03ac099f
JM
30375 * Makeconfig (run-built-tests): New variable.
30376 * Rules [$(cross-compiling) = yes]: Change condition to
30377 [$(run-built-tests) = no].
30378 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30379 to [$(run-built-tests) = yes].
30380 * elf/Makefile [$(cross-compiling) = no]: Likewise
30381 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30382 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30383 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30384 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30385 * io/Makefile [$(cross-compiling) = no]: Likewise.
30386 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30387 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30388 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30389 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30390 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30391 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30392 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30393 * string/Makefile [$(cross-compiling) = no]: Likewise.
30394
ebfd1bbd
JM
30395 * posix/Makefile ($(objpfx)globtest.out): Pass
30396 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30397 $(rtld-installed-name).
30398 * posix/globtest.sh (elf_objpfx): Remove variable.
30399 (rtld_installed_name): Likewise.
30400 (library_path): Likewise.
30401 (run_program_prefix): New variable. Use for running globtest
30402 binary.
30403
166bca24
JB
304042012-10-23 Jim Blandy <jimb@codesourcery.com>
30405 Joseph Myers <joseph@codesourcery.com>
30406
30407 * Makeconfig (host-built-program-cmd): New variable.
30408 * elf/Makefile (tst-stackguard1-ARGS): Use
30409 $(host-built-program-cmd).
30410 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30411 (tst-spawn-ARGS): Likewise.
30412 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30413
88866099
JM
304142012-10-23 Joseph Myers <joseph@codesourcery.com>
30415 Jim Blandy <jimb@codesourcery.com>
30416
30417 * Makeconfig (run-via-rtld-prefix): New variable.
30418 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30419 (built-program-cmd): Likewise.
30420
b4b4c296
AJ
304212012-10-22 Andreas Jaeger <aj@suse.de>
30422
30423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30424 __O_RSYNC if it exists, otherwise to O_SYNC.
30425
6fb54a22
JB
304262012-10-22 Jim Blandy <jimb@codesourcery.com>
30427 Joseph Myers <joseph@codesourcery.com>
30428
30429 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30430 /dev/null.
30431 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30432 from /dev/null
30433 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30434 /dev/null.
30435
481b90b9
AJ
304362012-10-22 Andreas Jaeger <aj@suse.de>
30437
2a0e2669
AJ
30438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30439 Define always.
30440 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30441
76e38f9a
AJ
30442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30443 bits/fcntl-linux.h.
30444
7cd37b43
AJ
30445 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30446 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30447
481b90b9
AJ
30448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30449 to __O_LARGEFILE.
30450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30451 to __O_LARGEFILE.
30452
aba75984
JB
304532012-10-21 Jim Blandy <jimb@codesourcery.com>
30454 Joseph Myers <joseph@codesourcery.com>
30455
30456 * config.make.in (NM): New variable.
30457
88d4247f
AJ
304582012-10-21 Andreas Jaeger <aj@suse.de>
30459
30460 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30461 definitions and declarations that are provided by
30462 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30463
f2eed205
L
304642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30465
30466 [BZ #14683]
30467 * elf/Makefile (tests-static): Add tst-leaks1-static.
30468 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30469 ($(objpfx)tst-leaks1-static): New rule.
30470 ($(objpfx)tst-leaks1-static-mem): Likewise.
30471 (tst-leaks1-static-ENV): New macro.
30472 * elf/dl-open.c (dl_open_worker): Check the main application
30473 only if SHARED is defined.
30474 * elf/tst-leaks1-static.c: New file.
30475
335e6931
AJ
304762012-10-20 Andreas Jaeger <aj@suse.de>
30477
30478 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30479 generic values for Linux.
30480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30481 and declarations that are provided by <bits/fcntl-linux.h> and
30482 include <bits/fcntl-linux.h>.
30483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30485
ac5c94d3
RM
304862012-10-20 Roland McGrath <roland@hack.frob.com>
30487
30488 * io/fcntl.h: Move include of <bits/types.h> to the top and
30489 include it unconditionally.
30490
de54b33a
L
304912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30492
228cfb01
L
30493 * wcsmbs/Makefile (tests-ifunc): New variable.
30494 (tests): Add $(tests-ifunc).
30495 * wcsmbs/test-wcschr-ifunc.c: New file.
30496 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30497 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30498 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30499 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30500 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30501
69f07e5f
L
30502 * string/Makefile (tests-ifunc): New variable.
30503 (tests): Add $(tests-ifunc).
30504 * string/test-memccpy.c (TEST_NAME): New macro.
30505 * string/test-memchr.c (TEST_NAME): Likewise.
30506 * string/test-memcmp.c (TEST_NAME): Likewise.
30507 * string/test-memcpy.c (TEST_NAME): Likewise.
30508 * string/test-memmem.c (TEST_NAME): Likewise.
30509 * string/test-memmove.c (TEST_NAME): Likewise.
30510 * string/test-memset.c (TEST_NAME): Likewise.
30511 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30512 * string/test-stpcpy.c (TEST_NAME): Likewise.
30513 * string/test-stpncpy.c (TEST_NAME): Likewise.
30514 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30515 * string/test-strcasestr.c (TEST_NAME): Likewise.
30516 * string/test-strcat.c (TEST_NAME): Likewise.
30517 * string/test-strchr.c (TEST_NAME): Likewise.
30518 * string/test-strcmp.c(TEST_NAME): Likewise.
30519 * string/test-strcpy.c (TEST_NAME): Likewise.
30520 * string/test-strcspn.c (TEST_NAME): Likewise.
30521 * string/test-strlen.c (TEST_NAME): Likewise.
30522 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30523 * string/test-strncmp.c (TEST_NAME): Likewise.
30524 * string/test-strncpy.c (TEST_NAME): Likewise.
30525 * string/test-strnlen.c (TEST_NAME): Likewise.
30526 * string/test-strpbrk.c (TEST_NAME): Likewise.
30527 * string/test-strrchr.c (TEST_NAME): Likewise.
30528 * string/test-strspn.c (TEST_NAME): Likewise.
30529 * string/test-strstr.c (TEST_NAME): Likewise.
30530 * string/test-bcopy-ifunc.c: New file.
30531 * string/test-bzero-ifunc.c: Likewise.
30532 * string/test-memccpy-ifunc.c: Likewise.
30533 * string/test-memchr-ifunc.c: Likewise.
30534 * string/test-memcmp-ifunc.c: Likewise.
30535 * string/test-memcpy-ifunc.c: Likewise.
30536 * string/test-memmem-ifunc.c: Likewise.
30537 * string/test-memmove-ifunc.c: Likewise.
30538 * string/test-mempcpy-ifunc.c: Likewise.
30539 * string/test-memset-ifunc.c: Likewise.
30540 * string/test-rawmemchr-ifunc.c: Likewise.
30541 * string/test-stpcpy-ifunc.c: Likewise.
30542 * string/test-stpncpy-ifunc.c: Likewise.
30543 * string/test-strcasecmp-ifunc.c: Likewise.
30544 * string/test-strcasestr-ifunc.c: Likewise.
30545 * string/test-strcat-ifunc.c: Likewise.
30546 * string/test-strchr-ifunc.c: Likewise.
30547 * string/test-strchrnul-ifunc.c: Likewise.
30548 * string/test-strcmp-ifunc.c: Likewise.
30549 * string/test-strcpy-ifunc.c: Likewise.
30550 * string/test-strcspn-ifunc.c: Likewise.
30551 * string/test-strlen-ifunc.c: Likewise.
30552 * string/test-strncasecmp-ifunc.c: Likewise.
30553 * string/test-strncat-ifunc.c: Likewise.
30554 * string/test-strncmp-ifunc.c: Likewise.
30555 * string/test-strncpy-ifunc.c: Likewise.
30556 * string/test-strnlen-ifunc.c: Likewise.
30557 * string/test-strpbrk-ifunc.c: Likewise.
30558 * string/test-strrchr-ifunc.c: Likewise.
30559 * string/test-strspn-ifunc.c: Likewise.
30560 * string/test-strstr-ifunc.c: Likewise.
30561
de54b33a
L
30562 * debug/Makefile (tests-ifunc): New variable.
30563 (tests): Add $(tests-ifunc).
30564 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30565 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30566 * debug/test-stpcpy_chk-ifunc.c: New file.
30567 * debug/test-strcpy_chk-ifunc.c: Likewise.
30568
88481c16
SP
305692012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30570
30571 [BZ #13601]
30572 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30573 header is not read in.
30574
135948bd
JM
305752012-10-19 Joseph Myers <joseph@codesourcery.com>
30576
89f1c388
JM
30577 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30578 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30579 directly. Pass built executable to script as
30580 $(built-program-cmd).
30581 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30582 $testprogram without using LD_LIBRARY_PATH and $ldso.
30583
e40a0d21
JM
30584 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30585 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30586 $(rtld-installed-name).
30587 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30588 (rtld_installed_name): Likewise.
30589 (library_path): Likewise.
30590 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30591 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30592 $(run-program-prefix) to tst-tables.sh.
30593 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30594 it to run tst-table-from and tst-table-to.
30595 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30596 Pass it to tst-table.sh.
30597 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30598 $(run-program-prefix) to tst-gettext.sh.
30599 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30600 tst-translit.sh.
30601 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30602 tst-gettext2.sh.
30603 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30604 to run tst-gettext.
30605 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30606 to run tst-gettext2.
30607 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30608 to run tst-translit.
30609 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30610 $(run-program-prefix) to tst-mtrace.sh.
30611 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30612 to run tst-mtrace.
30613 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30614 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30615 $(rtld-installed-name).
30616 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30617 (rtld_installed_name): Likewise.
30618 (run_program_prefix): New variable. Use it to run wordexp-test.
30619
728e272a
JM
30620 * Makeconfig (ARCH): Remove all definitions.
30621 (machine): Likewise.
30622 [ARCH]: Remove conditional code.
30623 [!objdir]: Give error.
30624 [!objdir] (objpfx): Remove.
30625 [!objdir] (common-objpfx): Likewise.
30626 [!objdir] (common-objdir): Likewise.
30627 * configure.in (config_makefile): Remove. Hardcode Makefile in
30628 AC_CONFIG_FILES call.
30629 * configure: Regenerated.
30630
d528cdcf
JM
30631 [BZ #13888]
30632 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30633 or TMPDIR.
30634 (testout): Likewise.
30635
135948bd
JM
30636 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30637 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30638 $(rtld-installed-name).
30639 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30640 (rtld_installed_name): Likwise.
30641 (runit): Remove function.
30642 (run_getconf): New variable, Use it for running getconf binary.
30643
38c78296
L
306442012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30645
30646 [BZ #14716]
30647 * string/test-memmem.c (check_result): New function.
30648 (do_one_test): Use it.
30649 (check1): New function.
30650 (test_main): Use it.
30651
d077f65f
MT
306522012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30653
30654 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30655
ced52c71
JM
306562012-10-18 Joseph Myers <joseph@codesourcery.com>
30657
30658 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30659 (_G_LSEEK64): Likewise.
30660 (_G_MMAP64): Likewise.
30661 (_G_FSTAT64): Likewise.
30662 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30663 (_G_LSEEK64): Likewise.
30664 (_G_MMAP64): Likewise.
30665 (_G_FSTAT64): Likewise.
30666 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30667 unconditional. Call __mmap64 directly.
30668 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30669 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30670 __lseek64 directly.
30671 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30672 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30673 __mmap64 directly.
30674 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30675 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30676 __lseek64 directly.
30677 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30678 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30679 __lseek64 directly.
30680 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30681 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30682 __lseek64 directly.
30683 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30684 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30685 __fxstat64 directly.
30686 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30687 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30688 unconditional.
30689 (freopen64) [!_G_OPEN64]: Remove conditional code.
30690 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30691 unconditional.
30692 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30693 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30694 unconditional.
30695 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30696 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30697 unconditional.
30698 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30699 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30700 unconditional.
30701 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30702 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30703 unconditional.
30704 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30705 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30706 unconditional.
30707 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30708 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30709 unconditional.
30710 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30711
b741de23
SP
307122012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30713
30714 [BZ #12140]
30715 * manual/memory.texi (Malloc Tunable Parameters): Add note
30716 about free list pointers overwriting some perturb bytes.
30717 Wording suggested by Roland McGrath.
30718
f9b9d9c9
JM
307192012-10-17 Joseph Myers <joseph@codesourcery.com>
30720
30721 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30722 (lgamma_test): Likewise.
30723 (tgamma_test): Likewise.
30724
172a631a
FW
307252012-10-16 Florian Weimer <fweimer@redhat.com>
30726
30727 [BZ #14700]
30728 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30729 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30730
e9f37252
MK
307312012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30732
30733 * NEWS: Mention BZ #14716.
30734 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30735 when removing AVAILABLE1_USES_J macro.
30736
d394eb74
L
307372012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30738
30739 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30740 (__bswap_64): __uint64_t for unsigned 64-bit int.
30741
ca38dc17
AS
307422012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30743
30744 * include/string.h (memmem): Declare libc hidden alias.
30745 * string/memmem.c (memmem): Define libc hidden alias.
30746 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30747 __read, __close instead of open, read, close.
30748
9a387d1f
L
307492012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30750
ac49ecaf
L
30751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30752 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30753 global and hidden.
30754 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30755 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30756 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30757 Likewise.
30758 (__rawmemchr_sse2): Likewise.
30759 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30760 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30761 (__strchr_sse2): Likewise.
30762 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30763 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30764 (__strcasecmp_sse2): Likewise.
30765 (__strncasecmp_sse2): Likewise.
30766 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30767 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30768 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30769 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30770 (__strrchr_sse2): Likewise.
30771 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30772 ifunc-impl-list.c.
30773 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30774 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30775 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30776 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30777 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30778 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30779 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30780 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30781 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30782 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30783 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30784 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30785 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30786 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30787 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30789 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30790 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30791 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30792 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30793 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30794 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30795 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30796 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30797 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30798 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30799 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30800 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30801 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30802 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30803
b090e8ea
L
30804 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30805 global and hidden.
30806 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30807 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30808 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30809 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30810 Likewise.
30811 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30812 Likewise.
30813 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30814 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30815 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30816 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30817 ifunc-impl-list.c.
30818 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30819 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30820 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30821 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30822 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30823 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30824 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30825 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30826 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30827 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30828 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30829 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30830 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30831 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30832 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30833 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30834 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30835 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30836 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30837 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30838 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30839 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30840 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30841 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30842 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30843 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30844 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30845 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30846 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30847 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30848 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30849 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30850 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30851 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30852 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30853 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30854 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30855 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30856 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30857 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30858 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30859
11dd4af6
L
30860 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30861 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30862 * include/ifunc-impl-list.h: New file.
30863 * misc/ifunc-impl-list.c: Likewise.
30864 * misc/Makefile (routines): Add ifunc-impl-list.
30865 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30866 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
30867 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30868 TEST_NAME]: New variables.
11dd4af6
L
30869 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30870 are defined.
30871 (test_init): Call __libc_ifunc_impl_list to initialize
30872 func_list if TEST_IFUNC and TEST_NAME are defined.
30873
9a387d1f
L
30874 * string/Makefile (strop-tests): Add bcopy and bzero.
30875 * string/test-bcopy.c: New file.
30876 * string/test-bzero.c: Likewise.
30877 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30878 defined.
30879 * string/test-memset.c: Support bzero test if TEST_BZERO is
30880 defined.
30881 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30882 __libc_memmove.
30883 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30884 __libc_memset.
30885 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30886 of memset.
30887
472371b9
JM
308882012-10-10 Joseph Myers <joseph@codesourcery.com>
30889
1e4a9536
JM
30890 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30891 * configure: Regenerated.
30892
d173d12e
JM
30893 * Makeconfig (+link-static-before-libc): Don't include
30894 $(link-static-libc).
30895
472371b9
JM
30896 * libio/libio.h (_IO_pos_t): Remove.
30897
89a3ad0b
AO
308982012-10-10 Alexandre Oliva <aoliva@redhat.com>
30899
30900 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30901 McGrath.
30902
e7451425
AO
309032012-10-10 Alexandre Oliva <aoliva@redhat.com>
30904
30905 * crypt/crypt-entry.c: Include fips-private.h.
30906 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30907 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30908 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30909 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30910
4ba74a35
AO
309112012-10-10 Alexandre Oliva <aoliva@redhat.com>
30912
30913 * crypt/crypt-private.h: Include stdbool.h.
30914 (_ufc_setup_salt_r): Return bool.
30915 * crypt/crypt-entry.c: Include errno.h.
30916 (__crypt_r): Return NULL with EINVAL for bad salt.
30917 * crypt/crypt_util.c (bad_for_salt): New.
30918 (_ufc_setup_salt_r): Check that salt is long enough and within
30919 the specified alphabet.
30920 * crypt/badsalttest.c: New file.
30921 * crypt/Makefile (tests): Add it.
30922 ($(objpfx)badsalttest): New.
30923
f96f1242
MK
309242012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30925
30926 * NEWS: Add entry for BZ #14602.
30927
0e8e0c1c
JM
309282012-10-09 Joseph Myers <joseph@codesourcery.com>
30929
30930 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30931 type-generic.
30932 * math/libm-test.inc: Update comment listing what functions and
30933 macros are tested.
30934 (isgreater_test): New function.
30935 (isgreaterequal_test): Likewise.
30936 (isless_test): Likewise.
30937 (islessequal_test): Likewise.
30938 (islessgreater_test): Likewise.
30939 (isunordered_test): Likewise.
30940 (main): Call the new functions.
30941
273edc5e
RM
309422012-10-09 Roland McGrath <roland@hack.frob.com>
30943
b8493de0
RM
30944 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30945 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30946 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30947 * sysdeps/i386/configure: Regenerated.
30948 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30949 * sysdeps/mach/configure: Regenerated.
30950 * sysdeps/mach/hurd/configure: Regenerated.
30951 * sysdeps/powerpc/configure: Regenerated.
30952 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30953 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30954 * sysdeps/s390/s390-32/configure: Regenerated.
30955 * sysdeps/s390/s390-64/configure: Regenerated.
30956 * sysdeps/sh/configure: Regenerated.
30957 * sysdeps/sparc/configure: Regenerated.
30958 * sysdeps/unix/sysv/linux/configure: Regenerated.
30959 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30960 * sysdeps/x86_64/configure: Regenerated.
30961
273edc5e
RM
30962 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30963 defined. Don't check if MAP is NULL.
30964
c8450f70
JM
309652012-10-09 Joseph Myers <joseph@codesourcery.com>
30966
30967 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30968 (_G_stat64): Likewise.
30969 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30970 (_G_stat64): Likewise.
30971 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30972 instead of struct _G_stat64.
30973 * libio/fileops.c (mmap_remap_check): Likewise.
30974 (decide_maybe_mmap): Likewise.
30975 (_IO_new_file_seekoff): Likewise.
30976 (_IO_file_stat): Likewise.
30977 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30978 _G_off64_t.
30979 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30980 instead of struct _G_stat64.
30981 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30982
57e605ba
MK
309832012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30984
30985 [BZ #14602]
30986 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30987 Replace with ...
30988 (CHECK_EOL): New macro.
30989 (two_way_short_needle): Check beginning of haystack for EOL. Use
30990 CHECK_EOL.
30991 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30992 Replace with CHECK_EOL.
30993 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30994 Replace with CHECK_EOL.
30995
ef1bb361
JM
309962012-10-08 Joseph Myers <joseph@codesourcery.com>
30997
30998 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30999 type-generic.
31000 * math/libm-test.inc: Update comment listing what functions and
31001 macros are tested.
31002 (finite_test): New function.
31003 (isinf_test): Likewise.
31004 (isnan_test): Likewise.
31005 (fpclassify_test): Test subnormal input.
31006 (isfinite_test): Likewise.
31007 (isnormal_test): Likewise.
31008 (main): Call the new functions.
31009
55f11534
JN
310102012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31011
31012 [BZ #14660]
31013 * Makerules (%.dynsym): Force C locale when running
31014 $(OBJDUMP) --dynamic-syms.
31015
1ab29350
AS
310162012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31017
31018 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31019 <stdint.h>.
31020
f1ecb7ef
DM
310212012-10-06 David S. Miller <davem@davemloft.net>
31022
31023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31024 upper 32-bits of the length value in %o2 since we use branch-on-register
31025 tests which consider the entire 64-bit register.
31026
5d41d91a
L
310272012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31028
31029 * string/test-strstr.c (check2): Add a test for page boundary.
31030
3baddb72
DM
310312012-10-05 David S. Miller <davem@davemloft.net>
31032
31033 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31034 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31035 file.
31036 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31037 sysdep_routines.
31038 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31039 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31040 and bzero when HWCAP_SPARC_CRYPTO is present.
31041
9cee5585
L
310422012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31043
d7e0dab9
L
31044 [BZ #14602]
31045 * string/test-strstr.c (check2): New function.
31046 (test_main): Call check2.
31047
03759f47
L
31048 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31049 and bug-strchr1.
31050 * string/bug-strcasestr1.c (do_test): Moved to ...
31051 * string/test-strcasestr.c (check1): Here. New function.
31052 (do_one_test): Break out result checking code into ...
31053 (check_result): This. New function.
31054 (do_one_test): Call check_result.
31055 (test_main): Call check1.
31056 * string/bug-strchr1.c (do_test): Moved to ...
31057 * string/test-strchr.c (check1): Here. New function.
31058 (do_one_test): Break out result checking code into ...
31059 (check_result): This. New function.
31060 (do_one_test): Call check_result.
31061 (test_main): Call check1.
31062 * string/bug-strstr1.c (main): Moved to ...
046f153e 31063 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31064 (do_one_test): Break out result checking code into ...
31065 (check_result): This. New function.
31066 (do_one_test): Call check_result.
31067 (test_main): Call check1.
31068 * string/bug-strcasestr1.c: Removed.
31069 * string/bug-strchr1.c: Likewise.
31070 * string/bug-strstr1.c: Likewise.
31071
53cea63e
L
31072 * elf/Makefile (dl-routines): Add hwcaps.
31073 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31074 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31075 (_dl_important_hwcaps): Moved to ...
31076 * elf/dl-hwcaps.c: Here. New file.
31077 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31078
9cee5585 31079 [BZ #14557]
bb859b06
L
31080 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31081 if IS_IN_rtld isn't defined.
31082
9cee5585
L
31083 * elf/dl-support.c (_dl_sysinfo_map): New.
31084 Include "get-dynamic-info.h" and "setup-vdso.h".
31085 (_dl_non_dynamic_init): Call setup_vdso.
31086 * elf/dynamic-link.h: Don't include <assert.h>.
31087 (elf_get_dynamic_info): Moved to ...
31088 * elf/get-dynamic-info.h: Here. New file.
31089 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31090 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31091 * elf/setup-vdso.h: Here. New file.
31092 * elf/rtld.c: Include "setup-vdso.h".
31093 (dl_main): Call setup_vdso.
31094
23c31b76
JM
310952012-10-05 Joseph Myers <joseph@codesourcery.com>
31096
28234b07
JM
31097 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31098 creal in comment listing functions tested. List finite, isinf,
31099 isnan, isless, islessequal, isgreater, isgreaterequal,
31100 islessgreater, isunordered, lgamma_r and pow10 as functions and
31101 macros not tested. Mention which functions not tested are aliases
31102 for other functions. Fix typo. Note that signs of NaNs are not
31103 tested.
31104
23c31b76
JM
31105 * scripts/config.guess: Update from config.git.
31106 * scripts/config.sub: Likewise.
31107
9043e228
RM
311082012-10-04 Roland McGrath <roland@hack.frob.com>
31109
31110 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31111 * misc/madvise.c (madvise): Renamed to __madvise.
31112 Make madvise a weak alias.
31113 * include/sys/mman.h: Declare __madvise.
31114 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31115 * sysdeps/unix/syscalls.list
31116 (madvise): Make __madvise the strong name, and madvise a weak alias.
31117 * sysdeps/unix/sysv/linux/syscalls.list
31118 (madvise, mmap): Remove redundant entries.
31119 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31120 * malloc/malloc.c (mtrim): Likewise.
31121 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31122
f57f8055
RM
311232012-10-03 Roland McGrath <roland@hack.frob.com>
31124
31125 * sysdeps/mach/hurd/dl-cache.c: File removed.
31126 * config.h.in (USE_LDCONFIG): New #undef.
31127 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31128 * configure: Regenerated.
31129 * elf/Makefile (dl-routines): Add dl-cache only under
31130 [$(use-ldconfig) = yes].
31131 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31132 cache on [USE_LDCONFIG].
31133 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31134 [USE_LDCONFIG].
31135 * elf/rtld.c (dl_main): Likewise.
31136
5bb0c10a
PT
311372012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31138
31139 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31140 _SC_LEVEL4_CACHE_LINESIZE.
31141
010188c6
RM
311422012-10-03 Roland McGrath <roland@hack.frob.com>
31143
31144 * sysdeps/unix/bsd/confstr.h: File removed.
31145
b6c5ec07
AO
311462012-10-02 Alexandre Oliva <aoliva@redhat.com>
31147
31148 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31149 sys/sdt-config.h.
31150
408223d4
RM
311512012-10-02 Roland McGrath <roland@hack.frob.com>
31152
31153 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31154 Make 'mapoff' field ElfW(Off) rather than off_t.
31155
bb9510dc
DL
311562012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31157
fc997c6e
DL
31158 * nscd/Makefile: Remove nscd-cflags and all its users.
31159 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31160 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31161
bb9510dc
DL
31162 [BZ #10631]
31163 * malloc.c (malloc_printerr): Clarify error message.
31164
05699367
L
311652012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31166
31167 [BZ #14648]
31168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31169 Set bit_FMA_Usable if FMA is supported.
31170 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31171 macro.
31172 (bit_FMA4_Usable): Updated.
31173 (index_FMA_Usable): New macro.
31174 (CPUID_FMA): Likewise
31175 (HAS_FMA): Defined with bit_FMA_Usable.
31176
51367701
RM
311772012-10-01 Roland McGrath <roland@hack.frob.com>
31178
31179 * bits/types.h (__swblk_t): Type removed.
31180 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31181 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31182 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31183 (__SWBLK_T_TYPE): Likewise.
31184 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31185 (__SWBLK_T_TYPE): Likewise.
31186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31187 (__SWBLK_T_TYPE): Likewise.
31188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31189 (__SWBLK_T_TYPE): Likewise.
31190
4d57bf63 311912012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31192 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31193
31194 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31195 (xdr_mapname): Use YPMAXMAP as maxsize.
31196 (xdr_peername): Use YPMAXPEER as maxsize.
31197 (xdr_keydat): Use YPAXRECORD as maxsize.
31198 (xdr_valdat): Use YPMAXRECORD as maxsize.
31199
93c65d43
RM
312002012-10-01 Roland McGrath <roland@hack.frob.com>
31201
497a03d6
RM
31202 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31203
93c65d43
RM
31204 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31205 * csu/init-first.c: ... here.
31206 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31207 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31208 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31209 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31210 * sysdeps/i386/init-first.c: File removed.
31211 * sysdeps/sh/init-first.c: File removed.
31212
bec749fd
JM
312132012-10-01 Joseph Myers <joseph@codesourcery.com>
31214
31215 [BZ #14645]
31216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31217 if x * y might underflow to zero and z is zero.
31218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31220 * math/libm-test.inc (min_subnorm_value): New variable.
31221 (fma_test): Add more tests.
31222 (fma_test_towardzero): Likewise.
31223 (fma_test_downward): Likewise
31224 (fma_test_upward): Likewise.
31225 (initialize): Set min_subnorm_value.
31226
8ec5b013
JM
312272012-09-29 Joseph Myers <joseph@codesourcery.com>
31228
31229 [BZ #14638]
31230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31231 0 + 0.
31232 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31233 mode for addition resulting in exact zero.
31234 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31236 exact 0 + 0.
31237 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31239 * math/libm-test.inc (fma_test): Add more tests.
31240 (fma_test_towardzero): New function.
31241 (fma_test_downward): Likewise.
31242 (fma_test_upward): Likewise.
31243 (main): Call the new functions.
31244
b1fa802e
DM
312452012-09-28 David S. Miller <davem@davemloft.net>
31246
31247 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31248
d3b9fd9e
RM
312492012-09-28 Roland McGrath <roland@hack.frob.com>
31250
ea4d37b3
RM
31251 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31252 instead of SIGALRM.
31253
ac51c949
RM
31254 * sysdeps/gnu/_G_config.h: Moved to ...
31255 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31256 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31257 * sysdeps/generic/_G_config.h: ... here.
31258
28c195f7
RM
31259 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31260
848917f9
RM
31261 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31262
6bacf05b
RM
31263 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31264 Conditionalize target on [libnss_test1.so-version].
31265
91363dbb
RM
31266 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31267
cc87f7d8
RM
31268 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31269 (elfobjdir): Move out of conditionals.
31270
b1c608fe
RM
31271 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31272 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31273 (__nss_lookup_function): Conditionalize label remove_from_tree on
31274 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31275
1d9a6d96
DM
312762012-09-28 David S. Miller <davem@davemloft.net>
31277
31278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31279 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31280 file.
31281 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31282 sysdep_routines.
31283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31285 when HWCAP_SPARC_CRYPTO is present.
31286
72581615
PT
312872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31288
31289 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31290
715a900c
JL
312912012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31292
31293 [BZ #6530]
31294 * stdio-common/vfprintf.c (process_string_arg): Revert
31295 2000-07-22 change.
31296
312972011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31298
31299 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31300 for testcase.
31301 * stdio-common/tst-sprintf.c: Include <locale.h>
31302 (main): Test sprintf's handling of incomplete multibyte
31303 characters.
31304
9bac1d86
L
313052012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31306
31307 * elf/dl-runtime.c (VERSYMIDX): Removed.
31308 * elf/dl-version.c (VERSYMIDX): Likewise.
31309 * elf/do-rel.h (VERSYMIDX): Likewise.
31310 (VALIDX): Likewise.
31311 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31312 * elf/rtld.c (VALIDX): Likewise.
31313 (ADDRIDX): Likewise.
9bac1d86
L
31314 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31315 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31316 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31317 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31318 (VALIDX): Likewise.
31319 (ADDRIDX): Likewise.
9bac1d86 31320
b31606c0
PT
313212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31322
31323 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31324
11541177
JL
313252012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31326
31327 [BZ #11438]
31328 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31329 to global scope.
31330 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31331 addresses are in the same scope as 192.0.2/24.
31332 * posix/gai.conf: Document new scope table defaults.
31333
adb26fae
SP
313342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31335
31336 [BZ #5298]
31337 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31338 for ftell. Compute offsets from write pointers instead.
31339 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31340
4573c6b0
SP
313412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31342
31343 [BZ #14543]
31344 * libio/Makefile (tests): New test case tst-fseek.
31345 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31346 combination works in wide mode.
31347 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31348 state when the external buffer state changes.
31349
aa9bbfe6
DM
313502012-09-27 David S. Miller <davem@davemloft.net>
31351
31352 [BZ #14376]
31353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31354 pass reloc->r_addend in as the 'high' argument to
31355 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31356
784421e7
DM
31357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31358
c39bc8b8
PT
313592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31360
31361 * rt/tst-aio2.c: Include <pthread.h>.
31362 * rt/tst-aio3.c: Likewise.
31363
1ccc2399
SE
313642012-09-27 Steve Ellcey <sellcey@mips.com>
31365
31366 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31367
31ed4153
L
313682012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31369
25f5f885
L
31370 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31371 contents on [SHARED].
31ed4153 31372
b7bfe116
MP
313732012-09-26 Marek Polacek <polacek@redhat.com>
31374
31375 [BZ #14530]
31376 [BZ #13741]
31377 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31378 for C++ and GCC <4.3 as well as for non GCC compilers.
31379
43c4edba
MT
313802012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31381
31382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31383
6a1bf82f
RM
313842012-09-25 Roland McGrath <roland@hack.frob.com>
31385
31386 * Makefile.in (all, install): Declare with .PHONY.
31387 Reported by Michael Hope <michael.hope@linaro.org>.
31388
8ad11b9a
TMQMF
313892012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31390
31391 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31392 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31393 system header.
31394 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31395 Likewise.
31396 (sydep_routines): Add the new and the internal functions.
31397 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31398 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31400 (GLIBC_2.17): Add the new function.
31401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31402 (GLIBC_2.17): Likewise.
31403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31404 (GLIBC_2.17): Likewise.
31405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31406 (GLIBC_2.17): Likewise.
31407 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31408
7e2fca8d
AM
314092012-09-25 Alan Modra <amodra@gmail.com>
31410
31411 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31412 Add release barrier before setting once_control to say
31413 initialisation is done. Add hints on lwarx. Use macro in
31414 place of isync.
31415 (clear_once_control): Add release barrier.
31416
b87c4b24
JM
314172012-09-25 Joseph Myers <joseph@codesourcery.com>
31418
d032e0d2
JM
31419 [BZ #13629]
31420 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31421 specially.
31422 * math/s_clog10.c (__clog10): Likewise.
31423 * math/s_clog10f.c (__clog10f): Likewise.
31424 * math/s_clog10l.c (__clog10l): Likewise.
31425 * math/s_clogf.c (__clogf): Likewise.
31426 * math/s_clogl.c (__clogl): Likewise.
31427 * math/Makefile (libm-calls): Add x2y2m1.
31428 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31429 (__x2y2m1): Likewise.
31430 (__x2y2m1l): Likewise.
31431 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31432 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31433 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31434 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31435 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31436 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31437 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31438 * sysdeps/i386/fpu/libm-test-ulps: Update.
31439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31440
b87c4b24
JM
31441 [BZ #14621]
31442 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31443 int as type of variable DEPTH.
31444 (glob): Use size_t instead of int as type of variables NEWCOUNT
31445 and OLD_PATHC.
31446
6d3bf199
LD
314472012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31448
22bf5c17
LD
31449 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31450 Add s_sincosf-sse2.
31451 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31452 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31453 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31454 macros for using routine as __sincosf_ia32.
31455 Use macro for function declaration and weak_alias.
31456 * sysdeps/i386/fpu/libm-test-ulps: Update.
31457
31458 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31460
31461 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
31462 subnormal argument.
31463 * math/s_cexpf.c (__cexpf): Likewise.
31464 * math/s_csinf.c (__csinf): Likewise.
31465 * math/s_csinhf.c (__csinhf): Likewise.
31466 * math/s_ctanf.c (__ctanf): Likewise.
31467 * math/s_ctanhf.c (__ctanhf): Likewise.
31468 * math/s_ccosh.c (__ccoshf): Likewise.
31469 * math/s_cexp.c (__cexpl): Likewise.
31470 * math/s_csin.c (__csin): Likewise.
31471 * math/s_csinh.c (__csinh): Likewise.
31472 * math/s_ctan.c (__ctan): Likewise.
31473 * math/s_ctanh.c (ctanh): Likewise.
31474 * math/s_ccoshl.c (__ccoshl): Likewise.
31475 * math/s_cexpl.c (__cexpl): Likewise.
31476 * math/s_csinl.c (__csinl): Likewise.
31477 * math/s_csinhl.c (__csinhl): Likewise.
31478 * math/s_ctanl.c (__ctanl): Likewise.
31479 * math/s_ctanhl.c (__ctanhl): Likewise.
31480
203e5603
JM
314812012-09-25 Joseph Myers <joseph@codesourcery.com>
31482
31483 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31484 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31485 (_IO_off_t): Define to __off_t, not _G_off_t.
31486 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31487 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31488 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31489 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31490 type of __dummy and __dummy2 fields.
31491 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31492 (_G_ssize_t): Likewise.
31493 (_G_off_t): Likewise.
31494 (_G_pid_t): Likewise.
31495 (_G_uid_t): Likewise.
31496 (_G_wchar_t): Likewise.
31497 (_G_wint_t): Likewise.
31498 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31499 (_G_ssize_t): Likewise.
31500 (_G_off_t): Likewise.
31501 (_G_pid_t): Likewise.
31502 (_G_uid_t): Likewise.
31503 (_G_wchar_t): Likewise.
31504 (_G_wint_t): Likewise.
31505 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31506 (_G_ssize_t): Likewise.
31507 (_G_off_t): Likewise.
31508 (_G_pid_t): Likewise.
31509 (_G_uid_t): Likewise.
31510 (_G_wchar_t): Likewise.
31511 (_G_wint_t): Likewise.
31512
9fab36eb
SP
315132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31514
31515 * malloc/arena.c: Include malloc-sysdep.h.
31516 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31517 is sufficient to shrink the heap or an unmap is needed.
31518 * sysdeps/generic/malloc-sysdep.h: New file. Define
31519 new function check_may_shrink_heap.
31520 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31521 new function check_may_shrink_heap.
31522
2b4f00d1
SP
315232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31524
31525 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31526 comments.
31527
9a9028b1
DL
315282012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31529
57c69bef
DL
31530 * catgets/test-gencat.sh: Add "set -e".
31531 * elf/tst-pathopt.sh: Likewise.
31532 * grp/tst_fgetgrent.sh: Likewise.
31533 * iconvdata/run-iconv-test.sh: Likewise.
31534 * intl/tst-gettext.sh: Likewise.
31535 * intl/tst-gettext2.sh: Likewise.
31536 * intl/tst-gettext4.sh: Likewise.
31537 * intl/tst-gettext6.sh: Likewise.
31538 * intl/tst-translit.sh: Likewise.
31539 * io/ftwtest-sh: Likewise.
31540 * libio/test-freopen.sh: Likewise.
31541 * malloc/tst-mtrace.sh: Likewise.
31542 * posix/globtest.sh: Likewise.
31543 * posix/tst-getconf.sh: Likewise.
31544 * posix/wordexp-tst.sh: Likewise.
31545 * stdio-common/tst-printf.sh: Likewise.
31546 * stdio-common/tst-unbputc.sh: Likewise.
31547 * stdlib/tst-fmtmsg.sh: Likewise.
31548 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31549 * catgets/Makefile: Do not specify -e option when running
31550 testsuite shell scripts.
31551 * elf/Makefile: Likewise.
31552 * grp/Makefile: Likewise.
31553 * iconvdata/Makefile: Likewise.
31554 * intl/Makefile: Likewise.
31555 * io/Makefile: Likewise.
31556 * libio/Makefile: Likewise.
31557 * malloc/Makefile: Likewise.
31558 * posix/Makefile: Likewise.
31559 * stdio-common/Makefile: Likewise.
31560 * stdlib/Makefile: Likewise.
31561 * sysdeps/x86_64/Makefile: Likewise.
31562
9a9028b1
DL
31563 * io/ftwtest-sh: Add copyright header.
31564 * posix/globtest.sh: Likewise.
31565 * posix/tst-getconf.sh: Likewise.
31566 * posix/wordexp-tst.sh: Likewise.
31567 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31568
ced6f16e
L
315692012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31570
94b32c39
L
31571 [BZ #13679]
31572 * Makeconfig (+link): Defined as $(+link-static) if
31573 $(build-shared) isn't yes.
31574 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31575 isn't yes.
31576 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31577
189e935b
L
31578 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31579
ced6f16e
L
31580 [BZ #14562]
31581 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31582 new chunk size with MALLOC_ALIGN_MASK.
31583
a9f8e53a
JM
315842012-09-24 Joseph Myers <joseph@codesourcery.com>
31585
31586 [BZ #5044]
31587 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31588 <rounding-mode.h>.
31589 (__printf_fphex): Determine rounding using get_rounding_mode and
31590 round_away.
31591 * stdio-common/tst-printf-round.c (struct hex_test): New
31592 structure.
31593 (hex_tests): New variable.
31594 (test_hex_in_one_mode): New function.
31595 (do_test): Also run tests for hex float output.
31596
43153109
JM
315972012-09-21 Joseph Myers <joseph@codesourcery.com>
31598
31599 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31600 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31601 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31602 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31603 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31604 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31605 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31606 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31607
8a26625d
JM
316082012-09-20 Joseph Myers <joseph@codesourcery.com>
31609
31610 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31611 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31612 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31613 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31614
f3fd569c
DL
316152012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31616
31617 [BZ #14579]
31618 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31619 mode only.
31620 * elf/tst-rtld-load-self.sh: New test.
31621 * elf/Makefile: Run it.
31622
63bbedd4
JM
316232012-09-18 Joseph Myers <joseph@codesourcery.com>
31624
31625 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31626 (tst-writev-ENV): Remove.
31627 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31628
626f8b6a
CM
316292012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31630
31631 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31632
b7aaa4d6
JM
316332012-09-17 Joseph Myers <joseph@codesourcery.com>
31634
31635 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31636 unconditional.
31637 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31638 Likewise.
31639 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31640 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31641 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31642 Likewise.
31643
65513990
L
316442012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 [BZ #14587]
31647 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31648 * config.make.in (have-cpp-asm-debuginfo): Removed.
31649 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31650 * configure: Regenerated.
31651
784761be
JM
316522012-09-14 Joseph Myers <joseph@codesourcery.com>
31653
31654 [BZ #5044]
31655 * stdio-common/printf_fp.c: Include <stdbool.h> and
31656 <rounding-mode.h>.
31657 (___printf_fp): Determine rounding using get_rounding_mode and
31658 round_away.
31659 * stdio-common/tst-printf-round.c: New file.
31660 * stdio-common/Makefile (tests): Add tst-printf-round.
31661 (link-libm): New variable.
31662 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31663
9503345f
L
316642012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31665
31666 [BZ #14576]
31667 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31668 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31669 Likewise.
31670 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31671 Likewise.
31672
ad35fc00
JM
316732012-09-13 Joseph Myers <joseph@codesourcery.com>
31674
31675 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31676 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31677 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31678 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31679
6c9b0f68
JM
316802012-09-12 Joseph Myers <joseph@codesourcery.com>
31681
31682 [BZ #14518]
31683 * include/rounding-mode.h: New file.
31684 * sysdeps/generic/get-rounding-mode.h: Likewise.
31685 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31686 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31687 (MAX_VALUE): New macro.
31688 (MIN_VALUE): Likewise.
31689 (overflow_value): New function.
31690 (underflow_value): Likewise.
31691 (round_and_return): Use overflow_value and underflow_value to
31692 determine return values in overflow and underflow cases. Use
31693 round_away to determine rounding depending on rounding mode.
31694 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31695 determine return values in overflow and underflow cases.
31696 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31697 (struct test_results): New structure.
31698 (struct test): Use struct test_results to store expected results
31699 for all rounding modes.
31700 (TEST): Include expected results for all rounding modes.
31701 (test_in_one_mode): New function.
31702 (do_test): Use test_in_one_mode to compute and check results.
31703 Check results for all rounding modes.
31704 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31705 $(link-libm).
31706
19fcedd5
AM
317072012-12-09 Allan McRae <allan@archlinux.org>
31708
1e9d84cd 31709 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31710
8bbfd2f1
JM
317112012-09-11 Joseph Myers <joseph@codesourcery.com>
31712
31713 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31714 (_G_int32_t): Likewise.
31715 (_G_uint16_t): Likewise.
31716 (_G_uint32_t): Likewise.
31717 (_G_HAVE_BOOL): Likewise.
31718 (_G_HAVE_ATEXIT): Likewise.
31719 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31720 (_G_HAVE_IO_FILE_OPEN): Likewise.
31721 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31722 (_G_int32_t): Likewise.
31723 (_G_uint16_t): Likewise.
31724 (_G_uint32_t): Likewise.
31725 (_G_HAVE_BOOL): Likewise.
31726 (_G_HAVE_ATEXIT): Likewise.
31727 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31728 (_G_HAVE_IO_FILE_OPEN): Likewise.
31729 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31730 (_G_int32_t): Likewise.
31731 (_G_uint16_t): Likewise.
31732 (_G_uint32_t): Likewise.
31733 (_G_HAVE_BOOL): Likewise.
31734 (_G_HAVE_ATEXIT): Likewise.
31735 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31736 (_G_HAVE_IO_FILE_OPEN): Likewise.
31737
b1dc5912
L
317382012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31739
31740 * csu/libc-tls.c: Update copyright years.
31741
0e886ef9
JM
317422012-09-10 Joseph Myers <joseph@codesourcery.com>
31743
28361c5e
JM
31744 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31745 [!_G_USING_THUNKS]: Remove conditional code.
31746 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31747 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31748
0e886ef9
JM
31749 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31750 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31751 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31752 (_G_VTABLE_LABEL_PREFIX): Likewise.
31753 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31754 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31755 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31756 (_G_VTABLE_LABEL_PREFIX): Likewise.
31757 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31758 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31759 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31760 (_G_VTABLE_LABEL_PREFIX): Likewise.
31761 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31762
bcba7aa2
L
317632012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31764
31765 * libio/Makefile: Include ../Makeconfig before tests.
31766 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31767 only if $(build-shared) is yes.
31768
06585ee8
L
31769 * iconv/gconv_db.c: Update copyright years.
31770
80ccd52c
LD
317712012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31772
31773 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31774 unwind info if defined PIC. Fix special cases description.
31775 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31776
31777 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31778 DP_HI_MASK entry.
31779 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31780
691bc9c1
L
317812012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31782
3d9b46b3
L
31783 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31784
de2139a9
L
31785 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31786 is NULL.
31787
5ca78dd0
L
31788 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31789 (LDLIBS-tst-chk4): This.
31790 (LDFLAGS-tst-chk5): Renamed to ...
31791 (LDLIBS-tst-chk5): This.
31792 (LDFLAGS-tst-chk6): Renamed to ...
31793 (LDLIBS-tst-chk6): This.
31794 (LDFLAGS-tst-lfschk4): Renamed to ...
31795 (LDLIBS-tst-lfschk4): This.
31796 (LDFLAGS-tst-lfschk5): Renamed to ...
31797 (LDLIBS-tst-lfschk5): This.
31798 (LDFLAGS-tst-lfschk6): Renamed to ...
31799 (LDLIBS-tst-lfschk6): This.
31800
691bc9c1
L
31801 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31802 on $(common-objpfx)soversions.mk.
31803
65cafb1c
JM
318042012-09-07 Joseph Myers <joseph@codesourcery.com>
31805
31806 [BZ #10014]
31807 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31808 example host name.
31809
c78ab094
SP
318102012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31811
31812 * malloc/arena.c (arena_get_retry): New function that gets
31813 another arena for the caller to try its request on.
31814 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31815 current arena cannot fulfill the request.
31816 (__libc_memalign): Likewise.
31817 (__libc_memalign): Likewise.
31818 (__libc_pvalloc): Likewise.
31819 (__libc_calloc): Likewise.
31820
01f49f59
JT
318212012-09-05 John Tobey <john.tobey@gmail.com>
31822
31823 [BZ #13542]
31824 * manual/arith.texi (Operations on Complex): Fix description
31825 of carg branch cut.
31826
4c23fed5
JM
318272012-09-06 Joseph Myers <joseph@codesourcery.com>
31828
1d3c8572
JM
31829 [BZ #10014]
31830 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31831 host name.
31832
4c23fed5
JM
31833 [BZ #10038]
31834 * manual/memory.texi (Memory): Make order of menu items match
31835 order of sections.
31836
04570aaa
L
318372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31840 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31841 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31842
b80af2f4
L
318432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31844
31845 * csu/libc-tls.c (static_dtv): Renamed to ...
31846 (_dl_static_dtv): This. Make it global.
31847 (_dl_initial_dtv): Removed.
31848 (__libc_setup_tls): Updated.
31849 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31850 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31851 DL_INITIAL_DTV.
31852
2abe9f15
PM
318532012-09-06 Petr Machata <pmachata@redhat.com>
31854
31855 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31856 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31857 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31858 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31859
0948c3af
L
318602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31861
31862 [BZ #14545]
31863 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31864 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31865 freeing dtv[-1].
31866
a5055ad1
L
318672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 [BZ #14544]
31870 * Makeconfig (link-static-before-libc): Replace $(+prector)
31871 with $(+prectorT).
31872 (link-static-after-libc): Replace $(+postctor) with
31873 $(+postctorT).
31874 (link-bounded): Replace $(+prector)/$(+postctor) with
31875 $(+prectorT)/$(+postctorT).
31876 (+prectorT): New macro.
31877 (+postctorT): Likewise.
31878
ed8c2ecd
JM
318792012-09-06 Joseph Myers <joseph@codesourcery.com>
31880
31881 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31882 (round_str): Handle values above the maximum for IBM long double
31883 as inexact.
31884 * stdlib/tst-strtod-round.c (tests): Regenerated.
31885
14c996c8
AK
318862012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31887
31888 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31889 assembler flag.
31890 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31891 zarch_nohighgprs around the zarch optimized routines.
31892 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31893 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31894 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31895 for zarch.
31896
430d6ce6
DM
318972012-09-05 David S. Miller <davem@davemloft.net>
31898
31899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31900
57f41c40
AS
31901 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31902 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
31903 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31904 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31905 entries.
31906
24d4e01b
AO
319072012-09-05 Alexandre Oliva <aoliva@redhat.com>
31908
31909 * malloc/arena.c: Fold copyright years.
31910 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31911
61d58174
AO
319122012-09-05 Alexandre Oliva <aoliva@redhat.com>
31913
31914 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31915
20196a5e
AO
319162012-09-05 Alexandre Oliva <aoliva@redhat.com>
31917
31918 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31919
5c447383
AO
319202012-09-05 Alexandre Oliva <aoliva@redhat.com>
31921
31922 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31923 change internal state upon failure.
31924
fad64255
AO
319252012-09-05 Alexandre Oliva <aoliva@redhat.com>
31926
31927 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31928 * malloc/memusage.c (mmap): Likewise.
31929 (mmap64, mremap): Likewise. Adjust name in comment.
31930
1ffb8c90
SP
319312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31932
31933 * libio/fileops.c: Fix typos in comments.
31934 * libio/oldfileops.c: Likewise.
31935 * libio/wfileops.c: Likewise.
31936
6ef9cc37
SP
319372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31938
31939 [BZ #1349]
31940 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31941 (tst-malloc-usable-ENV): Set environment for test case.
31942 * malloc/hooks.c (malloc_check_get_size): New function to get
31943 requested size.
31944 * malloc/malloc.c (musable): Use malloc_check_get_size.
31945 * malloc/tst-malloc-usable.c: New test case.
31946
4d038ae3
AS
319472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31948
31949 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31950
c4e85184
AM
319512012-09-05 Allan McRae <allan@archlinux.org>
31952
b9dafc56 31953 [BZ #13966]
c4e85184
AM
31954 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31955 determine header location.
31956 * configure: Regenerated.
31957
e1343020
AS
319582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31959
31960 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31961 float format.
31962 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
31963 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31964 format.
e1343020
AS
31965 (test): Regenerate.
31966
0a9f1987
DM
319672012-09-04 David S. Miller <davem@davemloft.net>
31968
31969 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31970 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31971 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31972
29237804
FW
319732012-09-04 Florian Weimer <fweimer@redhat.com>
31974
31975 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31976 failures.
31977
edb3cb88
FW
31978 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31979
60160d83
JM
319802012-09-04 Joseph Myers <joseph@codesourcery.com>
31981
31982 [BZ #9914]
31983 * libio/iogetdelim.c: Include <limits.h>.
31984 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31985 + len + 1 would overflow.
31986
bcd6c8dc
AJ
319872012-09-03 Andreas Jaeger <aj@suse.de>
31988
31989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31990 * sysdeps/i386/fpu/libm-test-ulps: Update.
31991
4ffffbd2
LD
319922012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31993
31994 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31995 Add s_sinf-sse2, s_conf-sse2.
31996
31997 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31998 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31999 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32000 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32001
32002 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32003 for using routine as __sinf_ia32.
32004 Use macro for function declaration and weak_alias.
32005 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32006 for using routine as __cosf_ia32.
32007 Use macro for function declaration and weak_alias.
32008
32009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32010 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32011
32012 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32013 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32015
32016 * math/libm-test.inc (cos_test): Add more test cases.
32017 (sin_test): Likewise.
32018 (sincos_test): Likewise.
32019
511fa286
AK
320202012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32021
32022 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32023 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32024 hidden.
32025 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32026
5f30cfec
L
320272012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32028
32029 [BZ #14538]
32030 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32031 first element of the GOT.
32032 (elf_machine_load_address): Return the difference between
32033 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32034
0786794f
AM
320352012-09-01 Allan McRae <allan@archlinux.org>
32036
5f30cfec
L
32037 [BZ #13412]
32038 * configure.in (AWK): Require gawk version 3.0 or later.
32039 * configure: Regenerated.
0786794f 32040
26889eac
JM
320412012-09-01 Joseph Myers <joseph@codesourcery.com>
32042
32043 * sysdeps/unix/sysv/linux/kernel-features.h
32044 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32045 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32046 [__NR_clock_getres]: Make code unconditional.
32047 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32048 (clock_getcpuclockid): Remove code left unreachable by removal of
32049 conditionals.
32050 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32051 code unconditional.
32052 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32053 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32054 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32055 Make code unconditional.
32056 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32057 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32058 * sysdeps/unix/sysv/linux/clock_settime.c
32059 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32060 conditional code.
32061 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32062 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32063
d22e28b0
L
320642012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32065
32066 [BZ #14476]
32067 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32068 scripts/test-installation.pl.
32069
32070 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32071 and $ld_so_version if it is set.
32072
050af9c4
SP
320732012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32074
32075 [BZ #14516]
32076 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32077 failure if reading from procfs failed.
32078 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32079
ad845c0b
JM
320802012-08-27 Joseph Myers <joseph@codesourcery.com>
32081
32082 * sysdeps/unix/sysv/linux/kernel-features.h
32083 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32084 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32085 Remove conditional code.
32086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32087 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32088 Remove conditional code.
32089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32090 * sysdeps/unix/sysv/linux/i386/fxstat.c
32091 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32093 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32094 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32096 * sysdeps/unix/sysv/linux/i386/lxstat.c
32097 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32099 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32100 Remove conditional code.
32101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32102 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32103 Remove conditional code.
32104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32105 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32106 <kernel-features.h>.
32107 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32108 Remove.
32109 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32110 Remove conditional code.
32111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32112 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32113 Remove conditional.
32114
5dbf56af
MF
321152012-08-27 Mike Frysinger <vapier@gentoo.org>
32116
32117 [BZ #5400]
32118 * NEWS: Add fixed bug number.
32119
d6e70f43
JM
321202012-08-27 Joseph Myers <joseph@codesourcery.com>
32121
7efb4737
JM
32122 [BZ #14519]
32123 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32124 underflowing exponent in case of negative sign.
32125 * stdlib/tst-strtod-round-data: Add more tests.
32126 * stdlib/tst-strtod-round.c (tests): Regenerated.
32127
af92131a
JM
32128 [BZ #3479]
32129 * stdlib/strtod_l.c (NDIG): Remove.
32130 (HEXNDIG): Likewise.
32131 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32132 smallest representable value.
32133 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32134 lie within an exact representation of 1/2 ulp of the result.
32135 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32136 unconditionally.
32137 (TENS_P9_IDX): Define unconditionally.
32138 (TENS_P9_SIZE): Likewise.
32139 (TENS_P10_IDX): Likewise.
32140 (TENS_P10_SIZE): Likewise.
32141 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32142 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32143 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32144 entries for 10^2^13 and 10^2^14.
32145 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32146 (TENS_P13_IDX): Define.
32147 (TENS_P13_SIZE): Likewise.
32148 (TENS_P14_IDX): Likewise.
32149 (TENS_P14_SIZE): Likewise.
32150 (_fpioconst_pow10): Change array size to
32151 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32152 unconditional.
32153 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32154 1024]: Add entries for 10^2^13 and 10^2^14.
32155 [LAST_POW10 > _LAST_POW10]: Remove #error.
32156 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32157 (_fpioconst_pow10): Change array size to
32158 FPIOCONST_POW10_ARRAY_SIZE.
32159 * stdlib/gen-fpioconst.c: New file.
32160 * stdlib/gen-tst-strtod-round.c: Likewise.
32161 * stdlib/tst-strtod-round-data: Likewise.
32162 * stdlib/tst-strtod-round.c: Likewise.
32163 * stdlib/Makefile (tests): Add tst-strtod-round.
32164
d6e70f43
JM
32165 [BZ #14459]
32166 * stdlib/strtod_l.c: Include <stdint.h>.
32167 (NDEBUG): Do not define.
32168 (round_and_return): Change EXPONENT parameter to type intmax_t.
32169 Rearrange calculations to avoid internal overflow possibilities.
32170 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32171 Rearrange calculations to avoid internal overflow possibilities.
32172 Assert that number fits inside MPNSIZE limbs.
32173 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32174 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32175 calculations and add assertions to avoid internal overflow
32176 possibilities. Add casts to avoid signed/unsigned operations.
32177 * stdlib/tst-strtod-overflow.c: New file.
32178 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32179
1f529f7d
MP
321802012-08-25 Marek Polacek <polacek@redhat.com>
32181
32182 * time/time.h: Fix some typos in comments.
32183
59a629f1
RM
321842012-08-23 Roland McGrath <roland@hack.frob.com>
32185
32186 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32187 * posix/tst-rfc3484-2.c: Likewise.
32188 * posix/tst-rfc3484-3.c: Likewise.
32189
d3bafbc9
SM
321902012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32191
32192 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32193 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32194
4efcc022
JM
321952012-08-23 Joseph Myers <joseph@codesourcery.com>
32196
32197 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32198 #include of fxstatat64.c.
32199
3cc3ef96
RM
322002012-08-22 Roland McGrath <roland@hack.frob.com>
32201
f04e2132
RM
32202 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32203 * shadow/getspent_r.c: Likewise.
32204 * shadow/getspnam.c: Likewise.
32205 * shadow/getspnam_r.c: Likewise.
32206 * gshadow/getsgent.c: Likewise.
32207 * gshadow/getsgent_r.c: Likewise.
32208 * gshadow/getsgnam.c: Likewise.
32209 * gshadow/getsgnam_r.c: Likewise.
32210 * inet/getnetbyad.c: Likewise.
32211 * inet/getnetbyad_r.c: Likewise.
32212 * inet/getnetbynm.c: Likewise.
32213 * inet/getnetbynm_r.c: Likewise.
32214 * inet/getnetent.c: Likewise.
32215 * inet/getnetent_r.c: Likewise.
32216 * inet/getproto.c: Likewise.
32217 * inet/getproto_r.c: Likewise.
32218 * inet/getprtent.c: Likewise.
32219 * inet/getprtent_r.c: Likewise.
32220 * inet/getprtname.c: Likewise.
32221 * inet/getprtname_r.c: Likewise.
32222 * inet/getrpcbyname.c: Likewise.
32223 * inet/getrpcbyname_r.c: Likewise.
32224 * inet/getrpcbynumber.c: Likewise.
32225 * inet/getrpcbynumber_r.c: Likewise.
32226 * inet/getrpcent.c: Likewise.
32227 * inet/getrpcent_r.c: Likewise.
32228 * inet/getaliasent.c: Likewise.
32229 * inet/getaliasent_r.c: Likewise.
32230 * inet/getaliasname.c: Likewise.
32231 * inet/getaliasname_r.c: Likewise.
32232 * nscd/getgrgid_r.c: Likewise.
32233 * nscd/getgrnam_r.c: Likewise.
32234 * nscd/gethstbyad_r.c: Likewise.
32235 * nscd/gethstbynm3_r.c: Likewise.
32236 * nscd/getpwnam_r.c: Likewise.
32237 * nscd/getpwuid_r.c: Likewise.
32238 * nscd/getsrvbynm_r.c: Likewise.
32239 * nscd/getsrvbypt_r.c: Likewise.
32240 * nscd/gai.c: Likewise.
32241
c53d909c
RM
32242 * configure.in (build_nscd): New substituted variable, set
32243 by --disable-build-nscd and defaults to $use_nscd.
32244 * configure: Regenerated.
32245 * config.make.in (build-nscd): New substituted variable.
32246 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32247 Change conditional to require [$(build-nscd) = yes] as well.
32248 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32249
3cc3ef96
RM
32250 [BZ# 13696]
32251 * configure.in (use_nscd): New substituted variable, set by
32252 --disable-nscd. If enabled, define USE_NSCD.
32253 * configure: Regenerated.
32254 * config.h.in: Add USE_NSCD.
32255 * config.make.in (use-nscd): New substituted variable.
32256 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32257 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32258 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32259 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32260 (CFLAGS-getgrnam_r.c): Likewise.
32261 (CFLAGS-initgroups.c): Likewise.
32262 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32263 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32264 Variables removed.
32265 * inet/getnetgrent_r.c
32266 (nscd_setnetgrent): New function, broken out of ...
32267 (setnetgrent): ... here. Call it.
32268 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32269 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32270 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32271 * nscd/Makefile (routines, aux): Move definitions after include of
32272 Makeconfig. Conditionalize on [$(use-nscd) != no].
32273 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32274 Conditionalize on [USE_NSCD].
32275 (is_nscd, nscd_init_cb): Likewise.
32276 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32277 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32278 * nss/nss_db/db-init.c: Likewise.
32279 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32280 [USE_NSCD].
32281 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32282 (make_request): Use it.
32283 (cache_valid_p): New function.
32284 (__check_pf): Use it.
32285 * NEWS: Add item for --disable-nscd.
32286
07e51550
DL
322872012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32288
32289 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32290 to support sed >= 4.2.1-20-ga9bf076.
32291 * configure: Regenerated.
32292
35a5b08b
RM
322932012-08-22 Roland McGrath <roland@hack.frob.com>
32294
32295 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32296 Conditionalize whole body on [IREL].
32297
8479f23a
JL
322982012-08-22 Jeff Law <law@redhat.com>
32299
32300 [BZ #14505]
32301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32302 if the family is PF_UNSPEC.
32303
48da0b21
MF
323042012-08-22 Mike Frysinger <vapier@gentoo.org>
32305
32306 * Makerules (lib-version): Rename from V.
32307 (install-lib-nosubdir): Change V to lib-version.
32308
15d0da8c
WS
323092012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32310
32311 [BZ #14252]
32312 * powerpc32/power6/wcschr.c: New file.
32313 * powerpc32/power6/wcscpy.c: New file.
32314 * powerpc32/power6/wcsrchr.c: New file.
32315 * powerpc64/power6/wcschr.c: New file.
32316 * powerpc64/power6/wcscpy.c: New file.
32317 * powerpc64/power6/wcsrchr.c: New file.
32318
bcca0895
MK
323192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32320
32321 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32322 (two_way_short_needle): Use it.
5a4aaa33
RM
32323 * string/strstr.c (AVAILABLE1_USES_J): Define.
32324 * string/strcasestr.c: Likewise.
99677e57
MK
32325
32326 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32327 array references.
32328 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32329
400726de
MK
32330 [BZ #11607]
32331 * NEWS: Add an entry.
32332 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32333 define their defaults.
32334 (two_way_short_needle): Detect end-of-string on-the-fly.
32335 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32336 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32337 * string/bug-strcasestr1.c: New test.
32338 * string/Makefile: Run it.
32339
20a71f2c
MK
323402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32341
32342 [BZ #11607]
32343 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32344 the first character.
32345
21ad0558
RM
323462012-08-21 Roland McGrath <roland@hack.frob.com>
32347
32348 * csu/elf-init.c (__libc_csu_irel): Function removed.
32349 * csu/libc-start.c (apply_irel): New function.
32350 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32351
0e1d9911
JM
323522012-08-21 Joseph Myers <joseph@codesourcery.com>
32353
32354 * sysdeps/unix/sysv/linux/kernel-features.h
32355 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32356 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32357 <kernel-features.h>.
32358 [__NR_fadvise64_64]: Make code unconditional.
32359 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32360 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32361 !__NR_fadvise64_64)]: Likewise.
32362 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32363 !__NR_fadvise64_64))]: Likewise.
32364 [__NR_fadvise64]: Make code unconditional.
32365 [!__NR_fadvise64]: Remove conditional code.
32366 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32367 <kernel-features.h>.
32368 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32369 unconditional.
32370 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32371 conditional code.
32372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32373 not include <kernel-features.h>.
32374 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32375 unconditional.
32376 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32377 conditional code.
32378 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32379 include <kernel-features.h>.
32380 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32381 unconditional.
32382 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32383 conditional code.
32384
14a50c9d
WS
323852012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32386
32387 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32388 slight instruction rearrangements per scrollpipe analysis.
32389 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32390
c0f4faf0
RM
323912012-08-20 Roland McGrath <roland@hack.frob.com>
32392
696da859
RM
32393 * manual/syslog.texi (syslog; vsyslog, closelog):
32394 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32395 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32396
c0f4faf0
RM
32397 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32398 DSOCAPS to match condition on defining it.
32399
348363b2
JM
324002012-08-20 Joseph Myers <joseph@codesourcery.com>
32401
a35cbf28
JM
32402 * sysdeps/unix/sysv/linux/kernel-features.h
32403 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32405 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32406 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32408 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32409 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32411 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32412 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32413
445f7ecd
JM
32414 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32415 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32416
348363b2
JM
32417 * sysdeps/unix/sysv/linux/kernel-features.h
32418 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32419 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32420 unconditional.
32421 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32422 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32423 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32424 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32425 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32426 Make code unconditional.
32427 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32428 (__mmap64) [!__NR_mmap2]: Likewise.
32429 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32430 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32431 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32432 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32433 [__NR_mmap2]: Make code unconditional.
32434 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32435 (__mmap64) [!__NR_mmap2]: Likewise.
32436
bc5bc0e5
AK
324372012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32438
32439 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32440
88d506de
AJ
324412012-08-18 Andreas Jaeger <aj@suse.de>
32442
32443 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32444
493387d2
MF
324452012-08-18 Mike Frysinger <vapier@gentoo.org>
32446
32447 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32448 * include/unistd.h (__have_sock_cloexec): Likewise.
32449 (__have_pipe2): Likewise.
32450 (__have_dup3): Likewise.
32451
a277af22
MF
324522012-08-18 Mike Frysinger <vapier@gentoo.org>
32453
32454 [BZ #9685]
32455 * include/unistd.h (__have_pipe2): Change define into an extern int.
32456 (__have_dup3): Likewise.
32457 * socket/have_sock_cloexec.c: Include fcntl.h.
32458 (__have_pipe2): New variable.
32459 (__have_dup3): Likewise.
32460
fdab8fd3
MF
324612012-08-17 Mike Frysinger <vapier@gentoo.org>
32462
32463 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32464
31035e80
MP
324652012-08-17 Marek Polacek <polacek@redhat.com>
32466
32467 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32468 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32469
3bd9e993
RM
324702012-08-17 Roland McGrath <roland@hack.frob.com>
32471
c91c505f
RM
32472 * configure.in: Add AC_SUBST for sysheaders.
32473 * configure: Regenerated.
32474 * config.make.in (sysheaders): New substituted variable.
32475
7c6f9d53
RM
32476 * sysdeps/unix/mkfifo.c: Moved ...
32477 * sysdeps/posix/mkfifo.c: ... here.
32478 * sysdeps/unix/mkfifoat.c: Moved ...
32479 * sysdeps/posix/mkfifoat.c: ... here.
32480
32481 * sysdeps/unix/utime.c: Moved ...
32482 * sysdeps/posix/utime.c: ... here.
32483
32484 * sysdeps/unix/time.c: Moved ...
32485 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
32486 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32487 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
32488
32489 * sysdeps/unix/nice.c: Moved ...
32490 * sysdeps/posix/nice.c: ... here.
32491
32492 * sysdeps/unix/alarm.c: Moved ...
32493 * sysdeps/posix/alarm.c: ... here.
32494
3bd9e993
RM
32495 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32496
d1f09384
JL
324972012-08-17 Jeff Law <law@redhat.com>
32498
32499 * intl/Makefile (codeset_mo): New variable.
32500 ($(codeset_mo)): New target.
32501 (tst-codeset.out): Depend on that. Remove explicit rule.
32502 (tst-gettext3.out, tst-gettext5.out): Likewise.
32503 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32504 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32505 * intl/tst-codeset.sh: Remove.
32506 * intl/tst-gettext3.sh: Likewise.
32507 * intl/tst-gettext5.sh: Likewise.
32508
2ae1ae5c
RM
325092012-08-17 Roland McGrath <roland@hack.frob.com>
32510
c31fdb83
RM
32511 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32512 * sysdeps/unix/syscalls.list: ... here.
32513
a0844057
RM
32514 * sysdeps/posix/getaddrinfo.c
32515 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32516 (gaiconf_init, gaiconf_reload): Use them.
32517 [!_STATBUF_ST_NSEC]
32518 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32519 Define using time_t rather than struct timespec.
32520
750c1f2a
RM
32521 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32522 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32523 Macros removed.
32524 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32525 [!NO_THREADS].
32526 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32527 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32528 Likewise.
32529
2ae1ae5c
RM
32530 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32531 __libc_cleanup_push argument.
32532
e66a42f5
RM
32533 * bits/param.h: New file.
32534 * misc/sys/param.h: New file.
32535 * include/sys/param.h: New file.
32536 * misc/Makefile (headers): Add bits/param.h.
32537 * sysdeps/generic/sys/param.h: File removed.
32538 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32539 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32540 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 32541 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 32542
b7c08a66
RM
32543 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32544 last change.
32545
b2e1c562
RM
32546 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32547 [_IO_MTSAFE_IO].
32548 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32549 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32550 New macros.
32551
c75ccd4c
RM
32552 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32553 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32554 rather than -D_IO_MTSAFE_IO conditionally.
32555 * stdio-common/Makefile (CPPFLAGS): Likewise.
32556 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32557 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32558 Use $(libio-mtsafe).
32559 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32560 of -D_IO_MTSAFE_IO.
32561 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32562 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32563 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32564 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32565 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32566 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32567 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32568 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32569 (CFLAGS-fread_u_chk.c): Likewise.
32570 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32571 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32572 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32573 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32574 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32575 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32576 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32577 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32578 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32579
32580 * libio/Makefile: Test [$(libc-reentrant) = yes]
32581 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32582
32583 * Makeconfig
32584 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32585 * sysdeps/pthread/configure: File removed.
32586 * sysdeps/pthread/Makeconfig: New file.
32587 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32588 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32589
d9195db8
GB
325902012-08-16 Gary Benson <gbenson@redhat.com>
32591
32592 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32593 unmapping the first object in a namespace.
32594
86466cd9
RM
325952012-08-16 Roland McGrath <roland@hack.frob.com>
32596
32597 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32598 (__internal_setnetgrent): ... this. Add internal_function to
32599 definition. Add libc_hidden_def.
32600 (setnetgrent): Update caller.
32601 (internal_endnetgrent): Renamed to ...
32602 (__internal_endnetgrent): ... this. Add internal_function to
32603 definition. Add libc_hidden_def.
32604 (endnetgrent): Update caller.
32605 (internal_getnetgrent_r): Renamed to ...
32606 (__internal_getnetgrent_r): ... this. Add internal_function to
32607 definition. Add libc_hidden_def.
32608 (__getnetgrent_r): Update caller.
32609 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32610
c3c8283c
JM
326112012-08-16 Joseph Myers <joseph@codesourcery.com>
32612
32613 * stdlib/longlong.h: Update from GCC.
32614
db1ee0a8
RM
326152012-08-16 Roland McGrath <roland@hack.frob.com>
32616
32617 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32618 on _QL, which is set by umul_ppmm but never used.
32619 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32620 variables, which are set by GMP macros but never used.
32621 * stdio-common/_itowa.c (_itowa): Likewise.
32622 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32623 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32624
30f69637
CD
326252012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32626
32627 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32628 struct La_sh_regs is not constant.
32629 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32630 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32631 and struct La_sparc64_regs are not constant.
32632
93a78ac4
JM
326332012-08-16 Joseph Myers <joseph@codesourcery.com>
32634
32635 * sysdeps/unix/sysv/linux/kernel-features.h
32636 (__ASSUME_POSIX_TIMERS): Remove.
32637 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32638 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32639 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32640 Make code unconditional.
32641 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32642 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32643 Make code unconditional.
32644 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32645 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32646 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32648 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32649 Make code unconditional.
32650 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32651 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32652 (__libc_missing_posix_timers): Remove.
32653
dd924cd7
RM
326542012-08-15 Roland McGrath <roland@hack.frob.com>
32655
4b4f2771
RM
32656 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32657 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32658
601c888b
RM
32659 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32660
176790a7
RM
32661 * elf/dl-sym.c: Include <stdlib.h>.
32662
329bc018
RM
32663 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32664 constants, which avoids warnings in 32-bit builds.
32665
e04e272d
RM
32666 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32667 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32668
952bf94a
RM
32669 * misc/lseek.c: File moved to ...
32670 * io/lseek.c: ... here.
32671
7c99b50a
RM
32672 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32673
dd924cd7
RM
32674 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32675 shifting LEN more than 31 bits at once.
32676
b3f479a8
LD
326772012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32678
32679 [BZ #14195]
8c4ae0d4
RM
32680 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32681 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32682 * string/test-strncasecmp.c (check1): Renamed to...
32683 (bz12205): ...this.
32684 (bz14195): Add new testcase for two empty input strings and N > 0.
32685 (test_main): Call new testcase, adapt for renamed function.
32686
9c55864e
AJ
326872012-08-15 Andreas Jaeger <aj@suse.de>
32688
32689 [BZ #14090]
32690 * crypt/md5test2.c: New test, based on test supplied by Serge
32691 Belyshev <belyshev@depni.sinp.msu.ru>.
32692 * crypt/Makefile (xtests): Add md5test-giant..
32693 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32694
02dcb6c5
PE
326952012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32696
32697 [BZ #14090]
32698 * crypt/md5.c (md5_process_block): Don't assume the buffer
32699 length is less than 2**32.
32700 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32701 length is less than 2**64.
32702
a3f95dcc
RM
327032012-08-15 Roland McGrath <roland@hack.frob.com>
32704
be75d758
RM
32705 * string/str-two-way.h: Include <sys/param.h>.
32706 (MAX): Macro removed.
32707
7312ca90
RM
32708 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32709 Move #define and #undef of memmove to just before and after
32710 including <string.h>.
32711
9a0a5486
RM
32712 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32713 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32714 and after including <string.h>. Move declarations of
32715 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32716 to before #include "string/memmove.c".
32717
67cc348d
RM
32718 * include/dirent.h: Declare __getdirentries.
32719
a3f95dcc
RM
32720 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32721 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32722
ca98e171
MF
327232012-08-14 Mike Frysinger <vapier@gentoo.org>
32724
32725 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32726 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32727 * sysdeps/i386/configure: Regenerated.
32728 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32729 STABS_CURRENT_FILE, and STABS_FUN.
32730 (END): Remove call to STABS_FUN_END.
32731 (STABS_CURRENT_FILE1): Delete.
32732 (STABS_CURRENT_FILE): Likewise.
32733 (STABS_FUN): Likewise.
32734 (STABS_FUN_END): Likewise.
32735 (STABS_FUN2): Likewise.
32736 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32737 * sysdeps/x86_64/configure: Regenerated.
32738
5908bf46
RM
327392012-08-14 Roland McGrath <roland@hack.frob.com>
32740
32741 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32742 * elf/dl-lookup.c: Likewise.
5908bf46 32743
f2c05b9e
JM
327442012-08-14 Joseph Myers <joseph@codesourcery.com>
32745
32746 * sysdeps/unix/sysv/linux/kernel-features.h
32747 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32748 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32749 unconditionally.
32750 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32751 unconditionally.
32752 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32753 condition on __ASSUME_CLONE_THREAD_FLAGS.
32754
e11f5155
AJ
327552012-08-14 Andreas Jaeger <aj@suse.de>
32756
32757 * sysdeps/i386/fpu/libm-test-ulps: Update.
32758
51a9ba86
MK
327592012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32760
2fdd4f78
AJ
32761 * include/atomic.h (atomic_exchange_and_add): Split into ...
32762 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32763 New atomic macros.
51a9ba86 32764
ba6cba9e
MT
327652012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32766
32767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32768
42443a47
JL
327692012-08-13 Jeff Law <law@redhat.com>
32770
32771 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32772 null byte in the output string.
32773
121dce05
JM
327742012-08-10 Joseph Myers <joseph@codesourcery.com>
32775
32776 * sysdeps/unix/sysv/linux/kernel-features.h
32777 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32778 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32779 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32780 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32781 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32782 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32783 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32784
bf51f568
JL
327852012-08-09 Jeff Law <law@redhat.com>
32786
32787 [BZ #13939]
32788 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32789 When avoid_arena is set, don't retry in the that arena. Pick the
32790 next one, whatever it might be.
32791 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32792 (arena_lock): Pass in new parameter to arena_get2.
32793 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32794 arena_get2.
32795 (__libc_malloc): Unify retrying after main arena failure with
32796 __libc_memalign version.
32797 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32798
f85fa270
L
327992012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32800
32801 [BZ #14166]
32802 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32803 to __redirect_strstr.
32804 (__strstr_sse42): Use typeof __redirect_strstr.
32805 (__strstr_ia32): Likewise.
32806 (__libc_strstr): New prototype.
32807 (strstr): Renamed to ...
32808 (__libc_strstr): This.
32809 (strstr): New strong alias of __libc_strstr.
32810 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32811 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32812 __redirect_time.
32813 Include <time.h>.
32814 (__libc_time): New prototype.
32815 (time_ifunc): Replace time with __libc_time.
32816 (time): New strong alias and hidden definition of __libc_time.
32817 (__GI_time): Remove strong alias.
32818 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32819 Include <stddef.h>.
32820 (memmove): Redefined to __redirect_memmove.
32821 (__memmove_sse2): Use typeof __redirect_memmove.
32822 (__memmove_ssse3): Likewise.
32823 (__memmove_ssse3_back): Likewise.
32824 (__libc_memmove): New prototype.
32825 (memmove): Renamed to ...
32826 (__libc_memmove): This.
32827 (memmove): New strong alias of __libc_memmove.
32828
33b4a91e
MS
328292012-08-08 Mark Salter <msalter@redhat.com>
32830
32831 * elf/elf.h
32832 (R_MN10300_TLS_GD): Define.
32833 (R_MN10300_TLS_LD): Likewise.
32834 (R_MN10300_TLS_LDO): Likewise.
32835 (R_MN10300_TLS_GOTIE): Likewise.
32836 (R_MN10300_TLS_IE): Likewise.
32837 (R_MN10300_TLS_LE): Likewise.
32838 (R_MN10300_TLS_DTPMOD): Likewise.
32839 (R_MN10300_TLS_DTPOFF): Likewise.
32840 (R_MN10300_TLS_TPOFF): Likewise.
32841 (R_MN10300_SYM_DIFF): Likewise.
32842 (R_MN10300_ALIGN): Likewise.
32843 (R_MN10300_NUM): Update.
32844
b36137f1
JM
328452012-08-08 Joseph Myers <joseph@codesourcery.com>
32846
32847 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32848 Remove.
32849
cdd915fd
RM
328502012-08-08 Roland McGrath <roland@hack.frob.com>
32851
a2433aac
RM
32852 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32853
cdd915fd
RM
32854 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32855 sysdeps/unix -> sysdeps/posix move.
32856 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32857
bf9b740a
AM
328582012-08-07 Allan McRae <allan@archlinux.org>
32859
32860 [BZ #14303]
32861 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32862 (SUNOS_CPP): Likewise.
32863 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32864 not found.
32865 (open_input): Call CPP using execvp.
32866
93df14ee
JM
328672012-08-07 Joseph Myers <joseph@codesourcery.com>
32868
32869 * sysdeps/unix/sysv/linux/kernel-features.h
32870 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32871 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32872 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32873 (__ASSUME_WAITID_SYSCALL): Likewise.
32874 * sysdeps/unix/sysv/linux/dl-execstack.c
32875 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32876 code unconditional.
32877 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32878 conditional code.
32879 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32880 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32881 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32882 code.
32883 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32884 unconditional.
32885 [__ASSUME_WAITID_SYSCALL]: Likewise.
32886 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32887
d34689de
RM
328882012-08-07 Roland McGrath <roland@hack.frob.com>
32889
a281decc
RM
32890 * sysdeps/unix/closedir.c: Renamed to ...
32891 * sysdeps/posix/closedir.c: ... here.
32892 * sysdeps/unix/dirfd.c: Renamed to ...
32893 * sysdeps/posix/dirfd.c: ... here.
32894 * sysdeps/unix/dirstream.h: Renamed to ...
32895 * sysdeps/posix/dirstream.h: ... here.
32896 * sysdeps/unix/fdopendir.c: Renamed to ...
32897 * sysdeps/posix/fdopendir.c: ... here.
32898 * sysdeps/unix/opendir.c: Renamed to ...
32899 * sysdeps/posix/opendir.c: ... here.
32900 * sysdeps/unix/readdir.c: Renamed to ...
32901 * sysdeps/posix/readdir.c: ... here.
32902 * sysdeps/unix/readdir_r.c: Renamed to ...
32903 * sysdeps/posix/readdir_r.c: ... here.
32904 * sysdeps/unix/rewinddir.c: Renamed to ...
32905 * sysdeps/posix/rewinddir.c: ... here.
32906 * sysdeps/unix/seekdir.c: Renamed to ...
32907 * sysdeps/posix/seekdir.c: ... here.
32908 * sysdeps/unix/telldir.c: Renamed to ...
32909 * sysdeps/posix/telldir.c: ... here.
32910 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32911 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32912 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32913 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32914
22895b47
RM
32915 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32916 * bits/fcntl.h: ... here.
32917
707a53b6
RM
32918 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32919 not 0.
32920 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32921 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32922 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32923 (struct flock): Move l_start, l_len to the beginning.
32924 Use __pid_t for l_pid.
32925 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32926 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32927 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32928 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32929 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32930 [__USE_LARGEFILE64] (struct flock64): New type.
32931 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32932
f0bd3e25
RM
32933 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32934 * bits/dirent.h: ... here.
32935
d34689de
RM
32936 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32937 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32938
6dad2c06
JM
329392012-08-07 Joseph Myers <joseph@codesourcery.com>
32940
32941 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32942 Change from 2.6.0 to 2.6.16.
32943 * sysdeps/unix/sysv/linux/configure: Regenerated.
32944 * sysdeps/unix/sysv/linux/kernel-features.h
32945 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32946 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32947 version.
32948 (__ASSUME_UTIMES): Likewise.
32949 (__ASSUME_CLONE_STOPPED): Remove.
32950 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32951 architectures, not kernel version.
32952 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32953 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32954 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32955 (__ASSUME_WAITID_SYSCALL): Likewise.
32956 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32957 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32958 * README: State 2.6.16 as minimum Linux kernel version. Do not
32959 refer to older versions.
32960
03af9520
RM
329612012-08-06 Roland McGrath <roland@hack.frob.com>
32962
8e49df1d
RM
32963 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32964 Define alphasort64 as an alias.
32965 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32966 Define versionsort64 as an alias.
32967 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32968 Define scandir64 as an alias.
32969 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32970 Define scandirat64 as an alias.
32971 * dirent/alphasort64.c (alphasort64):
32972 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32973 * dirent/versionsort64.c: Likewise.
32974 * dirent/scandir64.c: Likewise.
32975 * dirent/scandirat64.c: Likewise.
32976 * sysdeps/wordsize-64/alphasort.c: File removed.
32977 * sysdeps/wordsize-64/alphasort64.c: File removed.
32978 * sysdeps/wordsize-64/scandir.c: File removed.
32979 * sysdeps/wordsize-64/scandir64.c: File removed.
32980 * sysdeps/wordsize-64/scandirat.c: File removed.
32981 * sysdeps/wordsize-64/scandirat64.c: File removed.
32982 * sysdeps/wordsize-64/versionsort.c: File removed.
32983 * sysdeps/wordsize-64/versionsort64.c: File removed.
32984 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32985 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32986 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32988 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32990 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32992
32993 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32995 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32997 [defined __arch64__ || defined __sparcv9]
32998 (__INO_T_MATCHES_INO64_T): New macro.
32999 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33000 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33001 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33002 * sysdeps/unix/sysv/linux/bits/dirent.h
33003 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33004 (_DIRENT_MATCHES_DIRENT64): New macro.
33005
03af9520
RM
33006 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33007 Define lockf64 as an alias.
33008 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33009 Define fseeko64 as an alias.
33010 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33011 Define ftello64 as an alias.
33012 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33013 Define _IO_fgetpos64 and fgetpos64 as aliases.
33014 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33015 Define _IO_fsetpos64 and fsetpos64 as aliases.
33016 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33017 Conditionalize body on this.
33018 * libio/fseeko64.c: Likewise.
33019 * libio/ftello64.c: Likewise.
33020 * libio/iofgetpos64.c: Likewise.
33021 * libio/iofsetpos64.c: Likewise.
33022 * sysdeps/wordsize-64/lockf.c: File removed.
33023 * sysdeps/wordsize-64/lockf64.c: File removed.
33024 * sysdeps/wordsize-64/fseeko.c: File removed.
33025 * sysdeps/wordsize-64/fseeko64.c: File removed.
33026 * sysdeps/wordsize-64/ftello.c: File removed.
33027 * sysdeps/wordsize-64/ftello64.c: File removed.
33028 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33029 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33030 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33031 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33032 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33033 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33034 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33036 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33038 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33039 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33041 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33042
33043 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33045 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33047 [defined __arch64__ || defined __sparcv9]
33048 (__OFF_T_MATCHES_OFF64_T): New macro.
33049 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33050 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33052 (__OFF_T_MATCHES_OFF64_T): New macro.
33053
c5757acd
L
330542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33055
33056 * stdlib/secure-getenv.c (__secure_getenv): Replace
33057 GLIBC_2_16 with GLIBC_2_17.
33058
3a31811e
L
330592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33060
33061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33063
faa2bccb
DM
330642012-08-03 David S. Miller <davem@davemloft.net>
33065
33066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33067
85fe1997
JM
330682012-08-03 Joseph Myers <joseph@codesourcery.com>
33069
33070 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33071 Remove.
33072 (__ASSUME_CORRECT_SI_PID): Likewise.
33073 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33074 (__ASSUME_TMPFS_NAME): Likewise.
33075 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33076 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33077 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33078 (HAVE_AUX_SECURE): Make definition unconditional.
33079 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33080 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33081
4f75b7a0
RM
330822012-08-03 Roland McGrath <roland@hack.frob.com>
33083
33084 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33085 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33086 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33087 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33088 __eloop_threshold instead of SYMLOOP_MAX.
33089
33090 * sysdeps/generic/eloop-threshold.h: New file.
33091 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33092 of MAXSYMLINKS.
33093 * elf/chroot_canon.c (chroot_canon): Likewise.
33094
7aab07e4
JM
330952012-08-03 Joseph Myers <joseph@codesourcery.com>
33096
33097 [BZ #13717]
33098 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33099 Change to 2.6.0 everywhere.
33100 * sysdeps/unix/sysv/linux/configure: Regenerated.
33101 * sysdeps/unix/sysv/linux/kernel-features.h
33102 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33103 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33104 kernel versions.
33105 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33106 (__ASSUME_FUTEX_REQUEUE): Remove.
33107 (__ASSUME_STATFS64): Define unconditionally.
33108 (__ASSUME_AT_SECURE): Likewise.
33109 (__ASSUME_CORRECT_SI_PID): Likewise.
33110 (__ASSUME_TGKILL): Define without depending on kernel version for
33111 i386.
33112 (__ASSUME_UTIMES): Likewise.
33113 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33114 kernel version.
33115 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33116 (__ASSUME_TMPFS_NAME): Likewise.
33117 * README: Update reference to Linux kernel versions.
33118
b67e9372
MP
331192012-08-02 Marek Polacek <polacek@redhat.com>
33120
1f529f7d 33121 [BZ# 14150]
b67e9372
MP
33122 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33123 libc_cv_asm_type_prefix with %.
33124 * configure: Regenerated.
d2441631
RM
33125 * include/libc-symbols.h: Remove comment about
33126 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33127 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33128 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33129 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33130 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33131 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33132 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33133 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33134 * elf/tst-unique2mod1.c: Likewise.
33135 * elf/tst-unique1mod2.c: Likewise.
33136 * elf/tst-unique1mod1.c: Likewise.
33137 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33138 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33139 Replace ASM_TYPE_DIRECTIVE with .type.
33140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33141 * sysdeps/i386/sysdep.h: Likewise.
33142 * sysdeps/x86_64/sysdep.h: Likewise.
33143 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33145 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33146 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33147 * sysdeps/powerpc/powerpc32/sysdep.h:
33148 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33149 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33150 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33151 * sysdeps/i386/fpu/e_powf.S: Likewise.
33152 * sysdeps/i386/fpu/e_expl.S: Likewise.
33153 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33154 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33155 * sysdeps/i386/fpu/e_pow.S: Likewise.
33156 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33157 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33158 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33159 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33160 * sysdeps/i386/fpu/e_log2.S: Likewise.
33161 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33162 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33163 * sysdeps/i386/fpu/e_powl.S: Likewise.
33164 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33165 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33166 * sysdeps/i386/fpu/e_logl.S: Likewise.
33167 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33168 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33169 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33170 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33171 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33172 * sysdeps/i386/fpu/e_log.S: Likewise.
33173 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33174 * sysdeps/i386/fpu/e_logf.S: Likewise.
33175 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33176 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33177 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33178 * sysdeps/i386/fpu/e_log10.S: Likewise.
33179 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33180 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33181 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33182 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33183 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33184 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33185 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33186 * sysdeps/i386/i686/strtok.S: Likewise.
33187 * sysdeps/i386/i386-mcount.S: Likewise.
33188 * sysdeps/i386/strtok.S: Likewise.
33189 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33190 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33191 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33193 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33194 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33195 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33196 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33197 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33198 * sysdeps/x86_64/_mcount.S: Likewise.
33199 * sysdeps/x86_64/strtok.S: Likewise.
33200 * sysdeps/sh/_mcount.S: Likewise.
33201
2747bf9a
RM
332022012-08-01 Roland McGrath <roland@hack.frob.com>
33203
33204 * libio/iofopen.c: Include <fcntl.h>.
33205 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33206 (_IO_fopen64, fopen64): Define as aliases.
33207 * libio/iofopen64.c: Include <fcntl.h>.
33208 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33209 Conditionalize body on this.
33210 * sysdeps/wordsize-64/iofopen.c: File removed.
33211 * sysdeps/wordsize-64/iofopen64.c: File removed.
33212
3fb791b8
MP
332132012-08-01 Marek Polacek <polacek@redhat.com>
33214
33215 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33216 Use dlfcn directly instead of a variable.
33217 (binfmt-subdir): Do not define.
33218 (dlfcn): Likewise.
33219
a9f1039f
JM
332202012-08-01 Joseph Myers <joseph@codesourcery.com>
33221
23bddc06
JM
33222 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33223 Remove all definitions.
33224 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33225 <kernel-features.h>.
33226 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33227 (miss_F_GETOWN_EX): Remove all definitions.
33228 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33229 macro definition.
33230 [!__ASSUME_FCNTL64]: Remove conditional code.
33231 [__ASSUME_FCNTL64]: Make code unconditional.
33232 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33233 <kernel-features.h>.
33234 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33235 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33236 (lockf64) [__NR_fcntl64]: Make code unconditional.
33237 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33238
a9f1039f
JM
33239 * sysdeps/unix/sysv/linux/kernel-features.h
33240 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33241 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33242 Make code unconditional.
33243 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33244 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33246 [__NR_vfork]: Make code unconditional.
33247 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33248 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33250 [__NR_vfork]: Make code unconditional.
33251 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33252 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33253
09c0ee5f
RM
332542012-08-01 Roland McGrath <roland@hack.frob.com>
33255
48aec5b9
RM
33256 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33257 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33258
cd97c966
RM
33259 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33260 Define mkstemp64 as an alias.
3f55550c
RM
33261 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33262 Define mkstemps64 as an alias.
cd97c966
RM
33263 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33264 Define mkostemp64 as an alias.
b8625cfc
RM
33265 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33266 Define mkostemps64 as an alias.
cd97c966
RM
33267 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33268 Conditionalize body on this.
33269 * misc/mkostemp64.c: Likewise.
b8625cfc 33270 * misc/mkostemps64.c: Likewise.
3f55550c 33271 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33272 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33273 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33274 * sysdeps/wordsize-64/mkostemp.c: File removed.
33275 * sysdeps/wordsize-64/mkstemp.c: File removed.
33276 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33277 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33278 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33279 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33280
09c0ee5f
RM
33281 [BZ #14138]
33282 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33283 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33284 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33285 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33286
33287 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33288 compat_symbol macros from <shlib-compat.h> rather than the underlying
33289 default_symbol_version and symbol_version macros, so that DEFAULT
33290 lines in shlib-versions are respected.
33291 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33292
7e66ee51
FW
332932012-08-01 Florian Weimer <fweimer@redhat.com>
33294
33295 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33296 Declare with warn_unused_result.
33297 (setgid, setregid, setegid, setresgid): Likewise.
33298 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33299 Likewise.
33300 * WUR-REPORT: Remove set*id functions.
33301
d2a54255
PT
333022012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33303
33304 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33305
7ecdb005
RM
333062012-07-31 Roland McGrath <roland@hack.frob.com>
33307
b4180a5e 33308 [BZ #10191]
789bd351
RM
33309 * include/sys/socket.h (__libc_accept, __libc_accept4):
33310 Add attribute_hidden.
33311 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33312
40ce302d
RM
33313 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33314 use of PTR_MANGLE.
33315 * inet/getnetgrent_r.c (setup): Likewise.
33316
7ecdb005
RM
33317 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33318
e2eabb2c
DM
333192012-07-31 David S. Miller <davem@davemloft.net>
33320
33321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33322
d0419dbf
JM
333232012-07-31 Joseph Myers <joseph@codesourcery.com>
33324
33325 [BZ #13629]
33326 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33327 value between 1.0 and 2.0 and smaller part has absolute value less
33328 than 1.0.
33329 * math/s_clog10.c (__clog10): Likewise.
33330 * math/s_clog10f.c (__clog10f): Likewise.
33331 * math/s_clog10l.c (__clog10l): Likewise.
33332 * math/s_clogf.c (__clogf): Likewise.
33333 * math/s_clogl.c (__clogl): Likewise.
33334 * math/libm-test.inc (clog_test): Add more tests.
33335 (clog10_test): Likewise.
33336 * sysdeps/i386/fpu/libm-test-ulps: Update.
33337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33338
2bc13872
FW
333392012-07-31 Florian Weimer <fweimer@redhat.com>
33340
33341 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33342 Exit with zero in case no suitable GID is found, and write a
33343 message to standard error.
33344
bea9b193
RM
333452012-07-30 Roland McGrath <roland@hack.frob.com>
33346
33347 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33348 rather than to 1.
33349 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33350 (MAXPATHLEN): Removed.
33351 (NOGROUP, NODEV): New macros.
33352 (setbit, clrbit, isset, isclr): New macros.
33353 (howmany, roundup, powerof2): New macros.
33354 (DEV_BSIZE): New macro.
33355
33356 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33357 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33358
33359 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33360 definition on [!__NO_LONG_DOUBLE_MATH].
33361
33362 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33363 PTR_MANGLE and PTR_DEMANGLE.
33364
33365 * socket/accept4.c (accept4): Rename to __libc_accept4.
33366 Define accept4 as a weak alias.
33367
33368 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33369 on [_DIRENT_HAVE_D_TYPE].
33370 * io/ftw.c (ftw_dir): Likewise.
33371
33372 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33373
33374 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33375
33376 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33377 Use the BSD numbers rather than the arbitrary ones we had.
33378 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33379 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33380 (SIGXCPU, SIGXFSZ): New macros.
33381 (_NSIG): Now 32.
33382
33383 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33384 initializer on [_LIBC_REENTRANT].
33385
33386 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33387 definitions inside [_POSIX_MAPPED_FILES].
33388
33389 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33390
33391 * dirent/opendir.c: Include <fcntl.h>.
33392
33393 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33394 (__libc_getspecific): Likewise.
33395 (__libc_key_create): Likewise.
33396
33397 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33398 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33399 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33400 (tmpfile64): Define as alias.
33401 * sysdeps/wordsize-64/tmpfile.c: File removed.
33402 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33403 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33404 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33405
33406 * stdio-common/vfscanf.c: Include <stdbool.h>.
33407 * nss/makedb.c: Likewise.
33408 * stdio-common/_i18n_number.h: Likewise.
33409 * argp/argp-help.c: Likewise.
33410 * posix/wordexp.c: Likewise.
33411 * sysdeps/posix/spawni.c: Likewise.
33412 * nss/nss_files/files-initgroups.c: Likewise.
33413 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33414 * nss/nss_files/files-initgroups.c: Likewise.
33415 * nss/nss_db/db-netgrp.c: Likewise.
33416 * nss/nss_db/db-initgroups.c: Likewise.
33417 * io/fchmodat.c: Include <sys/stat.h>.
33418
33419 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33420 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33421
33422 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33423 [HAVE_MMAP].
33424
33425 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33426 Add multiple inclusion protection.
33427
e5abc686
DM
334282012-07-27 David S. Miller <davem@davemloft.net>
33429
33430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33431
815e6fa3
GB
334322012-07-27 Gary Benson <gbenson@redhat.com>
33433
33434 [BZ #14298]
33435 * elf/rtld.c: Include <stap-probe.h>.
33436 (dl_main): Added static probes "init_start" and "init_complete".
33437 * elf/dl-load.c: Include <stap-probe.h>.
33438 (lose): Take new parameter "nsid".
33439 Added static probe "map_failed".
33440 (_dl_map_object_from_fd): Pass namespace id to lose.
33441 Added static probe "map_start".
33442 (open_verify): Pass namespace id to lose.
33443 * elf/dl-open.c: Include <stap-probe.h>.
33444 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33445 and "reloc_complete".
33446 * elf/dl-close.c: Include <stap-probe.h>.
33447 (_dl_close_worker): Added static probes "unmap_start" and
33448 "unmap_complete".
33449 * elf/rtld-debugger-interface.txt: New file documenting the above.
33450
9f98c16c
RM
334512012-07-26 Roland McGrath <roland@hack.frob.com>
33452
33453 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33454 rather than a string variable.
33455 * sunrpc/rpc_main.c (h_output): Likewise.
33456 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33457
f3c22df3
PT
334582012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33459
33460 * inet/check_native.c: New file.
33461
3129cfc6
JM
334622012-07-26 Joseph Myers <joseph@codesourcery.com>
33463
da865e95
JM
33464 [BZ #13629]
33465 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33466 if larger part has absolute value 1.0.
33467 * math/s_clog10.c (__clog10): Likewise.
33468 * math/s_clog10f.c (__clog10f): Likewise.
33469 * math/s_clog10l.c (__clog10l): Likewise.
33470 * math/s_clogf.c (__clogf): Likewise.
33471 * math/s_clogl.c (__clogl): Likewise.
33472 * math/libm-test.inc (clog_test): Add more tests.
33473 (clog10_test): Likewise.
33474 * sysdeps/i386/fpu/libm-test-ulps: Update.
33475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33476
3129cfc6
JM
33477 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33478 (pltexit): Likewise.
33479 (La_regs): Likewise.
33480 (La_retval): Likewise.
33481 (int_retval): Likewise.
33482 Update #error for removed macros to refer only to definitions in
33483 tst-audit.h.
33484 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33485 macro.
33486 (pltexit): Likewise.
33487 (La_regs): Likewise.
33488 (La_retval): Likewise.
33489 (int_retval): Likewise.
33490 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33491 macro.
33492 (pltexit): Likewise.
33493 (La_regs): Likewise.
33494 (La_retval): Likewise.
33495 (int_retval): Likewise.
33496 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33497 macro.
33498 (pltexit): Likewise.
33499 (La_regs): Likewise.
33500 (La_retval): Likewise.
33501 (int_retval): Likewise.
33502 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33503 macro.
33504 (pltexit): Likewise.
33505 (La_regs): Likewise.
33506 (La_retval): Likewise.
33507 (int_retval): Likewise.
33508 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33509 macro.
33510 (pltexit): Likewise.
33511 (La_regs): Likewise.
33512 (La_retval): Likewise.
33513 (int_retval): Likewise.
33514 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33515 macro.
33516 (pltexit): Likewise.
33517 (La_regs): Likewise.
33518 (La_retval): Likewise.
33519 (int_retval): Likewise.
33520 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33521 macro definitions in tst-audit.h.
33522 * sysdeps/i386/tst-audit.h: New file.
33523 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33524 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33525 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33526 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33527 * sysdeps/sh/tst-audit.h: Likewise.
33528 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33529 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33530 * sysdeps/x86_64/tst-audit.h: Likewise.
33531
bfc07087
AJ
335322012-07-26 Andreas Jaeger <aj@suse.de>
33533
b1b2aaf8
AJ
33534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33535 ptrace.
33536
33537 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33538 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33539 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33540 PTRACE_O_MASK.
33541 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33542 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33543 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33544
bfc07087
AJ
33545 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33546 value.
33547
33548 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33549 _sigsys.
33550 (si_call_addr, si_syscall, si_arch): Define new macro.
33551 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33552 _sigsys.
33553 (si_call_addr, si_syscall, si_arch): Define new marcro.
33554 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33555 _sigsys.
33556 (si_call_addr, si_syscall, si_arch): Define new macro.
33557 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33558 _sigsys.
33559 (si_call_addr, si_syscall, si_arch): Define new macro.
33560
89b4b02f
JM
335612012-07-25 Joseph Myers <joseph@codesourcery.com>
33562
33563 [BZ #13717]
33564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33565 Change to 2.4.21 where previously 2.4.1.
33566 * sysdeps/unix/sysv/linux/configure: Regenerated.
33567 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33568 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33569 Linux kernel version.
33570 (__ASSUME_STD_AUXV): Remove.
33571 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33572 kernel version.
33573 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33574 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33575 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33576 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33577 (__ASSUME_NETLINK_SUPPORT): Likewise.
33578 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33579 (__no_netlink_support): Remove conditional definition.
33580 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33581 Remove.
33582 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33583 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33584 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33585 (if_nameindex_ioctl): Remove.
33586 (if_nameindex_netlink): Do not handle __no_netlink_support.
33587 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33588 code.
33589 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33590 Remove conditional code.
33591 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33592 code.
33593 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33594 unconditional.
33595 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33596 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33597 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33598 Remove.
33599 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33600 [!__ASSUME_STD_AUXV]: Remove conditional code.
33601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33602 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33603 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33605 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33606 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33607 code.
33608 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33610 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33611 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33612 conditional code.
33613 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33615 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33616 code.
33617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33618 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33619 conditional code.
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33621 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33622 code unconditional.
33623 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33624 conditional code.
33625 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33626 unconditional.
33627 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33628 conditional code.
33629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33630 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33631 unconditional.
33632 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33633 conditional code.
33634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33635 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33636 code unconditional.
33637 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33638 conditional code.
33639 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33640 unconditional.
33641 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33642 conditional code.
33643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33644 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33645 code unconditional.
33646 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33647 conditional code.
33648 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33649 unconditional.
33650 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33651 conditional code.
33652
842a39cd
AS
336532012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33654
33655 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33656 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33657 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33658 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33659 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33660 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33661 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33662 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33663 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33664 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33665 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33666 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33667 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33668 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33669 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33670 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33671 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33672 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33673 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33675 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33676 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33677 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33678
84b3fd84
FW
336792012-07-25 Florian Weimer <fweimer@redhat.com>
33680
33681 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33682 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33683 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33684 Introduce __libc_secure_getenv.
0c7936d5
FW
33685 * stdlib/Versions (2.17): Add secure_getenv
33686 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33687 * stdlib/secure-getenv.c: Rename __secure_getenv to
33688 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33689 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33690 * stdlib/tst-secure-getenv.c: New.
33691 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33692 * manual/startup.texi (Environment Access): Document
33693 secure_getenv.
84b3fd84
FW
33694 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33695 __libc_secure_getenv.
33696 * inet/ruserpass.c (ruserpass): Likewise.
33697 * malloc/mtrace.c (mtrace): Likewise.
33698 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33699 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33700 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33701 * sysdeps/posix/tempname.c: Likewise. Evaluate
33702 HAVE_SECURE_GETENV.
33703 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33704 __secure_getenv to __libc_secure_getenv.
84b3fd84 33705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33707 Likewise.
33708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33709 Likewise.
33710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33717
56e49b71
JM
337182012-07-25 Joseph Myers <joseph@codesourcery.com>
33719
33720 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33721 (struct La_i86_retval): Likewise.
33722 (struct La_x86_64_regs): Likewise.
33723 (struct La_x86_64_retval): Likewise.
33724 (struct La_x32_regs): Likewise.
33725 (struct La_x32_retval): Likewise.
33726 (struct La_ppc32_regs): Likewise.
33727 (struct La_ppc32_retval): Likewise.
33728 (struct La_ppc64_regs): Likewise.
33729 (struct La_ppc64_retval): Likewise.
33730 (struct La_sh_regs): Likewise.
33731 (struct La_sh_retval): Likewise.
33732 (struct La_s390_32_regs): Likewise.
33733 (struct La_s390_32_retval): Likewise.
33734 (struct La_s390_64_regs): Likewise.
33735 (struct La_s390_64_retval): Likewise.
33736 (struct La_sparc32_regs): Likewise.
33737 (struct La_sparc32_retval): Likewise.
33738 (struct La_sparc64_regs): Likewise.
33739 (struct La_sparc64_retval): Likewise.
33740 (struct audit_ifaces): Remove architecture-specific pltenter and
33741 pltexit members.
33742 * sysdeps/i386/ldsodefs.h: New file.
33743 * sysdeps/powerpc/ldsodefs.h: Likewise.
33744 * sysdeps/s390/ldsodefs.h: Likewise.
33745 * sysdeps/sh/ldsodefs.h: Likewise.
33746 * sysdeps/sparc/ldsodefs.h: Likewise.
33747 * sysdeps/x86_64/ldsodefs.h: Likewise.
33748
354691b7
MP
337492012-07-25 Marek Polacek <polacek@redhat.com>
33750
33751 [BZ #6808]
33752 * math/libm-test.inc (yn_test): Add another test.
33753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33754 to ERANGE when the result is +-Inf.
33755 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33756 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33757 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33758 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33759
bf9e2071
JM
337602012-07-24 Joseph Myers <joseph@codesourcery.com>
33761
33762 * conform/data/time.h-data (NULL): Use macro-constant. Require
33763 equal to 0.
33764 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33765 clock_t.
33766 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33767
57633811
TS
337682012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33769
33770 * configure.in <sysdeps resolving>: Correct printing
33771 Implies_before.
33772 * configure: Regenerate.
33773
c23c33b0
TS
337742012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33775
33776 * math/w_ilogb.c: Include <limits.h>.
33777 * math/w_ilogbl.c: Likewise.
33778
b5982523
JM
337792012-07-20 Joseph Myers <joseph@codesourcery.com>
33780
33781 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33782 va_copy. Document allowing for unavailable va_copy only as
33783 pre-C99 compatibility.
33784 * manual/string.texi (Copying and Concatenation): Use va_copy
33785 instead of __va_copy in concat example.
33786
ac4ea442
PT
337872012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33788
33789 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33790 (__sendto): Use create_address_port. Initialize APORT and deallocate
33791 it if not null.
33792
f98eafbd
PT
33793 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33794 with O_NOLINK passed to __file_name_lookup.
33795
898c7aab
PT
33796 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33797 with O_NOLINK passed to __file_name_lookup.
33798
0ced335a
PT
33799 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33800 negative N or less than NGIDS.
33801
b3404dbd
PT
33802 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33803 type to string_t. Set ERANGE as errno and return it if NAME is not big
33804 enough. Use memcpy instead of strncpy.
33805
0f48659e
JM
338062012-07-20 Joseph Myers <joseph@codesourcery.com>
33807
33808 * elf/Makefile (check-data): Remove.
33809 (localplt.data): New vpath directive.
33810 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33811 instead of $(check-data).
33812 * scripts/data/localplt-generic.data: Move to ...
33813 * sysdeps/generic/localplt.data: ... here.
33814 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33815 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33816 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33818 ... here.
33819 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33821 ... here.
33822 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33824 ... here.
33825 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33827 ... here.
33828 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33830 ... here.
33831 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33833 ... here.
33834
d37cbdaa
AZ
338352012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33836
33837 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33838 PPC32 and PPC64 files.
33839 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33840 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33841
46f85fc2
AK
338422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33843
33844 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33845 __makecontext_ret to ...
33846 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33847 ... here and call exit if uc_link is NULL. New file.
33848 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33849 __makecontext_ret.S.
33850 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33851 __makecontext_ret to ...
33852 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33853 ... here and call exit if uc_link is NULL. New file.
33854 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33855 __makecontext_ret.S.
33856
08f43f9b
AK
338572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33858
33859 * elf/elf.h (R_390_IRELATIVE): New definition.
33860 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33861 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33862 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33863 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33864 (elf_machine_lazy_rel): Likewise.
33865 * sysdeps/s390/dl-irel.h: New file.
33866 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33867 * sysdeps/s390/s390-64/memset.S: New asm code.
33868 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33869 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33870 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33871 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33872 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33873 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33875 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33876 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33877 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33878 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33879 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33880 * sysdeps/s390/s390-32/memset.S: New asm code.
33881 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33882
3b05db33
MP
338832012-07-17 Marek Polacek <polacek@redhat.com>
33884
33885 [BZ #14349]
33886 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33887 * sysdeps/s390/s390-64/configure.in: Likewise.
33888 * sysdeps/sparc/configure.in: Likewise.
33889 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33890 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33891 * sysdeps/i386/configure.in: Likewise.
33892 * sysdeps/x86_64/configure.in: Likewise.
33893 * sysdeps/sh/configure.in: Likewise.
33894 * sysdeps/s390/s390-32/configure: Regenerated.
33895 * sysdeps/s390/s390-64/configure: Likewise.
33896 * sysdeps/x86_64/configure: Likewise.
33897 * sysdeps/sh/configure: Likewise.
33898 * sysdeps/powerpc/powerpc64/configure: Likewise.
33899 * sysdeps/powerpc/powerpc32/configure: Likewise.
33900 * sysdeps/sparc/configure: Likwise.
33901 * sysdeps/i386/configure: Likewise.
33902
a66877c6
MP
33903 * elf/dl-open.c: Comment fixes.
33904
cfc82fd8
JM
339052012-07-17 Joseph Myers <joseph@codesourcery.com>
33906
bd29910a
JM
33907 * Makefile [CXX] (check-data): Remove.
33908 [CXX] (c++-types.data): New vpath directive.
33909 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33910 vpath. Do not allow for C++ type data being missing.
33911 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33912 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33913 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33914 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33915 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33916 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33917 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33919 ... here.
33920 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33922 ... here.
33923 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33925 ... here.
33926 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33928 ... here.
33929 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33931 ... here.
33932 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33934 ... here.
33935 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33937 ... here.
33938 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33940
cfc82fd8
JM
33941 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33942 definitions to architecture-specific files.
33943 (TLS_IE): Likewise.
33944 (TLS_LD): Likewise.
33945 (TLS_GD): Likewise.
33946 * sysdeps/i386/tls-macros.h: New file.
33947 * sysdeps/powerpc/tls-macros.h: Likewise.
33948 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33949 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33950 * sysdeps/sh/tls-macros.h: Likewise.
33951 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33952 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33953 * sysdeps/x86_64/tls-macros.h: Likewise.
33954
f7db3170
TS
339552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33956
07cbfc23
TS
33957 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33958 zero value for regular exit case.
33959
f7db3170
TS
33960 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33961 (__start_context): Preserve zero value for regular exit case.
33962
dc97c227
TS
339632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33964 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33965
33966 * manual/setjmp.texi (setcontext): Clarify normal process
33967 termination when uc_link is the null pointer.
33968 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33969 exit call.
33970
d0cd7d02
AS
339712012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33972
33973 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33974 preprocessor. Test for each exception mask separately.
33975
dd318934
AJ
339762012-07-16 Andreas Jaeger <aj@suse.de>
33977
33978 * po/ru.po: Update from translation team.
33979
8048311a
JM
339802012-07-15 Joseph Myers <joseph@codesourcery.com>
33981
33982 * conform/data/string.h-data (NULL): Use macro-constant. Require
33983 equal to 0.
33984 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33985 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33986 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33987 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33989
b637d46e
AJ
339902012-07-13 Andreas Jaeger <aj@suse.de>
33991
33992 * po/fr.po: Update from translation team.
33993
541428fe
MP
339942012-07-12 Marek Polacek <polacek@redhat.com>
33995
33996 [BZ #14173]
33997 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33998 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33999 loop condition.
34000
ec332e94
JM
340012012-07-12 Joseph Myers <joseph@codesourcery.com>
34002
34003 [BZ #13717]
34004 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34005 Change to 2.4.1 where previously 2.4.0.
34006 * sysdeps/unix/sysv/linux/configure: Regenerated.
34007 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34008 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34009 version.
34010 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34011 (__ASSUME_AT_CLKTCK): Remove.
34012 (__ASSUME_AT_PAGESIZE): Likewise.
34013 (__ASSUME_AT_XID): Likewise.
34014 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34015 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34016 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34017 unconditionally.
34018 (HAVE_AUX_PAGESIZE): Likewise.
34019 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34020 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34021 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34022
7b6e99be
JB
340232012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34024
34025 [BZ #14307]
34026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34027 the temporary buffer used to invoke __gethostbyname2_r,
34028 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34029 host_data / struct gaih_addrtuple.
34030 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34031 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34032 header file nss/nsswitch.h.
34033 * nss/nsswitch.h (global scope): Add definition of implementation
34034 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34035 resolv/nss_dns/dns-host.c).
34036
608404eb
AJ
340372012-07-11 Andreas Jaeger <aj@suse.de>
34038
34039 * po/fr.po: Update from translation team.
34040
71220aca
AJ
34041 * po/sv.po: Update from translation team
34042 * po/fr.po: Another update from translation team.
34043
28cfe843
AZ
340442012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34045
34046 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34047 for subnormals or multiply small sinh result by itself.
34048 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34050
6b90f981
DM
340512012-07-11 David S. Miller <davem@davemloft.net>
34052
34053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34054
c6825772
AS
340552012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34056
34057 [BZ #14347]
34058 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34059 (INTERNAL_MARK): Shift it here.
34060
7b8e0d49
MP
340612012-07-10 Marek Polacek <polacek@redhat.com>
34062
34063 [BZ #14151]
34064 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34065 libc_cv_asm_global_directive with .globl.
34066 * configure: Regenerated.
34067 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34068 with .globl.
34069 * sysdeps/i386/configure: Regenerated.
34070 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34071 with .globl.
34072 * sysdeps/x86_64/configure: Regenerated.
34073 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34074 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34075 * elf/tst-unique2mod2.c: Likewise.
34076 * elf/tst-unique2mod1.c: Likewise.
34077 * elf/tst-unique1mod2.c: Likewise.
34078 * elf/tst-unique1mod1.c: Likewise.
34079 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34080 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34082 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34083 * sysdeps/mach/sysdep.h: Likewise.
34084 * sysdeps/i386/sysdep.h: Likewise.
34085 * sysdeps/i386/i386-mcount.S: Likewise.
34086 * sysdeps/x86_64/_mcount.S: Likewise.
34087 * sysdeps/x86_64/sysdep.h: Likewise.
34088 * sysdeps/sh/_mcount.S: Likewise.
34089 * sysdeps/sh/sysdep.h: Likewise.
34090 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34091 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34092 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34093 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34094 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34095 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34096 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34097 * locale/localeinfo.h: Likewise.
34098 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34099 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34100
6c55cda3
RM
341012012-07-09 Roland McGrath <roland@hack.frob.com>
34102
34103 [BZ #14336]
34104 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34105 system".
34106 * manual/message.texi (The Uniforum approach): Likewise.
34107 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34108 (glibc iconv Implementation): Likewise.
34109
638a572e
JM
341102012-07-09 Joseph Myers <joseph@codesourcery.com>
34111
34112 [BZ #14337]
34113 * math/s_clog.c (__clog): Avoid scaling a value down where that
34114 could result in underflow.
34115 * math/s_clog10.c (__clog10): Likewise.
34116 * math/s_clog10f.c (__clog10f): Likewise.
34117 * math/s_clog10l.c (__clog10l): Likewise.
34118 * math/s_clogf.c (__clogf): Likewise.
34119 * math/s_clogl.c (__clogl): Likewise.
34120 * math/libm-test.inc (clog_test): Add more tests.
34121 (clog10_test): Likewise.
34122 * sysdeps/i386/fpu/libm-test-ulps: Update.
34123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34124
261f4859
AS
341252012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34126
0abaf3e4
AS
34127 [BZ #14283]
34128 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34129 by 7 not 8 to examine high bit of fractional part.
34130
261f4859
AS
34131 [BZ #14042]
34132 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34133 for call to __mcount_internal.
34134 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34135 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34136 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34137
f17ac40d
JM
341382012-07-06 Joseph Myers <joseph@codesourcery.com>
34139
9ad63c23
JM
34140 [BZ #14154]
34141 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34142 approximation for values within 0x1p-13f of an odd multiple of
34143 pi/4.
34144 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34145 exception. Add more tests.
34146 * sysdeps/i386/fpu/libm-test-ulps: Update.
34147
f17ac40d
JM
34148 [BZ #6778]
34149 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34150 inputs and return -1 for them. Do not check for +Inf in case not
34151 reachable for +Inf.
34152 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34153 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34154 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34155 and return -1 for them. Do not check for +Inf in case not
34156 reachable for +Inf.
34157 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34158 define.
34159 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34160 and return -1 for them. Do not check for +Inf in case not
34161 reachable for +Inf.
34162 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34163 spurious underflow.
34164 * sysdeps/i386/fpu/libm-test-ulps: Update.
34165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34166
fb21f89b
MF
341672012-07-06 Mike Frysinger <vapier@gentoo.org>
34168
34169 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34170
cdfe2c5e
JM
341712012-07-05 Joseph Myers <joseph@codesourcery.com>
34172
34173 [BZ #14157]
34174 [BZ #14331]
34175 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34176 could result in spurious underflow. Scale down values above
34177 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34178 * math/s_csqrtf.c (__csqrtf): Likewise.
34179 * math/s_csqrtl.c (__csqrtl): Likewise.
34180 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34181 spurious underflow.
34182 * sysdeps/i386/fpu/libm-test-ulps: Update.
34183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34184
70d35b67
AS
341852012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34186
704bc459
AS
34187 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34188 xopen-msg.sed.
34189 * catgets/xopen-msg.awk: New file.
34190 * catgets/xopen-msg.sed: Removed.
34191
70d35b67
AS
34192 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34193 po2text.sed.
34194 * intl/po2test.awk: New file.
34195 * intl/po2test.sed: Removed.
34196
ca61cf32
JM
341972012-07-04 Joseph Myers <joseph@codesourcery.com>
34198
34199 [BZ #14328]
34200 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34201 or multiply small sinh result by itself.
34202 * math/s_ctanf.c (__ctanf): Likewise.
34203 * math/s_ctanh.c (__ctanh): Likewise.
34204 * math/s_ctanhf.c (__ctanhf): Likewise.
34205 * math/s_ctanhl.c (__ctanhl): Likewise.
34206 * math/s_ctanl.c (__ctanl): Likewise.
34207 * math/libm-test.inc (ctan_test_tonearest): New function.
34208 (ctan_test_towardzero): Likewise.
34209 (ctan_test_downward): Likewise.
34210 (ctan_test_upward): Likewise.
34211 (ctanh_test_tonearest): Likewise.
34212 (ctanh_test_towardzero): Likewise.
34213 (ctanh_test_downward): Likewise.
34214 (ctanh_test_upward): Likewise.
34215 (main): Call these new functions.
34216 * sysdeps/i386/fpu/libm-test-ulps: Update.
34217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34218
ca48a46a
MF
342192012-07-03 Mike Frysinger <vapier@gentoo.org>
34220
34221 * .gitignore: Delete /ports entry.
34222
9d63d37d
AJ
342232012-07-03 Andreas Jaeger <aj@suse.de>
34224
34225 * po/bg.po: Update from translation team.
34226 * po/cs.po: Likewise.
34227 * po/de.po: Likewise.
34228 * po/hr.po: Likewise.
34229 * po/nl.pl: Likewise.
34230 * po/pl.po: Likewise.
34231 * po/vi.po: Likewise.
34232
370ca3d2
JM
342332012-07-03 Joseph Myers <joseph@codesourcery.com>
34234
95f5a9a8
JM
34235 * Makeconfig [!+link] (+link-before-libc): New variable.
34236 [!+link] (+link-after-libc): Likewise.
34237 [!+link] (+link-tests): Likewise.
34238 [!+link] (+link): Define in terms of $(+link-before-libc) and
34239 $(+link-after-libc).
34240 [!+link-static] (+link-static-before-libc): New variable.
34241 [!+link-static] (+link-static-after-libc): Likewise.
34242 [!+link-static] (+link-static-tests): Likewise.
34243 [!+link-static] (+link-static): Define in terms of
34244 $(+link-static-before-libc) and $(+link-static-after-libc).
34245 [build-shared] (link-libc-before-gnulib): New variable.
34246 [build-shared] (link-libc-tests): Likewise.
34247 [build-shared] (link-libc): Define in terms of
34248 $(link-libc-before-gnulib).
34249 [!build-shared] (link-libc-tests): New variable.
34250 (link-libc-static-tests): New variable.
34251 [!gnulib] (gnulib-arch): New variable.
34252 [!gnulib] (gnulib-tests): Likewise.
34253 [!gnulib] (static-gnulib-arch): Likewise.
34254 [!gnulib] (static-gnulib-tests): Likewise.
34255 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34256 Define with "=" instead of ":=".
34257 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34258 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34259 * Rules (binaries-all-notests): New variable.
34260 (binaries-all-tests): Likewise.
34261 (binaries-static-notests): Likewise.
34262 (binaries-static-tests): Likewise.
34263 (binaries-all): Define using $(binaries-all-notests) and
34264 $(binaries-all-tests).
34265 (binaries-static): Define using $(binaries-static-notests) and
34266 $(binaries-static-tests).
34267 (binaries-shared-tests): New variable.
34268 (binaries-shared-notests): Likewise.
34269 (binaries-shared): Remove variable.
34270 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34271 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34272 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34273 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34274 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34275 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34276 * elf/Makefile (sln-modules): New variable.
34277 (extra-objs): Add $(sln-modules:=.o).
34278 (ldconfig-modules): Add static-stubs.
34279 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34280 * elf/static-stubs.c: New file.
34281
7a845b2c
JM
34282 [BZ #14283]
34283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34284 by 7 not 8 to examine high bit of fractional part. Use volatile
34285 variables when splitting into final array of floats if
34286 __FLT_EVAL_METHOD__ != 0.
34287 * math/libm-test.inc (cos_test): Add another test.
34288 (sin_test): Likewise.
34289 * sysdeps/i386/fpu/libm-test-ulps: Update.
34290
e2283f38
JM
34291 [BZ #14273]
34292 * math/libm-test.inc (cosh_test): Add more tests.
34293
370ca3d2
JM
34294 * version.h (RELEASE): Set to "development".
34295 (VERSION): Set to "2.16.90".
34296
ee9247c3
CD
342972012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34298
34299 * NEWS: Update copyright. Remove last-updated date.
34300 Mention math library bug fixes and timezone data changes.
34301 * README: Mention GNU/Hurd, x32, and HPPA support status.
34302
4648c381
TS
343032012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34304
34305 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34306
aac78a43
AJ
343072012-06-27 Andreas Jaeger <aj@suse.de>
34308
34309 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34310
ed3dbfad
AJ
343112012-06-25 Andreas Jaeger <aj@suse.de>
34312
34313 * sysdeps/s390/fpu/libm-test-ulps: Update.
34314
4d0ee855
AS
343152012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34316 Thomas Schwinge <thomas@codesourcery.com>
34317
34318 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34319 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34320 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34321 fanotify_mark.
34322
af1bce34
TS
343232012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34324
a9fa33ba
TS
34325 * sysdeps/mach/start.c: Remove file.
34326 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34327 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34328 * sysdeps/sh/init-first.c: Likewise.
34329
58f902b8
TS
34330 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34331 registers for frame unwinding purposes, add CFI directives.
34332 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34333 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34334 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34335 Likewise.
34336
1518f58b
TS
34337 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34338 __fortify_fail returning.
34339 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34340
db9b5059
TS
34341 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34342 sysdeps/sh/____longjmp_chk.S.
34343 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34344 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34345 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34346 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34347
967705fe
TS
34348 * sysdeps/sh/abort-instr.h: New file.
34349 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34350 process in case exit returns.
34351
a9def8c4
TS
34352 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34353 initialize the GOT register before use.
34354
2a649725
TS
34355 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34356 calculation of ARGC > 4.
34357
af1bce34
TS
34358 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34359 meaningful names to some local labels.
34360
d230f50a
KK
343612012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34362 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34363
34364 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34365 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34366 (__arch_compare_and_exchange_val_16_acq): Likewise.
34367 (__arch_compare_and_exchange_val_32_acq): Likewise.
34368 (atomic_exchange_and_add): Fix gUSA sequence.
34369 (atomic_add): Likewise.
34370 (atomic_add_negative): Likewise.
34371 (atomic_add_zero): Likewise.
34372 (atomic_bit_test_set): Likewise.
34373
0479b305
AS
343742012-06-22 Andreas Schwab <schwab@redhat.com>
34375
34376 [BZ #13579]
34377 * include/link.h (struct link_map): Add l_free_initfini.
34378 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34379 l_initfini.
34380 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34381 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34382 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34383 set.
34384
0e3933b9
CD
343852012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34386
34387 * configure.in: Use AC_LANG_SOURCE.
34388 * configure: Regenerate.
34389
4248b1b1
RM
343902012-06-22 Roland McGrath <roland@hack.frob.com>
34391
34392 * configure.in (libc_cv_localstatedir): New substituted variable.
34393 * configure: Regenerated.
34394 * config.make.in (localstatedir): New variable, substituted from
34395 libc_cv_localstatedir.
34396 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34397 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34398 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34399 * sysdeps/gnu/configure: Regenerated.
34400
006dd861
JL
344012012-06-21 Jeff Law <law@redhat.com>
34402
34403 [BZ #14277]
34404 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34405 free. Simplify list management for _LIBC case.
34406
79662d42
JM
344072012-06-21 Joseph Myers <joseph@codesourcery.com>
34408
b7abb4bf
JM
34409 [BZ #14273]
34410 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34411 Clear sign bit of 64-bit integer value before comparing against
34412 overflow value.
34413
79662d42
JM
34414 * sysdeps/mach/configure: Regenerated.
34415
1f150908
L
344162012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34417
34418 [BZ #14278]
34419 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34420
28363bbf
JL
344212012-06-21 Jeff Law <law@redhat.com>
34422
34423 [BZ #13882]
34424 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34425 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34426 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34427 * elf/dl-open.c (dl_open_worker): Likewise.
34428
09615db4
CD
344292012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34430
34431 * scripts/list-sources.sh: Scan PORTS for translations.
34432 * po/libc.pot: Regenerated.
34433
2174c6dd
AJ
344342012-06-21 Andreas Jaeger <aj@suse.de>
34435
34436 [BZ #12194]
34437 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34438 warning.
34439 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34440 * bits/byteswap-16.h (__bswap_16): Likewise.
34441 * bits/byteswap.h (__bswap_constant_16): Likewise.
34442
3ee947b1
L
344432012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34444
34445 [BZ #14117]
a2f34833
L
34446 * sysdeps/i386/fpu_control.h: Removed.
34447 * sysdeps/x86_64/fpu_control.h: Moved to ...
34448 * sysdeps/x86/fpu_control.h: Here.
34449
3ee947b1
L
34450 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34451 (_FPU_SETCW): Likewise.
34452
ed1825f8
L
344532012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34454
25f1282a
L
34455 [BZ #14117]
34456 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34457 * sysdeps/x86/fpu/bits/mathinline.h: This.
34458 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34459
ed1825f8
L
34460 [BZ #14050]
34461 [BZ #14117]
34462 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34463 functions if __x86_64__ is defined.
34464
36d54b74
CLT
344652012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34466
34467 * string/endian.h: Add !__ASSEMBLER__ condition for including
34468 conversion interfaces.
34469
10285c21
JM
344702012-06-15 Joseph Myers <joseph@codesourcery.com>
34471
34472 [BZ #14241]
34473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34474 of ABS(x) in calculating zero to negative powers other than odd
34475 integers.
34476 * math/libm-test.inc (pow_test): Add more tests.
34477
06c5abbd
AJ
344782012-06-15 Andreas Jaeger <aj@suse.de>
34479
34480 * manual/contrib.texi (Contributors): Update entry of Liubov
34481 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34482 Machado Filho.
34483
a3aeac40
CH
344842012-06-15 Cyril Hrubis <metan@ucw.cz>
34485
34486 * string/string.h: Add __wur to GNU version of strerror_r.
34487
49bdf4c1
L
344882012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34489
34490 [BZ #14229]
34491 * string/Makefile (tests): Add tst-strtok_r.
34492 * string/tst-strtok_r.c: New file.
34493 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34494 RAX_LP/RDX_LP on SAVE_PTR.
34495
834f9b8d
RM
344962012-06-14 Roland McGrath <roland@hack.frob.com>
34497
34498 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34499
75fa1921
JM
345002012-06-14 Joseph Myers <joseph@codesourcery.com>
34501
34502 * libm_test.inc (csqrt_test): Allow more spurious underflow
34503 exceptions.
34504 (j0_test): Likewise.
34505 (j1_test): Likewise.
34506 (y0_test): Likewise.
34507 (y1_test): Likewise.
34508
771766df
CD
345092012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34510
34511 * po/Makefile (libc.pot): Use UTF-8 charset.
34512
ceb9e56b
PP
345132012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34514
34515 [BZ #14210]
34516 Suppress sign-conversion warning from FD_SET.
34517 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34518 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34519 not unsigned long int.
34520 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34521
ddb28975
L
345222012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34523
34524 [BZ #14050]
34525 [BZ #14117]
34526 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34527 __extern_always_inline instead of __extern_inline.
34528 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34529 (__signbit): Likewise.
34530 (__signbitl): Support C++ namespace.
34531 (lrintf): New inline function.
34532 (lrint): Likewise.
34533 (llrintf): Likewise.
34534 (llrint): Likewise.
34535 (fmaxf): Likewise.
34536 (fmax): Likewise.
34537 (fminf): Likewise.
34538 (fmin): Likewise.
34539 (rint): Likewise.
34540 (rintf): Likewise.
34541 (ceil): Likewise.
34542 (ceilf): Likewise.
34543 (floor): Likewise.
34544 (floorf): Likewise.
34545 (nearbyint): Likewise.
34546 (nearbyintf): Likewise.
34547
d7b4fb26
TS
345482012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34549
34550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34551 non-default versions.
34552
eb55f5c2
RM
345532012-06-11 Roland McGrath <roland@hack.frob.com>
34554
34555 [BZ #14218]
34556 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34557
366af02c
TS
345582012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34559
99ff6e5c
TS
34560 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34561 (FE_UPWARD, FE_DOWNWARD): Don't define.
34562 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34563 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34564
366af02c
TS
34565 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34566 reading it.
34567 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34568 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34569
793ea851
KK
345702012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34571
34572 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34574 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34575 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34576
a728a38f
L
345772012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34578
34579 [BZ #14117]
c08010c7
L
34580 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34581 * sysdeps/i386/fpu/Implies: New file.
34582 * sysdeps/x86_64/fpu/Implies: Likewise.
34583 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34584 * sysdeps/x86/fpu/bits/fenv.h: This.
34585
a728a38f
L
34586 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34587 __SSE_MATH__.
34588
6e230d11
SP
345892012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34590
34591 [BZ #14134]
34592 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34593 character 0xffff that matches the last element of the
34594 conversion table.
34595
1b671feb
AZ
345962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34597
34598 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34599 fmodl commit.
34600
6043738b
AZ
346012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34602
34603 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34604 values higher than 25.6283.
34605
34ae0b32
AZ
346062012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34607
34608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34609 subnormal exponent extraction and add some __builtin_expect.
34610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34611 Fix for subnormal mantissa calculation.
34612
1214ec8f
MF
346132012-06-04 Mike Frysinger <vapier@gentoo.org>
34614
34615 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34616 cpu2 is -1 and errno is not ENOSYS.
34617
f3d1f93c
L
346182012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34619
34620 [BZ #14117]
0e4a3cd7
L
34621 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34622 * sysdeps/x86/bits/string.h: This.
34623 * sysdeps/x86_64/bits/string.h: Removed.
34624
6704c645
L
34625 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34626 if not compiling for x86-64, but compiling for >= i486.
34627
48495318
L
34628 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34629 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34630
14adcbfc
L
34631 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34632 New macro from Linux kernel 3.4.0.
34633 (FP_XSTATE_MAGIC2): Likewise.
34634 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34635 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34636 (struct _fpx_sw_bytes): New struct.
34637 (struct _xsave_hdr): Likewise.
34638 (struct _ymmh_state): Likewise.
34639 (struct _xstate): Likewise.
34640
68e408ab
L
34641 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34642 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34644 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34645 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34646 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34647
f3d1f93c
L
34648 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34649 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34650 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34651 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34652 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34653 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34654
d9dc34cd
TMQMF
346552012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34656
34657 [BZ #13743]
34658 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34659 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34660 (sysdep_headers): Include sys/platform/ppc.h.
34661 * sysdeps/powerpc/test-gettimebase.c: Test for
34662 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34663 * manual/Makefile (appendices): Include platform.texi.
34664 * manual/contrib.texi (Contributors): Update @node pointers.
34665 * manual/maint.texi (Maintenance): Likewise.
34666 (Platform): New node.
34667 * manual/platform.texi: New file. Document the new features.
34668
4af3879c
SP
346692012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34670 Jakub Jelinek <jakub@redhat.com>
34671
34672 [BZ #14188]
34673 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34674 where __builtin_expect is unavailable.
34675
2fd6ff13
DM
346762012-06-03 David S. Miller <davem@davemloft.net>
34677
34678 * stdlib/longlong.h: Updated from GCC.
34679
173f7220
AS
346802012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34681
34682 [BZ #14042]
34683 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34684 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34685 __mcount_internal.
34686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34687 (GLIBC_2.16): Likewise.
34688
f34a1c6f
L
346892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34690
34691 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34692
88a4576f
JM
346932012-06-01 Joseph Myers <joseph@codesourcery.com>
34694
ea32bcdd
JM
34695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34696 (default-abi): New variable.
34697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34698 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34699 variable.
34700 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34701 Likewise.
34702 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34703 Likewise.
34704 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34705 Likewise.
34706
88a4576f
JM
34707 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34708 definition. Document in comment.
34709
402fe938
DM
347102012-06-01 David S. Miller <davem@davemloft.net>
34711
34712 * stdlib/longlong.h: Updated from GCC.
34713
3553723f
L
347142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34715
34716 [BZ #14117]
3bd872c4
L
34717 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34718 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34719 sys/debugreg.h sys/io.h here.
34720 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34721 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34722 sys/io.h.
34723 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34724 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34725 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34726 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34727 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34728 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34729
3553723f
L
34730 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34731 Define only if __x86_64__ is defined.
34732
4842e4fe
JM
347332012-06-01 Joseph Myers <joseph@codesourcery.com>
34734
c5bfe3d5
JM
34735 [BZ #14048]
34736 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34737 Use int64_t for variable i.
34738 * math/libm-test.inc (fmod_test): Add more tests.
34739
4842e4fe
JM
34740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34741 z computation is not scheduled after fetestexcept.
34742 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34743 Use math_force_eval instead of asm to ensure calculation scheduled
34744 before exception test.
34745 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34746 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34747
efb73488
AJ
347482012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34749
34750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34751 computation is not scheduled after fetestexcept.
34752
29bcce7c
L
347532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34754
34755 [BZ #14117]
34756 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34757 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34758
73a68f94
AZ
347592012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34760
34761 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34762 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34763
67b6df78
L
347642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34765
edf2933a 34766 [BZ #14117]
ebc64a18
L
34767 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34768 <bits/wordsize.h>.
34769 (__WCHAR_MIN): Support __WORDSIZE == 64.
34770 (__WCHAR_MAX): Likewise.
34771
edf2933a
L
34772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34773 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34774
57c6cf40
L
34775 [BZ #14183]
34776 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34777 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34778
67b6df78 34779 [BZ #14117]
8eb6281e
L
34780 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34781 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34782
aac639f4
L
34783 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34784 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34785
67b6df78
L
34786 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34787 Defined to 1 if __x86_64__ isn't defined.
34788 (_STAT_VER_LINUX_OLD): New.
34789 (st_atime): Remove duplicate.
34790 (st_mtime): Likewise.
34791 (st_ctime): Likewise.
34792
1c2cfe81
DM
347932012-05-31 David S. Miller <davem@davemloft.net>
34794
34795 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34796 entries.
34797
5be8418c
AS
347982012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34799
e7725326
AS
34800 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34801 gen-libm-test.pl.
34802
5be8418c
AS
34803 [BZ #14132]
34804 * elf/dl-reloc.c: Include <_itoa.h>.
34805 (_dl_reloc_bad_type): Remove use of INTUSE.
34806 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34807 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34808 * stdio-common/psiginfo.c (psiginfo): Likewise.
34809 * stdio-common/psignal.c (psignal): Likewise.
34810 * string/strsignal.c (strsignal): Likewise.
34811 * include/signal.h (_sys_siglist): Declare hidden proto.
34812 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34813 INTVARDEF with libc_hidden_data_def.
34814 * stdio-common/itoa-udigits.c: Likewise.
34815 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34816 (_itoa_lower_digits_internal): Remove declaration.
34817 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34818 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34819 (_sys_sigabbrev_internal): Remove aliases.
34820 (_sys_siglist): Define hidden alias.
34821
507352f1
MT
348222012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34823
34824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34825 bits/sysctl.h.
34826
42bbb1c3
L
348272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34828
34829 [BZ #14117]
6bd784b6
L
34830 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34831 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34832
8bca20f0
L
34833 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34834 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34835 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34836 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34837 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34838 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34839
f9e890a9
L
34840 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34841 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34842 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34843
471101a1
L
34844 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34845 with __addr.
34846 (insw): Likewise.
34847 (insl): Likewise.
34848 (outsb): Likewise.
34849 (outsw): Likewise.
34850 (outsl): Likewise.
34851
6451c862
L
34852 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34853 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34854 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34855
a254b8c9
L
34856 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34857 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34858 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34859 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34860 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34861 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34862
b8dfdd92
L
34863 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34864 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34865
578cd270
L
34866 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34867 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34868
de662f5f
L
34869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34871 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34872
25653439
L
34873 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34874 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34875 to ...
34876 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34877
6bad24a0
L
34878 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34879 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34880 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34881
42bbb1c3
L
34882 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34883 for x86-64.
34884 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34885
2d10d547
JM
348862012-05-31 Joseph Myers <joseph@codesourcery.com>
34887
34888 * math/math.h (M_El): Use two more decimal places.
34889 (M_LOG2El): Likewise.
34890 (M_LOG10El): Likewise.
34891 (M_LN2l): Likewise.
34892 (M_LN10l): Likewise.
34893 (M_PIl): Likewise.
34894 (M_PI_2l): Likewise.
34895 (M_PI_4l): Likewise.
34896 (M_1_PIl): Likewise.
34897 (M_2_PIl): Likewise.
34898 (M_2_SQRTPIl): Likewise.
34899 (M_SQRT2l): Likewise.
34900 (M_SQRT1_2l): Likewise.
34901
f230c29b
DM
349022012-05-31 David S. Miller <davem@davemloft.net>
34903
34904 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34905 values between float registers.
34906 * sysdeps/sparc/sparc64/memset.S: Likewise.
34907 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34908
fed806c3
MF
349092012-05-31 Mike Frysinger <vapier@gentoo.org>
34910
34911 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34912 -D_FORTIFY_SOURCE=1.
34913 (CPPFLAGS-tst-longjmp_chk.c): Define.
34914 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34915 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34916 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34917 CFLAGS-tst-wchar-h.c.
34918
30917259
MP
349192012-05-31 Marek Polacek <polacek@redhat.com>
34920
34921 [BZ #14132]
34922 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34923 __endmntent_internal): Remove declaration.
34924 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34925 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34926 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34927
1c58d5dc
DM
349282012-05-30 David S. Miller <davem@davemloft.net>
34929
34930 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34931 (___Q_simulate_exceptions): Use real FP ops rather than writing
34932 into the %fsr.
34933 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34934 Likewise.
34935
7dc00e0d
L
349362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34937
34938 [BZ #14117]
0bd53985
L
34939 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34940 * sysdeps/x86/bits/xtitypes.h: This.
34941
3a257e66
L
34942 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34943 * sysdeps/x86/bits/wordsize.h: This.
34944
62f62904
L
34945 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34946 * sysdeps/x86/bits/huge_vall.h: This.
34947
404fe9d9
L
34948 * sysdeps/i386/bits/select.h: Removed.
34949 * sysdeps/x86_64/bits/select.h: Renamed to ...
34950 * sysdeps/x86/bits/select.h: This.
34951
d48d0446
L
34952 * sysdeps/i386/bits/setjmp.h: Removed.
34953 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34954 * sysdeps/x86/bits/setjmp.h: This.
34955
7dc00e0d
L
34956 * sysdeps/i386/bits/mathdef.h: Removed.
34957 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34958 * sysdeps/x86/bits/mathdef.h: This.
34959
03277f8f
AS
349602012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34961
34962 [BZ #14132]
34963 * include/sys/socket.h (__connect_internal)
34964 (__libc_sa_len_internal): Remove declaration.
34965 (__connect, __libc_sa_len): Declare hidden_proto.
34966 (SA_LEN): Remove use of INTUSE.
34967 * socket/connect.c: Add libc_hidden_def.
34968 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34969 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34970 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34971 alias.
34972 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34973 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34974 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34975 of adding _internal alias.
34976
13764867
L
349772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34978
34979 [BZ #14117]
6bd97696
L
34980 * sysdeps/i386/bits/link.h: Removed.
34981 * sysdeps/i386/bits/linkmap.h: Likewise.
34982 * sysdeps/x86_64/bits/link.h: Renamed to ...
34983 * sysdeps/x86/bits/link.h: This.
34984 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34985 * sysdeps/x86/bits/linkmap.h: This.
34986
f726f0bb
L
34987 * sysdeps/i386/bits/endian.h: Removed.
34988 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34989 * sysdeps/x86/bits/endian.h: This.
34990
13764867
L
34991 * sysdeps/i386/bits/byteswap.h: Removed.
34992 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34993 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34994 * sysdeps/x86/bits/byteswap.h: This.
34995 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34996 * sysdeps/x86/bits/byteswap-16.h: This.
34997 * sysdeps/i386/Implies: Add x86.
34998 * sysdeps/x86_64/Implies: Likewise.
34999
ae251b0b
DM
350002012-05-30 David S. Miller <davem@davemloft.net>
35001
35002 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35003 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35004 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35005 (FP_TRAPPING_EXCEPTIONS): Define.
35006 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35007 (FP_TRAPPING_EXCEPTIONS): Define.
35008 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35009 subnormals only when inexact has been signalled or underflow
35010 exceptions are enabled.
35011 (_FP_PACK_CANONICAL): Likewise.
35012
d5c90867
L
350132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35014
35015 [BZ #14183]
35016 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35017 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35018
63f1549e
RH
350192012-05-30 Richard Henderson <rth@twiddle.net>
35020
8d8f2279
RH
35021 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35022 with #ifndef NOT_IN_libc.
35023
63f1549e
RH
35024 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35025 marked to avoid plt entry.
35026
0ab0291b
L
350272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35028
35029 [BZ #14112]
35030 * Makeconfig (default-abi): New macro.
35031 (abi-includes): Likewise.
35032 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35033 $(abi-$(default-abi)-lib-soname) for soname if defined.
35034 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35035 abi-variants.
35036 * Makefile (installed-stubs): Likewise.
35037 * include/stubs-biarch.h: Removed.
35038 * scripts/lib-names.awk: Only handle one library at a time.
35039 * scripts/soversions.awk: Remove WORDSIZE support.
35040 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35041 entries.
35042 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35043 Removed.
35044 (syscall-list-default-condition): Likewise.
35045 (syscall-list-default-condition): Likewise.
35046 (syscall-list-includes): Likewise.
35047 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35048 syscall-list-* with abi-*. Handle undefined abi-variants.
35049 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35050 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35051 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35052 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35053 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35054 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35055 Removed.
35056 (syscall-list-32-options): Likewise.
35057 (syscall-list-32-condition): Likewise.
35058 (syscall-list-64-options): Likewise.
35059 (syscall-list-64-condition): Likewise.
35060 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35061 macro.
35062 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35063 Renamed to ...
35064 (abi-*): This.
35065 (abi-64-ld-soname): New macro.
35066 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35067 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35068 Renamed to ...
35069 (abi-*): This.
35070 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35071 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35072
4da0431d
JM
350732012-05-30 Joseph Myers <joseph@codesourcery.com>
35074
3a85279c
JM
35075 * sysdeps/unix/sysv/linux/kernel-features.h
35076 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35077 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35078 include <kernel-features.h>.
35079 [!__NR_ftruncate64]: Remove conditional code.
35080 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35081 [__NR_ftruncate64]: Make code unconditional.
35082 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35083 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35084 include <kernel-features.h>.
35085 [!__NR_ftruncate64]: Remove conditional code.
35086 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35087 [__NR_ftruncate64]: Make code unconditional.
35088 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35090 include <kernel-features.h>.
35091 [!__NR_ftruncate64]: Remove conditional code.
35092 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35093 [__NR_ftruncate64]: Make code unconditional.
35094 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35096 include <kernel-features.h>.
35097 [!__NR_ftruncate64]: Remove conditional code.
35098 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35099 [__NR_ftruncate64]: Make code unconditional.
35100 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35101
4da0431d
JM
35102 * configure.in (libc_cv_fpie): Weaken to a compile test using
35103 LIBC_TRY_CC_OPTION.
35104 * configure: Regenerated.
35105
11ef492c
AK
351062012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35107
35108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35112 Refreshed.
35113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35119 Refreshed.
35120
d66ef399
DM
351212012-05-27 David S. Miller <davem@davemloft.net>
35122
35123 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35124 (___Q_zero): New.
35125 (__Q_simulate_exceptions): Return void. Change to simulate
35126 exceptions by writing into the %fsr.
35127 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35128 (__Qp_handle_exceptions): Likewise.
35129 (numbers): Delete.
35130 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35131 __Qp_handle_exceptions.
35132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35133 __Qp_handle_exceptions.
35134 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35135 as unused and give dummy FP_RND_NEAREST initializer.
35136 (FP_INHIBIT_RESULTS): Define.
35137 (___Q_simulate_exceptions): Update declaration.
35138 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35139 formatting.
35140 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35141 as unused and give dummy FP_RND_NEAREST initializer.
35142 (__Qp_handle_exceptions): Update declaration.
35143 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35144 formatting.
35145
04fb54b5
TS
351462012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35147
35148 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35149 the temporary FPU control word.
35150 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35151 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35152 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35153 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35154 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35155 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35156 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35157 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35158 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35159 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35160 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35161
3f99608f
KK
351622012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35163
35164 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35165 fields.
35166
65a4de4e
CLT
351672012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35168
35169 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35170 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35171 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35172 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35173 Likewise.
35174 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35175 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35176 Likewise.
35177
15749d40
UD
351782012-05-27 Ulrich Drepper <drepper@gmail.com>
35179
35180 * po/h.po: Update from translation team.
35181
25dbcb27
AS
351822012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35183
3d3f8e55
AS
35184 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35185
25dbcb27
AS
35186 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35187 handling of denormals.
35188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35189 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35190 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35191 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35193 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35195 Likewise.
35196
7ad47a80 351972012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35198
35199 [BZ #14152]
35200 * math/libm-test.inc (fma_test): Don't always expect underflow
35201 exception.
35202
9c6ea9fa
SP
352032012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35204
35205 [BZ #12416]
35206 * elf/tst-execstack.c: Include stackinfo.h.
35207 (do_test): Adjust test case to ensure that pthread_getattr_np
35208 behaviour remains the same after marking stack executable.
35209
a8239222
JM
352102012-05-25 Joseph Myers <joseph@codesourcery.com>
35211
35212 * sysdeps/unix/sysv/linux/kernel-features.h
35213 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35214 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35215 kernel-features.h.
35216 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35217 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35218 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35219 kernel-features.h.
35220 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35221 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35222
918b5606
L
352232012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35224
35225 * configure.in: Define the default includes to being none.
35226 * configure: Regenerated.
35227
3a097cc7
RM
352282012-05-25 Roland McGrath <roland@hack.frob.com>
35229
8422c9a5
RM
35230 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35231 * sysdeps/x86_64/setjmp.S: Likewise.
35232 * sysdeps/i386/bsd-setjmp.S: Likewise.
35233 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35234 * sysdeps/i386/setjmp.S: Likewise.
35235 * sysdeps/i386/__longjmp.S: Likewise.
35236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35237 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35238
3a097cc7
RM
35239 * include/stap-probe.h: New file.
35240 * configure.in: Handle --enable-systemtap.
35241 * configure: Regenerated.
35242 * config.h.in (USE_STAP_PROBE): New #undef.
35243 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35244 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35245 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35246
21708942
JM
352472012-05-25 Joseph Myers <joseph@codesourcery.com>
35248
35249 [BZ #13717]
35250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35251 to 2.4.0 where earlier.
35252 * sysdeps/unix/sysv/linux/configure: Regenerated.
35253 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35254 <kernel-features.h>.
35255 [__ASSUME_32BITUIDS]: Make code unconditional.
35256 [!__ASSUME_32BITUIDS]: Remove conditional code.
35257 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35258 <kernel-features.h>.
35259 [__ASSUME_32BITUIDS]: Make code unconditional.
35260 [!__ASSUME_32BITUIDS]: Remove conditional code.
35261 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35262 [__ASSUME_32BITUIDS]: Make code unconditional.
35263 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35264 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35265 <kernel-features.h>.
35266 [__ASSUME_32BITUIDS]: Make code unconditional.
35267 [!__ASSUME_32BITUIDS]: Remove conditional code.
35268 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35269 <kernel-features.h>.
35270 [__ASSUME_32BITUIDS]: Make code unconditional.
35271 [!__ASSUME_32BITUIDS]: Remove conditional code.
35272 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35273 <kernel-features.h>.
35274 [__ASSUME_32BITUIDS]: Make code unconditional.
35275 [!__ASSUME_32BITUIDS]: Remove conditional code.
35276 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35277 <kernel-features.h>.
35278 [__ASSUME_32BITUIDS]: Make code unconditional.
35279 [!__ASSUME_32BITUIDS]: Remove conditional code.
35280 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35281 <kernel-features.h>.
35282 [__ASSUME_32BITUIDS]: Make code unconditional.
35283 [!__ASSUME_32BITUIDS]: Remove conditional code.
35284 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35285 <kernel-features.h>.
35286 [__ASSUME_32BITUIDS]: Make code unconditional.
35287 [!__ASSUME_32BITUIDS]: Remove conditional code.
35288 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35289 <kernel-features.h>.
35290 [__ASSUME_32BITUIDS]: Make code unconditional.
35291 [!__ASSUME_32BITUIDS]: Remove conditional code.
35292 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35293 <kernel-features.h>.
35294 [__ASSUME_32BITUIDS]: Make code unconditional.
35295 [!__ASSUME_32BITUIDS]: Remove conditional code.
35296 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35297 <kernel-features.h>.
35298 [__ASSUME_32BITUIDS]: Make code unconditional.
35299 [!__ASSUME_32BITUIDS]: Remove conditional code.
35300 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35301 <kernel-features.h>.
35302 [__ASSUME_32BITUIDS]: Make code unconditional.
35303 [!__ASSUME_32BITUIDS]: Remove conditional code.
35304 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35305 <kernel-features.h>.
35306 [__NR_setresgid] (__setresgid): Do not declare.
35307 [__ASSUME_32BITUIDS]: Make code unconditional.
35308 [!__ASSUME_32BITUIDS]: Remove conditional code.
35309 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35310 <kernel-features.h>.
35311 [__NR_setresuid] (__setresuid): Do not declare.
35312 [__ASSUME_32BITUIDS]: Make code unconditional.
35313 [!__ASSUME_32BITUIDS]: Remove conditional code.
35314 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35315 <kernel-features.h>.
35316 [__ASSUME_32BITUIDS]: Make code unconditional.
35317 [!__ASSUME_32BITUIDS]: Remove conditional code.
35318 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35319 <kernel-features.h>.
35320 [__ASSUME_32BITUIDS]: Make code unconditional.
35321 [!__ASSUME_32BITUIDS]: Remove conditional code.
35322 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35323 <kernel-features.h>.
35324 [__ASSUME_32BITUIDS]: Make code unconditional.
35325 [!__ASSUME_32BITUIDS]: Remove conditional code.
35326 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35327 <kernel-features.h>.
35328 [__ASSUME_32BITUIDS]: Make code unconditional.
35329 [!__ASSUME_32BITUIDS]: Remove conditional code.
35330 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35331 <kernel-features.h>.
35332 [__ASSUME_32BITUIDS]: Make code unconditional.
35333 [!__ASSUME_32BITUIDS]: Remove conditional code.
35334 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35335 <kernel-features.h>.
35336 [__ASSUME_32BITUIDS]: Make code unconditional.
35337 [!__ASSUME_32BITUIDS]: Remove conditional code.
35338 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35339 <kernel-features.h>.
35340 [__ASSUME_32BITUIDS]: Make code unconditional.
35341 [!__ASSUME_32BITUIDS]: Remove conditional code.
35342 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35343 <kernel-features.h>.
35344 [__ASSUME_32BITUIDS]: Make code unconditional.
35345 [!__ASSUME_32BITUIDS]: Remove conditional code.
35346 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35347 <kernel-features.h>.
35348 [__ASSUME_32BITUIDS]: Make code unconditional.
35349 [!__ASSUME_32BITUIDS]: Remove conditional code.
35350 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35351 <kernel-features.h>.
35352 [__ASSUME_32BITUIDS]: Make code unconditional.
35353 [!__ASSUME_32BITUIDS]: Remove conditional code.
35354 * sysdeps/unix/sysv/linux/kernel-features.h
35355 (__ASSUME_SETRESUID_SYSCALL): Remove.
35356 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35357 (__ASSUME_32BITUIDS): Likewise.
35358 (__ASSUME_LDT_WORKS): Likewise.
35359 (__ASSUME_O_DIRECTORY): Likewise.
35360 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35361 architecture but not kernel version.
35362 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35363 (__ASSUME_MMAP2_SYSCALL): Likewise.
35364 (__ASSUME_STAT64_SYSCALL): Likewise.
35365 (__ASSUME_IPC64): Likewise.
35366 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35367 <kernel-features.h>.
35368 [__ASSUME_32BITUIDS]: Make code unconditional.
35369 [!__ASSUME_32BITUIDS]: Remove conditional code.
35370 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35371 <kernel-features.h>.
35372 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35373 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35374 132096]: Remove conditional code.
35375 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35376 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35377 <kernel-features.h>.
35378 [__ASSUME_32BITUIDS]: Make code unconditional.
35379 [!__ASSUME_32BITUIDS]: Remove conditional code.
35380 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35381 <kernel-features.h>.
35382 [__ASSUME_32BITUIDS]: Make code unconditional.
35383 [!__ASSUME_32BITUIDS]: Remove conditional code.
35384 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35385 <kernel-features.h>.
35386 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35387 unconditional.
35388 (__setresgid): Do not declare.
35389 [__ASSUME_32BITUIDS]: Make code unconditional.
35390 [!__ASSUME_32BITUIDS]: Remove conditional code.
35391 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35392 <kernel-features.h>.
35393 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35394 unconditional.
35395 (__setresuid): Do not declare.
35396 [__ASSUME_32BITUIDS]: Make code unconditional.
35397 [!__ASSUME_32BITUIDS]: Remove conditional code.
35398 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35399 <kernel-features.h>.
35400 [__ASSUME_32BITUIDS]: Make code unconditional.
35401 [!__ASSUME_32BITUIDS]: Remove conditional code.
35402 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35403 <kernel-features.h>.
35404 [__ASSUME_32BITUIDS]: Make code unconditional.
35405 [!__ASSUME_32BITUIDS]: Remove conditional code.
35406
a386f1cc
RH
354072012-05-25 Richard Henderson <rth@twiddle.net>
35408
35409 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35410 dl_hwcap to ifunc resolver.
35411 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35412 elf_ifunc_invoke.
35413 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35414 dl_hwcap to ifunc resolver.
35415 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35416
b6550497
JM
354172012-05-24 Joseph Myers <joseph@codesourcery.com>
35418
35419 [BZ #14153]
35420 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35421 for |x| <= 2**-26, not 2**-57.
35422 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35423 exception.
35424
b0bc23a1
JL
354252012-05-24 Jeff Law <law@redhat.com>
35426
35427 * stdio-common/Makefile (tests): Add bug25.
35428 * stdio-common/bug25.c: New test.
35429
347c92e9
L
354302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35431
35432 [BZ #13576]
35433 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35434 multiple of MALLOC_ALIGNMENT in size.
35435 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35436
6bcc8b3f
JM
354372012-05-24 Joseph Myers <joseph@codesourcery.com>
35438
35439 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35440 Require >= 256.
35441 (FILENAME_MAX): Use macro-int-constant.
35442 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35443 (_IOFBF): Use macro-int-constant.
35444 (_IOLBF): Likewise.
35445 (_IONBF): Likewise.
35446 (SEEK_CUR): Likewise.
35447 (SEEK_END): Likewise.
35448 (SEEK_SET): Likewise.
35449 (TMP_MAX): Likewise.
35450 (EOF): Use macro-int-constant. Require < 0.
35451 (NULL): Use macro-constant. Require == 0.
35452 (stdin): Require type to be FILE *.
35453 (stdout): Likewise.
35454 (stderr): Likewise.
35455 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35456 macro-int-constant.
35457 (EXIT_SUCCESS): Likewise.
35458 (NULL): Use macro-constant. Require == 0.
35459 (RAND_MAX): Use macro-int-constant.
35460 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35461 [C99-based standards] (strtof): Require function.
35462 [C99-based standards] (strtold): Likewise.
35463 [C99-based standards] (strtoll): Likewise.
35464 [C99-based standards] (strtoull): Likewise.
35465 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35466 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35467 [ISO || ISO99 || ISO11] (math.h): Likewise.
35468 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35469 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35471
d18ea0c5
AS
354722012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35473
35474 [BZ #14132]
56d25bb8
AS
35475 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35476 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35477 * intl/dgettext.c (DCGETTEXT): Likewise.
35478 * intl/gettext.c (DCGETTEXT): Likewise.
35479 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35480 * posix/regex_internal.h (gettext): Likewise.
35481 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35482 Remove declaration.
35483 * include/argz.h (__argz_count_internal)
35484 (__argz_stringify_internal): Remove declaration.
35485 (__argz_count, __argz_stringify): Declare hidden proto.
35486 * intl/dcgettext.c: Remove use of INTDEF.
35487 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35488 * string/argz-stringify.c: Likewise.
35489 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35490 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35491 Declare hidden proto.
d18ea0c5
AS
35492 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35493 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35494 Declare hidden proto.
35495 * include/stdio.h (__asprintf_internal): Don't declare.
35496 (__asprintf): Don't define as macro. Declare hidden proto.
35497 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35498 (__fsetlocking): Declare hidden proto.
35499 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35500 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35501 hidden proto.
35502 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35503 (_IO_setlinebuf): Remove use of INTUSE.
35504 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35505 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35506 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35507 Remove declaration.
35508 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35509 (_IO_do_flush): Remove use of INTUSE.
35510 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35511 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35512 (_IO_adjust_column, _IO_least_wmarker)
35513 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35514 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35515 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35516 (_IO_default_doallocate, _IO_wdefault_doallocate)
35517 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35518 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35519 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35520 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35521 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35522 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35523 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35524 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35525 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35526 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35527 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35528 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35529 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35530 proto.
35531 (_IO_flush_all_internal, _IO_adjust_column_internal)
35532 (_IO_default_uflow_internal, _IO_default_finish_internal)
35533 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35534 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35535 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35536 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35537 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35538 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35539 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35540 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35541 (_IO_file_close_internal, _IO_file_close_it_internal)
35542 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35543 (_IO_file_init_internal, _IO_file_attach_internal)
35544 (_IO_file_fopen_internal, _IO_file_read_internal)
35545 (_IO_file_sync_internal, _IO_file_seek_internal)
35546 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35547 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35548 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35549 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35550 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35551 (_IO_list_all_internal, _IO_link_in_internal)
35552 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35553 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35554 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35555 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35556 (_IO_do_write_internal, _IO_padn_internal)
35557 (_IO_getline_info_internal, _IO_getline_internal)
35558 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35559 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35560 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35561 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35562 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35563 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35564 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35565 with libc_hidden_ver, remove use of INTUSE.
35566 * libio/genops.c: Likewise.
35567 * libio/freopen.c: Likewise.
35568 * libio/freopen64.c: Likewise.
35569 * libio/iofclose.c: Likewise.
35570 * libio/iofdopen.c: Likewise.
35571 * libio/iofflush.c: Likewise.
35572 * libio/iofflush_u.c: Likewise.
35573 * libio/iofgets.c: Likewise.
35574 * libio/iofgets_u.c: Likewise.
35575 * libio/iofopen.c: Likewise.
35576 * libio/iofopncook.c: Likewise.
35577 * libio/iofread.c: Likewise.
35578 * libio/iofread_u.c: Likewise.
35579 * libio/ioftell.c: Likewise.
35580 * libio/iofwrite.c: Likewise.
35581 * libio/iogetline.c: Likewise.
35582 * libio/iogets.c: Likewise.
35583 * libio/iogetwline.c: Likewise.
35584 * libio/iopadn.c: Likewise.
35585 * libio/iopopen.c: Likewise.
35586 * libio/ioseekoff.c: Likewise.
35587 * libio/ioseekpos.c: Likewise.
35588 * libio/iosetbuffer.c: Likewise.
35589 * libio/iosetvbuf.c: Likewise.
35590 * libio/ioungetc.c: Likewise.
35591 * libio/ioungetwc.c: Likewise.
35592 * libio/iovdprintf.c: Likewise.
35593 * libio/iovsprintf.c: Likewise.
35594 * libio/iovsscanf.c: Likewise.
35595 * libio/memstream.c: Likewise.
35596 * libio/obprintf.c: Likewise.
35597 * libio/oldfileops.c: Likewise.
35598 * libio/oldiofclose.c: Likewise.
35599 * libio/oldiofdopen.c: Likewise.
35600 * libio/oldiofopen.c: Likewise.
35601 * libio/oldiopopen.c: Likewise.
35602 * libio/oldstdfiles.c: Likewise.
35603 * libio/putc.c: Likewise.
35604 * libio/setbuf.c: Likewise.
35605 * libio/setlinebuf.c: Likewise.
35606 * libio/stdfiles.c: Likewise.
35607 * libio/strops.c: Likewise.
35608 * libio/vasprintf.c: Likewise.
35609 * libio/vscanf.c: Likewise.
35610 * libio/vsnprintf.c: Likewise.
35611 * libio/vswprintf.c: Likewise.
35612 * libio/wfiledoalloc.c: Likewise.
35613 * libio/wfileops.c: Likewise.
35614 * libio/wgenops.c: Likewise.
35615 * libio/wmemstream.c: Likewise.
35616 * libio/wstrops.c: Likewise.
35617 * libio/__fpurge.c: Likewise.
35618 * libio/__fsetlocking.c: Likewise.
35619 * assert/assert.c: Likewise.
35620 * debug/fgets_chk.c: Likewise.
35621 * debug/fgets_u_chk.c: Likewise.
35622 * debug/fread_chk.c: Likewise.
35623 * debug/fread_u_chk.c: Likewise.
35624 * debug/gets_chk.c: Likewise.
35625 * debug/obprintf_chk.c: Likewise.
35626 * debug/vasprintf_chk.c: Likewise.
35627 * debug/vdprintf_chk.c: Likewise.
35628 * debug/vsnprintf_chk.c: Likewise.
35629 * debug/vsprintf_chk.c: Likewise.
35630 * malloc/mtrace.c: Likewise.
35631 * misc/error.c: Likewise.
35632 * misc/syslog.c: Likewise.
35633 * stdio-common/asprintf.c: Likewise.
35634 * stdio-common/fxprintf.c: Likewise.
35635 * stdio-common/getw.c: Likewise.
35636 * stdio-common/isoc99_fscanf.c: Likewise.
35637 * stdio-common/isoc99_scanf.c: Likewise.
35638 * stdio-common/isoc99_vfscanf.c: Likewise.
35639 * stdio-common/isoc99_vscanf.c: Likewise.
35640 * stdio-common/isoc99_vsscanf.c: Likewise.
35641 * stdio-common/printf-prs.c: Likewise.
35642 * stdio-common/printf_fp.c: Likewise.
35643 * stdio-common/printf_fphex.c: Likewise.
35644 * stdio-common/printf_size.c: Likewise.
35645 * stdio-common/putw.c: Likewise.
35646 * stdio-common/scanf.c: Likewise.
35647 * stdio-common/sprintf.c: Likewise.
35648 * stdio-common/tmpfile.c: Likewise.
35649 * stdio-common/vfprintf.c: Likewise.
35650 * stdio-common/vfscanf.c: Likewise.
35651 * stdlib/strfmon_l.c: Likewise.
35652 * sunrpc/openchild.c: Likewise.
35653 * sunrpc/xdr_stdio.c: Likewise.
35654 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35655 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35656
d6c33fda
RM
356572012-05-24 Roland McGrath <roland@hack.frob.com>
35658
c1487492
RM
35659 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35660
35661 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35662 in the third column, to generate for the shared library an IFUNC
35663 that uses _dl_vdso_vsym.
35664 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35665 * Makeconfig (object-suffixes-noshared): New variable.
35666
35667 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35668 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35669 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35670 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35671
d6c33fda
RM
35672 [BZ #14132]
35673 * include/sys/time.h (__gettimeofday): Remove macro.
35674 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35675 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35676 Remove INTDEF.
35677 (__gettimeofday): Add libc_hidden_def.
35678 (gettimeofday): Add libc_hidden_weak.
35679 * sysdeps/mach/gettimeofday.c: Likewise.
35680 * sysdeps/posix/gettimeofday.c: Likewise.
35681 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35682 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35684 (__gettimeofday_internal): Remove strong_alias.
35685 (__gettimeofday): Add libc_hidden_def.
35686 (gettimeofday): Add libc_hidden_weak.
35687 * sysdeps/unix/syscalls.list (gettimeofday):
35688 Remove __gettimeofday_internal alias.
35689
b5a2bbe6
L
356902012-05-24 Daniel Jacobowitz <drow@false.org>
35691 H.J. Lu <hongjiu.lu@intel.com>
35692
35693 [BZ #12495]
35694 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35695 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35696 (largebin_index_32_big): New.
35697 (largebin_index): Use it for 16-byte alignment.
35698 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35699 correction with front_misalign.
35700
cfba4fda
L
357012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35702
7f907421
L
35703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35705 Likewise.
35706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35707 Likewise.
35708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35709 Likewise.
35710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35711 Likewise.
35712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35713 Likewise.
35714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35715 Likewise.
35716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35717 Likewise.
35718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35719 Likewise.
35720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35721 Likewise.
35722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35723 Likewise.
35724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35725 Likewise.
35726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35727 Likewise.
35728
cfba4fda
L
35729 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35730 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35731
80bad0cc
JM
357322012-05-24 Joseph Myers <joseph@codesourcery.com>
35733
7a25eb06
JM
35734 [BZ #10846]
35735 [BZ #14036]
35736 * math/libm-test.inc (exp_test): Add test from bug 14036.
35737 (pow_test): Add test from bug 10846.
35738
795405f9
JM
35739 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35740 and other flags.
35741 (special_function): Do not include flags in test name.
35742 (parse_args): Likewise.
35743 * sysdeps/i386/fpu/libm-test-ulps: Update.
35744 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35745 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35748
80bad0cc
JM
35749 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35750 exceptions.
35751 * math/libm-test.inc ("Philosophy"): Update comment about
35752 exception testing.
35753 (UNDERFLOW_EXCEPTION): New macro.
35754 (UNDERFLOW_EXCEPTION_OK): Likewise.
35755 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35756 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35757 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35758 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35759 (INVALID_EXCEPTION_OK): Update value.
35760 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35761 (OVERFLOW_EXCEPTION_OK): Likewise.
35762 (IGNORE_ZERO_INF_SIGN): Likewise.
35763 (test_exceptions): Handle underflow exceptions.
35764 (acos_test): Update for underflow exception expectations.
35765 (cexp_test): Likewise.
35766 (clog_test): Likewise.
35767 (clog10_test): Likewise.
35768 (csqrt_test): Likewise.
35769 (ctan_test): Likewise.
35770 (ctanh_test): Likewise.
35771 (exp_test): Likewise.
35772 (exp10_test): Likewise.
35773 (exp2_test): Likewise.
35774 (expm1_test): Likewise.
35775 (fma_test): Likewise.
35776 (j0_test): Likewise.
35777 (jn_test): Likewise.
35778 (nexttoward_test): Likewise.
35779 (pow_test): Likewise.
35780 (scalbn_test): Likewise.
35781 (scalbln_test): Likewise.
35782 (tan_test): Likewise.
35783 (y1_test): Likewise.
35784 * sysdeps/i386/fpu/libm-test-ulps: Update.
35785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35786
9e0e3d0b
DM
357872012-05-23 David S. Miller <davem@davemloft.net>
35788
35789 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35790 (__libc_sigaction): Remove unused local variables.
35791
ccd0a08f
L
357922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35793
35794 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35795
62bdf9a6
PE
357962012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35797
f8591f80
PE
35798 mktime: avoid signed integer overflow
35799 * time/mktime.c (__mktime_internal): Do not mishandle the case
35800 where diff == INT_MIN.
35801
94c7d826
PE
35802 mktime: simplify computation of average
35803 * time/mktime.c (ranged_convert): Use new time_t_avg function
35804 instead of rolling our own (probably-slower) code.
35805
ce73d683
PE
35806 mktime: do not assume signed right shift propagates sign bit
35807 * time/mktime.c (isdst_differ): New static function.
35808 (__mktime_internal): No need to normalize tm_isdst now.
35809 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35810 tm_isdst values.
35811
72a22e59
PE
35812 mktime: merge another wrapv change from gnulib
35813 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35814 from some compilers.
35815
68605433
PE
35816 mktime: remove incorrect attempt at unusual arithmetics
35817 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35818 The code didn't really work on such machines anyway.
35819 (TYPE_MINIMUM): Assume two's complement.
35820 (twos_complement_arithmetic): Verify that long_int and time_t
35821 are two's complement (or unsigned, in the latter case).
35822
03cf7fe3
PE
35823 mktime: check signed shifts on long_int and time_t, too
35824 * time/mktime.c (SHR): Check that shifts work as desired
35825 on the types long_int and time_t too, as SHR is used on
35826 such types.
35827
f04dfbc2
PE
35828 mktime: do not assume 'long' is wide enough
35829 * time/mktime.c (verify): Move decl up.
35830 (long_int): New type.
35831 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35832 to remove assumption in the code that 'long' is wide enough to
35833 store year values. This assumption is not true on x32 and on
35834 some non-glibc platforms.
35835
62bdf9a6
PE
35836 mktime: merge wrapv change from gnulib
35837 * time/mktime.c (WRAPV): New macro.
35838 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35839 (guess_time_tm, __mktime_internal): Do not assume that signed
35840 integer overflow wraps around; modern compilers generate code
35841 where this assumption is no longer valid.
35842
5e292e4f
L
358432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35844
35845 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35846 Replace "jmp L(pseudo_end)" with "ret".
35847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35848 Likewise.
35849
8caf8c87
AJ
358502012-05-23 Andreas Jaeger <aj@suse.de>
35851
35852 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35853 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35854
1a09dc56
AJ
358552012-05-23 Andreas Jaeger <aj@suse.de>
35856 Maximilian Attems <max@stro.at>
35857
35858 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35859 New macros.
35860
1c87aba0
L
358612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35862
35863 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35864 code so that pseudo_end is just ret and the stack pointer is
35865 correct also for static library in error case.
35866
40e45bd5
JM
358672012-05-23 Joseph Myers <joseph@codesourcery.com>
35868
c2670533
JM
35869 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35870 move to syscalls.list.
35871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35875
40e45bd5
JM
35876 * manual/install.texi (Running make install): Do not mention Linux
35877 kernel version for which pt_chown is not needed.
35878 (Linux): Do not mention problems with nscd with 2.0 kernels.
35879 * INSTALL: Regenerated.
35880
be08eda5
AJ
358812012-05-23 Andreas Jaeger <aj@suse.de>
35882
35883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35884 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35885 macro.
35886 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35888 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35890 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35891 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35892 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35893 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35894 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35895 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35896 * sysdeps/unix/sysv/linux/bits/in.h
35897 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35898
a6a056bb
RM
358992012-05-22 Roland McGrath <roland@hack.frob.com>
35900
35901 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35902 (PREPARE_VERSION): Just use assert instead, it will be elided
35903 under [NDEBUG] anyway.
35904
c9009328
L
359052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35906
35907 * sysdeps/unix/sysv/linux/Makefile: Include
35908 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 35909 (sysdep_routines): Remove sysctl.
c9009328
L
35910 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35911 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35912 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35913 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35914 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35915
73338355
AJ
359162012-05-22 Andreas Jaeger <aj@suse.de>
35917
35918 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35919 that pseudo_end is just ret and the stack pointer is correct also
35920 for static library in error case.
35921
d44638b0
PP
359222012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35923
35924 [BZ #14122]
35925 * nss/nsswitch.c (defconfig_entries): New variable.
35926 (__nss_database_lookup): Don't leak defconfig entries.
35927 (nss_parse_service_list): Don't leak on error paths.
35928 (free_database_entries): New function.
35929 (free_defconfig): New function.
35930 (free_mem): Move common code to free_database_entries.
35931
31a39bd8
L
359322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35933
da0331a8
L
35934 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35935 Add arch_prctl.
35936 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35937
31a39bd8
L
35938 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35939 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35941 New macro.
35942 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35943 (INTERNAL_SYSCALL_TYPES): Likewise.
35944 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35945 (LOAD_REGS_TYPES_[1-6]): Likewise.
35946 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35947 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35948
45470df3
AZ
359492012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35950
35951 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35952 copysignl for GLIBC_2_0.
35953 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35954 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35956 logbl for GLIBC_2_0.
35957 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35958 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35959
98a61bcb
L
359602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35961
a4f6e481
L
35962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35963 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35964
f63d5db6
L
35965 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35966 Use "neg %eax".
35967
98a61bcb
L
35968 * time/mktime.c: Update copyright years.
35969
95770f14
PE
359702012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35971
6226efbd
PE
35972 mktime: merge comment-quoting-style change from gnulib
35973 * time/mktime.c: Quote 'like this' in comments.
35974 The GNU coding standards suggest that we no longer quote `like this',
35975 as "`" and "'" are typically rendered asymmetrically nowadays.
35976 The typical gnulib style is to quote 'like this' when quoting
35977 code, and "like this" when quoting English.
35978
b99e4f78
PE
35979 * time/mktime.c (compile-command): Add "-I.".
35980
643e01e6
PE
35981 mktime: merge mktime-internal.h change from gnulib
35982 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35983
2554247d
PE
35984 mktime: merge time_r change from gnulib
35985 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35986
826dd0ab
PE
35987 mktime: merge DEBUG change from gnulib
35988 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35989 case system <time.h> has a #define.
35990
bd83aabe
PE
35991 mktime: merge <sys/types.h> change from gnulib
35992 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35993 since <time.t> is now guaranteed to define time_t.
35994
95770f14
PE
35995 mktime: merge HAVE_CONFIG_H change from gnulib
35996 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35997
5e1a27a9
L
359982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35999
0e44a77e
L
36000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36001 Use "neg %eax".
36002
5e1a27a9
L
36003 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36004 __rlim_t cast.
36005 (struct rusage): Use anonymous union to pad each field to
36006 __syscall_slong_t.
36007
46259bec
DM
360082012-05-21 David S. Miller <davem@davemloft.net>
36009
36010 * Makefules (o-iterator): Remove .s cases.
36011 (compile-command.s): Delete.
36012 (COMPILE.s): Delete.
36013 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36014
59f0c22e
JM
360152012-05-21 Joseph Myers <joseph@codesourcery.com>
36016
36017 * configure.in (libc_cv_predef_stack_protector): Only consider
36018 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36019 * configure: Regenerated.
36020
20c07380
L
360212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36022
bbb3154b
L
36023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36024 New macro. Use R*LP on int and pointer.
36025 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36026 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36027 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36028 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36029
20c07380
L
36030 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36031 [__WORDSIZE_TIME64_COMPAT32] instead of
36032 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36033 (struct utmp): Likewise.
36034 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36035 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36036 Renamed to ...
36037 (__WORDSIZE_TIME64_COMPAT32): This.
36038 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36039 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36040 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36041 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36042 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36043 (__WORDSIZE_TIME64_COMPAT32): New macro.
36044
d8d1017e
AJ
360452012-05-21 Andreas Jaeger <aj@suse.de>
36046
36047 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36048 only if [SHARED]. Add prototype for __wcschr_ia32.
36049
6c7fb145
RM
360502012-05-21 Roland McGrath <roland@hack.frob.com>
36051
36052 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36053 of %rbp unmolested in the jmp_buf while mangling the low bits.
36054 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36055 unmolested high bits of %rbp while demangling the low bits.
36056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36057
66274218
AJ
360582012-05-21 Andreas Jaeger <aj@suse.de>
36059
07c58f8f
AJ
36060 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36061 * sunrpc/svc_simple.c: Use it for registerrpc.
36062 * sunrpc/xcrypt.c: Use it for passwd2des.
36063
66274218
AJ
36064 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36065
61f65140
L
360662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36067
36068 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36069 Don't define if [__SYSCALL_WORDSIZE != 32].
36070 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36071 New macro.
36072
5fefb436
AJ
360732012-05-21 Bruno Haible <bruno@clisp.org>
36074 Andreas Jaeger <aj@suse.de>
36075
36076 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36077 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36078 inptr and inend for must_buffer_ch.
36079 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36080 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36081 * stdio-common/Makefile (tests): Remove bug15.
36082 (bug15-ENV): Remove macro.
36083 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36084 anymore.
36085
d8e272ab
AJ
360862012-05-19 Andreas Jaeger <aj@suse.de>
36087 Roland McGrath <roland@hack.frob.com>
36088
36089 * manual/contrib.texi: Completely rewritten. It contains now an
36090 alphabetical list of contributors and their contributions.
36091
4a56a162
RH
360922012-05-21 Richard Henderson <rth@twiddle.net>
36093
36094 * misc/getauxval.c (__getauxval): Use unsigned long int.
36095 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36096 (getauxval): Use unsigned long int.
36097
d024d23c
L
360982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36099
36100 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36101
cbc00a03
RM
361022012-05-21 Roland McGrath <roland@hack.frob.com>
36103
36104 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36105 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36106 __alignof__ (long double).
36107
478143fa
AZ
361082012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36109
36110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36111
c7683a6d
RH
361122012-05-20 Richard Henderson <rth@twiddle.net>
36113
36114 * misc/getauxval.c: New file.
36115 * misc/sys/auxv.h: New file.
36116 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36117 (routines): Add getauxval.
36118 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36119 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36120 * elf/dl-sysdep.c (_dl_auxv): Remove.
36121 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36122 * elf/dl-support.c (_dl_auxv): New variable.
36123 (_dl_aux_init): Initialize it.
36124 * manual/startup.texi (Auxiliary Vector): New node.
36125 * sysdeps/generic/bits/hwcap.h: New file.
36126 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36127 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36128 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36129 * sysdeps/sparc/sysdep.h: ... here. Include it.
36130 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36133 Update.
c7683a6d
RH
36134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36142
a6f1845d
AZ
361432012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36144
36145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36146
cbcbe830
DM
361472012-05-19 David S. Miller <davem@davemloft.net>
36148
36149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36150
e0b16cc2
JM
361512012-05-19 Joseph Myers <joseph@codesourcery.com>
36152
36153 [BZ #14123]
36154 * math/s_ccosh.c: Include <float.h>
36155 (__ccosh): Avoid internal overflow calculating sinh and cosh
36156 values before multiplying by sin and cos values.
36157 * math/s_ccoshf.c: Likewise.
36158 * math/s_ccoshl.c: Likewise.
36159 * math/s_csin.c: Likewise.
36160 * math/s_csinf.c: Likewise.
36161 * math/s_csinl.c: Likewise.
36162 * math/s_csinh.c: Likewise.
36163 * math/s_csinhf.c: Likewise.
36164 * math/s_csinhl.c: Likewise.
36165 * math/libm-test.inc (ccos_test): Add more tests.
36166 (ccosh_test): Likewise.
36167 (csin_test): Likewise.
36168 (csinh_test): Likewise.
36169 * sysdeps/i386/fpu/libm-test-ulps: Update.
36170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36171
6ad13e08
L
361722012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36173
f66f0ce8
L
36174 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36175 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36176
6ad13e08
L
36177 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36178
b1d072a7
JM
361792012-05-19 Joseph Myers <joseph@codesourcery.com>
36180
36181 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36182 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36183 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36184 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36185 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36186 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36187 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36188 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36189 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36190 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36191 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36192 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36193 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36194 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36195 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36196 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36197 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36198 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36199 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36200 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36201 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36202 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36203 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36204 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36205 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36206 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36207 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36208 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36209 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36210 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36211 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36212
9eae47cb
AJ
362132012-05-18 Andreas Jaeger <aj@suse.de>
36214
36215 * csu/.gitignore: Delete.
36216
bb07f69f
L
362172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36218
36219 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36220 (timex): Use __syscall_slong_t.
36221
e6bdb741
AJ
362222012-05-18 Andreas Jaeger <aj@suse.de>
36223 Carlos O'Donell <carlos_odonell@mentor.com>
36224
36225 * manual/install.texi (Configuring and compiling): Update
36226 description about files modified in the source directory.
d6c33fda 36227 * INSTALL: Regenerated.
e6bdb741 36228
1b74487e
L
362292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36230
36231 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36232 value. Use "or" to set return value to -1.
36233 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36234 negate return value.
36235
a88b64b9
TMQMF
362362012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36237
57f41c40
AS
36238 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36239 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36240 failure if the compiler has Graphite support disabled.
36241 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36242 Likewise.
57f41c40
AS
36243 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36244 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36245 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36246 Likewise.
36247
3707636e
L
362482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36249
610b8622
L
36250 * sysdeps/x86_64/x32/_itoa.h: New file.
36251
7cd195df
L
36252 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36253 getdents system call only if kernel and user dirents have the
36254 same d_ino and d_off.
36255
94b07d20
L
36256 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36257 LLONG_MAX != LONG_MAX.
36258 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36259 (_fitoa_word): Likewise.
36260
18298070
L
36261 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36262 years.
36263 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36264 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36265 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36266
553c7ea4
L
36267 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36268 include <bits/wordsize.h>. Check __x86_64__ instead of
36269 __WORDSIZE.
36270 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36271 if __x86_64__ is defined. Use anonymous union on fpstate.
36272
3707636e
L
36273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36274 anonymous union.
36275
b53ef01a
AS
362762012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36277
37fb1dc0
AS
36278 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36279 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36280 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36281 Refer to _rtld_local_ro instead of _rtld_global_ro.
36282 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36283 Likewise.
36284 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36285 Likewise.
36286 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36287 Likewise.
36288 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36289 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36290 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36291
b53ef01a
AS
36292 * sysdeps/powerpc/powerpc32/dl-machine.c
36293 (__elf_machine_runtime_setup) [PROF]: Don't reference
36294 _dl_prof_resolve.
36295
7a185db2
AJ
362962012-05-18 Andreas Jaeger <aj@suse.de>
36297
36298 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36299 function only available for GCCs before 3.4 since GCC 3.4
36300 introduced a builtin.
36301 (lrint): Likewise.
36302 (llrintf): Likewise.
36303 (llrint): Likewise.
36304 (fmaxf): Likewise.
36305 (fmax): Likewise.
36306 (fminf): Likewise.
36307 (fmin): Likewise.
36308 (rint): Likewise.
36309 (rintf): Likewise.
36310 (nearbyint): Likewise.
36311 (nearbyintf): Likewise.
36312 (ceil): Likewise.
36313 (ceilf): Likewise.
36314 (floor): Likewise.
36315 (floorf): Likewise.
36316
3e5aef87
L
363172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36318
428bd707
L
36319 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36320 on both fields and cast pointer to __syscall_ulong_t.
36321
3e5aef87
L
36322 * bits/types.h (__fsword_t): New type.
36323 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36324 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36326 (__FSWORD_T_TYPE): Likewise.
36327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36328 (__FSWORD_T_TYPE): Likewise.
36329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36330 (__FSWORD_T_TYPE): Likewise.
36331 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36332 (__FSWORD_T_TYPE): Likewise.
36333 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36334 __SWORD_TYPE with __fsword_t.
36335 (statfs64): Likewise.
36336
1ba7c3dc
DM
363372012-05-17 David S. Miller <davem@davemloft.net>
36338
36339 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36340
59910343
AJ
363412012-05-17 Andreas Jaeger <aj@suse.de>
36342
36343 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36344 warning.
36345
2e4c1e9e
L
363462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36347
36348 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36349
de7f5ce7
AJ
363502012-05-17 Andreas Jaeger <aj@suse.de>
36351
36352 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36353 when it is used.
36354
286abc3d
CM
363552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36356
36357 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36358
477cc68e
L
363592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36360
36361 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36362 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36363
1a0994f5
CD
363642012-05-17 Andreas Jaeger <aj@suse.de>
36365 Carlos O'Donell <carlos_odonell@mentor.com>
36366
36367 [BZ #14059]
36368 * sysdeps/x86_64/multiarch/init-arch.h
36369 (bit_YMM_Usable): Rename to...
36370 (bit_AVX_Usable): ... this.
36371 (bit_FMA4_Usable): New macro.
36372 (bit_XMM_state): New macro.
36373 (bit_YMM_state): New macro.
36374 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36375 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36376 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36377 (CPUID_OSXSAVE): New macro.
36378 (CPUID_AVX): New macro.
36379 (CPUID_FMA4): New macro.
36380 (index_YMM_Usable): Rename to...
36381 (index_AVX_Usable): ... this.
36382 (HAS_AVX): Use HAS_ARCH_FEATURE.
36383 (HAS_FMA4): Likewise.
36384 (HAS_YMM_USABLE): Remove.
36385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36386 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36387 are present.
36388 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36389 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36390 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36391 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36392 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36393
0af797de
CM
363942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36395
36396 * math/libm-test.c: Support platforms without multiple rounding modes.
36397 * math/bug-nextafter.c: Support platforms without FP exceptions.
36398 * math/bug-nexttoward.c: Likewise.
36399 * math/test-fenv.c: Likewise.
36400 * math/test-misc.c: Likewise.
36401 * stdlib/bug-getcontext.c: Likewise.
36402
e39745ff
AJ
364032012-05-17 Andreas Jaeger <aj@suse.de>
36404
36405 * manual/examples/search.c (critter_cmp): Change signature to
36406 avoid warnings.
36407 * manual/string.texi (Collation Functions): Likewise.
36408
48970aba
L
364092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36410
36411 * bits/types.h: Fold copyright years.
36412 * bits/typesizes.h: Likewise.
36413 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36414 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36415 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36417 * time/time.h: Likewise.
36418
bedee953
PP
364192012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36420
36421 [BZ #208]
36422 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36423 in instead of returning them. Return void.
36424 (__libc_mallinfo): Accumulate over all arenas.
36425 (__malloc_stats): Adjust for change in int_mallinfo interface.
36426
61653dfb
RM
364272012-05-16 Roland McGrath <roland@hack.frob.com>
36428
30b99d79
RM
36429 [BZ #10375]
36430 * configure.in (NM): Add AC_CHECK_TOOL for it.
36431 (libc_extra_cflags): New substituted variable.
36432 Check for -fstack-protector being used implicitly.
36433 * configure: Regenerated.
36434 * config.make.in (config-extra-cflags): New variable,
36435 gets @libc_extra_cflags@.
36436 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36437
61653dfb
RM
36438 [BZ #10375]
36439 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36440 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36441 * configure: Regenerated.
36442 * config.make.in (CPPUNDEFS): New substituted variable.
36443 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36444 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36445 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36446
661768bb
L
364472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36448
36449 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36450 (mq_attr): Use __syscall_slong_t.
36451
d4261567
L
364522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36453
36454 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36455 Check __x86_64__ instead of __WORDSIZE.
36456 (_STAT_VER_LINUX): Likewise.
36457 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36458 __syscall_ulong_t and __syscall_slong_t.
36459 (stat64): Likewise.
36460
cf3ff365
L
364612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36462
36463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36464
76cf3e4d
L
364652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36466
36467 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36468
a637753a
L
364692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36470
36471 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36472 __syscall_ulong_t.
36473
d5e05119
L
36474 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36475 include <bits/wordsize.h>. Check __x86_64__ instead of
36476 __WORDSIZE.
36477 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36478 defined.
36479 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36480
f62ee380
L
36481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36482 include <bits/wordsize.h>. Check __x86_64__ instead of
36483 __WORDSIZE.
36484 (user_regs_struct): Use "__extension__ unsigned long long"
36485 instead of "unsigned long" if __x86_64__ is defined.
36486 (user): Likewise. Pad after pointer field if __ILP32__ is
36487 defined.
36488
4e124ced
JM
364892012-05-16 Joseph Myers <joseph@codesourcery.com>
36490
6a3951a0
JM
36491 * configure.in (makeinfo): Require version 4.5 or later. Allow
36492 versions 5 to 9.
36493 * configure: Regenerated.
36494 * manual/install.texi (texinfo): Increase version requirement to
36495 4.5 or later.
36496 * INSTALL: Regenerated.
36497
4e124ced
JM
36498 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36499
953ca31a
L
365002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36501
36502 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36503
617aca05
L
36504 * sysdeps/x86_64/x32/ffs.c: New file.
36505
5762f7ae
L
36506 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36507 __syscall_ulong_t.
36508 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36509 defined. Use __syscall_ulong_t.
36510 (shminfo): Use __syscall_ulong_t.
36511 (shm_info): Likewise.
36512
a26b6856
L
36513 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36514 __syscall_ulong_t.
36515
cb2b9ef7
L
36516 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36517 <bits/wordsize.h>.
36518 (msgqnum_t): Use __syscall_ulong_t.
36519 (msglen_t): Likewise.
36520 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36521 __syscall_ulong_t.
36522
34683bb0
L
36523 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36524 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36525
84a68786
L
36526 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36527
48baa5f1
L
36528 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36529 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36530
180be88b
L
36531 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36532 __syscall_slong_t.
36533
5e90c8ad
L
36534 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36535 include <bits/wordsize.h>. Check __x86_64__ instead of
36536 __WORDSIZE.
36537
23dfb58b
L
36538 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36539 "unsigned long long int" if __x86_64__ is defined.
36540 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36541
ce5d54b0
L
36542 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36543 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36544 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36545
13dc9eac
L
36546 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36547 <stdint.h>.
36548 (GET_PC): Cast to uintptr_t first.
36549 (GET_FRAME): Likewise.
36550 (GET_STACK): Likewise.
36551
a7895d15
L
36552 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36553 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36554 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36555 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36556 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36557 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36558 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36559 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36560 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36561 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36562 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36563 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36564 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36567 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36568 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36569 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36570 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36572 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36574 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36576 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36578 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36580 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36581
656416c9
AS
365822012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36583
5bd66283
AS
36584 * Makerules (+depfiles): Also collect depfiles from .oS in
36585 $(extra-objs).
36586 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36587 .oS, $(libnldbl-routines)).
36588
656416c9
AS
36589 * Makerules (native-compile-mkdep-flags): Define.
36590 * sunrpc/Makefile (extra-objs): Add $(addprefix
36591 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36592 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36593 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36594 calling $(make-target-directory).
36595
a46f2169
L
365962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36597
36598 * bits/types.h (__snseconds_t): Removed.
36599 * time/time.h (struct timespec): Replace __snseconds_t with
36600 __syscall_slong_t.
36601 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36602 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36603 Likewise.
36604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36605 (__SNSECONDS_T_TYPE): Likewise.
36606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36607 (__SNSECONDS_T_TYPE): Likewise.
36608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36609 (__SNSECONDS_T_TYPE): Likewise.
36610
6af6528b
L
366112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36612
36613 * sysdeps/mach/hurd/bits/typesizes.h
36614 (__SYSCALL_SLONG_TYPE): New macro.
36615 (__SYSCALL_ULONG_TYPE): Likewise.
36616
de986b56
L
366172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36618
36619 * bits/types.h (__syscall_slong_t): New type.
36620 (__syscall_ulong_t): Likewise.
36621
36622 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36623 (__SYSCALL_ULONG_TYPE): Likewise.
36624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36625 (__SYSCALL_SLONG_TYPE): Likewise.
36626 (__SYSCALL_ULONG_TYPE): Likewise.
36627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36628 (__SYSCALL_SLONG_TYPE): Likewise.
36629 (__SYSCALL_ULONG_TYPE): Likewise.
36630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36631 (__SYSCALL_SLONG_TYPE): Likewise.
36632 (__SYSCALL_ULONG_TYPE): Likewise.
36633
85736dc7
L
366342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36635
36636 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36637 Add sigaltstack-offsets.sym.
36638 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36639 <sigaltstack-offsets.h>.
36640 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36641 longjmp_msg pointer.
36642 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36643 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36644 signal stack.
36645 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36646
cc03b296
JM
366472012-05-15 Joseph Myers <joseph@codesourcery.com>
36648
a9538892
JM
36649 * elf/stackguard-macros.h: Remove file.
36650 * sysdeps/generic/stackguard-macros.h: New file.
36651 * sysdeps/i386/stackguard-macros.h: Likewise.
36652 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36653 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36654 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36655 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36656 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36657 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36658 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36659 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36660 <elf/stackguard-macros.h>.
36661
cc03b296
JM
36662 [BZ #14109]
36663 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36664 __aligned__ in attribute.
36665 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36666 (gregset_t): Likewise.
36667
93171016
L
366682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36669
36670 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36671 * sysdeps/x86_64/64/Implies-after: Here. New file.
36672 * sysdeps/x86_64/x32/Implies-after: New file.
36673
d86813a0
L
366742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36675
36676 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36677 and access return value for _dl_profile_fixup. Use R10_LP to
36678 load frame size.
36679
2953ec75
L
366802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36681
36682 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36683
3b550e9e
L
366842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36685
36686 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36687 * sysdeps/x86_64/x32/sysdep.h: New file.
36688
eda41706
L
366892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36690
36691 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36692 * sysdeps/x86_64/setjmp.S: Likewise.
36693
9ea01d93
AZ
366942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36695
36696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36697 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36698 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36700 remove unused global constant.
36701
02a91938
CM
367022012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36703
36704 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36705 include of <not-cancel.h>.
36706
6540185f
RM
367072012-05-15 Roland McGrath <roland@hack.frob.com>
36708
36709 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36710
509072a0
AJ
367112012-05-15 Jeff Law <law@redhat.com>
36712 Andreas Jaeger <aj@suse.de>
36713
36714 [BZ #13594]
36715 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36716 out from...
36717 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36718 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36719 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36720 code changing __hst_map_handle.map.
36721
ba75122d
RM
367222012-05-15 Roland McGrath <roland@hack.frob.com>
36723
36724 * configure.in (sysnames): Look for Implies-before and Implies-after
36725 files.
36726 * configure: Regenerated.
36727
890d8bd8
L
367282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36729
36730 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36731 8-byte data alignment with LP_SIZE alignment.
36732
f6ee6623
L
367332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36734
36735 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36736 into R10_LP.
36737
ea2626f6
L
367382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36739
36740 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36741
085f715e
L
367422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36743
36744 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36745 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36746 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36747 Likewise.
36748 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36749
be8498fc
L
367502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36751
36752 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36753 (stackinfo_sub_sp): Likewise.
36754
70bc83b9
L
367552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36756
36757 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36758 RAX_LP.
36759
9bc0b730
L
367602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36761
36762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36763 into R*_LP.
36764
6d2850e7
L
367652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36766
36767 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36768 sizes into R*_LP.
36769
3cb84561
L
367702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36771
36772 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36773
54e2ed81
L
367742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36775
36776 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36777 into R11_LP and load __x86_64_shared_cache_size_half into
36778 R8_LP.
36779
8a17f349
L
367802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36781
36782 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36783 R8_LP.
36784
777b1eea
AZ
367852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36786
36787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36788 logb for POWER7.
36789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36790 logbf for POWER7.
36791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36792 logbl for POWER7.
36793 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36794 powerpc32/power7/fpu/s_logb.c via #include.
36795 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36796 powerpc32/power7/fpu/s_logbf.c via #include.
36797 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36798 powerpc32/power7/fpu/s_logbl.c via #include.
36799
d20d4ac2
JM
368002012-05-15 Joseph Myers <joseph@codesourcery.com>
36801
36802 * README.libm: Remove file.
36803
6cdef1ab
L
368042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36805
36806 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36807 count for x32. Use R*_LP and omit operand-size suffix.
36808
0b254d8f
L
368092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36810
36811 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36812 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36813 * sysdeps/x86_64/x32/shlib-versions: New file.
36814
ceb809dc
RM
368152012-05-14 Roland McGrath <roland@hack.frob.com>
36816
36817 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36818 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36819 Use _dl_fatal_printf instead.
36820
37f1abd4
JM
368212012-05-14 Joseph Myers <joseph@codesourcery.com>
36822
36823 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36824 set if not set by the user. Do not allow for being unset.
36825 * sysdeps/unix/sysv/linux/configure: Regenerated.
36826
11de3a33
L
368272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36828
36829 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36830 the `q' suffix from lea and replace .quad with ASM_ADDR.
36831
e02f153a
L
368322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36833
36834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36835 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36836 instead of $17.
36837 (PTR_DEMANGLE): Likewise.
36838
520ae0fd
L
368392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36840
36841 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36842 (LP_OP): Likewise.
36843 (ASM_ADDR): Likewise.
36844 (RAX_LP): Likewise.
36845 (RBP_LP): Likewise.
36846 (RBX_LP): Likewise.
36847 (RCX_LP): Likewise.
36848 (RDI_LP): Likewise.
36849 (RSI_LP): Likewise.
36850 (RSP_LP): Likewise.
36851 (R8_LP): Likewise.
36852 (R9_LP): Likewise.
36853 (R10_LP): Likewise.
36854 (R10_LP): Likewise.
36855 (R11_LP): Likewise.
36856 (R12_LP): Likewise.
36857 (R13_LP): Likewise.
36858 (R14_LP): Likewise.
36859 (R15_LP): Likewise.
36860
b985be81
L
368612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36862
36863 * sysdeps/x86_64/x32/dl-machine.h: New file.
36864
6a4888ff
AJ
368652012-05-14 Andreas Jaeger <aj@suse.de>
36866
36867 * manual/Makefile (subdir): Remove export of subdir.
36868 (all): Remove target.
36869 (.PHONY): Remove all from list.
36870 (mkinstalldirs): Remove.
36871 (.PHONY): Remove installdirs from list.
36872 ($(inst_infodir)/libc.info): Use make-target-directory.
36873 (installdirs): Remove.
36874 (subdir_%): Remove.
36875 (glibc-targets): Remove.
36876 (lib): Remove.
36877 (stubs): Remove.
36878 ($(objpfx)stubs ../po/manual.pot): Remove.
36879 ($(objpfx)stamp%): Remove.
36880 (make-target-directory): Remove.
36881 (subdir_install): Remove.
36882 (routines): Remove.
36883 (aux): Remove.
36884 (sources): Remove.
36885 (objects): Remove.
36886 (headers): Remove.
36887
36888 [BZ #13750]
36889 * manual/.gitignore: Remove, it's not needed anymore.
36890 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36891 all files in it.
36892 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36893 directory.
36894 (texis): Renamed to $(objpfx)texis.
36895 (texis-path): New, contains path to generated files.
36896 (chapters.%): Use texis-path for complete path, add extra argument
36897 libc-texinfo.sh.
36898 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36899 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36900 (summary,texi, stamp-summary): Use complete path of
36901 files. Generate files in build dir.
36902 (dir-add.texi): Build in build dir.
36903 (libm-err.texi,stamp-libm-err): Likewise.
36904 (version.texi, stamp-version): Likewise.
36905 (.%c.texi): Likewise.
36906 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36907 (mostlyclean): Remove target.
36908 (realclean): Remove target.
36909 (generated): Add new variable with contents from mostlyclean and
36910 realclean, remove entries duplicated in common-mostlyclean, add
36911 stamp-libm-err and stamp-version.
36912 (generated-dirs): Add libc directory.
36913 ($(inst_infodir)/libc.info): Install files from build dir.
36914
36915 * manual/install.texi (Configuring and compiling): Adjust since
36916 the info files are not part of the tar ball anymore.
36917
7ac77294
AJ
369182012-05-14 Andreas Jaeger <aj@suse.de>
36919
36920 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36921 variable.
36922
ffb7875d
JM
369232012-05-14 Joseph Myers <joseph@codesourcery.com>
36924
36925 [BZ #13717]
36926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36927 to 2.2.0 where earlier.
36928 * sysdeps/unix/sysv/linux/configure: Regenerated.
36929 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36930 Remove conditional code.
36931 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36932 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36933 Remove conditional code.
36934 [!__NR_lchown]: Likewise.
36935 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36936 [__NR_lchown]: Likewise.
36937 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36938 comment referencing __ASSUME_LCHOWN_SYSCALL.
36939 * sysdeps/unix/sysv/linux/i386/sigaction.c
36940 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36941 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36942 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36943 Remove conditional code.
36944 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36945 (__protocol_available): Remove #if 0 code.
36946 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36947 conditional code.
36948 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36949 * sysdeps/unix/sysv/linux/kernel-features.h
36950 (__ASSUME_GETCWD_SYSCALL): Don't define.
36951 (__ASSUME_REALTIME_SIGNALS): Likewise.
36952 (__ASSUME_PREAD_SYSCALL): Likewise.
36953 (__ASSUME_PWRITE_SYSCALL): Likewise.
36954 (__ASSUME_POLL_SYSCALL): Likewise.
36955 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36956 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36957 non-SPARC.
36958 (__ASSUME_SIOCGIFNAME): Don't define.
36959 (__ASSUME_MSG_NOSIGNAL): Likewise.
36960 (__ASSUME_SENDFILE): Define unconditionally.
36961 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36962 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36963 conditional code.
36964 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36965 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36966 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36967 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36968 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36969 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36970 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36972 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36973 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36975 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36976 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36978 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36981 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36982 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36984 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36985 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36987 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36990 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36995 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36996 Remove conditional code.
36997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36998 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36999 Remove conditional code.
37000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37001 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37002 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37003 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37004 Remove conditional code.
37005 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37006 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37007 Remove conditional code.
37008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37009 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37010 Remove conditional code.
37011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37012 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37013 Remove conditional code.
37014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37015 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37016 Remove conditional code.
37017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37018 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37021 * sysdeps/unix/sysv/linux/sigaction.c
37022 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37023 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37024 * sysdeps/unix/sysv/linux/sigpending.c
37025 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37026 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37027 * sysdeps/unix/sysv/linux/sigprocmask.c
37028 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37029 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37030 * sysdeps/unix/sysv/linux/sigsuspend.c
37031 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37032 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37033 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37034 (__libc_missing_rt_sigs): Remove.
37035 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37036 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37037 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37038 Remove conditional code.
37039 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37040 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37041 return 1.
37042 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37043 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37044 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37045 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37046
1bfb7291
AJ
370472012-05-14 Andreas Jaeger <aj@suse.de>
37048
caae5a81
AJ
37049 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37050 it's not used in glibc.
37051 (__coshm1): Likewise.
37052 (__acosh1p): Likewise.
37053 (__sgn): Likewise.
37054
1bfb7291
AJ
37055 * manual/string.texi (Copying and Concatenation): Add missing
37056 variable in concat example.
37057 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37058
c044d724
L
370592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37060
144c5467 37061 [BZ #14103]
c044d724
L
37062 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37063 __builtin_clzl with __builtin_clzll.
37064
2523c62b
L
370652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37066
37067 [BZ #14104]
37068 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37069 libc_freeres_ptr.
37070
d7bb4c42
LD
370712012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37072
37073 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37074 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37075 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37076 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37077
9dc4e1fb
MF
370782012-05-14 Mike Frysinger <vapier@gentoo.org>
37079
37080 * NEWS: Update ia64 info.
37081
c7df0112
AS
370822012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37083
37084 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37085 used as bcopy.
37086
dc70356c
TS
370872012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37088
37089 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37090 * sysdeps/unix/syscalls.list (dup3): Likewise.
37091 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37092 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37093
9fb1a21f
L
370942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37095
37096 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37097 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37098
4822a2a5
L
370992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37100
37101 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37102 thread pointer.
37103 (TLS_IE): Use mov/add instead of movq/addq to load thread
37104 pointer.
37105 (TLS_GD_PREFIX): New.
37106 (TLS_GD): Use it.
37107
842b81d6
DM
371082012-05-11 David S. Miller <davem@davemloft.net>
37109
37110 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37111 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37112 (_FPU_SETCW): Likewise.
37113
1cf463cd
L
371142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37115
37116 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37117 is 32-byte aligned.
37118
60cc4a18
AS
371192012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37120
37121 [BZ #11837]
37122 * iconvdata/gb18030.c: Update tables.
37123 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37124 characters specially.
37125 (BODY for TO_LOOP): Add encoding of missing ranges.
37126
febb44a4
TS
371272012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37128
37129 [BZ #13673]
37130 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37131 * sysdeps/mach/hurd/dup3.c: Likewise.
37132 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37133 * sysdeps/powerpc/memmove.c:: Likewise.
37134
0a10fb9e
L
371352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37136
37137 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37138 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37139
df8a552f
L
371402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37141
37142 * elf/elf.h (R_X86_64_RELATIVE64): New.
37143 (R_X86_64_NUM): Updated.
37144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37145 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37146 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37147 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37148 tst-quad1pie tst-quad2pie
37149 (modules-names): Add tst-quadmod1 tst-quadmod2.
37150 ($(objpfx)tst-quad1): New dependency.
37151 ($(objpfx)tst-quad2): Likewise.
37152 ($(objpfx)tst-quad1pie): Likewise.
37153 ($(objpfx)tst-quad2pie): Likewise.
37154 * sysdeps/x86_64/tst-quad1.c: New file.
37155 * sysdeps/x86_64/tst-quad1pie.c: New file.
37156 * sysdeps/x86_64/tst-quad2.c: Likewise.
37157 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37158 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37159 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37160 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37161 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37162
f34d6f84
ST
371632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37164
f42d41d1
ST
37165 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37166 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37167 * streams/stropts.h (t_scalar_t): Define type.
37168
3c3571fc
ST
37169 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37170 (_PATH_PRESERVE): Set to "/var/lib".
37171 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37172
61f06bd3
ST
37173 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37174 instead of int.
37175
918d4d71
ST
37176 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37177 if __dir_mkfile succeeded.
37178
f34d6f84
ST
37179 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37180 checking for _hurd_dtablesize. Unlock it right after having
37181 finished _hurd_dtable allocation.
37182
10589b4a
TS
371832012-05-10 Thomas Schwinge <thomas@schwinge.name>
37184
674cdbc7
TS
37185 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37186 * sysdeps/mach/hurd/configure: Regenerated.
37187 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37188 special-casing to...
37189 * sysdeps/gnu/configure.in: ... this new file.
37190 * sysdeps/unix/sysv/linux/configure: Regenerated.
37191 * sysdeps/gnu/configure: New generated file.
37192
8e41b99f
TS
37193 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37194 for Linux: use nsec instead of usec, as well as:
37195 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37196 members of type struct timespec.
37197 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37198 New macros.
37199 (struct stat64): Likewise.
37200 (_STATBUF_ST_NSEC): New macro.
37201 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37202
10589b4a
TS
37203 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37204 __strtoul_internal rather than strtoul.
37205
63643c85
PT
372062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37207
37208 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37209 and reject them.
37210
3faebe6a
ST
372112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37212
37213 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37214 which preserves existing values.
37215 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37216
c6474b07
PT
372172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37218
37219 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37220 TIMEOUT values. Return EINVAL for NFDS values either negative or
37221 greater than FD_SETSIZE.
37222
1043890b
ST
372232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37224
37225 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37226 allocated, call __vm_protect to finish enabling the existing space, and
37227 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37228 allocate the remainder.
37229
37ed8b9b
PT
372302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37231
37232 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37233 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37234
db653660
ST
372352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37236
37ed8b9b
PT
37237 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37238 sysdeps/mach/hurd/readlink.c.
b29d4053 37239
db653660
ST
37240 * posix/tst-sysconf.c (posix_options): Only use
37241 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37242 _POSIX_SYNCHRONIZED_IO when they are defined
37243 * sysdeps/mach/hurd/bits/posix_opt.h:
37244 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37245 (_XOPEN_REALTIME): Undefine macro.
37246 (_XOPEN_REALTIME_THREADS): Undefine macro.
37247 (_XOPEN_SHM): Undefine macro.
37248 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37249 macro to -1.
37250 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37251 macro to -1.
37252 (_POSIX_ASYNC_IO): Undefine macro.
37253 (_POSIX_PRIORITIZED_IO): Undefine macro.
37254 (_POSIX_SPIN_LOCKS): Define macro to -1.
37255
ee16e894
ST
37256 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37257 SA_NODEFER, SA_RESETHAND.
37258 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37259 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37260 F_DUPFD_CLOEXEC.
37261
6103ae3b
TS
372622012-05-10 Thomas Schwinge <thomas@schwinge.name>
37263
37264 * elf/Makefile (pldd-modules): Define unconditionally.
37265
80b4e5f3
TS
372662012-05-10 Thomas Schwinge <thomas@schwinge.name>
37267
37268 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37269
edadcbd6
ST
372702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37271
37272 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37273 Return ENOENT when name is empty.
37274 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37275
80694780
TS
372762012-05-10 Thomas Schwinge <thomas@schwinge.name>
37277
1792c087
TS
37278 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37279
80694780
TS
37280 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37281
6b645f0d
ST
372822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37283
80694780
TS
37284 Fix mlock in all cases except non-readable pages.
37285 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37286 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37287
6b645f0d
ST
37288 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37289 (__mkdir): When path is `/', just fail with EEXIST.
37290 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37291
e468f8a3
TS
372922012-05-10 Thomas Schwinge <thomas@schwinge.name>
37293
37294 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37295 <sys/uio.h> (for writev).
37296 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37297 and <sys/param.h> (for MIN).
37298
a4186cff
PT
372992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37300
37301 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37302 REQUESTED_TIME. Properly set the remaining time and return EINTR
37303 if interrupted.
37304
510bbf14
TS
373052012-05-10 Thomas Schwinge <thomas@schwinge.name>
37306
37307 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37308 Depend on against $(link-rpcuserlibs).
37309
5d5722e8
ST
373102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37311
a4186cff
PT
37312 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37313 (__libc_stack_end): Do not use attribute_relro.
37314 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37315 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37316 to libthread-provided value.
a4186cff
PT
37317 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37318 attribute_relro.
5d5722e8 37319
37233df9
TS
373202012-05-10 Thomas Schwinge <thomas@schwinge.name>
37321
be971a2b
TS
37322 [BZ #3748]
37323 * bits/libc-lock.h (__libc_once_get): New macro.
37324 * sysdeps/mach/bits/libc-lock.h: Likewise.
37325 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37326 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37327 instead of using implementation details.
37328
37233df9
TS
37329 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37330 * libio/freopen.c: Likewise.
37331 * libio/freopen64.c: Likewise.
37332 * misc/syslog.c: Likewise.
37333 * nscd/connections.c: Likewise.
37334 * nscd/netgroupcache.c: Likewise.
37335 * sysdeps/posix/getcwd.c: Likewise.
37336
38de94a5
RM
373372012-05-10 Roland McGrath <roland@hack.frob.com>
37338
37339 * math/w_ilogbf.c: Add #include <limits.h>.
37340
67530489
ST
373412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37342
a4186cff 37343 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37344 path instead of returning without unlocking.
37345
67530489
ST
37346 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37347 immediate-write ioctls.
37348 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37349
5aa3a74a
TS
373502012-05-10 Thomas Schwinge <thomas@schwinge.name>
37351
18bad2ae
TS
37352 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37353 __builtin_frame_address instead of making assumptions about the
37354 location of the return address relative to DATA. Force early load of
37355 the return address.
37356 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37357 __builtin_frame_address.
37358
5aa3a74a
TS
37359 dup3 for GNU Hurd.
37360 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37361 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37362 implement dup3 and do some further code clean-ups.
37363 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37364 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37365
ecd0de9a
ST
373662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37367
cd9fa985
ST
37368 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37369
a4186cff
PT
37370 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37371 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37372 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37373 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37374 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37375 d->port.lock.
802ca5a5 37376
a4186cff
PT
37377 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37378 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37379 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37380
bcf55240
TS
373812012-05-10 Thomas Schwinge <thomas@schwinge.name>
37382
6960eb42
TS
37383 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37384 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37385 definitions.
37386
eb43375f
TS
37387 accept4 for GNU Hurd.
37388 * include/sys/socket.h (__libc_accept4): New prototype.
37389 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37390 to implement __libc_accept4.
37391 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37392 __libc_accept4.
37393 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37394
bcf55240
TS
37395 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37396 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37397 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37398 signal-defines.sym.
37399
6178c55b
ST
374002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37401
a4186cff 37402 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37403
6f080c2f
TS
374042012-05-10 Thomas Schwinge <thomas@schwinge.name>
37405
37406 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37407 assertion on O_CLOEXEC flag.
37408 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37409 * hurd/intern-fd.c: Likewise.
37410 * hurd/port2fd.c: Likewise.
37411
bcfe3a54
ST
374122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37413
37414 [BZ #3906]
37415 * bits/in.h (IPV6_PKTINFO): Define new macro.
37416 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37417
89c9aa49
AZ
374182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37419
37420 [BZ #13954]
37421 [BZ #13955]
37422 [BZ #13956]
37423 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37425 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37426 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37428 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37429 * math/libm-test.inc (logb_test) : Additional logb tests.
37430
021db4be
AJ
374312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37432 Andreas Jaeger <aj@suse.de>
37433
37434 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37435 * configure: Regenerated.
37436 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37437 * config.make.in (link-obsolete-rpc): New substituted variable.
37438 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37439 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37440 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37441 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37442 so that libc.a contains the symbols.
37443 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37444 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37445 * sunrpc/auth_none.c: Likewise.
37446 * sunrpc/auth_unix.c: Likewise.
37447 * sunrpc/authdes_prot.c: Likewise.
37448 * sunrpc/authuxprot.c: Likewise.
37449 * sunrpc/clnt_gen.c: Likewise.
37450 * sunrpc/clnt_perr.c: Likewise.
37451 * sunrpc/clnt_raw.c: Likewise.
37452 * sunrpc/clnt_simp.c: Likewise.
37453 * sunrpc/clnt_tcp.c: Likewise.
37454 * sunrpc/clnt_udp.c: Likewise.
37455 * sunrpc/clnt_unix.c: Likewise.
37456 * sunrpc/des_crypt.c: Likewise.
37457 * sunrpc/des_soft.c: Likewise.
37458 * sunrpc/get_myaddr.c: Likewise.
37459 * sunrpc/key_call.c: Likewise.
37460 * sunrpc/key_prot.c: Likewise.
37461 * sunrpc/netname.c: Likewise.
37462 * sunrpc/pm_getmaps.c: Likewise.
37463 * sunrpc/pm_getport.c: Likewise.
37464 * sunrpc/pmap_clnt.c: Likewise.
37465 * sunrpc/pmap_prot.c: Likewise.
37466 * sunrpc/pmap_prot2.c: Likewise.
37467 * sunrpc/pmap_rmt.c: Likewise.
37468 * sunrpc/publickey.c: Likewise.
37469 * sunrpc/rpc_cmsg.c: Likewise.
37470 * sunrpc/rpc_common.c: Likewise.
37471 * sunrpc/rpc_dtable.c: Likewise.
37472 * sunrpc/rpc_prot.c: Likewise.
37473 * sunrpc/rpc_thread.c: Likewise.
37474 * sunrpc/rtime.c: Likewise.
37475 * sunrpc/svc.c: Likewise.
37476 * sunrpc/svc_auth.c: Likewise.
37477 * sunrpc/svc_raw.c: Likewise.
37478 * sunrpc/svc_run.c: Likewise.
37479 * sunrpc/svc_tcp.c: Likewise.
37480 * sunrpc/svc_udp.c: Likewise.
37481 * sunrpc/svc_unix.c: Likewise.
37482 * sunrpc/svcauth_des.c: Likewise.
37483 * sunrpc/xcrypt.c: Likewise.
37484 * sunrpc/xdr.c: Likewise.
37485 * sunrpc/xdr_array.c: Likewise.
37486 * sunrpc/xdr_float.c: Likewise.
37487 * sunrpc/xdr_intXX_t.c: Likewise.
37488 * sunrpc/xdr_mem.c: Likewise.
37489 * sunrpc/xdr_rec.c: Likewise.
37490 * sunrpc/xdr_ref.c: Likewise.
37491 * sunrpc/xdr_sizeof.c: Likewise.
37492 * sunrpc/xdr_stdio.c: Likewise.
37493
b5c086a2
RM
374942012-05-10 Roland McGrath <roland@hack.frob.com>
37495
37496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37497 change. Update copyright years.
37498
6d74dd09
JM
374992012-05-10 Joseph Myers <joseph@codesourcery.com>
37500
37501 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37502
28e72501
MK
375032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37504 Joseph Myers <joseph@codesourcery.com>
37505 Paul Pluzhnikov <ppluzhnikov@google.com>
37506
37507 [BZ #14012]
37508 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37509 requiring rpcgen.
37510 [cross-compiling] (extra-libs): Likewise.
37511 [cross-compiling] (extra-libs-others): Likewise.
37512 [cross-compiling] (librpcsvc-routines): Likewise.
37513 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37514 [cross-compiling] (omit-deps): Likewise.
37515 (sunrpc-CPPFLAGS): New variable.
37516 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37517 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37518 (cross-rpcgen-objs): New variable.
37519 (extra-objs): Append $(cross-rpcgen-objs).
37520 ($(cross-rpcgen-objs)): New rule.
37521 ($(objpfx)cross-rpcgen): Likewise.
37522 (rpcgen-cmd): Define to use $(built-program-file). Expand
37523 comment.
37524 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37525 ($(objpfx)x%.stmp): Likewise.
37526 * sunrpc/proto.h [IS_IN_build] (_): Define.
37527 [IS_IN_build] (_libc_intl_domainname): Likewise.
37528
c8c59454
L
375292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37530
37531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37532 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37533 and R_X86_64_TPOFF64.
37534
6f27cd16
JM
375352012-05-10 Joseph Myers <joseph@codesourcery.com>
37536
37537 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37538 sysdeps/unix/sysv/syscalls.list.
37539 (stime): Likewise.
37540 (utime): Likewise.
37541 * sysdeps/unix/sysv/syscalls.list: Remove file.
37542
02467e1c
PE
375432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37544
37545 [BZ #3440]
37546 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37547 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37548 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37549 (__LC_IDENTIFICATION): Make these macros useful in #if
37550 expressions, as required by C99.
37551
da392631
AS
375522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37553
37554 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37555 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37556 after this.
37557
8115f29b
L
375582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37559
37560 * stdlib/longlong.h: Updated from GCC.
37561
bdd74070
AJ
375622012-05-09 Andreas Jaeger <aj@suse.de>
37563
edfe0dbe
AJ
37564 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37565 default is first entry.
37566 (run_mode): Set type.
37567 (main): Remove informal message about syslog.
37568 (options): Fix typo.
37569
bcfe3a54
ST
37570 [BZ #14053]
37571 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37572 to asm.
bcfe3a54
ST
37573 (lrint): Likewise.
37574 (llrintf): Likewise.
37575 (llrint): Likewise.
37576 (rint): Likewise.
37577 (rintf): Likewise.
37578 (nearbyint): Likewise.
37579 (nearbyintf): Likewise.
bdd74070 37580
91d8d69e
AJ
375812012-05-09 Andreas Jaeger <aj@suse.de>
37582 Pedro Alves <palves@redhat.com>
37583
37584 * nscd/nscd.c (run_mode): Use enum.
37585 (main): Cleanup coding style issue.
37586
bb90b80b
AJ
375872012-05-09 Alexandre Oliva <aoliva@redhat.com>
37588 Andreas Jaeger <aj@suse.de>
37589
bcfe3a54
ST
37590 * nscd/nscd.c (go_background): Replaced with...
37591 (run_mode): ... this.
bb90b80b 37592 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37593 (options): Add -F --foreground.
37594 (main): Implement it.
37595 (parse_opt): Parse it.
bb90b80b 37596
1a4b75a1
AJ
375972012-05-09 Andreas Jaeger <aj@suse.de>
37598
37599 [BZ #14083]
37600 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37601 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37602 -Wconversion warning.
37603 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37604 Likewise.
37605
b1cc2472
JM
376062012-05-09 Joseph Myers <joseph@codesourcery.com>
37607
37608 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37609 == 0.
37610 (LC_ALL): Use macro-int-constant.
37611 (LC_COLLATE): Likewise.
37612 (LC_CTYPE): Likewise.
37613 (LC_MESSAGES): Likewise.
37614 (LC_MONETARY): Likewise.
37615 (LC_NUMERIC): Likewise.
37616 (LC_TIME): Likewise.
37617 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37618 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37619 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37620 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37621 Specify type.
37622 [C99-based standards] (float_t): Expect type.
37623 [C99-based standards] (double_t): Expect type.
37624 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37625 type.
37626 [C99-based standards] (HUGE_VALL): Likewise.
37627 [C99-based standards] (INFINITY): Likewise.
37628 [C99-based standards] (NAN): Likewise.
37629 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37630 [C99-based standards] (FP_NAN): Likewise.
37631 [C99-based standards] (FP_NORMAL): Likewise.
37632 [C99-based standards] (FP_SUBNORMAL): Likewise.
37633 [C99-based standards] (FP_ZERO): Likewise.
37634 [C99-based standards] (FP_FAST_FMA): Use
37635 optional-macro-int-constant. Specify type. Require == 1.
37636 [C99-based standards] (FP_FAST_FMAF): Likewise.
37637 [C99-based standards] (FP_FAST_FMAL): Likewise.
37638 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37639 [C99-based standards] (FP_ILOGBNAN): Likewise.
37640 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37641 Specify type.
37642 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37643 [C99-based standards] (math_errhandling): Specify type.
37644 [ISO99 || ISO11] (signgam): Do not allow.
37645 [non-C99-based standards] (copysignf): Do not allow.
37646 [non-C99-based standards] (exp2f): Likewise.
37647 [non-C99-based standards] (log2f): Likewise.
37648 [non-C99-based standards] (modff): Allow.
37649 [non-C99-based standards] (erff): Do not allow.
37650 [non-C99-based standards] (erfcf): Likewise.
37651 [non-C99-based standards] (gammaf): Likewise.
37652 [non-C99-based standards] (hypotf): Likewise.
37653 [non-C99-based standards] (j0f): Likewise.
37654 [non-C99-based standards] (j1f): Likewise.
37655 [non-C99-based standards] (jnf): Likewise.
37656 [non-C99-based standards] (lgammaf): Likewise.
37657 [non-C99-based standards] (tgammaf): Likewise.
37658 [non-C99-based standards] (y0f): Likewise.
37659 [non-C99-based standards] (y1f): Likewise.
37660 [non-C99-based standards] (ynf): Likewise.
37661 [non-C99-based standards] (isnanf): Likewise.
37662 [non-C99-based standards] (acoshf): Likewise.
37663 [non-C99-based standards] (asinhf): Likewise.
37664 [non-C99-based standards] (atanhf): Likewise.
37665 [non-C99-based standards] (cbrtf): Likewise.
37666 [non-C99-based standards] (expm1f): Likewise.
37667 [non-C99-based standards] (ilogbf): Likewise.
37668 [non-C99-based standards] (log1pf): Likewise.
37669 [non-C99-based standards] (logbf): Likewise.
37670 [non-C99-based standards] (nextafterf): Likewise.
37671 [non-C99-based standards] (remainderf): Likewise.
37672 [non-C99-based standards] (rintf): Likewise.
37673 [non-C99-based standards] (scalbf): Likewise.
37674 [non-C99-based standards] (copysignl): Likewise.
37675 [non-C99-based standards] (exp2l): Likewise.
37676 [non-C99-based standards] (log2l): Likewise.
37677 [non-C99-based standards] (modfl): Allow.
37678 [non-C99-based standards] (erfl): Do not allow.
37679 [non-C99-based standards] (erfcl): Likewise.
37680 [non-C99-based standards] (gammal): Likewise.
37681 [non-C99-based standards] (hypotl): Likewise.
37682 [non-C99-based standards] (j0l): Likewise.
37683 [non-C99-based standards] (j1l): Likewise.
37684 [non-C99-based standards] (jnl): Likewise.
37685 [non-C99-based standards] (lgammal): Likewise.
37686 [non-C99-based standards] (tgammal): Likewise.
37687 [non-C99-based standards] (y0l): Likewise.
37688 [non-C99-based standards] (y1l): Likewise.
37689 [non-C99-based standards] (ynl): Likewise.
37690 [non-C99-based standards] (isnanl): Likewise.
37691 [non-C99-based standards] (acoshl): Likewise.
37692 [non-C99-based standards] (asinhl): Likewise.
37693 [non-C99-based standards] (atanhl): Likewise.
37694 [non-C99-based standards] (cbrtl): Likewise.
37695 [non-C99-based standards] (expm1l): Likewise.
37696 [non-C99-based standards] (ilogbl): Likewise.
37697 [non-C99-based standards] (log1pl): Likewise.
37698 [non-C99-based standards] (logbl): Likewise.
37699 [non-C99-based standards] (nextafterl): Likewise.
37700 [non-C99-based standards] (remainderl): Likewise.
37701 [non-C99-based standards] (rintl): Likewise.
37702 [non-C99-based standards] (scalbl): Likewise.
37703 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37704 [non-C99-based standards] (FP_*): Do not allow.
37705 [C99-based standards] (FP_*): Change to
37706 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37707 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37708 allow.
37709 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37710 (SIG_ERR): Likewise.
37711 [X/Open-based standards] (SIG_HOLD): Likewise.
37712 (SIG_IGN): Likewise.
37713 (SIGABRT): Use macro-int-constant. Specify type. Require
37714 positive value.
37715 (SIGFPE): Likewise.
37716 (SIGILL): Likewise.
37717 (SIGINT): Likewise.
37718 (SIGSEGV): Likewise.
37719 (SIGTER): Likewise.
37720 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37721 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37722 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37723 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37724 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37725 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37726 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37727 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37728 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37729 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37730 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37731 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37732 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37733 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37734 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37735 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37736 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37737 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37738 [X/Open-based standards] (SIGTRAP): Likewise.
37739 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37740 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37741 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37742 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37743 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37744 allow.
37745
b9f1922d
IW
377462012-05-08 Ian Wienand <ianw@vmware.com>
37747
37748 [BZ #14080]
37749 * time/tzset.c (__tzset_parse_tz): Update default rules for
37750 daylight time changes in the Energy Policy Act of 2005.
37751
1db86e88
AJ
377522012-05-09 Andreas Jaeger <aj@suse.de>
37753
37754 [BZ #13983]
37755 * elf/ldconfig.c (parse_conf): Change string to make clear that
37756 ldconfig only issued a warning if ld.so.conf does not exist.
37757
dee4a4e3
DM
377582012-05-08 David S. Miller <davem@davemloft.net>
37759
ee0db190
DM
37760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37761 movxtod instead of popping the value on the stack.
37762
dee4a4e3
DM
37763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37764
6a43ec98
CD
377652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37766
37767 * config.h.in: Add HAVE_ARM_PCS_VFP.
37768
05c2c961
RMG
377692012-05-08 Roland Mc Grath <roland@hack.frob.com>
37770
bcfe3a54
ST
37771 [BZ #13979]
37772 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37773 checking but the checks are disabled for any reason.
05c2c961 37774
4b30f61a
L
377752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37776
37777 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37778 and ELF64_R_TYPE with ELFW(R_TYPE).
37779
eee2bc67
JM
377802012-05-08 Joseph Myers <joseph@codesourcery.com>
37781
7ea5391a
JM
37782 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37783 (ulimit): Likewise.
37784
eee2bc67
JM
37785 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37786 (settimeofday): Likewise.
37787
abb66a67
MF
377882012-05-08 Mike Frysinger <vapier@gentoo.org>
37789
37790 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37791 a struct th_u2 inside the union, and move tu_block/tu_code into
37792 a new th_u3 union of tu_block/tu_code inside of that. Move
37793 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37794 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37795 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37796 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37797 (th_stuff): Change to th_u1.tu_stuff.
37798 (th_data): Define.
37799 (th_msg): Change to th_u1.th_u2.tu_data.
37800
7f18b530
DM
378012012-05-07 David S. Miller <davem@davemloft.net>
37802
05760585
DM
37803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37804
7f18b530
DM
37805 [BZ #14074]
37806 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37807 (SETUP_PIC_REG): Use it.
37808 (SETUP_PIC_REG_LEAF): Use it.
37809
495fd99f
JM
378102012-05-07 Joseph Myers <joseph@codesourcery.com>
37811
37812 [BZ #13885]
37813 [BZ #13923]
37814 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37815 USE_AS_EXPM1L.
37816 (EXPL_FINITE): Likewise.
37817 (FLDLOG): Likewise.
37818 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37819 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37820 e_expl.S.
37821 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37822 USE_AS_EXPM1L.
37823 (EXPL_FINITE): Likewise.
37824 (FLDLOG): Likewise.
37825 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37826 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37827 e_expl.S.
37828 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37829 test of -max_value argument for long double.
37830 * sysdeps/i386/fpu/libm-test-ulps: Update.
37831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37832
6693d694
DM
378332012-05-06 David S. Miller <davem@davemloft.net>
37834
37835 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37836 quad soft-float symbols whose references which are compiler
37837 generated.
37838 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37839
6c23e11c
JM
378402012-05-06 Joseph Myers <joseph@codesourcery.com>
37841
d8b82cad
JM
37842 [BZ #13884]
37843 [BZ #13914]
37844 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37845 USE_AS_EXP10L.
37846 (EXPL_FINITE): Likewise.
37847 (FLDLOG): Likewise.
37848 (c0): Likewise.
37849 (c1): Likewise.
37850 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37851 Adjust comments for base varying.
37852 (__expl_finite): Change alias to EXPL_FINITE.
37853 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37854 e_expl.S.
37855 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37856 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37858 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37859 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37860 USE_AS_EXP10L.
37861 (EXPL_FINITE): Likewise.
37862 (FLDLOG): Likewise.
37863 (c0): Likewise.
37864 (c1): Likewise.
37865 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37866 Adjust comments for base varying.
37867 (__expl_finite): Change alias to EXPL_FINITE.
37868 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37869 tests for bugs.
37870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37871
6c23e11c
JM
37872 [BZ #14064]
37873 * math/libm-test.inc (check_float_internal): Correct ulp
37874 calculation for subnormal expected results.
37875
29ba805c
AJ
378762012-05-06 Andreas Jaeger <aj@suse.de>
37877
37878 * Makeconfig (+math-flags): New, set to -frounding-math.
37879 (+cflags): Add +math-flags so that all of glibc gets compiled with
37880 it.
37881
37882 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37883
7b17aeda
JM
378842012-05-05 Joseph Myers <joseph@codesourcery.com>
37885
5779f134
JM
37886 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37887 Disable one test.
37888
41498f4d
JM
37889 [BZ #13787]
37890 [BZ #13922]
37891 [BZ #14036]
37892 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37893 (__ieee754_expl): Allow for and saturate large arguments.
37894 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37895 (u_threshold): Likewise.
37896 (__exp): Call __ieee754_exp before checking for overflow and
37897 underflow.
37898 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37899 (u_threshold): Likewise.
37900 (__expf): Call __ieee754_expf before checking for overflow and
37901 underflow.
37902 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37903 (u_threshold): Likewise.
37904 (__expl): Call __ieee754_expl before checking for overflow and
37905 underflow.
37906 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37907 (__ieee754_expl): Allow for and saturate large arguments.
37908 * math/libm-test.inc (exp_test): Add another test. Do not allow
37909 missing overflow exception on overflow.
37910 (expm1_test): Do not allow missing overflow exception on overflow.
37911
6698b8bf
JM
37912 * sysdeps/i386/fpu/e_expl.c: Move to ...
37913 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37914 rather than using inline asm.
37915 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37916 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37917 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37918
7b17aeda
JM
37919 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37920 (nice): Likewise.
37921 (poll): Likewise.
37922 (signal): Likewise.
37923 (time): Likewise.
37924 (times): Likewise.
37925
f7c85819
JM
379262012-05-04 Joseph Myers <joseph@codesourcery.com>
37927
37928 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37929 sysdeps/unix/common/syscalls.list.
37930 (fchmod): Likewise.
37931 (fchown): Likewise.
37932 (ftruncate): Likewise.
37933 (getrusage): Likewise.
37934 (gettimeofday): Likewise.
37935 (setpgid): Likewise.
37936 (setregid): Likewise.
37937 (setreuid): Likewise.
37938 (sigaction): Likewise.
37939 (truncate): Likewise.
37940 (vhangup): Likewise.
37941 * sysdeps/unix/common/syscalls.list: Remove file.
37942 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37943 * sysdeps/unix/sysv/linux/Implies: Likewise.
37944
336270d0
L
379452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37946
37947 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37949 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37950 Moved to ...
37951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37952 Here.
37953 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37954 to ...
37955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37956 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37957 to ...
37958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37959 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37960 to ...
37961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37962 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37963 to ...
37964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37965 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37966 to ...
37967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37968 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37969 to ...
37970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37971 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37972 to ...
37973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37974 Here.
37975 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37976 to ...
37977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37978 Here.
37979 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37980 to ...
37981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37982 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37983 Moved to ...
37984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37985 Here.
37986 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37987 to ...
37988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37989
d128e450
JM
379902012-05-04 Joseph Myers <joseph@codesourcery.com>
37991
fa8ee516
JM
37992 * sysdeps/unix/common/bits/dirent.h: Remove file.
37993 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37994
d128e450
JM
37995 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37996 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37997 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37998 * sysdeps/unix/bsd/isatty.c: Likewise.
37999 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38000 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38001 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38002
ff8faaf0 380032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38004
62881be4 38005 [BZ #13563]
31dc8730
AZ
38006 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38007 long double comparison inaccuracies.
38008 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38010
6fef930c
AS
380112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38012
38013 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38015
8f203e6c
JM
380162012-05-04 Joseph Myers <joseph@codesourcery.com>
38017
38018 [BZ #14049]
38019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38020 nonzero digits before rounding a hex value.
38021 * stdlib/tst-strtod.c (tests): Add another test.
38022
5197d9c2
AK
380232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38024
38025 * sysdeps/s390/fpu/libm-test-ulps: Update.
38026
f0c1dedf
AJ
380272012-05-03 Andreas Jaeger <aj@suse.de>
38028
38029 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38030 does not get optimized out.
38031 (malloc_opt_barrier): New.
38032
a65ef2ae 380332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38034 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38035
2b942cb7 38036 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38037 intermediate file deletion.
2b942cb7 38038 (generated): Add .symlist files.
a65ef2ae 38039
54b71e02
JM
380402012-05-03 Joseph Myers <joseph@codesourcery.com>
38041
38042 [BZ #13775]
38043 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38044 Redirect under this condition.
38045 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38046 [__USE_GNU] (__dprintf_chk): Not under this condition.
38047 [__USE_GNU] (__vdprintf_chk): Likewise.
38048 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38049 under this condition.
38050 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38051 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38052 [__USE_XOPEN2K8] (vdprintf): Likewise.
38053 [__USE_GNU] (__dprintf_chk): Not under this condition.
38054 [__USE_GNU] (__vdprintf_chk): Likewise.
38055 [__USE_GNU] (dprintf): Likewise.
38056 [__USE_GNU] (vdprintf): Likewise.
38057
d3dfcc41
RM
380582012-05-03 Roland McGrath <roland@hack.frob.com>
38059
38060 * elf/Makefile (common-generated): Set this instead of generated for
38061 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38062 $(all-built-dso)-derived lists.
38063
7ac30cc5
AJ
380642012-05-03 Andreas Jaeger <aj@suse.de>
38065
0c51e550
AJ
38066 * sysdeps/i386/fpu/libm-test-ulps: Update.
38067
7ac30cc5
AJ
38068 * FAQ: Removed.
38069 * FAQ.in: Likewise.
38070 * scripts/gen-FAQ.pl: Likewise.
38071 * manual/install.texi (Installation): Point to online location of
38072 FAQ.
38073 * Makefile (files-for-dist): Remove FAQ.
38074 (FAQ): Remove.
38075
d4c2917f
AM
380762012-05-02 Allan McRae <allan@archlinux.org>
38077
38078 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38079 (LDFLAGS-reldepmod5.so): Likewise.
38080 (LDFLAGS-reldep6mod1.so): Likewise.
38081 (LDFLAGS-reldep6mod4.so): Likewise.
38082 (LDFLAGS-reldep8mod3.so): Likewise.
38083 (LDFLAGS-unload4mod1.so): Likewise.
38084 (LDFLAGS-unload4mod2.so): Likewise.
38085 (LDFLAGS-tst-initorder): Likewise.
38086 (LDFLAGS-tst-initordera2.so): Likewise.
38087 (LDFLAGS-tst-initordera3.so): Likewise.
38088 (LDFLAGS-tst-initordera4.so): Likewise.
38089 (LDFLAGS-tst-initorderb2.so): Likewise.
38090 (LDFLAGS-noload): Likewise.
38091 (LDFLAGS-next): Likewise.
38092 (LDFLAGS-order2mod1.so): Likewise.
38093 (LDFLAGS-order2mod2.so): Likewise.
38094 (LDFLAGS-tst-initorder2): Likewise.
38095 (LDFLAGS-tst-initorder2a.so): Likewise.
38096 (LDFLAGS-tst-initorder2b.so): Likewise.
38097 (LDFLAGS-tst-initorder2c.so): Likewise.
38098 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38099
d77f993f
DM
381002012-05-02 David S. Miller <davem@davemloft.net>
38101
38102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38103
171a70b4
PP
381042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38105
38106 [BZ #14055]
38107 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38108
0be196ad
AJ
381092012-05-02 Andreas Jaeger <aj@suse.de>
38110
38111 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38112 since we manipulate rounding mode.
38113 (CPPFLAGS-test-idouble.c): Likewise.
38114 (CPPFLAGS-test-ifloat.c): Likewise.
38115 (CFLAGS-test-ldouble.c): Likewise.
38116 (CFLAGS-test-double.c): Likewise.
38117 (CFLAGS-test-float.c): Likewise.
38118 (CFLAGS-test-misc.c): Likewise.
38119 (CFLAGS-test-test-fenv.c): Likewise.
38120
4f9d04aa
AZ
381212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38122
2b942cb7
RM
38123 [BZ #2550]
38124 [BZ #2570]
38125 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38126 comparisons to determine direction to adjust input.
4f9d04aa 38127
82a79e7d
RM
381282012-05-01 Roland McGrath <roland@hack.frob.com>
38129
f5a01ca9
RM
38130 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38131 output to the target.
38132
90fe4186
RM
38133 * scripts/localplt.awk: New file.
38134 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38135 (check-localplt-CFLAGS): Variable removed.
38136 ($(all-built-dso:=.jmprel)): New static pattern rule.
38137 (generated): Add those targets.
38138 (localplt-built-dso): New variable.
38139 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38140
38141 * elf/check-localplt.c: File removed.
38142
82397ed6
RM
38143 * scripts/check-execstack.awk: New file.
38144 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38145 (check-execstack-CFLAGS): Variable removed.
38146 ($(objpfx)check-execstack.h): Target removed.
38147 ($(objpfx)execstack-default): New target.
38148 (generated): Add that instead of check-execstack.h.
38149 ($(all-built-dso:=.phdr)): New static pattern rule.
38150 (generated): Add those targets.
38151 * elf/check-execstack.c: File removed.
38152
82a79e7d
RM
38153 * scripts/check-textrel.awk: New file.
38154 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38155 (check-textrel-CFLAGS): Variable removed.
38156 (all-built-dso): Use := to define.o
38157 ($(all-built-dso:=.dyn)): New static pattern rule.
38158 (generated): Add those targets.
38159 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38160 * config.make.in (READELF): New substituted variable.
38161 * elf/check-textrel.c: File removed.
38162
62fde54f 381632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38164
615605c9
JM
38165 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38166 allow.
38167 * conform/data/ctype.h-data [C99-based standards] (isblank):
38168 Expect function.
38169 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38170 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38172 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38173 Specify type. Require positive value.
38174 (EILSEQ): Likewise.
38175 (ERANGE): Likewise.
38176 [ISO || POSIX] (EILSEQ): Do not expect.
38177 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38178 Specify type. Require positive value.
38179 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38180 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38181 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38182 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38183 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38184 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38185 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38186 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38187 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38188 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38189 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38190 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38191 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38192 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38193 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38194 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38195 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38196 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38197 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38198 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38199 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38200 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38201 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38202 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38203 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38204 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38205 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38206 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38207 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38208 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38209 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38210 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38211 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38212 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38213 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38214 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38215 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38216 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38217 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38218 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38219 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38220 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38221 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38222 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38223 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38224 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38225 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38226 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38227 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38228 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38229 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38230 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38231 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38232 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38233 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38234 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38235 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38236 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38237 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38238 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38239 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38240 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38241 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38242 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38243 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38244 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38245 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38246 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38247 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38248 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38249 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38250 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38251 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38252 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38253 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38254 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38255 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38256 Require >= 2.
38257 (FLT_ROUNDS): Expect as macro, not constant.
38258 (FLT_MANT_DIG): Use macro-int-constant.
38259 (DBL_MANT_DIG): Likewise.
38260 (LDBL_MANT_DIG): Likewise.
38261 (FLT_DIG): Likewise.
38262 (DBL_DIG): Likewise.
38263 (LDBL_DIG): Likewise.
38264 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38265 (DBL_MIN_EXP): Likewise.
38266 (LDBL_MIN_EXP): Likewise.
38267 (FLT_MAX_EXP): Use macro-int-constant.
38268 (DBL_MAX_EXP): Likewise.
38269 (LDBL_MAX_EXP): Likewise.
38270 (FLT_MAX_10_EXP): Likewise.
38271 (DBL_MAX_10_EXP): Likewise.
38272 (LDBL_MAX_10_EXP): Likewise.
38273 (FLT_MAX): Use macro-constant.
38274 (DBL_MAX): Likewise.
38275 (LDBL_MAX): Likewise.
38276 (FLT_EPSILON): Use macro-constant. Give upper bound.
38277 (DBL_EPSILON): Likewise.
38278 (LDBL_EPSILON): Likewise.
38279 (FLT_MIN): Likewise.
38280 (DBL_MIN): Likewise.
38281 (LDBL_MIN): Likewise.
38282 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38283 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38284 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38285 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38286 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38287 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38288 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38289 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38290 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38291 [ISO11] (FLT_TRUE_MIN): Likewise.
38292 [ISO11] (LDBL_TRUE_MIN): Likewise.
38293 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38294 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38295 (SCHAR_MIN): Use macro-int-constant. Specify type.
38296 (SCHAR_MAX): Likewise.
38297 (UCHAR_MAX): Likewise.
38298 (CHAR_MIN): Likewise.
38299 (CHAR_MAX): Likewise.
38300 (MB_LEN_MAX): Use macro-int-constant.
38301 (SHRT_MIN): Use macro-int-constant. Specify type.
38302 (SHRT_MAX): Likewise.
38303 (USHRT_MAX): Likewise.
38304 (INT_MAX): Likewise.
38305 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38306 bound negative.
38307 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38308 bound with "U".
38309 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38310 bound with "L".
38311 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38312 bound negative. Suffix upper bound with "L".
38313 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38314 bound with "UL".
38315 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38316 Specify type.
38317 [C99-based standards] (LLONG_MAX): Likewise.
38318 [C99-based standards] (ULLONG_MAX): Likewise.
38319 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38320 == 0.
38321 [ISO11] (max_align_t): Require type.
38322 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38323
c9140a62
JM
38324 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38325 from $CFLAGS, without defining away __attribute__ calls.
38326 (checknamespace): Use $CFLAGS_namespace.
38327
9af0bf29
JM
38328 * conform/conformtest.pl (@keywords): Only include C99 keywords
38329 for standards based on C99 or C11.
38330
343222a2
JM
38331 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38332 Disable tests.
38333 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38334 UNIX98]: Likewise.
38335
661f8cf0
JM
38336 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38337 usability of symbols in #if.
38338
ee74b9cb
JM
38339 * conform/conformtest.pl: If macro or constant types start
38340 "promoted:", expect the symbol to be of the following type
38341 promoted by the integer promotions.
62fde54f 38342
aafc49b3
JM
38343 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38344 in one place. Also handle "macro-constant".
38345
fefdf574
JM
38346 * conform/conformtest.pl: Only accept expected macro values with
38347 "==". Parse all "macro" lines in one place.
38348 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38349
f2d922fe
JM
38350 * conform/conformtest.pl: Handle braced types on "constant" lines
38351 instead of handling "typed-constant".
38352 * conform/data/signal.h-data: Use "constant" instead of
38353 "typed-constant".
38354
d22956c9
JM
38355 * conform/conformtest.pl: Handle "optional-" at start of lines in
38356 one place rather than duplicating several cases. Handle each
38357 format of "macro" line with initial "optional-".
38358
028e2e38
JM
38359 * conform/conformtest.pl: Only accept expected constant or
38360 optional-constant values with "==". Parse all "constant" lines in
38361 one place. Parse all "optional-constant" lines in one place.
38362 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38363 * conform/data/fmtmsg.h-data: Likewise.
38364 * conform/data/netinet/in.h-data: Likewise.
38365 * conform/data/tar.h-data: Likewise.
38366 * conform/data/limits.h-data: Use "==" form on "constant" and
38367 "optional-constant" lines.
38368
1b8f2850
JM
38369 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38370 Use -std=c99 for XOPEN2K.
38371 (@knownproblems): Remove.
38372 (newtoken): Don't check %isknown.
38373
a05a144b
JM
38374 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38375 Do not expect macro.
38376 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38377 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38378 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38379 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38380 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38381 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38382 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38383 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38384 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38385 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38386 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38387 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38388 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38389 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38390 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38391 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38392 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38393 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38394 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38395 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38396 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38397 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38398 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38399 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38400 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38401 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38402 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38403 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38404 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38405 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38406 [XPG3] (acosh): Likewise.
38407 [XPG3] (asinh): Likewise.
38408 [XPG3] (atanh): Likewise.
38409 [XPG3] (cbrt): Likewise.
38410 [XPG3] (expm1): Likewise.
38411 [XPG3] (ilogb): Likewise.
38412 [XPG3] (log1p): Likewise.
38413 [XPG3] (logb): Likewise.
38414 [XPG3] (nextafter): Likewise.
38415 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38416 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38417 [XPG3] (remainder): Likewise.
38418 [XPG3] (rint): Likewise.
38419 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38420 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38421 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38422 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38423 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38424 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38425 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38426 [UNIX98 || XOPEN2K] (scalb): Expect.
38427 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38428 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38429 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38430 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38431 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38432 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38433 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38434 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38435 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38436 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38437 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38438 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38439 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38440 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38441 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38442 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38443 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38444 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38445 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38446 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38447 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38448 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38449 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38450 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38451 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38452 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38453 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38454 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38455 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38456 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38457 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38458 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38459 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38460 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38461 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38462 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38463 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38464 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38465 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38466 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38467 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38468 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38469 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38470 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38471 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38472 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38473 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38474 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38475 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38476 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38477 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38478 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38479 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38480 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38481 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38482 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38483 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38484 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38485 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38486 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38487 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38488 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38489 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38490 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38491 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38492 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38493 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38494 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38495 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38496 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38497 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38498 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38499 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38500 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38501 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38502 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38503 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38504 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38505 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38506 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38507 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38508 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38509 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38510 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38511 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38512 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38513 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38514 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38515 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38516 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38517 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38518 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38519 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38520 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38521 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38522 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38523 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38524 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38525 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38526 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38527 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38528 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38529 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38530 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38531 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38532 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38533 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38534 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38535 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38536 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38537 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38538 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38539 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38540 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38541 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38542 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38543 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38544 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38545 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38546 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38547 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38548 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38549 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38550 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38551 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38552 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38553 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38554 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38555 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38556 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38557 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38558 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38559 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38560 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38561 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38562 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38563 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38564
73c5ebe3
JM
38565 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38566 _XOPEN_SOURCE_EXTENDED for XPG4.
38567
39c33b6c
JM
38568 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38569
62fde54f
JM
38570 * Makeconfig (localtime): Remove variable.
38571 (inst_localtime-file): Likewise.
38572
0741d64c
AS
385732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38574
38575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38576 Update.
38577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38578 Update.
38579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38580 Update.
38581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38582 Update.
38583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38584 Update.
38585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38586 Update.
38587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38588 Update.
38589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38590 Update.
38591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38592 Update.
38593
7cb029ee
JM
385942012-05-01 Joseph Myers <joseph@codesourcery.com>
38595
38596 [BZ #2550]
38597 [BZ #2570]
38598 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38599 comparisons to determine direction to adjust input.
38600 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38601 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38602 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38603 Likewise.
38604 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38605 Likewise.
38606 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38607 Likewise.
38608 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38609 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38610 Likewise.
38611 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38612 Likewise.
38613 * math/libm-test.inc (nexttoward_test): Add more tests.
38614
412bd966
AS
386152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38616
38617 [BZ #14040]
38618 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38619 in version GLIBC_2.1, not GLIBC_2.0.
38620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38621 Likewise.
38622
9568c0c2
JM
386232012-04-30 Joseph Myers <joseph@codesourcery.com>
38624
adfbc8ac
JM
38625 [BZ #13942]
38626 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38627 (1 - x) * (1 + x).
38628 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38629 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38630 * math/libm-test.inc (acos_test): Add more tests.
38631 (asin_test): Likewise.
38632 * sysdeps/i386/fpu/libm-test-ulps: Update.
38633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38634
5ba3cc69
JM
38635 [BZ #14034]
38636 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38637 of square root.
38638 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38639 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38640 * math/libm-test.inc (acos_test_tonearest): New function.
38641 (acos_test_towardzero): Likewise.
38642 (acos_test_downward): Likewise.
38643 (acos_test_upward): Likewise.
38644 (asin_test_tonearest): Likewise.
38645 (asin_test_towardzero): Likewise.
38646 (asin_test_downward): Likewise.
38647 (asin_test_upward): Likewise.
38648 (main): Call the new functions.
38649 * sysdeps/i386/fpu/libm-test-ulps: Update.
38650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38651
9568c0c2
JM
38652 [BZ #13884]
38653 [BZ #13924]
38654 * math/e_exp10.c: Include <float.h>.
38655 (__ieee754_exp10): Handle underflow here rather than multiplying
38656 large negative argument by M_LN10.
38657 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38658 of __ieee754_expf.
38659 * math/e_exp10l.c: Include <float.h>.
38660 (__ieee754_exp10l): Handle underflow here rather than multiplying
38661 large negative argument by M_LN10l.
38662 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38663 spurious overflow exception on underflow.
38664
5ac3ea17
MP
386652012-04-29 Marek Polacek <polacek@redhat.com>
38666
38667 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38668 (__fortify_function): New macro.
38669 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38670 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38671 __extern_always_inline.
38672 * libio/bits/stdio2.h: Likewise.
38673 * libio/bits/stdio.h: Likewise.
38674 * string/string.h: Likewise.
38675 * string/bits/string3.h: Likewise.
38676 * include/stdio.h: Likewise.
38677 * stdlib/bits/stdlib.h: Likewise.
38678 * stdlib/stdlib.h: Likewise.
38679 * rt/bits/mqueue2.h: Likewise.
38680 * rt/mqueue.h: Likewise.
38681 * posix/bits/unistd.h: Likewise.
38682 * posix/unistd.h: Likewise.
38683 * io/bits/poll2.h: Likewise.
38684 * io/bits/fcntl2.h: Likewise.
38685 * io/fcntl.h: Likewise.
38686 * io/sys/poll.h: Likewise.
38687 * misc/bits/syslog.h: Likewise.
38688 * misc/bits/syslog-ldbl.h: Likewise.
38689 * misc/sys/syslog.h: Likewise.
38690 * socket/bits/socket2.h: Likewise.
38691 * socket/sys/socket.h: Likewise.
38692 * debug/tst-chk1.c: Likewise.
38693 * wcsmbs/bits/wchar2.h: Likewise.
38694 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38695 * wcsmbs/wchar.h: Likewise.
38696
ecf0ebfb
AJ
386972012-04-29 Andreas Jaeger <aj@suse.de>
38698
38699 * Makerules (tests): Remove enable-check-abi protection.
38700 (check-abi-warn): Remove.
38701 (check-abi-%): Remove check-abi-warn usage.
38702
38703 * configure.in: Remove check-abi configure option.
38704 * configure: Regenerated.
38705 * config.make.in (enable-check-abi): Remove.
38706
6d5c57fa
AS
387072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38708
24c5d07e 38709 [BZ #14033]
ded5180a
AS
38710 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38711 double functions to double *_finite functions.
38712
7e0d315d
AS
38713 [BZ #13941]
38714 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38715 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38716 LDBL_MIN_EXP.
38717 * stdio-common/Makefile (tests): Add tst-sprintf3.
38718 * stdio-common/tst-sprintf3.c: New file.
38719
6d5c57fa
AS
38720 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38721 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38722
0749ff8b
JM
387232012-04-28 Joseph Myers <joseph@codesourcery.com>
38724
38725 * conform/conformtest.pl: Remove duplicate typed-constant
38726 handling.
38727
8dbd5d7b
DM
387282012-04-28 David S. Miller <davem@davemloft.net>
38729
38730 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38731 (check-abi-%): Remove AWK script prerequisite and explicit
38732 abilist directory.
38733 (check-abi): Rewrite to just diff the symlist with the abilist.
38734 (config-tls, config-abi-config): Delete, no longer used.
38735 (update-abi-%): Remove AWK script and explicit abilist directory.
38736 (update-abi): Rewrite to simply compare and conditionally copy the
38737 symlist and the sysdep abilist file. Remove update-abi-config
38738 checks.
38739 * abilist/ld.abilist: Remove.
38740 * abilist/libBrokenLocale.abilist: Remove.
38741 * abilist/libanl.abilist: Remove.
38742 * abilist/libcrypt.abilist: Remove.
38743 * abilist/libdl.abilist: Remove.
38744 * abilist/librt.abilist: Remove.
38745 * abilist/libthread_db.abilist: Remove.
38746 * abilist/libutil.abilist: Remove.
38747 * scripts/extract-abilist.awk: Remove.
38748 * scripts/merge-abilist.awk: Remove.
38749 * sysdeps/generic/libcidn.abilist: New file.
38750 * sysdeps/generic/libnss_compat.abilist: New file.
38751 * sysdeps/generic/libnss_db.abilist: New file.
38752 * sysdeps/generic/libnss_dns.abilist: New file.
38753 * sysdeps/generic/libnss_files.abilist: New file.
38754 * sysdeps/generic/libnss_hesiod.abilist: New file.
38755 * sysdeps/generic/libnss_nis.abilist: New file.
38756 * sysdeps/generic/libnss_nisplus.abilist: New file.
38757 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38758 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38759 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38760 file.
38761 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38762 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38763 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38764 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38765 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38766 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38767 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38768 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38769 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38770 file.
38771 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38772 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38773 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38774 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38775 file.
38776 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38777 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38778 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38779 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38780 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38781 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38782 file.
38783 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38784 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38785 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38786 file.
38787 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38789 New file.
38790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38791 New file.
38792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38793 New file.
38794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38795 New file.
38796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38797 New file.
38798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38799 New file.
38800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38801 New file.
38802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38803 New file.
38804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38805 New file.
38806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38807 New file.
38808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38809 New file.
38810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38811 New file.
38812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38813 New file.
38814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38815 file.
38816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38817 New file.
38818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38819 New file.
38820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38821 file.
38822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38823 New file.
38824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38825 New file.
38826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38827 file.
38828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38829 New file.
38830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38831 New file.
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38833 New file.
38834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38835 New file.
38836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38837 New file.
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38839 New file.
38840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38842 file.
38843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38844 New file.
38845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38846 file.
38847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38848 file.
38849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38850 file.
38851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38852 file.
38853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38854 file.
38855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38856 New file.
38857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38858 file.
38859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38860 file.
38861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38862 New file.
38863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38864 file.
38865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38867 file.
38868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38869 New file.
38870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38871 file.
38872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38873 file.
38874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38875 file.
38876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38877 file.
38878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38879 file.
38880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38881 New file.
38882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38883 file.
38884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38885 file.
38886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38887 New file.
38888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38889 file.
38890 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38891 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38892 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38893 file.
38894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38895 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38896 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38897 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38898 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38899 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38900 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38901 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38902 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38903 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38906 file.
38907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38908 New file.
38909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38910 file.
38911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38912 file.
38913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38914 file.
38915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38916 file.
38917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38918 file.
38919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38920 New file.
38921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38922 New file.
38923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38924 file.
38925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38926 New file.
38927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38928 file.
38929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38931 file.
38932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38933 New file.
38934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38935 file.
38936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38937 file.
38938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38939 file.
38940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38941 file.
38942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38943 file.
38944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38945 New file.
38946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38947 New file.
38948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38949 file.
38950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38951 New file.
38952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38953 file.
38954
41d73a1b
JM
389552012-04-28 Joseph Myers <joseph@codesourcery.com>
38956
38957 * conform/conformtest.pl: Fix typo in handling typed-constant from
38958 allow-header.
38959
28aeeda4
JM
389602012-04-27 Joseph Myers <joseph@codesourcery.com>
38961
adae8f5e
JM
38962 * README: Cut down references to pre-2.6 Linux kernels and
38963 Linuxthreads. Update lists of configurations in libc and ports
38964 and sort alphabetically. Say "or newer" with Linux kernel version
38965 requirements.
38966
28aeeda4
JM
38967 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38968
a462cb63
RA
389692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38970
38971 [BZ #887]
38972 * math/libm-test.inc (logb_test_downward): New test to expose
38973 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38974 rounding mode.
38975
6ad3493e
JM
389762012-04-27 Joseph Myers <joseph@codesourcery.com>
38977
38978 [BZ #14027]
38979 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38980 to be done.
38981 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38982 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38983
2ce4f015
JM
389842012-04-26 Joseph Myers <joseph@codesourcery.com>
38985
5aeb141a
JM
38986 * sysdeps/unix/i386/brk.S: Remove file.
38987 * sysdeps/unix/i386/dl-brk.S: Likewise.
38988 * sysdeps/unix/i386/pipe.S: Likewise.
38989 * sysdeps/unix/i386/sigreturn.S: Likewise.
38990 * sysdeps/unix/i386/syscall.S: Likewise.
38991 * sysdeps/unix/i386/vfork.S: Likewise.
38992 * sysdeps/unix/i386/wait.S: Likewise.
38993
7143acae
JM
38994 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38995 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38996
2ce4f015
JM
38997 * configure.in (arm*-none*): Do not allow without
38998 --enable-hacker-mode.
38999 (netbsd*): Remove case setting base_os.
39000 (386bsd*): Likewise.
39001 (freebsd*): Likewise.
39002 (bsdi*): Likewise.
39003 (osf*): Likewise.
39004 (sunos*): Likewise.
39005 (ultrix*): Likewise.
39006 (newsos*): Likewise.
39007 (dynix*): Likewise.
39008 (*bsd*): Likewise.
39009 (sysv*): Likewise.
39010 (isc*): Likewise.
39011 (esix*): Likewise.
39012 (sco*): Likewise.
39013 (minix*): Likewise.
39014 (irix4*): Likewise.
39015 (irix6*): Likewise.
39016 (solaris[2-9]*): Likewise.
39017 (none): Likewise.
39018 * configure: Regenerated.
39019
0ac229c8
AZ
390202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39021
39022 [BZ #11521]
39023 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39024 overflow or cancellation in calculating denominator.
39025 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39027 down expression to avoid unexpected rounding in newer GCCs.
39028 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39029
33f244f4
DM
390302012-04-26 David S. Miller <davem@davemloft.net>
39031
39032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39033 long-double compat symbols.
39034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39047
cfa1f3e8
DM
390482012-04-25 David S. Miller <davem@davemloft.net>
39049
39050 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39051 HWCAP_* values only after the memory barriers have been defined.
39052 (atomic_full_barrier): Define.
39053 (atomic_read_barrier): Define.
39054 (atomic_write_barrier): Define.
39055
6e236b92
SP
390562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39057
39058 * shlib-versions: Add libgcc_s version information.
39059 * sysdeps/generic/libgcc_s.h: Remove.
39060 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39061 libgcc_s.h.
39062 * sysdeps/gnu/unwind-resume.c: Likewise.
39063 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39064
aab39a09
DM
390652012-04-25 David S. Miller <davem@davemloft.net>
39066
39067 * sysdeps/unix/sparc/brk.S: Delete.
39068 * sysdeps/unix/sparc/dl-brk.S: Delete.
39069 * sysdeps/unix/sparc/pipe.S: Delete.
39070 * sysdeps/unix/sparc/sysdep.S: Delete.
39071 * sysdeps/unix/sparc/sysdep.h: Delete.
39072 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39073 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39074 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39075 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39076 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39077 (JUMPTARGET): Remove.
39078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39079 sysdeps/unix/sparc/sysdep.h
39080 (ENTRY, END): Remove.
39081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39082
a3cc4f48
JM
390832012-04-25 Joseph Myers <joseph@codesourcery.com>
39084
2ed8cda2
JM
39085 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39086 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39087 -DIS_IN_build.
39088
35d76d59
JM
39089 * timezone/README: Update upstream location and email address for
39090 tzcode and tzdata.
39091 * timezone/zdump.c: Update from tzcode 2012b.
39092 * timezone/zic.c: Likewise.
39093
a3cc4f48
JM
39094 * configure.in (libc_cv_as_needed): Remove test.
39095 * configure: Regenerated.
39096 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39097 conditional definition.
39098 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39099 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39100 * config.make.in (have-as-needed): Remove variable.
39101
ceab42c3
SP
391022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39103 Paul Pluzhnikov <ppluzhnikov@google.com>
39104
39105 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39106 strings correctly.
39107
3ce2865f
CLT
391082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39109
39110 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39111 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39112 * sysdeps/sh/strlen.S: Likewise.
39113
f37e0d68
JM
391142012-04-24 Joseph Myers <joseph@codesourcery.com>
39115
ae186e9a
JM
39116 * sysdeps/unix/fork.S: Remove file.
39117 * sysdeps/unix/i386/fork.S: Likewise.
39118 * sysdeps/unix/sparc/fork.S: Likewise.
39119
b96914af
JM
39120 * sysdeps/unix/system.c: Remove file.
39121 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39122
f37e0d68
JM
39123 * sysdeps/unix/getegid.S: Remove file.
39124 * sysdeps/unix/geteuid.S: Likewise.
39125
87ef29ca
RM
391262012-04-24 Roland McGrath <roland@hack.frob.com>
39127
83bcd236
RM
39128 * scripts/check-localplt.awk: New file.
39129 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39130 of diff.
39131 * scripts/data/localplt-generic.data: Add a comment.
39132
87ef29ca
RM
39133 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39134 NODE when __dir_mkfile failed.
39135 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39136 Reported by Ludovic Courtès <ludo@gnu.org>.
39137
e5a6e567
AJ
391382012-04-24 Andreas Jaeger <aj@suse.de>
39139
39140 * Makerules (common-clean): Also remove gen-as-const-headers
39141 files.
39142
c1820385
JM
391432012-04-24 Joseph Myers <joseph@codesourcery.com>
39144
39145 * Makerules (native-compile): Do not change working directory for
39146 build. Use $(OUTPUT_OPTION) in command.
39147 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39148
94e02fc4
AZ
391492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39150
39151 [BZ #13886]
39152 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39153 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39154 * math/libm-test.inc (floor_test): Add more tests.
39155 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39156
3a533ca3
JM
391572012-04-24 Joseph Myers <joseph@codesourcery.com>
39158
940ab4b3
JM
39159 * sysdeps/unix/getdents.c: Remove file.
39160 * sysdeps/unix/sysv/getdents.c: Likewise.
39161 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39162
90e037bd
JM
39163 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39164 sysdeps/unix/mman/syscalls.list.
39165 (mmap): Likewise.
39166 (mprotect): Likewise.
39167 (msync): Likewise.
39168 (munmap): Likewise.
39169 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39170 * sysdeps/unix/mman/syscalls.list: Remove.
39171 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39172
3a533ca3
JM
39173 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39174 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39175 * configure: Regenerated.
39176 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39177 $(libgcc_s_suffix).
39178 * config.make.in (libgcc_s_suffix): Remove variable.
39179
1ad743de
JM
391802012-04-23 Joseph Myers <joseph@codesourcery.com>
39181
4ad451e2
JM
39182 * sysdeps/unix/sysv/gethostname.c: Move to ...
39183 * sysdeps/posix/gethostname.c: ... here.
39184
5e37ce39
JM
39185 * sysdeps/unix/execve.S: Remove file.
39186
1ad743de
JM
39187 * sysdeps/unix/_exit.S: Remove file.
39188
4e681b5b
AJ
391892012-04-23 Andreas Jaeger <aj@suse.de>
39190
39191 [BZ #13739]
39192 * manual/Makefile: Remove make dist support, there's no
39193 need for a stand-alone documentation tar ball.
39194 (TEXI2DVI): Define always, it's not in Makeconfig.
39195 (dist): Removed.
39196 (tar-it): Removed.
39197 (edition): Removed.
39198 (glibc-doc-$(edition).tar): Removed
39199 (%.Z): Removed.
39200 (%.gz): Removed.
39201 (%.uu): Removed.
39202 (ETAGS): Remove, it's in Makeconfig.
39203 (move-if-change): Remove, it's in Makeconfig.
39204
38686a03 392052012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39206
39207 [BZ #13970]
39208 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39209 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39210 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39211 (strtod_l, strtof_l, strtold_l): Remove __wur.
39212 It is not necessarily an error to ignore strtol's return value.
39213 One can reliably look at the stored endptr to decide whether
39214 the number had valid syntax.
39215
7c0616fa
AJ
392162012-04-21 Andreas Jaeger <aj@suse.de>
39217
803cb6b7 39218 [BZ #13739]
7c0616fa
AJ
39219 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39220
b0fe253f
JM
392212012-04-21 Joseph Myers <joseph@codesourcery.com>
39222
39223 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39224 * sysdeps/unix/sysv/Versions: Remove file.
39225
8280f22d
MT
392262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39227
39228 [BZ #13927]
39229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39230
75ce411f 392312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39232
39233 [BZ #7064]
39234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39235 version from __vm86.
39236
097d59fa
JM
392372012-04-20 Joseph Myers <joseph@codesourcery.com>
39238
a90f3bcb
JM
39239 * sysdeps/unix/common/lxstat.c: Remove file.
39240 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39241
edc7ea78
JM
39242 * sysdeps/unix/sysv/Makefile: Remove file.
39243
cb78c221
JM
39244 * sysdeps/unix/sysv/direct.h: Remove file.
39245
efa6a45f
JM
39246 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39247 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39248 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39249 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39250 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39251 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39252 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39253
9c9f2d0c
JM
39254 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39255
4541c83b
JM
39256 * sysdeps/unix/xmknod.c: Remove file.
39257 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39258
f5d153a0
JM
39259 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39260
aa746595
JM
39261 * sysdeps/unix/sysv/i386/time.S: Remove file.
39262
cce5905e
JM
39263 * sysdeps/unix/fxstat.c: Remove file.
39264 * sysdeps/unix/xstat.c: Likewise.
39265 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39266
37fa3841
JM
39267 * sysdeps/unix/sysv/sigaction.c: Remove file.
39268
ff1962a3
JM
39269 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39270 (sysdep_headers): Remove variable.
39271 [termio.h not in sysdep_headers] (generated): Likewise.
39272 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39273 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39274 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39275 * sysdeps/unix/sysv/tcflow.c: Likewise.
39276 * sysdeps/unix/sysv/tcflush.c: Likewise.
39277 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39278 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39279 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39280 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39281 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39282
e7740d31
JM
39283 * sysdeps/unix/siglist.c: Remove file.
39284
ee06f18b
JM
39285 * sysdeps/unix/getppid.S: Remove file.
39286
097d59fa
JM
39287 * sysdeps/unix/mkdir.c: Remove file.
39288 * sysdeps/unix/rmdir.c: Likewise.
39289
ff3d51ec
AS
392902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39291
39292 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39293 ERR_MAX value.
39294 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39295 errlist-compat value.
39296
50f81fd7
DM
392972012-04-18 David S. Miller <davem@davemloft.net>
39298
39299 * sysdeps/generic/memcopy.h (reg_char): Delete.
39300 * debug/strcat_chk.c: Use char, not reg_char.
39301 * debug/strcpy_chk.c: Likewise.
39302 * debug/strncat_chk.c: Likewise.
39303 * debug/strncpy_chk.c: Likewise.
39304 * string/memchr.c: Likewise.
39305 * string/memrchr.c: Likewise.
39306 * string/rawmemchr.c: Likewise.
39307 * string/strcat.c: Likewise.
39308 * string/strchr.c: Likewise.
39309 * string/strchrnul.c: Likewise.
39310 * string/strcmp.c: Likewise.
39311 * string/strcpy.c: Likewise.
39312 * string/strncat.c: Likewise.
39313 * string/strncmp.c: Likewise.
39314 * string/strncpy.c: Likewise.
39315
8ff41c46
WS
393162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39317
39318 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39319 __builtin_memcopy is called when src and dest ranges are known to not
39320 overlap.
39321
6b652f46
WS
393222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39323
39324 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39325 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39326 fwd_align_merge macro call.
39327 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39328 bwd_align_merge macro call.
39329 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39330
b282631e
WS
393312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39332
39333 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39334 bwd_align_merge macros.
39335 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39336 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39337 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39338
95aa737c
DM
393392012-04-18 David S. Miller <davem@davemloft.net>
39340
39341 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39342
7a99a614
AJ
393432012-04-18 Andreas Jaeger <aj@suse.de>
39344
39345 [BZ# 6794]
39346 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39347 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39348 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39349
39350 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39351 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39352 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39353
39354 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39355 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39356 Adjust for changed ldbl-128 files.
39357
39358 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39359 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39360 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39361
e5270c23
DM
393622012-04-17 David S. Miller <davem@davemloft.net>
39363
39364 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39365
fb5e92c9
AS
393662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39367
39368 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39369 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39370 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39371 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39372 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39373 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39374
76da7265
AZ
393752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39376
39377 [BZ #6794]
39378 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39379 * math/libm-test.inc: Add ilogb errno and exception tests.
39380 * math/w_ilogb.c: New file: ilogb wrapper.
39381 * math/w_ilogbf.c: New file: ilogbf wrapper.
39382 * math/w_ilogbl.c: New file: ilogbl wrapper.
39383 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39384 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39385 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39386 exception being thrown with 0.0 as argument.
39387 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39388 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39389 exception being thrown with 0.0 as argument.
39390 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39391 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39392 exception being thrown with 0.0 as argument.
39393 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39394 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39395 exception being thrown with 0.0 as argument.
39396 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39397 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39398 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39399 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39400 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39401 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39402 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39403 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39404 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39405
0396e69d
PB
394062012-04-17 Petr Baudis <pasky@ucw.cz>
39407
39408 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39409 with altivec.
39410
750b5926
MP
394112012-04-16 Marek Polacek <polacek@redhat.com>
39412
39413 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39414
751728a1
MP
394152012-04-16 Marek Polacek <polacek@redhat.com>
39416
39417 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39418 operands of fdivp instruction.
39419
34a27407
L
394202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39421
39422 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39423 * elf/tst-auditmod3b.c: Likewise.
39424 * elf/tst-auditmod4b.c: Likewise.
39425 * elf/tst-auditmod5b.c: Likewise.
39426 * elf/tst-auditmod6b.c: Likewise.
39427 * elf/tst-auditmod6c.c: Likewise.
39428 * elf/tst-auditmod7b.c: Likewise.
39429 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39430 * sysdeps/x86_64/preconfigure.in: Likewise.
39431 * sysdeps/x86_64/preconfigure: Regenerated.
39432
7e73e17d
L
394332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39434
39435 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39436 __ILP32__.
39437
c7a6ab72
AB
394382012-04-13 Antoine Balestrat <merkil33@gmail.com>
39439
39440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39441 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39442
a9e8e0e0
CL
394432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39444
39445 [BZ #13973]
39446 * locale/iso-639.def: Fix gl language name. Spotted by
39447 Yaron Shahrabani.
39448
ec98af7d
RM
394492012-04-12 Roland McGrath <roland@hack.frob.com>
39450
39451 [BZ #2074]
39452 * libio/libio.h (__io_write_fn): Update comment.
39453
247c3ede
PB
394542012-04-12 Petr Baudis <pasky@ucw.cz>
39455
39456 [BZ #2074]
39457 * stdio.texi (Hook Functions): The user provided writer function
39458 is not allowed to return -1.
39459
55939d6d
DM
394602012-04-11 David S. Miller <davem@davemloft.net>
39461
39462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39463
90020f5a
MF
394642012-04-11 Mike Frysinger <vapier@gentoo.org>
39465
39466 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39467 Add a leading slash to rtkaio.
39468
288f9098
JM
394692012-04-11 Jim Meyering <meyering@redhat.com>
39470
90020f5a
MF
39471 [BZ #11959]
39472 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39473 It is not necessarily an error to ignore fwrite's return
39474 value. One can reliably use ferror to test for errors after
39475 the fact.
288f9098 39476
4be2b570
L
394772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39478
39479 * bits/types.h (__snseconds_t): New type.
39480 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39481
39482 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39484 (__SNSECONDS_T_TYPE): Likewise.
39485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39486 (__SNSECONDS_T_TYPE): Likewise.
39487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39488 (__SNSECONDS_T_TYPE): Likewise.
39489
288f9098 394902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
39491
39492 [BZ #2636]
39493 * manual/time.texi (Processor Time): Return type of times is
39494 elapsed real time since an arbitrary point in the past.
39495 (CPU Time): Move CLK_TCK from here...
39496 (Processor Time): ...to here. Correct description.
39497 * manual/conf.texi (Constants for Sysconf): Correct description of
39498 _SC_CLK_TCK.
39499
d7dd4413
DM
395002012-04-10 David S. Miller <davem@davemloft.net>
39501
39502 [BZ #13967]
39503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39504 where the is a gap between DT_REL(A) and DT_JMPREL.
39505
b46068fc
L
395062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39507
39508 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39509 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39510 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39511
73d65cc3
SP
395122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39513
39514 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39515 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39516 (dl_main): Handle --inhibit-cache.
39517 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39518 _dl_inhibit_cache.
39519 * elf/dl-load.c (_dl_map_object): Use it.
39520 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39521
bcc8d661
JM
395222012-04-09 Joseph Myers <joseph@codesourcery.com>
39523
8f9a2fae
JM
39524 [BZ #13872]
39525 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39526 (__ieee754_powl): Saturate large exponents rather than testing for
39527 overflow of y*log2(x).
39528 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39529 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39530 exceptions.
39531
bcc8d661
JM
39532 [BZ #11521]
39533 * math/s_ctan.c: Include <float.h>.
39534 (__ctan): Avoid internal overflow or cancellation in calculating
39535 denominator.
39536 * math/s_ctanf.c: Likewise.
39537 * math/s_ctanl.c: Likewise.
39538 * math/s_ctanh.c: Likewise.
39539 * math/s_ctanhf.c: Likewise.
39540 * math/s_ctanhl.c: Likewise.
39541 * math/libm-test.inc (ctan_test): Add more tests.
39542 (ctanh_test): Likewise.
39543 * sysdeps/i386/fpu/libm-test-ulps: Update.
39544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39545
823fbbb4
AJ
395462012-04-09 Andreas Jaeger <aj@suse.de>
39547
03879793
AJ
39548 [BZ #6894]
39549 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39550 is an optional BSD extension.
39551
823fbbb4
AJ
39552 [BZ #10254]
39553 * manual/stdio.texi (Opening Streams): Document additional fopen
39554 parameters.
39555
8de131cb
RM
395562012-04-09 Roland McGrath <roland@hack.frob.com>
39557
39558 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39559 %eax without telling the compiler.
39560
c0ed9d7d
CD
395612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39562
39563 [BZ # 13963]
39564 * manual/install.texi: Use sourceware.org.
39565
c483f6b4
JM
395662012-04-09 Joseph Myers <joseph@codesourcery.com>
39567
d7dd9453
JM
39568 [BZ #13873]
39569 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39570 (__ieee754_pow): Generate overflow and underflow using huge*huge
39571 and tiny*tiny rather than just returning constant infinity or zero
39572 for large exponents.
39573 * math/libm-test.inc (pow_test): Require overflow exceptions for
39574 applicable cases of large exponents.
39575
c483f6b4
JM
39576 [BZ #706]
39577 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39578 (__ieee754_pow): Use iterative multiplication algorithm only for
39579 integer exponents with absolute value below 1024. Check for odd
39580 integer exponents when using algorithm for real exponents.
39581 * math/libm-test.inc (pow_test): Add more tests.
39582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39583
d2de7579
JM
395842012-04-08 Joseph Myers <joseph@codesourcery.com>
39585
39586 [BZ #13705]
39587 * math/libm-test.inc (exp_test): Do not allow overflow exception
39588 on underflow test.
39589
f77f1232
AJ
395902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39591
39592 [BZ #13705]
39593 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39594 instead of __kernel_standard_f.
39595
3884932b
MF
395962012-04-08 Mike Frysinger <vapier@gentoo.org>
39597
39598 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39599 * sysdeps/x86_64/memset_chk.S: Likewise.
39600
54472e9c
AJ
396012012-04-08 Andreas Jaeger <aj@suse.de>
39602
6ab0fbfc
AJ
39603 [BZ #10153]
39604 * manual/startup.texi (Environment Access): Describe return value
39605 for putenv and setenv.
39606
61efba8c
AJ
39607 [BZ #6895]
39608 * manual/filesys.texi (Directory Entries): Add description for
39609 DT_LNK.
39610
95c3f29a
AJ
39611 [BZ #6890]
39612 * manual/filesys.texi (Directory Entries): Clarify that it's file
39613 system not operating system in the description of DT_UNKNOWN.
39614
54472e9c
AJ
39615 [BZ #6578]
39616 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39617
624254b1
SC
396182012-04-08 Stephen Compall <s11@member.fsf.org>
39619
39620 [BZ #6649]
39621 * manual/llio.texi (Opening and Closing Files): Add cross
39622 reference to explain mode argument.
39623
1e4920e0
MF
396242012-04-07 Mike Frysinger <vapier@gentoo.org>
39625
39626 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39627 * sysdeps/x86_64/memset_chk.S: Likewise.
39628
5ed848f3
DM
396292012-04-07 David S. Miller <davem@davemloft.net>
39630
39631 * elf/elf.h (R_SPARC_WDISP10): Define.
39632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39633 R_SPARC_SIZE32.
39634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39635 R_SPARC_SIZE64 and R_SPARC_H34.
39636
96154cd8
CD
396372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39638
39639 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39640 conditions and remove no longer applicable assertion.
39641
9904dc47
L
396422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39643
39644 * bits/byteswap.h: Include <features.h>.
39645 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39646 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39647
f8887d0a
L
396482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39649
39650 * bits/byteswap.h (__bswap_16): Removed.
39651 Include <bits/byteswap-16.h> to get __bswap_16.
39652 * sysdeps/i386/bits/byteswap.h: Likewise.
39653 * sysdeps/s390/bits/byteswap.h: Likewise.
39654 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39655 * bits/byteswap-16.h: New file.
39656 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39657 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39658 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39659 * string/Makefile (headers): Add bits/byteswap-16.h.
39660
62470f60
PP
396612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39662
39663 [BZ #13895]
39664 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39665 extra indirection.
39666 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39667 * nss/tst-nss-static.c: New.
39668
4dad7bab
RM
396692012-04-06 Robert Millan <rmh@gnu.org>
39670
39671 [BZ #6486]
39672 * manual/llio.texi (File Position Primitive): lseek
39673 refers to WHENCE when it really means OFFSET.
39674
e9142a17
AJ
396752012-04-06 Andreas Jaeger <aj@suse.de>
39676
2c040eff
AJ
39677 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39678 strncmp declarations.
39679
e9142a17
AJ
39680 * abilist/libc.abilist: Add __poll and __ppoll.
39681
ff9f1c5f
DM
396822012-04-05 David S. Miller <davem@davemloft.net>
39683
dcd2ae90
DM
39684 * scripts/check-local-headers.sh: Accept a host triplet in the
39685 path matched by the exclude regexp.
39686
993eb054
DM
39687 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39688 definition.
39689 * sysdeps/powerpc/powerpc32/dl-machine.h
39690 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39691 * sysdeps/s390/s390-32/dl-machine.h
39692 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39693 * sysdeps/sparc/sparc32/dl-machine.h
39694 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39695 * sysdeps/sparc/sparc64/dl-machine.h
39696 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39697
ff9f1c5f
DM
39698 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39699 lazy binding.
48e2e132 39700 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39701 undefined symbol errors.
39702
48e2e132 39703 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39704 DT_NEEDED entries.
39705
e80d6f94
MM
397062012-04-05 Michael Matz <matz@suse.de>
39707
39708 [BZ #13592]
39709 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39710
349fa79f
AJ
397112012-04-05 Andreas Jaeger <aj@suse.de>
39712
39713 [BZ #13908]
39714 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39715 comment.
39716
f402708f
KK
397172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39718
39719 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39720 which ROUND is no valid rounding mode.
39721
2ecccfc9
KK
397222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39723
39724 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39725 read again.
39726 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39727
8a53f50f
KK
397282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39729
39730 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39731 an exception using FPU order intentionally.
39732
397332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39734
39735 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39736 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39737 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39738 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39739
d653abb7
SJ
397402012-04-05 Simon Josefsson <simon@josefsson.org>
39741
39742 [BZ #12340]
39743 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39744 EINVAL when BUFLEN is too smal.
39745
c3b1bf7d
TS
397462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39747
39748 [BZ #13553]
39749 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39750 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39751
b1aa60f3
AJ
397522012-04-03 Andreas Jaeger <aj@suse.de>
39753
c3b1bf7d 39754 [BZ #13938]
67f60a26
AJ
39755 * manual/setjmp.texi (System V contexts): Fix sentence.
39756
b1aa60f3
AJ
39757 [BZ #13926]
39758 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39759 New macro for this case.
39760 [!__GNUC__] (__bswap_64): New inline function for this case.
39761 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39762 * bits/byteswap.h: Likewise.
39763 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39764 ull, guard with __GLIBC_HAVE_LONG_LONG.
39765
39766 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39767 __GLIBC_HAVE_LONG_LONG.
39768
39769 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39770 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39771
39c59c35
TMQMF
397722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39773
39774 [BZ #13691]
39775 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39776 inptr and inend, rather than using last_ch.
39777
135ffda8
DM
397782012-04-02 David S. Miller <davem@davemloft.net>
39779
39780 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39781 * stdio-common/printf-parse.h (read_int): Change return type to
39782 'int', return -1 on INT_MAX overflow.
39783 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39784 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39785 overflows INT_MAX. Check for overflow of in-format-string precision
39786 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39787 SIZE_MAX not INT_MAX for integer overflow test.
39788 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39789 skip the construct in the format string but do not record anything.
39790 * stdio-common/bug22.c: Adjust to test both width/prevision
39791 INT_MAX overflow as well as total length INT_MAX overflow. Check
39792 explicitly for proper errno values.
39793
228c019e
TS
397942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39795
302cadd3
TS
39796 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39797 CHAR_MAX.
39798 * string/test-strcmp.c [! WIDE]: Likewise.
39799 * time/tst-mktime2.c: Likewise for INT_MAX.
39800 * string/test-string.h: #include <sys/param.h> for MIN.
39801
228c019e
TS
39802 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39803 * sysdeps/i386/init-first.c (init): Likewise.
39804 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39805 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39806 * sysdeps/sh/init-first.c (init): Likewise.
39807
cfa633f5
UD
398082012-04-01 Ulrich Drepper <drepper@gmail.com>
39809
39810 * po/ru.po: Update from translation team.
d1635ef8 39811 * po/vi.po: Likewise.
cfa633f5 39812
6cd0a5ea
SP
398132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39814
39815 * resolv/nss_dns/dns-host.c: Merge copyright years.
39816
4b43400f
LD
398172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39818
39819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39820 Optimize memcpy with prefetch if
39821 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39822 src, dst pointers have unequal 16 byte alignments.
39823
48c41d04
SP
398242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39825
39826 [BZ #13928]
39827 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39828 from a CNAME entry and return the minimum ttl for the query.
39829 (gaih_getanswer_slice): Likewise.
39830
b8dc394d
JL
398312012-03-30 Jeff Law <law@redhat.com>
39832
39833 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39834 due to long keys.
39835 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39836 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39837
2f5a5ed0
JL
39838 * resolv/nss_dns/dns-host.c: Update copyright year.
39839
1d39e359
UD
398402012-03-30 Ulrich Drepper <drepper@gmail.com>
39841
c030f70c 39842 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 39843 requests to save a system call. Fix check that all bytes are sent.
c030f70c 39844
1d39e359
UD
39845 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39846 comments for sendmmsg.
39847
398482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
39849
39850 [BZ #13691]
39851 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39852 with only 1 character between 0x0041 and 0x01b0.
39853 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39854 * wcsmbs/tst-mbsnrtowcs.c: New file.
39855
20fde227
DM
398562012-03-29 David S. Miller <davem@davemloft.net>
39857
39858 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39859 small copies by hand.
39860
984a4237
JL
398612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39862
39863 [BZ #13761]
57f41c40
AS
39864 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39865 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39866 group memberships.
984a4237 39867
18c9d62b
DM
398682012-03-28 David S. Miller <davem@davemloft.net>
39869
88d85d4f
DM
39870 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39871 that branches into memcpy.
39872 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39873 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39874 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39875 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39877 bits.
39878 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39879 implementation too.
39880 * sysdeps/sparc/mempcpy.S: New file.
39881
e5aa83e1
DM
39882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39883 the IFUNC routine in the libc case.
39884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39885
88570753
DM
39886 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39887 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39888 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39889 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39890 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39891 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39892 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39893 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39894
249d7567
DM
39895 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39896 loop to 256 bytes instead of 64 bytes and fix test signedness.
39897
18c9d62b
DM
39898 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39899 * sysdeps/sparc/sparc32/Makefile: rather than here...
39900 * sysdeps/sparc/sparc64/Makefile: and here.
39901
05f3d1f6
UD
399022012-03-28 Ulrich Drepper <drepper@gmail.com>
39903
39904 * malloc/mallocbug.c: Avoid warnings about unused variables.
39905
86ae07a8
JL
399062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39907
39908 [BZ #13760]
39909 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39910 in the right place. Discard and retry query if response is
39911 larger than input buffer size.
39912
41bf21a1
JM
399132012-03-28 Joseph Myers <joseph@codesourcery.com>
39914
d6270972
JM
39915 [BZ #369]
39916 [BZ #2678]
39917 [BZ #3866]
39918 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39919 x for large integer exponent.
39920 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39921 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39922 sign of result as needed afterwards.
39923 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39924 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39925 result for underflowing pow the same as for overflow.
39926 (__kernel_standard_l): Handle powl overflow and underflow here
39927 rather than calling __kernel_standard.
39928 * math/libm-test.inc (pow_test): Add more tests.
39929
414fca03 39930 [BZ #3868]
41bf21a1
JM
39931 [BZ #13879]
39932 [BZ #13910]
39933 [BZ #13911]
39934 [BZ #13912]
39935 [BZ #13913]
39936 [BZ #13915]
39937 [BZ #13916]
39938 [BZ #13917]
39939 [BZ #13918]
39940 [BZ #13919]
39941 [BZ #13920]
39942 [BZ #13921]
39943 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39944 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39945 (__kernel_standard_l): New function.
39946 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39947 __kernel_standard.
39948 * math/w_acosl.c (__acosl): Likewise.
39949 * math/w_asinl.c (__asinl): Likewise.
39950 * math/w_atan2l.c (__atan2l): Likewise.
39951 * math/w_atanhl.c (__atanhl): Likewise.
39952 * math/w_coshl.c (__coshl): Likewise.
39953 * math/w_exp10l.c (__exp10l): Likewise.
39954 * math/w_exp2l.c (__exp2l): Likewise.
39955 * math/w_fmodl.c (__fmodl): Likewise.
39956 * math/w_hypotl.c (__hypotl): Likewise.
39957 * math/w_j0l.c (__j0l, __y0l): Likewise.
39958 * math/w_j1l.c (__j1l, __y1l): Likewise.
39959 * math/w_jnl.c (__jnl, __ynl): Likewise.
39960 * math/w_lgammal.c (__lgammal): Likewise.
39961 * math/w_log10l.c (__log10l): Likewise.
39962 * math/w_log2l.c (__log2l): Likewise.
39963 * math/w_logl.c (__logl): Likewise.
39964 * math/w_powl.c (__powl): Likewise.
39965 * math/w_remainderl.c (__remainderl): Likewise.
39966 * math/w_scalbl.c (sysv_scalbl): Likewise.
39967 * math/w_sinhl.c (__sinhl): Likewise.
39968 * math/w_sqrtl.c (__sqrtl): Likewise.
39969 * math/w_tgammal.c (__tgammal): Likewise.
39970 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39971 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39972 * math/libm-test.inc (acos_test): Add more tests.
39973 (acosh_test): Likewise.
39974 (asin_test): Likewise.
39975 (atanh_test): Likewise.
39976 (exp_test): Likewise.
39977 (exp10_test): Likewise.
39978 (exp2_test): Likewise.
39979 (expm1_test): Likewise.
39980 (lgamma_test): Likewise.
39981 (log_test): Likewise.
39982 (log10_test): Likewise.
39983 (log1p_test): Likewise.
39984 (log2_test): Likewise.
39985 (pow_test): Do not allow some spurious overflow exceptions.
39986 (sqrt_test): Add more tests.
39987 (tgamma_test): Likewise.
39988 (y0_test): Likewise.
39989 (y1_test): Likewise.
39990 (yn_test): Likewise.
39991
dd62fda6
AB
399922012-03-27 Anton Blanchard <anton@samba.org>
39993
39994 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39995 MAP_HUGETLB.
39996 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39997 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39998 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39999
1e3cdfda
AJ
400002012-03-27 David S. Miller <davem@davemloft.net>
40001
b855ab85
DM
40002 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40003
1e3cdfda
AJ
40004 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40005 have-as-vis3 check.
40006
400072012-03-27 Andreas Jaeger <aj@suse.de>
40008
40009 * sysdeps/x86_64/elf/configure.in: Moved to ...
40010 * sysdeps/x86_64/configure.in: ... here.
40011 * sysdeps/x86_64/elf/start.S: Moved to ...
40012 * sysdeps/x86_64/start.S: ... here.
40013 * sysdeps/x86_64/elf/configure: Delete.
40014
40015 * sysdeps/x86_64/configure.in: Merge contents from
40016 sysdeps/i386/configure.in (without i686 check).
40017
40018 * sysdeps/i386/elf/Versions: Merge into ...
40019 * sysdeps/i386/Versions: ... this.
40020 * sysdeps/i386/elf/Versions: Delete file.
40021 * sysdeps/i386/elf/start.S: Moved to ...
40022 * sysdeps/i386/start.S: ...here.
40023 * sysdeps/i386/elf/configure.in: Merge into...
40024 * sysdeps/i386/configure.in: ...here.
40025 * sysdeps/i386/elf/configure.in: Delete file.
40026 * sysdeps/i386/elf/configure: Delete file.
40027
40028 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40029 * debug/backtracesyms.c: ... here.
40030 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40031 * debug/backtracesymsfd.c: ... here.
40032 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40033 * sysdeps/generic/ifunc-sel.h: ... here.
40034
40035 * sysdeps/unix/i386/start.c: Delete file.
40036 * sysdeps/unix/sparc/start.c: Delete file.
40037 * sysdeps/unix/start.c: Delete file.
40038
40039 * sysdeps/sh/elf/configure.in: Moved to ...
40040 * sysdeps/sh/configure.in: ... here.
40041 * sysdeps/sh/elf/start.S: Moved to ...
40042 * sysdeps/sh/start.S: ... here.
40043 * sysdeps/sh/elf/configure: Delete file.
40044
40045 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40046 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40047 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40048 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40049 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40050 * sysdeps/powerpc/powerpc64/start.S: here.
40051 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40052 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40053 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40054 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40055 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40056
40057 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40058 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40059 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40060 * sysdeps/powerpc/powerpc32/start.S: ... here.
40061 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40062 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40063 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40064
40065 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40066 * sysdeps/powerpc/ifunc-sel.h: ... here.
40067 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40068 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40069
40070 * sysdeps/sparc/elf/configure.in: Moved to ...
40071 * sysdeps/sparc/configure.in: ... here.
40072 * sysdeps/sparc/elf/configure: Delete file.
40073 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40074 * sysdeps/sparc/sparc32/start.S: ... here.
40075 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40076 * sysdeps/sparc/sparc64/start.S: ... here.
40077 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40078 * sysdeps/sparc/sparc32/Makefile: ... this.
40079 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40080 * sysdeps/sparc/sparc64/Makefile: ... this.
40081
40082 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40083 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40084 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40085 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40086 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40087 * sysdeps/s390/s390-32/setjmp.S: ... here.
40088 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40089 * sysdeps/s390/s390-32/configure.in: ... here.
40090 * sysdeps/s390/s390-32/elf/configure: Delete file.
40091 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40092 * sysdeps/s390/s390-32/start.S: ... here.
40093
40094 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40095 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40096 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40097 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40098 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40099 * sysdeps/s390/s390-64/setjmp.S: ... here.
40100 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40101 * sysdeps/s390/s390-64/configure.in: ... here
40102 * sysdeps/s390/s390-64/elf/configure: Delete file.
40103 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40104 * sysdeps/s390/s390-64/start.S: ... here.
40105 * sysdeps/s390/s390-64/elf/configure: Delete.
40106
40107 * configure.in: Remove support for elf directories in sysdeps.
40108
40109 * configure: Regenerated.
40110 * sysdeps/i386/configure: Regenerated.
40111 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40112 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40113 * sysdeps/s390/s390-32/configure: Regenerated.
40114 * sysdeps/s390/s390-64/configure: Regenerated.
40115 * sysdeps/sh/configure: Regenerated.
40116 * sysdeps/sparc/configure: Regenerated.
40117 * sysdeps/x86_64/configure: Regenerated.
40118
a3f61311
AS
401192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40120
c876e002
AS
40121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40122
a3f61311
AS
40123 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40124 denormal result into account.
40125
ac4c54f0
RM
401262012-03-25 Roland McGrath <roland@hack.frob.com>
40127
40128 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40129 Reported by Allan McRae <allan@archlinux.org>.
40130
6a9b9c02
JL
401312012-03-23 Jeff Law <law@redhat.com>
40132
40133 * nss/getnssent.c (__nss_getent): Fix typo.
40134
4c42a0c1
DM
401352012-03-23 David S. Miller <davem@davemloft.net>
40136
40137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40138
1532c7ac
L
401392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40140
40141 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40142 to pad to uint64_t for each field.
40143 (dl_tls_index): Replace unsigned long with uint64_t.
40144
3ff42526
PP
401452012-03-23 Daniel Jacobowitz <dmj@google.com>
40146 Paul Pluzhnikov <ppluzhnikov@google.com>
40147
40148 [BZ #6528]
40149 * grp/Makefile (otherlibs): Don't set it.
40150 * inet/Makefile (otherlibs): Likewise.
40151 * login/Makefile (otherlibs): Likewise.
40152 * nscd/Makefile (otherlibs): Likewise.
40153 * posix/Makefile (otherlibs): Likewise.
40154 * pwd/Makefile (otherlibs): Likewise.
40155 * rt/Makefile (otherlibs): Likewise.
40156 * sunrpc/Makefile (otherlibs): Likewise.
40157 * nss/Makefile (otherlibs): Likewise.
40158 Add libnss_files to routines and static-only-routines.
40159 ($(objpfx)getent): Remove rule.
40160 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40161 static-only-routines.
40162
7c69cd14
JM
401632012-03-22 Joseph Myers <joseph@codesourcery.com>
40164
40165 [BZ #13892]
40166 * math/s_cexp.c: Include <float.h>.
40167 (__cexp): Handle exp result overflowing not necessarily
40168 overflowing both real and imaginary parts of result.
40169 * math/s_cexpf.c: Likewise.
40170 * math/s_cexpl.c: Likewise.
40171 * math/libm-test.inc (cexp_test): Add more tests.
40172 * sysdeps/i386/fpu/libm-test-ulps: Update.
40173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40174
81b035fe
L
401752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40176
40177 * include/link.h (ELFW): New macro.
40178 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40179 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40180
1da7940c
L
401812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40182
40183 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40184 with uint64_t.
40185
b749dbb9
L
401862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40187
40188 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40189 declaration.
40190 (struct La_x32_retval): Likewise.
40191
2ff87f3f
L
401922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40193
40194 * sysdeps/x86_64/preconfigure.in: New file.
40195 * sysdeps/x86_64/preconfigure: New generated file.
40196
c0df8e69
JM
401972012-03-22 Joseph Myers <joseph@codesourcery.com>
40198
48e44791
JM
40199 [BZ #13824]
40200 * math/e_exp2l.c: Include <float.h>.
40201 (__ieee754_exp2l): Handle overflow and underflow cases
40202 separately. Only pass fractional part of argument to
40203 __ieee754_expl.
40204 * math/libm-test.inc (exp2_test): Add more tests.
40205
c0df8e69
JM
40206 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40207 negating x to take absolute value.
40208 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40209 Likewise.
40210 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40212 Likewise.
40213 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40214 computing low part if x was negated.
40215 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40216
c8e43ba7
L
402172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40218
40219 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40220 la_x32_gnu_pltexit.
40221 (pltexit): Cast int_retval to ptrdiff_t.
40222 * elf/tst-auditmod3b.c: Likewise.
40223 * elf/tst-auditmod4b.c: Likewise.
40224 * elf/tst-auditmod5b.c: Likewise.
40225 * elf/tst-auditmod6b.c: Likewise.
40226 * elf/tst-auditmod6c.c: Likewise.
40227 * elf/tst-auditmod7b.c: Likewise.
40228
40229 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40230 and x32_gnu_pltexit.
40231
40232 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40233 __ELF_NATIVE_CLASS.
40234 (La_x32_regs): New macro.
40235 (La_x32_retval): Likewise.
40236 (la_x32_gnu_pltenter): New function prototype.
40237 (la_x32_gnu_pltexit): Likewise.
40238
7998fa78
AS
402392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40240
dcb33988
AS
40241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40242 exponent.
40243
233fc563
AS
40244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40245
7998fa78
AS
40246 * configure.in (libc_cv_cc_nofma): Check for option to disable
40247 generation of FMA instructions.
40248 * configure: Regenerate.
40249 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40250 * sysdeps/ieee754/dbl-64/Makefile: New file.
40251 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40252 Remove brandred-fma4.
40253 (CFLAGS-brandred-fma4.c): Remove.
40254 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40255 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40256 define.
40257 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40258 define.
40259
8e95c99a
L
402602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40261
40262 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40263 LLONG_MAX != LONG_MAX.
40264 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40265 (_fitoa_word): Likewise.
40266 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40267 LLONG_MAX != LONG_MAX.
40268 * stdio-common/_itowa.h: Include <_itoa.h>.
40269 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40270 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40271 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40272 only if not defined.
40273 (_ITOA_WORD_TYPE): Likewise.
40274 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40275 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40276
6f4db457
DM
402772012-03-21 David S. Miller <davem@davemloft.net>
40278
40279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40280
7785fe5a
L
402812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40282
40283 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40284 of x86_64 when setting libc_cv_slibdir, libdir and
40285 libc_cv_localedir.
40286 * sysdeps/unix/sysv/linux/configure: Regenerated.
40287
4535cd55
JM
402882012-03-21 Joseph Myers <joseph@codesourcery.com>
40289
40290 * manual/lang.texi (Old Varargs): Remove section.
40291 (How Variadic): Update menu.
40292 (va_start): Do not mention varargs.h.
40293
17228132
TS
402942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40295 Joseph Myers <joseph@codesourcery.com>
40296
40297 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40298 link test.
40299 * configure: Regenerated.
40300
8149f976
TS
403012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40302
05f3d1f6
UD
40303 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40304 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40305 conformtest.pl
8149f976 40306
1a4ac776
JM
403072012-03-21 Joseph Myers <joseph@codesourcery.com>
40308
be22ce65
JM
40309 * NOTES: Remove.
40310 * Makefile (files-for-dist): Remove NOTES.
40311 (NOTES): Remove rule.
40312 * README: Don't refer to NOTES.
40313 * manual/creature.texi: Don't include macros.texi.
40314 * manual/intro.texi (creature.texi): Remove comment referring to
40315 NOTES.
40316
40b601fb
JM
40317 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40318 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40319 * configure: Regenerated.
40320 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40321 LIBC_TRY_CC_OPTION.
40322 (libc_cv_as_i686): Likewise.
40323 (libc_cv_cc_avx): Likewise.
40324 (libc_cv_cc_sse2avx): Likewise.
40325 (libc_cv_cc_fma4): Likewise.
40326 (libc_cv_cc_novzeroupper): Likewise.
40327 * sysdeps/i386/configure: Regenerated.
40328
1a4ac776
JM
40329 [BZ #13883]
40330 * sysdeps/i386/fpu/s_cexp.S: Remove.
40331 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40332 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40333 * math/libm-test.inc (cexp_test): Add more tests.
40334 * sysdeps/i386/fpu/libm-test-ulps: Update.
40335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40336
a458e7fe
AM
403372012-03-21 Allan McRae <allan@archlinux.org>
40338
40339 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40340
0cb7efc5
JM
403412012-03-21 Joseph Myers <joseph@codesourcery.com>
40342
40343 [BZ #13871]
40344 * math/w_exp2.c: Do not include <float.h>.
40345 (o_threshold, u_threshold): Remove.
40346 (__exp2): Calculate result before checking finiteness and calling
40347 __kernel_standard.
40348 * math/w_exp2f.c: Likewise.
40349 * math/w_exp2l.c: Likewise.
40350 * math/libm-test.inc (exp2_test): Require overflow exception for
40351 1e6 input.
2460d3aa
JM
40352
40353 [BZ #3866]
40354 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40355 range of signed 64-bit integers before using fistpll. Remove
40356 checks for whether integers fit in mantissa bits.
40357 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40358 the range of signed 32-bit integers before using fistpl. Remove
40359 checks for whether integers fit in mantissa bits.
40360 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40361 (__ieee754_powl): Test for y outside the range of signed 64-bit
40362 integers before using fistpll. Reduce 64-bit values to 63-bit
40363 ones as needed.
40364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40365 divide-by-zero is raised for zero to large negative powers.
40366 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40367 (__ieee754_powl): Test for y outside the range of signed 64-bit
40368 integers before using fistpll. Reduce 64-bit values to 63-bit
40369 ones as needed.
40370 * math/libm-test.inc (pow_test): Add more tests.
40371
eb96ffb0
L
403722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40373
40374 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40375 <stdio-common/_itoa.h>.
40376 * debug/segfault.c: Likewise.
40377 * elf/dl-cache.c: Likewise.
40378 * elf/dl-minimal.c: Likewise.
40379 * elf/dl-misc.c: Likewise.
40380 * elf/dl-sysdep.c: Likewise.
40381 * elf/dl-version.c: Likewise.
40382 * elf/rtld.c: Likewise.
40383 * hurd/hurdsock.c: Likewise.
40384 * hurd/lookup-retry.c: Likewise.
40385 * malloc/malloc.c: Likewise.
40386 * malloc/mtrace.c: Likewise.
40387 * nscd/nscd_getgr_r.c: Likewise.
40388 * nscd/nscd_getpw_r.c: Likewise.
40389 * nscd/nscd_getserv_r.c: Likewise.
40390 * posix/getopt_init.c: Likewise.
40391 * posix/wordexp.c: Likewise.
40392 * stdio-common/_itoa.c: Likewise.
40393 * stdio-common/printf_fphex.c: Likewise.
40394 * stdio-common/vfprintf.c: Likewise.
40395 * string/_strerror.c: Likewise.
40396 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40397 * sysdeps/i386/i686/hp-timing.h: Likewise.
40398 * sysdeps/mach/_strerror.c: Likewise.
40399 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40400 * sysdeps/mach/hurd/sethostid.c: Likewise.
40401 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40402 * sysdeps/mach/xpg-strerror.c: Likewise.
40403 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40404 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40405 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40406 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40407 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40408 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40409 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40410 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40411 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40412 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40413 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40414 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40415 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40416 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40417 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40418 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40419 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40420 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40421 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40422 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40423 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40424
40425 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40426
40427 * stdio-common/_itoa.h: Moved to ...
40428 * sysdeps/generic/_itoa.h: Here.
40429
40430 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40431
40432 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40433 instead of "_itoa.h" and "_itowa.h".
40434 * stdio-common/vfprintf.: Likewise.
40435
d1af992d
L
404362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40437
40438 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40439 <bits/wordsize.h>.
40440 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40441 (__signbit): Likwise.
40442 (llrintf): Likwise.
40443 (llrint): Likwise.
40444
114883e0
L
404452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40446
40447 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40448 __WORDSIZE != 64.
40449
c135cc1b
JM
404502012-03-20 Joseph Myers <joseph@codesourcery.com>
40451
40452 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40453 OVERFLOW_EXCEPTION_OK.
40454 * math/libm-test.inc ("Philosophy"): Update comment about
40455 exception testing.
40456 (OVERFLOW_EXCEPTION): Define.
40457 (OVERFLOW_EXCEPTION_OK): Likewise.
40458 (INVALID_EXCEPTION_OK): Renumber.
40459 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40460 (IGNORE_ZERO_INF_SIGN): Likewise.
40461 (test_exceptions): Handle FE_OVERFLOW.
40462 (exp10_test): Expect overflow exceptions.
40463 (exp2_test): Likewise.
40464 (expm1_test): Likewise.
40465 (nextafter_test): Likewise.
40466 (pow_test): Likewise.
40467 (scalbn_test): Likewise.
40468 (scalbln_test): Likewise.
40469
95443d88
L
404702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40471
40472 * sysdeps/x86_64/bits/atomic.h
40473 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40474 64bit integer.
40475 (atomic_exchange_acq): Likewise.
40476 (__arch_exchange_and_add_body): Likewise.
40477 (__arch_add_body): Likewise.
40478 (atomic_add_negative): Likewise.
40479 (atomic_add_zero): Likewise.
40480
490df6c4
L
404812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40482
c2722551 40483 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
40484 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40485
5e52b189
L
404862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40487
40488 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40489 Check __x86_64__ instead of __WORDSIZE.
40490
a9879d4c
L
404912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40492
40493 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40494
5df98260
DM
404952012-03-19 David S. Miller <davem@davemloft.net>
40496
e1497744
DM
40497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40498
5df98260
DM
40499 * sysdeps/sparc/fpu/fenv_private.h: New file.
40500 * sysdeps/sparc/fpu/math_private.h: Use it.
40501 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40502 Remove.
57f41c40 40503 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
40504 (libc_feholdexcept_setroundl): Remove.
40505 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40506 Remove.
40507 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40508 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40509
b4c35121
L
405102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40511
40512 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40513 int64_t instead of long int.
40514 (INSERT_WORDS64): Likwise.
40515
56965fd7
L
405162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40517
40518 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40519 _Unwind_GetCFA return to _Unwind_Ptr first.
40520
83d1aec8
JM
405212012-03-19 Joseph Myers <joseph@codesourcery.com>
40522
1897ad44
JM
40523 [BZ #13629]
40524 * math/s_clog.c: Include <float.h>.
40525 (__clog): Scale large or subnormal inputs.
40526 * math/s_clogf.c: Likewise.
40527 * math/s_clogl.c: Likewise.
40528 * math/s_clog10.c: Include <float.h>.
40529 (M_LOG10_2): Define.
40530 (__clog10): Scale large or subnormal inputs.
40531 * math/s_clog10f.c: Likewise.
40532 * math/s_clog10l.c: Likewise.
40533 * math/libm-test.inc (clog_test): Add more tests.
40534 (clog10_test): Likewise.
40535 * sysdeps/i386/fpu/libm-test-ulps: Update.
40536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40537
7726d6a9
JM
40538 [BZ #11451]
40539 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40540 x and y.
40541 * math/libm-test.inc (atan2_test): Add another test.
40542
83d1aec8
JM
40543 * Makerules (common-objdir-compile): Remove.
40544 * sysdeps/unix/Makefile (config-generated): Do not add
40545 $(unix-generated) to variable.
40546 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40547 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40548 Remove rule.
40549 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40550 Likewise.
40551 [generic bits/local_lim.h] (before-compile): Do not append to
40552 variable.
40553 [generic bits/local_lim.h] (common-generated): Likewise.
40554 [generic sys/param.h] (before-compile): Do not append to variable.
40555 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40556 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40557 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40558 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40559 include.
40560 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40561 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40562 [generic sys/param.h] ($(addprefix
40563 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40564 [generic sys/param.h] (common-generated): Do not append to
40565 variable.
40566 [generic sys/param.h] (sysdep_headers): Likewise.
40567 [generic bits/errno.h] (before-compile): Do not append to
40568 variable.
40569 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40570 rule.
40571 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40572 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40573 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40574 [generic bits/errno.h] (common-generated): Do not append to
40575 variable.
40576 [generic bits/ioctls.h] (before-compile): Do not append to
40577 variable.
40578 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40579 rule.
40580 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40581 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40582 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40583 rule.
40584 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40585 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40586 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40587 [generic bits/ioctls.h] (common-generated): Do not append to
40588 variable.
40589 [generic sys/syscall.h] (syscall.h): Remove variable.
40590 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40591 rule.
40592 [generic sys/syscall.h] (before-compile): Do not append to
40593 variable.
40594 [generic sys/syscall.h] (common-generated): Likewise.
40595 * sysdeps/unix/errnos-tmpl.c: Remove file.
40596 * sysdeps/unix/errnos.awk: Likewise.
40597 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40598 * sysdeps/unix/ioctls.awk: Likewise.
40599 * sysdeps/unix/mk-local_lim.c: Likewise.
40600 * sysdeps/unix/snarf-ioctls: Likewise.
40601
4851a949
RH
406022012-03-19 Richard Henderson <rth@twiddle.net>
40603
bd37f2ee
RH
40604 * sysdeps/i386/fpu/fenv_private.h: New file.
40605 * sysdeps/i386/fpu/math_private.h: Use it.
40606 (math_opt_barrier, math_force_eval): Remove.
40607 (libc_feholdexcept_setround_53bit): Remove.
40608 (libc_feupdateenv_53bit): Remove.
40609 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40610 (math_opt_barrier, math_force_eval): Remove.
40611 (libc_feholdexcept): Remove.
40612 (libc_feholdexcept_setround): Remove.
40613 (libc_fetestexcept, libc_fesetenv): Remove.
40614 (libc_feupdateenv_test): Remove.
40615 (libc_feupdateenv, libc_feholdsetround): Remove.
40616 (libc_feresetround): Remove.
40617
d0adc922
RH
40618 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40619 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40620
0fe0f1f8
RH
40621 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40622 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40623 (libc_feupdateenv_testl): New.
40624 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40625 (libc_feupdateenv_testf): New.
40626 (libc_feupdateenv): Use libc_feupdateenv_test.
40627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40628 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40629
eb92c487
RH
40630 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40631 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40632 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40633 (libc_feresetround_noex): New.
40634 (libc_feresetround_noexf): New.
40635 (libc_feresetround_noexl): New.
40636 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40637 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40638 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40639 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40640 SET_RESTORE_ROUND.
40641 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40642 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40643 (__cos): Likewise.
40644 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40645 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40646 SET_RESTORE_ROUND_NOEX.
40647 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40648 SET_RESTORE_ROUND_NOEXF.
40649 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40650 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40651 (libc_feholdsetroundf): New.
40652 (libc_feresetround, libc_feresetroundf): New.
40653
7d2e8012
RH
40654 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40655 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40656 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40657
b4dabbb4
RH
40658 * sysdeps/generic/math_private.h: Include <fenv.h>.
40659 (default_libc_feholdexcept): New.
40660 (default_libc_feholdexcept_setround): New.
40661 (default_libc_fesetenv, default_libc_feupdateenv): New.
40662 (libc_feholdexcept): Only define if undefined.
40663 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40664 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40665 (libc_feholdexcept_setroundl): Likewise.
40666 (libc_feholdexcept_setround_53bit): Likewise.
40667 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40668 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40669 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40670 (libc_feupdateenv_53bit): Likewise.
40671 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40672 (libc_feholdexcept): Convert from macro to inline function.
40673 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40674 (libc_fesetenv, libc_feupdateenv): Likewise.
40675
4851a949
RH
40676 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40677 not previously defined.
40678 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40679 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40680 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40681 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40682 * sysdeps/ieee754/flt-32/math_private.h: New file.
40683 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40684 math_private.h below SET_FLOAT_WORD.
40685 (__isnan, __isinf_ns, __finite): Remove.
40686 (__isnanf, __isinf_nsf, __finitef): Remove.
40687
e79d442e
AS
406882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40689
40690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40691
90b80344
DM
406922012-03-17 David S. Miller <davem@davemloft.net>
40693
40694 [BZ #6471]
40695 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40696 for 2.16.
40697
edc21804
DM
406982012-03-16 David S. Miller <davem@davemloft.net>
40699
77e927af
DM
40700 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40701 warnings.
40702
374976dd
DM
40703 [BZ #6471]
40704 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40705 properly.
40706 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40707 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40708 sysdep_routines when subdir is sysvipc.
40709 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40710 __getshmlba helper.
40711
edc21804
DM
40712 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40713
473c3ef3
L
407142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40715
40716 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40717 [__LP64__].
40718
eb0f39b6
L
407192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40720
40721 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40722 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40723 (__lround): Renamed to ...
40724 (__llround): This. Replace long int with long long int.
40725 Define lround functions as aliases of llround functions.
40726 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40727
6b6cd74b
L
407282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40729
40730 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40731 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40732 adresses to uintptr_t. Replace "long int" and "unsigned long
40733 int" with "greg_t" on va_arg.
40734
f1a77b01
L
407352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40736
40737 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40738 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40739
40740 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40741 Move e_machine check before EI_CLASS check. Handle x32
40742 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40743 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40744 SKIP_EM_IA_64 and include
40745 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40746
40747 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40748 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40749 (add_system_dir): New macro.
40750
40751 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40752 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40753
11b90b9f
JM
407542012-03-16 Joseph Myers <joseph@codesourcery.com>
40755
c36e1d23
JM
40756 [BZ #2551]
40757 [BZ #2552]
40758 [BZ #2553]
40759 [BZ #2554]
40760 [BZ #2562]
40761 [BZ #2563]
40762 [BZ #2565]
40763 [BZ #2566]
40764 [BZ #2576]
40765 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40766 (y0): Likewise.
40767 * math/w_j0f.c (j0f): Likewise.
40768 (y0f): Likewise.
40769 * math/w_j0l.c (__j0l): Likewise.
40770 (__y0l): Likewise.
40771 * math/w_j1.c (j1): Likewise.
40772 (y1): Likewise.
40773 * math/w_j1f.c (j1f): Likewise.
40774 (y1f): Likewise.
40775 * math/w_j1l.c (__j1l): Likewise.
40776 (__y1l): Likewise.
40777 * math/w_jn.c (jn): Likewise.
40778 (yn): Likewise.
40779 * math/w_jnf.c (jnf): Likewise.
40780 (ynf): Likewise.
40781 * math/w_jnl.c (__jnl): Likewise.
40782 (__ynl): Likewise.
40783 * math/libm-test.inc (j0_test): Add more tests.
40784 (j1_test): Likewise.
40785 (jn_test): Likewise. Add trailing semicolon to existing test.
40786 (y0_test): Likewise.
40787 (y1_test): Likewise.
40788 * sysdeps/i386/fpu/libm-test-ulps: Update.
40789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40790
11b90b9f
JM
40791 [BZ #13851]
40792 [BZ #13854]
40793 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40794 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40795 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40796 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40797 (__tanl): Set errno for infinite argument.
40798 * sysdeps/i386/fpu/mptan.c: Remove.
40799 * sysdeps/i386/fpu/s_tan.S: Likewise.
40800 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40801 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40802 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40803 * math/libm-test.inc (tan_test): Add more tests and enable more
40804 tests for double and long double.
40805 * sysdeps/i386/fpu/libm-test-ulps: Update.
40806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40807
6a1bd2a1
JK
408082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40809
40810 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40811 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40812
10a803e0
RM
408132012-03-16 Roland McGrath <roland@hack.frob.com>
40814
40815 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40816 * configure.in: Use it for both main tree and add-ons.
40817 * configure: Regenerated.
40818
f196c7f7
L
408192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40820
40821 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40822
8848d99d
JM
408232012-03-16 Joseph Myers <joseph@codesourcery.com>
40824
96cbe7f4
JM
40825 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40826 in comment.
40827
8848d99d
JM
40828 [BZ #13851]
40829 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40830 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40834 infinite argument.
40835 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40836 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40837 != 0 for prec == 2.
40838 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40839 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40840 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40841 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40842 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40843 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40844 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40845 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40846 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40847 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40848 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40849 * math/libm-test.inc (cos_test): Add more tests and enable more
40850 tests for long double.
40851 (sin_test): Likewise.
40852 (sincos_test): Likewise.
40853 * sysdeps/i386/fpu/libm-test-ulps: Update.
40854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40855
dd7f4703
DM
408562012-03-16 David S. Miller <davem@davemloft.net>
40857
40858 * sysdeps/sparc/fpu/math_private.h: New file.
40859
006f1daa
DM
408602012-03-15 David S. Miller <davem@davemloft.net>
40861
c0c83bc8
DM
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40863 file.
e6a62e18 40864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
40865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40866 file.
e6a62e18
DM
40867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40872 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40873 sysdep routines.
40874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40875
88cb87d9
DM
40876 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40877 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40878
006f1daa 40879 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
40880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40881 sparc-ifunc.h
006f1daa 40882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
40883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40884 Likewise.
40885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40886 Likewise.
006f1daa
DM
40887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
40890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40891 Likewise.
006f1daa
DM
40892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
40896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40897 Likewise.
40898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40899 Likewise.
006f1daa
DM
40900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40924
11e0098e
AS
409252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40926
40927 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40928 scaling.
40929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40930
e85b09d0
AJ
409312012-03-15 Andreas Jaeger <aj@suse.de>
40932
40933 [BZ #13852]
40934 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40935 ieee754/flt-32 implementation for sin, cos and sincos.
40936 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40937 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40938 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40939 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40940 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40941 ieee754/flt-32 implementation for tan.
40942
40943 * math/libm-test.inc (cos_test): Enable some large input tests for
40944 float as well
40945 (sin_test): Likewise.
40946 (sincos_test): Likewise.
40947 (tan_test): Add tests for large input.
40948
40949 * sysdeps/i386/fpu/libm-test-ulps: Update.
40950
81c64153
AJ
409512012-03-15 Andreas Jaeger <aj@suse.de>
40952
40953 [BZ #13658]
40954 * math/libm-test.inc (cos_test): Add more test cases.
40955 (sin_test): Likewise.
40956 (sincos_test): Likewise.
40957
7bbfa5c6
AJ
409582012-03-15 Andreas Jaeger <aj@suse.de>
40959
40960 [BZ #13837]
40961 * math/libm-test.inc (cos_test): Add a test case for large input
40962 value.
40963 (sin_test): Likewise.
40964 (sincos_test): Likewise.
40965
57f41c40
AS
409662012-03-15 Andreas Jaeger <aj@suse.de>
40967 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
40968
40969 [BZ #13658]
0671f479 40970 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
40971 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40972 * sysdeps/i386/fpu/branred.c: Likewise.
40973 * sysdeps/i386/fpu/dosincos.c: Likewise.
40974 * sysdeps/i386/fpu/mpa.c: Likewise.
40975 * sysdeps/i386/fpu/s_cos.S: Likewise.
40976 * sysdeps/i386/fpu/s_sin.S: Likewise.
40977 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40978 * sysdeps/i386/fpu/sincos32.c: Likewise.
40979
40980 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40981 Define.
40982 (libc_feupdateenv_53bit): Define.
40983 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40984 Define.
40985 (libc_feupdateenv_53bit): Define.
40986
40987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40988 53 bit (without extend i386 double precision).
40989
40990 * math/libm-test.inc (sincos_test): Add tests for large input.
40991 (sin): Likewise.
40992 (cos): Likewise.
40993
40994 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40995
9cad04ea
AS
409962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40997
40998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40999
f7062b9a
DM
410002012-03-15 David S. Miller <davem@davemloft.net>
41001
41002 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41003 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41004 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41005 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41018 file.
f7062b9a 41019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41021 file.
f7062b9a 41022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41024 file.
f7062b9a 41025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41027 file.
f7062b9a
DM
41028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41029 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41030 fmin/fmax sysdep routines.
41031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41032
7bd951ff
DM
410332012-03-14 David S. Miller <davem@davemloft.net>
41034
559398ab
DM
41035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41055 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41064 routines.
41065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41066 file.
559398ab 41067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41069 file.
559398ab 41070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41072 file.
559398ab 41073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41075 file.
559398ab 41076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41078 file.
559398ab 41079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41081 file.
41082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41083 file.
41084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41085 file.
41086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41087 file.
41088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41089 New file.
41090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41091 file.
41092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41093 file.
559398ab 41094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41096 file.
559398ab 41097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41099 file.
559398ab 41100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41102 file.
559398ab 41103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41105 VIS3 routines.
559398ab
DM
41106
41107 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41108 New file.
41109
5a1c1e32
DM
41110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41111
eae47a36
DM
41112 * sysdeps/sparc/configure.in: New file.
41113 * sysdeps/sparc/configure: Generate.
41114 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41115 * configure: Regenerate.
41116 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41117 * config.make.in (have-as-vis3): New.
41118 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41119 available use -Av9d instead of -Av9a.
41120 * sysdeps/sparc/sparc64/Makefile: Likewise.
41121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41123 New file.
41124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41125 file.
41126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41127 New file.
41128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41129 file.
eae47a36
DM
41130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41134 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41135
c0c83bc8
DM
41136 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41137 fzeros/fnegs to load 0x80000000 into a float register instead of
41138 using the stack.
7bd951ff
DM
41139 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41140
bd951ccb
JM
411412012-03-14 Joseph Myers <joseph@codesourcery.com>
41142
41143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41144 bits/syscall.h.
41145 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41146 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41147 ($(inst_includedir)/bits/syscall.h): Remove rule.
41148 ($(objpfx)bits/syscall.d): Include instead of
41149 $(objpfx)syscall-list.d.
41150 (generated): Change syscall-list.h and syscall-list.d to
41151 bits/syscall.h and bits/syscall.d.
41152
bb4e6db2
RM
411532012-03-14 Roland McGrath <roland@hack.frob.com>
41154
41155 [BZ #13846]
41156 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41157
aa4a2ae1
JM
411582012-03-14 Joseph Myers <joseph@codesourcery.com>
41159
e456826d
JM
41160 [BZ #13841]
41161 * math/s_csqrt.c: Include <float.h>.
41162 (__csqrt): Scale large or subnormal inputs.
41163 * math/s_csqrtf.c: Likewise.
41164 * math/s_csqrtl.c: Likewise.
41165 * math/libm-test.inc (csqrt_test): Add more tests.
41166 * sysdeps/i386/fpu/libm-test-ulps: Update.
41167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41168
aa4a2ae1
JM
41169 [BZ #13840]
41170 * math/libm-test.inc (hypot_test): Add more tests.
41171
7c10fd35
DM
411722012-03-13 David S. Miller <davem@davemloft.net>
41173
41174 [BZ #13840]
41175 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41176 double-precision for the calculation instead of scaling.
41177
f453b98b
JM
411782012-03-13 Joseph Myers <joseph@codesourcery.com>
41179
41180 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41181 manipulate bits before adding and subtracting TWO52[sx].
41182 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41183 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41184 Likewise.
41185 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41186
09a3453f
DM
411872012-03-13 David S. Miller <davem@davemloft.net>
41188
8e59da90
DM
41189 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41190 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41192 rtld-global-offsets.h
41193 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41194
2a8ab7f2
DM
41195 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41196 large parameters.
41197
10f62770
DM
41198 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41199
5f0bdb18
DM
41200 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41201 'err' in the ifdef scope in which it is actually used.
41202
09a3453f
DM
41203 * nss/nss_db/db-init.c: Include string.h
41204
b4b2eb5e
DM
412052012-03-12 David S. Miller <davem@davemloft.net>
41206
98bb2f1c
DM
41207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41208 masking out of the most significant byte of random value used.
41209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41210 Fix coding style in previous change.
41211
b4b2eb5e
DM
41212 * sysdeps/unix/sysv/linux/kernel-features.h
41213 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41214 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41215 expression.
41216 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41217 later.
41218
6e226b09
DM
412192012-03-11 David S. Miller <davem@davemloft.net>
41220
a1bcbd40
DM
41221 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41222 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41223 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41224 for 'resultvar' otherwise things get truncated on 64-bit.
41225
cb9d6174
DM
41226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41227 Fix masking out of the most significant byte of random value used.
41228
6e226b09
DM
41229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41230
058c132d
AS
412312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41232
41233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41234
2d2cd515
DM
412352012-03-09 David S. Miller <davem@davemloft.net>
41236
41237 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41238 variables with appropriate CPP guards.
57f41c40
AS
41239 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41240 from the frame pointer, not the stack pointer. Correct layout
41241 comments. Fix test on resulting framesize and the management of
41242 the outregs buffer for pltexit. Preserve floating point return
41243 values across _dl_call_pltexit call.
2d2cd515
DM
41244 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41245 framesize and the management of the outregs buffer for pltexit.
41246 Preserve floating point return values across _dl_call_pltexit
41247 call.
57f41c40
AS
41248 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41249 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41250 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41251 (print_exit): Fix format string for return register value.
41252
9a07f9d0
JM
412532012-03-10 Joseph Myers <joseph@codesourcery.com>
41254
41255 * sunrpc/Makefile (others): Add rpcgen.
41256 ($(objpfx)rpcgen): Remove special build rule and dependency on
41257 libc.
41258 * sunrpc/rpcgen.c: New file.
41259
547b5e30
PE
412602012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41261
c524201a
PE
41262 [BZ #13673]
41263 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41264 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41265 * sysdeps/i386/crti.S: Likewise.
41266 * sysdeps/i386/crtn.S: Likewise.
41267 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41268 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41269 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41270 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41271 * sysdeps/sh/crti.S: Likewise.
41272 * sysdeps/sh/crtn.S: Likewise.
41273 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41274
7b6235f2
PE
41275 [BZ #13673]
41276 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41277 with URL.
41278 * locale/programs/locfile-kw.gperf: Likewise.
41279 * locale/programs/charmap-kw.h: Regenerated.
41280 * locale/programs/locfile-kw.h: Likewise.
41281
547b5e30
PE
41282 [BZ #13673]
41283 * intl/plural.y: Replace FSF snail mail address with URL.
41284 * intl/plural.c: Regenerated.
41285
5f0a5dae
RH
412862012-03-09 Richard Henderson <rth@twiddle.net>
41287
41288 * include/math_private.h: Remove file.
41289 * math/math_private.h: Move file ...
41290 * sysdeps/generic/math_private.h: ... here.
41291
b8c03620
RH
41292 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41293 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41294 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41295
4e234f5d 41296 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41297 and <math_private.h>.
41298 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41299 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41300 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41301 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41302 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41303 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41304 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41306 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41307 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41308 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41309 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41310 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41311 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41312 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41313 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41315 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41316 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41317 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41319 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41320 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41322 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41323 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41324 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41328 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41329 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41330 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41331 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41332 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41333 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41334 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41335 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41336 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41338 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41339 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41340 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41341 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41342 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41343 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41344 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41345 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41346 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41347 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41348 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41349 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41350 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41351 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41352 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41353 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41354 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41355 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41356 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41357 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41358 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41359 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41361 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41362 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41363 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41364 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41365 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41366 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41367 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41368 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41370 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41371 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41372 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41378 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41379 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41380 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41381 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41382 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41385 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41386 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41387 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41388 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41389 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41390 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41391 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41392 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41393 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41394 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41395 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41397 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41398 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41399 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41400 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41401 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41402 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41403 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41404 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41405 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41406 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41407 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41408 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41409 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41410 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41411 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41412 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41413 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41414 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41415 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41416 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41417 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41418 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41419 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41421 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41422 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41423 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41424 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41425 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41426 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41427 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41428 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41429 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41430 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41431 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41432 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41433 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41434 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41435 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41436 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41437 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41438 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41439 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41440 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41441 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41442 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41443 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41444 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41445 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41446 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41447 * sysdeps/ieee754/k_standard.c: Likewise.
41448 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41449 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41450 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41451 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41452 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41453 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41454 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41455 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41456 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41457 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41458 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41459 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41460 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41461 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41462 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41463 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41464 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41465 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41466 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41467 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41468 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41469 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41470 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41471 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41472 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41473 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41474 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41475 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41476 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41477 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41478 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41479 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41480 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41481 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41482 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41483 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41484 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41485 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41486 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41487 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41488 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41489 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41490 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41491 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41492 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41493 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41494 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41496 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41497 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41498 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41499 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41500 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41501 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41504 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41505 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41506 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41507 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41508 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41509 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41510 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41511 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41512 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41513 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41514 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41515 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41516 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41518 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41519 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41520 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41521 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41522 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41524 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41525 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41526 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41527 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41528 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41529 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41530 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41531 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41532 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41533 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41534 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41535 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41536 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41538 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41539 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41540 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41541 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41542 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41543 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41544 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41545 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41546 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41547 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41549 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41550 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41551 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41552 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41553 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41554 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41555 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41556 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41557 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41558 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41559 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41560 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41561 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41562 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41563 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41564 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41565 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41566 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41567 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41568 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41569 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41570 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41571 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41572 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41573 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41574 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41575 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41576 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41577 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41578 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41579 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41580 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41581 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41582 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41584 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41585 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41586 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41587 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41588 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41589 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41590 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41591 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41592 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41596 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41597 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41598 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41601 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41603 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41608 * sysdeps/ieee754/s_lib_version.c: Likewise.
41609 * sysdeps/ieee754/s_matherr.c: Likewise.
41610 * sysdeps/ieee754/s_signgam.c: Likewise.
41611 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41612 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41613 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41614 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41615 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41616 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41617 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41618 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41619 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41620 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41621 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41622 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41623 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41624 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41625 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41626 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41627 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41628 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41629 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41632
1991fa03
JM
416332012-03-09 Joseph Myers <joseph@codesourcery.com>
41634
41635 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41636 * sunrpc/rpc_main.c: Likewise.
41637 * sunrpc/rpc_svcout.c: Likewise.
41638
60d6f5a6
DM
416392012-03-09 David S. Miller <davem@davemloft.net>
41640
41641 * include/math_private.h: New file.
41642
4962050e
JM
416432012-03-09 Joseph Myers <joseph@codesourcery.com>
41644
02a6f887
JM
41645 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41646 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41647 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41648 from <bits/socket_type.h>.
41649 (enum __socket_type): Don't define here.
41650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41652 bits/socket_type.h.
41653
c6e013c1
JM
41654 [BZ #13566]
41655 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41656 checking __USE_GNU.
41657
4962050e
JM
41658 * Makerules ($(inst_includedir)/%.h): New rule.
41659 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41660 (install-others): Remove variable setting.
41661 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41662
38842f45
RH
416632012-03-08 Richard Henderson <rth@twiddle.net>
41664
67bb6da6
RH
41665 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41666 from macro to inline function; merge with the
41667 !__LIBC_INTERNAL_MATH_INLINES version.
41668 (__ieee754_sqrtf): Likewise.
41669
15194b4b
RH
41670 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41671 to inline function.
41672 (__rintf, __floor, __floorf): Likewise.
41673
64e21ede
RH
41674 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41675 macro to inline function.
41676 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41677
38842f45
RH
41678 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41679 not <math/math_private.h>.
41680
c64bf5fe
DM
416812012-03-08 David S. Miller <davem@davemloft.net>
41682
41683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41684 copyright year.
41685 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41686
82d86f28
TS
416872012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41688
41689 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41690 normalization.
41691 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41692 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41693
aea5d727
UD
416942012-03-08 Ulrich Drepper <drepper@gmail.com>
41695
41696 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41697 be defined individually, they must be defined as a block. Define
41698 S for printing a string instead of hidint the different by using a
41699 macro for adding the 'l'.
41700 * stdio-common/tst-fphex-wide.c: Adjust.
41701
70bca0a3
MP
417022012-03-07 Marek Polacek <polacek@redhat.com>
41703
41704 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41705
65b81130
MP
417062012-03-08 Marek Polacek <polacek@redhat.com>
41707
41708 [BZ #13806]
41709 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41710 * stdio-common/tst-fphex.c: Define a few macros to make the
41711 test reusable. Use them.
41712 * stdio-common/tst-fphex-wide.c: New file.
41713
07037eeb
JM
417142012-03-08 Joseph Myers <joseph@codesourcery.com>
41715
a7a93d50
JM
41716 [BZ #6911]
41717 * manual/macros.texi (gnusystems): New macro.
41718 (nongnusystems): Likewise.
41719 (gnulinuxhurdsystems): Likewise.
41720 (gnuhurdsystems): Likewise..
41721 (gnulinuxsystems): Likewise.
41722 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41723 variants of the GNU system, not "GNU system".
41724 * manual/conf.texi: Likewise.
41725 * manual/errno.texi: Likewise. Update example of errno macro
41726 expansion.
41727 * manual/filesys.texi: Likewise.
41728 (getumask): Document as specific to GNU/Hurd.
41729 * manual/install.texi: Likewise. Reword some references to
41730 GNU/Linux.
41731 * manual/intro.texi: Likewise.
41732 * manual/io.texi: Likewise.
41733 (File Name Portability): Detail which constraints are inapplicable
41734 to all GNU systems and which are only inapplicable to GNU/Hurd.
41735 * manual/job.texi: Likewise.
41736 * manual/llio.texi: Likewise.
41737 (O_NOCTTY): Document as present on GNU/Linux.
41738 * manual/maint.texi: Likewise.
41739 * manual/memory.texi: Likewise.
41740 * manual/pattern.texi: Likewise.
41741 * manual/pipe.texi: Likewise.
41742 * manual/process.texi: Likewise.
41743 * manual/resource.texi: Likewise.
41744 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41745 child on GNU/Hurd.
41746 * manual/setjmp.texi: Likewise.
41747 * manual/signal.texi: Likewise.
41748 * manual/startup.texi: Likewise.
41749 * manual/stdio.texi: Likewise.
41750 * manual/terminal.texi: Likewise.
41751 (ONLCR): Document as POSIX.
41752 (OXTABS): Document availability on GNU/Linux as XTABS.
41753 (ONOEOT): Document availability separately from other bits.
41754 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41755 * manual/time.texi: Likewise.
41756 * manual/users.texi: Likewise.
41757 * INSTALL: Regenerated.
41758 * sysdeps/gnu/errlist.c: Regenerated.
41759
07037eeb
JM
41760 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41761 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41762 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41763 puts.
41764 * configure: Regenerated.
41765
d1d3431a
JM
417662012-03-07 Joseph Myers <joseph@codesourcery.com>
41767
af6a1e37
JM
41768 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41769 default includes instead of AC_HEADER_CHECK.
41770 * sysdeps/i386/configure: Regenerated.
41771
d1d3431a
JM
41772 [BZ #10716]
41773 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41774 * math/s_cacoshf.c (__cacoshf): Likewise.
41775 * math/s_cacoshl.c (__cacoshl): Likewise.
41776 * math/s_casinh.c (__casinh): Set signs of result from argument.
41777 * math/s_casinhf.c (__casinhf): Likewise.
41778 * math/s_casinhl.c (__casinhl): Likewise.
41779 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41780 (casinh_test): Add more tests.
41781 * sysdeps/i386/fpu/libm-test-ulps: Update.
41782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41783
482ff4da
UD
417842012-03-07 Ulrich Drepper <drepper@gmail.com>
41785
872fda05
UD
41786 * po/zh_TW.po: Update from translation team.
41787
a4300c7a
UD
41788 * login/Makefile (distribute): Remove variable.
41789 * catgets/Makefile: Likewise.
41790 * mach/Makefile: Likewise.
41791 * malloc/Makefile: Likewise.
41792 * misc/Makefile: Likewise.
41793 * iconv/Makefile: Likewise.
41794 * nscd/Makefile: Likewise.
41795 * hurd/Makefile: Likewise.
41796 * manual/Makefile: Likewise.
41797 * locale/Makefile: Likewise.
41798 * intl/Makefile: Likewise.
41799 * conform/Makefile: Likewise.
41800 * nss/Makefile: Likewise.
41801 * time/Makefile: Likewise.
41802 * soft-fp/Makefile: Likewise.
41803 * dirent/Makefile: Likewise.
41804 * gmon/Makefile: Likewise.
41805 * po/Makefile: Likewise.
41806 * rt/Makefile: Likewise.
41807 * socket/Makefile: Likewise.
41808 * math/Makefile: Likewise.
41809 * signal/Makefile: Likewise.
41810 * debug/Makefile: Likewise.
41811 * elf/Makefile: Likewise.
41812 * timezone/Makefile: Likewise.
41813 * stdlib/Makefile: Likewise.
41814 * iconvdata/Makefile: Likewise.
41815 * sunrpc/Makefile: Likewise.
41816 * io/Makefile: Likewise.
41817 * argp/Makefile: Likewise.
41818 * inet/Makefile: Likewise.
41819 * hesiod/Makefile: Likewise.
41820 * grp/Makefile: Likewise.
41821 * csu/Makefile: Likewise.
41822 * wctype/Makefile: Likewise.
41823 * crypt/Makefile: Likewise.
41824 * libio/Makefile: Likewise.
41825 * string/Makefile: Likewise.
41826 * nis/Makefile: Likewise.
41827 * resolv/Makefile: Likewise.
41828 * stdio-common/Makefile: Likewise.
41829 * wcsmbs/Makefile: Likewise.
41830 * dlfcn/Makefile: Likewise.
41831 * posix/Makefile: Likewise.
41832
3b7c4e74 41833 [BZ #6959]
482ff4da
UD
41834 * timezone/Makefile: Don't install timezone files, just the programs
41835 and scripts.
41836
f72ed77d
UD
418372012-03-06 Ulrich Drepper <drepper@gmail.com>
41838
a000466f
UD
41839 * nss/databases.def: Add missing gshadow entry.
41840
f72ed77d
UD
41841 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41842
a53b7a4e
MP
418432012-03-06 Marek Polacek <polacek@redhat.com>
41844
41845 [BZ #13726]
41846 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41847 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41848 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41849 * stdio-common/tst-long-dbl-fphex.c: New file.
41850
e9258400
DM
418512012-03-06 David S. Miller <davem@davemloft.net>
41852
41853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41854 (set_obp_int): New function.
41855 (get_obp_int): New function.
41856 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
41857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41858 Avoid unused variable warnings on 'val' and use builtin_expect.
41859 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41860 __builtin_expect.
e9258400
DM
41861 (INLINE_CLONE_SYSCALL): Likewise.
41862
3bd2c723
DM
418632012-03-05 David S. Miller <davem@davemloft.net>
41864
41865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41866
bbb78d03
AS
418672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41868
884c5db4
AS
41869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41870
bbb78d03
AS
41871 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41872 only for |x| >= 40.
41873 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41874
1c9f702a 418752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
41876
41877 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41878 Replace gettimeofday with __vdso_gettimeofday.
41879
7be16f82
RM
41880 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41881 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41882 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
41883
41884 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41885 time with __vdso_time.
41886
ed58a00f
JM
418872012-03-05 Joseph Myers <joseph@codesourcery.com>
41888
41889 * manual/lang.texi (size_t): Note types to which size_t may be
41890 equivalent with the GNU C Library, but do not describe when
41891 differences between them are significant.
41892
30ee4ced
AJ
418932012-03-05 Andreas Jaeger <aj@suse.de>
41894
41895 * sysdeps/i386/fpu/libm-test-ulps: Update.
41896
b7cd39e8
JM
418972012-03-05 Joseph Myers <joseph@codesourcery.com>
41898
41899 [BZ #3976]
41900 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41901 (__ieee754_pow): Save and restore rounding mode and use
41902 round-to-nearest for main computations.
41903 * math/libm-test.inc (pow_test_tonearest): New function.
41904 (pow_test_towardzero): Likewise.
41905 (pow_test_downward): Likewise.
41906 (pow_test_upward): Likewise.
41907 (main): Call the new functions.
41908 * sysdeps/i386/fpu/libm-test-ulps: Update.
41909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
41910
41911 [BZ #3976]
41912 * math/libm-test.inc (cosh_test_tonearest): New function.
41913 (cosh_test_towardzero): Likewise.
41914 (cosh_test_downward): Likewise.
41915 (cosh_test_upward): Likewise.
41916 (sinh_test_tonearest): Likewise.
41917 (sinh_test_towardzero): Likewise.
41918 (sinh_test_downward): Likewise.
41919 (sinh_test_upward): Likewise.
41920 (main): Call the new functions.
41921 * sysdeps/i386/fpu/libm-test-ulps: Update.
41922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41923
6c6a98c9
TV
419242012-03-05 Tom de Vries <tom@codesourcery.com>
41925
41926 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41927 default stack guard is set in last bytes.
41928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41929
21bb2d2e 419302012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 41931
21bb2d2e 41932 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 41933
21bb2d2e
AJ
41934 [BZ #13656]
41935 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41936 possibly allocate from heap instead of stack.
41937 * stdio-common/bug-vfprintf-nargs.c: New file.
41938 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 41939
c6922934
AS
419402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41941
41942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41943
bc957d53
MP
419442012-03-03 Marek Polacek <polacek@redhat.com>
41945
41946 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41947 * math/math_private.h: Likewise.
41948 * stdlib/tst-strtod.c: Likewise.
41949 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41950 * sysdeps/x86_64/bits/atomic.h: Likewise.
41951
6358490d
DM
419522012-03-02 David S. Miller <davem@davemloft.net>
41953
41954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41958 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41959 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41960 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41961 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41962
01ae168d
RM
419632012-03-02 Roland McGrath <roland@hack.frob.com>
41964
d9a17c07
RM
41965 [BZ #13792]
41966 * manual/examples/README: New file, says the example source files
41967 can be used under GPL>=2.
41968 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41969 line containing just "*/".
41970 * manual/examples/add.c: Add copyright header (GPL>=2).
41971 * manual/examples/argp-ex1.c: Likewise.
41972 * manual/examples/argp-ex2.c: Likewise.
41973 * manual/examples/argp-ex3.c: Likewise.
41974 * manual/examples/argp-ex4.c: Likewise.
41975 * manual/examples/atexit.c: Likewise.
41976 * manual/examples/db.c: Likewise.
41977 * manual/examples/dir.c: Likewise.
41978 * manual/examples/dir2.c: Likewise.
41979 * manual/examples/execinfo.c: Likewise.
41980 * manual/examples/filecli.c: Likewise.
41981 * manual/examples/filesrv.c: Likewise.
41982 * manual/examples/fmtmsgexpl.c: Likewise.
41983 * manual/examples/genpass.c: Likewise.
41984 * manual/examples/inetcli.c: Likewise.
41985 * manual/examples/inetsrv.c: Likewise.
41986 * manual/examples/isockad.c: Likewise.
41987 * manual/examples/longopt.c: Likewise.
41988 * manual/examples/memopen.c: Likewise.
41989 * manual/examples/memstrm.c: Likewise.
41990 * manual/examples/mkfsock.c: Likewise.
41991 * manual/examples/mkisock.c: Likewise.
41992 * manual/examples/mygetpass.c: Likewise.
41993 * manual/examples/pipe.c: Likewise.
41994 * manual/examples/popen.c: Likewise.
41995 * manual/examples/rprintf.c: Likewise.
41996 * manual/examples/search.c: Likewise.
41997 * manual/examples/select.c: Likewise.
41998 * manual/examples/setjmp.c: Likewise.
41999 * manual/examples/sigh1.c: Likewise.
42000 * manual/examples/sigusr.c: Likewise.
42001 * manual/examples/stpcpy.c: Likewise.
42002 * manual/examples/strdupa.c: Likewise.
42003 * manual/examples/strftim.c: Likewise.
42004 * manual/examples/strncat.c: Likewise.
42005 * manual/examples/subopt.c: Likewise.
42006 * manual/examples/swapcontext.c: Likewise.
42007 * manual/examples/termios.c: Likewise.
42008 * manual/examples/testopt.c: Likewise.
42009 * manual/examples/testpass.c: Likewise.
42010 * manual/examples/timeval_subtract.c: Likewise.
42011
01ae168d
RM
42012 [BZ #13792]
42013 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42014 function to ...
42015 * manual/timeval_subtract.c.texi: ... here, new file.
42016
49efa33d
DM
420172012-03-02 David S. Miller <davem@davemloft.net>
42018
42019 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42020
28afd92d
JM
420212012-03-02 Joseph Myers <joseph@codesourcery.com>
42022
804360ed
JM
42023 [BZ #3976]
42024 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42025 (__sin): Save and restore rounding mode and use round-to-nearest
42026 for all computations.
42027 (__cos): Save and restore rounding mode and use round-to-nearest
42028 for all computations.
42029 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42030 <fenv.h>.
42031 (tan): Save and restore rounding mode and use round-to-nearest for
42032 all computations.
42033 * math/libm-test.inc (cos_test_tonearest): New function.
42034 (cos_test_towardzero): Likewise.
42035 (cos_test_downward): Likewise.
42036 (cos_test_upward): Likewise.
42037 (sin_test_tonearest): Likewise.
42038 (sin_test_towardzero): Likewise.
42039 (sin_test_downward): Likewise.
42040 (sin_test_upward): Likewise.
42041 (tan_test_tonearest): Likewise.
42042 (tan_test_towardzero): Likewise.
42043 (tan_test_downward): Likewise.
42044 (tan_test_upward): Likewise.
42045 (main): Call the new functions.
42046 * sysdeps/i386/fpu/libm-test-ulps: Update.
42047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42048
a6d06d7b
JM
42049 [BZ #10135]
42050 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42051 small n, then large n, before computing and testing k+n.
42052 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42054 Likewise.
42055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42056 Likewise.
42057 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42058 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42063 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42064 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42065 * math/libm-test.inc (scalbn_test): Add more tests.
42066 (scalbln_test): Likewise.
42067
07e12bb3
JM
42068 * manual/filesys.texi (mode_t): Describe constraints on size and
42069 signedness, not exact equivalence to a particular type.
42070 (ino_t): Likewise.
42071 (ino64_t): Likewise.
42072 (dev_t): Likewise.
42073 (nlink_t): Likewise.
42074 (blkcnt_t): Likewise.
42075 (blkcnt64_t): Likewise.
42076 * manual/llio.texi (off_t): Likewise.
42077
28afd92d
JM
42078 [BZ #3976]
42079 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42080 (__ieee754_exp): Save and restore rounding mode and use
42081 round-to-nearest for all computations.
42082 * math/libm-test.inc (exp_test_tonearest): New function.
42083 (exp_test_towardzero): Likewise.
42084 (exp_test_downward): Likewise.
42085 (exp_test_upward): Likewise.
42086 (main): Call the new functions.
42087 * sysdeps/i386/fpu/libm-test-ulps: Update.
42088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42089
b1eeb65d
CD
420902012-03-01 Chris Demetriou <cgd@google.com>
42091
42092 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42093 have predictable order.
42094
53362a4b
DM
420952012-03-01 David S. Miller <davem@davemloft.net>
42096
3c969083
DM
42097 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42098
759707de
DM
42099 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42100 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42101 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42102 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42103
dfdb8ff2
DM
42104 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42105 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42106 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42108 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42109 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42110 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42111 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42112 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42113
ead89f96
DM
42114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42115
7f66bd07
DM
42116 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42117 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42118 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42119
53362a4b
DM
42120 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42121 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42122 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42123 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42124 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42125 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42126 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42127 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42128 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42129 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42130 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42131 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42133 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42134 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42136 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42137 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42138 * sysdeps/sparc/elf/configure: Regenerated.
42139
7b1902cb
JM
421402012-03-01 Joseph Myers <joseph@codesourcery.com>
42141
bec039bc
JM
42142 * configure.in (AS, LD): Require binutils 2.20 or later.
42143 * configure: Regenerated.
42144 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42145 as required minimum version.
42146 * INSTALL: Regenerated.
42147
7b1902cb
JM
42148 [BZ #2541]
42149 [BZ #4108]
42150 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42151 before squaring exponent.
42152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42153 bottom long double and 27 bits of top long double before squaring
42154 exponent.
42155 * math/libm-test.inc (erfc_test): Add more tests.
42156 * sysdeps/i386/fpu/libm-test-ulps: Update.
42157 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42159
f775c276
KT
421602012-03-01 Kai Tietz <ktietz@redhat.com>
42161
42162 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42163 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42164 containing bit-fields.
42165 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42166 * soft-fp/single.h (_FP_UNION_S): Likewise.
42167 * soft-fp/double.h (_FP_UNION_D): Likewise.
42168
5b8a4d4a
JM
421692012-02-29 Joseph Myers <joseph@codesourcery.com>
42170
0bab47b6
JM
42171 [BZ #13786]
42172 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42173 not include ../strcmp.S.
42174 [USE_AS_STRNCASECMP_L]: Likewise.
42175 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42176 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42177 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42178 (__strncasecmp_l_ia32): Define as alias to
42179 __strncasecmp_l_nonascii.
42180
0fcad3e2
JM
42181 [BZ #5794]
42182 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42183 * sysdeps/i386/fpu/libm-test-ulps: Update.
42184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42185
5b8a4d4a
JM
42186 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42188
8fdceb2e
JL
421892012-02-29 Jeff Law <law@redhat.com>
42190
42191 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42192 out of bounds read.
42193
1f393a11
MP
421942012-02-29 Marek Polacek <polacek@redhat.com>
42195
42196 [BZ #13706]
42197 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42198 * elf/Makefile: Add rules to run tst-unused-dep.out.
42199
8847f037
DM
422002012-02-28 David S. Miller <davem@davemloft.net>
42201
42202 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42203 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42204 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42205 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42206 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42207 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42208
169d7f11
JM
422092012-02-29 Joseph Myers <joseph@codesourcery.com>
42210
42211 * math/libm-test.inc (llround_test): Move one test from
42212 lround_test. Use TEST_f_L in moved test.
42213 (lround_test): Move misplaced test to llround_test. Add testcase
42214 from bug 2561.
42215
39adf059
UD
422162012-02-28 Ulrich Drepper <drepper@gmail.com>
42217
42218 * sysdeps/x86_64/fpu/e_expf.S: New file.
42219 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42220
71b5d1c5
SB
422212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42222
42223 [BZ #13637]
42224 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42225 of remain_len that may cause incomplete multi-byte character and
42226 false match.
42227 * posix/bug-regex33.c: New file.
42228 * posix/Makefile (tests): Add bug-regex33.
42229
1f77f049
JM
422302012-02-28 Joseph Myers <joseph@codesourcery.com>
42231
42232 * manual/macros.texi: New file.
42233 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42234 * manual/libc.texinfo: Include macros.texi.
42235 * manual/creatute.texi: Likewise.
42236 * manual/install.texi: Likewise.
42237 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42238 @glibcadj{} in references to the GNU C Library.
42239 * manual/charset.texi: Likewise.
42240 * manual/conf.texi: Likewise.
42241 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42242 when not using those macros.
42243 * manual/creature.texi: Likewise.
42244 * manual/crypt.texi: Likewise.
42245 * manual/errno.texi: Likewise.
42246 * manual/filesys.texi: Likewise.
42247 * manual/header.texi: Likewise.
42248 * manual/install.texi: Likewise.
42249 * manual/intro.texi: Likewise.
42250 * manual/io.texi: Likewise.
42251 * manual/job.texi: Likewise.
42252 * manual/lang.texi: Likewise.
42253 * manual/libc.texiinfo: Likewise.
42254 * manual/llio.texi: Likewise.
42255 * manual/locale.texi: Likewise.
42256 * manual/maint.texi: Likewise.
42257 * manual/math.texi: Likewise.
42258 * manual/memory.texi: Likewise.
42259 * manual/message.texi: Likewise.
42260 * manual/nss.texi: Likewise.
42261 * manual/pattern.texi: Likewise.
42262 * manual/process.texi: Likewise.
42263 * manual/resource.texi: Likewise.
42264 * manual/search.texi: Likewise.
42265 * manual/setjmp.texi: Likewise.
42266 * manual/signal.texi: Likewise.
42267 * manual/socket.texi: Likewise.
42268 * manual/startup.texi: Likewise.
42269 * manual/stdio.texi: Likewise.
42270 * manual/string.texi: Likewise.
42271 * manual/sysinfo.texi: Likewise.
42272 * manual/syslog.texi: Likewise.
42273 * manual/terminal.texi: Likewise.
42274 * manual/time.texi: Likewise.
42275 * manual/users.texi: Likewise.
42276 * INSTALL: Regenerated.
42277 * NOTES: Regenerated.
d40c5d54 42278 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42279
450bf206
AS
422802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42281
42282 * include/dirent.h: Include <dirstream.h> before
42283 <dirent/dirent.h>.
42284
741a235b
DM
422852012-02-28 David S. Miller <davem@davemloft.net>
42286
42287 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42288 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42289 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42290 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42291
d6b5aa58
DM
422922012-02-27 David S. Miller <davem@davemloft.net>
42293
1aff59a3
DM
42294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42296 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42297 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42298
d6b5aa58
DM
42299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42300 frame pointer instead of stack pointer relative arg slot.
42301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42302 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42303 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42304
433f48bf
CD
423052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42306
42307 [BZ #3992]
42308 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42309
d674b76d
DM
423102012-02-27 David S. Miller <davem@davemloft.net>
42311
42312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42316 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42317 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42318 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42319 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42320
0e7727f7
JM
423212012-02-27 Joseph Myers <joseph@codesourcery.com>
42322
42323 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42324 later. Allow versions 5-9.
43be4ca2 42325 * configure: Regenerated.
0e7727f7
JM
42326 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42327 required minimum version and 4.6 as recommended version. Do not
42328 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42329 * INSTALL: Regenerated.
0e7727f7 42330
a78bc654
DM
423312012-02-27 David S. Miller <davem@davemloft.net>
42332
428d5830
DM
42333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42337 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42338 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42339 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42340 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42341
a78bc654
DM
42342 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42343 manipulate bits before adding and subtracting TWO112[sx].
42344 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42345
4579f81c
RM
423462012-02-27 Roland McGrath <roland@hack.frob.com>
42347
36c8acb4
RM
42348 [BZ #13775]
42349 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42350 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42351 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42352 being in POSIX, because they are in 1003.1-2008.
42353
84ad622b
RM
42354 * rt/tst-aio.c: Include <fcntl.h>.
42355 * rt/tst-aio7.c: Likewise.
42356 * rt/tst-aio64.c: Likewise.
42357
4579f81c
RM
42358 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42359
abd923db
JM
423602012-02-27 Joseph Myers <joseph@codesourcery.com>
42361
42362 * manual/install.texi (--with-headers): Describe headers as
42363 interface headers, not private headers.
42364 (Specific advice for GNU/Linux systems): Describe use of headers
42365 from "make headers_install", not private headers from older
42366 kernels.
43be4ca2 42367 * INSTALL: Regenerated.
abd923db
JM
42368 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42369 Change to 2.6.19.
42370 * sysdeps/unix/sysv/linux/configure: Regenerated.
42371
6664049b
JM
42372 * manual/llio.texi (fclean): Remove documentation.
42373
bb8b6697
JM
42374 * manual/Makefile (libc-texi-generated): New variable. Include
42375 version.texi.
42376 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42377 $(libc-texi-generated), not duplicated list of files.
42378 (version.texi, stamp-version): New rules.
42379 (realclean): Remove $(libc-texi-generated), not individual files
42380 from that list. Do not remove dir-add.texinfo.
42381 * manual/libc.texinfo: Comment out uses of edition numbers and
42382 references to printed manual. Remove last-updated dates.
42383 (EDITION): Comment out.
42384 (ISBN): Likewise.
42385 (VERSION, UPDATED): Remove.
42386 (version.texi): Include.
42387
12e5c3b9
AS
423882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42389
42390 * sysdeps/posix/spawni.c: Include <signal.h>.
42391 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42392 * sysdeps/pthread/aio_fsync.c: Likewise.
42393
4efeffc1 423942012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42395
ba63ba08
UD
42396 * conform/Makefile (tests): Run only when not cross-compiling and
42397 when fast-check is not defined.
42398
d94a4670
UD
42399 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42400 * conform/data/limits.h-data: Fixes for POSIX2008.
42401 * conform/run-conformtest.sh: Run all tests.
42402 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42403 headers.
42404 * include/bits/dlfcn.h: Likewise.
42405 * include/langinfo.h: Likewise.
42406 * include/monetary.h: Likewise.
42407 * include/sys/poll.h: Likewise.
42408
42409 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42410 for __USE_GNU.
42411 * posix/spawn.h: Define __need_sigset_t.
42412 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42413 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42414 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42415 to get sigevent_t only.
42416 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42417 only for __USE_GNU.
42418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42419 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42420 process_vm_writev only for __USE_GNU.
42421 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42422
42423 * conform/Makefile: For now ignore errors from run-conformtest.
42424 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42425 POSIX to avoid namespace pollution. Don't prepend headers.
42426 * conform/data/aio.h-data: Fixes for POSIX testing.
42427 * conform/data/fcntl.h-data: Likewise.
42428 * conform/data/glob.h-data: Likewise.
42429 * conform/data/grp.h-data: Likewise.
42430 * conform/data/pthread.h-data: Likewise.
42431 * conform/data/pwd.h-data: Likewise.
42432 * conform/data/signal.h-data: Likewise.
42433 * conform/data/spawn.h-data: Likewise.
42434 * conform/data/stdio.h-data: Likewise.
42435 * conform/data/stdlib.h-data: Likewise.
42436 * conform/data/stropts.h-data: Likewise.
42437 * conform/data/sys/mman.h-data: Likewise.
42438 * conform/data/sys/stat.h-data: Likewise.
42439 * conform/data/sys/types.h-data: Likewise.
42440 * conform/data/sys/wait.h-data: Likewise.
42441 * conform/data/time.h-data: Likewise.
42442 * conform/data/unistd.h-data: Likewise.
42443 * conform/data/utime.h-data: Likewise.
42444
42445 * io/sys/stat.h: fchmod was always in POSIX.
42446 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42447 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42448 * rt/aio.h: Define __need_timespec before including <time.h>.
42449 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42450 struct. Add forward declaration of pthread_attr_t and use it in
42451 sigevent.
42452 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42454 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42455 always remove CLK_TCK definition.
42456
c20105c3
AS
424572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42458
42459 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42460
7a270350
UD
424612012-02-25 Ulrich Drepper <drepper@gmail.com>
42462
31341567
UD
42463 * conform/run-conformtest.sh: New file.
42464 * conform/Makefile: Run run-conformtest for tests.
42465 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42466 support.
42467
42468 * conform/data/uchar.h-data: New file.
42469 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42470 * conform/data/arpa/inet.h-data: Likewise.
42471 * conform/data/assert.h-data: Likewise.
42472 * conform/data/complex.h-data: Likewise.
42473 * conform/data/cpio.h-data: Likewise.
42474 * conform/data/ctype.h-data: Likewise.
42475 * conform/data/dirent.h-data: Likewise.
42476 * conform/data/dlfcn.h-data: Likewise.
42477 * conform/data/errno.h-data: Likewise.
42478 * conform/data/fcntl.h-data: Likewise.
42479 * conform/data/float.h-data: Likewise.
42480 * conform/data/fmtmsg.h-data: Likewise.
42481 * conform/data/fnmatch.h-data: Likewise.
42482 * conform/data/ftw.h-data: Likewise.
42483 * conform/data/glob.h-data: Likewise.
42484 * conform/data/grp.h-data: Likewise.
42485 * conform/data/iconv.h-data: Likewise.
42486 * conform/data/inttypes.h-data: Likewise.
42487 * conform/data/langinfo.h-data: Likewise.
42488 * conform/data/libgen.h-data: Likewise.
42489 * conform/data/limits.h-data: Likewise.
42490 * conform/data/locale.h-data: Likewise.
42491 * conform/data/math.h-data: Likewise.
42492 * conform/data/monetary.h-data: Likewise.
42493 * conform/data/mqueue.h-data: Likewise.
42494 * conform/data/ndbm.h-data: Likewise.
42495 * conform/data/net/if.h-data: Likewise.
42496 * conform/data/netdb.h-data: Likewise.
42497 * conform/data/netinet/in.h-data: Likewise.
42498 * conform/data/nl_types.h-data: Likewise.
42499 * conform/data/poll.h-data: Likewise.
42500 * conform/data/pthread.h-data: Likewise.
42501 * conform/data/pwd.h-data: Likewise.
42502 * conform/data/regex.h-data: Likewise.
42503 * conform/data/sched.h-data: Likewise.
42504 * conform/data/search.h-data: Likewise.
42505 * conform/data/semaphore.h-data: Likewise.
42506 * conform/data/setjmp.h-data: Likewise.
42507 * conform/data/signal.h-data: Likewise.
42508 * conform/data/spawn.h-data: Likewise.
42509 * conform/data/stdarg.h-data: Likewise.
42510 * conform/data/stdio.h-data: Likewise.
42511 * conform/data/stdlib.h-data: Likewise.
42512 * conform/data/string.h-data: Likewise.
42513 * conform/data/strings.h-data: Likewise.
42514 * conform/data/stropts.h-data: Likewise.
42515 * conform/data/sys/ipc.h-data: Likewise.
42516 * conform/data/sys/mman.h-data: Likewise.
42517 * conform/data/sys/msg.h-data: Likewise.
42518 * conform/data/sys/resource.h-data: Likewise.
42519 * conform/data/sys/select.h-data: Likewise.
42520 * conform/data/sys/sem.h-data: Likewise.
42521 * conform/data/sys/shm.h-data: Likewise.
42522 * conform/data/sys/socket.h-data: Likewise.
42523 * conform/data/sys/stat.h-data: Likewise.
42524 * conform/data/sys/statvfs.h-data: Likewise.
42525 * conform/data/sys/time.h-data: Likewise.
42526 * conform/data/sys/timeb.h-data: Likewise.
42527 * conform/data/sys/times.h-data: Likewise.
42528 * conform/data/sys/types.h-data: Likewise.
42529 * conform/data/sys/uio.h-data: Likewise.
42530 * conform/data/sys/un.h-data: Likewise.
42531 * conform/data/sys/utsname.h-data: Likewise.
42532 * conform/data/sys/wait.h-data: Likewise.
42533 * conform/data/syslog.h-data: Likewise.
42534 * conform/data/tar.h-data: Likewise.
42535 * conform/data/termios.h-data: Likewise.
42536 * conform/data/utime.h-data: Likewise.
42537 * conform/data/utmpx.h-data: Likewise.
42538 * conform/data/varargs.h-data: Likewise.
42539 * conform/data/wchar.h-data: Likewise.
42540 * conform/data/wctype.h-data: Likewise.
42541 * conform/data/wordexp.h-data: Likewise.
42542
42543 * include/stropts.h: New file.
42544 * include/uchar.h: New file.
42545 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42546 * include/assert.h: Likewise.
42547 * include/ctype.h: Likewise.
42548 * include/dirent.h: Likewise.
42549 * include/dlfcn.h: Likewise.
42550 * include/fcntl.h: Likewise.
42551 * include/fnmatch.h: Likewise.
42552 * include/glob.h: Likewise.
42553 * include/grp.h: Likewise.
42554 * include/libio.h: Likewise.
42555 * include/locale.h: Likewise.
42556 * include/math.h: Likewise.
42557 * include/net/if.h: Likewise.
42558 * include/netdb.h: Likewise.
42559 * include/netinet/in.h: Likewise.
42560 * include/pthread.h: Likewise.
42561 * include/pwd.h: Likewise.
42562 * include/regex.h: Likewise.
42563 * include/sched.h: Likewise.
42564 * include/search.h: Likewise.
42565 * include/setjmp.h: Likewise.
42566 * include/signal.h: Likewise.
42567 * include/stdio.h: Likewise.
42568 * include/stdlib.h: Likewise.
42569 * include/string.h: Likewise.
42570 * include/sys/cdefs.h: Likewise.
42571 * include/sys/mman.h: Likewise.
42572 * include/sys/msg.h: Likewise.
42573 * include/sys/resource.h: Likewise.
42574 * include/sys/select.h: Likewise.
42575 * include/sys/socket.h: Likewise.
42576 * include/sys/stat.h: Likewise.
42577 * include/sys/statvfs.h: Likewise.
42578 * include/sys/time.h: Likewise.
42579 * include/sys/times.h: Likewise.
42580 * include/sys/uio.h: Likewise.
42581 * include/sys/utsname.h: Likewise.
42582 * include/sys/wait.h: Likewise.
42583 * include/termios.h: Likewise.
42584 * include/time.h: Likewise.
42585 * include/ulimit.h: Likewise.
42586 * include/unistd.h: Likewise.
42587 * include/utime.h: Likewise.
42588 * include/wchar.h: Likewise.
42589 * include/wctype.h: Likewise.
42590 * include/wordexp.h: Likewise.
42591
42592 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42593
7a270350
UD
42594 * time/time.h: TIME_UTC must be a macro.
42595 Make timespec_get available for ISO C11 only as well.
42596
7724defc
UD
425972012-02-24 Ulrich Drepper <drepper@gmail.com>
42598
42599 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42600 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42601
6b1d1d46
JM
426022012-02-24 Joseph Myers <joseph@codesourcery.com>
42603
42604 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42605
0f8bbd69
JM
426062012-02-24 Joseph Myers <joseph@codesourcery.com>
42607
42608 * manual/texinfo.tex: Update to version 2012-01-19.16.
42609
66ab80bc
JM
426102012-02-24 Joseph Myers <joseph@codesourcery.com>
42611
42612 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42613
74981cc5
RM
426142012-02-24 Roland McGrath <roland@hack.frob.com>
42615
ee968201
RM
42616 [BZ #13738]
42617 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42618 * manual/fdl-1.3.texi: New file.
42619 * manual/fdl-1.1.texi: File removed.
42620
74981cc5
RM
42621 [BZ #13738]
42622 * manual/libc.texinfo (FDL_VERSION): New @set.
42623 Use it for mention of FDL in cover text.
42624 (Documentation License): Use it in @include file name.
42625
7bb764bc
JM
426262012-02-22 Joseph Myers <joseph@codesourcery.com>
42627 Roland McGrath <roland@hack.frob.com>
42628
42629 [BZ #5461]
57f41c40
AS
42630 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42631 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42632 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42633 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42634 name.
42635 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42636
6cbeae47
JM
426372012-02-22 Joseph Myers <joseph@codesourcery.com>
42638
42639 [BZ #2547]
42640 [BZ #11365]
42641 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42642 manipulate bits before adding and subtracting TWO23[sx].
42643 * math/libm-test.inc (nearbyint_test): Add more tests.
42644
fe45ce09
JM
426452012-02-22 Joseph Myers <joseph@codesourcery.com>
42646
42647 [BZ #2548]
42648 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42649 bits before adding and subtracting TWO23[sx].
42650 * math/libm-test.inc (rint_test): Add more tests.
42651 (rint_test_tonearest): Likewise.
42652 (rint_test_towardzero): Likewise.
42653 (rint_test_downward): Likewise.
42654 (rint_test_upward: Likewise.
42655
ff3b3d82
JM
426562012-02-22 Joseph Myers <joseph@codesourcery.com>
42657
42658 [BZ #10110]
42659 * include/stdc-predef.h: New file. Extracted from features.h.
42660 * include/features.h: Include stdc-predef.h.
42661 * Makefile (headers): Add stdc-predef.h.
42662 * CONFORMANCE (Compiler limitations): Update.
42663
ef0aab35
JM
426642012-02-22 Joseph Myers <joseph@codesourcery.com>
42665
42666 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42667
58639409
DM
426682012-02-21 David S. Miller <davem@davemloft.net>
42669
42670 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42671 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42672
c0e70b25
DM
426732012-02-20 David S. Miller <davem@davemloft.net>
42674
42675 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42676 using a normal save/restore sequence, rather than allocating a
42677 dummy stack frame just to store a frame pointer and restore.
42678 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42679
fb06851d
JM
426802012-02-21 Joseph Myers <joseph@codesourcery.com>
42681
42682 * manual/install.texi: Fix stray word in line-wrapped comment.
42683
7a8b71c3
DM
426842012-02-20 David S. Miller <davem@davemloft.net>
42685
d510c123
DM
42686 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42687 both binutils and gcc support GOTDATA.
42688
0722d7c2
DM
42689 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42690 "rd %pc" in the PIC register setup sequences.
42691
3d2b3019
DM
42692 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42693 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42694 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42695 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42696 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42698 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42699 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42701 (SYSCALL_ERROR_HANDLER): Likewise.
42702 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42703 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42705 (SYSCALL_ERROR_HANDLER): Likewise.
42706
c80098a9
DM
42707 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42708 (HAVE_GCC_GOTDATA): New.
42709 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42710 relocation support in both binutils and gcc.
42711 * sysdeps/sparc/elf/configure: Regenerate.
42712
3a2545a0
DM
42713 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42714 * sysdeps/sparc/sparc32/elf/configure: Delete.
42715 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42716 * sysdeps/sparc/sparc64/elf/configure: Delete.
42717 * sysdeps/sparc/elf/configure.in: New file.
42718 * sysdeps/sparc/elf/configure: Generate.
42719
7a8b71c3
DM
42720 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42721 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42722 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42723 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42724 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42725
f1e86fca
JM
427262012-02-21 Joseph Myers <joseph@codesourcery.com>
42727
42728 * manual/install.texi: Do not mention specific glibc version
42729 numbers.
42730 * manual/libc.texinfo (VERSION, UPDATED): Update.
42731 (@copying): Use @copyright{} and range of years.
42732
0e7dfaef
JM
427332012-02-21 Joseph Myers <joseph@codesourcery.com>
42734
42735 [BZ #13695]
42736 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42737 [crti.S not in sysdirs] (generated): Do not append.
42738 [crti.S not in sysdirs] (omit-deps): Likewise.
42739 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42740 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42741 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42742 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42743 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42744 Likewise.
42745 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42746 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42747 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42748 * csu/defs.awk: Remove file.
42749 * sysdeps/generic/initfini.c: Likewise.
42750 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42751 variable.
42752 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42753 Likewise.
42754
599af3ca
JM
427552012-02-20 Joseph Myers <joseph@codesourcery.com>
42756
42757 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42758 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42759 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42760 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42761 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42762 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42763 <bits/epoll.h>.
42764 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42765 (__EPOLL_PACKED): Define to empty if not defined by
42766 <bits/epoll.h>.
42767 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42769 bits/epoll.h.
42770
0e499750
JM
427712012-02-20 Joseph Myers <joseph@codesourcery.com>
42772
42773 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42774 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42775 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42776 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42777 <bits/timerfd.h>.
42778 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42780 bits/timerfd.h.
42781
5ad91f6e
JM
427822012-02-20 Joseph Myers <joseph@codesourcery.com>
42783
42784 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42785 in C locale.
42786 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42787 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42790
06b99b02
AJ
427912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42792
42793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42794 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42795
7638c0fd
AS
427962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42797
42798 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42799 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42800 defined.
42801 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42802 Likewise.
42803 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42804 entry for 2.16.
42805
92221550
AJ
428062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42807
42808 * math/w_acos.c: Use non-signaling floating-point comparisons.
42809 * math/w_acosf.c: Likewise.
42810 * math/w_acosh.c: Likewise.
42811 * math/w_acoshf.c: Likewise.
42812 * math/w_acoshl.c: Likewise.
42813 * math/w_acosl.c: Likewise.
42814 * math/w_asin.c: Likewise.
42815 * math/w_asinf.c: Likewise.
42816 * math/w_asinl.c: Likewise.
42817 * math/w_atanh.c: Likewise.
42818 * math/w_atanhf.c: Likewise.
42819 * math/w_atanhl.c: Likewise.
42820 * math/w_exp2.c: Likewise.
42821 * math/w_exp2f.c: Likewise.
42822 * math/w_exp2l.c: Likewise.
42823 * math/w_j0.c: Likewise.
42824 * math/w_j0f.c: Likewise.
42825 * math/w_j0l.c: Likewise.
42826 * math/w_j1.c: Likewise.
42827 * math/w_j1f.c: Likewise.
42828 * math/w_j1l.c: Likewise.
42829 * math/w_jn.c: Likewise.
42830 * math/w_jnf.c: Likewise.
42831 * math/w_log.c: Likewise.
42832 * math/w_log10.c: Likewise.
42833 * math/w_log10f.c: Likewise.
42834 * math/w_log10l.c: Likewise.
42835 * math/w_log2.c: Likewise.
42836 * math/w_log2f.c: Likewise.
42837 * math/w_log2l.c: Likewise.
42838 * math/w_logf.c: Likewise.
42839 * math/w_logl.c: Likewise.
42840 * math/w_sqrt.c: Likewise.
42841 * math/w_sqrtf.c: Likewise.
42842 * math/w_sqrtl.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42844 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42845 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42846 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42847 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42848
ebaf36eb
JM
428492012-02-19 Joseph Myers <joseph@codesourcery.com>
42850
42851 [BZ #9739]
42852 * manual/string.texi (strnlen): Use correct parameter name in
42853 equivalent expression.
42854
71c254a6
JM
428552012-02-19 Joseph Myers <joseph@codesourcery.com>
42856
42857 [BZ #11174]
42858 * manual/users.texi (seteuid): Consistently use neweuid for
42859 argument name.
42860
16d2c631
JM
428612012-02-19 Joseph Myers <joseph@codesourcery.com>
42862
42863 [BZ #13704]
42864 * manual/nss.texi (Services in the NSS configuration): Correct
42865 list of services in example configuration file.
42866
cd837b09
NB
428672012-02-19 Nick Bowler <nbowler@draconx.ca>
42868
42869 [BZ #11322]
42870 * manual/arith.texi: Remove statements about negative zero
42871 behaving identically to zero.
42872
02c4bbad
JM
428732012-02-18 Joseph Myers <joseph@codesourcery.com>
42874
42875 [BZ #5993]
42876 * manual/install.texi: Do not document upgrading from libc5.
42877
366842e7
JM
428782012-02-18 Joseph Myers <joseph@codesourcery.com>
42879
42880 [BZ #4596]
42881 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42882
dd54084d
DM
428832012-02-18 David S. Miller <davem@davemloft.net>
42884
42885 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42886 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42887 %o7 across the call.
42888 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42889 instead.
42890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42891 SETUP_PIC_REG_LEAF.
42892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42893 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42894 * sysdeps/sparc/crtn.S: Likewise.
42895
2bcc53a3
UD
428962012-02-17 Ulrich Drepper <drepper@gmail.com>
42897
42898 * aout/Makefile: Remove.
42899
09c093b5
RK
429002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42901
42902 [BZ #13058]
42903 * manual/examples/argp-ex1.c (main): Format definition in GNU
42904 style.
42905 * manual/examples/argp-ex2.c (main): Likewise.
42906 * manual/examples/argp-ex3.c (main): Likewise.
42907 * manual/examples/argp-ex4.c (main): Likewise.
42908 * manual/examples/longopt.c (main): Use new-style prototype
42909 definition.
42910 * manual/examples/strncat.c (main): Specify return type and use
42911 (void) for arguments.
42912 * manual/examples/subopt.c (main): Use char **argv argument.
42913
2ee633a2
JM
429142012-02-17 Joseph Myers <joseph@codesourcery.com>
42915
42916 [BZ #5077]
42917 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42918 rounding modes.
42919
0520adde
FB
429202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42921
42922 [BZ #6907]
42923 * manual/string.texi (strchr): Change when strchrnul is
42924 recommended.
42925
3f4081cd
DGM
429262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42927
42928 [BZ #174]
42929 * manual/locale.texi (setlocale): Document LOCPATH.
42930
d1b10e78
JM
429312012-02-17 Joseph Myers <joseph@codesourcery.com>
42932
42933 [BZ #10210]
42934 * manual/process.texi (execle): Move @dots{} before last argument.
42935
79c6869c
PB
429362012-02-17 Paul Bolle <pebolle@tiscali.nl>
42937
42938 [BZ #12047]
42939 * manual/charset.texi (Generic Charset Conversion): Fix typo
42940 (LC_TYPE -> LC_CTYPE).
42941
cc6e48bc
NB
429422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42943
42944 [BZ #5805]
42945 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42946 (scalbnf): Likewise.
42947 (scalbnl): Likewise.
42948 (scalbln): Likewise.
42949 (scalblnf): Likewise.
42950 (scalblnl): Likewise.
42951 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42952 (vwarnx): Likewise.
42953 (verr): Likewise.
42954 (verrx): Likewise.
42955 * manual/filesys.texi (telldir): Use braces around return type.
42956 * manual/llio.texi (mmap): Add space after comma.
42957 (mmap64): Likewise.
42958 * manual/math.texi (jn): Use @var{} on parameter names.
42959 (jnf): Likewise.
42960 (jnl): Likewise.
42961 (yn): Likewise.
42962 (ynf): Likewise.
42963 (ynl): Likewise.
42964 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42965 line.
42966 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42967 "...".
42968 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42969 (sched_get_priority_max): Likewise.
42970 * manual/signal.texi (sigvec): Add space after comma.
42971 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42972 names.
42973 (if_indextoname): Likewise.
42974 (if_freenameindex): Likewise.
42975 (sendto): Use ',' instead of '.' in prototype.
42976 * manual/startup.texi (syscall): Use @dots{} instead of literal
42977 "...".
42978 * manual/stdio.texi (__fpending): Separate initial words of
42979 paragraph from @deftypefun line.
42980 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42981 "...".
42982 (vsyslog): Use @var{} on parameter names.
42983 * manual/terminal.texi (stty): Use @var{} on parameter names.
42984 * manual/users.texi (getutmp): Use @var{} on parameter names.
42985 (getutmpx): Likewise.
42986
5b23062f
JM
429872012-02-17 Joseph Myers <joseph@codesourcery.com>
42988
42989 [BZ #6884]
42990 * manual/stdio.texi (fopen): Fix typos in description of
42991 ",ccs=STRING".
42992
8dee4833
AJ
429932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42994
42995 [BZ #4026]
42996 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42997 get clock_id definition.
42998
9078ce93
TS
429992012-02-17 Thomas Schwinge <thomas@schwinge.name>
43000
43001 [BZ #4822]
43002 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43003 (madvise): Cast every argument to void on its own.
43004
3835c55f
JM
430052012-02-17 Joseph Myers <joseph@codesourcery.com>
43006
43007 [BZ #9902]
43008 * manual/startup.texi (Exit Status): Fix typo.
43009
35c47e37
JM
430102012-02-17 Joseph Myers <joseph@codesourcery.com>
43011
43012 [BZ #10140]
43013 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43014 * manual/examples/argp-ex2.c: Likewise.
43015 * manual/examples/argp-ex3.c: Likewise.
43016
e3b69ca7
RH
430172012-02-16 Richard Henderson <rth@redhat.com>
43018
43019 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43020 * sysdeps/s390/s390-32/initfini.c: Remove.
43021 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43022 * sysdeps/s390/s390-64/initfini.c: Remove.
43023
df83af67
KK
430242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43025
43026 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43027 compiler output for sysdeps/generic/initfini.c.
43028 * sysdeps/sh/elf/initfini.c: Remove file.
43029
f63f3380
DM
430302012-02-16 David S. Miller <davem@davemloft.net>
43031
fb59b3a4
DM
43032 [BZ #11494]
43033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43034
f63f3380
DM
43035 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43036 * sysdeps/sparc/crti.S: New file.
43037 * sysdeps/sparc/crtn.S: New file.
43038 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43039 * sysdeps/sparc/sparc64/Makefile: Likewise.
43040
df6a4a4a
MF
430412012-02-15 Mike Frysinger <vapier@gentoo.org>
43042
6dd8f3dc 43043 [BZ #3335]
df6a4a4a
MF
43044 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43045
1cac7236
RM
430462012-02-15 Roland McGrath <roland@hack.frob.com>
43047
d2c736f8
RM
43048 [BZ #4822]
43049 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43050
1cac7236
RM
43051 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43052 (write, read, close): Likewise.
43053 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43054
8e475601
JM
430552012-02-15 Joseph Myers <joseph@codesourcery.com>
43056
43057 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43058 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43059 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43060 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43061 <bits/signalfd.h>.
43062 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43064 bits/signalfd.h.
43065
ed656b40
MP
430662012-02-14 Marek Polacek <polacek@redhat.com>
43067
43068 * sysdeps/x86_64/crti.S: New file.
43069 * sysdeps/x86_64/crtn.S: New file.
43070 * sysdeps/x86_64/elf/initfini.c: Remove file.
43071
2a979d3a
JM
430722012-02-13 Joseph Myers <joseph@codesourcery.com>
43073
43074 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43075 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43076 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43077 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43078 <bits/inotify.h>.
43079 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43081 bits/inotify.h.
43082
2a418ac3
JM
430832012-02-13 Joseph Myers <joseph@codesourcery.com>
43084
43085 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43086 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43087 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43088 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43089 <bits/eventfd.h>.
43090 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43092 bits/eventfd.h.
43093
fb779be7
TS
430942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43095
e19e83c5
RM
43096 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43097 __feraiseexcept instead of feraiseexcept.
7c35ffed 43098
fb779be7
TS
43099 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43100 nanosleep invocations.
43101 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43102 strings, and add error checking for a nanosleep invocations.
43103
59ba27a6
PE
431042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43105
43106 Replace FSF snail mail address with URLs, as per GNU coding standards.
43107 Most of the snail mail addresses were wrong anyway, and omitting
43108 them makes the source code easier to maintain. Almost all of the
43109 changes are to license notices and to locale LC_IDENTIFICATION
43110 addresses, except for this one:
43111 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43112 not its snail mail address.
43113
57b957eb
RH
431142012-02-09 Richard Henderson <rth@twiddle.net>
43115
af850b1c
RH
43116 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43117 of kernel-features.h.
43118
57b957eb
RH
43119 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43120
6b73181a
MP
431212012-02-08 Marek Polacek <polacek@redhat.com>
43122
43123 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43124 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43125 * sysdeps/gnu/_G_config.h: Likewise.
43126 * sysdeps/generic/_G_config.h: Likewise.
43127
26ecc33a
AS
431282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43129
6c6dbc63
AS
43130 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43131 tests.
43132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43133
e216c012
AS
43134 * sysdeps/powerpc/powerpc32/crti.S: New file.
43135 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43136 * sysdeps/powerpc/powerpc64/crti.S: New file.
43137 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43138
26ecc33a
AS
43139 * Makeconfig (have-initfini): Don't set.
43140 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43141 * configure.in (nopic_initfini): Don't substitute.
43142 * config.h.in (HAVE_INITFINI): Don't #undef.
43143 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43144 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43145
3add8e13
JM
431462012-02-08 Joseph Myers <joseph@codesourcery.com>
43147
43148 Support crti.S and crtn.S provided directly by architectures.
43149 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43150 [crti.S in sysdirs] (omit-deps): Likewise.
43151 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43152 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43153 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43154 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43155 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43156 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43157 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43158 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43159 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43160 compiler output for sysdeps/generic/initfini.c.
43161 * sysdeps/i386/elf/Makefile: Remove file.
43162 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43163
a22f12b4
MP
431642012-02-07 Marek Polacek <polacek@redhat.com>
43165
43166 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43167 * sysdeps/gnu/_G_config.h: Likewise.
43168 * sysdeps/mach/hurd/_G_config.h: Likewise.
43169
148cf100
MP
431702012-02-07 Marek Polacek <polacek@redhat.com>
43171
43172 * math/Makefile (tests): Add tst-CMPLX2.
43173 * math/tst-CMPLX2.c: New file.
43174
cfdc0dd7
AS
431752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43176
84ba42c4
AS
43177 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43178
cfdc0dd7
AS
43179 * math/libm-test.inc (jn_test): Add missing L suffix.
43180
622c86f4
MP
431812012-02-06 Marek Polacek <polacek@redhat.com>
43182
43183 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43184 * sysdeps/i386/fpu/e_powf.S: Likewise.
43185 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43186 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43187 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43188 * sysdeps/i386/fpu/e_pow.S: Likewise.
43189 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43190 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43191 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43192 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43193 * sysdeps/i386/fpu/e_log2.S: Likewise.
43194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43195 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43196 * sysdeps/i386/fpu/e_powl.S: Likewise.
43197 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43198 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43199 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43200 * sysdeps/i386/fpu/e_logl.S: Likewise.
43201 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43202 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43203 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43204 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43205 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43206 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43207 * sysdeps/i386/fpu/e_log.S: Likewise.
43208 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43209 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43210 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43211 * sysdeps/i386/fpu/e_logf.S: Likewise.
43212 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43213 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43214 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43215 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43216 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43217 * sysdeps/i386/fpu/e_log10.S: Likewise.
43218 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43219 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43220 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43221 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43222 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43223 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43224 * sysdeps/i386/asm-syntax.h: Likewise.
43225 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43226 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43227 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43228 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43229 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43230 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43231 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43232 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43233 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43234 * sysdeps/powerpc/sysdep.h: Likewise.
43235 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43236 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43237
d4a54ac6
JM
432382012-02-06 Joseph Myers <joseph@codesourcery.com>
43239
43240 [BZ #411]
43241 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43242
314054ea
JM
432432012-02-06 Joseph Myers <joseph@codesourcery.com>
43244
43245 * sysdeps/i386/sysdep.h: Include <features.h>.
43246 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43247 version.
43248
d8e0ca50
JM
432492012-02-05 Joseph Myers <joseph@codesourcery.com>
43250
43251 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43252 Define.
43253 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43254 LOAD_PIC_REG_STR.
43255
b1da7dd9
JM
432562012-02-03 Joseph Myers <joseph@codesourcery.com>
43257
43258 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43259 (SETUP_PIC_REG): Use GET_PC_THUNK.
43260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43261 macro.
43262
9a1d9254
JM
432632012-02-03 Joseph Myers <joseph@codesourcery.com>
43264
43265 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43266 for non-PIC compilation.
43267 (SETUP_PIC_REG): Add .p2align directive.
43268 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43269 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43270 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43271 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43272 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43273 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43274 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43275 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43276 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43277 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43278 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43279 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43280 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43281 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43282 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43283 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43284 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43285 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43286 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43287 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43288 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43289 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43290 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43291 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43292 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43294 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43295 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43296 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43297 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43298 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43299 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43300 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43301 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43302 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43303 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43304 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43305 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43306 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43307 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43308 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43309
65dc3b75
JM
433102012-02-03 Joseph Myers <joseph@codesourcery.com>
43311
43312 * math/tst-CMPLX.c: Include <stdio.h>.
43313
d55bf177
JM
433142012-01-31 Joseph Myers <joseph@codesourcery.com>
43315
43316 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43317 float.
43318 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43319 * sysdeps/sparc/bits/mathdef.h: Likewise.
43320
69db4f8f
MP
433212012-01-31 Marek Polacek <polacek@redhat.com>
43322
43323 * libio/libio.h: Don't define _PARAMS.
43324 * locale/programs/config.h: Don't define PARAMS.
43325 * stdlib/strtol_l.c: Likewise.
43326 (__strtol_l): Remove PARAMS from the prototype.
43327
41b81892
UD
433282012-01-31 Ulrich Drepper <drepper@gmail.com>
43329
3b49edc0
UD
43330 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43331 names. Just use the correct names. Remove unnecessary wrapper
43332 functions.
43333 * malloc/arena.c: Likewise.
43334 * malloc/hooks.c: Likewise.
43335
41b81892
UD
43336 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43337 ARENA_TEST says not to. Simplify test for creation of a new arena.
43338 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43339
27a25b6e
UD
433402012-01-30 Ulrich Drepper <drepper@gmail.com>
43341
43342 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43343 into tail calls.
43344 (update_get_addr): New function.
43345 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43346 GET_ADDR_MODULE parameter.
43347
c8a89e7d
JM
433482012-01-30 Joseph Myers <joseph@codesourcery.com>
43349
43350 * crypt/cert.c: Remove __STDC__ conditionals.
43351 * crypt/crypt-entry.c: Likewise.
43352 * crypt/crypt_util.c: Likewise.
43353 * libio/filedoalloc.c: Likewise.
43354 * libio/fileops.c: Likewise.
43355 * libio/genops.c: Likewise.
43356 * libio/iofclose.c: Likewise.
43357 * libio/iofdopen.c: Likewise.
43358 * libio/iofopen.c: Likewise.
43359 * libio/iofopen64.c: Likewise.
43360 * libio/iogetdelim.c: Likewise.
43361 * libio/iopopen.c: Likewise.
43362 * libio/obprintf.c: Likewise.
43363 * libio/oldfileops.c: Likewise.
43364 * libio/oldiofclose.c: Likewise.
43365 * libio/oldiofdopen.c: Likewise.
43366 * libio/oldiofopen.c: Likewise.
43367 * libio/oldiopopen.c: Likewise.
43368 * libio/wfiledoalloc.c: Likewise.
43369 * libio/wgenops.c: Likewise.
43370 * locale/programs/xmalloc.c: Likewise.
43371 * misc/syslog.c: Likewise.
43372 * stdio-common/xbug.c: Likewise.
43373 * string/memchr.c: Likewise.
43374 * string/memcmp.c: Likewise.
43375 * string/memrchr.c: Likewise.
43376 * string/rawmemchr.c: Likewise.
43377 * sysdeps/posix/getcwd.c: Likewise.
43378 * time/strftime_l.c: Likewise.
43379
3b100462
JM
433802012-01-30 Joseph Myers <joseph@codesourcery.com>
43381
43382 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43383 * config.make.in (config-cflags-sse2avx): Define.
43384 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43385 Fix typo.
43386
607998af
CM
433872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43388
43389 * scripts/config.guess: Update from upstream config git repository.
43390 * scripts/config.sub: Likewise.
43391
3601428f
CM
433922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43393
3ac8b282
CM
43394 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43395 (EM_NUM): Update.
43396 (R_TILEPRO_*, R_TILEGX_*): New macros.
43397
e034841e
CM
43398 * scripts/firstversions.awk: Fix bug in version range handling.
43399
540d7568
CM
43400 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43401
3601428f
CM
43402 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43403
463de862
CM
43404 * include/sys/epoll.h: New file.
43405 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43406 libc_hidden_def.
43407
73139a76
UD
434082012-01-28 Ulrich Drepper <drepper@gmail.com>
43409
96bc5b45
UD
43410 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43411 Avoid unnecessary __WORDSIZE == 64 test.
43412 (fmaxf): Use VEX format if possible.
43413 (fmax): Likewise.
43414 (fminf): Likewise.
43415 (fmin): Likewise.
43416
56f6f6a2
UD
43417 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43418 * math/math_private.h: Remove libc_fegetround* and
43419 libc_fesetround*.
43420 * sysdeps/i386/configure.in: Check for -msse2avx.
43421 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43422 also if SSE2AVX is defined.
43423 Remove libc_fegetround* and libc_fesetround*.
43424 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43425 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43426 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43427 of HAS_YMM_USABLE.
43428 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43429 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43433
73139a76
UD
43434 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43435
d73f93a4
AZ
434362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43437
43438 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43439 size is not set.
43440 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43441
6ee65ed6
UD
434422012-01-27 Ulrich Drepper <drepper@gmail.com>
43443
43444 [BZ #13618]
43445 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43446 relocation.
43447 * Makeconfig (libm): Define.
43448 * elf/Makefile: Add rules to build and run tst-relsort1.
43449 * elf/tst-relsort1.c: New file.
43450 * elf/tst-relsort1mod1.c: New file.
43451 * elf/tst-relsort1mod2.c: New file.
43452
8db21882
JM
434532012-01-27 Joseph Myers <joseph@codesourcery.com>
43454
43455 * math/s_ldexp.c: Remove __STDC__ conditionals.
43456 * math/s_ldexpf.c: Likewise.
43457 * math/s_ldexpl.c: Likewise.
43458 * math/s_nextafter.c: Likewise.
43459 * math/s_nexttowardf.c: Likewise.
43460 * math/s_significand.c: Likewise.
43461 * math/s_significandf.c: Likewise.
43462 * math/s_significandl.c: Likewise.
43463 * math/w_jnl.c: Likewise.
43464 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43465 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43466 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43467 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43468 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43470 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43473 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43474 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43476 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43477 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43478 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43479 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43480 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43481 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43483 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43484 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43485 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43486 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43487 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43488 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43489 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43490 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43491 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43492 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43493 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43494 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43495 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43496 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43497 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43498 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43499 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43500 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43501 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43502 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43503 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43504 * sysdeps/ieee754/k_standard.c: Likewise.
43505 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43506 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43507 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43508 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43509 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43510 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43511 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43513 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43514 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43515 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43516 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43517 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43518 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43519 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43521 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43524 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43526 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43527 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43528 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43529 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43530 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43534 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43535 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43536 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43537 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43538 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43540 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43541 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43542 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43543 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43544 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43545 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43546 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43547 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43548 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43549 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43550 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43551 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43552 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43554 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43555 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43556 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43557 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43558 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43559 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43560 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43561 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43562 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43563 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43564 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43565 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43566 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43567 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43568 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43569 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43570 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43571 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43572 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43573 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43574 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43575 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43576 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43577 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43578 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43579 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43580 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43581 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43582 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43583 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43584 * sysdeps/ieee754/s_matherr.c: Likewise.
43585 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43586 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43588 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43589
965a54a4
JM
435902012-01-26 Joseph Myers <joseph@codesourcery.com>
43591
43592 * crypt/md5.h: Remove __STDC__ conditionals.
43593 * libio/libioP.h: Likewise.
43594 * locale/programs/config.h: Likewise.
43595 * sysdeps/generic/sysdep.h: Likewise.
43596 * sysdeps/i386/asm-syntax.h: Likewise.
43597 * sysdeps/s390/asm-syntax.h: Likewise.
43598 * sysdeps/unix/sysdep.h: Likewise.
43599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43601
7071ad79
JM
436022012-01-26 Joseph Myers <joseph@codesourcery.com>
43603
43604 * libio/libio.h: Remove __STDC__ conditionals.
43605 * malloc/obstack.h: Likewise.
43606 * math/complex.h: Likewise.
43607 * math/math.h: Likewise.
43608 * sysdeps/generic/_G_config.h: Likewise.
43609 * sysdeps/gnu/_G_config.h: Likewise.
43610 * sysdeps/mach/hurd/_G_config.h: Likewise.
43611 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43612 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43613 * sysdeps/sparc/bits/mathdef.h: Likewise.
43614
afc5ed09
UD
436152012-01-26 Ulrich Drepper <drepper@gmail.com>
43616
43617 [BZ #13583]
43618 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43619 Clean up HAS_* macros.
afc5ed09 43620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43621 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43622 possible.
43623 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43624 HAS_AVX.
43625 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43626 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43627 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43628 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43629 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43630
bdb6de1d
JM
436312012-01-25 Joseph Myers <joseph@codesourcery.com>
43632
43633 * elf/tst-unique3.cc (gets): Remove declaration.
43634 * elf/tst-unique3lib.cc (gets): Likewise.
43635 * elf/tst-unique3lib2.cc (gets): Likewise.
43636 * elf/tst-unique4.cc (gets): Likewise.
43637
b15549e6
UD
436382012-01-24 Ulrich Drepper <drepper@gmail.com>
43639
43640 * include/stdio.h: Add C++ protection. Add gets declarations and
43641 definitions.
43642 * debug/tst-chk1.c: Don't declare gets here.
43643 * stdio-common/tst-gets.c: Likewise.
43644
a037381f
JM
436452012-01-24 Joseph Myers <joseph@codesourcery.com>
43646
43647 * posix/glob: Remove directory.
43648
f1d4aa75
JM
436492012-01-24 Joseph Myers <joseph@codesourcery.com>
43650
43651 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43652
81c0c964
PT
436532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43654
43655 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43656 of the non-standard EPFNOSUPPORT.
43657
0ea698ae
ST
436582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43659
43660 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43661 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43662 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43663
d220b117
UD
436642012-01-21 Ulrich Drepper <drepper@gmail.com>
43665
43666 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43667
3e1aa84e
UD
436682012-01-20 Ulrich Drepper <drepper@gmail.com>
43669
43670 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43671 transient errors.
43672 * nscd/grpcache.c (cache_addgr): Likewise.
43673 * nscd/hstcache.c (cache_addhst): Likewise.
43674 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43675 * nscd/pwdcache.c (cache_addpw): Likewise.
43676 * nscd/servicescache.c (cache_addserv): Likewise.
43677
400aa020
UD
436782012-01-16 Ulrich Drepper <drepper@gmail.com>
43679
d77e7869
UD
43680 * malloc/malloc.c: Various cleanups.
43681 * malloc/hooks.c: Likewise.
43682
400aa020
UD
43683 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43684 * stdlib/bug-fmtmsg1.c: New file.
43685
43686 * stdlib/fmtmsg.c (init): Add missing unlock.
43687 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43688
e0a309cf
MP
436892012-01-12 Marek Polacek <polacek@redhat.com>
43690
43691 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43692 and _GNU_SOURCE.
43693
929d11c7
WS
436942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43695
43696 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43697 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43698 macro to ensure uniqueness of label name.
43699 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43700 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43701
41d0e869
UD
437022012-01-11 Ulrich Drepper <drepper@gmail.com>
43703
0cc5ed3b
UD
43704 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43705
41d0e869
UD
43706 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43707 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43708 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43710
a47a831a
UD
437112012-01-10 Ulrich Drepper <drepper@gmail.com>
43712
daa891c0
UD
43713 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43714
43715 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43716 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43717 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43718
e58ef0f2
UD
43719 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43720
a47a831a 43721 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43722 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43723 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43725
43726 * math/bits/math-finite.h: Add ldexp support.
43727
a0bfc9c7
MP
437282012-01-10 Marek Polacek <polacek@redhat.com>
43729
43730 * locale/programs/localedef.h (show_archive_content): Add noreturn
43731 attribute.
43732
d6e97a1d
UD
437332012-01-09 Ulrich Drepper <drepper@gmail.com>
43734
43735 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43736
d5835c26
UD
437372012-01-08 Ulrich Drepper <drepper@gmail.com>
43738
e5f484c6
UD
43739 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43740
d5835c26
UD
43741 * io/Makefile (headers): Add bits/poll2.h.
43742
d1f741e9
WS
437432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43744
43745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43746 typo #include statement.
43747
ec09c1c4
UD
437482012-01-08 Ulrich Drepper <drepper@gmail.com>
43749
43750 * include/sys/cdefs.h: Define __attribute_alloc_size.
43751 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43752 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43753 * elf/pldd.c: Likewise.
43754 * iconv/iconv_charmap.c: Likewise.
43755 * iconv/iconvconfig.c: Likewise.
43756 * iconv/strtab.c: Likewise.
43757 * locale/programs/locale.c: Likewise.
43758 * locale/programs/localedef.h: Likewise.
43759 * locale/programs/simple-hash.c: Likewise.
43760 * nscd/nscd.h: Likewise.
43761 * nss/makedb.c: Likewise.
43762 * sysdeps/generic/ldconfig.h: Likewise.
43763 * locale/programs/localedef.c: Remove xmalloc prototype.
43764 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43765
20b38e03
PP
437662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43767
43768 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43769 appropriate.
43770
a0da5fe1
UD
437712012-01-08 Ulrich Drepper <drepper@gmail.com>
43772
1d5a644a 43773 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43774 * math/tst-CMPLX.c: New file.
1d5a644a 43775
8784a6db
UD
43776 * math/complex.h (CMPLXL): Fix typo.
43777
d9a216c0
UD
43778 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43779 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43780 GLIBC_2.16.
43781 * debug/tst-chk1.c: Add poll and ppoll tests.
43782 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43783 * include/sys/poll.h: Add hidden proto for ppoll.
43784 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43785 * sysdeps/mach/hurd/ppoll.c: Likewise.
43786 * io/ppoll.c: Likewise.
43787 * debug/poll_chk.c: New file.
43788 * debug/ppoll_chk.c: New file.
43789 * include/bits/poll2.h: New file.
43790 * io/bits/poll2.h: New file.
43791
ac097f5c
UD
43792 [BZ #1350]
43793 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43794
2119dcfa
UD
43795 * configure.in: static is always set to yes. Remove.
43796 * config.make.in: Don't set build-static.
43797 * Makeconfig: Remove use of build-static.
43798 * dlfcn/Makefile: Likewise.
43799 * elf/Makefile: Likewise.
43800 * math/Makefile: Likewise.
43801 * misc/Makefile: Likewise.
43802 * nptl/Makefile: Likewise.
43803 * sysdeps/mach/hurd/Makefile: Likewise.
43804
121766a9
UD
43805 * configure.in: PWD_P is not used anymore.
43806 * config.make.in: Remove PWD_P entry.
43807
51a1d39c 43808 * configure.in: Remove last remnants of RANLIB.
8720d066 43809 No need to check for signed size_t anymore.
215f4bdc
UD
43810 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43811 and IA-64.
3857022a 43812 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43813 * aclocal.m4: Likewise.
43814
d3ed7225
UD
43815 * wcsmbs/mbrtoc16.c: Implement using towc function.
43816 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43817 * wcsmbs/wcsmbsload.c: Likewise.
43818 * iconv/gconv_simple.c: Likewise.
43819 * iconv/gconv_int.h: Likewise.
43820 * iconv/gconv_builtin.h: Likewise.
43821 * iconv/iconv_prog.c: Remove CHAR16 handling.
43822
43823 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43824
43825 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43826
a0da5fe1
UD
43827 * configure.in: Remove --with-elf and --enable-bounded options.
43828 Dont set base_machine for ia64. More non-ELF conditions removed.
43829 Remove testing and setting of leading underscore information.
43830 * config.make.in (build-bounded): Set to no.
43831 * config.h.in: Remove NO_UNDERSCORES entry.
43832 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43833 them.
43834 * csu/start.c: Remove !NO_UNDERSCORE code.
43835 * locale/localeinfo.h: Likewise.
43836 * sysdeps/generic/machine-gmon.h: Likewise.
43837 * sysdeps/generic/sysdep.h: Likewise.
43838 * sysdeps/i386/sysdep.h: Likewise.
43839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43840 * sysdeps/mach/sysdep.h: Likewise.
43841 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43843 * sysdeps/sh/sysdep.h: Likewise.
43844 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43845 * sysdeps/unix/i386/sysdep.S: Likewise.
43846 * sysdeps/unix/sparc/start.c: Likewise.
43847 * sysdeps/unix/sparc/sysdep.S: Likewise.
43848 * sysdeps/unix/sparc/sysdep.h: Likewise.
43849 * sysdeps/unix/start.c: Likewise.
43850 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43851 * sysdeps/x86_64/sysdep.h: Likewise.
43852
df78418a
UD
438532012-01-07 Ulrich Drepper <drepper@gmail.com>
43854
a784e502
UD
43855 [BZ #13553]
43856 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43857 for non-gcc.
43858 * argp/argp-fmtstream.h: Use const instead __const.
43859 * argp/argp.h: Likewise.
43860 * assert/assert.h: Likewise.
43861 * bits/fenv.h: Likewise.
43862 * bits/sched.h: Likewise.
43863 * bits/sigset.h: Likewise.
43864 * bits/sigthread.h: Likewise.
43865 * catgets/nl_types.h: Likewise.
43866 * conform/data/pthread.h-data: Likewise.
43867 * crypt/crypt-private.h: Likewise.
43868 * crypt/crypt.h: Likewise.
43869 * crypt/crypt_util.c: Likewise.
43870 * ctype/ctype.h: Likewise.
43871 * debug/execinfo.h: Likewise.
43872 * debug/mbsnrtowcs_chk.c: Likewise.
43873 * debug/mbsrtowcs_chk.c: Likewise.
43874 * debug/wcsnrtombs_chk.c: Likewise.
43875 * debug/wcsrtombs_chk.c: Likewise.
43876 * debug/wcstombs_chk.c: Likewise.
43877 * dirent/dirent.h: Likewise.
43878 * dlfcn/dlfcn.h: Likewise.
43879 * elf/neededtest4.c: Likewise.
43880 * grp/grp.h: Likewise.
43881 * gshadow/gshadow.h: Likewise.
43882 * iconv/gconv.h: Likewise.
43883 * iconv/gconv_int.h: Likewise.
43884 * iconv/gconv_simple.c: Likewise.
43885 * iconv/iconv.h: Likewise.
43886 * iconv/loop.c: Likewise.
43887 * iconv/skeleton.c: Likewise.
43888 * include/aio.h: Likewise.
43889 * include/aliases.h: Likewise.
43890 * include/argz.h: Likewise.
43891 * include/arpa/inet.h: Likewise.
43892 * include/assert.h: Likewise.
43893 * include/dirent.h: Likewise.
43894 * include/dlfcn.h: Likewise.
43895 * include/execinfo.h: Likewise.
43896 * include/fcntl.h: Likewise.
43897 * include/fenv.h: Likewise.
43898 * include/glob.h: Likewise.
43899 * include/grp.h: Likewise.
43900 * include/libintl.h: Likewise.
43901 * include/mntent.h: Likewise.
43902 * include/netdb.h: Likewise.
43903 * include/pwd.h: Likewise.
43904 * include/rpc/netdb.h: Likewise.
43905 * include/sched.h: Likewise.
43906 * include/search.h: Likewise.
43907 * include/shadow.h: Likewise.
43908 * include/signal.h: Likewise.
43909 * include/stdio.h: Likewise.
43910 * include/stdlib.h: Likewise.
43911 * include/string.h: Likewise.
43912 * include/sys/socket.h: Likewise.
43913 * include/sys/stat.h: Likewise.
43914 * include/sys/statfs.h: Likewise.
43915 * include/sys/statvfs.h: Likewise.
43916 * include/sys/syslog.h: Likewise.
43917 * include/sys/time.h: Likewise.
43918 * include/sys/uio.h: Likewise.
43919 * include/time.h: Likewise.
43920 * include/unistd.h: Likewise.
43921 * include/utmp.h: Likewise.
43922 * include/wchar.h: Likewise.
43923 * include/wctype.h: Likewise.
43924 * inet/aliases.h: Likewise.
43925 * inet/arpa/inet.h: Likewise.
43926 * inet/netinet/ether.h: Likewise.
43927 * inet/netinet/in.h: Likewise.
43928 * intl/libintl.h: Likewise.
43929 * io/bits/fcntl2.h: Likewise.
43930 * io/fcntl.h: Likewise.
43931 * io/ftw.h: Likewise.
43932 * io/sys/poll.h: Likewise.
43933 * io/sys/stat.h: Likewise.
43934 * io/sys/statfs.h: Likewise.
43935 * io/sys/statvfs.h: Likewise.
43936 * io/utime.h: Likewise.
43937 * libio/bits/stdio.h: Likewise.
43938 * libio/bits/stdio2.h: Likewise.
43939 * libio/libio.h: Likewise.
43940 * libio/libioP.h: Likewise.
43941 * libio/stdio.h: Likewise.
43942 * locale/lc-ctype.c: Likewise.
43943 * locale/locale.h: Likewise.
43944 * login/utmp.h: Likewise.
43945 * malloc/arena.c: Likewise.
43946 * malloc/malloc.c: Likewise.
43947 * malloc/malloc.h: Likewise.
43948 * malloc/mcheck.c: Likewise.
43949 * malloc/mtrace.c: Likewise.
43950 * math/bits/mathcalls.h: Likewise.
43951 * math/fenv.h: Likewise.
43952 * math/math_private.h: Likewise.
43953 * misc/bits/error.h: Likewise.
43954 * misc/bits/syslog.h: Likewise.
43955 * misc/err.h: Likewise.
43956 * misc/error.h: Likewise.
43957 * misc/fstab.h: Likewise.
43958 * misc/mntent.h: Likewise.
43959 * misc/regexp.h: Likewise.
43960 * misc/search.h: Likewise.
43961 * misc/sgtty.h: Likewise.
43962 * misc/sys/mman.h: Likewise.
43963 * misc/sys/syslog.h: Likewise.
43964 * misc/sys/uio.h: Likewise.
43965 * misc/sys/xattr.h: Likewise.
43966 * misc/ttyent.h: Likewise.
43967 * nis/rpcsvc/ypclnt.h: Likewise.
43968 * nss/nss.h: Likewise.
43969 * posix/bits/unistd.h: Likewise.
43970 * posix/fnmatch.h: Likewise.
43971 * posix/glob.h: Likewise.
43972 * posix/sched.h: Likewise.
43973 * posix/spawn.h: Likewise.
43974 * posix/sys/wait.h: Likewise.
43975 * posix/unistd.h: Likewise.
43976 * posix/wordexp.h: Likewise.
43977 * pwd/pwd.h: Likewise.
43978 * resolv/netdb.h: Likewise.
43979 * resource/sys/resource.h: Likewise.
43980 * rt/aio.h: Likewise.
43981 * rt/bits/mqueue2.h: Likewise.
43982 * rt/mqueue.h: Likewise.
43983 * shadow/shadow.h: Likewise.
43984 * signal/signal.h: Likewise.
43985 * socket/send.c: Likewise.
43986 * socket/sendto.c: Likewise.
43987 * socket/sys/socket.h: Likewise.
43988 * stdio-common/printf.h: Likewise.
43989 * stdlib/bits/stdlib.h: Likewise.
43990 * stdlib/fmtmsg.h: Likewise.
43991 * stdlib/monetary.h: Likewise.
43992 * stdlib/stdlib.h: Likewise.
43993 * stdlib/ucontext.h: Likewise.
43994 * streams/stropts.h: Likewise.
43995 * string/argz.h: Likewise.
43996 * string/bits/string2.h: Likewise.
43997 * string/string.h: Likewise.
43998 * string/strings.h: Likewise.
43999 * sunrpc/rpc/auth.h: Likewise.
44000 * sunrpc/rpc/auth_des.h: Likewise.
44001 * sunrpc/rpc/clnt.h: Likewise.
44002 * sunrpc/rpc/netdb.h: Likewise.
44003 * sunrpc/rpc/pmap_clnt.h: Likewise.
44004 * sunrpc/rpc/xdr.h: Likewise.
44005 * sysdeps/generic/inttypes.h: Likewise.
44006 * sysdeps/generic/net/if.h: Likewise.
44007 * sysdeps/generic/sys/swap.h: Likewise.
44008 * sysdeps/gnu/net/if.h: Likewise.
44009 * sysdeps/gnu/utmpx.h: Likewise.
44010 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44011 * sysdeps/i386/i486/bits/string.h: Likewise.
44012 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44013 * sysdeps/s390/bits/string.h: Likewise.
44014 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44015 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44016 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44017 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44018 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44019 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44020 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44021 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44022 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44023 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44024 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44025 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44026 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44027 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44028 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44029 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44030 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44032 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44033 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44035 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44036 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44037 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44038 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44039 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44040 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44041 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44042 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44043 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44044 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44045 * sysvipc/sys/ipc.h: Likewise.
44046 * sysvipc/sys/msg.h: Likewise.
44047 * sysvipc/sys/sem.h: Likewise.
44048 * sysvipc/sys/shm.h: Likewise.
44049 * termios/termios.h: Likewise.
44050 * time/sys/time.h: Likewise.
44051 * time/time.h: Likewise.
44052 * wcsmbs/bits/wchar2.h: Likewise.
44053 * wcsmbs/uchar.h: Likewise.
44054 * wcsmbs/wchar.h: Likewise.
44055 * wctype/wctype.h: Likewise.
44056
0269750c
UD
44057 [BZ #13551]
44058 * Makeconfig: Remove all but ELF support including AIX support.
44059 * Makerules: Likewise.
44060 * config.h.in: Likewise.
44061 * config.make.in: Likewise.
44062 * configure: Likewise.
44063 * configure.in: Likewise.
44064 * csu/Makefile: Likewise.
44065 * csu/version.c: Likewise.
44066 * debug/Makefile: Likewise.
44067 * dlfcn/Makefile: Likewise.
44068 * elf/Makefile: Likewise.
44069 * extra-lib.mk: Likewise.
44070 * iconv/Makefile: Likewise.
44071 * include/libc-symbols.h: Likewise.
44072 * include/shlib-compat.h: Likewise.
44073 * resolv/Makefile: Likewise.
44074 * resolv/res_libc.c: Likewise.
44075 * rt/Makefile: Likewise.
44076 * sysdeps/i386/asm-syntax.h: Likewise.
44077 * sysdeps/i386/sysdep.h: Likewise.
44078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44079 * sysdeps/mach/sysdep.h: Likewise.
44080 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44081 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44082 * sysdeps/s390/asm-syntax.h: Likewise.
44083 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44084 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44085 * sysdeps/sh/sysdep.h: Likewise.
44086 * sysdeps/unix/sparc/sysdep.h: Likewise.
44087 * sysdeps/wordsize-32/divdi3.c: Likewise.
44088 * sysdeps/x86_64/sysdep.h: Likewise.
44089
00bbd29b
UD
44090 * argp/Versions: Remove _argp_unlock_xxx.
44091
44092 [BZ #13559]
44093 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44094 * abilist/libBrokenLocale.abilist: Likewise.
44095 * abilist/libanl.abilist: Likewise.
44096 * abilist/libc.abilist: Likewise.
44097 * abilist/libcrypt.abilist: Likewise.
44098 * abilist/libdl.abilist: Likewise.
44099 * abilist/libm.abilist: Likewise.
44100 * abilist/libnsl.abilist: Likewise.
44101 * abilist/libpthread.abilist: Likewise.
44102 * abilist/libresolv.abilist: Likewise.
44103 * abilist/librt.abilist: Likewise.
44104 * abilist/libthread_db.abilist: Likewise.
44105 * abilist/libutil.abilist: Likewise.
44106 * abilist/libnss_db.abilist: New file.
44107
44108 * scripts/abilist.awk: Add support for indirect functions.
44109
a2693a0e
UD
44110 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44111
3f05895f
UD
44112 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44113
ecb6fb48
UD
44114 * shlib-versions: Remove entries for ports architectures.
44115
664f8cb9
UD
44116 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44117 files in ports.
44118 * elf/stackguard-macros.h: Remove support for IA-64.
44119 * elf/tst-auditmod1.c: Likewise.
44120 * sysdeps/generic/ldsodefs.h: Likewise.
44121
7ae81d88
UD
44122 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44123 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44124 configure files.
44125
bdeba135
UD
44126 [BZ #13552]
44127 * configure.in: Remove --enable-omitfp support.
44128 * FAQ.in: Adjust.
44129 * config.make.in: Likewise.
44130 * Makeconfig: Likewise.
44131 * manual/install.texi: Likewise.
44132
d75a0a62
UD
44133 In case anyone cares, the IA-64 architecture could move to ports.
44134 * sysdeps/ia64/*: Removed.
44135 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44136 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44137
dcc9756b
UD
44138 [BZ #13555]
44139 * configure.in: Remove entries for unsupported architectures.
44140
d3761ebc 44141 [BZ #13533]
9954432e
UD
44142 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44143 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44144 routines.
44145 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44146 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44147 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44148 fall back to using wcrtomb.
44149 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44150 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44151 renaming.
44152 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44153 * wcsmbs/tst-c16c32-1.c: New file.
44154
44155 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44156 local variable.
44157
c3a87236
UD
44158 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44159
28926a1b
UD
44160 * elf/tst-unique3.cc: Add explicit declaration of gets.
44161 * elf/tst-unique3lib.cc: Likewise.
44162 * elf/tst-unique3lib2.cc: Likewise.
44163 * elf/tst-unique4.cc: Likewise.
44164
df78418a
UD
44165 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44166
8ecd6b2a
JM
441672012-01-06 Joseph Myers <joseph@codesourcery.com>
44168
44169 [BZ #13566]
44170 * assert/assert.h (static_assert): Don't define for C++.
44171 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44172 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44173
9f115170
UD
441742012-01-03 Ulrich Drepper <drepper@gmail.com>
44175
5e0d0300
UD
44176 * iconv/loop.c (single loop): Fix assertion in storing of
44177 remaining bytes.
44178
9f115170
UD
44179 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44180
81fb02b0
UD
441812012-01-01 Ulrich Drepper <drepper@gmail.com>
44182
44183 * posix/getconf.c: Update copyright year.
44184 * nss/getent.c: Likewise.
a316c1f6 44185 * nss/makedb.c: Likewise.
81fb02b0
UD
44186 * iconv/iconvconfig.c: Likewise.
44187 * iconv/iconv_prog.c: Likewise.
44188 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44189 * elf/pldd.c: Likewise.
44190 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44191 * catgets/gencat.c: Likewise.
44192 * csu/version.c: Likewise.
44193 * elf/ldd.bash.in: Likewise.
44194 * elf/sprof.c (print_version): Likewise.
44195 * locale/programs/locale.c: Likewise.
44196 * locale/programs/localedef.c: Likewise.
a316c1f6 44197 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44198 * nscd/nscd.c (print_version): Likewise.
44199 * debug/xtrace.sh: Likewise.
44200 * malloc/memusage.sh: Likewise.
44201 * malloc/mtrace.pl: Likewise.
44202 * debug/catchsegv.sh: Likewise.
44203
2ba92745
JJ
442042011-12-30 Jakub Jelinek <jakub@redhat.com>
44205
44206 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44207 pure attribute.
44208
dadebdae
UD
442092011-12-24 Ulrich Drepper <drepper@gmail.com>
44210
d3761ebc 44211 [BZ #13533]
db6af3eb
UD
44212 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44213 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44214 transformations.
44215 * iconv/gconv_int.h: Likewise.
44216 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44217 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44218 from libc for GLIBC_2.16.
44219 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44220 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44221 * wcsmbs/uchar.h: Really define mbstate_t.
44222 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44223 * wcsmbs/c16rtomb.c: New file.
44224 * wcsmbs/mbrtoc16.c: New file.
44225 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44226 for C/POSIX locale.
44227 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44228 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44229
dadebdae
UD
44230 * wcsmbs/wchar.h: Add missing __restrict.
44231
67371b56
UD
442322011-12-23 Ulrich Drepper <drepper@gmail.com>
44233
74033a25
UD
44234 [BZ #13532]
44235 * time/Makefile (routines): Add timespec_get.
44236 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44237 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44238 timespec for ISO C11.
44239 * time/timespec_get.c: New file.
44240 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44241 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44242
380d7e87
UD
44243 [BZ #13531]
44244 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44245 * stdlib/stdlib.h: Declare aligned_alloc.
44246 * Versions.def: Add GLIBC_2.16 for libc.
44247 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44248
4e9e7a35
UD
44249 [BZ 13527]
44250 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44251 ISO C11.
44252
380d7e87 44253 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44254 code.
44255
03a71829
UD
44256 [BZ #13528]
44257 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44258
839e283e
UD
44259 [BZ #13529]
44260 * assert/assert.h (static_assert): Define.
44261
ce5294e2 44262 * version.h: Update for 2.16 development version.
90fa7312 44263
8d44e150 44264 [BZ #13526]
d7809905
UD
44265 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44266 _ISOC11_SOURCE.
44267
c0da14cd
UD
44268 * version.h (RELEASE): Bump for 2.15 release.
44269 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44270
530a3249
MP
44271 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44272 Patch by Marek Polacek <mpolacek@redhat.com>.
44273
67371b56
UD
44274 * bits/byteswap.h: Protect long long constants with __extension__.
44275 * sysdeps/i386/bits/byteswap.h: Likewise.
44276 * sysdeps/ia64/bits/byteswap.h: Likewise.
44277 * sysdeps/s390/bits/byteswap.h: Likewise.
44278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44279
15db4de1
LD
442802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44281
44282 [BZ #13540]
bbe315ea
LD
44283 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44284 destination buffer.
15db4de1
LD
44285 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44286
2b2596b1
MP
442872011-12-23 Marek Polacek <polacek@redhat.com>
44288
44289 * elf/dl-addr.c (determine_info): Add inline keyword.
44290 * elf/tst-auditmod4b.c (check_avx): Likewise.
44291 * elf/tst-auditmod6b.c (check_avx): Likewise.
44292 * elf/tst-auditmod6c.c (check_avx): Likewise.
44293 * elf/tst-auditmod7b.c (check_avx): Likewise.
44294
70c6c246
UD
442952011-12-23 Ulrich Drepper <drepper@gmail.com>
44296
44297 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44298 !__SSE_MATH__.
44299
c044cf14
LD
443002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44301
15db4de1 44302 [BZ #13540]
c044cf14
LD
44303 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44304 processing for last bytes.
44305
6b13d9d9
BH
443062011-08-06 Bruno Haible <bruno@clisp.org>
44307
d455f537
BH
44308 [BZ #13061]
44309 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44310 U+0385, not to U+1FEE.
44311
6b13d9d9
BH
44312 [BZ #13062]
44313 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44314 entry for U+00A5 U+0301.
44315
db910efd
UD
443162011-12-22 Ulrich Drepper <drepper@gmail.com>
44317
27deeafc
UD
44318 [BZ #13166]
44319 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44320 buffer for the output is too small.
44321
aed9d171
UD
44322 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44323 optimization.
44324
db910efd
UD
44325 [BZ #13185]
44326 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44327 SSE flags if possible.
44328
2bd779ae
LD
443292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44330
e7f9dac3 44331 [BZ #13540]
2bd779ae
LD
44332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44333 processing for last bytes.
44334
154bfc16
JM
443352011-12-22 Joseph Myers <joseph@codesourcery.com>
44336
44337 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44338 (syscall-list-default-options, syscall-list-default-condition)
44339 (syscall-list-includes): Define.
44340 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44341 list of ABIs and options and #if conditions for each ABI. Do not
44342 handle common syscalls between ABIs specially.
44343 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44344 Remove.
44345 (syscall-list-variants, syscall-list-32bit-options)
44346 (syscall-list-32bit-condition, syscall-list-64bit-options)
44347 (syscall-list-64bit-condition): Define.
44348 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44349 (syscall-list-variants, syscall-list-32bit-options)
44350 (syscall-list-32bit-condition, syscall-list-64bit-options)
44351 (syscall-list-64bit-condition): Define.
44352 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44353 Remove.
44354 (syscall-list-variants, syscall-list-32bit-options)
44355 (syscall-list-32bit-condition, syscall-list-64bit-options)
44356 (syscall-list-64bit-condition): Define.
44357 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44358 Remove.
44359 (syscall-list-variants, syscall-list-32bit-options)
44360 (syscall-list-32bit-condition, syscall-list-64bit-options)
44361 (syscall-list-64bit-condition): Define.
44362
21eaf3a5
UD
443632011-12-22 Ulrich Drepper <drepper@gmail.com>
44364
16c6f992
UD
44365 * locale/iso-639.def: Add brx entry.
44366
41043168
UD
44367 [BZ #13328]
44368 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44369 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44370
21eaf3a5
UD
44371 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44372 __feraiseexcept_renamed.
44373
e3a851a2
UD
443742011-12-21 Ulrich Drepper <drepper@gmail.com>
44375
4920765e
UD
44376 [BZ #13538]
44377 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44378 EPOLLET with unsigned values.
44379 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44381
e3a851a2
UD
44382 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44383 to large cancellation.
44384 * math/s_cacoshf.c: Likewise.
44385 * math/s_cacoshl.c: Likewise.
44386
b27e24b8
RK
443872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44388
44389 [BZ #13305]
aebefeee 44390 [BZ #12786]
b27e24b8
RK
44391 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44392 * math/s_cacoshf.c: Likewise.
44393 * math/s_cacoshl.c: Likewise.
44394
ee190f67
UD
443952011-12-21 Ulrich Drepper <drepper@gmail.com>
44396
44397 [BZ #13439]
44398 * iconv/gconv.h: Define __GCONV_SWAP.
44399 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44400 * iconvdata/utf-16.c: Likewise.
44401 * iconvdata/utf-32.c: Likewise.
44402
707f25df
AS
444032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44404
44405 [BZ #13524]
44406 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44407 numerator after shifting it by one limb.
44408
d2daaa1e
RÁE
444092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44410
44411 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44412 under [__USE_EXTERN_INLINES].
44413
a4647e72
UD
444142011-12-17 Ulrich Drepper <drepper@gmail.com>
44415
44416 [BZ #13446]
44417 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44418
f0b264f1
AZ
444192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44420
44421 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44422 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44423 optimized code.
44424 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44425 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44426 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44427 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44428 for strncasecmp/strncasecmp_l compilation.
44429 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44430 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44431
8ef4f244
MP
444322011-12-08 Marek Polacek <mpolacek@redhat.com>
44433
44434 [BZ #13484]
44435 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44436 of __asm__.
44437
97ac2654
UD
444382011-12-17 Ulrich Drepper <drepper@gmail.com>
44439
44440 [BZ #13506]
44441 * time/tzfile.c (__tzfile_read): Check values from file header.
44442
91d2a845
WS
444432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44444
44445 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44446 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44447 * powerpc/powerpc32/dl-start.S: Likewise.
44448 * powerpc/powerpc32/elf/start.S: Likewise.
44449 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44450 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44451 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44452 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44453 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44454 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44455 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44456 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44457 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44458 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44459 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44460 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44461 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44462 * powerpc/powerpc32/memset.S: Likewise.
44463 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44464 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44465 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44466 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44467 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44468 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44469 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44470 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44471 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44472 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44473 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44474 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44475 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44476
a1267ba1
AZ
444772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44478
44479 * math/libm-test.inc: Added more nearbyint tests.
44480 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44481 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44482 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44484
ad8ac1bd
RL
444852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44486
44487 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44488 FD_CLOEXEC.
44489
1d3e4b61
UD
444902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44491
44492 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44493 Add wcscpy-ssse3 wcscpy-c.
44494 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44495 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44496 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44497 * sysdeps/x86_64/wcschr.S: New file.
44498 * sysdeps/x86_64/wcsrchr.S: New file.
44499 * string/test-strcmp.c: Remove checking of wcscmp function for
44500 wrong alignments.
44501 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44502 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44503 wcsrchr-sse2 wcsrchr-c.
44504 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44505 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44506 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44507 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44508 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44509 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44510 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44511 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44512 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44513 * wcsmbc/wcschr.c (WCSCHR): New macro.
44514
5b330a2d
UD
445152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44516
44517 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44518 * wcsmbs/test-wcsrchr.c: New file.
44519 * string/test-strrchr.c: Add wcsrchr support.
44520 (WIDE): New macro.
44521 * wcsmbs/test-wcscpy.c: New file.
44522 * string/test-strcpy.c: Add wcscpy support.
44523 (WIDE): New macro.
26428b7c 44524
f039c043
UD
445252011-12-10 Ulrich Drepper <drepper@gmail.com>
44526
44527 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44528 the inner loop.
44529
850fb039
AS
445302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44531
44532 [BZ #13472]
44533 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44534
4efbd5cb
UD
445352011-12-04 Ulrich Drepper <drepper@gmail.com>
44536
52ff5dd0 44537 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 44538 Minor optimizations.
52ff5dd0 44539
4efbd5cb
UD
44540 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44541 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44542 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44543
8a426e12
UD
445442011-12-03 Ulrich Drepper <drepper@gmail.com>
44545
aff2453d
UD
44546 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44547 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44548 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44549 for gcc to avoid warnings.
44550 * inet/Makefile (tests): Add tst-checks.
44551 * inet/tst-checks.c: New file.
44552
44553 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44554 warning.
44555
44556 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44557 __wmemcmp_sse2.
44558
44559 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44560 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44561
8a426e12
UD
44562 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44563
9bea3473
UD
445642011-12-02 Ulrich Drepper <drepper@gmail.com>
44565
3a965496
UD
44566 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44567 problem.
44568
9bea3473
UD
44569 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44570
f101631b
UD
445712011-11-29 Joseph Myers <joseph@codesourcery.com>
44572
44573 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44574 conditional on GCC version.
44575 (__arch_compare_and_exchange_val_8_acq)
44576 (__arch_compare_and_exchange_val_16_acq)
44577 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44578 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44579 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44580
a98275aa
UD
445812011-12-02 Joseph Myers <joseph@codesourcery.com>
44582
44583 * sysdeps/sh/backtrace.c: New file.
44584
d4cc29a2
AS
445852011-12-02 Andreas Schwab <schwab@redhat.com>
44586
44587 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44588 parenthesis.
44589
6257af2d
AS
445902011-12-01 Andreas Schwab <schwab@redhat.com>
44591
44592 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44593 falling back to utime.
44594
b5f44c1a
AS
445952011-11-30 Andreas Schwab <schwab@redhat.com>
44596
44597 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44598 expectations for float.
44599
f3a6cc0a
AS
446002011-11-29 Andreas Schwab <schwab@redhat.com>
44601
44602 * locale/weight.h (findidx): Add parameter len.
44603 * locale/weightwc.h (findidx): Likewise.
44604 * posix/fnmatch_loop.c (FCT): Adjust caller.
44605 * posix/regcomp.c (build_equiv_class): Likewise.
44606 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44607 * posix/regexec.c (check_node_accept_bytes): Likewise.
44608 * string/strcoll_l.c (STRCOLL): Likewise.
44609 * string/strxfrm_l.c (STRXFRM): Likewise.
44610
9d65ea3a
UD
446112011-11-17 Ulrich Drepper <drepper@gmail.com>
44612
44613 * Makefile.in: Remove CVSOPT handling.
44614 * configure.in: Remove use of AC_REVISION.
44615 * iconvdata/Makefile (distribute): No need to filter out CVS.
44616 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44617 handling.
44618
5583a086
AS
446192011-11-16 Andreas Schwab <schwab@redhat.com>
44620
44621 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44622 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44623 [USE_AS_STRNCASECMP_L]: Likewise.
44624 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44625 NO_TLS_DIRECT_SEG_REFS.
44626 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44627 Fix argument offsets for non-PIC.
44628 [USE_AS_STRNCASECMP_L]: Likewise.
44629 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44630 NO_TLS_DIRECT_SEG_REFS.
44631
d62a8200
UD
446322011-11-15 Ulrich Drepper <drepper@gmail.com>
44633
9d65ea3a 44634 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44635 O_CLOEXEC.
44636 * locale/loadlocale.c (_nl_load_locale): Likewise.
44637
09f93bd3
AS
446382011-11-15 Andreas Schwab <schwab@redhat.com>
44639
446514f9
AS
44640 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44641 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44642 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44643 (SYSCALL_GETTIME): Set errno on error.
44644
09f93bd3
AS
44645 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44646 count references to noai6ai_cached.
44647
312be3f9
UD
446482011-11-15 Ulrich Drepper <drepper@gmail.com>
44649
44650 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44651
44652 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44653 FD_CLOEXEC for /proc/self/maps.
44654
44655 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44656 FD_CLOEXEC for /proc/meminfo.
44657
44658 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44659 gai.conf.
44660
44661 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44662 FD_CLOEXEC for given file.
44663
44664 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44665
44666 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44667 FD_CLOEXEC for /etc/hosts.
44668 (_gethtent): Likewise.
44669
44670 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44671
44672 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44673 cancellation and set FD_CLOEXEC for /etc/netgroup.
44674
44675 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44676 reading /etc/publickey.
44677
44678 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44679 allow cancellation when reading /etc/group.
44680
44681 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44682 cancellation.
44683 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44684
44685 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44686 when using data file.
44687
44688 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44689
44690 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44691 (write_nis_obj): Use "c" and "e" in fopen.
44692
44693 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44694
44695 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44696
44697 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44698
44699 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44700
44701 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44702 locale.alias.
44703
44704 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44705
44706 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44707
44708 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44709
44710 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44711 file parsing and set FD_CLOEXEC.
44712
82af0fa8
UD
447132011-11-14 Ulrich Drepper <drepper@gmail.com>
44714
44715 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44716
a5fb313c
AS
447172011-11-14 Andreas Schwab <schwab@redhat.com>
44718
44719 * malloc/arena.c (arena_get2): Don't call reused_arena when
44720 _int_new_arena failed.
44721
6abf3465
UD
447222011-11-14 Ulrich Drepper <drepper@gmail.com>
44723
44724 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44725 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44726 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44727 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44728 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44729 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44730 to compile strcasecmp and strncasecmp.
44731 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44732 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44733
44734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44735
76e3966e
UD
447362011-11-13 Ulrich Drepper <drepper@gmail.com>
44737
44738 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44739 locale-defines.sym to gen-as-const-headers.
44740 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44741 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44742 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44743 to compile strcasecmp and strncasecmp.
44744 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44745 strcasecmp_l and strncasecmp_l.
44746 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44747 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44748 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44749 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44750 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44751 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44752 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44753 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44754 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44755 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44756 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44757
ab26144e
UD
447582011-11-12 Ulrich Drepper <drepper@gmail.com>
44759
7edb22ef
UD
44760 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44761 result of SYSDEP_GETTIME_CPU to retval.
44762 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44763 parameter list to macro. Remove trailing semicolon. Adjust users.
44764
9694fc44
UD
44765 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44766 variable.
44767
8ad89ef8
UD
44768 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44769 mantissa words.
44770 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44771
0c822ef9
UD
44772 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44773 from unused variable.
44774
874e0564
UD
44775 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44776 DWARF definitions.
44777 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44778 for assembling.
44779
3a2edc79
UD
44780 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44781 over namespaces.
44782
f3c2577f
UD
44783 * sunrpc/rpc_prot.c (rejected): Fix case value.
44784
294ce126
UD
44785 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44786 unsigned long long int to avoid warnings in shift.
44787
5e2b63c6
UD
44788 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44789 of use of trans.
44790 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44791 variable tmp.
44792
e7f4b08e
UD
44793 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44794 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44795 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44796
ab26144e
UD
44797 * nis/nis_table.c (nis_list): Use variable of correct type for
44798 result of __follow_path call.
44799
8a6d5255
AZ
448002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44801
44802 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44803 of math functions ceil, trunc, floor, round, and sqrt, when
44804 avaliable on the platform.
44805 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44806 name clash.
44807 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44808 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44809 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44810
aaddc98c
MP
448112011-10-30 Marek Polacek <mpolacek@redhat.com>
44812
44813 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44814 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44815
95b7042b
RM
448162011-11-11 Roland McGrath <roland@hack.frob.com>
44817
44818 * include/unistd.h: Fix __readlink return type.
44819 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44820
57769839
UD
448212011-11-11 Ulrich Drepper <drepper@gmail.com>
44822
44823 * stdlib/ucontext.h: Undo last change for makecontext.
44824
edc5984d
AS
448252011-11-11 Andreas Schwab <schwab@redhat.com>
44826
98591e58
AS
44827 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44828
edc5984d
AS
44829 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44830 * setjmp/setjmp.h: Mark functions as non-leaf.
44831 * setjmp/bits/setjmp2.h: Likewise.
44832 * stdlib/ucontext.h: Likewise.
44833
77cdc054
AS
448342011-11-10 Andreas Schwab <schwab@redhat.com>
44835
44836 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44837 (reused_arena): Don't check arena limit.
44838 (arena_get2): Atomically check arena limit.
44839
fe72eebd
UD
448402011-11-08 Ulrich Drepper <drepper@gmail.com>
44841
5f078c32
UD
44842 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44843 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44844
fe72eebd
UD
44845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44846 instructions.
44847
ae1bc2fa
AS
448482011-11-07 Andreas Schwab <schwab@redhat.com>
44849
7583a88d
AS
44850 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44851 handler when locking.
44852
ae1bc2fa
AS
44853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44854 Fix size of allocated buffer.
44855
10fb0bfa
AS
448562011-11-04 Andreas Schwab <schwab@redhat.com>
44857
998832a4
AS
44858 [BZ #10103]
44859 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44860 declarations for long double functions.
44861 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44862
10fb0bfa
AS
44863 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44864
3d7ba52b
AS
448652011-11-03 Andreas Schwab <schwab@redhat.com>
44866
a9ae54a1
AS
44867 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44868 installed.
44869
3d7ba52b
AS
44870 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44871 is disabled.
44872
bc8db248
ST
448732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44874
44875 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44876
45b96dd6
AS
448772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44878
647776f6
AS
44879 * include/alloca.h (stackinfo_alloca_round): Define.
44880 (extend_alloca): Use it.
44881 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44882 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44883 here.
44884
d91a8b93
AS
44885 * scripts/check-local-headers.sh: Ignore libaudit.h.
44886
45b96dd6
AS
44887 * nscd/Makefile (extra-objs): Make recursively expanded.
44888
432d41ce
UD
448892011-11-01 Ulrich Drepper <drepper@gmail.com>
44890
34372fc6
UD
44891 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44893
fadb59f8
UD
44894 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44895 * posix/tst-rfc3484-2.c: Likewise.
44896 * posix/tst-rfc3484-3.c: Likewise.
44897
78239589
UD
44898 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44899 process_vm_writev.
44900 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44901 process_vm_writev.
44902 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44903 process_vm_writev from libc using GLIBC_2.15 version.
44904
432d41ce
UD
44905 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44906
02f9c6cf
PP
449072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44908
44909 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44910 stack usage.
44911
3a2c0242
UD
449122011-10-31 Ulrich Drepper <drepper@gmail.com>
44913
f4ec4833
UD
44914 [BZ #13367]
44915 * nss/getent.c (initgroups_keys): Show error message in case no group
44916 names are given.
44917
3a2c0242
UD
44918 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44919 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44920 __bump_nl_timestamp.
44921 * nscd/connections (nscd_init): When host database is served open
44922 netlink socket and request notification about configuration changes.
44923 (main_loop_poll): Track netlink file descriptor and bump timestamp
44924 in case data becomes available.
44925 (main_loop_epoll): Likewise.
44926 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44927 (database_pers_head): Add extra_data fileds.
44928 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44929 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44930 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44931 Adjust caller.
44932 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44933 in6ai data, call __free_in6ai.
44934 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44935 Add -DHAVE_NETLINK.
44936 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44937 interface information. Reuse previous data if netlink timestamp
44938 is not changed.
44939 (__bump_nl_timestamp): New function.
44940 (__free_in6ai): New function.
44941
636064eb
UD
449422011-10-30 Ulrich Drepper <drepper@gmail.com>
44943
44944 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44945 close_not_cancel_no_status here.
44946 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44947
9beb2334
UD
449482011-10-29 Ulrich Drepper <drepper@gmail.com>
44949
6ef76f3b
UD
44950 [BZ #13276]
44951 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44952 return value.
44953
0ffc4f3e 44954 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
44955 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44956 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44957
cb95113e
UD
449582011-07-03 Andreas Jaeger <aj@suse.de>
44959
44960 [BZ #10709]
44961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44962 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44963 * math/libm-test.inc (sin_test): Add test case.
44964
a1b560ff
UD
449652011-10-29 Ulrich Drepper <drepper@gmail.com>
44966
c9aaface
UD
44967 [BZ #13337]
44968 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44969 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44970
d272e7f1
UD
44971 * elf/chroot_canon.c (chroot_canon): Cleanups.
44972
1bc33071
UD
44973 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44974
1760874d
TJ
44975 [BZ #13335]
44976 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44977 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44978
51d91b18
UD
44979 * string/test-strchr.c: Make usable for strchrnul testing.
44980 * string/test-strchrnul.c: New file.
44981 * string/Makefile (strop-tests): Add strchrnul.
44982
a1b560ff 44983 * po/it.po: Update from translation team.
b611fb81 44984 * po/es.po: Likewise.
a1b560ff 44985
a5b81e1f
UD
449862011-10-28 Ulrich Drepper <drepper@gmail.com>
44987
fd52bc6d
UD
44988 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44989 the three constants needed as parameters. Drop the others.
44990 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44991 __m128i_strloadu_tolower.
52e4b9eb
UD
44992 Create and initialize variable zero and use it in all the places
44993 where _mm_setzero_si128 was used.
fd52bc6d 44994
a5b81e1f
UD
44995 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44996 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44997 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44998 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44999 anymore.
45000 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45001 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45002 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45003 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45004 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45005 __mpranred, __mptan.
45006 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45007 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45008 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45009 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45010 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45011 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45012 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45013 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45014 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45015
b4343346
AS
450162011-10-28 Andreas Schwab <schwab@redhat.com>
45017
0c92d8a8
AS
45018 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45019 redefine if SHARED.
45020 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45021
b4343346
AS
45022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45023 wide char related routines to wcsmbs subdir.
45024
3871f58f
AS
450252011-10-27 Andreas Schwab <schwab@redhat.com>
45026
45027 [BZ #13344]
45028 * misc/sys/cdefs.h (__THROWNL): Define.
45029 * posix/unistd.h: Use __THREADNL instead of __THREAD
45030 for memory synchronization functions.
45031
94d44d9f
RM
450322011-10-26 Roland McGrath <roland@hack.frob.com>
45033
21b64b15 45034 [BZ #13349]
94d44d9f
RM
45035 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45036 doesn't exist.
45037 * manual/stdio.texi (Obstack Streams): Node removed.
45038
f6ce9294
AS
450392011-10-26 Andreas Schwab <schwab@redhat.com>
45040
80479147
AS
45041 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45042 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45043 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45044
f6ce9294
AS
45045 * math/math_private.h (math_force_eval): Allow non-addressable
45046 arguments.
45047 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45048
618280a1
UD
450492011-10-25 Ulrich Drepper <drepper@gmail.com>
45050
e0016b11
UD
45051 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45052 file is not needed.
45053
45054 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45055 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45056 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45057 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45058 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45059 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45060 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45061 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45062 Add AVX variants.
45063 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45064 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45065 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45066 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45067 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45068 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45069 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45070 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45071 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45072 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45073 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45074 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45075 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45076 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45077 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45078 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45079 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45080 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45081 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45082
45083 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45084 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45085
618280a1
UD
45086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45087 place. Use VEX encoding when compiling for AVX.
45088
37822576
AS
450892011-10-25 Andreas Schwab <schwab@redhat.com>
45090
1f1e1947
AS
45091 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45092 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45093
37822576
AS
45094 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45095
31ea014d
UD
450962011-10-25 Ulrich Drepper <drepper@gmail.com>
45097
d7826aa1 45098 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45099 useless if() expression.
d7826aa1
UD
45100 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45101 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45102 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45103 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45104 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45105 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45106 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45107 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45108 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45110 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45111 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45112 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45113 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45114 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45115 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45116 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45117 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45118 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45119
31ea014d
UD
45120 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45121
16437fec
AS
451222011-10-25 Andreas Schwab <schwab@redhat.com>
45123
45124 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45125 condition.
45126 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45127
31d3cc00
UD
451282011-10-25 Ulrich Drepper <drepper@gmail.com>
45129
45130 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45131 .text section. Avoid duplicate constants.
45132 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45134 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45136 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45141 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45142 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45143 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45144 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45145 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45146 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45147 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45148 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45149 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45150 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45152 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45153 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45154 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45155 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45156 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45157 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45158 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45159 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45160 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45161 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45162 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45163 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45164 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45165 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45166 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45167 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45168 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45169 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45170 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45171 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45172 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45173 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45174 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45175 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45176 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45177
58985aa9
UD
451782011-10-24 Ulrich Drepper <drepper@gmail.com>
45179
202c9deb
UD
45180 * sysdeps/x86_64/dla.h: Move to ...
45181 * sysdeps/x86_64/fpu/dla.h: ...here.
45182 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45183 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45184
af968f62
UD
45185 * config.make.in: Add have-mfma4 entry.
45186 * configure.in: Substitute libc_cv_cc_fma4.
45187 * math/Makefile (dbl-only-routines): Add sincostab.
45188 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45189 Use __sincostab not sincos.
45190 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45191 name is a macro.
45192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45196 using __copysign.
45197 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45198 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45199 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45200 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45201 and __inv.
45202 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45203 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45204 __copysign.
45205 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45206 define aliases when function name is a macro.
45207 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45208 sysdeps/ieee754/dbl-64/sincos.tbl.
45209 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45210 fma4-enabled routines.
45211 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45212 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45213 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45214 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45215 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45216 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45218 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45219 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45220 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45221 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45222 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45223 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45224 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45225 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45226 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45227 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45228 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45229 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45230 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45231 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45232 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45233 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45234 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45235 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45236 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45238 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45239 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45240 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45241
58985aa9
UD
45242 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45243 rename.
45244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45250 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45252
a201fbcf
AS
452532011-10-24 Andreas Schwab <schwab@redhat.com>
45254
45255 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45256
fc2ee42a
LD
452572011-10-23 Ulrich Drepper <drepper@gmail.com>
45258
bb3129bd
UD
45259 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45260
0275fff8
UD
45261 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45262 prediction.
45263 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45264
2fa2ae85
UD
45265 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45266 Remove unused variable magic_bits.
45267 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45268
fc2ee42a
LD
45269 * string/strnlen.c: Define and use STRNLEN macro.
45270 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45271 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45272 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45273 * wcsmbs/wcslen.c: Define and use WCSLEN.
45274 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45275 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45276 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45277 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45278 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45279 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45280 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45281
ce7dd29f
LD
452822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45283
45284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45285 strnlen-sse2-no-bsf.
45286 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45287 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45288 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45289 Add strnlen support.
45290 (USE_AS_STRNLEN): New macro.
45291 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45292 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45293 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45294 * sysdeps/x86_64/wcslen.S: New file.
45295
979c70a3
MZ
452962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45297
45298 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45299 XMM-moves are used for copying on small sizes.
45300
2d09f82f
LD
453012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45302
45303 * wcsmbs/Makefile (strop-tests): Add wcschr.
45304 * wcsmbs/test-wcschr.c: New file.
45305 * string/test-strchr.c: Update.
45306 Add wcschr support.
45307 (WIDE): New macro.
45308
619fccca
LD
453092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45310
2d09f82f 45311 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45312 * wcsmbs/test-wcslen.c: New file.
45313 * string/test-strlen.c: Update.
45314 Add wcslen support.
45315 (WIDE): New macro.
45316
09f699ea
UD
453172011-10-23 Ulrich Drepper <drepper@gmail.com>
45318
45319 * po/it.po: Update from translation team.
45320
95584d3b
LD
453212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45322
45323 * sysdeps/x86_64/wcscmp.S: Update.
45324 Fix wrong comparison semantics.
45325 wcscmp shall use signed comparison not unsigned.
45326 Don't use substraction to avoid overflow bug.
45327 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45328 * wcsmbc/wcscmp.c: Likewise.
45329 * string/test-strcmp.c: Likewise.
45330 Add new tests to check cases with negative values.
45331
c8b3296b
UD
453322011-10-23 Ulrich Drepper <drepper@gmail.com>
45333
45334 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45335 * sysdeps/x86_64/dla.h: ...here. New file.
45336 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45341 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45345
246ad57a
AS
453462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45347
45348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45349 __ynl_finite aliases.
45350
a1a87169
UD
453512011-10-22 Ulrich Drepper <drepper@gmail.com>
45352
0d355eb7
UD
45353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45354
a1a87169
UD
45355 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45356 define DLA_FMA.
45357 [DLA_FMA] (EMULV): Use DLA_FMA.
45358 [DLA_FMA] (MUL12): Use EMULV.
45359 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45360 that are not needed.
45361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45368
ee2aafe0
AS
453692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45370
45371 * math/s_nan.c: Undef __nan.
45372 * math/s_nanf.c: Undef __nanf.
45373 * math/s_nanl.c: Undef __nanl.
45374 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45375 "math_private.h".
45376
bc62c2fb
UD
453772011-10-22 Ulrich Drepper <drepper@gmail.com>
45378
77425c63
UD
45379 * math/s_catan.c: Add branch predictions.
45380 * math/s_catanf.c: Likewise.
45381 * math/s_catanh.c: Likewise.
45382 * math/s_catanhf.c: Likewise.
45383 * math/s_catanhl.c: Likewise.
45384 * math/s_catanl.c: Likewise.
45385 * math/s_cexp.c: Likewise.
45386 * math/s_cexpf.c: Likewise.
45387 * math/s_cexpl.c: Likewise.
45388 * math/s_clog.c: Likewise.
45389 * math/s_clog10.c: Likewise.
45390 * math/s_clog10f.c: Likewise.
45391 * math/s_clog10l.c: Likewise.
45392 * math/s_clogf.c: Likewise.
45393 * math/s_clogl.c: Likewise.
45394 * math/s_csqrt.c: Likewise.
45395 * math/s_csqrtf.c: Likewise.
45396 * math/s_csqrtl.c: Likewise.
45397 * math/s_ctanf.c: Likewise.
45398 * math/s_ctanh.c: Likewise.
45399 * math/s_ctanhf.c: Likewise.
45400 * math/s_ctanhl.c: Likewise.
45401 * math/s_ctanl.c: Likewise.
45402
bc62c2fb
UD
45403 * math/math_private.h: Define __nan, __nanf, __nanl.
45404 * math/s_cacosh.c: Include <math_private.h>.
45405 * math/s_cacoshl.c: Likewise.
45406 * math/s_casinh.c: Likewise.
45407 * math/s_casinhf.c: Likewise.
45408 * math/s_casinhl.c: Likewise.
45409 * math/s_ccos.c: Rely entire on ccosh.
45410 * math/s_ccosf.c: Rely entire on ccoshf.
45411 * math/s_ccosl.c: Rely entirely on ccoshl.
45412 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45413 Remove tests for FE_INVALID.
45414 * math/s_ccoshf.c: Likewise.
45415 * math/s_ccoshl.c: Likewise.
45416 * math/s_csin.c: Likewise.
45417 * math/s_csinf.c: Likewise.
45418 * math/s_csinh.c Likewise.
45419 * math/s_csinhf.c: Likewise.
45420 * math/s_csinhl.c: Likewise.
45421 * math/s_csinl.c: Likewise.
45422 * math/s_ctan.c: Likewise.
45423 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45424 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45425 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45426
8ec250a4
UD
454272011-10-21 Ulrich Drepper <drepper@gmail.com>
45428
c196fed8
UD
45429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45430 compilation problems.
45431
8ec250a4
UD
45432 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45433 __builtin_expect.
45434
8d4f46c6
UD
454352011-10-20 Ulrich Drepper <drepper@gmail.com>
45436
ed72b654
UD
45437 * sysdeps/i386/configure.in: Test for -mfma4 option.
45438 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45439 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45440 COMMON_CPUID_INDEX_80000001.
45441 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45442 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45443 use it if FMA3 is not supported.
45444 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45445
8d4f46c6
UD
45446 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45447 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45448
d45c60c2
AS
454492011-10-20 Andreas Schwab <schwab@redhat.com>
45450
45451 [BZ #12892]
45452 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45453 it would create a cycle with a link time dependency.
45454
d9a4d2ab
UD
454552011-10-19 Ulrich Drepper <drepper@gmail.com>
45456
855d1560
UD
45457 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45458 instruction.
45459 * string/Makefile (strop-tests): Add rawmemchr.
45460 * string/test-rawmemchr.c: New file.
45461
d9a4d2ab
UD
45462 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45463 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45464 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45465 when compiling str{,n}casecmp and when AVX is available. Hook up
45466 new optimized code in initializers.
45467
8f3b1ffe
AS
454682011-10-19 Andreas Schwab <schwab@redhat.com>
45469
45470 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45471 __feraiseexcept instead of feraiseexcept.
45472
d38f1dba
UD
454732011-10-18 Ulrich Drepper <drepper@gmail.com>
45474
d9a8d0ab
UD
45475 * math/math_private.h: Define defaults for libc_fetestexcept and
45476 libc_feupdateenv.
45477 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45478 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45479 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45480 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45481 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45482 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45483 libc_fetestexcept and libc_feupdateenv.
45484
4855e3dd
UD
45485 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45486 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45487 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45488 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45489 libc_feholdexcept_setround.
45490
581d30e3
UD
45491 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45492 Add s_nearbyint-c and s_nearbyintf-c.
45493 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45494 nearbyintf inlines.
45495 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45496 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45497 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45498 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45499
d38f1dba
UD
45500 * math/math_private.h: Define defaults for libc_fegetround,
45501 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45502 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45503 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45505 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45506 standard functions.
45507 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45508 Remove comments and hacks for old compiler versions.
45509 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45510 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45511 libc_feholdexceptl.
45512
caa6c9d8
AS
455132011-10-18 Andreas Schwab <schwab@redhat.com>
45514
45515 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
45516 (__feraiseexcept_renamed): Add __NTH.
45517 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
45518 namespace violations.
45519
97c066e6
UD
455202011-10-17 Ulrich Drepper <drepper@gmail.com>
45521
99ce7b04
UD
45522 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45523
1004d182
UD
45524 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45525
228a984d
UD
45526 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45527 recently added interfaces.
45528 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45529
c8553a6a
UD
45530 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45531 about macro parameter expansion.
45532
ed22dcf6
UD
45533 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45534 __NO_MATH_INLINES is defined. Cleanups.
45535
45536 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45537 and __floorf is target has SSE4.1.
45538 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45539 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45540 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45541 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45542
b171c137
UD
45543 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45544 name.
45545 (floorf): Likewise.
45546
97c066e6
UD
45547 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45548
629f62ef
AS
455492011-10-17 Andreas Schwab <schwab@redhat.com>
45550
49a43d80
AS
45551 * misc/sys/cdefs.h: Fix last change.
45552
629f62ef
AS
45553 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45554 database lookup.
45555
e453f6cd
UD
455562011-10-16 Ulrich Drepper <drepper@gmail.com>
45557
aa78043a
UD
45558 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45559
ad0f5cad
UD
45560 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45562 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45563 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45564 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45565 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45566 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45567 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45568 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45569 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45570 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45571 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45572 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45573 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45574 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45575 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45576 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45577 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45578 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45579 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45580 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45581 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45582
45583 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45584 ceil, ceilf, floor, floorf.
45585
45586 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45587 Perform IRELATIVE relocations last.
45588
e453f6cd
UD
45589 * elf/do-rel.h: Add another parameter nrelative, replacing the
45590 local variable with the same name. Change name of the function
45591 to end in Rel or Rela (uppercase).
45592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45593 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45594 elf_dynamic_do_##reloc function.
45595
fd5bdc09
UD
455962011-10-15 Ulrich Drepper <drepper@gmail.com>
45597
79b195b5
UD
45598 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45599 is sufficient, at least on modern CPUs.
45600
d4a28569
UD
45601 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45602
b61099b5
UD
45603 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45604 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45605
bcf01e6d
UD
45606 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45607 __expl_finite.
45608 * math/bits/math-finite.h: Add entries for exp.
45609 * math/e_expl.c: Add __*_finite alias.
45610 * sysdeps/i386/fpu/e_exp.S: Likewise.
45611 * sysdeps/i386/fpu/e_expf.S: Likewise.
45612 * sysdeps/i386/fpu/e_expl.c: Likewise.
45613 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45614 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45615 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45616 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45617 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45618 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45619 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45620
ba1a0d59
UD
45621 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45622 is sufficient, at least on modern CPUs.
45623
fd5bdc09
UD
45624 * ctype/ctype-info.c (__ctype_init): Define.
45625 * include/ctype.h (__ctype_init): Declare.
45626 (__ctype_b_loc): The variable is always initialized.
45627 (__ctype_toupper_loc): Likewise.
45628 (__ctype_tolower_loc): Likewise.
45629 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45630 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45631
7872cfb0
AS
456322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45633
b468825a
AS
45634 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45635
7872cfb0
AS
45636 * configure.in: Also look in $cxxmachine/include for C++ system
45637 headers.
45638
be13f7bf
LD
456392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45640
45641 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45642 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45643 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45644 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45645 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45646 (USE_AS_WMEMCMP): New macro.
45647 Fixing indents.
45648 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45649 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45650 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45651 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45653 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45654 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45655 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45656 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45657 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45658 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45659 (USE_AS_WMEMCMP): New macro.
45660 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45661 * sysdeps/string/test-memcmp.c: Update.
45662 Fix simple_wmemcmp.
45663 Add new tests.
45664 * wcsmbs/wmemcmp.c: Update.
45665 (WMEMCMP): New macro.
45666 Fix overflow bug.
45667
556a2007
AJ
456682011-10-12 Andreas Jaeger <aj@suse.de>
45669
45670 [BZ #13268]
45671 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45672
538faaa7
UD
456732011-10-15 Ulrich Drepper <drepper@gmail.com>
45674
ab6737ff
UD
45675 * libio/iofwide.c (do_length): Avoid warning.
45676
538faaa7
UD
45677 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45678
396a21b1
UD
456792011-10-14 Ulrich Drepper <drepper@gmail.com>
45680
cdf2901f
UD
45681 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45682
38ad40ce
UD
45683 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45684 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45685 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45686 * sysdeps/i386/i686/fpu/e_log.S: New file.
45687 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45688 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45689
396a21b1
UD
45690 * ctype/ctype.h: Add support for inlined isXXX functions when
45691 compiling C++ code.
45692
6b1f68c9
AS
456932011-10-14 Andreas Schwab <schwab@redhat.com>
45694
349290c0
AS
45695 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45696
6b1f68c9
AS
45697 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45698
f2282d42
RM
456992011-10-13 Roland McGrath <roland@hack.frob.com>
45700
45701 [BZ #13291]
45702 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45703
5298ffa8
AS
457042011-10-13 Andreas Schwab <schwab@redhat.com>
45705
714fad23
AS
45706 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45707 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45708 feraiseexcept.
45709
81dcc7fb
AS
45710 * sysdeps/x86_64/memrchr.S: Check for zero size.
45711
5298ffa8
AS
45712 * string/stratcliff.c: Add memrchr tests.
45713
951fbcec
LD
457142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45715
45716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45717 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45718 rawmemchr-sse2 rawmemchr-sse2-bsf.
45719 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45720 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45721 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45722 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45723 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45724 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45725 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45726 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45727 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45728 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45729 * string/memrchr.c (MEMRCHR): New macro.
45730
0ac5ae23
UD
457312011-10-12 Ulrich Drepper <drepper@gmail.com>
45732
45733 Add integration with gcc's -ffinite-math-only and optimize wrapper
45734 functions in libm.
45735 * Versions.def: Define GLIBC_2.15 version for libm.
45736 * math/Makefile (headers): Add bits/math-finite.h.
45737 * math/bits/math-finite.h: New file.
45738 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45739 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45740 * math/e_acoshl.c: Add __*_finite alias.
45741 * math/e_acosl.c: Likewise.
45742 * math/e_asinl.c: Likewise.
45743 * math/e_atan2l.c: Likewise.
45744 * math/e_atanhl.c: Likewise.
45745 * math/e_coshl.c: Likewise.
45746 * math/e_exp10.c: Likewise.
45747 * math/e_exp10f.c: Likewise.
45748 * math/e_exp10l.c: Likewise.
45749 * math/e_exp2l.c: Likewise.
45750 * math/e_fmodl.c: Likewise.
45751 * math/e_gammal_r.c: Likewise.
45752 * math/e_hypotl.c: Likewise.
45753 * math/e_j0l.c: Likewise.
45754 * math/e_j1l.c: Likewise.
45755 * math/e_jnl.c: Likewise.
45756 * math/e_lgammal_r.c: Likewise.
45757 * math/e_log10l.c: Likewise.
45758 * math/e_log2l.c: Likewise.
45759 * math/e_logl.c: Likewise.
45760 * math/e_powl.c: Likewise.
45761 * math/e_sinhl.c: Likewise.
45762 * math/e_sqrtl.c: Likewise.
45763 * math/e_scalb.c: Completely rewritten and optimized.
45764 * math/e_scalbf.c: Likewise.
45765 * math/e_scalbl.c: Likewise.
45766 * math/w_acos.c: Likewise.
45767 * math/w_acosf.c: Likewise.
45768 * math/w_acosl.c: Likewise.
45769 * math/w_acosh.c: Likewise.
45770 * math/w_acoshf.c: Likewise.
45771 * math/w_acoshl.c: Likewise.
45772 * math/w_asin.c: Likewise.
45773 * math/w_asinf.c: Likewise.
45774 * math/w_asinl.c: Likewise.
45775 * math/w_atan2.c: Likewise.
45776 * math/w_atan2f.c: Likewise.
45777 * math/w_atan2l.c: Likewise.
45778 * math/w_atanh.c: Likewise.
45779 * math/w_atanhf.c: Likewise.
45780 * math/w_atanhl.c: Likewise.
45781 * math/w_exp10.c: Likewise.
45782 * math/w_exp10f.c: Likewise.
45783 * math/w_exp10l.c: Likewise.
45784 * math/w_fmod.c: Likewise.
45785 * math/w_fmodf.c: Likewise.
45786 * math/w_fmodl.c: Likewise.
45787 * math/w_j0.c: Likewise.
45788 * math/w_j0f.c: Likewise.
45789 * math/w_j0l.c: Likewise.
45790 * math/w_j1.c: Likewise.
45791 * math/w_j1f.c: Likewise.
45792 * math/w_j1l.c: Likewise.
45793 * math/w_jn.c: Likewise.
45794 * math/w_jnf.c: Likewise.
45795 * math/w_log.c: Likewise.
45796 * math/w_logf.c: Likewise.
45797 * math/w_logl.c: Likewise.
45798 * math/w_log10.c: Likewise.
45799 * math/w_log10f.c: Likewise.
45800 * math/w_log10l.c: Likewise.
45801 * math/w_log2.c: Likewise.
45802 * math/w_log2f.c: Likewise.
45803 * math/w_log2l.c: Likewise.
45804 * math/w_pow.c: Likewise.
45805 * math/w_powf.c: Likewise.
45806 * math/w_powl.c: Likewise.
45807 * math/w_remainder.c: Likewise.
45808 * math/w_remainderf.c: Likewise.
45809 * math/w_remainderl.c: Likewise.
45810 * math/w_scalb.c: Likewise.
45811 * math/w_scalbf.c: Likewise.
45812 * math/w_scalbl.c: Likewise.
45813 * math/w_sqrt.c: Likewise.
45814 * math/w_sqrtf.c: Likewise.
45815 * math/w_sqrtl.c: Likewise.
45816 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45817 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45818 used.
45819 * math/math_private.h: Declare __kernel_standard_f.
45820 * math/w_cosh.c: Remove cruft and optimize a bit.
45821 * math/w_coshf.c: Likewise.
45822 * math/w_coshl.c: Likewise.
45823 * math/w_exp2.c: Likewise.
45824 * math/w_exp2f.c: Likewise.
45825 * math/w_exp2l.c: Likewise.
45826 * math/w_hypot.c: Likewise.
45827 * math/w_hypotf.c: Likewise.
45828 * math/w_hypotl.c: Likewise.
45829 * math/w_lgamma.c: Likewise.
45830 * math/w_lgamma_r.c: Likewise.
45831 * math/w_lgammaf.c: Likewise.
45832 * math/w_lgammaf_r.c: Likewise.
45833 * math/w_lgammal.c: Likewise.
45834 * math/w_lgammal_r.c: Likewise.
45835 * math/w_sinh.c: Likewise.
45836 * math/w_sinhf.c: Likewise.
45837 * math/w_sinhl.c: Likewise.
45838 * math/w_tgamma.c: Likewise.
45839 * math/w_tgammaf.c: Likewise.
45840 * math/w_tgammal.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45843 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45844 Minor optimizations. Pretty printing. Remove cruft.
45845 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45846 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45847 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45848 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45849 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45850 * sysdeps/i386/fpu/e_asin.S: Likewise.
45851 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45852 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45853 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45854 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45856 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45857 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45858 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45859 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45860 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45861 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45862 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45863 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45864 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45865 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45866 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45867 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45868 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45869 * sysdeps/i386/fpu/e_log.S: Likewise.
45870 * sysdeps/i386/fpu/e_log10.S: Likewise.
45871 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45872 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45873 * sysdeps/i386/fpu/e_log2.S: Likewise.
45874 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45875 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45876 * sysdeps/i386/fpu/e_logf.S: Likewise.
45877 * sysdeps/i386/fpu/e_logl.S: Likewise.
45878 * sysdeps/i386/fpu/e_pow.S: Likewise.
45879 * sysdeps/i386/fpu/e_powf.S: Likewise.
45880 * sysdeps/i386/fpu/e_powl.S: Likewise.
45881 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45882 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45883 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45884 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45886 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45887 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45888 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45889 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45890 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45891 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45893 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45894 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45895 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45896 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45897 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45900 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45903 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45906 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45907 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45908 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45910 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45911 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45912 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45913 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45914 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45915 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45916 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45917 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45918 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45919 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45920 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45921 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45923 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45924 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45925 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45926 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45927 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45928 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45929 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45930 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45931 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45970 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45973 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45975 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45976 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45978 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45981 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45982 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45983 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45985 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45986 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45987 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45988 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45989 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45990 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45991 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45992 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45993 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45994 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45995 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45996 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45997 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45998 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45999 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46000 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46001 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46002 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46003 (__isnanf): Likewise.
46004 (__isinf_ns): Likewise.
46005 (__isinf_nsf): Likewise.
46006 (__finite): Likewise.
46007 (__finitef): Likewise.
46008 (__ieee754_sqrt): Define as macro.
46009 (__ieee754_sqrtf): Define as macro.
46010 (__ieee754_sqrtl): Define as macro.
46011 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46012 inlined copy.
46013 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46014 __FINITE_MATH_ONLY__ consistent.
46015 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46016
12cc2fcd
AS
460172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46018
a843a204
AS
46019 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46020 of rawmemchr.
46021
12cc2fcd
AS
46022 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46023
c853acd5
UD
460242011-10-09 Ulrich Drepper <drepper@gmail.com>
46025
46026 * po/ja.po: Update from translation team.
46027
c658d255
RM
460282011-10-08 Roland McGrath <roland@hack.frob.com>
46029
110946e4
RM
46030 * locale/programs/locarchive.c (prepare_address_space): New function.
46031 (create_archive, enlarge_archive, open_archive): Use it.
46032
50604220
RM
46033 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46034 inside [SHARED], where it is used.
46035
c658d255
RM
46036 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46037
46038 * nss/getent.c (netgroup_keys): Remove unused variable.
46039 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46040
6a621eb7
UD
460412011-10-08 Ulrich Drepper <drepper@gmail.com>
46042
7edb55ce
UD
46043 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46044 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46046 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46047 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46048 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46049 * math/Makefile (libm-calls): Add s_isinf_ns.
46050 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46051 * math/multc3.c: Likewise.
46052 * math/s_casin.c: Likewise.
46053 * math/s_casinf.c: Likewise.
46054 * math/s_casinl.c: Likewise.
46055 * math/s_ccos.c: Likewise.
46056 * math/s_ccosf.c: Likewise.
46057 * math/s_ccosl.c: Likewise.
46058 * math/s_ctan.c: Likewise.
46059 * math/s_ctanf.c: Likewise.
46060 * math/s_ctanh.c: Likewise.
46061 * math/s_ctanhf.c: Likewise.
46062 * math/s_ctanhl.c: Likewise.
46063 * math/s_ctanl.c: Likewise.
46064 * math/w_fmod.c: Likewise.
46065 * math/w_fmodf.c: Likewise.
46066 * math/w_fmodl.c: Likewise.
46067 * math/w_remainder.c: Likewise.
46068 * math/w_remainderf.c: Likewise.
46069 * math/w_remainderl.c: Likewise.
46070 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46071 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46072 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46073 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46074 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46075 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46076 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46077 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46078
187da0ae
UD
46079 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46080 of the number.
46081 * stdio-common/printf_fphex.c: Likewise.
46082 * stdio-common/printf_size.c: Likewise.
46083
9277c064
UD
46084 * math/e_exp10.c: Include math_private.h using <...> not "...".
46085 * math/e_exp10f.c: Likewise.
46086 * math/e_exp10l.c: Likewise.
46087 * math/e_exp2l.c: Likewise.
46088 * math/e_j0l.c: Likewise.
46089 * math/e_j1l.c: Likewise.
46090 * math/e_jnl.c: Likewise.
46091 * math/e_lgammal_r.c: Likewise.
46092 * math/e_rem_pio2l.c: Likewise.
46093 * math/e_scalb.c: Likewise.
46094 * math/e_scalbf.c: Likewise.
46095 * math/e_scalbl.c: Likewise.
46096 * math/k_cosl.c: Likewise.
46097 * math/k_sinl.c: Likewise.
46098 * math/k_tanl.c: Likewise.
46099 * math/s_cacoshf.c: Likewise.
46100 * math/s_catan.c: Likewise.
46101 * math/s_catanf.c: Likewise.
46102 * math/s_catanh.c: Likewise.
46103 * math/s_catanhf.c: Likewise.
46104 * math/s_catanhl.c: Likewise.
46105 * math/s_catanl.c: Likewise.
46106 * math/s_ccosh.c: Likewise.
46107 * math/s_ccoshf.c: Likewise.
46108 * math/s_ccoshl.c: Likewise.
46109 * math/s_cexp.c: Likewise.
46110 * math/s_cexpf.c: Likewise.
46111 * math/s_cexpl.c: Likewise.
46112 * math/s_clog.c: Likewise.
46113 * math/s_clog10.c: Likewise.
46114 * math/s_clog10f.c: Likewise.
46115 * math/s_clog10l.c: Likewise.
46116 * math/s_clogf.c: Likewise.
46117 * math/s_clogl.c: Likewise.
46118 * math/s_csin.c: Likewise.
46119 * math/s_csinf.c: Likewise.
46120 * math/s_csinh.c: Likewise.
46121 * math/s_csinhf.c: Likewise.
46122 * math/s_csinhl.c: Likewise.
46123 * math/s_csinl.c: Likewise.
46124 * math/s_csqrt.c: Likewise.
46125 * math/s_csqrtf.c: Likewise.
46126 * math/s_csqrtl.c: Likewise.
46127 * math/s_ctan.c: Likewise.
46128 * math/s_ctanf.c: Likewise.
46129 * math/s_ctanh.c: Likewise.
46130 * math/s_ctanhf.c: Likewise.
46131 * math/s_ctanhl.c: Likewise.
46132 * math/s_ctanl.c: Likewise.
46133 * math/s_ldexp.c: Likewise.
46134 * math/s_ldexpf.c: Likewise.
46135 * math/s_ldexpl.c: Likewise.
46136 * math/s_significand.c: Likewise.
46137 * math/s_significandf.c: Likewise.
46138 * math/s_significandl.c: Likewise.
46139 * math/w_acos.c: Likewise.
46140 * math/w_acosf.c: Likewise.
46141 * math/w_acosh.c: Likewise.
46142 * math/w_acoshf.c: Likewise.
46143 * math/w_acoshl.c: Likewise.
46144 * math/w_acosl.c: Likewise.
46145 * math/w_asin.c: Likewise.
46146 * math/w_asinf.c: Likewise.
46147 * math/w_asinl.c: Likewise.
46148 * math/w_atan2.c: Likewise.
46149 * math/w_atan2f.c: Likewise.
46150 * math/w_atan2l.c: Likewise.
46151 * math/w_atanh.c: Likewise.
46152 * math/w_atanhf.c: Likewise.
46153 * math/w_atanhl.c: Likewise.
46154 * math/w_cosh.c: Likewise.
46155 * math/w_coshf.c: Likewise.
46156 * math/w_coshl.c: Likewise.
46157 * math/w_dremf.c: Likewise.
46158 * math/w_exp10.c: Likewise.
46159 * math/w_exp10f.c: Likewise.
46160 * math/w_exp10l.c: Likewise.
46161 * math/w_exp2.c: Likewise.
46162 * math/w_exp2f.c: Likewise.
46163 * math/w_fmod.c: Likewise.
46164 * math/w_fmodf.c: Likewise.
46165 * math/w_fmodl.c: Likewise.
46166 * math/w_hypot.c: Likewise.
46167 * math/w_hypotf.c: Likewise.
46168 * math/w_hypotl.c: Likewise.
46169 * math/w_j0.c: Likewise.
46170 * math/w_j0f.c: Likewise.
46171 * math/w_j0l.c: Likewise.
46172 * math/w_j1.c: Likewise.
46173 * math/w_j1f.c: Likewise.
46174 * math/w_j1l.c: Likewise.
46175 * math/w_jn.c: Likewise.
46176 * math/w_jnf.c: Likewise.
46177 * math/w_jnl.c: Likewise.
46178 * math/w_lgamma.c: Likewise.
46179 * math/w_lgamma_r.c: Likewise.
46180 * math/w_lgammaf.c: Likewise.
46181 * math/w_lgammaf_r.c: Likewise.
46182 * math/w_lgammal.c: Likewise.
46183 * math/w_lgammal_r.c: Likewise.
46184 * math/w_log.c: Likewise.
46185 * math/w_log10.c: Likewise.
46186 * math/w_log10f.c: Likewise.
46187 * math/w_log10l.c: Likewise.
46188 * math/w_log2.c: Likewise.
46189 * math/w_log2f.c: Likewise.
46190 * math/w_log2l.c: Likewise.
46191 * math/w_logf.c: Likewise.
46192 * math/w_logl.c: Likewise.
46193 * math/w_pow.c: Likewise.
46194 * math/w_powf.c: Likewise.
46195 * math/w_powl.c: Likewise.
46196 * math/w_remainder.c: Likewise.
46197 * math/w_remainderf.c: Likewise.
46198 * math/w_remainderl.c: Likewise.
46199 * math/w_scalb.c: Likewise.
46200 * math/w_scalbf.c: Likewise.
46201 * math/w_scalbl.c: Likewise.
46202 * math/w_sinh.c: Likewise.
46203 * math/w_sinhf.c: Likewise.
46204 * math/w_sinhl.c: Likewise.
46205 * math/w_sqrt.c: Likewise.
46206 * math/w_sqrtf.c: Likewise.
46207 * math/w_sqrtl.c: Likewise.
46208 * math/w_tgamma.c: Likewise.
46209 * math/w_tgammaf.c: Likewise.
46210 * math/w_tgammal.c: Likewise.
46211
6a621eb7
UD
46212 * po/ja.po: Update from translation team.
46213
bf582445
AJ
462142011-09-29 Andreas Jaeger <aj@suse.de>
46215
f9efbf3a
AJ
46216 [BZ #13179]
46217 * sunrpc/netname.c (netname2host): Fix logic.
46218
bf582445
AJ
46219 [BZ #6779]
46220 [BZ #6783]
46221 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46222 correctly.
46223 * math/w_remainder.c (__remainder): Likewise.
46224 * math/w_remainderf.c (__remainderf): Likewise.
46225 * math/libm-test.inc (remainder_test): Add test cases.
46226
48693bea
AK
462272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46228
46229 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46230 sdiv_qrnnd.
46231
42622229
LD
462322011-10-07 Ulrich Drepper <drepper@gmail.com>
46233
46234 * string/test-memcmp.c: Avoid unncessary #defines.
46235 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46236
093ecf92
LD
462372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46238
46239 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46240 Use new sse2 version for core i3 - i7 as it's faster
46241 than sse42 version.
46242 (bit_Prefer_PMINUB_for_stringop): New.
46243 * sysdeps/x86_64/rawmemchr.S: Update.
46244 Replace with faster SSE2 version.
46245 * sysdeps/x86_64/memrchr.S: New file.
46246 * sysdeps/x86_64/memchr.S: Update.
46247 Replace with faster SSE2 version.
46248
fde56e5c
MP
462492011-09-12 Marek Polacek <mpolacek@redhat.com>
46250
46251 * elf/dl-load.c (lose): Add cast to avoid warning.
46252
21fd49a9
UD
462532011-10-07 Ulrich Drepper <drepper@gmail.com>
46254
5a06e643
UD
46255 * po/ca.po: Update from translation team.
46256
684ae515
UD
46257 * inet/getnetgrent_r.c: Hook up nscd.
46258 * nscd/Makefile (routines): Add nscd_netgroup.
46259 (nscd-modules): Add netgroupcache.
46260 (CFLAGS-netgroupcache.c): Define.
46261 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46262 (cache_search): Add const to second parameter.
46263 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46264 INNETGR.
46265 (dbs): Add netgrdb entry.
46266 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46267 (verify_persistent_db): Handle netgrdb.
46268 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46269 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46270 GETFDNETGR.
46271 (netgroup_response_header): Define.
46272 (innetgroup_response_header): Define.
46273 (datahead): Add netgroup_response_header and innetgroup_response_header
46274 elements.
46275 * nscd/nscd.conf: Add entries for netgroup cache.
46276 * nscd/nscd.h (dbtype): Add netgrdb.
46277 (_PATH_NSCD_NETGROUP_DB): Define.
46278 (netgroup_iov_disabled): Declare.
46279 (xmalloc, xcalloc, xrealloc): Move declarations here.
46280 (cache_search): Adjust prototype.
46281 Add netgroup-related prototypes.
46282 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46283 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46284 (__nscd_innetgr): Declare.
46285 * nscd/selinux.c (perms): Use access_vector_t as element type and
46286 add netgroup-related initializers.
46287 * nscd/netgroupcache.c: New file.
46288 * nscd/nscd_netgroup.c: New file.
46289 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46290 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46291 For four parameters use innetgr.
46292 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46293 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46294 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46295 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46296
21fd49a9
UD
46297 * nscd/connections.c (register_traced_file): Don't register file
46298 for disabled databases.
46299
054c0457
UD
463002011-10-06 Ulrich Drepper <drepper@gmail.com>
46301
32b63198
UD
46302 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46303
054c0457
UD
46304 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46305 from tree and freeing node.
46306
64031225
JO
463072011-09-25 Jiri Olsa <jolsa@redhat.com>
46308
46309 * nss/nsswitch.c (__nss_database_lookup): Handle
46310 nss_parse_service_list out of memory case.
46311
0490345c
JO
463122011-09-15 Jiri Olsa <jolsa@redhat.com>
46313
46314 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46315 out of memory case.
46316
3a62d00d
AS
463172011-10-04 Andreas Schwab <schwab@redhat.com>
46318
46319 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46320 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46321 pass it down.
46322 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46323 elf_machine_rela, elf_machine_lazy_rel.
46324 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46325 (ELF_DYNAMIC_DO_REL): Likewise.
46326 (ELF_DYNAMIC_DO_RELA): Likewise.
46327 (ELF_DYNAMIC_RELOCATE): Likewise.
46328 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46329 to ELF_DYNAMIC_DO_REL.
46330 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46331 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46332 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46333 elf_machine_rela.
46334 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46335 skip_ifunc, don't call ifunc function if non-zero.
46336 (elf_machine_rela): Likewise.
46337 (elf_machine_lazy_rel): Likewise.
46338 (elf_machine_lazy_rela): Likewise.
46339 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46340 (elf_machine_lazy_rel): Likewise.
46341 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46342 Likewise.
46343 (elf_machine_lazy_rel): Likewise.
46344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46345 Likewise.
46346 (elf_machine_lazy_rel): Likewise.
46347 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46348 (elf_machine_lazy_rel): Likewise.
46349 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46350 (elf_machine_lazy_rel): Likewise.
46351 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46352 (elf_machine_lazy_rel): Likewise.
46353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46354 (elf_machine_lazy_rel): Likewise.
46355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46356 (elf_machine_lazy_rel): Likewise.
46357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46358 (elf_machine_lazy_rel): Likewise.
46359
68577918
UD
463602011-09-28 Ulrich Drepper <drepper@gmail.com>
46361
46362 * nss/nss_files/files-init.c (_nss_files_init): Use static
46363 initialization for all the *_traced_file variables.
46364
68822d74
AS
463652011-09-28 Andreas Schwab <schwab@redhat.com>
46366
46367 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46368
2056100b
RM
463692011-09-27 Roland McGrath <roland@hack.frob.com>
46370
46371 [BZ #13226]
46372 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46373
32c76b63
AS
463742011-09-27 Andreas Schwab <schwab@redhat.com>
46375
46376 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46377 Reread the line before reparsing it.
46378
bf972c9d
AS
463792011-09-26 Andreas Schwab <schwab@redhat.com>
46380
46381 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46382
e057a1b5
JM
463832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46384 Maxim Kuvyrkov <maxim@codesourcery.com>
46385 Joseph Myers <joseph@codesourcery.com>
46386
46387 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46388 if needed for __stack_chk_guard.
46389
bc7e1c36
RM
463902011-09-19 Roland McGrath <roland@hack.frob.com>
46391
ecb1482f
RM
46392 * sysdeps/posix/spawni.c (script_execute): Always define it.
46393 It will be optimized away if unused.
46394 (maybe_script_execute): New function.
46395 (__spawni): Call it.
46396
bc7e1c36
RM
46397 * Makerules: Don't include tls.make.
46398 (config-tls): Always set to thread.
46399 * tls.make.c: File removed.
46400
1c3b002b
MF
464012011-09-19 Mike Frysinger <vapier@gentoo.org>
46402
46403 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46404 * config.make.in (CPPFLAGS-config): New substituted variable.
46405
2840865d
UD
464062011-09-15 Ulrich Drepper <drepper@gmail.com>
46407
88738eb6
UD
46408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46409
cbf645a6 46410 [BZ #13192]
2840865d
UD
46411 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46412 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46413
b402e91a
RM
464142011-09-15 Roland McGrath <roland@hack.frob.com>
46415
46416 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46417 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46419 (CALL_FAIL): Likewise.
46420 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46421 (CALL_FAIL): Macro removed.
46422 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46423
4c1a1f71
UD
464242011-09-15 Ulrich Drepper <drepper@gmail.com>
46425
46426 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46427 for __FINITE_MATH_ONLY__ == 1.
46428
edc121be
AS
464292011-09-15 Andreas Schwab <schwab@redhat.com>
46430
46431 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46432 __ieee754_sqrt instead of sqrt.
46433 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46434 __ieee754_sqrtf instead of sqrtf.
46435 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46436 __floorf instead of floorf.
46437 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46438 __floorf, __truncf instead of floorf, truncf.
46439
cd205654
UD
464402011-09-14 Ulrich Drepper <drepper@gmail.com>
46441
ee4d0315
UD
46442 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46443
cd205654
UD
46444 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46445 __extern_always_inline.
46446 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46447 32-bit.
46448
48b67d71
AS
464492011-09-14 Andreas Schwab <schwab@redhat.com>
46450
46451 * elf/rtld.c (dl_main): Also relocate in dependency order when
46452 doing symbol dependency testing.
46453
1ae12c75
AS
464542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46455
46456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46457 Always define `refsym'.
46458
995a80df
AS
464592011-09-13 Andreas Schwab <schwab@redhat.com>
46460
e529793b
AS
46461 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46462 (__FD_ELT): Renamed from __FDELT.
46463 * misc/bits/select2.h (__FD_ELT): Likewise.
46464 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46465 __FD_MASK instead of __FDELT, __FDMASK.
46466 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46467 Likewise.
46468 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46469 Likewise.
46470
52d4fef8
AS
46471 * elf/Makefile (gen-ldd): Fix pattern.
46472
995a80df
AS
46473 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46474 (init_tls): Likewise.
46475
8682f8b0
UD
464762011-09-12 Ulrich Drepper <drepper@gmail.com>
46477
46478 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46479
de82006d
AS
464802011-09-12 Andreas Schwab <schwab@redhat.com>
46481
a7c8e6a1
AS
46482 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46483 `struct cmsghdr *' instead of `void *'.
46484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46485 Likewise.
46486
0f31fe77
AS
464872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46488
46489 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46490 if non-absolute.
46491 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46492 ldd_rewrite_script.
0f31fe77 46493
32b4c839
UD
464942011-09-11 Ulrich Drepper <drepper@gmail.com>
46495
83cd1420
UD
46496 * configure.in: Remove --with-tls option.
46497 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46498 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46499 out in case it is missing.
46500 * sysdeps/ia64/elf/configure.in: Likewise.
46501 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46502 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46503 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46504 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46505 * sysdeps/sh/elf/configure.in: Likewise.
46506 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46507 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46508 * sysdeps/x86_64/elf/configure.in: Likewise.
46509 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46510 * sysdeps/mach/hurd/tls.h: Likewise.
46511
633f745d
UD
46512 [BZ #13067]
46513 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46514
f318beb8
UD
46515 [BZ #13090]
46516 * configure.in: Fix use of AC_INIT.
46517
32b4c839
UD
46518 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46519
3ce1f295
UD
465202011-09-10 Ulrich Drepper <drepper@gmail.com>
46521
bb016596
UD
46522 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46523 __set_errno.
8e58439c
UD
46524 * malloc/hooks.c: Likewise.
46525
aebae053 46526 [BZ #11929]
02d46fc4
UD
46527 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46528 variables statically.
46529 (narenas): Initialize.
46530 (list_lock): Initialize.
bb016596
UD
46531 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46532 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
46533 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46534 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46535 Add initializers to main_arena and mp_.
46536 (malloc_state): Remove pagesize member. Change all users to use
46537 GLRO(dl_pagesize).
46538
46539 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46540 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46541 is always initialized.
46542
22a89187
UD
46543 * malloc/malloc.c: Removed unused configurations and dead code.
46544 * malloc/arena.c: Likewise.
46545 * malloc/hooks.c: Likewise.
02d46fc4 46546 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 46547
d063d164
UD
46548 * include/tls.h: Removed. USE___THREAD must always be defined.
46549 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46550 * elf/dl-libc.c: Likewise.
46551 * elf/dl-tsd.c: Likewise.
46552 * include/errno.h: Likewise.
46553 * include/netdb.h: Likewise.
46554 * include/resolv.h: Likewise.
46555 * inet/herrno-loc.c: Likewise.
46556 * inet/herrno.c: Likewise.
46557 * malloc/arena.c: Likewise.
46558 * malloc/hooks.c: Likewise.
46559 * malloc/malloc.c: Likewise.
46560 * resolv/res-state.c: Likewise.
46561 * resolv/res_libc.c: Likewise.
46562 * sysdeps/i386/dl-machine.h: Likewise.
46563 * sysdeps/ia64/dl-machine.h: Likewise.
46564 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46565 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46566 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46567 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46568 * sysdeps/sh/dl-machine.h: Likewise.
46569 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46570 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46571 * sysdeps/unix/i386/sysdep.S: Likewise.
46572 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46573 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46578 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46582 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46583 * sysdeps/x86_64/dl-machine.h: Likewise.
46584 * tls.make.c: Likewise.
46585
3ce1f295
UD
46586 * configure.in: Remove --with-__thread option. Make tests for
46587 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46588 tls_model attribute fail if no support is available. Remove
46589 USE_IN_LIBIO.
46590 * Makeconfig: Adjust for dropped configure option. All features are
46591 now mandatory.
46592 * Makerules: Likewise.
46593 * Versions.def: Likewise.
46594 * argp/argp-fmtstream.c: Likewise.
46595 * argp/argp-fmtstream.h: Likewise.
46596 * argp/argp-help.c: Likewise.
46597 * assert/assert.c: Likewise.
46598 * config.h.in: Likewise.
46599 * config.make.in: Likewise.
46600 * configure: Likewise.
46601 * configure.in: Likewise.
46602 * csu/Versions: Likewise.
46603 * csu/init.c: Likewise.
46604 * elf/tst-audit2.c: Likewise.
46605 * elf/tst-tls10.c: Likewise.
46606 * elf/tst-tls10.h: Likewise.
46607 * elf/tst-tls11.c: Likewise.
46608 * elf/tst-tls12.c: Likewise.
46609 * elf/tst-tls14.c: Likewise.
46610 * elf/tst-tlsmod11.c: Likewise.
46611 * elf/tst-tlsmod12.c: Likewise.
46612 * elf/tst-tlsmod13.c: Likewise.
46613 * elf/tst-tlsmod13a.c: Likewise.
46614 * elf/tst-tlsmod14a.c: Likewise.
46615 * elf/tst-tlsmod15b.c: Likewise.
46616 * elf/tst-tlsmod16a.c: Likewise.
46617 * elf/tst-tlsmod16b.c: Likewise.
46618 * elf/tst-tlsmod7.c: Likewise.
46619 * elf/tst-tlsmod8.c: Likewise.
46620 * elf/tst-tlsmod9.c: Likewise.
46621 * gmon/gmon.c: Likewise.
46622 * grp/fgetgrent_r.c: Likewise.
46623 * grp/putgrent.c: Likewise.
46624 * hurd/fopenport.c: Likewise.
46625 * include/libc-symbols.h: Likewise.
46626 * include/tls.h: Likewise.
46627 * intl/gettextP.h: Likewise.
46628 * intl/loadinfo.h: Likewise.
46629 * locale/global-locale.c: Likewise.
46630 * locale/localeinfo.h: Likewise.
46631 * mach/devstream.c: Likewise.
46632 * malloc/arena.c: Likewise.
46633 * malloc/set-freeres.c: Likewise.
46634 * misc/err.c: Likewise.
46635 * misc/getttyent.c: Likewise.
46636 * misc/mntent_r.c: Likewise.
46637 * posix/getopt.c: Likewise.
46638 * posix/wordexp.c: Likewise.
46639 * pwd/fgetpwent_r.c: Likewise.
46640 * resolv/Versions: Likewise.
46641 * resolv/res_hconf.c: Likewise.
46642 * shadow/fgetspent_r.c: Likewise.
46643 * shadow/putspent.c: Likewise.
46644 * stdio-common/printf_fphex.c: Likewise.
46645 * stdio-common/tmpfile.c: Likewise.
46646 * stdlib/abort.c: Likewise.
46647 * stdlib/fmtmsg.c: Likewise.
46648 * sunrpc/auth_unix.c: Likewise.
46649 * sunrpc/clnt_perr.c: Likewise.
46650 * sunrpc/clnt_tcp.c: Likewise.
46651 * sunrpc/clnt_udp.c: Likewise.
46652 * sunrpc/clnt_unix.c: Likewise.
46653 * sunrpc/openchild.c: Likewise.
46654 * sunrpc/svc_simple.c: Likewise.
46655 * sunrpc/svc_tcp.c: Likewise.
46656 * sunrpc/svc_udp.c: Likewise.
46657 * sunrpc/svc_unix.c: Likewise.
46658 * sunrpc/xdr.c: Likewise.
46659 * sunrpc/xdr_array.c: Likewise.
46660 * sunrpc/xdr_rec.c: Likewise.
46661 * sunrpc/xdr_ref.c: Likewise.
46662 * sunrpc/xdr_stdio.c: Likewise.
46663
1248c1c4
PB
466642011-09-09 Ulrich Drepper <drepper@gmail.com>
46665
46666 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46667
466682011-07-03 Andreas Jaeger <aj@suse.de>
46669
46670 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46671 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46672 regenerate with gen-libm-tests.pl.
46673
466742010-05-12 Petr Baudis <pasky@suse.cz>
46675
46676 [BZ #11589]
46677 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46678 around j0() zero points by switching to j1().
46679 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46680 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46682 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46683
f22e1074
UD
466842011-09-09 Ulrich Drepper <drepper@gmail.com>
46685
f19009c1
UD
46686 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46687 instead of 0.
46688 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46689 instead of 0.
f19009c1
UD
46690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46691 Patch in part by Pavel Roskin <proski@gnu.org>.
46692
3f8cc204
UD
46693 [BZ #13138]
46694 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46695 realloc.
46696 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46697 Free memory block if necessary.
46698
f22e1074
UD
46699 [BZ #12847]
46700 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46701 be NULL. Don't lock in this case.
46702
0a2349f9
RM
467032011-09-09 Roland McGrath <roland@hack.frob.com>
46704
46705 * elf/elf.h (ELFOSABI_GNU): New macro.
46706 (ELFOSABI_LINUX): Define to that.
46707
f3cdd467
DZ
467082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46709
46710 * string/strncat.c (strncat): Undef the symbol in case it has been
46711 defined in bits/string.h.
46712
74718d13
UD
467132011-09-09 Ulrich Drepper <drepper@gmail.com>
46714
633e9e0f
UD
46715 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46716
0a2349f9 46717 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46718 link map.
46719
f9924780
AJ
467202011-08-17 Andreas Jaeger <aj@suse.de>
46721
46722 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46723
7f5517aa
PP
467242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46725 Ian Lance Taylor <iant@google.com>
46726
46727 * math/libm-test.inc (lround_test): New testcase.
46728 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46729
762011fe
UD
467302011-09-08 Ulrich Drepper <drepper@gmail.com>
46731
92963737
UD
46732 * Makefile: Remove support for automatic cvs check-ins.
46733 * Makerules: Likewise.
46734 * config.make.in: Likewise.
46735 * configure.in: Likewise.
46736 * intl/Makefile: Likewise.
46737 * locale/Makefile: Likewise.
46738 * po/Makefile: Likewise.
46739 * posix/Makefile: Likewise.
46740 * sysdeps/gnu/Makefile: Likewise.
46741 * sysdeps/mach/hurd/Makefile: Likewise.
46742 * sysdeps/sparc/sparc32/Makefile: Likewise.
46743
b0727fd8
JS
46744 [BZ #13118]
46745 * posix/Makefile (bug-regex32-ENV): Define.
46746 Patch by John Stanley <jpsinthemix@verizon.net>.
46747
a0f33f99
UD
46748 * misc/Makefile (headers): Add bits/select2.h.
46749 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46750 * misc/bits/select2.h: New file.
46751 * include/bits/select2.h: New file.
46752 * debug/Makefile (routines): Add fdelt_chk.
46753 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46754 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46755 FD_ISSET.
46756 * debug/fdelt_chk.c: New file.
46757
762011fe
UD
46758 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46759 * wcsmbs/test-wmemcmp.c: Likewise.
46760 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46761 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46762
467632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46764
46765 * string/Makefile (strop-tests): Add memcmp.
46766 * string/test-wmemcmp.c: New file.
46767 * string/test-memcmp.c: Add wmemcmp support.
46768
7f513ec8
RM
467692011-09-08 Roland McGrath <roland@hack.frob.com>
46770
0442afb4
RM
46771 [BZ #13153]
46772 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46773 2011-07-19 change.
46774
7f513ec8
RM
46775 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46776 garbage value in a __mach_port_mod_refs call in the cases of the
46777 task-self and thread-self ports.
46778
a12b2239
ST
467792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46780
46781 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46782
610f9ab4
AS
467832011-09-08 Andreas Schwab <schwab@redhat.com>
46784
7f513ec8 46785 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46786
48882a1a
LD
467872011-09-07 Ulrich Drepper <drepper@gmail.com>
46788
b49865be
UD
46789 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46790
fdc86bc9
UD
46791 * elf/dl-libc.c (dlerror_run): Pass back error code from
46792 dl_catch_error.
46793
c966526a
UD
46794 [BZ #13123]
46795 * elf/dl-load.c (lose): Free l_origin if it is valid.
46796
48882a1a
LD
46797 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46798 names.
46799 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46802 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46803 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46804 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46805
77a2a8b4
AZ
468062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46807
46808 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46809 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46810 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46812 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46813 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46814 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46815 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46816 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46817 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46818
24f579d8
AM
468192011-08-15 Alan Modra <amodra@gmail.com>
46820
46821 [BZ #13092]
46822 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46823 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46824 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46825 ppc_mcount to static-only-routines.
46826 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46827 __mcount_internal.
46828 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46829 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46830
3d4837df
UD
468312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46832
46833 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46834 for finite and infinity parameters.
46835
22700377
WS
468362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46837
46838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46839 and add nop instructions for throughput optimization.
46840 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46841
5025581e
WS
468422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46843
46844 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46845 aligned copy for power7 with vector-scalar instructions.
46846 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46847
08a300c9
L
468482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46849
46850 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46851 AVX check.
46852
59178ef9
AS
468532011-09-07 Andreas Schwab <schwab@redhat.com>
46854
46855 [BZ #13144]
46856 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46857 last change.
46858
e38ba7ab
UD
468592011-09-07 Ulrich Drepper <drepper@gmail.com>
46860
46861 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46862 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46863 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46864 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46865 clock_gettime.
46866
d53a73ac
UD
468672011-09-06 Ulrich Drepper <drepper@gmail.com>
46868
fc8bffcc
UD
46869 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46870 Forgot to demangle the pointer.
46871
ceaa0c5d
UD
46872 * sysdeps/i386/sysdep.h: Define atom_text_section.
46873 * sysdeps/x86_64/sysdep.h: Likewise.
46874 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46875 section with atom_text_section.
46876 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46877 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46878 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46879 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46880 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46881
a77d3c17
UD
46882 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46884 already be defined. Change to take two parameters and don't assign
46885 result to variable. Adjust all users.
46886 Define INTERNAL_GETTIME if not already defined.
46887 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46888 call.
46889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46890 HAVE_CLOCK_GETTIME_VSYSCALL.
46891 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46892
d53a73ac
UD
46893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46894 gettimeofday vsyscall, just use time.
46895
a8f84144
AS
468962011-09-06 Andreas Schwab <schwab@redhat.com>
46897
46898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46899 <errno.h>.
46900
ef606249
UD
469012011-09-06 Ulrich Drepper <drepper@gmail.com>
46902
46903 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46904 syscall on x86-64.
46905 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46906 syscall.
46907 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46908 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46909 syscall if possible.
46910
6585cb60
UD
469112011-09-05 Ulrich Drepper <drepper@gmail.com>
46912
46913 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46914 e_ident. Don't pass to find_mapsXX.
46915 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46916
a5f524e4
LD
469172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46918
46919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46920 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46921 * sysdeps/x86_64/multiarch/strchr.S: Update.
46922 Check bit_slow_BSF bit.
46923 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46924 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46925 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46926
554881ef
UD
469272011-09-05 Ulrich Drepper <drepper@gmail.com>
46928
d96de963
UD
46929 [BZ #13134]
46930 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46931 before glibc 2.15.
46932 (tryshell): Define.
46933 (__spawni): Change last parameter to be flag. Test
46934 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46935 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46936 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46937 * posix/spawni.c: Likewise.
46938 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46939 * posix/spawnp.c: Likewise. Change normal version to use
46940 SPAWN_XFLAGS_USE_PATH.
46941 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46942 SPAWN_XFLAGS_TRY_SHELL.
46943
d48e5868
UD
46944 [BZ #13150]
46945 * posix/glob.h: Remove gcc 1.x support.
46946
554881ef
UD
46947 [BZ #13068]
46948 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46949
693fb948
LD
469502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46951
46952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46953 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46954 strrchr-sse2-bsf
46955 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46956 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46957 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46958 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46959 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46960 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46961
1b48c537
UD
469622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46963
49d42c37
UD
46964 * sysdeps/x86_64/wcscmp.S: New file.
46965
1b48c537
UD
46966 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46967 wcscmp-c wcscmp-sse2
46968 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46969 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46970 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46971 * wcsmbs/wcscmp.c: Allow renaming.
46972
15c95c5d
DM
469732011-09-05 David S. Miller <davem@davemloft.net>
46974
46975 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46976 stack slot, rather than the struct return pointer slot.
46977 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46978 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46980 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46981
2f0ad8f3
UD
469822011-09-05 Ulrich Drepper <drepper@gmail.com>
46983
d88ae418
UD
46984 * po/ja.po: Update from translation team.
46985
2f0ad8f3
UD
46986 [BZ #13144]
46987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46988 kernel in 64-bit binaries.
46989
5f4318d1
DM
469902011-09-01 David S. Miller <davem@davemloft.net>
46991
46992 * elf/elf.h (HWCAP_SPARC_*): Move to..
46993 * sysdeps/sparc/sysdep.h: this new file and add new values.
46994 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46995 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46996 _DL_HWCAP_COUNT to 24.
46997 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46998 entries.
46999 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47000 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47001 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47003 instead of magic constants.
47004 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47005
3ba57516
DM
470062011-08-31 David S. Miller <davem@davemloft.net>
47007
47008 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47010 Reimplement to do errno handling inline.
47011 (SYSCALL_ERROR_HANDLER): New macro.
47012 (__SYSCALL_STRING): Do not do errno handling in asm.
47013 (__CLONE_SYSCALL_STRING): Delete.
47014 (__INTERNAL_SYSCALL_STRING): Delete.
47015 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47016 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47017 (PSEUDO): Reimplement to do errno handling inline.
47018 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47019 (SYSCALL_ERROR_HANDLER): New macro.
47020 (__SYSCALL_STRING): Do not do errno handling in asm.
47021 (__CLONE_SYSCALL_STRING): Delete.
47022 (__INTERNAL_SYSCALL_STRING): Delete.
47023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47024 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47025 i386.
47026 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47027 (inline_syscall*): Add 'err' argument.
47028 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47029 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47030 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47031 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47032
47033 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47034 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47035
2bc17433
AS
470362011-08-30 Andreas Schwab <schwab@redhat.com>
47037
47038 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47039
fbeb5f4d
JO
470402011-08-29 Jiri Olsa <jolsa@redhat.com>
47041
47042 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47043 directive.
47044
ad69cc26
DM
470452011-08-24 David S. Miller <davem@davemloft.net>
47046
47047 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47048
39dd69df
AS
470492011-08-24 Andreas Schwab <schwab@redhat.com>
47050
47051 * elf/Makefile: Add rules to build and run unload8 test.
47052 * elf/unload8.c: New file.
47053 * elf/unload8mod1.c: New file.
47054 * elf/unload8mod1x.c: New file.
47055 * elf/unload8mod2.c: New file.
47056 * elf/unload8mod3.c: New file.
47057
47058 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47059 it wasn't used.
47060
2c0b250a
DM
470612011-08-23 David S. Miller <davem@davemloft.net>
47062
47063 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47064 subtract stack bias.
47065 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47066 %sp not %fp in calculations.
47067 (_JMPBUF_UNWINDS_ADJ): Likewise.
47068
22044b48
DM
47069 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47070 (aio_suspend): Call it to force an exception region around the
47071 AIO_MISC_WAIT() invocation.
47072
2cae4995
AS
470732011-08-23 Andreas Schwab <schwab@redhat.com>
47074
47075 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47076 backslash.
47077
873a772e
AJ
470782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47079
47080 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47081 protection macro.
47082 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47083 and <dl-machine.h>.
47084 (Elf64_FuncDesc): Remove.
47085
25ad0df1
DM
470862011-08-22 David S. Miller <davem@davemloft.net>
47087
47088 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47089 sigaltstack check, add missing cfi directives.
47090 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47091 missing cfi directives, and sigaltstack handling.
47092
e888bcbe
AS
470932011-08-16 Andreas Schwab <schwab@redhat.com>
47094
47095 [BZ #11724]
47096 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47097 object is seen twice.
47098 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47099
47100 * elf/Makefile (distribute): Add tst-initorder2.c.
47101 (tests): Add tst-initorder2.
47102 (modules-names): Add tst-initorder2a tst-initorder2b
47103 tst-initorder2c tst-initorder2d. Add rules to build them.
47104 ($(objpfx)tst-initorder2.out): New rule.
47105 * elf/tst-initorder2.c: New file.
47106 * elf/tst-initorder2.exp: New file.
47107
87162f46
AS
471082011-08-22 Andreas Schwab <schwab@redhat.com>
47109
70538b7f
AS
47110 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47111
f55ffe58
AS
47112 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47113 dependencies back to end of function.
47114
87162f46
AS
47115 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47116 $(elfobjdir)/ld.so.
47117
91b392a4
UD
471182011-08-21 Ulrich Drepper <drepper@gmail.com>
47119
47120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47121 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47123 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47124 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47125 of __vdso_gettimeofday.
47126 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47127 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47128 attribute_hidden.
47129 (_libc_vdso_platform_setup): Remove initialization of
47130 __vdso_gettimeofday and __vdso_time.
47131
5c43483f
UD
471322011-08-20 Ulrich Drepper <drepper@gmail.com>
47133
775a77e7
UD
47134 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47135 and fgetc_unlocked.
47136 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47137 getc_unlocked.
89f447ed 47138
49c74ba9
UD
47139 * elf/dl-open.c (add_to_global): Report additions to the global scope
47140 for LD_DEBUG=scopes.
47141 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47142 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47143
5c43483f
UD
47144 [BZ #13114]
47145 * stdio-common/Makefile (tests): Add bug24.
47146 * stdio-common/bug24.c: New file.
47147
a101b025
AJ
471482011-08-19 Andreas Jaeger <aj@suse.de>
47149
47150 [BZ #13114]
47151 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47152 non-existant file when using close-on-exec mode.
47153
c88f1766
UD
471542011-08-20 Ulrich Drepper <drepper@gmail.com>
47155
0276a718
UD
47156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47157 the very first instruction.
47158
c88f1766
UD
47159 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47160 the CFI state in the end.
47161 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47162 inclusion of dl-trampoline.h.
47163 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47164
51ccffa0
AS
471652011-08-19 Andreas Schwab <schwab@redhat.com>
47166
94d7165f
AS
47167 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47168 expectations for long double.
47169
51ccffa0
AS
47170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47171 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47172
fd708658 471732011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47174
47175 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47176 artificual limit depends upon the system page size.
47177
44f0a71e
UD
471782011-08-17 Ulrich Drepper <drepper@gmail.com>
47179
47180 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47181 * resolv/Makefile: Define CFLAGS-libresolv.
47182
8de79a24
AS
471832011-08-17 Andreas Schwab <schwab@redhat.com>
47184
47185 * nss/makedb.c (compute_tables): Make variables used in nested
47186 function static.
47187
27724598
UD
471882011-08-17 Ulrich Drepper <drepper@gmail.com>
47189
c5305d88
UD
47190 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47191 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47192 if buffer was too small.
47193
27724598
UD
47194 * elf/pldd.c (main): Attach to all threads in the process.
47195 Rewrite /proc handling to use *at functions.
47196
076fe015
UD
471972011-08-16 Ulrich Drepper <drepper@gmail.com>
47198
174baab3
UD
47199 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47200 specifies first scope to show.
47201 (dl_open_worker): Update callers. Move printing scope of new
47202 object to before the relocation.
44f0a71e 47203 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47204 * sysdeps/generic/ldsodefs.h: Update declaration.
47205
076fe015
UD
47206 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47207 string for the scope number.
47208
a60df2c3
UD
472092011-08-14 Ulrich Drepper <drepper@gmail.com>
47210
47211 * nscd/servicescache.c (cache_addserv): Make sure written is always
47212 initialized.
47213
5e4287d1
RM
472142011-08-14 Roland McGrath <roland@hack.frob.com>
47215
85ae0589
RM
47216 * sysdeps/i386/i486/bits/atomic.h
47217 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47218 statement expression, so as to suppress "set but not used" warning.
47219 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47220
69f63097
RM
47221 * string/strncat.c (STRNCAT): Use prototype definition.
47222
675456ef
RM
47223 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47224 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47225 -Iprograms here.
47226 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47227 (localedef-modules): Add localedef.
47228 (locale-modules): Add locale.
47229
5e4287d1
RM
47230 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47231 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47232 to avoid a warning.
47233
9c96ff23
DM
472342011-08-14 David S. Miller <davem@davemloft.net>
47235
47236 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47237 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47238
f9ddf089
UD
472392011-08-13 Ulrich Drepper <drepper@gmail.com>
47240
44f0a71e 47241 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47242 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47243 * elf/rtld.c (dl_main): Set l_name of vDSO.
47244 Call _dl_show_scope when DL_DEBUG_SCOPES.
47245 (process_dl_debug): Recognize scopes flag and also set it for all.
47246 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47247 Declare _dl_show_scope.
47248
1dc27704
UD
47249 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47250 (do_dlopen): Pass caller_dlopen to dl_open.
47251 (__libc_dlopen_mode): Initialize caller_dlopen.
47252
f9ddf089
UD
47253 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47254 of libc. Make tolower call locale-independent. Optimize a bit by
47255 using isdigit instead of isalnum.
47256 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47257
9ac533d3
UD
472582011-08-12 Ulrich Drepper <drepper@gmail.com>
47259
47260 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47261 was a dependency or dynamically loaded.
47262
89edf2e9
UD
472632011-08-11 Ulrich Drepper <drepper@gmail.com>
47264
8e999d29
UD
47265 * intl/l10nflist.c: Allow architecture-specific pop function.
47266 * sysdeps/x86_64/l10nflist.c: New file.
47267
89edf2e9
UD
47268 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47269 classification.
47270
14d96785
AS
472712011-08-10 Andreas Schwab <schwab@redhat.com>
47272
47273 * include/dirent.h: Add libc_hidden_proto for scandirat and
47274 scandirat64. Don't declare __scandirat64.
47275 * dirent/scandirat.c: Add libc_hidden_def.
47276 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47277 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47278
6761ac04
DM
472792011-08-10 David S. Miller <davem@davemloft.net>
47280
47281 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47282 enum.
47283 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47284 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47285 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47286
c55fbd1e
UD
472872011-08-09 Ulrich Drepper <drepper@gmail.com>
47288
47289 * Versions.def [libc]: Add GLIBC_2.15.
47290 * dirent/Makefile (routines): Add scandirat and scandirat64.
47291 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47292 GLIBC_2.15.
47293 * dirent/dirent.h: Declare scandirat and scandirat64.
47294 * dirent/scandirat.c: New file.
47295 * dirent/scandirat64.c: New file.
47296 * sysdeps/wordsize-64/scandirat.c: New file.
47297 * sysdeps/wordsize-64/scandirat64.c: New file.
47298 * dirent/opendir.c: Define opendirat.
47299 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47300 using scandirat.
47301 * dirent/scandir64.c: Adjust for scandir.c change.
47302 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47303 __scandirat64, and __scandir_cancel_handler.
47304 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47305 additional parameter and use openat instead of open (outside of ld.so).
47306 Add new __opendir as wrapper around __opendirat.
47307 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47308 here without requiring old scandirat implementation.
47309
879165f2
UD
473102011-08-08 Ulrich Drepper <drepper@gmail.com>
47311
47312 * dirent/scandir.c (cancel_handler): Renamed to
47313 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47314 defined. Adjust users.
47315 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47316 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47317
cb7e923b
UD
473182011-08-04 Ulrich Drepper <drepper@gmail.com>
47319
16292edd
UD
47320 * string/test-string.h (IMPL): Use __STRING to expand name and then
47321 stringify it.
47322
cb7e923b
UD
47323 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47324 of cleanups.
47325
cff82933
LD
473262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47327
47328 * string/Makefile: Update.
47329 (strop-tests): Append strncat.
47330 * string/test-wcscmp.c: New file.
47331 New comprehensive test for wcscmp.
47332 * string/test-strcmp.c: Update.
47333 (WIDE): New define.
47334
9be9bfcc
AS
473352011-07-22 Andreas Schwab <schwab@redhat.com>
47336
47337 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47338 line.
47339
2e96f1c7
AS
473402011-07-26 Andreas Schwab <schwab@redhat.com>
47341
47342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47343 encoding to ACE if AI_IDN.
47344
85188888
JJ
473452011-08-01 Jakub Jelinek <jakub@redhat.com>
47346
47347 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47348 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47349
5fa16e9b
LD
473502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47351
47352 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47353 Fix overflow bug in strncat.
47354 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47355
47356 * string/test-strncat.c: Update.
47357 Add new tests for checking overflow bugs.
47358
473592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47360
47361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47362 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47363 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47364 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47365 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47366 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47367 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47368 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47369 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47370
47371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47372 (USE_AS_STRCAT): Define.
47373 Add strcat and strncat support.
47374 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47375
8c1a459f
AS
473762011-07-25 Andreas Schwab <schwab@redhat.com>
47377
47378 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47379 __n bigger than INT_MAX+1.
47380 (__strncmp_g): Likewise.
47381
bba33c28
UD
473822011-07-23 Ulrich Drepper <drepper@gmail.com>
47383
798be72d
UD
47384 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47385 * libio/stido.h: Likewise.
47386
8accd4dc
UD
47387 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47388 (AF_NFC): Define.
47389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47390 (AF_NFC): Define.
47391
cbff0d96
UD
47392 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47394 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47395 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47397
9191c04a
UD
47398 [BZ #13021]
47399 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47400 installed.
47401
bba33c28
UD
47402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47403 typo.
47404 (_dl_x86_64_save_sse): Likewise.
47405
90f139dd
UD
474062011-07-22 Ulrich Drepper <drepper@gmail.com>
47407
1aae088a
UD
47408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47409 OSXSAVE.
47410 (_dl_x86_64_save_sse): Likewise.
47411
8e2045f5
UD
47412 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47413
90f139dd
UD
47414 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47415
1d002f25
AS
474162011-07-21 Andreas Schwab <schwab@redhat.com>
47417
47418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47419 change.
47420 (_dl_x86_64_save_sse): Use correct AVX check.
47421
21137f89
UD
474222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47423
47424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47425 bug in strncpy/strncat.
47426 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47427
a65c0b7a
UD
474282011-07-21 Ulrich Drepper <drepper@gmail.com>
47429
47430 * string/tester.c (test_strcat): Add tests for different alignments
47431 of source and destination.
47432 (test_strncat): Likewise.
47433
6986b98a
UD
474342011-07-20 Ulrich Drepper <drepper@gmail.com>
47435
90bb2039
UD
47436 [BZ #12852]
47437 * posix/glob.c (glob): Check passed in values before using them in
47438 expressions to avoid some overflows.
47439 (glob_in_dir): Likewise.
47440
5644ef54
UD
47441 [BZ #13007]
47442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47443 check for AVX enablement so that we don't crash with old kernels and
47444 new hardware.
47445 * elf/tst-audit4.c: Add same checks here.
47446 * elf/tst-audit6.c: Likewise.
47447
47448 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 47449
bfc9dc9b
AS
474502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47451
47452 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47453
702e64bb
UD
474542011-07-20 Ulrich Drepper <drepper@gmail.com>
47455
47456 * po/cs.po: Update from translation team.
47457 * po/bg.po: Likewise.
47458
295e904f
MP
474592011-07-12 Marek Polacek <mpolacek@redhat.com>
47460
47461 * misc/sys/cdefs.h: Add support for const attribute.
47462 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47463 to gnu_dev_{major,minor,makedev} functions.
47464
3ff94596
MP
474652011-07-20 Marek Polacek <mpolacek@redhat.com>
47466
47467 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47468
28b59fca
AS
474692011-07-20 Andreas Schwab <schwab@redhat.com>
47470
47471 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47472 strlen results.
47473
19df733e
AK
474742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47475
47476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47477 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47478 register in order to avoid conflicts with the soft frame pointer
47479 being held in r11 when necessary.
47480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47481 (INTERNAL_VSYSCALL_NCS): Likewise.
47482
c8835729
MP
474832011-07-14 Marek Polacek <mpolacek@redhat.com>
47484
47485 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47486 * elf/dl-fini.c (_dl_fini): Adjust caller.
47487 * elf/dl-close.c (_dl_close_worker): Likewise.
47488 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47489
b902330c
MP
474902011-07-15 Marek Polacek <mpolacek@redhat.com>
47491
8991e135
MP
47492 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47493 "aux_cache->nlibs < 0".
47494
b902330c
MP
47495 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47496 in the reload-count case.
47497
99710781
LD
474982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47499
47500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47501 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47502 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47503 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47504 * sysdeps/x86_64/multiarch/strcat.S: New file.
47505 * sysdeps/x86_64/multiarch/strncat.S: New file.
47506 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47507 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47508 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47509 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47510 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47511 (USE_AS_STRCAT): Define.
47512 Add strcat and strncat support.
47513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47514 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47515 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47516 * string/strncat.c: Update.
47517 (USE_AS_STRNCAT): Define.
47518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47519 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47520 and i7.
47521 * sysdeps/x86_64/multiarch/init-arch.h
47522 (bit_Prefer_PMINUB_for_stringop): New.
47523 (index_Prefer_PMINUB_for_stringop): Likewise.
47524 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47525 bit_Prefer_PMINUB_for_stringop.
47526
7dc6bd90
UD
475272011-07-19 Ulrich Drepper <drepper@gmail.com>
47528
47529 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47530 buffer64.
47531 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47532 of casting of buffer.
47533 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47534 buffer32 and buffer64.
47535 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47536 writes instead of casting of buffer.
47537 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47538 buffer32.
47539 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47540 casting of buffer.
47541
e0e72284
AS
475422011-07-19 Andreas Schwab <schwab@redhat.com>
47543
47544 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47545
feb1eb0b
UD
475462011-07-19 Ulrich Drepper <drepper@gmail.com>
47547
47548 * nscd/nscd.c (termination_handler): Don't do anything for a database
47549 if it has not yet been initialized.
47550
298711ff
UD
475512011-07-18 Ulrich Drepper <drepper@gmail.com>
47552
47553 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47554
475552011-07-15 Marek Polacek <mpolacek@redhat.com>
47556
47557 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47558
f9d68389
UD
475592011-07-18 Ulrich Drepper <drepper@gmail.com>
47560
47561 * po/nl.po: Update from translation team.
47562 * po/sv.po: Likewise.
47563
db290cf5
RM
475642011-07-16 Roland McGrath <roland@hack.frob.com>
47565
47566 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47567 now disallowed by GCC.
5c550700 47568
fd5e21c7
RM
47569 * configure.in (use-default-link): Default to yes if a test -shared
47570 link meets our qualifications.
47571 * configure: Regenerated.
47572
5c550700
RM
47573 * config.make.in (output-format): New variable.
47574 * configure.in: Check for ld --print-output-format support.
47575 * configure: Regenerated.
47576 * Makerules ($(common-objpfx)format.lds)
47577 [$(output-format) != unknown]: Just use $(output-format),
47578 instead of the linker-script munging.
47579
9fa2c032
RM
475802011-07-14 Roland McGrath <roland@hack.frob.com>
47581
a6928d51
RM
47582 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47583 of $(common-objpfx)shlib.lds.
47584 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47585
661607b3
RM
47586 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47587 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47588
9fa2c032
RM
47589 * configure.in (-z relro check): Adjust test code to add a large
47590 writable data section after it.
47591 * configure: Regenerated.
47592
defe9061
RM
475932011-07-11 Roland McGrath <roland@hack.frob.com>
47594
47595 * configure.in (-z relro check): Fix test code to make the variable
47596 truly const.
47597 * configure: Regenerated.
47598
319b9ad4
UD
475992011-07-11 Ulrich Drepper <drepper@gmail.com>
47600
47601 * nscd/nscd.h (struct traced_file): Define.
47602 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47603 elements. Add traced_files.
47604 (inotify_fd): Declare.
47605 (register_traced_file): Declare.
47606 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47607 (inotify_fd): Export.
47608 (resolv_conf_descr): Remove.
47609 (nscd_init): Move inotify descriptor creation to main.
47610 Don't register files for notification here.
47611 (register_traced_file): New function.
47612 (invalidate_cache): Don't use reset_res to determine whether to call
47613 res_init, go through the list of registered files.
47614 (main_loop_poll): The inotify descriptors are now stored in the
47615 structures for the traced files.
47616 (main_loop_epoll): Likewise
47617 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47618 to __nss_disable_nscd.
47619 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47620 for a database anymore. Check the records for all the registered
47621 files instead.
47622 * nss/Makefile (libnss_files-routines): Add files-init.
47623 (libnss_db-routines): Add db-init.
47624 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47625 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47626 * nss/nss_db/db-init.c: New file.
47627 * nss/nss_files/files-init.c: New file.
47628 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47629 __nss_lookup_function.
47630 (__nss_lookup_function): Call nss_load_library.
47631 (nss_load_all_libraries): New function.
47632 (__nss_disable_nscd): Take parameter with callback function for files
47633 to register. Set is_nscd. Load all the DSOs for the NSS modules
47634 used for the cached services.
47635 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47636 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47637 options for features to all the files in nscd.
47638
47639 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47640
23bee3e8
RM
476412011-07-10 Roland McGrath <roland@hack.frob.com>
47642
47643 * csu/elf-init.c (__libc_csu_init): Comment typo.
47644
46a5b7f0
UD
476452011-07-09 Ulrich Drepper <drepper@gmail.com>
47646
47647 * po/pl.po: Update from translation team.
47648 * po/ja.po: Likewise.
47649 * po/ru.po: Likewise.
47650 * po/ko.po: Likewise.
47651 * po/fr.po: Likewise.
47652
d30cf5bb
RM
476532011-07-09 Roland McGrath <roland@hack.frob.com>
47654
113ddea4
RM
47655 * configure.in (.ctors/.dtors header and trailer check):
47656 Use an empirical test on a built program.
47657 * configure: Regenerated.
47658
574920b4
RM
47659 * configure.in (-z relro check): Use an empirical test on a built DSO.
47660 Detect, but do not require, on ia64.
47661 * configure: Regenerated.
47662
d30cf5bb
RM
47663 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47664 Update tests that use readelf to use $READELF instead.
47665 * configure: Regenerated.
47666
8538fdb3
UD
476672011-07-08 Ulrich Drepper <drepper@gmail.com>
47668
47669 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47670 if the result is not used.
47671
04d08991
AJ
476722011-07-05 Andreas Jaeger <aj@suse.de>
47673
47674 [BZ#9696]
47675 * stdlib/tst-strtod.c: Add testcase.
47676
de283087
AD
476772011-07-07 Ulrich Drepper <drepper@gmail.com>
47678
4e5f31c8 47679 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47680 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47681 The latter has a higher limit. Take additional parameter to pass to
47682 the new function.
47683 (__pathconf): Pass file to __statfs_link_max.
47684 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47685 __statfs_link_max.
47686 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47687 __statfs_link_max.
47688
de283087
AD
47689 [BZ #12868]
47690 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47691 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47692 Handle Lustre.
47693 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47694 (__statfs_filesize_max): Likewise.
47695 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47696
c75fa153
AJ
476972011-07-05 Andreas Jaeger <aj@suse.de>
47698
47699 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47700
1a544854
UD
477012011-07-06 Marek Polacek <mpolacek@redhat.com>
47702
47703 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47704 `status' variable.
47705 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47706 Likewise.
47707
6f0eec67
UD
477082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47709
47710 * Makefile (strop-tests): Add strncat.
47711 * string/test-strncat.c: New file.
47712
aae30307
UD
477132011-06-30 Marek Polacek <mpolacek@redhat.com>
47714
47715 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47716
c0cfb5eb
UD
477172011-06-21 Andreas Jaeger <aj@suse.de>
47718
47719 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47720 Copy rule from iconvdata/Makefile.
47721
01636b21
UD
477222011-07-06 Ulrich Drepper <drepper@gmail.com>
47723
47724 [BZ #12922]
47725 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47726 but no long options are defined, just return 'W'.
47727
9895c8bc
UD
477282011-06-22 Marek Polacek <mpolacek@redhat.com>
47729
47730 [BZ #9696]
47731 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47732
5d4cf042
UD
477332011-07-06 Ulrich Drepper <drepper@gmail.com>
47734
47735 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47736 netgroups to read.
960e5535 47737 (innetgr): Likewise.
5d4cf042 47738
751eb97e
RM
477392011-07-05 Roland McGrath <roland@hack.frob.com>
47740
47741 * config.make.in (install_root): Default to $(DESTDIR).
47742
f15f1e45
UD
477432011-07-05 Ulrich Drepper <drepper@gmail.com>
47744
47745 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47746
4e34ac6a
RM
477472011-07-02 Roland McGrath <roland@hack.frob.com>
47748
5e9b6af4
RM
47749 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47750
84f9ea0f
RM
47751 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47752 containing directory rather than embedding absolute directory names.
47753
ea5ee9f7
RM
47754 * scripts/check-local-headers.sh: Rewritten using awk.
47755 Match by word, not by line. Print error messages for matches.
47756 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47757
1b74661a
RM
47758 * Makerules [shlib-lds-flags empty]:
47759 ($(common-objpfx)libc_pic.opts): New target.
47760 ($(common-objpfx)libc_pic.os.clean): New target.
47761 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47762
47763 * config.make.in (OBJCOPY): New variable.
47764 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47765 * configure: Regenerated.
47766
f781ef40
RM
47767 * config.make.in (use-default-link): New variable.
47768 * configure.in (use_default_link): Grok --with-default-link to set it.
47769 * configure: Regenerated.
47770 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47771 (shlib-lds, shlib-lds-flags): Define to empty.
47772
2d4fa81e
RM
47773 * Makerules (shlib-lds): New variable.
47774 (shlib-lds-flags): New variable.
47775 (build-shlib, build-moduile, build-module-asneeded): Use it.
47776 ($(common-objpfx)libc.so): Use $(shlib-lds).
47777 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47778 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47779
31fffa6b
RM
47780 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47781 DT_FLAGS/DT_FLAGS_1 with zero flags.
47782
4e34ac6a
RM
47783 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47784 linker script munging.
47785
fcfc776b
UD
477862011-07-02 Ulrich Drepper <drepper@gmail.com>
47787
47788 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47789 as 128-bit value.
47790 * crypt/sha512.c (sha512_process_block): Perform total addition using
47791 128-bit if possible.
47792 (__sha512_finish_ctx): Likewise.
47793 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47794 as 64-bit value.
47795 * crypt/sha256.c (SWAP64): Define.
47796 (sha256_process_block): Perform total addition using 64-bit if
47797 possible.
47798 (__sha256_finish_ctx): Likewise.
47799
99231d9a
UD
478002011-07-01 Ulrich Drepper <drepper@gmail.com>
47801
47802 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47803 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47804 * nscd/hstcache.c (cache_addhst): Likewise.
47805 * nscd/grpcache.c (cache_addgr): Likewise.
47806 * nscd/aicache.c (addhstaiX): Likewise
47807 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47808
445b4a53
TK
478092011-07-01 Thorsten Kukuk <kukuk@suse.de>
47810
47811 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47812 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47813 * nscd/hstcache.c (cache_addhst): Likewise.
47814 * nscd/grpcache.c (cache_addgr): Likewise.
47815 * nscd/aicache.c (addhstaiX): Likewise
47816
6d4d8e8e
AS
478172011-07-01 Andreas Schwab <schwab@redhat.com>
47818
47819 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47820 domain only when needed.
47821
89f654c5
AS
478222011-06-30 Andreas Schwab <schwab@redhat.com>
47823
47824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47825 is always restored.
47826
cf3b23ff
UD
478272011-06-29 Ulrich Drepper <drepper@gmail.com>
47828
47829 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47830 are re-adding the entry.
47831 * nscd/servicescache.c (cache_addserv): Likewise.
47832
751626f9
AJ
478332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47834
47835 * sysdeps/generic/dl-irel.h: fix protection against multiple
47836 inclusions.
47837 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47838
9113ea1f
UD
478392011-06-28 Ulrich Drepper <drepper@gmail.com>
47840
5c0b8d90
UD
47841 [BZ #12935]
47842 * malloc/memusage.sh: Fix quoting in message.
47843 * debug/xtrace.sh: Likewise.
47844
9113ea1f
UD
47845 * configure.in: Remove support for --experimental-malloc option, make
47846 it the default.
47847 * config.make.in: Likewise.
47848 * malloc/Makefile: Likewise.
47849
a4172181
AS
478502011-06-27 Andreas Schwab <schwab@redhat.com>
47851
47852 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47853 two-byte characters.
47854
78a7eee7
RM
478552011-06-27 Roland McGrath <roland@hack.frob.com>
47856
62bede13
RM
47857 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47858 AC_CACHE_CHECK invocation.
47859 * configure: Regenerated.
47860
78a7eee7
RM
47861 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47862
5ce33a62
UD
478632011-06-27 Ulrich Drepper <drepper@gmail.com>
47864
034807a9
UD
47865 [BZ #12350]
47866 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47867 bit from old_res_options.
47868
4902da17
UD
47869 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47870
5ce33a62
UD
47871 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47872 value type for setfct.
47873
c2344f56
L
478742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47875
47876 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47877 __gettimeofday instead of gettimeofday.
47878
68468076
UD
478792011-06-26 Ulrich Drepper <drepper@gmail.com>
47880
47881 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47882
acb0d739
L
478832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47884
47885 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47886
47887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47888 info.
47889
8912479f
L
478902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47891
47892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47893 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47894 strcpy-sse2-unaligned strncpy-sse2-unaligned
47895 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47896 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47897 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47898 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47899 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47900 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47901 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47902 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47903 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47904 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47905 (STRCPY): Support SSE2 and SSSE3 versions.
47906
d5495a11
UD
479072011-06-24 Ulrich Drepper <drepper@gmail.com>
47908
47909 [BZ #12874]
47910 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47911 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47912 kernels which artificially limit size of requests.
47913
0b1cbaae
L
479142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47915
47916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47917 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47918 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47919 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47920 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47921 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47922 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47923 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47924 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47926 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47927 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47928 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47929 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47930 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47932 Enable unaligned load optimization for Intel Core i3, i5 and i7
47933 processors.
47934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47935 Define.
47936 (index_Fast_Unaligned_Load): Define.
47937 (HAS_FAST_UNALIGNED_LOAD): Define.
47938
07f494a0
MP
479392011-06-23 Marek Polacek <mpolacek@redhat.com>
47940
47941 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47942
fa3fc0fe
UD
479432011-06-22 Ulrich Drepper <drepper@gmail.com>
47944
47945 [BZ #12907]
47946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47947 until it is clear that the information is realy needed.
47948 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47949
e12df166
AS
479502011-06-22 Andreas Schwab <schwab@redhat.com>
47951
47952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47953
852eb34d
UD
479542011-06-22 Ulrich Drepper <drepper@gmail.com>
47955
84e2a551
UD
47956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47957 /sys/devices/system/cpu/online if it is usable.
47958
852eb34d
UD
47959 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47960 reading the information from the /proc filesystem to once a second.
47961
6e502e19
UD
479622011-06-21 Andreas Jaeger <aj@suse.de>
47963
47964 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47965 NULL after inclusion of kernel headers.
47966
75d39ff2
UD
479672011-06-21 Ulrich Drepper <drepper@gmail.com>
47968
51f9aa6a
UD
47969 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47970 calls to internal_setent.
47971
c0244a9d
UD
47972 [BZ #12885]
47973 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47974 addresses using gethostbyname4_r ignore IPv4 addresses.
47975
c5e3c2ae
UD
47976 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47977 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47978
75d39ff2
UD
47979 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47980
42675c6f
DM
479812011-06-20 David S. Miller <davem@davemloft.net>
47982
47983 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47984 inclusions.
47985 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47986
47987 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47988 (elf_irel): Use it.
47989 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47990 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47991 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47992 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47993 * sysdeps/x86_64/dl-irel.h: Likewise.
47994
47995 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47996 * elf/dl-sym.c: Likewise.
47997
57912a71
UD
479982011-06-15 Ulrich Drepper <drepper@gmail.com>
47999
48000 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48001 need to dereference resplen2.
48002
ee22793d
AS
480032011-06-14 Andreas Schwab <schwab@redhat.com>
48004
48005 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48006
a9e836b0
UD
480072011-06-15 Ulrich Drepper <drepper@gmail.com>
48008
77fb9117
UD
48009 * Makeconfig: Define vardbdir and inst_vardbdir.
48010 * nss/Makefile: Add rules to install db-Makefile.
48011
40c1b22c
UD
48012 * nss/nss_db/db-XXX.c: Cleanup.
48013
9f2da732
UD
48014 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48015 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48016 GLIBC_PRIVATE.
48017 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48018 * nss/makedb.c: Implement -g option to specify that value strings
48019 are generated and should not be added to table iterated over for
48020 get*ent calls.
48021 * nss/nss_db/db-initgroups.c: New file.
48022
82e9a1f7
UD
48023 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48024 interface.
48025
c41af17e
UD
48026 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48027 (internal_getgrouplist): Adjust to name change.
48028 Update use_initgroups_entry if this is not the first call.
48029 * nss/databases.def: Add initgroups entry.
48030
a9e836b0
UD
48031 * nss/makedb.c (compute_tables): Check result of multiple hash table
48032 sizes to minimize maximum chain length.
48033
2666d441
UD
480342011-06-14 Ulrich Drepper <drepper@gmail.com>
48035
48036 * Versions.def: Add entry for libnss_db.
48037 * shlib-versions: Likewise.
48038 * nss/Makefile: Add rules to build libnss_db.
48039 * nss/Versions: Add libnss_db information. Organize libnss_files
48040 entries better.
48041 * nss/db-Makefile: Add gshadow support. Change rules for the new
48042 makedb progra. Some minor improvements to generate smaller files.
48043 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48044 here from...
48045 * nss/makedb.c: ...here.
48046 Improve database format to be smaller and require less memory at
48047 runtime.
48048 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48049 db anymore.
48050 * nss/nss_db/db-netgrp.c: Likewise.
48051 * nss/nss_db/db-open.c: Likewise.
48052 * nss/nss_files/flies-XXX.x: Adjust comments.
48053 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48054 * nss/nss_files/files-grp.c: Likewise.
48055 * nss/nss_files/files-hosts.c: Likewise.
48056 * nss/nss_files/files-network.c: Likewise.
48057 * nss/nss_files/files-proto.c: Likewise.
48058 * nss/nss_files/files-pwd.c: Likewise.
48059 * nss/nss_files/files-rpc.c: Likewise.
48060 * nss/nss_files/files-service.c: Likewise.
48061 * nss/nss_files/files-sgrp.c: Likewise.
48062 * nss/nss_files/files-spwd.c: Likewise.
48063 * nss/nss_db/db-alias.c: Removed.
48064 * nss/nss_db/dummy-db.h: Removed.
48065
9ee76b5a
UD
480662011-06-02 Ulrich Drepper <drepper@gmail.com>
48067
48068 * nss/makedb.c: Rewritten to not use database library.
48069 * nss/Makefile: Update to build new makedb program.
48070
c71ca1f8
AJ
480712011-06-14 Andreas Jaeger <aj@suse.de>
48072
48073 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48074 memset declaration.
48075
3154bfb8
UD
480762011-06-10 Andreas Schwab <schwab@redhat.com>
48077
48078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48079 tmpbuf.
48080
b350afab
RM
480812011-06-10 Roland McGrath <roland@hack.frob.com>
48082
decd4e50
RM
48083 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48084 * elf/Makefile ($(objpfx)ld.so): Likewise.
48085
5615eaf2
RM
48086 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48087 Don't list ld.so twice in dependencies.
48088
48089 * posix/bug-regex31.c: Include <stdlib.h>.
48090
48091 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48092
48093 * nis/nss_compat/compat-spwd.c
48094 (getspent_next_nss_netgr): Remove unused variable.
48095 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48096
48097 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48098 nonmembers" output to use the right array.
48099
48100 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48101
48102 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48103
48104 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48105 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48106 * catgets/gencat.c (read_input_file): Likewise.
48107 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48108
48109 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48110 variable definition inside #if's controlling its use.
48111
48112 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48113
48114 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48115
48116 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48117
48118 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48119 unreachable code.
48120
48121 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48122
b68e08db
RM
48123 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48124 * configure: Regenerated.
48125
b350afab
RM
48126 * Makerules: Revert last change.
48127 * elf/Makefile: Likewise.
48128
28368601
RM
481292011-06-09 Roland McGrath <roland@hack.frob.com>
48130
48131 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48132 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48133 (reloc-link): Likewise.
48134
11988f8f
UD
481352011-06-09 Ulrich Drepper <drepper@gmail.com>
48136
48137 * elf/Makefile: Add rules to build pldd.
48138 * elf/pldd.c: New file.
48139 * elf/pldd-xx.c: New file.
48140
e80fab37
UD
481412011-06-07 Ulrich Drepper <drepper@gmail.com>
48142
48143 * version.h: Update for 2.15 development version.
48144
9b849836
DM
481452011-06-07 David S. Miller <davem@davemloft.net>
48146
48147 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48148 ifuncs.
48149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48150 elf_machine_lazy_rel): Likewise.
48151 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48153 elf_machine_lazy_rel): Likewise.
48154 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48155 dl_hwcap via passed in argument.
48156 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48157 Likewise.
48158
5a31b283
AK
481592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48160
48161 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48162
069e52f8
RM
481632011-06-06 Roland McGrath <roland@hack.frob.com>
48164
48165 [BZ #12849]
48166 * manual/fdl-1.1.texi: New file, verbatim from:
48167 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48168 * manual/lgpl-2.1.texi: New file, verbatim from:
48169 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48170 * manual/Makefile (licenses): New variable, list those new file names.
48171 (texis): Use it.
48172 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48173
48174 * manual/fdl.texi: File removed.
48175 * manual/lesser.texi: File removed.
48176 * manual/libc.texinfo (Copying, Documentation License):
48177 Use new @include file names, put @appendix directive before @include.
48178
f16846a5
JJ
481792011-06-04 Jakub Jelinek <jakub@redhat.com>
48180
48181 [BZ #12841]
48182 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48183 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48184 (mq_open): Add __NTH.
48185
3d29045b
L
481862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48187
48188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48189 Assume Intel Core i3/i5/i7 processor if AVX is available.
48190
8c297311
UD
481912011-05-31 Ulrich Drepper <drepper@gmail.com>
48192
48193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48194 typo.
48195
c8fc0c91
UD
481962011-05-31 Andreas Schwab <schwab@redhat.com>
48197
48198 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48199 memory. Use alloca_account. Fix memory leak when retrying.
48200
5b27a807
UD
482012011-05-31 Ulrich Drepper <drepper@gmail.com>
48202
356f8bc6
UD
48203 * version.h (RELEASE): Bump for 2.14 release.
48204 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48205
5b27a807
UD
48206 * config.make.in (RANLIB): Remove entry.
48207
01f16ab0
UD
482082011-05-30 Ulrich Drepper <drepper@gmail.com>
48209
41fce8bd
UD
48210 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48211 (libc.pot): Work around missing support for .ksh extension in xgettext.
48212
4769ae77
UD
48213 [BZ #12684]
48214 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48215 if both request failed.
48216 (send_dg): In case of server errors clear resplen or *resplen2.
48217
6b1e7d19
UD
48218 [BZ #12454]
48219 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48220 when there are multiple maps.
48221 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48222 (_dl_fini): Remove test here.
48223
01f16ab0
UD
48224 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48225
b1ebd700
UD
482262011-05-29 Ulrich Drepper <drepper@gmail.com>
48227
7ae22829
UD
48228 [BZ #12350]
48229 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48230 bit from old_res_options.
48231 (gaih_inet): Likewise.
48232
553149f6 48233 [BZ #11099]
18a84741 48234 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48235 as signed.
48236
652ffab1
UD
48237 * resolv/res_init.c (res_setoptions): Make the code more compact.
48238
16985fd0
UD
48239 [BZ #11558]
48240 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48241 set RES_USEVC.
48242
0464f746
UD
48243 [BZ #11634]
48244 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48245
7d17596c
UD
48246 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48247
cf6bbbd7
UD
48248 [BZ #11781]
48249 * malloc/malloc.h: Declare malloc hook variables as volatile.
48250
13f1ab36
UD
48251 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48252 in last patch.
48253
b1ebd700
UD
48254 [BZ #11799]
48255 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48256 raise in the comment.
80e2212d
UD
48257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48259 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48260
ce67228d
UD
482612011-05-28 Ulrich Drepper <drepper@gmail.com>
48262
8887a920
UD
48263 [BZ #12811]
48264 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48265 grow the buffers more if it already has to be sufficient.
48266 (build_wcs_upper_buffer): Likewise.
48267 * posix/regexec.c (check_matching): Likewise.
48268 (clean_state_log_if_needed): Likewise.
48269 (extend_buffers): Don't enlarge buffers beyond size of the input
48270 buffer.
48271 Patches mostly by Emil Wojak <emil@wojak.eu>.
48272 * posix/bug-regex32.c: New file.
48273 * posix/Makefile (tests): Add bug-regex32.
48274
4f031072
UD
48275 * locale/findlocale.c (_nl_find_locale): Return right away if
48276 _nl_explode_name failed.
48277 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48278
d0478f0c
UD
48279 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48280
de81b246
UD
48281 * debug/xtrace.sh: Unify messages.
48282 * malloc/memusage.sh: Likewise.
48283
c738465a
UD
48284 [BZ #12813]
48285 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48286 time symbol from vDSO. Substitute with vsyscall if not available.
48287 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48288 __vdso_time.
48289
f1f929d7
UD
48290 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48291 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48292 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48293 Add sendmmsg and internal_sendmmsg.
48294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48295 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48296 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48297
ce67228d
UD
48298 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48299 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48300 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48301
e57420c6
UD
483022011-05-27 Ulrich Drepper <drepper@gmail.com>
48303
a8509ca5
UD
48304 [BZ #12813]
48305 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48306 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48307 available.
48308 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48309 __vdso_getcpu.
48310
e57420c6
UD
48311 [BZ #12814]
48312 * iconvdata/Makefile (tests): Add bug-iconv9.
48313 * iconvdata/bug-iconv9.c: New file.
48314
4d07db15
AS
483152011-05-27 Andreas Schwab <schwab@redhat.com>
48316
48317 [BZ #12814]
48318 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48319
ea486f69
JJ
483202011-05-25 Jakub Jelinek <jakub@redhat.com>
48321
48322 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48323 (struct user_regs_struct): Change intcs field back to cs.
48324
6f038433
UD
483252011-05-25 Ulrich Drepper <drepper@gmail.com>
48326
48327 * po/ja.po: Update from translation team.
48328
67f86a25
UD
483292011-05-23 Ulrich Drepper <drepper@gmail.com>
48330
48331 [BZ #12795]
48332 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48333 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48334
def7fbd6
AS
483352011-05-20 Andreas Schwab <schwab@redhat.com>
48336
48337 * stdlib/longlong.h: Update from GCC.
48338
f50ef8f1
AS
483392011-05-23 Andreas Schwab <schwab@redhat.com>
48340
48341 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48342 parameter name.
48343 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48344 Add parameter name.
48345 (__sysconf): Pass it down.
48346
de7ce8f1
UD
483472011-05-22 Ulrich Drepper <drepper@gmail.com>
48348
f2962a71
UD
48349 [BZ #12671]
48350 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48351 some situations.
48352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48353 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48354 add in in __libc_use_alloca calls. Adjust callers.
48355 (glob): Use malloc in some situations.
48356
de7ce8f1
UD
48357 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48358 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48359 pltexit.
48360
aec84f53
UD
483612011-05-21 Ulrich Drepper <drepper@gmail.com>
48362
05bb4a68
UD
48363 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48364 and CLOCK_BOOTTIME_ALARM.
48365
7ea72f99
UD
48366 [BZ #12782]
48367 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48368 is returned.
48369
7e4afad5
UD
48370 * string/_strerror.c (__strerror_r): Print negative errors as signed
48371 numbers.
48372
8e211fec
UD
48373 [BZ #12777]
48374 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48375 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48376 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48377
f7d82dc9
UD
48378 * configure.in: Fix typo in redirection and correct removal of test
48379 files in two cases.
48380
cc9e536d
UD
48381 [BZ #12788]
48382 * locale/setlocale.c (new_composite_name): Fix test to check for
48383 identical name of all categories.
48384
aec84f53
UD
48385 [BZ #12792]
48386 * libio/filedoalloc.c (local_isatty): New function.
48387 (_IO_file_doallocate): Use local_isatty.
48388 * stdio-common/perror.c (perror): In case a new stream is used
48389 forward the stream error.
48390 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48391 error flag.
48392
78e64fdc
RT
483932011-05-20 Ulrich Drepper <drepper@gmail.com>
48394
34a9094f
UD
48395 [BZ #11869]
48396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48397 alloca.
48398 * include/alloca.h (extend_alloca_account): Define.
48399
78e64fdc
RT
48400 [BZ #11857]
48401 * posix/regex.h: Fix comments with documentation of user-accessible
48402 fields after compilation and describe correct free'ing of pattern
48403 after re_compile_pattern.
48404 Patch by Reuben Thomas <rrt@sc3d.org>.
48405
457bddfc
RA
484062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48407
48408 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48409 and -mno-altivec to prevent the compiler from using Altivec and/or
48410 VSX instructions when the corresponding registers are not available.
48411
a4527b51
AS
484122011-05-19 Andreas Schwab <schwab@redhat.com>
48413
48414 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48415
ed690b2f
UD
484162011-05-19 Ulrich Drepper <drepper@gmail.com>
48417
48418 * libio/freopen.c (freopen): Use __dup2, not dup2.
48419 * libio/freopen64.c (freopen64): Likewise.
48420
8db73634
L
484212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48422
48423 [BZ #12775]
48424 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48425 * math/Makefile (tests): Add test-powl.
48426 (CFLAGS-test-powl.c): Define.
48427 * math/test-powl.c: New file.
48428
0a197a9d
L
484292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48430
48431 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48432
ee30c380
UD
484332011-05-17 Ulrich Drepper <drepper@gmail.com>
48434
48435 [BZ #11837]
48436 * iconvdata/gb18030.c: Update to GB18020-2005.
48437
6ce75379
UD
484382011-05-16 Ulrich Drepper <drepper@gmail.com>
48439
a4b89fd8
AR
48440 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48441 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48442 Patch by Aharon Robbins <arnold@skeeve.com>.
48443
ea389b12
UD
48444 [BZ #11892]
48445 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48446 on the stack.
48447
68a3f91f
UD
48448 [BZ #11895]
48449 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48450 through underflows.
48451
15cc7dd1
UD
48452 [BZ #12766]
48453 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48454 point to strings before performing equality test for error_one_per_line
48455 mode.
48456
f3799213
UD
48457 [BZ #11697]
48458 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48459
d79a9c94
UD
48460 [BZ #11820]
48461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48462 (struct user_fpregs_struct): Avoid __uint*_t types.
48463
56e5eb46
UD
48464 [BZ #6420]
48465 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48466 symbol info. Use it instead of calling _dl_addr locally.
48467 (lock_and_info): New function.
48468 (tr_freehook): Call lock_and_info and pass symbol info as additional
48469 parameter to tr_where.
48470 (tr_mallochook): Likewise.
48471 (tr_reallochook): Likewise.
48472 (tr_memalignhook): Likewise.
48473
6ce75379
UD
48474 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48475 used and couldn't be at all thread-safe.
48476
f8a3b5bf
UD
484772011-05-15 Ulrich Drepper <drepper@gmail.com>
48478
94b7cc37
UD
48479 * libio/freopen.c (freopen): Don't close old file descriptor
48480 before the new one is opened. Instead dup the new file descriptor
48481 to the old one after the new stream is created.
48482 * libio/freopen64.c (freopen64): Likewise.
48483 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48484 * libio/fileops.c (_IO_new_file_close_it): Handle new
48485 _IO_FLAGS2_NOCLOSE flag.
48486 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48487 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48488 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48489 _IO_FLAGS2_NOCLOSE flag.
48490 * include/unistd.h: Add hidden_proto for dup3.
48491 Define __have_dup3.
48492 * io/dup3.c: Define hidden symbol.
48493 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48494
bd25564e
UD
48495 [BZ #7101]
48496 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48497 when an incomplete long option is used.
48498 * posix/tst-getopt_long1.c: New file.
48499 * posix/Makefile (tests): Add tst-getopt_long1.
48500
c84cfef4
UD
48501 [BZ #10138]
48502 * scripts/config.guess: Update from autoconf-2.68.
48503 * scripts/config.sub: Likewise.
48504
3b85df27
UD
48505 [BZ #10157]
48506 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48507 tests into ...
48508 (has_cpuclock): ...this. New function.
48509 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48510 macro here based on has_cpuclock code.
48511
15a856b1
UD
48512 [BZ #10149]
48513 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48514 First byte (not low byte) is now always NUL.
48515 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48516
05f399e6
UD
48517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48518 Use non-cancelable interfaces.
48519
10a52685 48520 [BZ #9809]
94ecc67d
UD
48521 * locale/iso-639.def: Add entry for Sorani.
48522
f8a3b5bf
UD
48523 [BZ #11901]
48524 * include/stdlib.h: Move include protection to the right place.
48525 Define abort_msg_s. Declare __abort_msg with it.
48526 * stdlib/abort.c (__abort_msg): Adjust type.
48527 * assert/assert.c (__assert_fail_base): New function. Majority
48528 of code from __assert_fail. Allocate memory for __abort_msg with
48529 mmap.
48530 (__assert_fail): Now call __assert_fail_base.
48531 * assert/assert-perr.c: Remove bulk of implementation. Use
48532 __assert_fail_base.
48533 * include/assert.hL Declare __assert_fail_base.
48534 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48535 mmap.
48536 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48537
1af4e298
UD
485382011-05-14 Ulrich Drepper <drepper@gmail.com>
48539
f8a3b5bf 48540 [BZ #11952]
d26dfc60
MG
48541 [BZ #12453]
48542 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48543 until all modules are registered in the DTV.
48544 * elf/Makefile: Add rules to build and run tst-tls19.
48545 * elf/tst-tls19.c: New file.
48546 * elf/tst-tls19mod1.c: New file.
48547 * elf/tst-tls19mod2.c: New file.
48548 * elf/tst-tls19mod3.c: New file.
48549 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48550
2fc54d6f
UD
48551 [BZ #12083]
48552 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48553 correctly.
48554
98d76b46
UD
48555 [BZ #12601]
48556 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48557 two-byte sequence errors.
48558 * iconvdata/Makefile (tests): Add bug-iconv8.
48559 * iconvdata/bug-iconv8.c: New file.
48560
da3c19ef
UD
48561 [BZ #12626]
48562 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48563 buf2 definition.
48564
ca408c15
UD
48565 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48566
d6f67f7d
UD
48567 [BZ #12432]
48568 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48569 (dummy_getcfa): New function.
48570 (init): Get _Unwind_GetCFA address, use dummy if not found.
48571 (backtrace_helper): In recursion check, also check whether CFA changes.
48572 (__backtrace): Completely initialize arg.
48573
1af4e298 48574 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48575 storing incomplete byte sequence in state object. Avoid testing for
48576 guaranteed too small input if we know there is enough data available.
1af4e298 48577
da62f81b
AS
485782011-05-11 Andreas Schwab <schwab@redhat.com>
48579
48580 * Makeconfig (+link-pie): Indent.
48581 * Rules (binaries-pie): Define if $(have-fpie) and
48582 $(build-shared).
48583 (binaries-shared): Also filter out $(binaries-pie).
48584 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48585 * nscd/Makefile (others-pie): Add nscd.
48586 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48587 ($(objpfx)nscd): Remove command override.
48588 * login/Makefile (others-pie): Add pt_chown.
48589 ($(objpfx)pt_chown): Remove command override.
48590 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48591 remove command overrides.
48592
fcabc0f8
UD
485932011-05-13 Ulrich Drepper <drepper@gmail.com>
48594
20030ae6
UD
48595 * libio/tst_putwc.c: Fix error messages.
48596
fcabc0f8
UD
48597 [BZ #12724]
48598 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48599 currently writing and seek to current position when not.
48600 * libio/Makefile (tests): Add bug-fclose1.
48601 * libio/bug-fclose1.c: New file.
48602
320a5dc0
PB
486032011-05-12 Ulrich Drepper <drepper@gmail.com>
48604
48605 [BZ #12511]
48606 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48607 don't set DF_1_NODELETE here.
48608 (do_lookup_x): When entering new entry test for copy relocation
48609 and if necessary set DF_1_NODELETE flag.
48610 * elf/tst-unique4.cc: New file.
48611 * elf/tst-unique4.h: New file.
48612 * elf/tst-unique4lib.cc: New file.
48613 * elf/Makefile: Add rules to build and run tst-unique4.
48614 Patch by Piotr Bury <pbury@goahead.com>.
48615
22836f52
UD
486162011-05-11 Ulrich Drepper <drepper@gmail.com>
48617
f574184a
UD
48618 [BZ #12052]
48619 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48620
e1fb097f
UD
48621 [BZ #12625]
48622 * misc/mntent_r.c (addmntent): Flush the stream after the output
48623
22836f52
UD
48624 [BZ #12393]
48625 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48626 (is_trusted_path_normalize): Skip initial colon. Append slash
48627 to empty buffer. Duplicate is_trusted_path code but allow
48628 constructed patch to be prefix.
48629 (is_dst): Allow $ORIGIN followed by /.
48630 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48631 Correct testing of result of is_trusted_path_normalize
48632 (decompose_rpath): Fix warning.
48633
7b3b0b2a
UD
486342011-05-10 Ulrich Drepper <drepper@gmail.com>
48635
48636 [BZ #11257]
48637 * grp/initgroups.c (internal_getgrouplist): When we found the service
48638 list through the initgroups entry in nsswitch.conf do not always
48639 continue on a successful lookup. Don't always use the
eac80ce2 48640 __nss_group_database value if it is set.
7b3b0b2a
UD
48641 * nss/nsswitch.conf (initgroups): Change action for successful db
48642 lookup to continue for compatibility.
48643
2a81eaa5
UD
486442011-05-09 Ulrich Drepper <drepper@gmail.com>
48645
be97a69e
UD
48646 [BZ #11532]
48647 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48648 and CP774 modules.
48649 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48650 and CP774 modules.
48651 * iconvdata/tst-tables.sh: Likewise.
48652 * iconvdata/cp770.c: New file.
48653 * iconvdata/cp771.c: New file.
48654 * iconvdata/cp772.c: New file.
48655 * iconvdata/cp773.c: New file.
48656 * iconvdata/cp774.c: New file.
48657 * iconvdata/testdata/CP770: New file.
48658 * iconvdata/testdata/CP770..UTF8: New file.
48659 * iconvdata/testdata/CP771: New file.
48660 * iconvdata/testdata/CP771..UTF8: New file.
48661 * iconvdata/testdata/CP772: New file.
48662 * iconvdata/testdata/CP772..UTF8: New file.
48663 * iconvdata/testdata/CP773: New file.
48664 * iconvdata/testdata/CP773..UTF8: New file.
48665 * iconvdata/testdata/CP774: New file.
48666 * iconvdata/testdata/CP774..UTF8: New file.
48667
48668 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48669 END CHARMAP line.
48670 * iconvdata/gen-8bit-gap.sh: Likewise.
48671 * iconvdata/gen-8bit.sh: Likewise.
48672
c1e9e399
UD
48673 * locale/iso-639.def: Add ary entry.
48674
24c55fb3 48675 [BZ #11258]
96b4b1b0
UD
48676 * locale/C-translit.h.in: Add U20A1 transliteration.
48677
bdc2f971
KB
48678 [BZ #12178]
48679 * locale/iso-639.def: Add wae entry.
48680 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48681
2952b117
UD
48682 [BZ #12545]
48683 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48684 for n.
48685
2a81eaa5
UD
48686 [BZ #12711]
48687 * locale/C-translit.h.in: Add entry for U20B9.
48688 Patch by pravin.d.s@gmail.com.
48689
28377d1b
UD
486902011-05-08 Ulrich Drepper <drepper@gmail.com>
48691
7fb90fb8
UD
48692 [BZ #12713]
48693 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48694 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48695 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48696 in rtld. Use *stat64.
7fb90fb8 48697 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48698 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48699 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48700 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48701 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48702 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48703 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48704 __fstatat64 macros.
7fb90fb8
UD
48705 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48706 * dirent/rewinddir.c: Add libc_hidden_def.
48707 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48708 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48709
28377d1b
UD
48710 * include/dirent.h (__alloc_dir): Add flags parameter.
48711 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48712 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48713 __alloc_dir.
48714 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48715 from fdopendir if O_CLOEXEC is already set.
48716
66bdbaa4
AM
487172011-03-15 Alan Modra <amodra@gmail.com>
48718
48719 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48720 l_tls_firstbyte_offset non-zero. Save padding offset in
48721 l_tls_firstbyte_offset for later use.
48722 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48723 freeing static tls block.
48724
95721191
JN
487252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48726
48727 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48728 where #ifdef was intended. The intent is to prevent ARG_MAX from
48729 being defined by the kernel headers.
48730
f87dfb1f
UD
487312011-05-07 Ulrich Drepper <drepper@gmail.com>
48732
48733 [BZ #12734]
48734 * resolv/resolv.h: Define RES_NOTLDQUERY.
48735 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48736 no-tld-query and set RES_NOTLDQUERY.
48737 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48738 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48739 modern BIND to search name as TLD unless forbidden.
48740
47c3cd7a
UD
487412011-05-07 Petr Baudis <pasky@suse.cz>
48742 Ulrich Drepper <drepper@gmail.com>
48743
48744 [BZ #12393]
48745 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48746 (is_trusted_path): ...to here.
c1e9ea35 48747 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48748 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48749 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48750
8a35c912
PP
487512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48752
48753 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48754 __BEGIN/__END_DECLS.
48755
acd41f47
UD
487562011-05-06 Ulrich Drepper <drepper@gmail.com>
48757
48758 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48759 NSS_STATUS_NOTFOUND if no record was found.
48760
597df647
AS
487612011-05-05 Andreas Schwab <schwab@redhat.com>
48762
48763 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48764 (headers-not-in-tirpc): Remove rpc/netdb.h
48765 * resolv/netdb.h: Revert last change.
48766
b9af1301
PP
487672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48768
48769 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48770 circular dependency between libgcc.a and libc.a.
48771
4e34d5f5
AS
487722011-05-05 Andreas Schwab <schwab@redhat.com>
48773
48774 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48775 * nis/Makefile: Don't install rpcsvc/*.
48776 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48777 instead of <rpc/types.h>.
48778 (MAXHOSTNAMELEN): Define.
48779
00ee369c
AS
487802011-05-03 Andreas Schwab <schwab@redhat.com>
48781
48782 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48783
0b592a30
MB
487842011-04-28 Maciej Babinski <mbabinski@google.com>
48785
48786 [BZ #12714]
48787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48788 gethostbyname4_r when IPv6 results are possible.
48789
6e04cbbe
UD
487902011-05-02 Ulrich Drepper <drepper@gmail.com>
48791
48792 [BZ #12723]
48793 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48794 _PC_PIPE_BUF handling.
48795
e4ecafe0
BH
487962011-04-30 Bruno Haible <bruno@clisp.org>
48797
48798 [BZ #12717]
48799 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48800 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48801 to 'int'.
48802 * inet/getnameinfo.c (getnameinfo): Likewise.
48803
125ee683
UD
488042011-04-29 Ulrich Drepper <drepper@gmail.com>
48805
48806 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48807 to groups setting in database lookup.
48808 * nss/nsswitch.conf: Add initgroups entry.
48809
b722481a
EB
488102011-04-22 Ulrich Drepper <drepper@gmail.com>
48811
48812 [BZ #12685]
48813 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48814 mode string.
48815 Patch by Eric Blake <eblake@redhat.com>.
48816
4df46dbd
L
488172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48818
48819 * sunrpc/Makefile (need-export-routines): Add svc_run.
48820 (routines): Remove svc_run.
48821 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48822 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48823 * sunrpc/svc_run.c (svc_run): Likewise.
48824 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48825
e84142d2
UD
488262011-04-21 Ulrich Drepper <drepper@gmail.com>
48827
48828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48829 problem in reallocation in last patch.
48830
877175d8
UD
488312011-04-20 Ulrich Drepper <drepper@gmail.com>
48832
48833 * sunrpc/Makefile: Move inclusion of Rules.
48834
ab8eed78
UD
488352011-04-19 Ulrich Drepper <drepper@gmail.com>
48836
48837 * nss/nss_files/files-initgroups.c: New file.
48838 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48839 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48840 _nss_files_initgroups_dyn.
48841
e3d8f584
RS
488422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48843
48844 * elf/elf.h (R_ARM_IRELATIVE): Define.
48845
af190f45
UD
488462011-04-19 Ulrich Drepper <drepper@gmail.com>
48847
48848 * po/ru.po: Update from translation team.
48849
53cf59ef
UD
488502011-04-17 Ulrich Drepper <drepper@gmail.com>
48851
48852 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48853 dependencies.
48854
4c559bcd
MF
488552011-02-06 Mike Frysinger <vapier@gentoo.org>
48856
48857 [BZ #12653]
48858 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48859 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48863
4420675c
AS
488642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48865
48866 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48867 differing bytes.
48868 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48869 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48870 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48871
75ea32ab
UD
488722011-04-17 Ulrich Drepper <drepper@gmail.com>
48873
48874 [BZ #12420]
48875 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48876 storing it.
48877 * stdlib/bug-getcontext.c: New file.
48878 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48879
27390476
AK
488802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48881
48882 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48883 instructions into .machine "z9-109".
48884 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48885 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48886
10442705
AK
488872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48888
48889 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48890 between environment variables and auxiliary vector.
48891
7b57bfe5
UD
488922011-04-16 Ulrich Drepper <drepper@gmail.com>
48893
48894 * Makefile: Add rules to build linkobj/libc.so.
48895 * include/libc-symbols.h: Define libc_hidden_nolink.
48896 * include/rpc/auth.h: Mark functions which are to be hidden.
48897 * include/rpc/auth_des.h: Likewise.
48898 * include/rpc/auth_unix.h: Likewise.
48899 * include/rpc/clnt.h: Likewise.
48900 * include/rpc/des_crypt.h: Likewise.
48901 * include/rpc/key_prot.h: Likewise.
48902 * include/rpc/pmap_clnt.h: Likewise.
48903 * include/rpc/pmap_prot.h: Likewise.
48904 * include/rpc/pmap_rmt.h: Likewise.
48905 * include/rpc/rpc_msg.h: Likewise.
48906 * include/rpc/svc.h: Likewise.
48907 * include/rpc/svc_auth.h: Likewise.
48908 * include/rpc/xdr.h: Likewise.
48909 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48910 * nss/Makefile: Likewise.
48911 * sunrpc/Makefile: Don't install headers. Build library with normal
48912 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48913 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48914 for the compat linking library. Remove use of INTDEF/INTUSE.
48915 * sunrpc/auth_none.c: Likewise.
48916 * sunrpc/auth_unix.c: Likewise.
48917 * sunrpc/authdes_prot.c: Likewise.
48918 * sunrpc/authuxprot.c: Likewise.
48919 * sunrpc/clnt_gen.c: Likewise.
48920 * sunrpc/clnt_perr.c: Likewise.
48921 * sunrpc/clnt_raw.c: Likewise.
48922 * sunrpc/clnt_simp.c: Likewise.
48923 * sunrpc/clnt_tcp.c: Likewise.
48924 * sunrpc/clnt_udp.c: Likewise.
48925 * sunrpc/clnt_unix.c: Likewise.
48926 * sunrpc/des_crypt.c: Likewise.
48927 * sunrpc/des_soft.c: Likewise.
48928 * sunrpc/get_myaddr.c: Likewise.
48929 * sunrpc/key_call.c: Likewise.
48930 * sunrpc/key_prot.c: Likewise.
48931 * sunrpc/netname.c: Likewise.
48932 * sunrpc/pm_getmaps.c: Likewise.
48933 * sunrpc/pm_getport.c: Likewise.
48934 * sunrpc/pmap_clnt.c: Likewise.
48935 * sunrpc/pmap_prot.c: Likewise.
48936 * sunrpc/pmap_prot2.c: Likewise.
48937 * sunrpc/pmap_rmt.c: Likewise.
48938 * sunrpc/publickey.c: Likewise.
48939 * sunrpc/rpc_cmsg.c: Likewise.
48940 * sunrpc/rpc_common.c: Likewise.
48941 * sunrpc/rpc_dtable.c: Likewise.
48942 * sunrpc/rpc_prot.c: Likewise.
48943 * sunrpc/rpc_thread.c: Likewise.
48944 * sunrpc/rtime.c: Likewise.
48945 * sunrpc/svc.c: Likewise.
48946 * sunrpc/svc_auth.c: Likewise.
48947 * sunrpc/svc_authux.c: Likewise.
48948 * sunrpc/svc_raw.c: Likewise.
48949 * sunrpc/svc_run.c: Likewise.
48950 * sunrpc/svc_simple.c: Likewise.
48951 * sunrpc/svc_tcp.c: Likewise.
48952 * sunrpc/svc_udp.c: Likewise.
48953 * sunrpc/svc_unix.c: Likewise.
48954 * sunrpc/svcauth_des.c: Likewise.
48955 * sunrpc/xcrypt.c: Likewise.
48956 * sunrpc/xdr.c: Likewise.
48957 * sunrpc/xdr_array.c: Likewise.
48958 * sunrpc/xdr_float.c: Likewise.
48959 * sunrpc/xdr_intXX_t.c: Likewise.
48960 * sunrpc/xdr_mem.c: Likewise.
48961 * sunrpc/xdr_rec.c: Likewise.
48962 * sunrpc/xdr_ref.c: Likewise.
48963 * sunrpc/xdr_sizeof.c: Likewise.
48964 * sunrpc/xdr_stdio.c: Likewise.
48965
e6c61494
UD
489662011-04-10 Ulrich Drepper <drepper@gmail.com>
48967
48968 [BZ #12650]
48969 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48970 * sysdeps/ia64/dl-tls.h: Likewise.
48971 * sysdeps/powerpc/dl-tls.h: Likewise.
48972 * sysdeps/s390/dl-tls.h: Likewise.
48973 * sysdeps/sh/dl-tls.h: Likewise.
48974 * sysdeps/sparc/dl-tls.h: Likewise.
48975 * sysdeps/x86_64/dl-tls.h: Likewise.
48976 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48977
34fe483e
AS
489782011-03-14 Andreas Schwab <schwab@redhat.com>
48979
48980 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48981 rpath element also skip the following colon.
48982 (expand_dynamic_string_token): Add is_path parameter and pass
48983 down to DL_DST_REQUIRED and _dl_dst_substitute.
48984 (decompose_rpath): Call expand_dynamic_string_token with
48985 non-zero is_path. Ignore empty rpaths.
48986 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48987 with zero is_path.
48988
f12a32e6
AS
489892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48990
48991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48992 Make cancelable.
48993
38a7d692
UD
489942011-04-09 Ulrich Drepper <drepper@gmail.com>
48995
48996 [BZ #12655]
48997 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48998 Patch by Filipe David Manana <fdmanana@apache.org>.
48999
e451d22b
AS
490002011-04-07 Andreas Schwab <schwab@redhat.com>
49001
49002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49003 Maintain aligned stack.
49004 (CHECK_RSP): Remove unused macro.
49005
dedc7c7b
UD
490062011-04-03 Ulrich Drepper <drepper@gmail.com>
49007
49008 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49009 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49010
94521213
UD
490112011-04-02 Ulrich Drepper <drepper@gmail.com>
49012
49013 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49014
8cb700c0 49015 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49016
0354e355
L
490172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49018
49019 [BZ #12518]
49020 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49021 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49022 * sysdeps/x86_64/memmove.c: New file.
49023 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49024 (memcpy): Renamed to ...
49025 (__new_memcpy): This.
49026 (memcpy): Provide GLIBC_2_14 memcpy.
49027 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49028 (memcpy): Provide GLIBC_2_2_5 memcpy.
49029
8593482f
UD
490302011-04-01 Ulrich Drepper <drepper@gmail.com>
49031
49032 [BZ #12631]
49033 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49034
81a5726b
AS
490352011-03-30 Andreas Schwab <schwab@redhat.com>
49036
49037 * misc/syncfs.c: New file.
49038 * misc/Makefile (routines): Add syncfs.
49039 * posix/unistd.h: Declare syncfs.
49040 * sysdeps/unix/syscalls.list: Add syncfs.
49041
00e5419f
AS
490422011-04-01 Andreas Schwab <schwab@redhat.com>
49043
49044 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49045 open_by_handle_at.
49046 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49047 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49051 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49053
748876bf
UD
490542011-04-01 Ulrich Drepper <drepper@gmail.com>
49055
658e451d
UD
49056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49058 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49060 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49062 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49063
748876bf
UD
49064 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49065 sync_file_range.c with -fexceptions.
49066 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49067 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49068 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49069 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49070 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49071 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49073 sync_file_range as cancellation point
49074 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49075 now a wrapper around __call_sync_file_range with cancellation handling.
49076 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49077 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49078 function name to __call_sync_file_range.
49079 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49080 Add call_sync_file_range.
748876bf 49081
6e63d5e1
AS
490822011-04-01 Andreas Schwab <schwab@redhat.com>
49083
49084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49085 bits/timex.h.
6e63d5e1 49086
46998f74
UD
490872011-04-01 Ulrich Drepper <drepper@gmail.com>
49088
4c1423ed
UD
49089 * iconv/iconv.h: Fix typo in comment.
49090 * io/fcntl.h: Likewise.
49091 * libio/stdio.h: Likewise.
49092 * posix/spawn.h: Likewise.
49093 * posix/unistd.h: Likewise.
49094 * stdlib/stdlib.h: Likewise.
49095 * time/time.h: Likewise.
49096 * wcsmbs/wchar.h: Likewise.
49097
158648c0
UD
49098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49099 open_by_handle): Add.
49100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49101 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49102 Augment a few comments.
49103 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49105 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49108 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49109 open_by_handle.
49110
46998f74
UD
49111 * io/fcntl.h (AT_EMPTY_PATH): Define.
49112
83fe108b
UD
491132011-03-30 Ulrich Drepper <drepper@gmail.com>
49114
49115 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49116 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49117 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49118 to...
49119 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49120 * Versions.def: Add GLIBC_2.14.
49121 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49122 Export.
83fe108b 49123
bb242059
UD
491242011-03-22 Ulrich Drepper <drepper@gmail.com>
49125
49126 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49127 round counter.
49128 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49129
c97a1282
L
491302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49131
49132 [BZ #12597]
49133 * string/test-strncmp.c (do_page_test): New function.
49134 (check2): Likewise.
49135 (test_main): Call check2.
49136 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49137
2a115601
UD
491382011-03-20 Ulrich Drepper <drepper@gmail.com>
49139
49140 [BZ #12587]
49141 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49142 Handle cache information in CPU leaf 4.
49143 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49144
8126d904
UD
491452011-03-18 Ulrich Drepper <drepper@gmail.com>
49146
042c49c6 49147 [BZ #12583]
8126d904
UD
49148 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49149 character representation.
49150 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49151
ccfe366e
RA
491522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49153
49154 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49155 END(__isnan) to END(__isnanf) to match function entry point/label
49156 EALIGN(__isnanf,...).
49157
c6e13027
JJ
491582011-03-10 Jakub Jelinek <jakub@redhat.com>
49159
49160 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49161
33f85a3f
UD
491622011-03-10 Ulrich Drepper <drepper@gmail.com>
49163
028478fa
UD
49164 [BZ #12510]
49165 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49166 copy from the symbol referenced in the relocation to initialize the
49167 used variable.
49168 Patch by Piotr Bury <pbury@goahead.com>.
49169 * elf/Makefile: Add rules to build and tst-unique3.
49170 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49171 * elf/tst-unique3.cc: New file.
49172 * elf/tst-unique3.h: New file.
49173 * elf/tst-unique3lib.cc: New file.
49174 * elf/tst-unique3lib2.cc: New file.
49175
33f85a3f
UD
49176 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49177
03592fc7
MF
491782011-03-10 Mike Frysinger <vapier@gentoo.org>
49179
49180 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49181 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49182 to _start.
03592fc7 49183
6a5ee102
UD
491842011-03-06 Ulrich Drepper <drepper@gmail.com>
49185
49186 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49187 to-be-loaded object along a path to loader is ld.so.
49188
7e4ba49c
HJ
491892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49190 Ulrich Drepper <drepper@gmail.com>
49191
49192 * sysdeps/x86_64/memset.S: After aligning destination, code
49193 branches to different locations depending on the value of
49194 misalignment, when multiarch is enabled. Fix this.
49195
491962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49197
49198 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49199 Set _x86_64_preferred_memory_instruction for AMD processsors.
49200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49201 Set bit_Prefer_SSE_for_memop for AMD processors.
49202
13a804de
UD
492032011-03-04 Ulrich Drepper <drepper@gmail.com>
49204
49205 * libio/fmemopen.c (fmemopen): Optimize a bit.
49206
9d25c392
AS
492072011-03-03 Andreas Schwab <schwab@redhat.com>
49208
49209 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49210
a5543c6a
RM
492112011-03-03 Roland McGrath <roland@redhat.com>
49212
49213 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49214
012d35f7
DM
492152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49216
7e4ba49c 49217 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49218 __bzero_ultra1 instead of __memset_ultra1.
49219
4bff6e01
AS
492202011-02-23 Andreas Schwab <schwab@redhat.com>
49221 Ulrich Drepper <drepper@gmail.com>
49222
49223 [BZ #12509]
49224 * include/link.h (struct link_map): Add l_orig_initfini.
49225 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49226 returning unsuccessfully.
49227 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49228 close of a file loaded at startup, restore the original l_initfini
49229 list.
49230 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49231 list, store the pointer.
49232 * elf/Makefile ($(objpfx)noload-mem): New rule.
49233 (noload-ENV): Define.
49234 (tests): Add $(objpfx)noload-mem.
49235 * elf/noload.c: Include <memcheck.h>.
49236 (main): Call mtrace. Close all opened handles.
49237
f2092faf
AS
492382011-02-17 Andreas Schwab <schwab@redhat.com>
49239
49240 [BZ #12454]
49241 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49242 dependencies are missing.
49243
6c8a2e88
ST
492442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49245
f2092faf 49246 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49247 Hurd needs munmap.
49248 * sysdeps/mach/hurd/ifreq.h: New file.
49249
84a42118
PB
492502011-01-27 Petr Baudis <pasky@suse.cz>
49251 Ulrich Drepper <drepper@gmail.com>
49252
071f805e 49253 [BZ 12445]#
84a42118
PB
49254 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49255 to extend_alloca().
49256 * stdio-common/bug23.c: New file.
49257 * stdio-common/Makefile (tests): Add bug23.
49258
e23fe25b
AS
492592010-09-28 Andreas Schwab <schwab@redhat.com>
49260 Ulrich Drepper <drepper@gmail.com>
49261
49262 [BZ #12489]
49263 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49264 before performing relro protection. At old place add assertion
49265 to make sure nothing changed.
49266
d3f02e10
NS
492672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49268 Glauber de Oliveira Costa <glommer@gmail.com>
49269
49270 * elf/elf.h: Add new ARM TLS relocs.
49271
d55fd7a5
RA
492722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49273
49274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49275 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49276 cast from r3.
49277 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49278 'tests' variable.
49279 * sysdeps/wordsize-64/tst-writev.c: New file.
49280
2206397e
RA
492812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49282
49283 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49284 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49285 insns in _dl_start to prevent a TOC reference before relocs are
49286 resolved.
49287
e9433893
UD
492882011-02-15 Ulrich Drepper <drepper@gmail.com>
49289
49290 [BZ #12469]
49291 * Makeconfig: Remove RANLIB definition.
49292 * Makerules: Don't use RANLIB.
49293 * aclocal.m4: Remove ranlib test.
49294 * configure.in: No need to check for ranlib.
49295 * elf/rtld-Rules: Don't use RANLIB.
49296
f75286c6
ST
492972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49298
8e31c82d
ST
49299 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49300 protection macro.
49301 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49302 inclusion protection macro.
49303
f75286c6
ST
49304 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49305 SIGRTMIN and SIGRTMAX and print information in that case only when
49306 SIGRTMIN is defined.
49307
c1d0e639
JJ
493082011-02-11 Jakub Jelinek <jakub@redhat.com>
49309
49310 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49311 arginfo fn returning -1.
49312
49313 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49314 and thousands string is zero terminated.
49315
edf9294e
AS
493162011-02-03 Andreas Schwab <schwab@redhat.com>
49317
49318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49319 sysdeps/unix/sysv/linux/bits/socket.h.
49320
2b7e92df
ST
493212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49322
edf9294e
AS
49323 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49324 (__CPU_COUNT): Remove old macros.
49325 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49326 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49327 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49328 (__sched_cpualloc, __sched_cpufree): Add declarations.
49329
a4c7ea7b
UD
493302011-02-05 Ulrich Drepper <drepper@gmail.com>
49331
49332 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49333 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49334 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49335 (readdhstai): Return value of addhstaiX call.
49336 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49337 (addgrbyX): Return value returned by cache_addgr.
49338 (readdgrbyname): Return value returned by addgrbyX.
49339 (readdgrbygid): Likewise.
49340 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49341 (addpwbyX): Return value returned by cache_addpw.
49342 (readdpwbyname): Return value returned by addhstbyX.
49343 (readdpwbyuid): Likewise.
49344 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49345 (addservbyX): Return value returned by cache_addserv.
49346 (readdservbyname): Return value returned by addservbyX:
49347 (readdservbyport): Likewise.
49348 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49349 (addhstbyX): Return value returned by cache_addhst.
49350 (readdhstbyname): Return value returned by addhstbyX.
49351 (readdhstbyaddr): Likewise.
49352 (readdhstbynamev6): Likewise.
49353 (readdhstbyaddrv6): Likewise.
49354 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49355 (readdinitgroups): Return value returned by addinitgroupsX.
49356 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49357 (prune_cache): Keep track of timeout value of re-added entries.
49358 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49359 * nscd/nscd.h: Adjust prototypes of readd* functions.
49360
a0bf67cc
RM
493612011-02-04 Roland McGrath <roland@redhat.com>
49362
49363 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49364 (nis_stats): Likewise.
49365 * nis/nis_modify.c (nis_modify): Likewise.
49366 * nis/nis_remove.c (nis_remove): Likewise.
49367 * nis/nis_add.c (nis_add): Likewise.
49368
49369 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49370
49371 * posix/fnmatch_loop.c: Add some consts.
49372
49373 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49374
435b95eb
L
493752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49376
49377 [BZ #12460]
49378 * config.make.in (config-cflags-novzeroupper): Define.
49379 * configure.in: Substitute libc_cv_cc_novzeroupper.
49380 * elf/Makefile (AVX-CFLAGS): Define.
49381 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49382 (CFLAGS-tst-auditmod4a.c): Likewise.
49383 (CFLAGS-tst-auditmod4b.c): Likewise.
49384 (CFLAGS-tst-auditmod6b.c): Likewise.
49385 (CFLAGS-tst-auditmod6c.c): Likewise.
49386 (CFLAGS-tst-auditmod7b.c): Likewise.
49387 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49388
8517b15e
UD
493892011-02-02 Ulrich Drepper <drepper@gmail.com>
49390
49391 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49392 function to the callback.
49393 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49394
10a656fe
AS
493952011-02-02 Andreas Schwab <schwab@redhat.com>
49396
49397 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49398 of errno.
49399
968dad0a
UD
494002011-01-19 Ulrich Drepper <drepper@gmail.com>
49401
9f94d2ea 49402 [BZ #11724]
968dad0a
UD
49403 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49404 of constructors.
49405 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49406 of destructors.
49407 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49408
49409 [BZ #11724]
49410 * elf/Makefile: Add rules to build and run new test.
49411 * elf/tst-initorder.c: New file.
49412 * elf/tst-initorder.exp: New file.
49413 * elf/tst-initordera1.c: New file.
49414 * elf/tst-initordera2.c: New file.
49415 * elf/tst-initordera3.c: New file.
49416 * elf/tst-initordera4.c: New file.
49417 * elf/tst-initorderb1.c: New file.
49418 * elf/tst-initorderb2.c: New file.
49419 * elf/tst-order-a1.c: New file.
49420 * elf/tst-order-a2.c: New file.
49421 * elf/tst-order-a3.c: New file.
49422 * elf/tst-order-a4.c: New file.
49423 * elf/tst-order-b1.c: New file.
49424 * elf/tst-order-b2.c: New file.
49425 * elf/tst-order-main.c: New file.
49426 New test case by George Gensure <werkt0@gmail.com>.
49427
86e92359
UD
494282010-10-01 Andreas Schwab <schwab@redhat.com>
49429
49430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49431 decoding ACE if AI_CANONIDN.
49432
5d5732b0
UD
494332011-01-18 Ulrich Drepper <drepper@gmail.com>
49434
49435 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49436
a77e8cbc
UD
494372011-01-17 Ulrich Drepper <drepper@gmail.com>
49438
6392473f
UD
49439 * version.h (RELEASE): Bump for 2.13 release.
49440 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49441
620a0529
UD
49442 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49443
18ba70a5
UD
49444 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49445 MADV_NOHUGEPAGE.
32465c3e
UD
49446 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49447 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49448 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49449 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49450 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49451 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49452
c0dafcf1
UD
49453 * posix/getconf.c: Update copyright year.
49454 * catgets/gencat.c: Likewise.
49455 * csu/version.c: Likewise.
49456 * debug/catchsegv.sh: Likewise.
49457 * debug/xtrace.sh: Likewise.
49458 * elf/ldconfig.c: Likewise.
49459 * elf/ldd.bash.in: Likewise.
49460 * elf/sprof.c (print_version): Likewise.
49461 * iconv/iconv_prog.c: Likewise.
49462 * iconv/iconvconfig.c: Likewise.
49463 * locale/programs/locale.c: Likewise.
49464 * locale/programs/localedef.c: Likewise.
49465 * malloc/memusage.sh: Likewise.
49466 * malloc/mtrace.pl: Likewise.
49467 * nscd/nscd.c (print_version): Likewise.
49468 * nss/getent.c: Likewise.
49469
a77e8cbc
UD
49470 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49471 PF_CAIF, and PF_ALG.
49472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49473
77e8bddf
AS
494742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49475
1f20b93a
AS
49476 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49477 (modules-names): Use them.
49478 (ifunc-test-modules, ifunc-pie-tests): Define.
49479 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49480 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49481 (test-extras): Likewise.
49482 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49483 $(compile-command.c).
49484 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49485 (all-built-dso): Define.
49486 (check-textrel.out, check-execstack.out): Depend on it.
49487
77e8bddf
AS
49488 * configure.in: Don't override --enable-multi-arch.
49489
bc425b33
UD
494902011-01-15 Ulrich Drepper <drepper@gmail.com>
49491
49492 [BZ #6812]
49493 * nscd/hstcache.c (tryagain): Define.
49494 (cache_addhst): Return tryagain not notfound for temporary errors.
49495 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49496 failed.
49497
794c3ad3
UD
494982011-01-14 Ulrich Drepper <drepper@gmail.com>
49499
70181fdd
UD
49500 [BZ #10563]
49501 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49502 to make the syscall.
49503 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49504
794c3ad3
UD
49505 [BZ #12378]
49506 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49507 and fall back to matching as normal character if the string ends before
49508 the matching ']' is found. This is what POSIX requires.
49509 * posix/testfnm.c: Adjust test result.
49510 * posix/globtest.sh: Adjust test result. Add new test.
49511 * posix/tst-fnmatch.input: Likewise.
49512 * posix/tst-fnmatch2.c: Add new test.
49513
68dc9497
AS
495142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49515
49516 * elf/Makefile (check-execstack): Revert last change. Depend on
49517 check-execstack.h.
49518 (check-execstack.h): New target.
49519 (generated): Add check-execstack.h.
49520 * elf/check-execstack.c: Include "check-execstack.h".
49521 (main): Revert last change.
49522 (handle_file): Return zero if GNU_STACK is absent and
49523 DEFAULT_STACK_PERMS doesn't include PF_X.
49524
451f001b
UD
495252011-01-13 Ulrich Drepper <drepper@gmail.com>
49526
cfa28e56
UD
49527 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49528 in child fails because the descriptor is already closed.
8cf8ce17
UD
49529 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49530 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49531 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 49532
1086d70d
UD
49533 [BZ #12397]
49534 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49535 syscall.
49536
451f001b
UD
49537 [BZ #10484]
49538 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49539 temporary buffer used to handle multi lookups locally.
a85b5cb4 49540 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 49541
08769175
UD
495422011-01-12 Ulrich Drepper <drepper@gmail.com>
49543
49544 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49545 loader is ld.so.
49546
5e49c52e
UD
495472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49548
49549 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49550 alignment for SSE2.
49551
60522a5f
UD
495522011-01-12 Ulrich Drepper <drepper@gmail.com>
49553
49554 [BZ #12394]
49555 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49556 characters. When rounding increased number of integer digits recompute
49557 number of groups.
49558 * stdio-common/tst-grouping.c: New file.
49559 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49560
f257bbd7
UD
495612011-01-09 Ulrich Drepper <drepper@gmail.com>
49562
49563 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49564 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49565
49566 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49567 void.
49568 * bits/select.h: Likewise.
49569
fa9c15cb
UD
495702011-01-08 Ulrich Drepper <drepper@gmail.com>
49571
49572 * po/ja.po: Update from translation team.
49573
16c2895f
DM
495742011-01-04 David S. Miller <davem@sunset.davemloft.net>
49575
49576 [BZ #11155]
49577 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49578 implementation just like for lxstat, fxstatat, et al.
49579
2543fef2
JM
495802010-12-27 Jim Meyering <meyering@redhat.com>
49581
49582 [BZ #12348]
49583 * posix/regexec.c (build_trtable): Return failure indication upon
49584 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49585
98727dbe
UD
495862010-12-25 Ulrich Drepper <drepper@gmail.com>
49587
5bd6dc5c
UD
49588 [BZ #12201]
49589 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49590 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49591 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49592 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49593
97983464
UD
49594 [BZ #12207]
49595 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49596
98727dbe
UD
49597 [BZ #12204]
49598 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49599 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49600
4a531bb0
L
496012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49602
49603 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49604 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49605 script has SORT_BY_INIT_PRIORITY.
49606 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49607 NO_CTORS_DTORS_SECTIONS is defined.
49608 * elf/soinit.c: Likewise.
49609 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49610 NO_CTORS_DTORS_SECTIONS is defined.
49611 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49612 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49613 * sysdeps/sh/init-first.c: Likewise.
49614 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49615
07eb4b71
UD
496162010-12-24 Ulrich Drepper <drepper@gmail.com>
49617
49618 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49619 always use the slow path.
49620
30950a5f
RA
496212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49622
49623 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49624 similar rule which adds the sysdep directories to the header search in
49625 order to pick up the correct platform stackinfo.h.
49626 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49627 perform test if it is, otherwise return successfully without testing.
49628 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49629 DEFAULT_STACK_PERMS define in stackinfo.h.
49630 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49631 defined in stackinfo.h.
49632 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49633 DEFAULT_STACK_PERMS defined in stackinfo.h.
49634 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49635 * sysdeps/ia64/stackinfo.h: Likewise.
49636 * sysdeps/s390/stackinfo.h: Likewise.
49637 * sysdeps/sh/stackinfo.h: Likewise.
49638 * sysdeps/sparc/stackinfo.h: Likewise.
49639 * sysdeps/x86_64/stackinfo.h: Likewise.
49640 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49641 PF_X for powerpc64. Retain PF_X for powerpc32.
49642
db753e2c
UD
496432010-12-19 Ulrich Drepper <drepper@gmail.com>
49644
14b697f7
UD
49645 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49646 accurately.
db753e2c
UD
49647 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49648 GETDENTS_64BIT_ALIGNED.
49649
28300719
UD
496502010-12-14 Ulrich Drepper <dreper@gmail.com>
49651
14b697f7 49652 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49653
4f197237
AS
496542010-12-10 Andreas Schwab <schwab@redhat.com>
49655
dbb0472f
AS
49656 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49657 _GNU_SOURCE.
49658
4f197237
AS
49659 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49660 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49661 Remove __restrict.
49662 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49663 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49664
fb88ac72
UD
496652010-12-09 Ulrich Drepper <drepper@gmail.com>
49666
49667 [BZ #11655]
49668 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49669 are initialized.
49670
42acbb92
JJ
496712010-12-09 Jakub Jelinek <jakub@redhat.com>
49672
49673 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49674
c038d98d
UD
496752010-12-03 Ulrich Drepper <drepper@gmail.com>
49676
49677 * po/it.po: Update from translation team.
49678
3a4a2499
L
496792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49680
49681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49682 unused codes.
49683
1e24cf6e
UD
496842010-11-30 Ulrich Drepper <drepper@gmail.com>
49685
49686 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49687
a7690819
AS
496882010-11-24 Andreas Schwab <schwab@redhat.com>
49689
49690 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49691 specially.
49692 (gaih_getanswer_slice): Likewise.
49693
3bf8d1b1
JJ
496942010-10-20 Jakub Jelinek <jakub@redhat.com>
49695
49696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49697
6db52fbb
PB
496982010-05-31 Petr Baudis <pasky@suse.cz>
49699
49700 [BZ #11149]
49701 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49702 silently even in the chroot mode.
49703
eaca7569
UD
497042010-11-22 Ulrich Drepper <drepper@gmail.com>
49705
49706 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49707 last patch a bit. Pretty printing
49708
3056dcdb
UD
497092010-05-31 Petr Baudis <pasky@suse.cz>
49710
49711 [BZ #10085]
49712 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49713 initialization of skip_initgroups_dyn.
49714
cf7c9078
UD
497152010-11-19 Ulrich Drepper <drepper@gmail.com>
49716
49717 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49719
a1fb5e3e
UD
497202010-11-16 Ulrich Drepper <drepper@gmail.com>
49721
49722 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49723
3540d66b
AS
497242010-11-11 Andreas Schwab <schwab@redhat.com>
49725
49726 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49727 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49728 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49729 ($(objpfx)tst-fnmatch-mem): New rule.
49730 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49731 * posix/tst-fnmatch.c (main): Call mtrace.
49732
13b69574
L
497332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49734
49735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49736 Support Intel processor model 6 and model 0x2c.
49737
da93d214
LM
497382010-11-10 Luis Machado <luisgpm@br.ibm.com>
49739
49740 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49741 signed comparison.
49742
8ca52c6e
L
497432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49744
49745 [BZ #12205]
49746 * string/test-strncasecmp.c (check_result): New function.
49747 (do_one_test): Use it.
49748 (check1): New function.
49749 (test_main): Use it.
49750 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49751 Support strcasecmp and strncasecmp.
49752
69da074d
UD
497532010-11-08 Ulrich Drepper <drepper@gmail.com>
49754
49755 [BZ #12194]
49756 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49757 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49758
ff02d528
L
497592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49760
49761 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49762 IFUNC support.
49763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49764 memset-x86-64.
49765 * sysdeps/x86_64/multiarch/bzero.S: New file.
49766 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49767 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49768 * sysdeps/x86_64/multiarch/memset.S: New file.
49769 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49771 Set bit_Prefer_SSE_for_memop for Intel processors.
49772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49773 Define.
49774 (index_Prefer_SSE_for_memop): Define.
49775 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49776
344d0b54
LM
497772010-11-04 Luis Machado <luisgpm@br.ibm.com>
49778
49779 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49780 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49781
c0dde15b
UD
497822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49783
49784 [BZ #12191]
49785 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49786 (__x86_64_raw_data_cache_size_half): Likewise.
49787 (__x86_64_raw_shared_cache_size): Likewise.
49788 (__x86_64_raw_shared_cache_size_half): Likewise.
49789
49790 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49791 (__x86_64_raw_data_cache_size_half): Likewise.
49792 (__x86_64_raw_shared_cache_size): Likewise.
49793 (__x86_64_raw_shared_cache_size_half): Likewise.
49794 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49795 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49796 and __x86_64_raw_shared_cache_size_half. Round
49797 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49798 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49799 to multiple of 256 bytes.
49800
0e516e0e
MS
498012010-11-03 Ulrich Drepper <drepper@gmail.com>
49802
49803 [BZ #12167]
49804 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49805 of inacessible symlinks. Verify result of symlink before returning it.
49806 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49807 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49808
0e012e87
ER
498092010-10-28 Erich Ritz <erichritz@gmail.com>
49810
49811 * math/math.h (isinf): Fix typo in comment.
49812
de0ff7bc
UD
498132010-11-01 Ulrich Drepper <drepper@gmail.com>
49814
49815 * po/da.po: Update from translation team.
49816
fa41c84d
UD
498172010-10-26 Ulrich Drepper <drepper@gmail.com>
49818
49819 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49820 is added to the list.
49821
f0967738
AK
498222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49823 Ulrich Drepper <drepper@gmail.com>
49824
49825 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49826 the global list here. Move code to...
49827 (_dl_add_to_namespace_list): ...here. New function.
49828 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49829 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49830 * elf/dl-load.c (lose): Don't remove the element from the list.
49831 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49832 (_dl_map_object): Likewise.
49833
498342010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
49835
49836 [BZ #12159]
49837 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49838 into all bytes of SSE register.
49839 Patch by Richard Li <richardpku@gmail.com>.
49840
f0967738 498412010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
49842
49843 [BZ #12140]
49844 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49845 perturbing.
49846
d0b9e94f
MB
498472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49848
49849 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49850 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49851 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49852 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49854 submachine.
49855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49856
8e9f92e9
AS
498572010-10-22 Andreas Schwab <schwab@redhat.com>
49858
49859 * include/dlfcn.h (__RTLD_SECURE): Define.
49860 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49861 mode & __RTLD_SECURE instead.
49862 (open_path): Rename preloaded parameter to secure.
49863 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49864 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49865 * elf/dl-deps.c (openaux): Likewise.
49866 * elf/rtld.c (struct map_args): Remove is_preloaded.
49867 (map_doit): Don't use it.
49868 (dl_main): Likewise.
49869 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49870 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49871
bc96fbda
AS
498722010-09-09 Andreas Schwab <schwab@redhat.com>
49873
49874 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49875 (sysd-rules-targets): Remove duplicates.
49876 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49877 rtld-%.$o dependency.
49878
22cd1c9b
AS
498792010-10-18 Andreas Schwab <schwab@redhat.com>
49880
49881 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49882 _dl_map_object do it.
49883
18edac48
UD
498842010-10-19 Ulrich Drepper <drepper@gmail.com>
49885
49886 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49887 fast fma builtins, define the macros in the C99 standard.
49888 (FP_FAST_FMAF): Likewise.
49889 (FP_FAST_FMAL): Likewise.
49890 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49891
49892 * bits/mathdef.h: Update copyright year.
49893 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49894
d2050124
MM
498952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49896
49897 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49898 builtins, define the macros in the C99 standard.
49899 (FP_FAST_FMAF): Likewise.
49900 (FP_FAST_FMAL): Likewise.
49901 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49902 multiply/add.
49903 (FP_FAST_FMAF): Likewise.
49904
475facd1
JJ
499052010-10-15 Jakub Jelinek <jakub@redhat.com>
49906
49907 [BZ #3268]
49908 * math/libm-test.inc (fma_test): Some new testcases.
49909 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49910 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49911 y and infinite z. Do multiplication by C already in long double.
49912 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49914 y and infinite z. Do bitwise or of inexact bit into u.d.
49915 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49916 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49917 * sysdeps/i386/fpu/s_fma.S: Removed.
49918 * sysdeps/i386/fpu/s_fmal.S: Removed.
49919
7c08a05c
JJ
499202010-10-16 Jakub Jelinek <jakub@redhat.com>
49921
49922 [BZ #3268]
49923 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49925 computation is not scheduled after fetestexcept. Fix value
49926 of minimum denormal long double.
49927
f3f7372d
JJ
499282010-10-14 Jakub Jelinek <jakub@redhat.com>
49929
49930 [BZ #3268]
49931 * math/libm-test.inc (fma_test): Add some more tests.
49932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49933 correctly.
49934
14d43591
AS
499352010-10-15 Andreas Schwab <schwab@redhat.com>
49936
49937 * scripts/data/localplt-s390-linux-gnu.data: New file.
49938 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49939
5e908464
JJ
499402010-10-13 Jakub Jelinek <jakub@redhat.com>
49941
49942 [BZ #3268]
49943 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49944 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49945 instead of dbl-64.
49946 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49947 inlines.
49948 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49950 if one of x and y is very large and the other is subnormal.
49951 * sysdeps/s390/fpu/s_fmaf.c: New file.
49952 * sysdeps/s390/fpu/s_fma.c: New file.
49953 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49954 * sysdeps/powerpc/fpu/s_fma.S: New file.
49955 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49956 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49957 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49958
499592010-10-12 Jakub Jelinek <jakub@redhat.com>
49960
49961 [BZ #3268]
49962 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49963 fma tests.
49964 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49965 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49966 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49967 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49968 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49969 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49970 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49971
b833d51f
UD
499722010-10-12 Ulrich Drepper <drepper@redhat.com>
49973
49974 [BZ #12078]
49975 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49976 * posix/bug-regex31.input: Add test case.
49977
1751705d
UD
499782010-10-11 Ulrich Drepper <drepper@gmail.com>
49979
e9b9cbf5
UD
49980 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49981 * posix/bug-regex31.input: New file.
49982
49983 [BZ #12078]
49984 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49985 (parse_sub_exp): Fix last change, use postorder.
49986
ef06edbe
UD
49987 * posix/bug-regex31.c: New file.
49988 * posix/Makefile: Add rules to build and run bug-regex31.
49989
a129c80d
UD
49990 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49991
49992 [BZ #12078]
49993 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49994
b76b818e
UD
49995 [BZ #12108]
49996 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49997 to have entries in sys_siglist.
49998
1751705d
UD
49999 [BZ #12093]
50000 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50001 be NULL.
50002
9ff8d36f
JJ
500032010-10-07 Jakub Jelinek <jakub@redhat.com>
50004
50005 [BZ #3268]
50006 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50007 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50008 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50009 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50010 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50011 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50012 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50013 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50014 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50015 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50016 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50017 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50018 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50019 * math/ftestexcept.c (fetestexcept): Likewise.
50020 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50021 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50022 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50023 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50024 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50025 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50026 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50027
af325969
UD
500282010-10-11 Ulrich Drepper <drepper@gmail.com>
50029
c579b202 50030 [BZ #12107]
af325969
UD
50031 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50032 newline.
50033
67a67b95
UD
500342010-10-06 Ulrich Drepper <drepper@gmail.com>
50035
50036 * string/bug-strstr1.c: New file.
50037 * string/Makefile: Add rules to build and run bug-strstr1.
50038
5fb308bc
EB
500392010-10-05 Eric Blake <eblake@redhat.com>
50040
50041 [BZ #12092]
50042 * string/str-two-way.h (two_way_long_needle): Always clear memory
50043 when skipping input due to the shift table.
50044
45db99c7
UD
500452010-10-03 Ulrich Drepper <drepper@gmail.com>
50046
3b111893
UD
50047 [BZ #12005]
50048 * malloc/mcheck.c: Handle large requests.
50049
45db99c7
UD
50050 [BZ #12077]
50051 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50052 for strncmp and strncasecmp.
50053 * string/stratcliff.c: Add tests for strcmp and strncmp.
50054 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50055
cf7a1eb8
NI
500562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50057
50058 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50059 __set_fpscr.
50060
6484ba5e
AJ
500612010-09-30 Andreas Jaeger <aj@suse.de>
50062
50063 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50064 (CGROUP_SUPER_MAGIC): Define.
50065 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50066 Handle btrfs and cgroup file systems.
50067 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50068 Likewise.
50069
91c42559
LM
500702010-09-27 Luis Machado <luisgpm@br.ibm.com>
50071
50072 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50073 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50074
87a97932
AK
500752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50076
50077 [BZ #12067]
50078 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50079 trying to locate the ELF header.
50080
c21cc9bc
AS
500812010-09-27 Andreas Schwab <schwab@redhat.com>
50082
50083 [BZ #11611]
50084 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50085 Mask out sign-bit copies when constructing f_fsid.
50086
315970f6
PB
500872010-09-24 Petr Baudis <pasky@suse.cz>
50088
50089 * debug/stack_chk_fail_local.c: Add missing licence exception.
50090 * debug/warning-nop.c: Likewise.
50091
1ac7a2c7
JM
500922010-09-15 Joseph Myers <joseph@codesourcery.com>
50093
50094 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50095 implementing getdents64 using getdents syscall, set d_type if
50096 __ASSUME_GETDENTS32_D_TYPE.
50097
56801c50
AS
500982010-09-16 Andreas Schwab <schwab@redhat.com>
50099
50100 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50101 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50102
dda51327
UD
501032010-09-21 Ulrich Drepper <drepper@redhat.com>
50104
50105 [BZ #12037]
50106 * posix/unistd.h: Undo change of feature selection for ftruncate from
50107 2010-01-11.
50108
8ffcee4a
UD
501092010-09-20 Ulrich Drepper <drepper@redhat.com>
50110
a545ecd9 50111 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50112 detection.
50113
e24f0a8b
AS
501142010-09-20 Andreas Schwab <schwab@redhat.com>
50115
50116 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50117 fanotify_mark.
50118 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50119
7291c56f
AS
501202010-09-14 Andreas Schwab <schwab@redhat.com>
50121
50122 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50123 variables after CHECK_SP call.
50124 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50125
bc5fb037
AS
501262010-09-13 Andreas Schwab <schwab@redhat.com>
50127 Ulrich Drepper <drepper@redhat.com>
50128
50129 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50130 re-relocationg ld.so.
50131 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50132 _dl_init_paths call.
50133 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50134 here anymore.
50135
e66e7419
UD
501362010-09-14 Ulrich Drepper <drepper@redhat.com>
50137
50138 * resolv/res_init.c (__res_vinit): Count the default server we added.
50139
c044aa75
CLT
501402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50141 Ulrich Drepper <drepper@redhat.com>
50142
50143 [BZ #11968]
50144 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50145 (____longjmp_chk): Use %ebx for saving value across system call.
50146 Add unwind info.
50147
32cf4069
AS
501482010-09-06 Andreas Schwab <schwab@redhat.com>
50149
50150 * manual/Makefile: Don't mix pattern rules with normal rules.
50151
817328ee
AS
501522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50153
50154 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50155 operation.
50156 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50157 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50158 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50159 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50161 Likewise.
50162
29fddf61
UD
501632010-09-04 Ulrich Drepper <drepper@redhat.com>
50164
50165 [BZ #11979]
50166 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50167 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50168
0959ffc9
UD
501692010-09-02 Ulrich Drepper <drepper@redhat.com>
50170
50171 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50172 * sysdeps/x86_64/addmul_1.S: Likewise.
50173 * sysdeps/x86_64/lshift.S: Likewise.
50174 * sysdeps/x86_64/mul_1.S: Likewise.
50175 * sysdeps/x86_64/rshift.S: Likewise.
50176 * sysdeps/x86_64/sub_n.S: Likewise.
50177 * sysdeps/x86_64/submul_1.S: Likewise.
50178
ece29840
ST
501792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50180
0959ffc9
UD
50181 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50182 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50183 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50184 * bits/sched.h [__need_schedparam]
ece29840 50185 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50186 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50187 (__defined_schedparam): Define to 1.
ece29840
ST
50188 (__sched_param): New structure, identical to sched_param.
50189 (__need_schedparam): Undefine.
50190
e53a31fe
MF
501912010-08-31 Mike Frysinger <vapier@gentoo.org>
50192
fdc0c10d
MF
50193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50194 (epoll_create1): Declare.
50195
e53a31fe
MF
50196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50197
a726d796
AS
501982010-08-31 Andreas Schwab <schwab@redhat.com>
50199
50200 [BZ #7066]
50201 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50202 shifting retval into place.
50203
2f3e3dc7
UD
502042010-09-01 Ulrich Drepper <drepper@redhat.com>
50205
f2933da9
UD
50206 * nis/rpcsvc/nis.h: Update copyright notice.
50207 * nis/rpcsvc/nis.x: Likewise.
50208 * nis/rpcsvc/nis_callback.h: Likewise.
50209 * nis/rpcsvc/nis_callback.x: Likewise.
50210 * nis/rpcsvc/nis_object.x: Likewise.
50211 * nis/rpcsvc/nis_tags.h: Likewise.
50212 * nis/rpcsvc/yp.h: Likewise.
50213 * nis/rpcsvc/yp.x: Likewise.
50214 * nis/rpcsvc/ypupd.h: Likewise.
50215 * nis/yp_xdr.c: Likewise.
50216 * nis/ypupdate_xdr.c: Likewise.
50217
2f3e3dc7
UD
50218 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50219 mainly the body of pmap_getport. Add parameters to specify timeouts.
50220 (pmap_getport): Use __libc_rpc_getport.
50221 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50222 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50223 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50224
f3dcc2f9
AS
502252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50226
50227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50228 fanotify_mark.
50229
6d34eb5b
RM
502302010-08-27 Roland McGrath <roland@redhat.com>
50231
50232 * sysdeps/i386/i686/multiarch/Makefile
50233 (CFLAGS-varshift.c): New variable.
50234
9ea3de11
UD
502352010-08-27 Ulrich Drepper <drepper@redhat.com>
50236
c96d23fc
UD
50237 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50238 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50239
9ea3de11
UD
50240 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50241
50242 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50243
623aac7f
L
502442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50245
50246 * sysdeps/x86_64/strlen.S: Unroll the loop.
50247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50248 strlen-sse2 strlen-sse2-bsf.
50249 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50250 __strlen_no_bsf if bit_Slow_BSF is set.
50251 (__strlen_sse42): Removed.
50252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50253 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50254
8b2b7715
RM
502552010-08-25 Roland McGrath <roland@redhat.com>
50256
50257 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50258 * sysdeps/x86_64/multiarch/varshift.c: New file.
50259 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50260 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50261 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50262 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50263
e73015f2
L
502642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50265
50266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50267 strlen-sse2 strlen-sse2-bsf.
50268 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50269 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50270 (__strlen_sse2): Removed.
50271 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50272 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50274 bit_Slow_BSF for Atom.
50275 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50276 (index_Slow_BSF): Define.
50277 (HAS_SLOW_BSF): Define.
50278
df24a73e
UD
502792010-08-25 Ulrich Drepper <drepper@redhat.com>
50280
50281 [BZ #10851]
50282 * resolv/res_init.c (__res_vinit): When no server address at all
50283 is given default to loopback.
50284
f2ac4868
RM
502852010-08-24 Roland McGrath <roland@redhat.com>
50286
09055553
RM
50287 * configure.in: Remove config-name.h generation.
50288 * configure: Regenerated.
50289 * config-name.in: File removed.
50290 * scripts/config-uname.sh: New file.
50291 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50292 ($(objdir)config-name.h): New target.
50293
f2ac4868
RM
50294 * sunrpc/rpc_parse.h: Avoid nested comment.
50295
73f27d5e
RH
502962010-08-24 Richard Henderson <rth@redhat.com>
50297 Ulrich Drepper <drepper@redhat.com>
50298 H.J. Lu <hongjiu.lu@intel.com>
50299
50300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50302 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50303 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50304 _mm_alignr_epi8 with _mm_loadu_si128.
50305 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50306 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50307 (__m128i_shift_right): Removed.
50308 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50309 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50310 * sysdeps/x86_64/multiarch/varshift.h: New file.
50311 * sysdeps/x86_64/multiarch/varshift.S: New file.
50312
84b9230c
MF
503132010-08-21 Mike Frysinger <vapier@gentoo.org>
50314
50315 * configure.in: Move assembler checks to before sysdep dir checking.
50316
9bbd0ddc
PB
503172010-08-20 Petr Baudis <pasky@suse.cz>
50318
50319 * LICENSES: Sync the sunrpc license.
50320
9da4bb31
UD
503212010-08-19 Ulrich Drepper <drepper@redhat.com>
50322
a7ab6ec8
UD
50323 * sunrpc/auth_des.c: Update copyright notice once again.
50324 * sunrpc/auth_none.c: Likewise.
50325 * sunrpc/auth_unix.c: Likewise.
50326 * sunrpc/authdes_prot.c: Likewise.
50327 * sunrpc/authuxprot.c: Likewise.
50328 * sunrpc/bindrsvprt.c: Likewise.
50329 * sunrpc/clnt_gen.c: Likewise.
50330 * sunrpc/clnt_perr.c: Likewise.
50331 * sunrpc/clnt_raw.c: Likewise.
50332 * sunrpc/clnt_simp.c: Likewise.
50333 * sunrpc/clnt_tcp.c: Likewise.
50334 * sunrpc/clnt_udp.c: Likewise.
50335 * sunrpc/clnt_unix.c: Likewise.
50336 * sunrpc/des_crypt.c: Likewise.
50337 * sunrpc/des_soft.c: Likewise.
50338 * sunrpc/get_myaddr.c: Likewise.
50339 * sunrpc/getrpcport.c: Likewise.
50340 * sunrpc/key_call.c: Likewise.
50341 * sunrpc/key_prot.c: Likewise.
50342 * sunrpc/openchild.c: Likewise.
50343 * sunrpc/pm_getmaps.c: Likewise.
50344 * sunrpc/pm_getport.c: Likewise.
50345 * sunrpc/pmap_clnt.c: Likewise.
50346 * sunrpc/pmap_prot.c: Likewise.
50347 * sunrpc/pmap_prot2.c: Likewise.
50348 * sunrpc/pmap_rmt.c: Likewise.
50349 * sunrpc/rpc/auth.h: Likewise.
50350 * sunrpc/rpc/auth_unix.h: Likewise.
50351 * sunrpc/rpc/clnt.h: Likewise.
50352 * sunrpc/rpc/des_crypt.h: Likewise.
50353 * sunrpc/rpc/key_prot.h: Likewise.
50354 * sunrpc/rpc/netdb.h: Likewise.
50355 * sunrpc/rpc/pmap_clnt.h: Likewise.
50356 * sunrpc/rpc/pmap_prot.h: Likewise.
50357 * sunrpc/rpc/pmap_rmt.h: Likewise.
50358 * sunrpc/rpc/rpc.h: Likewise.
50359 * sunrpc/rpc/rpc_des.h: Likewise.
50360 * sunrpc/rpc/rpc_msg.h: Likewise.
50361 * sunrpc/rpc/svc.h: Likewise.
50362 * sunrpc/rpc/svc_auth.h: Likewise.
50363 * sunrpc/rpc/types.h: Likewise.
50364 * sunrpc/rpc/xdr.h: Likewise.
50365 * sunrpc/rpc_clntout.c: Likewise.
50366 * sunrpc/rpc_cmsg.c: Likewise.
50367 * sunrpc/rpc_common.c: Likewise.
50368 * sunrpc/rpc_cout.c: Likewise.
50369 * sunrpc/rpc_dtable.c: Likewise.
50370 * sunrpc/rpc_hout.c: Likewise.
50371 * sunrpc/rpc_main.c: Likewise.
50372 * sunrpc/rpc_parse.c: Likewise.
50373 * sunrpc/rpc_parse.h: Likewise.
50374 * sunrpc/rpc_prot.c: Likewise.
50375 * sunrpc/rpc_sample.c: Likewise.
50376 * sunrpc/rpc_scan.c: Likewise.
50377 * sunrpc/rpc_scan.h: Likewise.
50378 * sunrpc/rpc_svcout.c: Likewise.
50379 * sunrpc/rpc_tblout.c: Likewise.
50380 * sunrpc/rpc_util.c: Likewise.
50381 * sunrpc/rpc_util.h: Likewise.
50382 * sunrpc/rpcinfo.c: Likewise.
50383 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50384 * sunrpc/rpcsvc/key_prot.x: Likewise.
50385 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50386 * sunrpc/rpcsvc/mount.x: Likewise.
50387 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50388 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50389 * sunrpc/rpcsvc/rex.x: Likewise.
50390 * sunrpc/rpcsvc/rstat.x: Likewise.
50391 * sunrpc/rpcsvc/rusers.x: Likewise.
50392 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50393 * sunrpc/rpcsvc/spray.x: Likewise.
50394 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50395 * sunrpc/rtime.c: Likewise.
50396 * sunrpc/svc.c: Likewise.
50397 * sunrpc/svc_auth.c: Likewise.
50398 * sunrpc/svc_authux.c: Likewise.
50399 * sunrpc/svc_raw.c: Likewise.
50400 * sunrpc/svc_run.c: Likewise.
50401 * sunrpc/svc_simple.c: Likewise.
50402 * sunrpc/svc_tcp.c: Likewise.
50403 * sunrpc/svc_udp.c: Likewise.
50404 * sunrpc/svc_unix.c: Likewise.
50405 * sunrpc/svcauth_des.c: Likewise.
50406 * sunrpc/xcrypt.c: Likewise.
50407 * sunrpc/xdr.c: Likewise.
50408 * sunrpc/xdr_array.c: Likewise.
50409 * sunrpc/xdr_float.c: Likewise.
50410 * sunrpc/xdr_mem.c: Likewise.
50411 * sunrpc/xdr_rec.c: Likewise.
50412 * sunrpc/xdr_ref.c: Likewise.
50413 * sunrpc/xdr_sizeof.c: Likewise.
50414 * sunrpc/xdr_stdio.c: Likewise.
50415
9da4bb31
UD
50416 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50417 handling.
50418
bdaa77bc
AS
504192010-08-19 Andreas Schwab <schwab@redhat.com>
50420
50421 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50422
fe2f79db
LM
504232010-08-19 Luis Machado <luisgpm@br.ibm.com>
50424
50425 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50427 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50428 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50429 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50430 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50431 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50432 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50433 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50434 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50435 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50436 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50437 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50438 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50439
b9b42ee0
AB
504402010-07-26 Anton Blanchard <anton@samba.org>
50441
50442 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50443 * malloc/arena.c (heap_trim): Likewise.
50444
1c06ba31
UD
504452010-08-16 Ulrich Drepper <drepper@redhat.com>
50446
50447 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50448 here. Not...
50449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50450 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50451
f8392f40
L
504522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50453
50454 * sysdeps/i386/elf/Makefile: New file.
50455
3162f12e
AS
504562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50457
50458 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50459 from fanotify_init.
50460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50461 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50462
28c90b2c
UD
504632010-08-15 Ulrich Drepper <drepper@redhat.com>
50464
50465 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50466 of strncasecmp_l.
1feccb6c 50467 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 50468
ca6bb004
UD
504692010-08-14 Ulrich Drepper <drepper@redhat.com>
50470
e9f82e0d
UD
50471 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50472 strncase_l-nonascii.
50473 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50474 Add strncase_l-ssse3.
50475 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50476 * sysdeps/x86_64/strcmp.S: Likewise.
50477 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50478 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50479 * sysdeps/x86_64/strncase.S: New file.
50480 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50481 * sysdeps/x86_64/strncase_l.S: New file.
50482 * string/Makefile (strop-tests): Add strncasecmp.
50483 * string/test-strncasecmp.c: New file.
50484
50485 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50486 warning.
50487
ca6bb004
UD
50488 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50489 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50490
052fa7b3
AS
504912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50492
50493 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50494
962dba78
UD
504952010-08-12 Ulrich Drepper <drepper@redhat.com>
50496
50497 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50498 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50499 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50500
bebff237
AM
505012010-05-01 Alan Modra <amodra@gmail.com>
50502
50503 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50504 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50505 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50506 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50507 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50508 tidying. Don't tail-call __sigjmp_save for static lib.
50509 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50510 save location.
50511 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50512 (CALL_MCOUNT): Add eh info, and nop after bl.
50513 (TAIL_CALL_SYSCALL_ERROR): New macro.
50514 (PSEUDO_RET): Use it.
50515 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50516 Correct save location of integer regs and cr.
50517 (_dl_profile_resolve): Correct cr save location. Delete nops
50518 after bl when SHARED. Reduce cfi size a little by better
50519 placement of cfi directives.
50520 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50521 make a stack frame. Instead use parm save area as a temp.
50522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50523 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50525 Don't make a stack frame for parent, use parm save area.
50526 Increase child stack frame to 112 bytes. Don't save unused reg,
50527 and adjust reg usage. Set up cfi on error recovery and
50528 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50530 (__makecontext): Add dummy nop after jump to exit.
50531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50532 Use correct parm save area and cr save, reduce stack frame.
50533 Correct cfi for possible PSEUDO_RET frame setup.
50534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50535 Branch to local label emitted by PSEUDO_RET rather than
50536 __syscall_error.
50537
02637374
AS
505382010-08-12 Andreas Schwab <schwab@redhat.com>
50539
50540 [BZ #11904]
50541 * locale/programs/locale.c (print_assignment): New function.
50542 (show_locale_vars): Use it.
50543
c3e2f19b
UD
505442010-08-11 Ulrich Drepper <drepper@redhat.com>
50545
3cdaa6ad
UD
50546 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50547 field.
50548 (struct statfs64): Likewise.
50549 (_STATFS_F_FLAGS): Define.
50550 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50552 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50553 (ST_VALID): Define locally.
50554 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50555 __statvfs_getflags, use the provided value.
50556 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50557 __ASSUME_STATFS_F_FLAGS.
50558
754f7da3
UD
50559 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50560
10b3bedc
UD
50561 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50562 Add sys/fanotify.h.
50563 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50564 fanotify_mask for GLIBC_2.13.
50565 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50566 fanotify_init and fanotify_mark.
50567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50568 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50569
c08fb0d7
UD
50570 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50571 Add prlimit.
50572 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50573 prlimit64 for GLIBC_2.13.
50574 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50575 prlimit64.
50576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50577 syscall.
50578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50579 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50580 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50581 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50583 add prlimit alias.
50584 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50585
15bac72b
UD
50586 [BZ #11903]
50587 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50588 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50589
c3e2f19b
UD
50590 * nss/Makefile: Add rules to build and run tst-nss-test1.
50591 * shlib-versions: Add entry for libnss_test1.
50592 * nss/nss_test1.c: New file.
50593 * nss/tst-nss-test1.c: New file.
50594
50595 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50596 (__nss_configure_lookup): Set appropriate entry in
50597 __nss_configure_lookup to true.
50598 * nss/nsswitch.h: Define enum with indeces of databases in
50599 databases and __nss_database_custom arrays. Declare
50600 __nss_database_custom.
50601 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50602 to avoid using nscd when custom rules are installed.
50603 * nss/getXXbyYY_r.c: Likewise.
50604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50605
50606 * nss/nss_files/files-parse.c: Whitespace fixes.
50607
f15ce4d8
UD
506082010-08-09 Ulrich Drepper <drepper@redhat.com>
50609
50610 [BZ #11883]
50611 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50612 * posix/fnmatch_loop.c: Likewise.
50613
d22e4cc9
AK
506142010-07-17 Andi Kleen <ak@linux.intel.com>
50615
50616 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50617 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50618 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50619 * Versions.def [GLIBC_2.13]: Add.
50620
805bc17d
UD
506212010-08-06 Ulrich Drepper <drepper@redhat.com>
50622
50623 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50624 Also fail if tpwd after pwuid call is NULL.
50625
5a42321d
ST
506262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50627
50628 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50629 when converting to ms.
50630
fd3ebeda
ST
506312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50632
50633 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50634 EOPNOTSUPP errors with ENOTTY.
50635 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50636 EOPNOTSUPP errors with ENOTTY.
50637
73507d3a
UD
506382010-07-31 Ulrich Drepper <drepper@redhat.com>
50639
50640 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50641 Add strcasecmp_l-ssse3.
50642 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50643 strcasecmp.
50644 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50645 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50646 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50647
fe36dd02
UD
506482010-07-30 Ulrich Drepper <drepper@redhat.com>
50649
66f6765a
UD
50650 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50651
42e08a54
UD
50652 * string/Makefile (strop-tests): Add strcasecmp.
50653 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50654 strcasecmp_l-nonascii.
50655 (gen-as-const-headers): Add locale-defines.sym.
50656 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50657 * sysdeps/x86_64/strcasecmp.S: New file.
50658 * sysdeps/x86_64/strcasecmp_l.S: New file.
50659 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50660 * sysdeps/x86_64/locale-defines.sym: New file.
50661 * string/test-strcasecmp.c: New file.
50662
fe36dd02
UD
50663 * string/test-strcasestr.c: Test both ends of the range of characters.
50664 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50665
48cbc0d6
RM
506662010-07-29 Roland McGrath <roland@redhat.com>
50667
76e6d6bc 50668 [BZ #11856]
48cbc0d6
RM
50669 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50670
880113d9
UD
506712010-07-27 Ulrich Drepper <drepper@redhat.com>
50672
50673 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50674 for ld.so.
50675
deb9cabb
AS
506762010-07-27 Andreas Schwab <schwab@redhat.com>
50677
50678 * manual/memory.texi (Malloc Tunable Parameters): Document
50679 M_PERTURB.
50680
1c7570ff
RM
506812010-07-26 Roland McGrath <roland@redhat.com>
50682
50683 [BZ #11840]
50684 * configure.in (-fgnu89-inline check): Set and substitute
50685 gnu89_inline, not libc_cv_gnu89_inline.
50686 * configure: Regenerated.
50687 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50688
24fb0f88
UD
506892010-07-26 Ulrich Drepper <drepper@redhat.com>
50690
50691 * string/test-strnlen.c: New file.
50692 * string/Makefile (strop-tests): Add strnlen.
50693 * string/tester.c (test_strnlen): Add a few more test cases.
50694 * string/tst-strlen.c: Better error reporting.
50695
50696 * sysdeps/x86_64/strnlen.S: New file.
50697
8e96b93a
UD
506982010-07-24 Ulrich Drepper <drepper@redhat.com>
50699
50700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50701 lower-latency instructions.
50702
dbc676d4
UD
507032010-07-23 Ulrich Drepper <drepper@redhat.com>
50704
50705 * string/test-strcasestr.c: New file.
50706 * string/test-strstr.c: New file.
50707 * string/Makefile (strop-tests): Add strstr and strcasestr.
50708 * string/str-two-way.h: Don't undefine MAX.
50709 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50710
f6a31e0e
AS
507112010-07-21 Andreas Schwab <schwab@redhat.com>
50712
50713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50714 strcasestr-nonascii.
50715 (CFLAGS-strcasestr-nonascii.c): Define.
50716 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50718 Remove unused attribute.
50719
5dbc3b6c
RM
507202010-07-20 Roland McGrath <roland@redhat.com>
50721
50722 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50723 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50724 ld.so.cache was broken. With it, there is no way to disable dsocaps
50725 like LD_HWCAP_MASK can disable hwcaps.
50726
23d101d8
EPM
507272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50728
50729 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50730
cc9f2e47
UD
507312010-07-16 Ulrich Drepper <drepper@redhat.com>
50732
50733 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50734 call in strcasestr.
50735 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50736 __strcasestr_sse42_nonascii.
50737 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50738 strcasestr-nonascii.c.
50739 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50740
77c1b069
LM
507412010-06-15 Luis Machado <luisgpm@br.ibm.com>
50742
50743 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50744 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50745 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50746 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50747
440566c3
UD
507482010-07-09 Ulrich Drepper <drepper@redhat.com>
50749
50750 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50751 fcntl.
50752
5be9d05d
AS
507532010-07-06 Andreas Schwab <schwab@redhat.com>
50754
c30b7ee2 50755 [BZ #11577]
5be9d05d
AS
50756 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50757 dl_signal_cerror.
50758
8a492a67
UD
507592010-07-06 Ulrich Drepper <drepper@redhat.com>
50760
50761 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50762 _PC_PIPE_BUF using F_GETPIPE_SZ.
50763
713df3d5
RM
507642010-07-05 Roland McGrath <roland@redhat.com>
50765
50766 * manual/arith.texi (Rounding Functions): Fix rint description
50767 implicit in round description.
50768
702e8f14
UD
507692010-07-02 Ulrich Drepper <drepper@redhat.com>
50770
50771 * elf/Makefile: Fix linking for a few tests to make recent linker
50772 happy.
50773
52ed8be9
AS
507742010-06-30 Andreas Schwab <schwab@redhat.com>
50775
50776 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50777 $(common-objpfx)libc_nonshared.a.
50778
f47c9a11
LM
507792010-06-21 Luis Machado <luisgpm@br.ibm.com>
50780
50781 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50782 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50783 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50784 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50785 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50786 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50787 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50788 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50803 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50804 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50805 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50806 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50807 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50808 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50809 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50810 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50811 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50812 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50813 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50814 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50829
6fb8cbcb
L
508302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50831
50832 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50833 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50834 * string/memmove.c (memmove): Renamed to ...
50835 (MEMMOVE): ...this. Default to memmove.
50836 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50837 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50838 (END_CHK): Define.
50839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50840 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50841 mempcpy-ssse3-back memmove-ssse3-back.
50842 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50843 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50844 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50845 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50846 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50847 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50848 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50849 * sysdeps/x86_64/multiarch/memmove.c: New file.
50850 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50851 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50852 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50853 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50854 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50855 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50856 Define.
50857 (index_Fast_Copy_Backward): Define.
50858 (HAS_ARCH_FEATURE): Define.
50859 (HAS_FAST_REP_STRING): Define.
50860 (HAS_FAST_COPY_BACKWARD): Define.
50861
4e733bac 508622010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
50863
50864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50865 Restore proper fallback handling.
50866
63c4ed22
UD
508672010-06-19 Ulrich Drepper <drepper@redhat.com>
50868
ac2b484c
UD
50869 [BZ #11701]
50870 * posix/group_member.c (__group_member): Correct checking loop.
50871
63c4ed22
UD
50872 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50873 OOM in getpwuid_r correctly. Return error number when the caller
50874 should return, otherwise -1.
50875 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50876 call returning > 0 value.
50877 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50878
765ade4b
AS
508792010-06-07 Andreas Schwab <schwab@redhat.com>
50880
50881 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50882 libc_nonshared.a from targets in modules-names.
50883
80da2e09
KS
508842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50885
50886 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50887 requires it.
50888
158db122
LM
508892010-06-10 Luis Machado <luisgpm@br.ibm.com>
50890
50891 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50892 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50895
caa78cf8
AS
508962010-06-02 Andreas Schwab <schwab@redhat.com>
50897
50898 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50899
b2ef2c01
UD
509002010-06-14 Ulrich Drepper <drepper@redhat.com>
50901
50902 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50903 and F_GETPIPE_SZ.
50904 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50908 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50910
fbd643b6
RM
509112010-06-14 Roland McGrath <roland@redhat.com>
50912
50913 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50914
f32f2869
JJ
509152010-06-07 Jakub Jelinek <jakub@redhat.com>
50916
50917 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50918 __REDIRECT followed by __THROW.
50919 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50920 * posix/getopt.h (getopt): Likewise.
50921
2a50c078
EPM
509222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50923
50924 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50925 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50926 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50927 in AT_FLAGS.
50928 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50929 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50930
eb5ad2eb
LM
509312010-05-28 Luis Machado <luisgpm@br.ibm.com>
50932
50933 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50934
3c88fe1e
L
509352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50936
50937 [BZ #11640]
50938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50939 Properly check family and model.
50940
d2f73151
TY
509412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50942
50943 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50944
ebd2e13d
LM
509452010-05-24 Luis Machado <luisgpm@br.ibm.com>
50946
50947 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50948
b32b8b45
UD
509492010-05-21 Ulrich Drepper <drepper@redhat.com>
50950
50951 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50952 symbol reference.
50953
9acbe24d
AS
509542010-05-19 Andreas Schwab <schwab@redhat.com>
50955
50956 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50957 symbol reference.
50958
f0ccf6ea
AS
509592010-05-21 Andreas Schwab <schwab@redhat.com>
50960
3d04ff3a
AS
50961 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50962 and internal_recvmmsg.
50963 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50964 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50965 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50966 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50967
f0ccf6ea
AS
50968 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50969 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50970 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50971
5b08ac57
AS
509722010-05-20 Andreas Schwab <schwab@redhat.com>
50973
50974 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50975
4828935d
LM
509762010-05-17 Luis Machado <luisgpm@br.ibm.com>
50977
50978 POWER7 optimizations.
50979 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50980 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50981
373d545e
UD
509822010-05-19 Ulrich Drepper <drepper@redhat.com>
50983
50984 * version.h: Update for 2.13 development version.
50985
21a2b1ae
AS
509862010-05-12 Andrew Stubbs <ams@codesourcery.com>
50987
50988 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50989 exceptions. Return 0.
50990
3f7dcb2b
RM
509912010-05-07 Roland McGrath <roland@redhat.com>
50992
50993 * elf/ldconfig.c (main): Add a const.
50994
5f24d53a 509952010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 50996
a160f8d8
UD
50997 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50998 (args_options): Add no-idn option.
50999 (ahosts_keys_int): Add idn_flags to ai_flags.
51000 (parse_option): Handle 'i' option to clear idn_flags.
51001
5f24d53a
UD
51002 * malloc/malloc.c (_int_free): Possible race in the most recently
51003 added check. Only act on the data if no current modification
51004 happened.
265bb1ce
UD
51005
51006See ChangeLog.17 for earlier changes.