1 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3 * timezone/checktab.awk: Update from tzcode 2012i.
4 * timezone/ialloc.c: Likewise.
5 * timezone/private.h: Likewise.
6 * timezone/scheck.c: Likewise.
7 * timezone/tzfile.h: Likewise.
8 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9 (TZVERSION): Hardcode tzcode version number.
10 * timezone/zdump.c: Update from tzcode 2012i.
11 * timezone/zic.c: Likewise.
12 * timezone/version.h: New file.
13 * timezone/README: Describe version.h. Update upstream location.
16 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17 (mktemp): Enable declaration.
18 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37 for copies of such integer values.
38 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41 2012-11-09 Andreas Jaeger <aj@suse.de>
43 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44 definitions and declarations that are provided by
45 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56 * elf/elf.h: Update comment before AArch64 relocations.
58 2012-11-07 David S. Miller <davem@davemloft.net>
60 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62 (__start_context): Declare.
63 (__makecontext_ret): Delete.
64 (__makecontext): Hook up __start_context instead of
66 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67 (sysdep_routines): Add __start_context when in stdlib.
69 2012-11-07 Joseph Myers <joseph@codesourcery.com>
71 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
73 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
75 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
76 (READELF): New variable. Use it instead of hardcoded "readelf".
78 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
80 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
81 * sysdeps/x86/Makefile: Here.
82 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
83 * sysdeps/x86/tst-xmmymm.sh: This.
85 2012-11-07 Joseph Myers <joseph@codesourcery.com>
87 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
89 [UNIX98] (pthread_barrier_t): Do not expect.
90 [UNIX98] (pthread_barrierattr_t): Likewise.
91 [UNIX98] (pthread_spinlock_t): Likewise.
92 [UNIX98] (pthread_barrier_destroy): Likewise.
93 [UNIX98] (pthread_barrier_init): Likewise.
94 [UNIX98] (pthread_barrier_wait): Likewise.
95 [UNIX98] (pthread_barrierattr_destroy): Likewise.
96 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
97 [UNIX98] (pthread_barrierattr_init): Likewise.
98 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
99 [UNIX98] (pthread_getcpuclockid): Likewise.
100 [UNIX98] (pthread_mutex_timedlock): Likewise.
101 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
102 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
103 [UNIX98] (pthread_sigmask): Likewise.
104 [UNIX98] (pthread_spin_destroy): Likewise.
105 [UNIX98] (pthread_spin_init): Likewise.
106 [UNIX98] (pthread_spin_lock): Likewise.
107 [UNIX98] (pthread_spin_trylock): Likewise.
108 [UNIX98] (pthread_spin_unlock): Likewise.
109 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
111 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
112 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
113 [XPG3 || XPG4] (pthread_cond_t): Likewise.
114 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
115 [XPG3 || XPG4] (pthread_key_t): Likewise.
116 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
117 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
118 [XPG3 || XPG4] (pthread_once_t): Likewise.
119 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
120 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
121 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
122 [XPG3 || XPG4] (pthread_t): Likewise.
124 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
126 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
128 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
129 Change function return type to int.
131 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
132 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
133 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
134 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
135 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
136 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
137 [!POSIX] (posix_madvise): Likewise.
138 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
140 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
141 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
143 (posix_mem_offset): Likewise.
144 (posix_typed_mem_get_info): Likewise.
145 (posix_typed_mem_open): Likewise.
147 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
148 Change condition to [XOPEN2K8].
150 * conform/conformtest.pl: Preprocess allow-header data with -x c
151 instead of from stdin.
152 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
153 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
154 [C99-based standards] (cerfc): Likewise.
155 [C99-based standards] (cexp2): Likewise.
156 [C99-based standards] (cexpm1): Likewise.
157 [C99-based standards] (clog10): Likewise.
158 [C99-based standards] (clog1p): Likewise.
159 [C99-based standards] (clog2): Likewise.
160 [C99-based standards] (clgamma): Likewise.
161 [C99-based standards] (ctgamma): Likewise.
162 [C99-based standards] (cerff): Likewise.
163 [C99-based standards] (cerfcf): Likewise.
164 [C99-based standards] (cexp2f): Likewise.
165 [C99-based standards] (cexpm1f): Likewise.
166 [C99-based standards] (clog10f): Likewise.
167 [C99-based standards] (clog1pf): Likewise.
168 [C99-based standards] (clog2f): Likewise.
169 [C99-based standards] (clgammaf): Likewise.
170 [C99-based standards] (ctgammaf): Likewise.
171 [C99-based standards] (cerfl): Likewise.
172 [C99-based standards] (cerfcl): Likewise.
173 [C99-based standards] (cexp2l): Likewise.
174 [C99-based standards] (cexpm1l): Likewise.
175 [C99-based standards] (clog10l): Likewise.
176 [C99-based standards] (clog1pl): Likewise.
177 [C99-based standards] (clog2l): Likewise.
178 [C99-based standards] (clgammal): Likewise.
179 [C99-based standards] (ctgammal): Likewise.
180 * conform/data/inttypes.h-data [C99-based standards]: Include
181 stdint.h-data. Remove all expectations for stdint.h contents.
182 [C99-based standards] (PRI*): Do not allow.
183 [C99-based standards] (SCN*): Likewise.
184 [C99-based standards] (*_t): Likewise.
185 [C99-based-standards] (PRId8): Expect macro.
186 [C99-based-standards] (PRIi8): Likewise.
187 [C99-based-standards] (PRIo8): Likewise.
188 [C99-based-standards] (PRIu8): Likewise.
189 [C99-based-standards] (PRIx8): Likewise.
190 [C99-based-standards] (PRIX8): Likewise.
191 [C99-based-standards] (SCNd8): Likewise.
192 [C99-based-standards] (SCNi8): Likewise.
193 [C99-based-standards] (SCNo8): Likewise.
194 [C99-based-standards] (SCNu8): Likewise.
195 [C99-based-standards] (SCNx8): Likewise.
196 [C99-based-standards] (PRIdLEAST8): Likewise.
197 [C99-based-standards] (PRIiLEAST8): Likewise.
198 [C99-based-standards] (PRIoLEAST8): Likewise.
199 [C99-based-standards] (PRIuLEAST8): Likewise.
200 [C99-based-standards] (PRIxLEAST8): Likewise.
201 [C99-based-standards] (PRIXLEAST8): Likewise.
202 [C99-based-standards] (SCNdLEAST8): Likewise.
203 [C99-based-standards] (SCNiLEAST8): Likewise.
204 [C99-based-standards] (SCNoLEAST8): Likewise.
205 [C99-based-standards] (SCNuLEAST8): Likewise.
206 [C99-based-standards] (SCNxLEAST8): Likewise.
207 [C99-based-standards] (PRIdFAST8): Likewise.
208 [C99-based-standards] (PRIiFAST8): Likewise.
209 [C99-based-standards] (PRIoFAST8): Likewise.
210 [C99-based-standards] (PRIuFAST8): Likewise.
211 [C99-based-standards] (PRIxFAST8): Likewise.
212 [C99-based-standards] (PRIXFAST8): Likewise.
213 [C99-based-standards] (SCNdFAST8): Likewise.
214 [C99-based-standards] (SCNiFAST8): Likewise.
215 [C99-based-standards] (SCNoFAST8): Likewise.
216 [C99-based-standards] (SCNuFAST8): Likewise.
217 [C99-based-standards] (SCNxFAST8): Likewise.
218 [C99-based-standards] (PRId16): Likewise.
219 [C99-based-standards] (PRIi16): Likewise.
220 [C99-based-standards] (PRIo16): Likewise.
221 [C99-based-standards] (PRIu16): Likewise.
222 [C99-based-standards] (PRIx16): Likewise.
223 [C99-based-standards] (PRIX16): Likewise.
224 [C99-based-standards] (SCNd16): Likewise.
225 [C99-based-standards] (SCNi16): Likewise.
226 [C99-based-standards] (SCNo16): Likewise.
227 [C99-based-standards] (SCNu16): Likewise.
228 [C99-based-standards] (SCNx16): Likewise.
229 [C99-based-standards] (PRIdLEAST16): Likewise.
230 [C99-based-standards] (PRIiLEAST16): Likewise.
231 [C99-based-standards] (PRIoLEAST16): Likewise.
232 [C99-based-standards] (PRIuLEAST16): Likewise.
233 [C99-based-standards] (PRIxLEAST16): Likewise.
234 [C99-based-standards] (PRIXLEAST16): Likewise.
235 [C99-based-standards] (SCNdLEAST16): Likewise.
236 [C99-based-standards] (SCNiLEAST16): Likewise.
237 [C99-based-standards] (SCNoLEAST16): Likewise.
238 [C99-based-standards] (SCNuLEAST16): Likewise.
239 [C99-based-standards] (SCNxLEAST16): Likewise.
240 [C99-based-standards] (PRIdFAST16): Likewise.
241 [C99-based-standards] (PRIiFAST16): Likewise.
242 [C99-based-standards] (PRIoFAST16): Likewise.
243 [C99-based-standards] (PRIuFAST16): Likewise.
244 [C99-based-standards] (PRIxFAST16): Likewise.
245 [C99-based-standards] (PRIXFAST16): Likewise.
246 [C99-based-standards] (SCNdFAST16): Likewise.
247 [C99-based-standards] (SCNiFAST16): Likewise.
248 [C99-based-standards] (SCNoFAST16): Likewise.
249 [C99-based-standards] (SCNuFAST16): Likewise.
250 [C99-based-standards] (SCNxFAST16): Likewise.
251 [C99-based-standards] (PRId32): Likewise.
252 [C99-based-standards] (PRIi32): Likewise.
253 [C99-based-standards] (PRIo32): Likewise.
254 [C99-based-standards] (PRIu32): Likewise.
255 [C99-based-standards] (PRIx32): Likewise.
256 [C99-based-standards] (PRIX32): Likewise.
257 [C99-based-standards] (SCNd32): Likewise.
258 [C99-based-standards] (SCNi32): Likewise.
259 [C99-based-standards] (SCNo32): Likewise.
260 [C99-based-standards] (SCNu32): Likewise.
261 [C99-based-standards] (SCNx32): Likewise.
262 [C99-based-standards] (PRIdLEAST32): Likewise.
263 [C99-based-standards] (PRIiLEAST32): Likewise.
264 [C99-based-standards] (PRIoLEAST32): Likewise.
265 [C99-based-standards] (PRIuLEAST32): Likewise.
266 [C99-based-standards] (PRIxLEAST32): Likewise.
267 [C99-based-standards] (PRIXLEAST32): Likewise.
268 [C99-based-standards] (SCNdLEAST32): Likewise.
269 [C99-based-standards] (SCNiLEAST32): Likewise.
270 [C99-based-standards] (SCNoLEAST32): Likewise.
271 [C99-based-standards] (SCNuLEAST32): Likewise.
272 [C99-based-standards] (SCNxLEAST32): Likewise.
273 [C99-based-standards] (PRIdFAST32): Likewise.
274 [C99-based-standards] (PRIiFAST32): Likewise.
275 [C99-based-standards] (PRIoFAST32): Likewise.
276 [C99-based-standards] (PRIuFAST32): Likewise.
277 [C99-based-standards] (PRIxFAST32): Likewise.
278 [C99-based-standards] (PRIXFAST32): Likewise.
279 [C99-based-standards] (SCNdFAST32): Likewise.
280 [C99-based-standards] (SCNiFAST32): Likewise.
281 [C99-based-standards] (SCNoFAST32): Likewise.
282 [C99-based-standards] (SCNuFAST32): Likewise.
283 [C99-based-standards] (SCNxFAST32): Likewise.
284 [C99-based-standards] (PRId64): Likewise.
285 [C99-based-standards] (PRIi64): Likewise.
286 [C99-based-standards] (PRIo64): Likewise.
287 [C99-based-standards] (PRIu64): Likewise.
288 [C99-based-standards] (PRIx64): Likewise.
289 [C99-based-standards] (PRIX64): Likewise.
290 [C99-based-standards] (SCNd64): Likewise.
291 [C99-based-standards] (SCNi64): Likewise.
292 [C99-based-standards] (SCNo64): Likewise.
293 [C99-based-standards] (SCNu64): Likewise.
294 [C99-based-standards] (SCNx64): Likewise.
295 [C99-based-standards] (PRIdLEAST64): Likewise.
296 [C99-based-standards] (PRIiLEAST64): Likewise.
297 [C99-based-standards] (PRIoLEAST64): Likewise.
298 [C99-based-standards] (PRIuLEAST64): Likewise.
299 [C99-based-standards] (PRIxLEAST64): Likewise.
300 [C99-based-standards] (PRIXLEAST64): Likewise.
301 [C99-based-standards] (SCNdLEAST64): Likewise.
302 [C99-based-standards] (SCNiLEAST64): Likewise.
303 [C99-based-standards] (SCNoLEAST64): Likewise.
304 [C99-based-standards] (SCNuLEAST64): Likewise.
305 [C99-based-standards] (SCNxLEAST64): Likewise.
306 [C99-based-standards] (PRIdFAST64): Likewise.
307 [C99-based-standards] (PRIiFAST64): Likewise.
308 [C99-based-standards] (PRIoFAST64): Likewise.
309 [C99-based-standards] (PRIuFAST64): Likewise.
310 [C99-based-standards] (PRIxFAST64): Likewise.
311 [C99-based-standards] (PRIXFAST64): Likewise.
312 [C99-based-standards] (SCNdFAST64): Likewise.
313 [C99-based-standards] (SCNiFAST64): Likewise.
314 [C99-based-standards] (SCNoFAST64): Likewise.
315 [C99-based-standards] (SCNuFAST64): Likewise.
316 [C99-based-standards] (SCNxFAST64): Likewise.
317 [C99-based-standards] (PRIdMAX): Likewise.
318 [C99-based-standards] (PRIiMAX): Likewise.
319 [C99-based-standards] (PRIoMAX): Likewise.
320 [C99-based-standards] (PRIuMAX): Likewise.
321 [C99-based-standards] (PRIxMAX): Likewise.
322 [C99-based-standards] (PRIXMAX): Likewise.
323 [C99-based-standards] (SCNdMAX): Likewise.
324 [C99-based-standards] (SCNiMAX): Likewise.
325 [C99-based-standards] (SCNoMAX): Likewise.
326 [C99-based-standards] (SCNuMAX): Likewise.
327 [C99-based-standards] (SCNxMAX): Likewise.
328 [C99-based-standards] (PRIdPTR): Likewise.
329 [C99-based-standards] (PRIiPTR): Likewise.
330 [C99-based-standards] (PRIoPTR): Likewise.
331 [C99-based-standards] (PRIuPTR): Likewise.
332 [C99-based-standards] (PRIxPTR): Likewise.
333 [C99-based-standards] (PRIXPTR): Likewise.
334 [C99-based-standards] (SCNdPTR): Likewise.
335 [C99-based-standards] (SCNiPTR): Likewise.
336 [C99-based-standards] (SCNoPTR): Likewise.
337 [C99-based-standards] (SCNuPTR): Likewise.
338 [C99-based-standards] (SCNxPTR): Likewise.
339 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
341 * conform/data/stdint.h-data: Update comments to clarify
343 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
345 [C99-based standards] (INT8_MAX): Likewise.
346 [C99-based standards] (INT16_MIN): Likewise.
347 [C99-based standards] (INT16_MAX): Likewise.
348 [C99-based standards] (INT32_MIN): Likewise.
349 [C99-based standards] (INT32_MAX): Likewise.
350 [C99-based standards] (INT64_MIN): Likewise.
351 [C99-based standards] (INT64_MAX): Likewise.
352 [C99-based standards] (UINT8_MAX): Likewise.
353 [C99-based standards] (UINT16_MAX): Likewise.
354 [C99-based standards] (UINT32_MAX): Likewise.
355 [C99-based standards] (UINT64_MAX): Likewise.
356 [C99-based standards] (INT_LEAST8_MIN): Likewise.
357 [C99-based standards] (INT_LEAST8_MAX): Likewise.
358 [C99-based standards] (INT_LEAST16_MIN): Likewise.
359 [C99-based standards] (INT_LEAST16_MAX): Likewise.
360 [C99-based standards] (INT_LEAST32_MIN): Likewise.
361 [C99-based standards] (INT_LEAST32_MAX): Likewise.
362 [C99-based standards] (INT_LEAST64_MIN): Likewise.
363 [C99-based standards] (INT_LEAST64_MAX): Likewise.
364 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
365 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
366 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
367 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
368 [C99-based standards] (INT_FAST8_MIN): Likewise.
369 [C99-based standards] (INT_FAST8_MAX): Likewise.
370 [C99-based standards] (INT_FAST16_MIN): Likewise.
371 [C99-based standards] (INT_FAST16_MAX): Likewise.
372 [C99-based standards] (INT_FAST32_MIN): Likewise.
373 [C99-based standards] (INT_FAST32_MAX): Likewise.
374 [C99-based standards] (INT_FAST64_MIN): Likewise.
375 [C99-based standards] (INT_FAST64_MAX): Likewise.
376 [C99-based standards] (UINT_FAST8_MAX): Likewise.
377 [C99-based standards] (UINT_FAST16_MAX): Likewise.
378 [C99-based standards] (UINT_FAST32_MAX): Likewise.
379 [C99-based standards] (UINT_FAST64_MAX): Likewise.
380 [C99-based standards] (INTPTR_MIN): Likewise.
381 [C99-based standards] (INTPTR_MAX): Likewise.
382 [C99-based standards] (UINTPTR_MAX): Likewise.
383 [C99-based standards] (INTMAX_MIN): Likewise.
384 [C99-based standards] (INTMAX_MAX): Likewise.
385 [C99-based standards] (UINTMAX_MAX): Likewise.
386 [C99-based standards] (PTRDIFF_MIN): Likewise.
387 [C99-based standards] (PTRDIFF_MAX): Likewise.
388 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
389 [C99-based standards] (SIZE_MAX): Likewise.
390 [C99-based standards] (WCHAR_MAX): Likewise.
391 [C99-based standards] (WINT_MAX): Likewise.
392 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
394 [C99-based standards] (WCHAR_MIN): Likewise.
395 [C99-based standards] (WINT_MIN): Likewise.
396 [C99-based standards] (*_t): Allow.
397 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
398 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
399 Include math.h-data and complex.h-data. Remove all expectations
400 of math.h and complex.h contents.
401 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
403 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
404 (struct tm): Expect tag.
405 [C99-based-standards] (wcstof): Expect function.
406 [C99-based-standards] (wcstold): Likewise.
407 [C99-based-standards] (wcstoll): Likewise.
408 [C99-based-standards] (wcstoull): Likewise.
409 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
410 macro-int-constant. Specify type.
411 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
413 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
415 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
417 [ISO C standards]: Do not allow headers.
418 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
419 wcs[abcdefghijklmnopqrstuvwxyz]*.
420 [ISO C standards] (*_t): Do not allow.
421 * conform/data/wctype.h-data [C99-based standards] (iswblank):
423 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
424 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
426 [ISO C standards]: Do not allow headers.
427 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
428 is[abcdefghijklmnopqrstuvwxyz]*.
429 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
430 to[abcdefghijklmnopqrstuvwxyz]*.
431 [ISO C standards] (*_t): Do not allow.
432 * conform/data/stdalign.h-data: New file.
433 * conform/data/stdbool.h-data: Likewise.
434 * conform/data/stdnoreturn.h-data: Likewise.
436 2012-11-07 Andreas Jaeger <aj@suse.de>
439 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
440 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
441 guards are changed. Only define if not yet defined, #undef back
442 after including linux/sysctl.h if defined here.
444 2012-11-07 Roland McGrath <roland@hack.frob.com>
447 * manual/filesys.texi (Directory Entries): Typo fix.
448 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
450 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
452 * elf/elf.h (EM_AARCH64): New macro.
453 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
454 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
455 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
456 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
457 (R_AARCH64_TLSDESC): Likewise.
458 (NT_ARM_TLS): Likewise.
459 (NT_ARM_HW_BREAK): Likewise.
460 (NT_ARM_HW_WATCH): Likewise.
462 2012-11-07 Joseph Myers <joseph@codesourcery.com>
465 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
466 (__ieee754_powl): Saturate nonzero exponents with absolute value
467 below 0x1p-79 to +/- 0x1p-79.
468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
469 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
470 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
471 nonzero exponents with absolute value below 0x1p-32 to +/-
473 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
474 (__ieee754_powl): Saturate nonzero exponents with absolute value
475 below 0x1p-79 to +/- 0x1p-79.
476 * math/libm-test.inc (pow_test): Add more tests.
478 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
480 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
481 _dl_s390_cap_flags with kernel. Increase string length.
482 (_dl_s390_platforms): Add z196 and zEC12.
484 2012-11-07 Joseph Myers <joseph@codesourcery.com>
486 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
487 Change XOPEN21K to XOPEN2K.
489 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
491 * string/memmove.c: Use memcpy when possible.
493 2012-11-06 Andreas Jaeger <aj@suse.de>
495 * po/eo.po: Update from translation team.
497 2012-11-06 Joseph Myers <joseph@codesourcery.com>
500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
501 exponent and small x and y exponents, scale x or y up. Increase
502 by 2 the exponent used in scaling up.
503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
505 * math/libm-test.inc (fma_test): Add more tests.
506 (fma_test_towardzero): Likewise.
507 (fma_test_downward): Likewise.
508 (fma_test_upward): Likewise.
510 2012-11-05 Joseph Myers <joseph@codesourcery.com>
513 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
517 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
518 namespace for names of struct fields.
519 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
521 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
522 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
524 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
527 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
529 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
531 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
535 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
538 2012-11-04 Joseph Myers <joseph@codesourcery.com>
541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
542 definitely overflow as x * y not x * y + z.
543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
545 * math/libm-test.inc (fma_test): Add more tests.
546 (fma_test_towardzero): Likewise.
547 (fma_test_downward): Likewise.
548 (fma_test_upward): Likewise.
550 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
554 * include/stub-tag.h: Remove file.
555 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
557 * manual/maint.texi (Porting): Don't reference it.
558 * Makerules ($(objpfx)stubs): Likewise.
559 * dirent/closedir.c: Don't include <stub-tag.h>.
560 * dirent/dirfd.c: Likewise.
561 * dirent/fdopendir.c: Likewise.
562 * dirent/getdents.c: Likewise.
563 * dirent/getdents64.c: Likewise.
564 * dirent/opendir.c: Likewise.
565 * dirent/readdir.c: Likewise.
566 * dirent/readdir64.c: Likewise.
567 * dirent/readdir64_r.c: Likewise.
568 * dirent/readdir_r.c: Likewise.
569 * dirent/rewinddir.c: Likewise.
570 * dirent/seekdir.c: Likewise.
571 * dirent/telldir.c: Likewise.
572 * gmon/profil.c: Likewise.
573 * grp/setgroups.c: Likewise.
574 * inet/if_index.c: Likewise.
575 * io/access.c: Likewise.
576 * io/chdir.c: Likewise.
577 * io/chmod.c: Likewise.
578 * io/chown.c: Likewise.
579 * io/close.c: Likewise.
580 * io/dup.c: Likewise.
581 * io/dup2.c: Likewise.
582 * io/dup3.c: Likewise.
583 * io/euidaccess.c: Likewise.
584 * io/faccessat.c: Likewise.
585 * io/fchdir.c: Likewise.
586 * io/fchmod.c: Likewise.
587 * io/fchmodat.c: Likewise.
588 * io/fchown.c: Likewise.
589 * io/fchownat.c: Likewise.
590 * io/fcntl.c: Likewise.
591 * io/flock.c: Likewise.
592 * io/fstatfs.c: Likewise.
593 * io/fstatfs64.c: Likewise.
594 * io/fstatvfs.c: Likewise.
595 * io/fstatvfs64.c: Likewise.
596 * io/futimens.c: Likewise.
597 * io/fxstat.c: Likewise.
598 * io/fxstat64.c: Likewise.
599 * io/fxstatat.c: Likewise.
600 * io/fxstatat64.c: Likewise.
601 * io/getcwd.c: Likewise.
602 * io/isatty.c: Likewise.
603 * io/lchmod.c: Likewise.
604 * io/lchown.c: Likewise.
605 * io/link.c: Likewise.
606 * io/linkat.c: Likewise.
607 * io/lseek.c: Likewise.
608 * io/lseek64.c: Likewise.
609 * io/lxstat64.c: Likewise.
610 * io/mkdir.c: Likewise.
611 * io/mkdirat.c: Likewise.
612 * io/mkfifo.c: Likewise.
613 * io/mkfifoat.c: Likewise.
614 * io/open.c: Likewise.
615 * io/open64.c: Likewise.
616 * io/openat.c: Likewise.
617 * io/openat64.c: Likewise.
618 * io/pipe.c: Likewise.
619 * io/pipe2.c: Likewise.
620 * io/poll.c: Likewise.
621 * io/posix_fadvise.c: Likewise.
622 * io/posix_fadvise64.c: Likewise.
623 * io/posix_fallocate.c: Likewise.
624 * io/posix_fallocate64.c: Likewise.
625 * io/read.c: Likewise.
626 * io/readlink.c: Likewise.
627 * io/readlinkat.c: Likewise.
628 * io/rmdir.c: Likewise.
629 * io/sendfile.c: Likewise.
630 * io/sendfile64.c: Likewise.
631 * io/statfs.c: Likewise.
632 * io/statfs64.c: Likewise.
633 * io/statvfs.c: Likewise.
634 * io/statvfs64.c: Likewise.
635 * io/symlink.c: Likewise.
636 * io/symlinkat.c: Likewise.
637 * io/ttyname.c: Likewise.
638 * io/ttyname_r.c: Likewise.
639 * io/umask.c: Likewise.
640 * io/unlink.c: Likewise.
641 * io/unlinkat.c: Likewise.
642 * io/utime.c: Likewise.
643 * io/utimensat.c: Likewise.
644 * io/write.c: Likewise.
645 * io/xmknod.c: Likewise.
646 * io/xmknodat.c: Likewise.
647 * io/xstat.c: Likewise.
648 * io/xstat64.c: Likewise.
649 * login/getpt.c: Likewise.
650 * login/grantpt.c: Likewise.
651 * login/unlockpt.c: Likewise.
652 * math/e_acoshl.c: Likewise.
653 * math/e_acosl.c: Likewise.
654 * math/e_asinl.c: Likewise.
655 * math/e_atan2l.c: Likewise.
656 * math/e_atanhl.c: Likewise.
657 * math/e_coshl.c: Likewise.
658 * math/e_expl.c: Likewise.
659 * math/e_fmodl.c: Likewise.
660 * math/e_gammal_r.c: Likewise.
661 * math/e_hypotl.c: Likewise.
662 * math/e_j0l.c: Likewise.
663 * math/e_j1l.c: Likewise.
664 * math/e_jnl.c: Likewise.
665 * math/e_lgammal_r.c: Likewise.
666 * math/e_log10l.c: Likewise.
667 * math/e_log2l.c: Likewise.
668 * math/e_logl.c: Likewise.
669 * math/e_powl.c: Likewise.
670 * math/e_rem_pio2l.c: Likewise.
671 * math/e_sinhl.c: Likewise.
672 * math/e_sqrtl.c: Likewise.
673 * math/fclrexcpt.c: Likewise.
674 * math/fedisblxcpt.c: Likewise.
675 * math/feenablxcpt.c: Likewise.
676 * math/fegetenv.c: Likewise.
677 * math/fegetexcept.c: Likewise.
678 * math/fegetround.c: Likewise.
679 * math/feholdexcpt.c: Likewise.
680 * math/fesetenv.c: Likewise.
681 * math/fesetround.c: Likewise.
682 * math/feupdateenv.c: Likewise.
683 * math/fgetexcptflg.c: Likewise.
684 * math/fraiseexcpt.c: Likewise.
685 * math/fsetexcptflg.c: Likewise.
686 * math/ftestexcept.c: Likewise.
687 * math/k_cosl.c: Likewise.
688 * math/k_rem_pio2l.c: Likewise.
689 * math/k_sinl.c: Likewise.
690 * math/k_tanl.c: Likewise.
691 * math/s_asinhl.c: Likewise.
692 * math/s_atanl.c: Likewise.
693 * math/s_cbrtl.c: Likewise.
694 * math/s_erfl.c: Likewise.
695 * math/s_expm1l.c: Likewise.
696 * math/s_log1pl.c: Likewise.
697 * math/s_tanhl.c: Likewise.
698 * misc/acct.c: Likewise.
699 * misc/brk.c: Likewise.
700 * misc/chflags.c: Likewise.
701 * misc/chroot.c: Likewise.
702 * misc/fchflags.c: Likewise.
703 * misc/fgetxattr.c: Likewise.
704 * misc/flistxattr.c: Likewise.
705 * misc/fremovexattr.c: Likewise.
706 * misc/fsetxattr.c: Likewise.
707 * misc/fsync.c: Likewise.
708 * misc/ftruncate.c: Likewise.
709 * misc/futimes.c: Likewise.
710 * misc/futimesat.c: Likewise.
711 * misc/getdomain.c: Likewise.
712 * misc/getdtsz.c: Likewise.
713 * misc/gethostid.c: Likewise.
714 * misc/gethostname.c: Likewise.
715 * misc/getloadavg.c: Likewise.
716 * misc/getpagesize.c: Likewise.
717 * misc/getsysstats.c: Likewise.
718 * misc/getxattr.c: Likewise.
719 * misc/gtty.c: Likewise.
720 * misc/ioctl.c: Likewise.
721 * misc/lgetxattr.c: Likewise.
722 * misc/listxattr.c: Likewise.
723 * misc/llistxattr.c: Likewise.
724 * misc/lremovexattr.c: Likewise.
725 * misc/lsetxattr.c: Likewise.
726 * misc/lutimes.c: Likewise.
727 * misc/madvise.c: Likewise.
728 * misc/mincore.c: Likewise.
729 * misc/mlock.c: Likewise.
730 * misc/mlockall.c: Likewise.
731 * misc/mmap.c: Likewise.
732 * misc/mprotect.c: Likewise.
733 * misc/msync.c: Likewise.
734 * misc/munlock.c: Likewise.
735 * misc/munlockall.c: Likewise.
736 * misc/munmap.c: Likewise.
737 * misc/preadv.c: Likewise.
738 * misc/preadv64.c: Likewise.
739 * misc/ptrace.c: Likewise.
740 * misc/pwritev.c: Likewise.
741 * misc/pwritev64.c: Likewise.
742 * misc/readv.c: Likewise.
743 * misc/reboot.c: Likewise.
744 * misc/remap_file_pages.c: Likewise.
745 * misc/removexattr.c: Likewise.
746 * misc/revoke.c: Likewise.
747 * misc/select.c: Likewise.
748 * misc/setdomain.c: Likewise.
749 * misc/setegid.c: Likewise.
750 * misc/seteuid.c: Likewise.
751 * misc/sethostid.c: Likewise.
752 * misc/sethostname.c: Likewise.
753 * misc/setregid.c: Likewise.
754 * misc/setreuid.c: Likewise.
755 * misc/setxattr.c: Likewise.
756 * misc/sstk.c: Likewise.
757 * misc/stty.c: Likewise.
758 * misc/swapoff.c: Likewise.
759 * misc/swapon.c: Likewise.
760 * misc/sync.c: Likewise.
761 * misc/syncfs.c: Likewise.
762 * misc/syscall.c: Likewise.
763 * misc/truncate.c: Likewise.
764 * misc/ualarm.c: Likewise.
765 * misc/usleep.c: Likewise.
766 * misc/ustat.c: Likewise.
767 * misc/utimes.c: Likewise.
768 * misc/vhangup.c: Likewise.
769 * misc/writev.c: Likewise.
770 * posix/_exit.c: Likewise.
771 * posix/alarm.c: Likewise.
772 * posix/execve.c: Likewise.
773 * posix/fexecve.c: Likewise.
774 * posix/fork.c: Likewise.
775 * posix/fpathconf.c: Likewise.
776 * posix/getaddrinfo.c: Likewise.
777 * posix/getegid.c: Likewise.
778 * posix/geteuid.c: Likewise.
779 * posix/getgid.c: Likewise.
780 * posix/getgroups.c: Likewise.
781 * posix/getlogin.c: Likewise.
782 * posix/getlogin_r.c: Likewise.
783 * posix/getpgid.c: Likewise.
784 * posix/getpid.c: Likewise.
785 * posix/getppid.c: Likewise.
786 * posix/getresgid.c: Likewise.
787 * posix/getresuid.c: Likewise.
788 * posix/getsid.c: Likewise.
789 * posix/getuid.c: Likewise.
790 * posix/glob64.c: Likewise.
791 * posix/nanosleep.c: Likewise.
792 * posix/pathconf.c: Likewise.
793 * posix/pause.c: Likewise.
794 * posix/posix_madvise.c: Likewise.
795 * posix/pread.c: Likewise.
796 * posix/pread64.c: Likewise.
797 * posix/pwrite.c: Likewise.
798 * posix/pwrite64.c: Likewise.
799 * posix/sched_getaffinity.c: Likewise.
800 * posix/sched_getp.c: Likewise.
801 * posix/sched_gets.c: Likewise.
802 * posix/sched_primax.c: Likewise.
803 * posix/sched_primin.c: Likewise.
804 * posix/sched_rr_gi.c: Likewise.
805 * posix/sched_setaffinity.c: Likewise.
806 * posix/sched_setp.c: Likewise.
807 * posix/sched_sets.c: Likewise.
808 * posix/sched_yield.c: Likewise.
809 * posix/setgid.c: Likewise.
810 * posix/setlogin.c: Likewise.
811 * posix/setpgid.c: Likewise.
812 * posix/setresgid.c: Likewise.
813 * posix/setresuid.c: Likewise.
814 * posix/setsid.c: Likewise.
815 * posix/setuid.c: Likewise.
816 * posix/sleep.c: Likewise.
817 * posix/spawni.c: Likewise.
818 * posix/sysconf.c: Likewise.
819 * posix/times.c: Likewise.
820 * posix/wait.c: Likewise.
821 * posix/wait3.c: Likewise.
822 * posix/wait4.c: Likewise.
823 * posix/waitpid.c: Likewise.
824 * resolv/gai_sigqueue.c: Likewise.
825 * resource/getpriority.c: Likewise.
826 * resource/getrlimit.c: Likewise.
827 * resource/getrusage.c: Likewise.
828 * resource/nice.c: Likewise.
829 * resource/setpriority.c: Likewise.
830 * resource/setrlimit.c: Likewise.
831 * resource/ulimit.c: Likewise.
832 * rt/aio_cancel.c: Likewise.
833 * rt/aio_fsync.c: Likewise.
834 * rt/aio_read.c: Likewise.
835 * rt/aio_sigqueue.c: Likewise.
836 * rt/aio_suspend.c: Likewise.
837 * rt/aio_write.c: Likewise.
838 * rt/clock_getres.c: Likewise.
839 * rt/clock_gettime.c: Likewise.
840 * rt/clock_nanosleep.c: Likewise.
841 * rt/clock_settime.c: Likewise.
842 * rt/lio_listio.c: Likewise.
843 * rt/mq_close.c: Likewise.
844 * rt/mq_getattr.c: Likewise.
845 * rt/mq_notify.c: Likewise.
846 * rt/mq_open.c: Likewise.
847 * rt/mq_receive.c: Likewise.
848 * rt/mq_send.c: Likewise.
849 * rt/mq_setattr.c: Likewise.
850 * rt/mq_timedreceive.c: Likewise.
851 * rt/mq_timedsend.c: Likewise.
852 * rt/mq_unlink.c: Likewise.
853 * rt/shm_open.c: Likewise.
854 * rt/shm_unlink.c: Likewise.
855 * rt/timer_create.c: Likewise.
856 * rt/timer_delete.c: Likewise.
857 * rt/timer_getoverr.c: Likewise.
858 * rt/timer_gettime.c: Likewise.
859 * rt/timer_settime.c: Likewise.
860 * setjmp/__longjmp.c: Likewise.
861 * setjmp/setjmp.c: Likewise.
862 * signal/kill.c: Likewise.
863 * signal/killpg.c: Likewise.
864 * signal/raise.c: Likewise.
865 * signal/sigaction.c: Likewise.
866 * signal/sigaltstack.c: Likewise.
867 * signal/sigblock.c: Likewise.
868 * signal/sigignore.c: Likewise.
869 * signal/sigintr.c: Likewise.
870 * signal/signal.c: Likewise.
871 * signal/sigpause.c: Likewise.
872 * signal/sigpending.c: Likewise.
873 * signal/sigqueue.c: Likewise.
874 * signal/sigreturn.c: Likewise.
875 * signal/sigset.c: Likewise.
876 * signal/sigsetmask.c: Likewise.
877 * signal/sigstack.c: Likewise.
878 * signal/sigsuspend.c: Likewise.
879 * signal/sigtimedwait.c: Likewise.
880 * signal/sigvec.c: Likewise.
881 * signal/sigwait.c: Likewise.
882 * signal/sigwaitinfo.c: Likewise.
883 * signal/sysv_signal.c: Likewise.
884 * socket/accept.c: Likewise.
885 * socket/accept4.c: Likewise.
886 * socket/bind.c: Likewise.
887 * socket/connect.c: Likewise.
888 * socket/getpeername.c: Likewise.
889 * socket/getsockname.c: Likewise.
890 * socket/getsockopt.c: Likewise.
891 * socket/isfdtype.c: Likewise.
892 * socket/listen.c: Likewise.
893 * socket/recv.c: Likewise.
894 * socket/recvfrom.c: Likewise.
895 * socket/recvmsg.c: Likewise.
896 * socket/send.c: Likewise.
897 * socket/sendmsg.c: Likewise.
898 * socket/sendto.c: Likewise.
899 * socket/setsockopt.c: Likewise.
900 * socket/shutdown.c: Likewise.
901 * socket/sockatmark.c: Likewise.
902 * socket/socket.c: Likewise.
903 * socket/socketpair.c: Likewise.
904 * stdio-common/ctermid.c: Likewise.
905 * stdio-common/cuserid.c: Likewise.
906 * stdio-common/remove.c: Likewise.
907 * stdio-common/rename.c: Likewise.
908 * stdio-common/renameat.c: Likewise.
909 * stdio-common/tempname.c: Likewise.
910 * stdlib/getcontext.c: Likewise.
911 * stdlib/makecontext.c: Likewise.
912 * stdlib/setcontext.c: Likewise.
913 * stdlib/swapcontext.c: Likewise.
914 * stdlib/system.c: Likewise.
915 * streams/fattach.c: Likewise.
916 * streams/fdetach.c: Likewise.
917 * streams/getmsg.c: Likewise.
918 * streams/getpmsg.c: Likewise.
919 * streams/putmsg.c: Likewise.
920 * streams/putpmsg.c: Likewise.
921 * sysdeps/unix/bsd/getpt.c: Likewise.
922 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
923 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
924 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
927 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
928 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
929 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
930 * sysvipc/msgctl.c: Likewise.
931 * sysvipc/msgget.c: Likewise.
932 * sysvipc/msgrcv.c: Likewise.
933 * sysvipc/msgsnd.c: Likewise.
934 * sysvipc/semctl.c: Likewise.
935 * sysvipc/semget.c: Likewise.
936 * sysvipc/semop.c: Likewise.
937 * sysvipc/semtimedop.c: Likewise.
938 * sysvipc/shmat.c: Likewise.
939 * sysvipc/shmctl.c: Likewise.
940 * sysvipc/shmdt.c: Likewise.
941 * sysvipc/shmget.c: Likewise.
942 * termios/tcdrain.c: Likewise.
943 * termios/tcflow.c: Likewise.
944 * termios/tcflush.c: Likewise.
945 * termios/tcgetattr.c: Likewise.
946 * termios/tcgetpgrp.c: Likewise.
947 * termios/tcsendbrk.c: Likewise.
948 * termios/tcsetattr.c: Likewise.
949 * termios/tcsetpgrp.c: Likewise.
950 * time/adjtime.c: Likewise.
951 * time/clock.c: Likewise.
952 * time/getitimer.c: Likewise.
953 * time/gettimeofday.c: Likewise.
954 * time/setitimer.c: Likewise.
955 * time/settimeofday.c: Likewise.
956 * time/stime.c: Likewise.
957 * time/time.c: Likewise.
959 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
961 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
964 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
966 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
968 2012-11-03 Joseph Myers <joseph@codesourcery.com>
971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
972 FE_TONEAREST before applying Dekker multiplication and Knuth
973 addition. Clear inexact exceptions and check for exact zero
975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
976 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
978 * math/libm-test.inc (fma_test): Add more tests.
979 (fma_test_towardzero): Likewise.
980 (fma_test_downward): Likewise.
981 (fma_test_upward): Likewise.
982 * sysdeps/generic/math_private.h (default_libc_fesetround): New
984 (libc_fesetround): New macro.
985 (libc_fesetroundf): Likewise.
986 (libc_fesetroundl): Likewise.
987 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
989 (libc_fesetround_387): Likewise.
990 (libc_fesetroundf): New macro.
991 (libc_fesetround): Likewise.
992 (libc_fesetroundl): Likewise.
993 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
995 (libc_fesetroundf): New macro.
996 (libc_fesetround): Likewise.
997 (libc_fesetroundl): Likewise.
998 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
999 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1000 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1002 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1003 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1005 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1006 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1008 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1012 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1013 integer constant usable in #if and use that to give value to enum
1015 (FE_DIVBYZERO): Likewise.
1016 (FE_UNDERFLOW): Likewise.
1017 (FE_OVERFLOW): Likewise.
1018 (FE_INVALID): Likewise.
1019 (FE_INVALID_SNAN): Likewise.
1020 (FE_INVALID_ISI): Likewise.
1021 (FE_INVALID_IDI): Likewise.
1022 (FE_INVALID_ZDZ): Likewise.
1023 (FE_INVALID_IMZ): Likewise.
1024 (FE_INVALID_COMPARE): Likewise.
1025 (FE_INVALID_SOFTWARE): Likewise.
1026 (FE_INVALID_SQRT): Likewise.
1027 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1028 (FE_TONEAREST): Likewise.
1029 (FE_TOWARDZERO): Likewise.
1030 (FE_UPWARD): Likewise.
1031 (FE_DOWNWARD): Likewise.
1032 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1033 (FE_DIVBYZERO): Likewise.
1034 (FE_OVERFLOW): Likewise.
1035 (FE_UNDERFLOW): Likewise.
1036 (FE_INEXACT): Likewise.
1037 (FE_TONEAREST): Likewise.
1038 (FE_DOWNWARD): Likewise.
1039 (FE_UPWARD): Likewise.
1040 (FE_TOWARDZERO): Likewise.
1041 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1042 (FE_UNDERFLOW): Likewise.
1043 (FE_OVERFLOW): Likewise.
1044 (FE_DIVBYZERO): Likewise.
1045 (FE_INVALID): Likewise.
1046 (FE_TONEAREST): Likewise.
1047 (FE_TOWARDZERO): Likewise.
1048 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1049 (FE_OVERFLOW): Likewise.
1050 (FE_UNDERFLOW): Likewise.
1051 (FE_DIVBYZERO): Likewise.
1052 (FE_INEXACT): Likewise.
1053 (FE_TONEAREST): Likewise.
1054 (FE_TOWARDZERO): Likewise.
1055 (FE_UPWARD): Likewise.
1056 (FE_DOWNWARD): Likewise.
1057 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1058 (FE_DIVBYZERO): Likewise.
1059 (FE_OVERFLOW): Likewise.
1060 (FE_UNDERFLOW): Likewise.
1061 (FE_INEXACT): Likewise.
1062 (FE_TONEAREST): Likewise.
1063 (FE_DOWNWARD): Likewise.
1064 (FE_UPWARD): Likewise.
1065 (FE_TOWARDZERO): Likewise.
1067 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1069 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1071 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1073 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1074 commands. Quote $PWD.
1075 (blacklist_exports): Don't use remove_newlines. Replace "declare
1077 (remove_newlines): Remove.
1079 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1081 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1082 * stdlib/stdlib.h (atof): Moved to ...
1083 * include/bits/stdlib-float.h: Here. New file.
1084 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1085 * stdlib/bits/stdlib-float.h: New file.
1086 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1091 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1093 * conform/conformtest.pl (@headers): Add fenv.h.
1094 * conform/data/fenv.h-data: New file.
1095 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1096 include of <math/fenv.h>.
1098 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1099 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1100 && !UNIX98]. Enables tests for XOPEN2K8.
1101 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1102 POSIX2008]: Likewise.
1104 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1105 (struct rusage): Do not expect type or its members.
1108 * math/math.h (FP_NAN): Define macro to integer constant usable in
1109 #if and use that to give value to enum constant.
1110 (FP_INFINITE): Likewise.
1111 (FP_ZERO): Likewise.
1112 (FP_SUBNORMAL): Likewise.
1113 (FP_NORMAL): Likewise.
1115 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1117 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1118 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1121 2012-11-02 Roland McGrath <roland@hack.frob.com>
1123 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1124 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1125 autoconf-time if not.
1126 * configure.in: Remove AC_PREREQ.
1128 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1130 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1131 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1132 of the internal implementation.
1134 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1136 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1137 except include of <misc/sys/syslog.h>.
1139 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1142 function returns with a NULL context exit with zero.
1144 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1146 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1148 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1150 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1151 (run_program_cmd): This.
1152 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1153 (tst_langinfo): New variable. Use it.
1155 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1157 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1158 floating point opcodes.
1160 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1162 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1165 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1167 * sysdeps/mach/hurd/powerpc: Remove directory.
1168 * sysdeps/mach/powerpc: Likewise.
1170 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1172 * scripts/check-local-headers.sh: Ignore c++ headers.
1174 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1176 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1177 __libc_cleanup_region_start argument.
1179 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1184 x * y using scaling, not as x * y + z.
1185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1187 * math/libm-test.inc (fma_test): Add more tests.
1188 (fma_test_towardzero): Likewise.
1189 (fma_test_downward): Likewise.
1190 (fma_test_upward): Likewise.
1192 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1194 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1196 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1198 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1201 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1203 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1205 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1212 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1215 Fix the order of the list for glibc 2.17.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1219 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1223 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1226 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1227 for low part of x being zero before using __atanl (y).
1228 * math/libm-test.inc (atan2_test): Add another test.
1230 * manual/install.texi (Configuring and compiling): Document
1231 general use of test-wrapper and test-wrapper-env.
1232 * INSTALL: Regenerated.
1234 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1235 (__fma): Do not extract and scale down low bits on after-rounding
1236 systems when result rounded to normal precision would have normal
1238 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1239 (__fmal): Do not extract and scale down low bits on after-rounding
1240 systems when result rounded to normal precision would have normal
1242 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1243 (__fmal): Do not extract and scale down low bits on after-rounding
1244 systems when result rounded to normal precision would have normal
1246 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1248 (fma_test): Add more tests.
1249 (fma_test_towardzero): Likewise.
1250 (fma_test_downward): Likewise.
1251 (fma_test_upward): Likewise.
1253 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1255 * sysdeps/i386/tininess.h: Renamed to ...
1256 * sysdeps/x86/tininess.h: This.
1257 * sysdeps/x86_64/tininess.h: Removed.
1259 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1261 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1262 input. Use $(build-program-cmd).
1263 ($(objpfx)tst-array1-static.out): Likewise.
1264 ($(objpfx)tst-array2.out): Likewise.
1265 ($(objpfx)tst-array3.out): Likewise.
1266 ($(objpfx)tst-array4.out): Likewise.
1267 ($(objpfx)tst-array5.out): Likewise.
1268 ($(objpfx)tst-array5-static.out): Likewise.
1270 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1272 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1275 * nss/nsswitch.h (nss_interface_function): Provide new
1276 macro for use with NSS functions.
1277 * grp/initgroups.c: Use new macro.
1278 * nss/getXXbyYY.c: Likewise.
1279 * nss/getXXbyYY_r.c: Likewise.
1280 * nss/getXXent.c: Likewise.
1281 * nss/getXXent_r.c: Likewise.
1282 * sysdeps/posix/getaddrinfo.c: Likewise.
1284 2012-10-30 Andreas Jaeger <aj@suse.de>
1286 * po/ru.po: Update Russion translation from translation project.
1288 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1293 result and shift together with sticky bit instead of replicating
1294 round-to-nearest rounding.
1295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1296 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1297 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1298 missing underflow exceptions.
1299 (fma_test_towardzero): Add more tests.
1300 (fma_test_downward): Likewise.
1301 (fma_test_upward): Likewise.
1304 * sysdeps/generic/tininess.h: New file.
1305 * sysdeps/i386/tininess.h: Likewise.
1306 * sysdeps/sh/tininess.h: Likewise.
1307 * sysdeps/x86_64/tininess.h: Likewise.
1308 * stdlib/tst-strtod-underflow.c: Likewise.
1309 * stdlib/tst-tininess.c: Likewise.
1310 * stdlib/strtod_l.c: Include <tininess.h>.
1311 (round_and_return): Do not set errno for exact underflow cases.
1312 Force an underflow exception when setting errno for underflow.
1313 Determine underflow based on rounding to normal precision if
1314 TININESS_AFTER_ROUNDING.
1315 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1316 ERANGE for exact underflow cases.
1317 * stdlib/Makefile (tests): Add tst-tininess and
1318 tst-strtod-underflow.
1319 ($(objpfx)tst-tininess): Use $(link-libm).
1320 ($(objpfx)tst-strtod-underflow): Likewise.
1322 2012-10-30 Andreas Jaeger <aj@suse.de>
1325 * elf/Makefile (tests): Remove conditional for have-initfini-array
1326 since this is now always required and the variable does not exist
1328 (tests-static): Likewise.
1329 (modules-names): Likewise.
1331 * po/eo.po: Add Esperanto translation from translation project.
1333 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1334 merged with constructor/destructor.
1335 (init_array): Likewise.
1336 * elf/tst-array2dep.c (fini_array): Likewise.
1337 (init_array): Likewise.
1339 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1341 * manual/message.texi: Delete @cartouche tags.
1343 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1345 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1347 * sysdeps/mach/hurd/fsync.c: Likewise.
1349 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1350 [_POSIX_REALTIME_SIGNALS]: Change condition to
1351 [_POSIX_REALTIME_SIGNALS > 0].
1353 2012-10-27 Andreas Jaeger <aj@suse.de>
1355 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1356 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1358 [__WORDSIZE != 64]: Likewise.
1360 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1362 * iconvdata/tst-table.sh: Remove ${SHELL}.
1363 * iconvdata/tst-tables.sh: Likewise.
1365 2012-10-25 David S. Miller <davem@davemloft.net>
1367 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1368 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1373 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1374 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1375 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1378 2012-10-25 Roland McGrath <roland@hack.frob.com>
1380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1381 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1384 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1385 Jim Blandy <jimb@codesourcery.com>
1387 * scripts/cross-test-ssh.sh: New file.
1388 * manual/install.texi (Configuring and compiling): Document use of
1390 * INSTALL: Regenerated.
1392 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1394 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1397 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1399 * Makeconfig (run-program-prefix): Fix comment.
1401 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1402 Jim Blandy <jimb@codesourcery.com>
1404 * Makeconfig (test-wrapper): New variable,
1405 (test-wrapper-env): Likewise.
1406 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1407 (run-built-tests): Define to yes.
1408 (run-program-prefix): Use $(test-wrapper).
1409 (built-program-cmd): Likewise.
1410 * Rules (make-test-out): Use $(test-wrapper-env) and
1411 $(host-built-program-cmd).
1412 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1413 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1415 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1416 $(test-wrapper-env) to tst-rtld-load-self.sh.
1417 ($(objpfx)order2.out): Use $(test-wrapper).
1418 ($(objpfx)tst-initorder.out): Likewise.
1419 ($(objpfx)tst-initorder2.out): Likewise.
1420 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1421 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1422 (test_wrapper_env): New variable. Use it to run ld.so.
1423 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1424 Use it to run ld.so.
1425 (test_wrapper_env): Likewise.
1426 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1427 $(test-wrapper) to run-iconv-test.sh.
1428 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1429 (ICONV): Use $test_wrapper.
1430 * posix/Makefile ($(objpfx)globtest.out): Pass
1431 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1432 globtest.sh, not $(run-program-prefix).
1433 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1434 (test_wrapper): Likewise.
1435 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1436 set together with run_via_rtld_prefix.
1437 (run_program_prefix): Define in terms of test_wrapper and
1438 run_via_rtld_prefix.
1440 2012-10-24 Roland McGrath <roland@hack.frob.com>
1442 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1443 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1447 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1448 Declare __clock_getres, __clock_gettime, __clock_settime,
1449 __clock_nanosleep, and __clock_getcpuclockid.
1450 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1451 Remove librt_hidden_def (clock_gettime).
1452 * sysdeps/unix/clock_gettime.c: Likewise.
1453 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1455 * rt/clock_getres.c: Define __clock_getres as an alias.
1456 * sysdeps/posix/clock_getres.c: Likewise.
1457 * rt/clock_settime.c: Define __clock_settime as an alias.
1458 * sysdeps/unix/clock_settime.c: Likewise.
1459 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1460 * sysdeps/unix/clock_nanosleep.c: Likewise.
1461 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1462 * rt/clock-compat.c: New file.
1463 * rt/Makefile (librt-routines): Add clock-compat and move
1464 $(clock-routines) to ...
1465 (routines): ... here, new variable.
1466 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1467 Don't add get_clockfreq here.
1468 * rt/Versions (libc: GLIBC_2.17): New version set.
1469 Add clock_* symbols here.
1470 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1471 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1472 (GLIBC_2.17): Add clock_* symbols.
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1484 * NEWS: Mention the move.
1486 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1487 Use __open, __read, __close rather than their public counterparts.
1488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1489 (__get_clockfreq_via_cpuinfo): Likewise.
1490 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1491 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1493 * config.h.in (HAVE_IFUNC): New #undef.
1494 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1496 * configure: Regenerated.
1498 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1500 * configure.in: Move READELF check to start of file.
1501 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1502 libc_cv_asm_gnu_indirect_function in the process.
1503 * configure: Regenerated.
1505 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1507 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1508 send the output to /dev/null.
1509 (libc_cv_cc_with_libunwind): Likewise.
1510 (libc_cv_as_noexecstack): Likewise.
1511 * configure: Regenerate.
1513 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1515 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1517 * posix/globtest.sh (TMPDIR): Do not set.
1518 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1519 (testout): Likewise.
1521 2012-10-24 Andreas Jaeger <aj@suse.de>
1523 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1524 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1525 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1526 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1527 posix_fadvise64, posix_fallocate64.
1529 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1530 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1531 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1533 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1535 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1538 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1539 <bits/fcntl-linux.h>.
1540 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1543 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1544 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1545 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1546 [__WORDSIZE != 64]: Likewise.
1548 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1550 * Makeconfig (run-built-tests): New variable.
1551 * Rules [$(cross-compiling) = yes]: Change condition to
1552 [$(run-built-tests) = no].
1553 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1554 to [$(run-built-tests) = yes].
1555 * elf/Makefile [$(cross-compiling) = no]: Likewise
1556 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1557 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1558 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1559 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1560 * io/Makefile [$(cross-compiling) = no]: Likewise.
1561 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1562 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1563 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1564 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1565 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1566 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1567 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1568 * string/Makefile [$(cross-compiling) = no]: Likewise.
1570 * posix/Makefile ($(objpfx)globtest.out): Pass
1571 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1572 $(rtld-installed-name).
1573 * posix/globtest.sh (elf_objpfx): Remove variable.
1574 (rtld_installed_name): Likewise.
1575 (library_path): Likewise.
1576 (run_program_prefix): New variable. Use for running globtest
1579 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1580 Joseph Myers <joseph@codesourcery.com>
1582 * Makeconfig (host-built-program-cmd): New variable.
1583 * elf/Makefile (tst-stackguard1-ARGS): Use
1584 $(host-built-program-cmd).
1585 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1586 (tst-spawn-ARGS): Likewise.
1587 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1589 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1590 Jim Blandy <jimb@codesourcery.com>
1592 * Makeconfig (run-via-rtld-prefix): New variable.
1593 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1594 (built-program-cmd): Likewise.
1596 2012-10-22 Andreas Jaeger <aj@suse.de>
1598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1599 __O_RSYNC if it exists, otherwise to O_SYNC.
1601 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1602 Joseph Myers <joseph@codesourcery.com>
1604 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1606 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1608 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1611 2012-10-22 Andreas Jaeger <aj@suse.de>
1613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1621 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1628 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1629 Joseph Myers <joseph@codesourcery.com>
1631 * config.make.in (NM): New variable.
1633 2012-10-21 Andreas Jaeger <aj@suse.de>
1635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1636 definitions and declarations that are provided by
1637 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1639 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1642 * elf/Makefile (tests-static): Add tst-leaks1-static.
1643 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1644 ($(objpfx)tst-leaks1-static): New rule.
1645 ($(objpfx)tst-leaks1-static-mem): Likewise.
1646 (tst-leaks1-static-ENV): New macro.
1647 * elf/dl-open.c (dl_open_worker): Check the main application
1648 only if SHARED is defined.
1649 * elf/tst-leaks1-static.c: New file.
1651 2012-10-20 Andreas Jaeger <aj@suse.de>
1653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1654 generic values for Linux.
1655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1656 and declarations that are provided by <bits/fcntl-linux.h> and
1657 include <bits/fcntl-linux.h>.
1658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1661 2012-10-20 Roland McGrath <roland@hack.frob.com>
1663 * io/fcntl.h: Move include of <bits/types.h> to the top and
1664 include it unconditionally.
1666 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1668 * wcsmbs/Makefile (tests-ifunc): New variable.
1669 (tests): Add $(tests-ifunc).
1670 * wcsmbs/test-wcschr-ifunc.c: New file.
1671 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1672 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1673 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1674 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1675 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1677 * string/Makefile (tests-ifunc): New variable.
1678 (tests): Add $(tests-ifunc).
1679 * string/test-memccpy.c (TEST_NAME): New macro.
1680 * string/test-memchr.c (TEST_NAME): Likewise.
1681 * string/test-memcmp.c (TEST_NAME): Likewise.
1682 * string/test-memcpy.c (TEST_NAME): Likewise.
1683 * string/test-memmem.c (TEST_NAME): Likewise.
1684 * string/test-memmove.c (TEST_NAME): Likewise.
1685 * string/test-memset.c (TEST_NAME): Likewise.
1686 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1687 * string/test-stpcpy.c (TEST_NAME): Likewise.
1688 * string/test-stpncpy.c (TEST_NAME): Likewise.
1689 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1690 * string/test-strcasestr.c (TEST_NAME): Likewise.
1691 * string/test-strcat.c (TEST_NAME): Likewise.
1692 * string/test-strchr.c (TEST_NAME): Likewise.
1693 * string/test-strcmp.c(TEST_NAME): Likewise.
1694 * string/test-strcpy.c (TEST_NAME): Likewise.
1695 * string/test-strcspn.c (TEST_NAME): Likewise.
1696 * string/test-strlen.c (TEST_NAME): Likewise.
1697 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1698 * string/test-strncmp.c (TEST_NAME): Likewise.
1699 * string/test-strncpy.c (TEST_NAME): Likewise.
1700 * string/test-strnlen.c (TEST_NAME): Likewise.
1701 * string/test-strpbrk.c (TEST_NAME): Likewise.
1702 * string/test-strrchr.c (TEST_NAME): Likewise.
1703 * string/test-strspn.c (TEST_NAME): Likewise.
1704 * string/test-strstr.c (TEST_NAME): Likewise.
1705 * string/test-bcopy-ifunc.c: New file.
1706 * string/test-bzero-ifunc.c: Likewise.
1707 * string/test-memccpy-ifunc.c: Likewise.
1708 * string/test-memchr-ifunc.c: Likewise.
1709 * string/test-memcmp-ifunc.c: Likewise.
1710 * string/test-memcpy-ifunc.c: Likewise.
1711 * string/test-memmem-ifunc.c: Likewise.
1712 * string/test-memmove-ifunc.c: Likewise.
1713 * string/test-mempcpy-ifunc.c: Likewise.
1714 * string/test-memset-ifunc.c: Likewise.
1715 * string/test-rawmemchr-ifunc.c: Likewise.
1716 * string/test-stpcpy-ifunc.c: Likewise.
1717 * string/test-stpncpy-ifunc.c: Likewise.
1718 * string/test-strcasecmp-ifunc.c: Likewise.
1719 * string/test-strcasestr-ifunc.c: Likewise.
1720 * string/test-strcat-ifunc.c: Likewise.
1721 * string/test-strchr-ifunc.c: Likewise.
1722 * string/test-strchrnul-ifunc.c: Likewise.
1723 * string/test-strcmp-ifunc.c: Likewise.
1724 * string/test-strcpy-ifunc.c: Likewise.
1725 * string/test-strcspn-ifunc.c: Likewise.
1726 * string/test-strlen-ifunc.c: Likewise.
1727 * string/test-strncasecmp-ifunc.c: Likewise.
1728 * string/test-strncat-ifunc.c: Likewise.
1729 * string/test-strncmp-ifunc.c: Likewise.
1730 * string/test-strncpy-ifunc.c: Likewise.
1731 * string/test-strnlen-ifunc.c: Likewise.
1732 * string/test-strpbrk-ifunc.c: Likewise.
1733 * string/test-strrchr-ifunc.c: Likewise.
1734 * string/test-strspn-ifunc.c: Likewise.
1735 * string/test-strstr-ifunc.c: Likewise.
1737 * debug/Makefile (tests-ifunc): New variable.
1738 (tests): Add $(tests-ifunc).
1739 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1740 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1741 * debug/test-stpcpy_chk-ifunc.c: New file.
1742 * debug/test-strcpy_chk-ifunc.c: Likewise.
1744 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1747 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1748 header is not read in.
1750 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1752 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1753 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1754 directly. Pass built executable to script as
1755 $(built-program-cmd).
1756 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1757 $testprogram without using LD_LIBRARY_PATH and $ldso.
1759 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1760 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1761 $(rtld-installed-name).
1762 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1763 (rtld_installed_name): Likewise.
1764 (library_path): Likewise.
1765 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1766 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1767 $(run-program-prefix) to tst-tables.sh.
1768 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1769 it to run tst-table-from and tst-table-to.
1770 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1771 Pass it to tst-table.sh.
1772 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1773 $(run-program-prefix) to tst-gettext.sh.
1774 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1776 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1778 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1780 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1781 to run tst-gettext2.
1782 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1783 to run tst-translit.
1784 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1785 $(run-program-prefix) to tst-mtrace.sh.
1786 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1788 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1789 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1790 $(rtld-installed-name).
1791 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1792 (rtld_installed_name): Likewise.
1793 (run_program_prefix): New variable. Use it to run wordexp-test.
1795 * Makeconfig (ARCH): Remove all definitions.
1796 (machine): Likewise.
1797 [ARCH]: Remove conditional code.
1798 [!objdir]: Give error.
1799 [!objdir] (objpfx): Remove.
1800 [!objdir] (common-objpfx): Likewise.
1801 [!objdir] (common-objdir): Likewise.
1802 * configure.in (config_makefile): Remove. Hardcode Makefile in
1803 AC_CONFIG_FILES call.
1804 * configure: Regenerated.
1807 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1809 (testout): Likewise.
1811 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1812 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1813 $(rtld-installed-name).
1814 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1815 (rtld_installed_name): Likwise.
1816 (runit): Remove function.
1817 (run_getconf): New variable, Use it for running getconf binary.
1819 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1822 * string/test-memmem.c (check_result): New function.
1823 (do_one_test): Use it.
1824 (check1): New function.
1825 (test_main): Use it.
1827 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1829 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1831 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1834 (_G_LSEEK64): Likewise.
1835 (_G_MMAP64): Likewise.
1836 (_G_FSTAT64): Likewise.
1837 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1838 (_G_LSEEK64): Likewise.
1839 (_G_MMAP64): Likewise.
1840 (_G_FSTAT64): Likewise.
1841 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1842 unconditional. Call __mmap64 directly.
1843 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1844 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1846 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1847 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1849 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1850 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1852 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1853 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1855 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1856 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1858 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1859 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1860 __fxstat64 directly.
1861 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1862 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1864 (freopen64) [!_G_OPEN64]: Remove conditional code.
1865 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1867 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1868 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1870 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1871 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1873 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1874 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1876 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1877 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1879 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1880 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1882 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1883 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1885 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1887 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1890 * manual/memory.texi (Malloc Tunable Parameters): Add note
1891 about free list pointers overwriting some perturb bytes.
1892 Wording suggested by Roland McGrath.
1894 2012-10-17 Joseph Myers <joseph@codesourcery.com>
1896 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1897 (lgamma_test): Likewise.
1898 (tgamma_test): Likewise.
1900 2012-10-16 Florian Weimer <fweimer@redhat.com>
1903 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1904 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1906 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1908 * NEWS: Mention BZ #14716.
1909 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1910 when removing AVAILABLE1_USES_J macro.
1912 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1914 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1915 (__bswap_64): __uint64_t for unsigned 64-bit int.
1917 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1919 * include/string.h (memmem): Declare libc hidden alias.
1920 * string/memmem.c (memmem): Define libc hidden alias.
1921 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1922 __read, __close instead of open, read, close.
1924 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1927 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1929 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1930 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1931 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1933 (__rawmemchr_sse2): Likewise.
1934 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1935 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1936 (__strchr_sse2): Likewise.
1937 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1938 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1939 (__strcasecmp_sse2): Likewise.
1940 (__strncasecmp_sse2): Likewise.
1941 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1942 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1943 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1944 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1945 (__strrchr_sse2): Likewise.
1946 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1948 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1949 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1950 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1951 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1952 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1953 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1954 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1955 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1956 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1957 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1958 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1959 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1960 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1961 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1962 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1963 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1964 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1965 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1966 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1967 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1968 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1969 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1970 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1971 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1972 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1973 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1974 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1975 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1976 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1977 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1979 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1981 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1982 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1983 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1984 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1986 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1988 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1989 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1990 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1991 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1993 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1994 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1995 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1996 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1997 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1998 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1999 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2000 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2001 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2002 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2003 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2004 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2005 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2006 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2007 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2008 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2009 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2010 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2011 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2012 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2013 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2014 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2015 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2016 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2020 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2021 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2022 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2023 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2024 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2025 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2026 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2027 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2028 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2029 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2030 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2031 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2035 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2036 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2037 * include/ifunc-impl-list.h: New file.
2038 * misc/ifunc-impl-list.c: Likewise.
2039 * misc/Makefile (routines): Add ifunc-impl-list.
2040 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2041 * string/test-string.h: Include <ifunc-impl-list.h>.
2042 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2043 impl_array): New variables.
2044 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2046 (test_init): Call __libc_ifunc_impl_list to initialize
2047 func_list if TEST_IFUNC and TEST_NAME are defined.
2049 * string/Makefile (strop-tests): Add bcopy and bzero.
2050 * string/test-bcopy.c: New file.
2051 * string/test-bzero.c: Likewise.
2052 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2054 * string/test-memset.c: Support bzero test if TEST_BZERO is
2056 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2058 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2060 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2063 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2065 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2066 * configure: Regenerated.
2068 * Makeconfig (+link-static-before-libc): Don't include
2069 $(link-static-libc).
2071 * libio/libio.h (_IO_pos_t): Remove.
2073 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2075 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2078 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2080 * crypt/crypt-entry.c: Include fips-private.h.
2081 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2082 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2083 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2084 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2086 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2088 * crypt/crypt-private.h: Include stdbool.h.
2089 (_ufc_setup_salt_r): Return bool.
2090 * crypt/crypt-entry.c: Include errno.h.
2091 (__crypt_r): Return NULL with EINVAL for bad salt.
2092 * crypt/crypt_util.c (bad_for_salt): New.
2093 (_ufc_setup_salt_r): Check that salt is long enough and within
2094 the specified alphabet.
2095 * crypt/badsalttest.c: New file.
2096 * crypt/Makefile (tests): Add it.
2097 ($(objpfx)badsalttest): New.
2099 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2101 * NEWS: Add entry for BZ #14602.
2103 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2105 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2107 * math/libm-test.inc: Update comment listing what functions and
2109 (isgreater_test): New function.
2110 (isgreaterequal_test): Likewise.
2111 (isless_test): Likewise.
2112 (islessequal_test): Likewise.
2113 (islessgreater_test): Likewise.
2114 (isunordered_test): Likewise.
2115 (main): Call the new functions.
2117 2012-10-09 Roland McGrath <roland@hack.frob.com>
2119 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2120 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2121 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2122 * sysdeps/i386/configure: Regenerated.
2123 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2124 * sysdeps/mach/configure: Regenerated.
2125 * sysdeps/mach/hurd/configure: Regenerated.
2126 * sysdeps/powerpc/configure: Regenerated.
2127 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2128 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2129 * sysdeps/s390/s390-32/configure: Regenerated.
2130 * sysdeps/s390/s390-64/configure: Regenerated.
2131 * sysdeps/sh/configure: Regenerated.
2132 * sysdeps/sparc/configure: Regenerated.
2133 * sysdeps/unix/sysv/linux/configure: Regenerated.
2134 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2135 * sysdeps/x86_64/configure: Regenerated.
2137 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2138 defined. Don't check if MAP is NULL.
2140 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2142 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2143 (_G_stat64): Likewise.
2144 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2145 (_G_stat64): Likewise.
2146 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2147 instead of struct _G_stat64.
2148 * libio/fileops.c (mmap_remap_check): Likewise.
2149 (decide_maybe_mmap): Likewise.
2150 (_IO_new_file_seekoff): Likewise.
2151 (_IO_file_stat): Likewise.
2152 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2154 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2155 instead of struct _G_stat64.
2156 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2158 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2161 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2163 (CHECK_EOL): New macro.
2164 (two_way_short_needle): Check beginning of haystack for EOL. Use
2166 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2167 Replace with CHECK_EOL.
2168 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2169 Replace with CHECK_EOL.
2171 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2173 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2175 * math/libm-test.inc: Update comment listing what functions and
2177 (finite_test): New function.
2178 (isinf_test): Likewise.
2179 (isnan_test): Likewise.
2180 (fpclassify_test): Test subnormal input.
2181 (isfinite_test): Likewise.
2182 (isnormal_test): Likewise.
2183 (main): Call the new functions.
2185 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2188 * Makerules (%.dynsym): Force C locale when running
2189 $(OBJDUMP) --dynamic-syms.
2191 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2193 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2196 2012-10-06 David S. Miller <davem@davemloft.net>
2198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2199 upper 32-bits of the length value in %o2 since we use branch-on-register
2200 tests which consider the entire 64-bit register.
2202 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2204 * string/test-strstr.c (check2): Add a test for page boundary.
2206 2012-10-05 David S. Miller <davem@davemloft.net>
2208 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2209 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2211 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2213 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2214 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2215 and bzero when HWCAP_SPARC_CRYPTO is present.
2217 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2220 * string/test-strstr.c (check2): New function.
2221 (test_main): Call check2.
2223 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2225 * string/bug-strcasestr1.c (do_test): Moved to ...
2226 * string/test-strcasestr.c (check1): Here. New function.
2227 (do_one_test): Break out result checking code into ...
2228 (check_result): This. New function.
2229 (do_one_test): Call check_result.
2230 (test_main): Call check1.
2231 * string/bug-strchr1.c (do_test): Moved to ...
2232 * string/test-strchr.c (check1): Here. New function.
2233 (do_one_test): Break out result checking code into ...
2234 (check_result): This. New function.
2235 (do_one_test): Call check_result.
2236 (test_main): Call check1.
2237 * string/bug-strstr1.c (main): Moved to ...
2238 * string/test-strchr.c (check1): Here. New function.
2239 (do_one_test): Break out result checking code into ...
2240 (check_result): This. New function.
2241 (do_one_test): Call check_result.
2242 (test_main): Call check1.
2243 * string/bug-strcasestr1.c: Removed.
2244 * string/bug-strchr1.c: Likewise.
2245 * string/bug-strstr1.c: Likewise.
2247 * elf/Makefile (dl-routines): Add hwcaps.
2248 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2249 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2250 (_dl_important_hwcaps): Moved to ...
2251 * elf/dl-hwcaps.c: Here. New file.
2252 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2255 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2256 if IS_IN_rtld isn't defined.
2258 * elf/dl-support.c (_dl_sysinfo_map): New.
2259 Include "get-dynamic-info.h" and "setup-vdso.h".
2260 (_dl_non_dynamic_init): Call setup_vdso.
2261 * elf/dynamic-link.h: Don't include <assert.h>.
2262 (elf_get_dynamic_info): Moved to ...
2263 * elf/get-dynamic-info.h: Here. New file.
2264 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2265 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2266 * elf/setup-vdso.h: Here. New file.
2267 * elf/rtld.c: Include "setup-vdso.h".
2268 (dl_main): Call setup_vdso.
2270 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2272 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2273 creal in comment listing functions tested. List finite, isinf,
2274 isnan, isless, islessequal, isgreater, isgreaterequal,
2275 islessgreater, isunordered, lgamma_r and pow10 as functions and
2276 macros not tested. Mention which functions not tested are aliases
2277 for other functions. Fix typo. Note that signs of NaNs are not
2280 * scripts/config.guess: Update from config.git.
2281 * scripts/config.sub: Likewise.
2283 2012-10-04 Roland McGrath <roland@hack.frob.com>
2285 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2286 * misc/madvise.c (madvise): Renamed to __madvise.
2287 Make madvise a weak alias.
2288 * include/sys/mman.h: Declare __madvise.
2289 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2290 * sysdeps/unix/syscalls.list
2291 (madvise): Make __madvise the strong name, and madvise a weak alias.
2292 * sysdeps/unix/sysv/linux/syscalls.list
2293 (madvise, mmap): Remove redundant entries.
2294 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2295 * malloc/malloc.c (mtrim): Likewise.
2296 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2298 2012-10-03 Roland McGrath <roland@hack.frob.com>
2300 * sysdeps/mach/hurd/dl-cache.c: File removed.
2301 * config.h.in (USE_LDCONFIG): New #undef.
2302 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2303 * configure: Regenerated.
2304 * elf/Makefile (dl-routines): Add dl-cache only under
2305 [$(use-ldconfig) = yes].
2306 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2307 cache on [USE_LDCONFIG].
2308 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2310 * elf/rtld.c (dl_main): Likewise.
2312 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2314 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2315 _SC_LEVEL4_CACHE_LINESIZE.
2317 2012-10-03 Roland McGrath <roland@hack.frob.com>
2319 * sysdeps/unix/bsd/confstr.h: File removed.
2321 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2323 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2326 2012-10-02 Roland McGrath <roland@hack.frob.com>
2328 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2329 Make 'mapoff' field ElfW(Off) rather than off_t.
2331 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2333 * nscd/Makefile: Remove nscd-cflags and all its users.
2334 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2335 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2338 * malloc.c (malloc_printerr): Clarify error message.
2340 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2344 Set bit_FMA_Usable if FMA is supported.
2345 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2347 (bit_FMA4_Usable): Updated.
2348 (index_FMA_Usable): New macro.
2349 (CPUID_FMA): Likewise
2350 (HAS_FMA): Defined with bit_FMA_Usable.
2352 2012-10-01 Roland McGrath <roland@hack.frob.com>
2354 * bits/types.h (__swblk_t): Type removed.
2355 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2356 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2358 (__SWBLK_T_TYPE): Likewise.
2359 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2360 (__SWBLK_T_TYPE): Likewise.
2361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2362 (__SWBLK_T_TYPE): Likewise.
2363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2364 (__SWBLK_T_TYPE): Likewise.
2366 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2367 Honza Horak <hhorak@redhat.com>
2369 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2370 (xdr_mapname): Use YPMAXMAP as maxsize.
2371 (xdr_peername): Use YPMAXPEER as maxsize.
2372 (xdr_keydat): Use YPAXRECORD as maxsize.
2373 (xdr_valdat): Use YPMAXRECORD as maxsize.
2375 2012-10-01 Roland McGrath <roland@hack.frob.com>
2377 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2379 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2380 * csu/init-first.c: ... here.
2381 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2382 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2385 * sysdeps/i386/init-first.c: File removed.
2386 * sysdeps/sh/init-first.c: File removed.
2388 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2392 if x * y might underflow to zero and z is zero.
2393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2395 * math/libm-test.inc (min_subnorm_value): New variable.
2396 (fma_test): Add more tests.
2397 (fma_test_towardzero): Likewise.
2398 (fma_test_downward): Likewise
2399 (fma_test_upward): Likewise.
2400 (initialize): Set min_subnorm_value.
2402 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2407 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2408 mode for addition resulting in exact zero.
2409 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2412 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2413 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2414 * math/libm-test.inc (fma_test): Add more tests.
2415 (fma_test_towardzero): New function.
2416 (fma_test_downward): Likewise.
2417 (fma_test_upward): Likewise.
2418 (main): Call the new functions.
2420 2012-09-28 David S. Miller <davem@davemloft.net>
2422 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2424 2012-09-28 Roland McGrath <roland@hack.frob.com>
2426 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2429 * sysdeps/gnu/_G_config.h: Moved to ...
2430 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2431 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2432 * sysdeps/generic/_G_config.h: ... here.
2434 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2436 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2438 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2439 Conditionalize target on [libnss_test1.so-version].
2441 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2443 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2444 (elfobjdir): Move out of conditionals.
2446 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2447 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2448 (__nss_lookup_function): Conditionalize label remove_from_tree on
2449 [!DO_STATIC_NSS || SHARED], matching its only use.
2451 2012-09-28 David S. Miller <davem@davemloft.net>
2453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2454 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2456 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2458 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2460 when HWCAP_SPARC_CRYPTO is present.
2462 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2464 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2466 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2469 * stdio-common/vfprintf.c (process_string_arg): Revert
2472 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2474 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2476 * stdio-common/tst-sprintf.c: Include <locale.h>
2477 (main): Test sprintf's handling of incomplete multibyte
2480 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2482 * elf/dl-runtime.c (VERSYMIDX): Removed.
2483 * elf/dl-version.c (VERSYMIDX): Likewise.
2484 * elf/do-rel.h (VERSYMIDX): Likewise.
2486 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2487 * elf/rtld.c (VALIDX): Likewise.
2488 (ADDRIDX): Likewise.
2489 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2490 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2491 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2492 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2494 (ADDRIDX): Likewise.
2496 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2498 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2500 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2503 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2505 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2506 addresses are in the same scope as 192.0.2/24.
2507 * posix/gai.conf: Document new scope table defaults.
2509 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2512 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2513 for ftell. Compute offsets from write pointers instead.
2514 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2516 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2519 * libio/Makefile (tests): New test case tst-fseek.
2520 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2521 combination works in wide mode.
2522 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2523 state when the external buffer state changes.
2525 2012-09-27 David S. Miller <davem@davemloft.net>
2528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2529 pass reloc->r_addend in as the 'high' argument to
2530 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2534 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2536 * rt/tst-aio2.c: Include <pthread.h>.
2537 * rt/tst-aio3.c: Likewise.
2539 2012-09-27 Steve Ellcey <sellcey@mips.com>
2541 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2543 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2545 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2546 contents on [SHARED].
2548 2012-09-26 Marek Polacek <polacek@redhat.com>
2552 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2553 for C++ and GCC <4.3 as well as for non GCC compilers.
2555 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2559 2012-09-25 Roland McGrath <roland@hack.frob.com>
2561 * Makefile.in (all, install): Declare with .PHONY.
2562 Reported by Michael Hope <michael.hope@linaro.org>.
2564 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2566 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2567 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2569 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2571 (sydep_routines): Add the new and the internal functions.
2572 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2573 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2575 (GLIBC_2.17): Add the new function.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2577 (GLIBC_2.17): Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2579 (GLIBC_2.17): Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2581 (GLIBC_2.17): Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2584 2012-09-25 Alan Modra <amodra@gmail.com>
2586 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2587 Add release barrier before setting once_control to say
2588 initialisation is done. Add hints on lwarx. Use macro in
2590 (clear_once_control): Add release barrier.
2592 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2595 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2597 * math/s_clog10.c (__clog10): Likewise.
2598 * math/s_clog10f.c (__clog10f): Likewise.
2599 * math/s_clog10l.c (__clog10l): Likewise.
2600 * math/s_clogf.c (__clogf): Likewise.
2601 * math/s_clogl.c (__clogl): Likewise.
2602 * math/Makefile (libm-calls): Add x2y2m1.
2603 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2604 (__x2y2m1): Likewise.
2605 (__x2y2m1l): Likewise.
2606 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2607 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2608 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2609 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2610 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2611 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2612 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2613 * sysdeps/i386/fpu/libm-test-ulps: Update.
2614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2617 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2618 int as type of variable DEPTH.
2619 (glob): Use size_t instead of int as type of variables NEWCOUNT
2622 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2624 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2626 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2627 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2628 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2629 macros for using routine as __sincosf_ia32.
2630 Use macro for function declaration and weak_alias.
2631 * sysdeps/i386/fpu/libm-test-ulps: Update.
2633 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2636 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2638 * math/s_cexpf.c (__cexpf): Likewise.
2639 * math/s_csinf.c (__csinf): Likewise.
2640 * math/s_csinhf.c (__csinhf): Likewise.
2641 * math/s_ctanf.c (__ctanf): Likewise.
2642 * math/s_ctanhf.c (__ctanhf): Likewise.
2643 * math/s_ccosh.c (__ccoshf): Likewise.
2644 * math/s_cexp.c (__cexpl): Likewise.
2645 * math/s_csin.c (__csin): Likewise.
2646 * math/s_csinh.c (__csinh): Likewise.
2647 * math/s_ctan.c (__ctan): Likewise.
2648 * math/s_ctanh.c (ctanh): Likewise.
2649 * math/s_ccoshl.c (__ccoshl): Likewise.
2650 * math/s_cexpl.c (__cexpl): Likewise.
2651 * math/s_csinl.c (__csinl): Likewise.
2652 * math/s_csinhl.c (__csinhl): Likewise.
2653 * math/s_ctanl.c (__ctanl): Likewise.
2654 * math/s_ctanhl.c (__ctanhl): Likewise.
2656 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2658 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2659 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2660 (_IO_off_t): Define to __off_t, not _G_off_t.
2661 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2662 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2663 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2664 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2665 type of __dummy and __dummy2 fields.
2666 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2667 (_G_ssize_t): Likewise.
2668 (_G_off_t): Likewise.
2669 (_G_pid_t): Likewise.
2670 (_G_uid_t): Likewise.
2671 (_G_wchar_t): Likewise.
2672 (_G_wint_t): Likewise.
2673 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2674 (_G_ssize_t): Likewise.
2675 (_G_off_t): Likewise.
2676 (_G_pid_t): Likewise.
2677 (_G_uid_t): Likewise.
2678 (_G_wchar_t): Likewise.
2679 (_G_wint_t): Likewise.
2680 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2681 (_G_ssize_t): Likewise.
2682 (_G_off_t): Likewise.
2683 (_G_pid_t): Likewise.
2684 (_G_uid_t): Likewise.
2685 (_G_wchar_t): Likewise.
2686 (_G_wint_t): Likewise.
2688 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2690 * malloc/arena.c: Include malloc-sysdep.h.
2691 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2692 is sufficient to shrink the heap or an unmap is needed.
2693 * sysdeps/generic/malloc-sysdep.h: New file. Define
2694 new function check_may_shrink_heap.
2695 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2696 new function check_may_shrink_heap.
2698 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2700 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2703 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2705 * catgets/test-gencat.sh: Add "set -e".
2706 * elf/tst-pathopt.sh: Likewise.
2707 * grp/tst_fgetgrent.sh: Likewise.
2708 * iconvdata/run-iconv-test.sh: Likewise.
2709 * intl/tst-gettext.sh: Likewise.
2710 * intl/tst-gettext2.sh: Likewise.
2711 * intl/tst-gettext4.sh: Likewise.
2712 * intl/tst-gettext6.sh: Likewise.
2713 * intl/tst-translit.sh: Likewise.
2714 * io/ftwtest-sh: Likewise.
2715 * libio/test-freopen.sh: Likewise.
2716 * malloc/tst-mtrace.sh: Likewise.
2717 * posix/globtest.sh: Likewise.
2718 * posix/tst-getconf.sh: Likewise.
2719 * posix/wordexp-tst.sh: Likewise.
2720 * stdio-common/tst-printf.sh: Likewise.
2721 * stdio-common/tst-unbputc.sh: Likewise.
2722 * stdlib/tst-fmtmsg.sh: Likewise.
2723 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2724 * catgets/Makefile: Do not specify -e option when running
2725 testsuite shell scripts.
2726 * elf/Makefile: Likewise.
2727 * grp/Makefile: Likewise.
2728 * iconvdata/Makefile: Likewise.
2729 * intl/Makefile: Likewise.
2730 * io/Makefile: Likewise.
2731 * libio/Makefile: Likewise.
2732 * malloc/Makefile: Likewise.
2733 * posix/Makefile: Likewise.
2734 * stdio-common/Makefile: Likewise.
2735 * stdlib/Makefile: Likewise.
2736 * sysdeps/x86_64/Makefile: Likewise.
2738 * io/ftwtest-sh: Add copyright header.
2739 * posix/globtest.sh: Likewise.
2740 * posix/tst-getconf.sh: Likewise.
2741 * posix/wordexp-tst.sh: Likewise.
2742 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2744 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2747 * Makeconfig (+link): Defined as $(+link-static) if
2748 $(build-shared) isn't yes.
2749 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2751 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2753 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2756 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2757 new chunk size with MALLOC_ALIGN_MASK.
2759 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2762 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2764 (__printf_fphex): Determine rounding using get_rounding_mode and
2766 * stdio-common/tst-printf-round.c (struct hex_test): New
2768 (hex_tests): New variable.
2769 (test_hex_in_one_mode): New function.
2770 (do_test): Also run tests for hex float output.
2772 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2774 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2775 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2776 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2777 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2778 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2779 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2780 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2781 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2783 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2785 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2786 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2787 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2788 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2790 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2793 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2795 * elf/tst-rtld-load-self.sh: New test.
2796 * elf/Makefile: Run it.
2798 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2800 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2801 (tst-writev-ENV): Remove.
2802 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2804 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2806 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2808 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2810 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2812 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2814 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2815 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2816 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2819 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2822 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2823 * config.make.in (have-cpp-asm-debuginfo): Removed.
2824 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2825 * configure: Regenerated.
2827 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2830 * stdio-common/printf_fp.c: Include <stdbool.h> and
2832 (___printf_fp): Determine rounding using get_rounding_mode and
2834 * stdio-common/tst-printf-round.c: New file.
2835 * stdio-common/Makefile (tests): Add tst-printf-round.
2836 (link-libm): New variable.
2837 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2839 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2842 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2843 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2845 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2848 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2850 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2851 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2852 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2853 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2855 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2858 * include/rounding-mode.h: New file.
2859 * sysdeps/generic/get-rounding-mode.h: Likewise.
2860 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2861 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2862 (MAX_VALUE): New macro.
2863 (MIN_VALUE): Likewise.
2864 (overflow_value): New function.
2865 (underflow_value): Likewise.
2866 (round_and_return): Use overflow_value and underflow_value to
2867 determine return values in overflow and underflow cases. Use
2868 round_away to determine rounding depending on rounding mode.
2869 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2870 determine return values in overflow and underflow cases.
2871 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2872 (struct test_results): New structure.
2873 (struct test): Use struct test_results to store expected results
2874 for all rounding modes.
2875 (TEST): Include expected results for all rounding modes.
2876 (test_in_one_mode): New function.
2877 (do_test): Use test_in_one_mode to compute and check results.
2878 Check results for all rounding modes.
2879 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2882 2012-12-09 Allan McRae <allan@archlinux.org>
2884 * sysdeps/i386/fpu/libm-test-ulps: Update
2886 2012-09-11 Joseph Myers <joseph@codesourcery.com>
2888 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2889 (_G_int32_t): Likewise.
2890 (_G_uint16_t): Likewise.
2891 (_G_uint32_t): Likewise.
2892 (_G_HAVE_BOOL): Likewise.
2893 (_G_HAVE_ATEXIT): Likewise.
2894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2895 (_G_HAVE_IO_FILE_OPEN): Likewise.
2896 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2897 (_G_int32_t): Likewise.
2898 (_G_uint16_t): Likewise.
2899 (_G_uint32_t): Likewise.
2900 (_G_HAVE_BOOL): Likewise.
2901 (_G_HAVE_ATEXIT): Likewise.
2902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2903 (_G_HAVE_IO_FILE_OPEN): Likewise.
2904 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2905 (_G_int32_t): Likewise.
2906 (_G_uint16_t): Likewise.
2907 (_G_uint32_t): Likewise.
2908 (_G_HAVE_BOOL): Likewise.
2909 (_G_HAVE_ATEXIT): Likewise.
2910 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2911 (_G_HAVE_IO_FILE_OPEN): Likewise.
2913 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2915 * csu/libc-tls.c: Update copyright years.
2917 2012-09-10 Joseph Myers <joseph@codesourcery.com>
2919 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2920 [!_G_USING_THUNKS]: Remove conditional code.
2921 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2922 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2924 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2925 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2926 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2927 (_G_VTABLE_LABEL_PREFIX): Likewise.
2928 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2929 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2930 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2931 (_G_VTABLE_LABEL_PREFIX): Likewise.
2932 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2933 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2934 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2935 (_G_VTABLE_LABEL_PREFIX): Likewise.
2936 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2938 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2940 * libio/Makefile: Include ../Makeconfig before tests.
2941 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2942 only if $(build-shared) is yes.
2944 * iconv/gconv_db.c: Update copyright years.
2946 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2948 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2949 unwind info if defined PIC. Fix special cases description.
2950 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2952 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2954 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2956 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2958 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2960 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2963 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2964 (LDLIBS-tst-chk4): This.
2965 (LDFLAGS-tst-chk5): Renamed to ...
2966 (LDLIBS-tst-chk5): This.
2967 (LDFLAGS-tst-chk6): Renamed to ...
2968 (LDLIBS-tst-chk6): This.
2969 (LDFLAGS-tst-lfschk4): Renamed to ...
2970 (LDLIBS-tst-lfschk4): This.
2971 (LDFLAGS-tst-lfschk5): Renamed to ...
2972 (LDLIBS-tst-lfschk5): This.
2973 (LDFLAGS-tst-lfschk6): Renamed to ...
2974 (LDLIBS-tst-lfschk6): This.
2976 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2977 on $(common-objpfx)soversions.mk.
2979 2012-09-07 Joseph Myers <joseph@codesourcery.com>
2982 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2985 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2987 * malloc/arena.c (arena_get_retry): New function that gets
2988 another arena for the caller to try its request on.
2989 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2990 current arena cannot fulfill the request.
2991 (__libc_memalign): Likewise.
2992 (__libc_memalign): Likewise.
2993 (__libc_pvalloc): Likewise.
2994 (__libc_calloc): Likewise.
2996 2012-09-05 John Tobey <john.tobey@gmail.com>
2999 * manual/arith.texi (Operations on Complex): Fix description
3002 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3005 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3009 * manual/memory.texi (Memory): Make order of menu items match
3012 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3014 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3015 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3016 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3018 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3020 * csu/libc-tls.c (static_dtv): Renamed to ...
3021 (_dl_static_dtv): This. Make it global.
3022 (_dl_initial_dtv): Removed.
3023 (__libc_setup_tls): Updated.
3024 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3025 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3028 2012-09-06 Petr Machata <pmachata@redhat.com>
3030 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3031 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3032 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3033 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3035 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3038 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3039 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3042 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3045 * Makeconfig (link-static-before-libc): Replace $(+prector)
3047 (link-static-after-libc): Replace $(+postctor) with
3049 (link-bounded): Replace $(+prector)/$(+postctor) with
3050 $(+prectorT)/$(+postctorT).
3051 (+prectorT): New macro.
3052 (+postctorT): Likewise.
3054 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3056 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3057 (round_str): Handle values above the maximum for IBM long double
3059 * stdlib/tst-strtod-round.c (tests): Regenerated.
3061 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3063 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3065 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3066 zarch_nohighgprs around the zarch optimized routines.
3067 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3068 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3069 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3072 2012-09-05 David S. Miller <davem@davemloft.net>
3074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3076 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3077 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3078 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3079 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3082 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3084 * malloc/arena.c: Fold copyright years.
3085 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3087 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3089 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3091 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3093 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3095 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3097 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3098 change internal state upon failure.
3100 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3102 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3103 * malloc/memusage.c (mmap): Likewise.
3104 (mmap64, mremap): Likewise. Adjust name in comment.
3106 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3108 * libio/fileops.c: Fix typos in comments.
3109 * libio/oldfileops.c: Likewise.
3110 * libio/wfileops.c: Likewise.
3112 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3115 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3116 (tst-malloc-usable-ENV): Set environment for test case.
3117 * malloc/hooks.c (malloc_check_get_size): New function to get
3119 * malloc/malloc.c (musable): Use malloc_check_get_size.
3120 * malloc/tst-malloc-usable.c: New test case.
3122 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3124 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3126 2012-09-05 Allan McRae <allan@archlinux.org>
3129 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3130 determine header location.
3131 * configure: Regenerated.
3133 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3135 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3137 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3138 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3142 2012-09-04 David S. Miller <davem@davemloft.net>
3144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3146 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3148 2012-09-04 Florian Weimer <fweimer@redhat.com>
3150 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3153 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3155 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3158 * libio/iogetdelim.c: Include <limits.h>.
3159 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3160 + len + 1 would overflow.
3162 2012-09-03 Andreas Jaeger <aj@suse.de>
3164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3165 * sysdeps/i386/fpu/libm-test-ulps: Update.
3167 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3169 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3170 Add s_sinf-sse2, s_conf-sse2.
3172 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3173 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3174 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3175 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3177 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3178 for using routine as __sinf_ia32.
3179 Use macro for function declaration and weak_alias.
3180 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3181 for using routine as __cosf_ia32.
3182 Use macro for function declaration and weak_alias.
3184 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3185 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3187 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3188 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3191 * math/libm-test.inc (cos_test): Add more test cases.
3192 (sin_test): Likewise.
3193 (sincos_test): Likewise.
3195 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3197 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3198 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3200 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3202 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3205 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3206 first element of the GOT.
3207 (elf_machine_load_address): Return the difference between
3208 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3210 2012-09-01 Allan McRae <allan@archlinux.org>
3213 * configure.in (AWK): Require gawk version 3.0 or later.
3214 * configure: Regenerated.
3216 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3218 * sysdeps/unix/sysv/linux/kernel-features.h
3219 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3220 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3221 [__NR_clock_getres]: Make code unconditional.
3222 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3223 (clock_getcpuclockid): Remove code left unreachable by removal of
3225 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3227 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3228 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3229 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3230 Make code unconditional.
3231 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3232 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3233 * sysdeps/unix/sysv/linux/clock_settime.c
3234 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3236 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3237 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3239 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3242 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3243 scripts/test-installation.pl.
3245 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3246 and $ld_so_version if it is set.
3248 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3252 failure if reading from procfs failed.
3253 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3255 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3257 * sysdeps/unix/sysv/linux/kernel-features.h
3258 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3259 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3260 Remove conditional code.
3261 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3262 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3263 Remove conditional code.
3264 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3265 * sysdeps/unix/sysv/linux/i386/fxstat.c
3266 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3267 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3268 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3269 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3271 * sysdeps/unix/sysv/linux/i386/lxstat.c
3272 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3274 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3275 Remove conditional code.
3276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3277 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3278 Remove conditional code.
3279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3280 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3281 <kernel-features.h>.
3282 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3284 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3285 Remove conditional code.
3286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3287 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3290 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3293 * NEWS: Add fixed bug number.
3295 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3298 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3299 underflowing exponent in case of negative sign.
3300 * stdlib/tst-strtod-round-data: Add more tests.
3301 * stdlib/tst-strtod-round.c (tests): Regenerated.
3304 * stdlib/strtod_l.c (NDIG): Remove.
3305 (HEXNDIG): Likewise.
3306 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3307 smallest representable value.
3308 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3309 lie within an exact representation of 1/2 ulp of the result.
3310 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3312 (TENS_P9_IDX): Define unconditionally.
3313 (TENS_P9_SIZE): Likewise.
3314 (TENS_P10_IDX): Likewise.
3315 (TENS_P10_SIZE): Likewise.
3316 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3317 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3318 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3319 entries for 10^2^13 and 10^2^14.
3320 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3321 (TENS_P13_IDX): Define.
3322 (TENS_P13_SIZE): Likewise.
3323 (TENS_P14_IDX): Likewise.
3324 (TENS_P14_SIZE): Likewise.
3325 (_fpioconst_pow10): Change array size to
3326 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3328 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3329 1024]: Add entries for 10^2^13 and 10^2^14.
3330 [LAST_POW10 > _LAST_POW10]: Remove #error.
3331 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3332 (_fpioconst_pow10): Change array size to
3333 FPIOCONST_POW10_ARRAY_SIZE.
3334 * stdlib/gen-fpioconst.c: New file.
3335 * stdlib/gen-tst-strtod-round.c: Likewise.
3336 * stdlib/tst-strtod-round-data: Likewise.
3337 * stdlib/tst-strtod-round.c: Likewise.
3338 * stdlib/Makefile (tests): Add tst-strtod-round.
3341 * stdlib/strtod_l.c: Include <stdint.h>.
3342 (NDEBUG): Do not define.
3343 (round_and_return): Change EXPONENT parameter to type intmax_t.
3344 Rearrange calculations to avoid internal overflow possibilities.
3345 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3346 Rearrange calculations to avoid internal overflow possibilities.
3347 Assert that number fits inside MPNSIZE limbs.
3348 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3349 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3350 calculations and add assertions to avoid internal overflow
3351 possibilities. Add casts to avoid signed/unsigned operations.
3352 * stdlib/tst-strtod-overflow.c: New file.
3353 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3355 2012-08-25 Marek Polacek <polacek@redhat.com>
3357 * time/time.h: Fix some typos in comments.
3359 2012-08-23 Roland McGrath <roland@hack.frob.com>
3361 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3362 * posix/tst-rfc3484-2.c: Likewise.
3363 * posix/tst-rfc3484-3.c: Likewise.
3365 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3367 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3368 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3370 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3372 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3373 #include of fxstatat64.c.
3375 2012-08-22 Roland McGrath <roland@hack.frob.com>
3377 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3378 * shadow/getspent_r.c: Likewise.
3379 * shadow/getspnam.c: Likewise.
3380 * shadow/getspnam_r.c: Likewise.
3381 * gshadow/getsgent.c: Likewise.
3382 * gshadow/getsgent_r.c: Likewise.
3383 * gshadow/getsgnam.c: Likewise.
3384 * gshadow/getsgnam_r.c: Likewise.
3385 * inet/getnetbyad.c: Likewise.
3386 * inet/getnetbyad_r.c: Likewise.
3387 * inet/getnetbynm.c: Likewise.
3388 * inet/getnetbynm_r.c: Likewise.
3389 * inet/getnetent.c: Likewise.
3390 * inet/getnetent_r.c: Likewise.
3391 * inet/getproto.c: Likewise.
3392 * inet/getproto_r.c: Likewise.
3393 * inet/getprtent.c: Likewise.
3394 * inet/getprtent_r.c: Likewise.
3395 * inet/getprtname.c: Likewise.
3396 * inet/getprtname_r.c: Likewise.
3397 * inet/getrpcbyname.c: Likewise.
3398 * inet/getrpcbyname_r.c: Likewise.
3399 * inet/getrpcbynumber.c: Likewise.
3400 * inet/getrpcbynumber_r.c: Likewise.
3401 * inet/getrpcent.c: Likewise.
3402 * inet/getrpcent_r.c: Likewise.
3403 * inet/getaliasent.c: Likewise.
3404 * inet/getaliasent_r.c: Likewise.
3405 * inet/getaliasname.c: Likewise.
3406 * inet/getaliasname_r.c: Likewise.
3407 * nscd/getgrgid_r.c: Likewise.
3408 * nscd/getgrnam_r.c: Likewise.
3409 * nscd/gethstbyad_r.c: Likewise.
3410 * nscd/gethstbynm3_r.c: Likewise.
3411 * nscd/getpwnam_r.c: Likewise.
3412 * nscd/getpwuid_r.c: Likewise.
3413 * nscd/getsrvbynm_r.c: Likewise.
3414 * nscd/getsrvbypt_r.c: Likewise.
3415 * nscd/gai.c: Likewise.
3417 * configure.in (build_nscd): New substituted variable, set
3418 by --disable-build-nscd and defaults to $use_nscd.
3419 * configure: Regenerated.
3420 * config.make.in (build-nscd): New substituted variable.
3421 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3422 Change conditional to require [$(build-nscd) = yes] as well.
3423 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3426 * configure.in (use_nscd): New substituted variable, set by
3427 --disable-nscd. If enabled, define USE_NSCD.
3428 * configure: Regenerated.
3429 * config.h.in: Add USE_NSCD.
3430 * config.make.in (use-nscd): New substituted variable.
3431 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3432 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3433 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3434 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3435 (CFLAGS-getgrnam_r.c): Likewise.
3436 (CFLAGS-initgroups.c): Likewise.
3437 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3438 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3440 * inet/getnetgrent_r.c
3441 (nscd_setnetgrent): New function, broken out of ...
3442 (setnetgrent): ... here. Call it.
3443 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3444 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3445 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3446 * nscd/Makefile (routines, aux): Move definitions after include of
3447 Makeconfig. Conditionalize on [$(use-nscd) != no].
3448 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3449 Conditionalize on [USE_NSCD].
3450 (is_nscd, nscd_init_cb): Likewise.
3451 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3452 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3453 * nss/nss_db/db-init.c: Likewise.
3454 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3456 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3457 (make_request): Use it.
3458 (cache_valid_p): New function.
3459 (__check_pf): Use it.
3460 * NEWS: Add item for --disable-nscd.
3462 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3464 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3465 to support sed >= 4.2.1-20-ga9bf076.
3466 * configure: Regenerated.
3468 2012-08-22 Roland McGrath <roland@hack.frob.com>
3470 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3471 Conditionalize whole body on [IREL].
3473 2012-08-22 Jeff Law <law@redhat.com>
3476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3477 if the family is PF_UNSPEC.
3479 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3481 * Makerules (lib-version): Rename from V.
3482 (install-lib-nosubdir): Change V to lib-version.
3484 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3487 * powerpc32/power6/wcschr.c: New file.
3488 * powerpc32/power6/wcscpy.c: New file.
3489 * powerpc32/power6/wcsrchr.c: New file.
3490 * powerpc64/power6/wcschr.c: New file.
3491 * powerpc64/power6/wcscpy.c: New file.
3492 * powerpc64/power6/wcsrchr.c: New file.
3494 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3496 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3497 (two_way_short_needle): Use it.
3498 * string/strstr.c (AVAILABLE1_USES_J): Define.
3499 * string/strcasestr.c: Likewise.
3501 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3503 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3506 * NEWS: Add an entry.
3507 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3508 define their defaults.
3509 (two_way_short_needle): Detect end-of-string on-the-fly.
3510 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3511 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3512 * string/bug-strcasestr1.c: New test.
3513 * string/Makefile: Run it.
3515 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3518 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3519 the first character.
3521 2012-08-21 Roland McGrath <roland@hack.frob.com>
3523 * csu/elf-init.c (__libc_csu_irel): Function removed.
3524 * csu/libc-start.c (apply_irel): New function.
3525 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3527 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3529 * sysdeps/unix/sysv/linux/kernel-features.h
3530 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3531 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3532 <kernel-features.h>.
3533 [__NR_fadvise64_64]: Make code unconditional.
3534 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3535 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3536 !__NR_fadvise64_64)]: Likewise.
3537 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3538 !__NR_fadvise64_64))]: Likewise.
3539 [__NR_fadvise64]: Make code unconditional.
3540 [!__NR_fadvise64]: Remove conditional code.
3541 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3542 <kernel-features.h>.
3543 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3545 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3548 not include <kernel-features.h>.
3549 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3551 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3553 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3554 include <kernel-features.h>.
3555 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3557 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3560 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3563 slight instruction rearrangements per scrollpipe analysis.
3564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3566 2012-08-20 Roland McGrath <roland@hack.frob.com>
3568 * manual/syslog.texi (syslog; vsyslog, closelog):
3569 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3570 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3572 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3573 DSOCAPS to match condition on defining it.
3575 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3577 * sysdeps/unix/sysv/linux/kernel-features.h
3578 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3580 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3581 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3583 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3584 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3586 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3587 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3589 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3590 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3592 * sysdeps/unix/sysv/linux/kernel-features.h
3593 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3594 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3596 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3597 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3598 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3599 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3600 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3601 Make code unconditional.
3602 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3603 (__mmap64) [!__NR_mmap2]: Likewise.
3604 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3605 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3606 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3607 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3608 [__NR_mmap2]: Make code unconditional.
3609 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3610 (__mmap64) [!__NR_mmap2]: Likewise.
3612 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3614 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3616 2012-08-18 Andreas Jaeger <aj@suse.de>
3618 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3620 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3622 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3623 * include/unistd.h (__have_sock_cloexec): Likewise.
3624 (__have_pipe2): Likewise.
3625 (__have_dup3): Likewise.
3627 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3630 * include/unistd.h (__have_pipe2): Change define into an extern int.
3631 (__have_dup3): Likewise.
3632 * socket/have_sock_cloexec.c: Include fcntl.h.
3633 (__have_pipe2): New variable.
3634 (__have_dup3): Likewise.
3636 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3638 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3640 2012-08-17 Marek Polacek <polacek@redhat.com>
3642 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3643 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3645 2012-08-17 Roland McGrath <roland@hack.frob.com>
3647 * configure.in: Add AC_SUBST for sysheaders.
3648 * configure: Regenerated.
3649 * config.make.in (sysheaders): New substituted variable.
3651 * sysdeps/unix/mkfifo.c: Moved ...
3652 * sysdeps/posix/mkfifo.c: ... here.
3653 * sysdeps/unix/mkfifoat.c: Moved ...
3654 * sysdeps/posix/mkfifoat.c: ... here.
3656 * sysdeps/unix/utime.c: Moved ...
3657 * sysdeps/posix/utime.c: ... here.
3659 * sysdeps/unix/time.c: Moved ...
3660 * sysdeps/posix/time.c: ... here.
3661 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3662 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3664 * sysdeps/unix/nice.c: Moved ...
3665 * sysdeps/posix/nice.c: ... here.
3667 * sysdeps/unix/alarm.c: Moved ...
3668 * sysdeps/posix/alarm.c: ... here.
3670 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3672 2012-08-17 Jeff Law <law@redhat.com>
3674 * intl/Makefile (codeset_mo): New variable.
3675 ($(codeset_mo)): New target.
3676 (tst-codeset.out): Depend on that. Remove explicit rule.
3677 (tst-gettext3.out, tst-gettext5.out): Likewise.
3678 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3679 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3680 * intl/tst-codeset.sh: Remove.
3681 * intl/tst-gettext3.sh: Likewise.
3682 * intl/tst-gettext5.sh: Likewise.
3684 2012-08-17 Roland McGrath <roland@hack.frob.com>
3686 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3687 * sysdeps/unix/syscalls.list: ... here.
3689 * sysdeps/posix/getaddrinfo.c
3690 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3691 (gaiconf_init, gaiconf_reload): Use them.
3693 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3694 Define using time_t rather than struct timespec.
3696 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3697 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3699 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3701 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3702 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3705 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3706 __libc_cleanup_push argument.
3708 * bits/param.h: New file.
3709 * misc/sys/param.h: New file.
3710 * include/sys/param.h: New file.
3711 * misc/Makefile (headers): Add bits/param.h.
3712 * sysdeps/generic/sys/param.h: File removed.
3713 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3714 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3715 * sysdeps/mach/hurd/bits/param.h: New file.
3716 * sysdeps/mach/hurd/sys/param.h: File removed.
3718 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3721 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3723 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3724 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3727 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3728 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3729 rather than -D_IO_MTSAFE_IO conditionally.
3730 * stdio-common/Makefile (CPPFLAGS): Likewise.
3731 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3732 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3733 Use $(libio-mtsafe).
3734 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3736 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3737 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3738 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3739 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3740 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3741 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3742 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3743 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3744 (CFLAGS-fread_u_chk.c): Likewise.
3745 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3746 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3747 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3748 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3749 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3750 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3751 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3752 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3753 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3755 * libio/Makefile: Test [$(libc-reentrant) = yes]
3756 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3759 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3760 * sysdeps/pthread/configure: File removed.
3761 * sysdeps/pthread/Makeconfig: New file.
3762 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3763 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3765 2012-08-16 Gary Benson <gbenson@redhat.com>
3767 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3768 unmapping the first object in a namespace.
3770 2012-08-16 Roland McGrath <roland@hack.frob.com>
3772 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3773 (__internal_setnetgrent): ... this. Add internal_function to
3774 definition. Add libc_hidden_def.
3775 (setnetgrent): Update caller.
3776 (internal_endnetgrent): Renamed to ...
3777 (__internal_endnetgrent): ... this. Add internal_function to
3778 definition. Add libc_hidden_def.
3779 (endnetgrent): Update caller.
3780 (internal_getnetgrent_r): Renamed to ...
3781 (__internal_getnetgrent_r): ... this. Add internal_function to
3782 definition. Add libc_hidden_def.
3783 (__getnetgrent_r): Update caller.
3784 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3786 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3788 * stdlib/longlong.h: Update from GCC.
3790 2012-08-16 Roland McGrath <roland@hack.frob.com>
3792 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3793 on _QL, which is set by umul_ppmm but never used.
3794 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3795 variables, which are set by GMP macros but never used.
3796 * stdio-common/_itowa.c (_itowa): Likewise.
3797 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3798 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3800 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3802 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3803 struct La_sh_regs is not constant.
3804 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3805 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3806 and struct La_sparc64_regs are not constant.
3808 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3810 * sysdeps/unix/sysv/linux/kernel-features.h
3811 (__ASSUME_POSIX_TIMERS): Remove.
3812 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3813 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3814 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3815 Make code unconditional.
3816 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3817 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3818 Make code unconditional.
3819 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3820 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3821 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3822 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3823 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3824 Make code unconditional.
3825 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3826 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3827 (__libc_missing_posix_timers): Remove.
3829 2012-08-15 Roland McGrath <roland@hack.frob.com>
3831 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3832 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3834 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3836 * elf/dl-sym.c: Include <stdlib.h>.
3838 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3839 constants, which avoids warnings in 32-bit builds.
3841 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3842 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3844 * misc/lseek.c: File moved to ...
3845 * io/lseek.c: ... here.
3847 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3849 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3850 shifting LEN more than 31 bits at once.
3852 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3855 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3856 segmentation fault for a case of two empty input strings.
3857 * string/test-strncasecmp.c (check1): Renamed to...
3859 (bz14195): Add new testcase for two empty input strings and N > 0.
3860 (test_main): Call new testcase, adapt for renamed function.
3862 2012-08-15 Andreas Jaeger <aj@suse.de>
3865 * crypt/md5test2.c: New test, based on test supplied by Serge
3866 Belyshev <belyshev@depni.sinp.msu.ru>.
3867 * crypt/Makefile (xtests): Add md5test-giant..
3868 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3870 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3873 * crypt/md5.c (md5_process_block): Don't assume the buffer
3874 length is less than 2**32.
3875 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3876 length is less than 2**64.
3878 2012-08-15 Roland McGrath <roland@hack.frob.com>
3880 * string/str-two-way.h: Include <sys/param.h>.
3881 (MAX): Macro removed.
3883 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3884 Move #define and #undef of memmove to just before and after
3885 including <string.h>.
3887 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3888 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3889 and after including <string.h>. Move declarations of
3890 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3891 to before #include "string/memmove.c".
3893 * include/dirent.h: Declare __getdirentries.
3895 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3896 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3898 2012-08-14 Mike Frysinger <vapier@gentoo.org>
3900 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3901 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3902 * sysdeps/i386/configure: Regenerated.
3903 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3904 STABS_CURRENT_FILE, and STABS_FUN.
3905 (END): Remove call to STABS_FUN_END.
3906 (STABS_CURRENT_FILE1): Delete.
3907 (STABS_CURRENT_FILE): Likewise.
3908 (STABS_FUN): Likewise.
3909 (STABS_FUN_END): Likewise.
3910 (STABS_FUN2): Likewise.
3911 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3912 * sysdeps/x86_64/configure: Regenerated.
3914 2012-08-14 Roland McGrath <roland@hack.frob.com>
3916 * elf/dl-open.c: Include <atomic.h>.
3917 * elf/dl-lookup.c: Likewise.
3919 2012-08-14 Joseph Myers <joseph@codesourcery.com>
3921 * sysdeps/unix/sysv/linux/kernel-features.h
3922 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3923 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3925 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3927 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3928 condition on __ASSUME_CLONE_THREAD_FLAGS.
3930 2012-08-14 Andreas Jaeger <aj@suse.de>
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3934 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3936 * include/atomic.h (atomic_exchange_and_add): Split into ...
3937 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3940 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3944 2012-08-13 Jeff Law <law@redhat.com>
3946 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3947 null byte in the output string.
3949 2012-08-10 Joseph Myers <joseph@codesourcery.com>
3951 * sysdeps/unix/sysv/linux/kernel-features.h
3952 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3953 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3954 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3955 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3956 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3957 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3958 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3960 2012-08-09 Jeff Law <law@redhat.com>
3963 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3964 When avoid_arena is set, don't retry in the that arena. Pick the
3965 next one, whatever it might be.
3966 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3967 (arena_lock): Pass in new parameter to arena_get2.
3968 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3970 (__libc_malloc): Unify retrying after main arena failure with
3971 __libc_memalign version.
3972 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3974 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3977 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3978 to __redirect_strstr.
3979 (__strstr_sse42): Use typeof __redirect_strstr.
3980 (__strstr_ia32): Likewise.
3981 (__libc_strstr): New prototype.
3982 (strstr): Renamed to ...
3983 (__libc_strstr): This.
3984 (strstr): New strong alias of __libc_strstr.
3985 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3986 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3989 (__libc_time): New prototype.
3990 (time_ifunc): Replace time with __libc_time.
3991 (time): New strong alias and hidden definition of __libc_time.
3992 (__GI_time): Remove strong alias.
3993 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3995 (memmove): Redefined to __redirect_memmove.
3996 (__memmove_sse2): Use typeof __redirect_memmove.
3997 (__memmove_ssse3): Likewise.
3998 (__memmove_ssse3_back): Likewise.
3999 (__libc_memmove): New prototype.
4000 (memmove): Renamed to ...
4001 (__libc_memmove): This.
4002 (memmove): New strong alias of __libc_memmove.
4004 2012-08-08 Mark Salter <msalter@redhat.com>
4007 (R_MN10300_TLS_GD): Define.
4008 (R_MN10300_TLS_LD): Likewise.
4009 (R_MN10300_TLS_LDO): Likewise.
4010 (R_MN10300_TLS_GOTIE): Likewise.
4011 (R_MN10300_TLS_IE): Likewise.
4012 (R_MN10300_TLS_LE): Likewise.
4013 (R_MN10300_TLS_DTPMOD): Likewise.
4014 (R_MN10300_TLS_DTPOFF): Likewise.
4015 (R_MN10300_TLS_TPOFF): Likewise.
4016 (R_MN10300_SYM_DIFF): Likewise.
4017 (R_MN10300_ALIGN): Likewise.
4018 (R_MN10300_NUM): Update.
4020 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4022 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4025 2012-08-08 Roland McGrath <roland@hack.frob.com>
4027 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4029 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4030 sysdeps/unix -> sysdeps/posix move.
4031 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4033 2012-08-07 Allan McRae <allan@archlinux.org>
4036 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4037 (SUNOS_CPP): Likewise.
4038 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4040 (open_input): Call CPP using execvp.
4042 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4044 * sysdeps/unix/sysv/linux/kernel-features.h
4045 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4046 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4047 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4048 (__ASSUME_WAITID_SYSCALL): Likewise.
4049 * sysdeps/unix/sysv/linux/dl-execstack.c
4050 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4052 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4054 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4055 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4056 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4058 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4060 [__ASSUME_WAITID_SYSCALL]: Likewise.
4061 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4063 2012-08-07 Roland McGrath <roland@hack.frob.com>
4065 * sysdeps/unix/closedir.c: Renamed to ...
4066 * sysdeps/posix/closedir.c: ... here.
4067 * sysdeps/unix/dirfd.c: Renamed to ...
4068 * sysdeps/posix/dirfd.c: ... here.
4069 * sysdeps/unix/dirstream.h: Renamed to ...
4070 * sysdeps/posix/dirstream.h: ... here.
4071 * sysdeps/unix/fdopendir.c: Renamed to ...
4072 * sysdeps/posix/fdopendir.c: ... here.
4073 * sysdeps/unix/opendir.c: Renamed to ...
4074 * sysdeps/posix/opendir.c: ... here.
4075 * sysdeps/unix/readdir.c: Renamed to ...
4076 * sysdeps/posix/readdir.c: ... here.
4077 * sysdeps/unix/readdir_r.c: Renamed to ...
4078 * sysdeps/posix/readdir_r.c: ... here.
4079 * sysdeps/unix/rewinddir.c: Renamed to ...
4080 * sysdeps/posix/rewinddir.c: ... here.
4081 * sysdeps/unix/seekdir.c: Renamed to ...
4082 * sysdeps/posix/seekdir.c: ... here.
4083 * sysdeps/unix/telldir.c: Renamed to ...
4084 * sysdeps/posix/telldir.c: ... here.
4085 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4086 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4087 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4088 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4090 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4091 * bits/fcntl.h: ... here.
4093 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4095 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4096 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4097 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4098 (struct flock): Move l_start, l_len to the beginning.
4099 Use __pid_t for l_pid.
4100 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4101 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4102 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4103 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4104 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4105 [__USE_LARGEFILE64] (struct flock64): New type.
4106 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4108 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4109 * bits/dirent.h: ... here.
4111 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4112 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4114 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4117 Change from 2.6.0 to 2.6.16.
4118 * sysdeps/unix/sysv/linux/configure: Regenerated.
4119 * sysdeps/unix/sysv/linux/kernel-features.h
4120 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4121 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4123 (__ASSUME_UTIMES): Likewise.
4124 (__ASSUME_CLONE_STOPPED): Remove.
4125 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4126 architectures, not kernel version.
4127 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4128 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4129 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4130 (__ASSUME_WAITID_SYSCALL): Likewise.
4131 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4132 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4133 * README: State 2.6.16 as minimum Linux kernel version. Do not
4134 refer to older versions.
4136 2012-08-06 Roland McGrath <roland@hack.frob.com>
4138 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4139 Define alphasort64 as an alias.
4140 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4141 Define versionsort64 as an alias.
4142 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4143 Define scandir64 as an alias.
4144 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4145 Define scandirat64 as an alias.
4146 * dirent/alphasort64.c (alphasort64):
4147 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4148 * dirent/versionsort64.c: Likewise.
4149 * dirent/scandir64.c: Likewise.
4150 * dirent/scandirat64.c: Likewise.
4151 * sysdeps/wordsize-64/alphasort.c: File removed.
4152 * sysdeps/wordsize-64/alphasort64.c: File removed.
4153 * sysdeps/wordsize-64/scandir.c: File removed.
4154 * sysdeps/wordsize-64/scandir64.c: File removed.
4155 * sysdeps/wordsize-64/scandirat.c: File removed.
4156 * sysdeps/wordsize-64/scandirat64.c: File removed.
4157 * sysdeps/wordsize-64/versionsort.c: File removed.
4158 * sysdeps/wordsize-64/versionsort64.c: File removed.
4159 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4161 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4162 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4163 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4164 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4166 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4168 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4169 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4170 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4172 [defined __arch64__ || defined __sparcv9]
4173 (__INO_T_MATCHES_INO64_T): New macro.
4174 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4175 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4176 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4177 * sysdeps/unix/sysv/linux/bits/dirent.h
4178 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4179 (_DIRENT_MATCHES_DIRENT64): New macro.
4181 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4182 Define lockf64 as an alias.
4183 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4184 Define fseeko64 as an alias.
4185 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4186 Define ftello64 as an alias.
4187 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4188 Define _IO_fgetpos64 and fgetpos64 as aliases.
4189 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4190 Define _IO_fsetpos64 and fsetpos64 as aliases.
4191 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4192 Conditionalize body on this.
4193 * libio/fseeko64.c: Likewise.
4194 * libio/ftello64.c: Likewise.
4195 * libio/iofgetpos64.c: Likewise.
4196 * libio/iofsetpos64.c: Likewise.
4197 * sysdeps/wordsize-64/lockf.c: File removed.
4198 * sysdeps/wordsize-64/lockf64.c: File removed.
4199 * sysdeps/wordsize-64/fseeko.c: File removed.
4200 * sysdeps/wordsize-64/fseeko64.c: File removed.
4201 * sysdeps/wordsize-64/ftello.c: File removed.
4202 * sysdeps/wordsize-64/ftello64.c: File removed.
4203 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4204 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4205 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4206 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4207 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4208 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4210 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4212 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4213 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4214 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4215 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4216 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4218 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4220 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4221 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4222 [defined __arch64__ || defined __sparcv9]
4223 (__OFF_T_MATCHES_OFF64_T): New macro.
4224 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4225 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4226 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4227 (__OFF_T_MATCHES_OFF64_T): New macro.
4229 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4231 * stdlib/secure-getenv.c (__secure_getenv): Replace
4232 GLIBC_2_16 with GLIBC_2_17.
4234 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4236 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4237 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4239 2012-08-03 David S. Miller <davem@davemloft.net>
4241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4243 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4247 (__ASSUME_CORRECT_SI_PID): Likewise.
4248 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4249 (__ASSUME_TMPFS_NAME): Likewise.
4250 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4251 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4252 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4253 (HAVE_AUX_SECURE): Make definition unconditional.
4254 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4255 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4257 2012-08-03 Roland McGrath <roland@hack.frob.com>
4259 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4260 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4261 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4262 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4263 __eloop_threshold instead of SYMLOOP_MAX.
4265 * sysdeps/generic/eloop-threshold.h: New file.
4266 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4268 * elf/chroot_canon.c (chroot_canon): Likewise.
4270 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4274 Change to 2.6.0 everywhere.
4275 * sysdeps/unix/sysv/linux/configure: Regenerated.
4276 * sysdeps/unix/sysv/linux/kernel-features.h
4277 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4278 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4280 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4281 (__ASSUME_FUTEX_REQUEUE): Remove.
4282 (__ASSUME_STATFS64): Define unconditionally.
4283 (__ASSUME_AT_SECURE): Likewise.
4284 (__ASSUME_CORRECT_SI_PID): Likewise.
4285 (__ASSUME_TGKILL): Define without depending on kernel version for
4287 (__ASSUME_UTIMES): Likewise.
4288 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4290 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4291 (__ASSUME_TMPFS_NAME): Likewise.
4292 * README: Update reference to Linux kernel versions.
4294 2012-08-02 Marek Polacek <polacek@redhat.com>
4297 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4298 libc_cv_asm_type_prefix with %.
4299 * configure: Regenerated.
4300 * include/libc-symbols.h: Remove comment about
4301 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4302 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4303 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4304 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4305 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4306 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4307 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4308 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4309 * elf/tst-unique2mod1.c: Likewise.
4310 * elf/tst-unique1mod2.c: Likewise.
4311 * elf/tst-unique1mod1.c: Likewise.
4312 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4313 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4314 Replace ASM_TYPE_DIRECTIVE with .type.
4315 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4316 * sysdeps/i386/sysdep.h: Likewise.
4317 * sysdeps/x86_64/sysdep.h: Likewise.
4318 * sysdeps/sh/sysdep.h: Likewise.
4319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4320 Do not define ASM_TYPE_DIRECTIVE.
4321 * sysdeps/powerpc/sysdep.h: Likewise.
4322 * sysdeps/powerpc/powerpc32/sysdep.h:
4323 Replace ASM_TYPE_DIRECTIVE with .type.
4324 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4325 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4326 * sysdeps/i386/fpu/e_powf.S: Likewise.
4327 * sysdeps/i386/fpu/e_expl.S: Likewise.
4328 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4329 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4330 * sysdeps/i386/fpu/e_pow.S: Likewise.
4331 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4332 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4333 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4334 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4335 * sysdeps/i386/fpu/e_log2.S: Likewise.
4336 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4337 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4338 * sysdeps/i386/fpu/e_powl.S: Likewise.
4339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4340 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4341 * sysdeps/i386/fpu/e_logl.S: Likewise.
4342 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4343 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4344 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4345 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4346 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4347 * sysdeps/i386/fpu/e_log.S: Likewise.
4348 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4349 * sysdeps/i386/fpu/e_logf.S: Likewise.
4350 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4352 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4353 * sysdeps/i386/fpu/e_log10.S: Likewise.
4354 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4355 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4356 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4357 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4359 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4360 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4361 * sysdeps/i386/i686/strtok.S: Likewise.
4362 * sysdeps/i386/i386-mcount.S: Likewise.
4363 * sysdeps/i386/strtok.S: Likewise.
4364 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4368 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4369 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4370 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4371 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4372 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4373 * sysdeps/x86_64/_mcount.S: Likewise.
4374 * sysdeps/x86_64/strtok.S: Likewise.
4375 * sysdeps/sh/_mcount.S: Likewise.
4377 2012-08-01 Roland McGrath <roland@hack.frob.com>
4379 * libio/iofopen.c: Include <fcntl.h>.
4380 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4381 (_IO_fopen64, fopen64): Define as aliases.
4382 * libio/iofopen64.c: Include <fcntl.h>.
4383 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4384 Conditionalize body on this.
4385 * sysdeps/wordsize-64/iofopen.c: File removed.
4386 * sysdeps/wordsize-64/iofopen64.c: File removed.
4388 2012-08-01 Marek Polacek <polacek@redhat.com>
4390 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4391 Use dlfcn directly instead of a variable.
4392 (binfmt-subdir): Do not define.
4395 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4397 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4398 Remove all definitions.
4399 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4400 <kernel-features.h>.
4401 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4402 (miss_F_GETOWN_EX): Remove all definitions.
4403 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4405 [!__ASSUME_FCNTL64]: Remove conditional code.
4406 [__ASSUME_FCNTL64]: Make code unconditional.
4407 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4408 <kernel-features.h>.
4409 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4410 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4411 (lockf64) [__NR_fcntl64]: Make code unconditional.
4412 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4414 * sysdeps/unix/sysv/linux/kernel-features.h
4415 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4416 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4417 Make code unconditional.
4418 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4419 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4421 [__NR_vfork]: Make code unconditional.
4422 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4423 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4425 [__NR_vfork]: Make code unconditional.
4426 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4427 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4429 2012-08-01 Roland McGrath <roland@hack.frob.com>
4431 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4432 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4434 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4435 Define mkstemp64 as an alias.
4436 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4437 Define mkstemps64 as an alias.
4438 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4439 Define mkostemp64 as an alias.
4440 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4441 Define mkostemps64 as an alias.
4442 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4443 Conditionalize body on this.
4444 * misc/mkostemp64.c: Likewise.
4445 * misc/mkostemps64.c: Likewise.
4446 * misc/mkstemps64.c: Likewise.
4447 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4448 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4449 * sysdeps/wordsize-64/mkostemp.c: File removed.
4450 * sysdeps/wordsize-64/mkstemp.c: File removed.
4451 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4452 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4453 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4454 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4457 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4458 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4459 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4460 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4462 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4463 compat_symbol macros from <shlib-compat.h> rather than the underlying
4464 default_symbol_version and symbol_version macros, so that DEFAULT
4465 lines in shlib-versions are respected.
4466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4468 2012-08-01 Florian Weimer <fweimer@redhat.com>
4470 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4471 Declare with warn_unused_result.
4472 (setgid, setregid, setegid, setresgid): Likewise.
4473 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4475 * WUR-REPORT: Remove set*id functions.
4477 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4479 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4481 2012-07-31 Roland McGrath <roland@hack.frob.com>
4483 * include/sys/socket.h (__libc_accept, __libc_accept4):
4484 Add attribute_hidden.
4485 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4487 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4489 * inet/getnetgrent_r.c (setup): Likewise.
4491 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4493 2012-07-31 David S. Miller <davem@davemloft.net>
4495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4497 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4500 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4501 value between 1.0 and 2.0 and smaller part has absolute value less
4503 * math/s_clog10.c (__clog10): Likewise.
4504 * math/s_clog10f.c (__clog10f): Likewise.
4505 * math/s_clog10l.c (__clog10l): Likewise.
4506 * math/s_clogf.c (__clogf): Likewise.
4507 * math/s_clogl.c (__clogl): Likewise.
4508 * math/libm-test.inc (clog_test): Add more tests.
4509 (clog10_test): Likewise.
4510 * sysdeps/i386/fpu/libm-test-ulps: Update.
4511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4513 2012-07-31 Florian Weimer <fweimer@redhat.com>
4515 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4516 Exit with zero in case no suitable GID is found, and write a
4517 message to standard error.
4519 2012-07-30 Roland McGrath <roland@hack.frob.com>
4521 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4523 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4524 (MAXPATHLEN): Removed.
4525 (NOGROUP, NODEV): New macros.
4526 (setbit, clrbit, isset, isclr): New macros.
4527 (howmany, roundup, powerof2): New macros.
4528 (DEV_BSIZE): New macro.
4530 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4531 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4533 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4534 definition on [!__NO_LONG_DOUBLE_MATH].
4536 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4537 PTR_MANGLE and PTR_DEMANGLE.
4539 * socket/accept4.c (accept4): Rename to __libc_accept4.
4540 Define accept4 as a weak alias.
4542 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4543 on [_DIRENT_HAVE_D_TYPE].
4544 * io/ftw.c (ftw_dir): Likewise.
4546 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4548 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4550 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4551 Use the BSD numbers rather than the arbitrary ones we had.
4552 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4553 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4554 (SIGXCPU, SIGXFSZ): New macros.
4557 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4558 initializer on [_LIBC_REENTRANT].
4560 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4561 definitions inside [_POSIX_MAPPED_FILES].
4563 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4565 * dirent/opendir.c: Include <fcntl.h>.
4567 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4568 (__libc_getspecific): Likewise.
4569 (__libc_key_create): Likewise.
4571 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4572 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4573 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4574 (tmpfile64): Define as alias.
4575 * sysdeps/wordsize-64/tmpfile.c: File removed.
4576 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4578 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4580 * stdio-common/vfscanf.c: Include <stdbool.h>.
4581 * nss/makedb.c: Likewise.
4582 * stdio-common/_i18n_number.h: Likewise.
4583 * argp/argp-help.c: Likewise.
4584 * posix/wordexp.c: Likewise.
4585 * sysdeps/posix/spawni.c: Likewise.
4586 * nss/nss_files/files-initgroups.c: Likewise.
4587 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4588 * nss/nss_files/files-initgroups.c: Likewise.
4589 * nss/nss_db/db-netgrp.c: Likewise.
4590 * nss/nss_db/db-initgroups.c: Likewise.
4591 * io/fchmodat.c: Include <sys/stat.h>.
4593 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4594 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4596 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4599 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4600 Add multiple inclusion protection.
4602 2012-07-27 David S. Miller <davem@davemloft.net>
4604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4606 2012-07-27 Gary Benson <gbenson@redhat.com>
4609 * elf/rtld.c: Include <stap-probe.h>.
4610 (dl_main): Added static probes "init_start" and "init_complete".
4611 * elf/dl-load.c: Include <stap-probe.h>.
4612 (lose): Take new parameter "nsid".
4613 Added static probe "map_failed".
4614 (_dl_map_object_from_fd): Pass namespace id to lose.
4615 Added static probe "map_start".
4616 (open_verify): Pass namespace id to lose.
4617 * elf/dl-open.c: Include <stap-probe.h>.
4618 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4619 and "reloc_complete".
4620 * elf/dl-close.c: Include <stap-probe.h>.
4621 (_dl_close_worker): Added static probes "unmap_start" and
4623 * elf/rtld-debugger-interface.txt: New file documenting the above.
4625 2012-07-26 Roland McGrath <roland@hack.frob.com>
4627 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4628 rather than a string variable.
4629 * sunrpc/rpc_main.c (h_output): Likewise.
4630 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4632 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4634 * inet/check_native.c: New file.
4636 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4639 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4640 if larger part has absolute value 1.0.
4641 * math/s_clog10.c (__clog10): Likewise.
4642 * math/s_clog10f.c (__clog10f): Likewise.
4643 * math/s_clog10l.c (__clog10l): Likewise.
4644 * math/s_clogf.c (__clogf): Likewise.
4645 * math/s_clogl.c (__clogl): Likewise.
4646 * math/libm-test.inc (clog_test): Add more tests.
4647 (clog10_test): Likewise.
4648 * sysdeps/i386/fpu/libm-test-ulps: Update.
4649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4651 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4652 (pltexit): Likewise.
4653 (La_regs): Likewise.
4654 (La_retval): Likewise.
4655 (int_retval): Likewise.
4656 Update #error for removed macros to refer only to definitions in
4658 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4660 (pltexit): Likewise.
4661 (La_regs): Likewise.
4662 (La_retval): Likewise.
4663 (int_retval): Likewise.
4664 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4666 (pltexit): Likewise.
4667 (La_regs): Likewise.
4668 (La_retval): Likewise.
4669 (int_retval): Likewise.
4670 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4672 (pltexit): Likewise.
4673 (La_regs): Likewise.
4674 (La_retval): Likewise.
4675 (int_retval): Likewise.
4676 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4678 (pltexit): Likewise.
4679 (La_regs): Likewise.
4680 (La_retval): Likewise.
4681 (int_retval): Likewise.
4682 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4684 (pltexit): Likewise.
4685 (La_regs): Likewise.
4686 (La_retval): Likewise.
4687 (int_retval): Likewise.
4688 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4690 (pltexit): Likewise.
4691 (La_regs): Likewise.
4692 (La_retval): Likewise.
4693 (int_retval): Likewise.
4694 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4695 macro definitions in tst-audit.h.
4696 * sysdeps/i386/tst-audit.h: New file.
4697 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4698 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4699 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4700 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4701 * sysdeps/sh/tst-audit.h: Likewise.
4702 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4703 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4704 * sysdeps/x86_64/tst-audit.h: Likewise.
4706 2012-07-26 Andreas Jaeger <aj@suse.de>
4708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4711 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4712 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4713 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4715 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4717 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4719 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4722 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4724 (si_call_addr, si_syscall, si_arch): Define new macro.
4725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4727 (si_call_addr, si_syscall, si_arch): Define new marcro.
4728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4730 (si_call_addr, si_syscall, si_arch): Define new macro.
4731 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4733 (si_call_addr, si_syscall, si_arch): Define new macro.
4735 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4739 Change to 2.4.21 where previously 2.4.1.
4740 * sysdeps/unix/sysv/linux/configure: Regenerated.
4741 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4742 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4743 Linux kernel version.
4744 (__ASSUME_STD_AUXV): Remove.
4745 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4747 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4748 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4749 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4750 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4751 (__ASSUME_NETLINK_SUPPORT): Likewise.
4752 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4753 (__no_netlink_support): Remove conditional definition.
4754 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4756 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4757 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4758 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4759 (if_nameindex_ioctl): Remove.
4760 (if_nameindex_netlink): Do not handle __no_netlink_support.
4761 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4763 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4764 Remove conditional code.
4765 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4767 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4769 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4770 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4771 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4773 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4774 [!__ASSUME_STD_AUXV]: Remove conditional code.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4776 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4777 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4779 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4780 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4782 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4785 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4789 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4792 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4795 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4797 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4799 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4801 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4804 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4806 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4809 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4811 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4813 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4815 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4818 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4820 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4822 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4824 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4827 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4829 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4830 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4831 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4832 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4833 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4834 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4835 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4836 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4837 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4838 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4839 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4840 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4841 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4842 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4843 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4844 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4845 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4846 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4847 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4849 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4851 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4853 2012-07-25 Florian Weimer <fweimer@redhat.com>
4855 * Versions.def: Add GLIBC_2.17.
4856 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4857 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4858 Introduce __libc_secure_getenv.
4859 * stdlib/Versions (2.17): Add secure_getenv
4860 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4861 * stdlib/secure-getenv.c: Rename __secure_getenv to
4862 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4863 symbol __secure_getenv for GLIBC_2.0.
4864 * stdlib/tst-secure-getenv.c: New.
4865 * stdlib/Makefile (tests): Add testcase.
4866 * manual/startup.texi (Environment Access): Document
4868 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4869 __libc_secure_getenv.
4870 * inet/ruserpass.c (ruserpass): Likewise.
4871 * malloc/mtrace.c (mtrace): Likewise.
4872 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4873 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4874 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4875 * sysdeps/posix/tempname.c: Likewise. Evaluate
4877 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4878 __secure_getenv to __libc_secure_getenv.
4879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4892 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4894 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4895 (struct La_i86_retval): Likewise.
4896 (struct La_x86_64_regs): Likewise.
4897 (struct La_x86_64_retval): Likewise.
4898 (struct La_x32_regs): Likewise.
4899 (struct La_x32_retval): Likewise.
4900 (struct La_ppc32_regs): Likewise.
4901 (struct La_ppc32_retval): Likewise.
4902 (struct La_ppc64_regs): Likewise.
4903 (struct La_ppc64_retval): Likewise.
4904 (struct La_sh_regs): Likewise.
4905 (struct La_sh_retval): Likewise.
4906 (struct La_s390_32_regs): Likewise.
4907 (struct La_s390_32_retval): Likewise.
4908 (struct La_s390_64_regs): Likewise.
4909 (struct La_s390_64_retval): Likewise.
4910 (struct La_sparc32_regs): Likewise.
4911 (struct La_sparc32_retval): Likewise.
4912 (struct La_sparc64_regs): Likewise.
4913 (struct La_sparc64_retval): Likewise.
4914 (struct audit_ifaces): Remove architecture-specific pltenter and
4916 * sysdeps/i386/ldsodefs.h: New file.
4917 * sysdeps/powerpc/ldsodefs.h: Likewise.
4918 * sysdeps/s390/ldsodefs.h: Likewise.
4919 * sysdeps/sh/ldsodefs.h: Likewise.
4920 * sysdeps/sparc/ldsodefs.h: Likewise.
4921 * sysdeps/x86_64/ldsodefs.h: Likewise.
4923 2012-07-25 Marek Polacek <polacek@redhat.com>
4926 * math/libm-test.inc (yn_test): Add another test.
4927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4928 to ERANGE when the result is +-Inf.
4929 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4930 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4931 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4934 2012-07-24 Joseph Myers <joseph@codesourcery.com>
4936 * conform/data/time.h-data (NULL): Use macro-constant. Require
4938 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4940 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4942 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4944 * configure.in <sysdeps resolving>: Correct printing
4946 * configure: Regenerate.
4948 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4950 * math/w_ilogb.c: Include <limits.h>.
4951 * math/w_ilogbl.c: Likewise.
4953 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4955 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4956 va_copy. Document allowing for unavailable va_copy only as
4957 pre-C99 compatibility.
4958 * manual/string.texi (Copying and Concatenation): Use va_copy
4959 instead of __va_copy in concat example.
4961 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4963 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4964 (__sendto): Use create_address_port. Initialize APORT and deallocate
4967 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4968 with O_NOLINK passed to __file_name_lookup.
4970 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4971 with O_NOLINK passed to __file_name_lookup.
4973 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4974 negative N or less than NGIDS.
4976 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4977 type to string_t. Set ERANGE as errno and return it if NAME is not big
4978 enough. Use memcpy instead of strncpy.
4980 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4982 * elf/Makefile (check-data): Remove.
4983 (localplt.data): New vpath directive.
4984 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4985 instead of $(check-data).
4986 * scripts/data/localplt-generic.data: Move to ...
4987 * sysdeps/generic/localplt.data: ... here.
4988 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4989 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4990 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4993 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4996 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4999 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5002 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5005 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5009 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5011 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5012 PPC32 and PPC64 files.
5013 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5014 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5016 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5018 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5019 __makecontext_ret to ...
5020 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5021 ... here and call exit if uc_link is NULL. New file.
5022 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5023 __makecontext_ret.S.
5024 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5025 __makecontext_ret to ...
5026 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5027 ... here and call exit if uc_link is NULL. New file.
5028 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5029 __makecontext_ret.S.
5031 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5033 * elf/elf.h (R_390_IRELATIVE): New definition.
5034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5035 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5036 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5037 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5038 (elf_machine_lazy_rel): Likewise.
5039 * sysdeps/s390/dl-irel.h: New file.
5040 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5041 * sysdeps/s390/s390-64/memset.S: New asm code.
5042 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5043 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5045 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5046 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5047 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5049 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5050 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5051 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5052 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5053 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5054 * sysdeps/s390/s390-32/memset.S: New asm code.
5055 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5057 2012-07-17 Marek Polacek <polacek@redhat.com>
5060 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5061 * sysdeps/s390/s390-64/configure.in: Likewise.
5062 * sysdeps/sparc/configure.in: Likewise.
5063 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5064 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5065 * sysdeps/i386/configure.in: Likewise.
5066 * sysdeps/x86_64/configure.in: Likewise.
5067 * sysdeps/sh/configure.in: Likewise.
5068 * sysdeps/s390/s390-32/configure: Regenerated.
5069 * sysdeps/s390/s390-64/configure: Likewise.
5070 * sysdeps/x86_64/configure: Likewise.
5071 * sysdeps/sh/configure: Likewise.
5072 * sysdeps/powerpc/powerpc64/configure: Likewise.
5073 * sysdeps/powerpc/powerpc32/configure: Likewise.
5074 * sysdeps/sparc/configure: Likwise.
5075 * sysdeps/i386/configure: Likewise.
5077 * elf/dl-open.c: Comment fixes.
5079 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5081 * Makefile [CXX] (check-data): Remove.
5082 [CXX] (c++-types.data): New vpath directive.
5083 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5084 vpath. Do not allow for C++ type data being missing.
5085 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5086 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5087 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5088 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5089 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5090 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5091 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5094 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5097 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5100 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5103 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5106 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5109 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5112 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5115 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5116 definitions to architecture-specific files.
5120 * sysdeps/i386/tls-macros.h: New file.
5121 * sysdeps/powerpc/tls-macros.h: Likewise.
5122 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5123 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5124 * sysdeps/sh/tls-macros.h: Likewise.
5125 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5126 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5127 * sysdeps/x86_64/tls-macros.h: Likewise.
5129 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5132 zero value for regular exit case.
5134 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5135 (__start_context): Preserve zero value for regular exit case.
5137 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5138 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5140 * manual/setjmp.texi (setcontext): Clarify normal process
5141 termination when uc_link is the null pointer.
5142 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5145 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5147 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5148 preprocessor. Test for each exception mask separately.
5150 2012-07-16 Andreas Jaeger <aj@suse.de>
5152 * po/ru.po: Update from translation team.
5154 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5156 * conform/data/string.h-data (NULL): Use macro-constant. Require
5158 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5159 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5160 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5161 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5164 2012-07-13 Andreas Jaeger <aj@suse.de>
5166 * po/fr.po: Update from translation team.
5168 2012-07-12 Marek Polacek <polacek@redhat.com>
5171 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5172 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5175 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5179 Change to 2.4.1 where previously 2.4.0.
5180 * sysdeps/unix/sysv/linux/configure: Regenerated.
5181 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5182 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5184 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5185 (__ASSUME_AT_CLKTCK): Remove.
5186 (__ASSUME_AT_PAGESIZE): Likewise.
5187 (__ASSUME_AT_XID): Likewise.
5188 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5189 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5190 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5192 (HAVE_AUX_PAGESIZE): Likewise.
5193 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5194 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5195 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5197 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5201 the temporary buffer used to invoke __gethostbyname2_r,
5202 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5203 host_data / struct gaih_addrtuple.
5204 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5205 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5206 header file nss/nsswitch.h.
5207 * nss/nsswitch.h (global scope): Add definition of implementation
5208 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5209 resolv/nss_dns/dns-host.c).
5211 2012-07-11 Andreas Jaeger <aj@suse.de>
5213 * po/fr.po: Update from translation team.
5215 * po/sv.po: Update from translation team
5216 * po/fr.po: Another update from translation team.
5218 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5221 for subnormals or multiply small sinh result by itself.
5222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5225 2012-07-11 David S. Miller <davem@davemloft.net>
5227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5229 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5232 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5233 (INTERNAL_MARK): Shift it here.
5235 2012-07-10 Marek Polacek <polacek@redhat.com>
5238 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5239 libc_cv_asm_global_directive with .globl.
5240 * configure: Regenerated.
5241 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5243 * sysdeps/i386/configure: Regenerated.
5244 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5246 * sysdeps/x86_64/configure: Regenerated.
5247 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5248 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5249 * elf/tst-unique2mod2.c: Likewise.
5250 * elf/tst-unique2mod1.c: Likewise.
5251 * elf/tst-unique1mod2.c: Likewise.
5252 * elf/tst-unique1mod1.c: Likewise.
5253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5254 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5255 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5256 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5257 * sysdeps/mach/sysdep.h: Likewise.
5258 * sysdeps/i386/sysdep.h: Likewise.
5259 * sysdeps/i386/i386-mcount.S: Likewise.
5260 * sysdeps/x86_64/_mcount.S: Likewise.
5261 * sysdeps/x86_64/sysdep.h: Likewise.
5262 * sysdeps/sh/_mcount.S: Likewise.
5263 * sysdeps/sh/sysdep.h: Likewise.
5264 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5265 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5266 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5268 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5269 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5270 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5271 * locale/localeinfo.h: Likewise.
5272 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5273 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5275 2012-07-09 Roland McGrath <roland@hack.frob.com>
5278 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5280 * manual/message.texi (The Uniforum approach): Likewise.
5281 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5282 (glibc iconv Implementation): Likewise.
5284 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5287 * math/s_clog.c (__clog): Avoid scaling a value down where that
5288 could result in underflow.
5289 * math/s_clog10.c (__clog10): Likewise.
5290 * math/s_clog10f.c (__clog10f): Likewise.
5291 * math/s_clog10l.c (__clog10l): Likewise.
5292 * math/s_clogf.c (__clogf): Likewise.
5293 * math/s_clogl.c (__clogl): Likewise.
5294 * math/libm-test.inc (clog_test): Add more tests.
5295 (clog10_test): Likewise.
5296 * sysdeps/i386/fpu/libm-test-ulps: Update.
5297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5299 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5302 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5303 by 7 not 8 to examine high bit of fractional part.
5306 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5307 for call to __mcount_internal.
5308 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5309 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5310 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5312 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5315 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5316 approximation for values within 0x1p-13f of an odd multiple of
5318 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5319 exception. Add more tests.
5320 * sysdeps/i386/fpu/libm-test-ulps: Update.
5323 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5324 inputs and return -1 for them. Do not check for +Inf in case not
5326 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5327 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5329 and return -1 for them. Do not check for +Inf in case not
5331 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5334 and return -1 for them. Do not check for +Inf in case not
5336 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5338 * sysdeps/i386/fpu/libm-test-ulps: Update.
5339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5341 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5343 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5345 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5349 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5350 could result in spurious underflow. Scale down values above
5351 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5352 * math/s_csqrtf.c (__csqrtf): Likewise.
5353 * math/s_csqrtl.c (__csqrtl): Likewise.
5354 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5356 * sysdeps/i386/fpu/libm-test-ulps: Update.
5357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5359 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5361 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5363 * catgets/xopen-msg.awk: New file.
5364 * catgets/xopen-msg.sed: Removed.
5366 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5368 * intl/po2test.awk: New file.
5369 * intl/po2test.sed: Removed.
5371 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5374 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5375 or multiply small sinh result by itself.
5376 * math/s_ctanf.c (__ctanf): Likewise.
5377 * math/s_ctanh.c (__ctanh): Likewise.
5378 * math/s_ctanhf.c (__ctanhf): Likewise.
5379 * math/s_ctanhl.c (__ctanhl): Likewise.
5380 * math/s_ctanl.c (__ctanl): Likewise.
5381 * math/libm-test.inc (ctan_test_tonearest): New function.
5382 (ctan_test_towardzero): Likewise.
5383 (ctan_test_downward): Likewise.
5384 (ctan_test_upward): Likewise.
5385 (ctanh_test_tonearest): Likewise.
5386 (ctanh_test_towardzero): Likewise.
5387 (ctanh_test_downward): Likewise.
5388 (ctanh_test_upward): Likewise.
5389 (main): Call these new functions.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5393 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5395 * .gitignore: Delete /ports entry.
5397 2012-07-03 Andreas Jaeger <aj@suse.de>
5399 * po/bg.po: Update from translation team.
5400 * po/cs.po: Likewise.
5401 * po/de.po: Likewise.
5402 * po/hr.po: Likewise.
5403 * po/nl.pl: Likewise.
5404 * po/pl.po: Likewise.
5405 * po/vi.po: Likewise.
5407 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5409 * Makeconfig [!+link] (+link-before-libc): New variable.
5410 [!+link] (+link-after-libc): Likewise.
5411 [!+link] (+link-tests): Likewise.
5412 [!+link] (+link): Define in terms of $(+link-before-libc) and
5413 $(+link-after-libc).
5414 [!+link-static] (+link-static-before-libc): New variable.
5415 [!+link-static] (+link-static-after-libc): Likewise.
5416 [!+link-static] (+link-static-tests): Likewise.
5417 [!+link-static] (+link-static): Define in terms of
5418 $(+link-static-before-libc) and $(+link-static-after-libc).
5419 [build-shared] (link-libc-before-gnulib): New variable.
5420 [build-shared] (link-libc-tests): Likewise.
5421 [build-shared] (link-libc): Define in terms of
5422 $(link-libc-before-gnulib).
5423 [!build-shared] (link-libc-tests): New variable.
5424 (link-libc-static-tests): New variable.
5425 [!gnulib] (gnulib-arch): New variable.
5426 [!gnulib] (gnulib-tests): Likewise.
5427 [!gnulib] (static-gnulib-arch): Likewise.
5428 [!gnulib] (static-gnulib-tests): Likewise.
5429 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5430 Define with "=" instead of ":=".
5431 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5432 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5433 * Rules (binaries-all-notests): New variable.
5434 (binaries-all-tests): Likewise.
5435 (binaries-static-notests): Likewise.
5436 (binaries-static-tests): Likewise.
5437 (binaries-all): Define using $(binaries-all-notests) and
5438 $(binaries-all-tests).
5439 (binaries-static): Define using $(binaries-static-notests) and
5440 $(binaries-static-tests).
5441 (binaries-shared-tests): New variable.
5442 (binaries-shared-notests): Likewise.
5443 (binaries-shared): Remove variable.
5444 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5445 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5446 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5447 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5448 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5449 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5450 * elf/Makefile (sln-modules): New variable.
5451 (extra-objs): Add $(sln-modules:=.o).
5452 (ldconfig-modules): Add static-stubs.
5453 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5454 * elf/static-stubs.c: New file.
5457 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5458 by 7 not 8 to examine high bit of fractional part. Use volatile
5459 variables when splitting into final array of floats if
5460 __FLT_EVAL_METHOD__ != 0.
5461 * math/libm-test.inc (cos_test): Add another test.
5462 (sin_test): Likewise.
5463 * sysdeps/i386/fpu/libm-test-ulps: Update.
5466 * math/libm-test.inc (cosh_test): Add more tests.
5468 * version.h (RELEASE): Set to "development".
5469 (VERSION): Set to "2.16.90".
5471 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5473 * NEWS: Update copyright. Remove last-updated date.
5474 Mention math library bug fixes and timezone data changes.
5475 * README: Mention GNU/Hurd, x32, and HPPA support status.
5477 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5479 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5481 2012-06-27 Andreas Jaeger <aj@suse.de>
5483 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5485 2012-06-25 Andreas Jaeger <aj@suse.de>
5487 * sysdeps/s390/fpu/libm-test-ulps: Update.
5489 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5490 Thomas Schwinge <thomas@codesourcery.com>
5492 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5493 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5497 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5499 * sysdeps/mach/start.c: Remove file.
5500 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5501 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5502 * sysdeps/sh/init-first.c: Likewise.
5504 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5505 registers for frame unwinding purposes, add CFI directives.
5506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5508 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5511 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5512 __fortify_fail returning.
5513 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5515 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5516 sysdeps/sh/____longjmp_chk.S.
5517 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5518 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5519 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5520 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5522 * sysdeps/sh/abort-instr.h: New file.
5523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5524 process in case exit returns.
5526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5527 initialize the GOT register before use.
5529 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5530 calculation of ARGC > 4.
5532 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5533 meaningful names to some local labels.
5535 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5536 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5538 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5539 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5540 (__arch_compare_and_exchange_val_16_acq): Likewise.
5541 (__arch_compare_and_exchange_val_32_acq): Likewise.
5542 (atomic_exchange_and_add): Fix gUSA sequence.
5543 (atomic_add): Likewise.
5544 (atomic_add_negative): Likewise.
5545 (atomic_add_zero): Likewise.
5546 (atomic_bit_test_set): Likewise.
5548 2012-06-22 Andreas Schwab <schwab@redhat.com>
5551 * include/link.h (struct link_map): Add l_free_initfini.
5552 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5554 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5555 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5556 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5559 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5561 * configure.in: Use AC_LANG_SOURCE.
5562 * configure: Regenerate.
5564 2012-06-22 Roland McGrath <roland@hack.frob.com>
5566 * configure.in (libc_cv_localstatedir): New substituted variable.
5567 * configure: Regenerated.
5568 * config.make.in (localstatedir): New variable, substituted from
5569 libc_cv_localstatedir.
5570 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5571 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5572 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5573 * sysdeps/gnu/configure: Regenerated.
5575 2012-06-21 Jeff Law <law@redhat.com>
5578 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5579 free. Simplify list management for _LIBC case.
5581 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5585 Clear sign bit of 64-bit integer value before comparing against
5588 * sysdeps/mach/configure: Regenerated.
5590 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5593 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5595 2012-06-21 Jeff Law <law@redhat.com>
5598 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5599 uint16_t for elements in the "seen" array to avoid char overflows.
5600 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5601 * elf/dl-open.c (dl_open_worker): Likewise.
5603 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5605 * scripts/list-sources.sh: Scan PORTS for translations.
5606 * po/libc.pot: Regenerated.
5608 2012-06-21 Andreas Jaeger <aj@suse.de>
5611 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5613 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5614 * bits/byteswap-16.h (__bswap_16): Likewise.
5615 * bits/byteswap.h (__bswap_constant_16): Likewise.
5617 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5620 * sysdeps/i386/fpu_control.h: Removed.
5621 * sysdeps/x86_64/fpu_control.h: Moved to ...
5622 * sysdeps/x86/fpu_control.h: Here.
5624 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5625 (_FPU_SETCW): Likewise.
5627 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5630 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5631 * sysdeps/x86/fpu/bits/mathinline.h: This.
5632 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5636 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5637 functions if __x86_64__ is defined.
5639 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5641 * string/endian.h: Add !__ASSEMBLER__ condition for including
5642 conversion interfaces.
5644 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5648 of ABS(x) in calculating zero to negative powers other than odd
5650 * math/libm-test.inc (pow_test): Add more tests.
5652 2012-06-15 Andreas Jaeger <aj@suse.de>
5654 * manual/contrib.texi (Contributors): Update entry of Liubov
5655 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5658 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5660 * string/string.h: Add __wur to GNU version of strerror_r.
5662 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5665 * string/Makefile (tests): Add tst-strtok_r.
5666 * string/tst-strtok_r.c: New file.
5667 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5668 RAX_LP/RDX_LP on SAVE_PTR.
5670 2012-06-14 Roland McGrath <roland@hack.frob.com>
5672 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5674 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5676 * libm_test.inc (csqrt_test): Allow more spurious underflow
5678 (j0_test): Likewise.
5679 (j1_test): Likewise.
5680 (y0_test): Likewise.
5681 (y1_test): Likewise.
5683 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5685 * po/Makefile (libc.pot): Use UTF-8 charset.
5687 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5690 Suppress sign-conversion warning from FD_SET.
5691 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5692 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5693 not unsigned long int.
5694 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5696 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5700 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5701 __extern_always_inline instead of __extern_inline.
5702 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5703 (__signbit): Likewise.
5704 (__signbitl): Support C++ namespace.
5705 (lrintf): New inline function.
5707 (llrintf): Likewise.
5719 (nearbyint): Likewise.
5720 (nearbyintf): Likewise.
5722 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5725 non-default versions.
5727 2012-06-11 Roland McGrath <roland@hack.frob.com>
5730 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5732 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5734 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5735 (FE_UPWARD, FE_DOWNWARD): Don't define.
5736 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5739 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5741 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5742 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5744 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5746 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5748 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5749 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5751 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5754 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5755 * sysdeps/i386/fpu/Implies: New file.
5756 * sysdeps/x86_64/fpu/Implies: Likewise.
5757 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5758 * sysdeps/x86/fpu/bits/fenv.h: This.
5760 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5763 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5766 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5767 character 0xffff that matches the last element of the
5770 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5775 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5778 values higher than 25.6283.
5780 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5783 subnormal exponent extraction and add some __builtin_expect.
5784 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5785 Fix for subnormal mantissa calculation.
5787 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5789 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5790 cpu2 is -1 and errno is not ENOSYS.
5792 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5795 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5796 * sysdeps/x86/bits/string.h: This.
5797 * sysdeps/x86_64/bits/string.h: Removed.
5799 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5800 if not compiling for x86-64, but compiling for >= i486.
5802 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5803 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5805 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5806 New macro from Linux kernel 3.4.0.
5807 (FP_XSTATE_MAGIC2): Likewise.
5808 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5809 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5810 (struct _fpx_sw_bytes): New struct.
5811 (struct _xsave_hdr): Likewise.
5812 (struct _ymmh_state): Likewise.
5813 (struct _xstate): Likewise.
5815 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5816 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5818 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5820 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5822 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5824 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5825 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5826 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5827 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5829 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5832 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5833 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5834 (sysdep_headers): Include sys/platform/ppc.h.
5835 * sysdeps/powerpc/test-gettimebase.c: Test for
5836 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5837 * manual/Makefile (appendices): Include platform.texi.
5838 * manual/contrib.texi (Contributors): Update @node pointers.
5839 * manual/maint.texi (Maintenance): Likewise.
5840 (Platform): New node.
5841 * manual/platform.texi: New file. Document the new features.
5843 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5844 Jakub Jelinek <jakub@redhat.com>
5847 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5848 where __builtin_expect is unavailable.
5850 2012-06-03 David S. Miller <davem@davemloft.net>
5852 * stdlib/longlong.h: Updated from GCC.
5854 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5857 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5858 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5861 (GLIBC_2.16): Likewise.
5863 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5867 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5870 (default-abi): New variable.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5872 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5874 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5878 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5881 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5882 definition. Document in comment.
5884 2012-06-01 David S. Miller <davem@davemloft.net>
5886 * stdlib/longlong.h: Updated from GCC.
5888 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5891 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5892 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5893 sys/debugreg.h sys/io.h here.
5894 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5895 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5897 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5898 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5900 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5902 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5904 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5905 Define only if __x86_64__ is defined.
5907 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5911 Use int64_t for variable i.
5912 * math/libm-test.inc (fmod_test): Add more tests.
5914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5915 z computation is not scheduled after fetestexcept.
5916 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5917 Use math_force_eval instead of asm to ensure calculation scheduled
5918 before exception test.
5919 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5920 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5922 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5925 computation is not scheduled after fetestexcept.
5927 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5930 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5931 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5933 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5936 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5938 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5941 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5943 (__WCHAR_MIN): Support __WORDSIZE == 64.
5944 (__WCHAR_MAX): Likewise.
5946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5951 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5954 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5955 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5958 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5960 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5961 Defined to 1 if __x86_64__ isn't defined.
5962 (_STAT_VER_LINUX_OLD): New.
5963 (st_atime): Remove duplicate.
5964 (st_mtime): Likewise.
5965 (st_ctime): Likewise.
5967 2012-05-31 David S. Miller <davem@davemloft.net>
5969 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5972 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5974 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5978 * elf/dl-reloc.c: Include <_itoa.h>.
5979 (_dl_reloc_bad_type): Remove use of INTUSE.
5980 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5981 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5982 * stdio-common/psiginfo.c (psiginfo): Likewise.
5983 * stdio-common/psignal.c (psignal): Likewise.
5984 * string/strsignal.c (strsignal): Likewise.
5985 * include/signal.h (_sys_siglist): Declare hidden proto.
5986 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5987 INTVARDEF with libc_hidden_data_def.
5988 * stdio-common/itoa-udigits.c: Likewise.
5989 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5990 (_itoa_lower_digits_internal): Remove declaration.
5991 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5992 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5993 (_sys_sigabbrev_internal): Remove aliases.
5994 (_sys_siglist): Define hidden alias.
5996 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6001 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6004 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6005 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6007 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6008 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6009 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6010 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6012 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6014 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6015 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6016 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6018 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6026 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6030 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6031 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6032 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6033 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6034 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6035 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6037 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6038 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6040 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6041 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6045 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6047 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6048 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6050 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6052 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6053 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6054 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6056 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6058 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6060 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6062 * math/math.h (M_El): Use two more decimal places.
6063 (M_LOG2El): Likewise.
6064 (M_LOG10El): Likewise.
6066 (M_LN10l): Likewise.
6068 (M_PI_2l): Likewise.
6069 (M_PI_4l): Likewise.
6070 (M_1_PIl): Likewise.
6071 (M_2_PIl): Likewise.
6072 (M_2_SQRTPIl): Likewise.
6073 (M_SQRT2l): Likewise.
6074 (M_SQRT1_2l): Likewise.
6076 2012-05-31 David S. Miller <davem@davemloft.net>
6078 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6079 values between float registers.
6080 * sysdeps/sparc/sparc64/memset.S: Likewise.
6081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6083 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6085 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6086 -D_FORTIFY_SOURCE=1.
6087 (CPPFLAGS-tst-longjmp_chk.c): Define.
6088 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6089 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6090 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6091 CFLAGS-tst-wchar-h.c.
6093 2012-05-31 Marek Polacek <polacek@redhat.com>
6096 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6097 __endmntent_internal): Remove declaration.
6098 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6099 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6100 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6102 2012-05-30 David S. Miller <davem@davemloft.net>
6104 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6105 (___Q_simulate_exceptions): Use real FP ops rather than writing
6107 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6110 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6113 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6114 * sysdeps/x86/bits/xtitypes.h: This.
6116 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6117 * sysdeps/x86/bits/wordsize.h: This.
6119 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6120 * sysdeps/x86/bits/huge_vall.h: This.
6122 * sysdeps/i386/bits/select.h: Removed.
6123 * sysdeps/x86_64/bits/select.h: Renamed to ...
6124 * sysdeps/x86/bits/select.h: This.
6126 * sysdeps/i386/bits/setjmp.h: Removed.
6127 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6128 * sysdeps/x86/bits/setjmp.h: This.
6130 * sysdeps/i386/bits/mathdef.h: Removed.
6131 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6132 * sysdeps/x86/bits/mathdef.h: This.
6134 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6137 * include/sys/socket.h (__connect_internal)
6138 (__libc_sa_len_internal): Remove declaration.
6139 (__connect, __libc_sa_len): Declare hidden_proto.
6140 (SA_LEN): Remove use of INTUSE.
6141 * socket/connect.c: Add libc_hidden_def.
6142 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6143 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6144 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6146 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6148 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6149 of adding _internal alias.
6151 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6154 * sysdeps/i386/bits/link.h: Removed.
6155 * sysdeps/i386/bits/linkmap.h: Likewise.
6156 * sysdeps/x86_64/bits/link.h: Renamed to ...
6157 * sysdeps/x86/bits/link.h: This.
6158 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6159 * sysdeps/x86/bits/linkmap.h: This.
6161 * sysdeps/i386/bits/endian.h: Removed.
6162 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6163 * sysdeps/x86/bits/endian.h: This.
6165 * sysdeps/i386/bits/byteswap.h: Removed.
6166 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6167 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6168 * sysdeps/x86/bits/byteswap.h: This.
6169 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6170 * sysdeps/x86/bits/byteswap-16.h: This.
6171 * sysdeps/i386/Implies: Add x86.
6172 * sysdeps/x86_64/Implies: Likewise.
6174 2012-05-30 David S. Miller <davem@davemloft.net>
6176 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6177 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6178 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6179 (FP_TRAPPING_EXCEPTIONS): Define.
6180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6181 (FP_TRAPPING_EXCEPTIONS): Define.
6182 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6183 subnormals only when inexact has been signalled or underflow
6184 exceptions are enabled.
6185 (_FP_PACK_CANONICAL): Likewise.
6187 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6191 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6193 2012-05-30 Richard Henderson <rth@twiddle.net>
6195 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6196 with #ifndef NOT_IN_libc.
6198 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6199 marked to avoid plt entry.
6201 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6204 * Makeconfig (default-abi): New macro.
6205 (abi-includes): Likewise.
6206 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6207 $(abi-$(default-abi)-lib-soname) for soname if defined.
6208 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6210 * Makefile (installed-stubs): Likewise.
6211 * include/stubs-biarch.h: Removed.
6212 * scripts/lib-names.awk: Only handle one library at a time.
6213 * scripts/soversions.awk: Remove WORDSIZE support.
6214 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6216 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6218 (syscall-list-default-condition): Likewise.
6219 (syscall-list-default-condition): Likewise.
6220 (syscall-list-includes): Likewise.
6221 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6222 syscall-list-* with abi-*. Handle undefined abi-variants.
6223 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6224 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6225 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6226 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6227 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6228 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6230 (syscall-list-32-options): Likewise.
6231 (syscall-list-32-condition): Likewise.
6232 (syscall-list-64-options): Likewise.
6233 (syscall-list-64-condition): Likewise.
6234 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6236 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6239 (abi-64-ld-soname): New macro.
6240 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6241 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6244 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6245 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6247 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6249 * sysdeps/unix/sysv/linux/kernel-features.h
6250 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6251 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6252 include <kernel-features.h>.
6253 [!__NR_ftruncate64]: Remove conditional code.
6254 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6255 [__NR_ftruncate64]: Make code unconditional.
6256 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6257 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6258 include <kernel-features.h>.
6259 [!__NR_ftruncate64]: Remove conditional code.
6260 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6261 [__NR_ftruncate64]: Make code unconditional.
6262 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6264 include <kernel-features.h>.
6265 [!__NR_ftruncate64]: Remove conditional code.
6266 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6267 [__NR_ftruncate64]: Make code unconditional.
6268 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6270 include <kernel-features.h>.
6271 [!__NR_ftruncate64]: Remove conditional code.
6272 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6273 [__NR_ftruncate64]: Make code unconditional.
6274 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6276 * configure.in (libc_cv_fpie): Weaken to a compile test using
6278 * configure: Regenerated.
6280 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6295 2012-05-27 David S. Miller <davem@davemloft.net>
6297 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6299 (__Q_simulate_exceptions): Return void. Change to simulate
6300 exceptions by writing into the %fsr.
6301 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6302 (__Qp_handle_exceptions): Likewise.
6304 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6305 __Qp_handle_exceptions.
6306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6307 __Qp_handle_exceptions.
6308 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6309 as unused and give dummy FP_RND_NEAREST initializer.
6310 (FP_INHIBIT_RESULTS): Define.
6311 (___Q_simulate_exceptions): Update declaration.
6312 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6315 as unused and give dummy FP_RND_NEAREST initializer.
6316 (__Qp_handle_exceptions): Update declaration.
6317 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6320 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6322 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6323 the temporary FPU control word.
6324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6325 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6326 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6327 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6328 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6329 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6330 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6331 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6332 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6333 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6334 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6336 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6338 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6341 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6343 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6344 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6345 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6346 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6348 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6349 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6352 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6354 * po/h.po: Update from translation team.
6356 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6358 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6360 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6361 handling of denormals.
6362 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6363 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6364 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6365 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6371 2012-05-26 Marek Polacek <polacek@redhat.com>
6374 * math/libm-test.inc (fma_test): Don't always expect underflow
6377 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6380 * elf/tst-execstack.c: Include stackinfo.h.
6381 (do_test): Adjust test case to ensure that pthread_getattr_np
6382 behaviour remains the same after marking stack executable.
6384 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6386 * sysdeps/unix/sysv/linux/kernel-features.h
6387 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6388 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6390 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6391 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6392 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6394 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6395 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6397 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6399 * configure.in: Define the default includes to being none.
6400 * configure: Regenerated.
6402 2012-05-25 Roland McGrath <roland@hack.frob.com>
6404 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6405 * sysdeps/x86_64/setjmp.S: Likewise.
6406 * sysdeps/i386/bsd-setjmp.S: Likewise.
6407 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6408 * sysdeps/i386/setjmp.S: Likewise.
6409 * sysdeps/i386/__longjmp.S: Likewise.
6410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6411 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6413 * include/stap-probe.h: New file.
6414 * configure.in: Handle --enable-systemtap.
6415 * configure: Regenerated.
6416 * config.h.in (USE_STAP_PROBE): New #undef.
6417 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6418 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6419 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6421 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6425 to 2.4.0 where earlier.
6426 * sysdeps/unix/sysv/linux/configure: Regenerated.
6427 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6428 <kernel-features.h>.
6429 [__ASSUME_32BITUIDS]: Make code unconditional.
6430 [!__ASSUME_32BITUIDS]: Remove conditional code.
6431 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6432 <kernel-features.h>.
6433 [__ASSUME_32BITUIDS]: Make code unconditional.
6434 [!__ASSUME_32BITUIDS]: Remove conditional code.
6435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6436 [__ASSUME_32BITUIDS]: Make code unconditional.
6437 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6438 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6439 <kernel-features.h>.
6440 [__ASSUME_32BITUIDS]: Make code unconditional.
6441 [!__ASSUME_32BITUIDS]: Remove conditional code.
6442 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6443 <kernel-features.h>.
6444 [__ASSUME_32BITUIDS]: Make code unconditional.
6445 [!__ASSUME_32BITUIDS]: Remove conditional code.
6446 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6447 <kernel-features.h>.
6448 [__ASSUME_32BITUIDS]: Make code unconditional.
6449 [!__ASSUME_32BITUIDS]: Remove conditional code.
6450 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6451 <kernel-features.h>.
6452 [__ASSUME_32BITUIDS]: Make code unconditional.
6453 [!__ASSUME_32BITUIDS]: Remove conditional code.
6454 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6455 <kernel-features.h>.
6456 [__ASSUME_32BITUIDS]: Make code unconditional.
6457 [!__ASSUME_32BITUIDS]: Remove conditional code.
6458 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6459 <kernel-features.h>.
6460 [__ASSUME_32BITUIDS]: Make code unconditional.
6461 [!__ASSUME_32BITUIDS]: Remove conditional code.
6462 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6463 <kernel-features.h>.
6464 [__ASSUME_32BITUIDS]: Make code unconditional.
6465 [!__ASSUME_32BITUIDS]: Remove conditional code.
6466 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6467 <kernel-features.h>.
6468 [__ASSUME_32BITUIDS]: Make code unconditional.
6469 [!__ASSUME_32BITUIDS]: Remove conditional code.
6470 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6471 <kernel-features.h>.
6472 [__ASSUME_32BITUIDS]: Make code unconditional.
6473 [!__ASSUME_32BITUIDS]: Remove conditional code.
6474 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6475 <kernel-features.h>.
6476 [__ASSUME_32BITUIDS]: Make code unconditional.
6477 [!__ASSUME_32BITUIDS]: Remove conditional code.
6478 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6479 <kernel-features.h>.
6480 [__NR_setresgid] (__setresgid): Do not declare.
6481 [__ASSUME_32BITUIDS]: Make code unconditional.
6482 [!__ASSUME_32BITUIDS]: Remove conditional code.
6483 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6484 <kernel-features.h>.
6485 [__NR_setresuid] (__setresuid): Do not declare.
6486 [__ASSUME_32BITUIDS]: Make code unconditional.
6487 [!__ASSUME_32BITUIDS]: Remove conditional code.
6488 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6489 <kernel-features.h>.
6490 [__ASSUME_32BITUIDS]: Make code unconditional.
6491 [!__ASSUME_32BITUIDS]: Remove conditional code.
6492 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6493 <kernel-features.h>.
6494 [__ASSUME_32BITUIDS]: Make code unconditional.
6495 [!__ASSUME_32BITUIDS]: Remove conditional code.
6496 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6497 <kernel-features.h>.
6498 [__ASSUME_32BITUIDS]: Make code unconditional.
6499 [!__ASSUME_32BITUIDS]: Remove conditional code.
6500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6501 <kernel-features.h>.
6502 [__ASSUME_32BITUIDS]: Make code unconditional.
6503 [!__ASSUME_32BITUIDS]: Remove conditional code.
6504 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6505 <kernel-features.h>.
6506 [__ASSUME_32BITUIDS]: Make code unconditional.
6507 [!__ASSUME_32BITUIDS]: Remove conditional code.
6508 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6509 <kernel-features.h>.
6510 [__ASSUME_32BITUIDS]: Make code unconditional.
6511 [!__ASSUME_32BITUIDS]: Remove conditional code.
6512 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6513 <kernel-features.h>.
6514 [__ASSUME_32BITUIDS]: Make code unconditional.
6515 [!__ASSUME_32BITUIDS]: Remove conditional code.
6516 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6517 <kernel-features.h>.
6518 [__ASSUME_32BITUIDS]: Make code unconditional.
6519 [!__ASSUME_32BITUIDS]: Remove conditional code.
6520 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6521 <kernel-features.h>.
6522 [__ASSUME_32BITUIDS]: Make code unconditional.
6523 [!__ASSUME_32BITUIDS]: Remove conditional code.
6524 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6525 <kernel-features.h>.
6526 [__ASSUME_32BITUIDS]: Make code unconditional.
6527 [!__ASSUME_32BITUIDS]: Remove conditional code.
6528 * sysdeps/unix/sysv/linux/kernel-features.h
6529 (__ASSUME_SETRESUID_SYSCALL): Remove.
6530 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6531 (__ASSUME_32BITUIDS): Likewise.
6532 (__ASSUME_LDT_WORKS): Likewise.
6533 (__ASSUME_O_DIRECTORY): Likewise.
6534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6535 architecture but not kernel version.
6536 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6537 (__ASSUME_MMAP2_SYSCALL): Likewise.
6538 (__ASSUME_STAT64_SYSCALL): Likewise.
6539 (__ASSUME_IPC64): Likewise.
6540 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6541 <kernel-features.h>.
6542 [__ASSUME_32BITUIDS]: Make code unconditional.
6543 [!__ASSUME_32BITUIDS]: Remove conditional code.
6544 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6545 <kernel-features.h>.
6546 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6547 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6548 132096]: Remove conditional code.
6549 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6551 <kernel-features.h>.
6552 [__ASSUME_32BITUIDS]: Make code unconditional.
6553 [!__ASSUME_32BITUIDS]: Remove conditional code.
6554 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6555 <kernel-features.h>.
6556 [__ASSUME_32BITUIDS]: Make code unconditional.
6557 [!__ASSUME_32BITUIDS]: Remove conditional code.
6558 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6559 <kernel-features.h>.
6560 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6562 (__setresgid): Do not declare.
6563 [__ASSUME_32BITUIDS]: Make code unconditional.
6564 [!__ASSUME_32BITUIDS]: Remove conditional code.
6565 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6566 <kernel-features.h>.
6567 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6569 (__setresuid): Do not declare.
6570 [__ASSUME_32BITUIDS]: Make code unconditional.
6571 [!__ASSUME_32BITUIDS]: Remove conditional code.
6572 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6573 <kernel-features.h>.
6574 [__ASSUME_32BITUIDS]: Make code unconditional.
6575 [!__ASSUME_32BITUIDS]: Remove conditional code.
6576 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6577 <kernel-features.h>.
6578 [__ASSUME_32BITUIDS]: Make code unconditional.
6579 [!__ASSUME_32BITUIDS]: Remove conditional code.
6581 2012-05-25 Richard Henderson <rth@twiddle.net>
6583 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6584 dl_hwcap to ifunc resolver.
6585 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6587 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6588 dl_hwcap to ifunc resolver.
6589 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6591 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6594 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6595 for |x| <= 2**-26, not 2**-57.
6596 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6599 2012-05-24 Jeff Law <law@redhat.com>
6601 * stdio-common/Makefile (tests): Add bug25.
6602 * stdio-common/bug25.c: New test.
6604 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6607 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6608 multiple of MALLOC_ALIGNMENT in size.
6609 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6611 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6613 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6615 (FILENAME_MAX): Use macro-int-constant.
6616 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6617 (_IOFBF): Use macro-int-constant.
6620 (SEEK_CUR): Likewise.
6621 (SEEK_END): Likewise.
6622 (SEEK_SET): Likewise.
6623 (TMP_MAX): Likewise.
6624 (EOF): Use macro-int-constant. Require < 0.
6625 (NULL): Use macro-constant. Require == 0.
6626 (stdin): Require type to be FILE *.
6629 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6631 (EXIT_SUCCESS): Likewise.
6632 (NULL): Use macro-constant. Require == 0.
6633 (RAND_MAX): Use macro-int-constant.
6634 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6635 [C99-based standards] (strtof): Require function.
6636 [C99-based standards] (strtold): Likewise.
6637 [C99-based standards] (strtoll): Likewise.
6638 [C99-based standards] (strtoull): Likewise.
6639 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6640 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6641 [ISO || ISO99 || ISO11] (math.h): Likewise.
6642 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6643 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6646 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6649 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6650 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6651 * intl/dgettext.c (DCGETTEXT): Likewise.
6652 * intl/gettext.c (DCGETTEXT): Likewise.
6653 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6654 * posix/regex_internal.h (gettext): Likewise.
6655 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6657 * include/argz.h (__argz_count_internal)
6658 (__argz_stringify_internal): Remove declaration.
6659 (__argz_count, __argz_stringify): Declare hidden proto.
6660 * intl/dcgettext.c: Remove use of INTDEF.
6661 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6662 * string/argz-stringify.c: Likewise.
6663 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6664 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6665 Declare hidden proto.
6666 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6667 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6668 Declare hidden proto.
6669 * include/stdio.h (__asprintf_internal): Don't declare.
6670 (__asprintf): Don't define as macro. Declare hidden proto.
6671 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6672 (__fsetlocking): Declare hidden proto.
6673 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6674 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6676 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6677 (_IO_setlinebuf): Remove use of INTUSE.
6678 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6679 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6680 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6682 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6683 (_IO_do_flush): Remove use of INTUSE.
6684 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6685 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6686 (_IO_adjust_column, _IO_least_wmarker)
6687 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6688 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6689 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6690 (_IO_default_doallocate, _IO_wdefault_doallocate)
6691 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6692 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6693 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6694 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6695 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6696 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6697 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6698 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6699 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6700 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6701 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6702 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6703 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6705 (_IO_flush_all_internal, _IO_adjust_column_internal)
6706 (_IO_default_uflow_internal, _IO_default_finish_internal)
6707 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6708 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6709 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6710 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6711 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6712 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6713 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6714 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6715 (_IO_file_close_internal, _IO_file_close_it_internal)
6716 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6717 (_IO_file_init_internal, _IO_file_attach_internal)
6718 (_IO_file_fopen_internal, _IO_file_read_internal)
6719 (_IO_file_sync_internal, _IO_file_seek_internal)
6720 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6721 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6722 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6723 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6724 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6725 (_IO_list_all_internal, _IO_link_in_internal)
6726 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6727 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6728 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6729 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6730 (_IO_do_write_internal, _IO_padn_internal)
6731 (_IO_getline_info_internal, _IO_getline_internal)
6732 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6733 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6734 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6735 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6736 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6737 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6738 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6739 with libc_hidden_ver, remove use of INTUSE.
6740 * libio/genops.c: Likewise.
6741 * libio/freopen.c: Likewise.
6742 * libio/freopen64.c: Likewise.
6743 * libio/iofclose.c: Likewise.
6744 * libio/iofdopen.c: Likewise.
6745 * libio/iofflush.c: Likewise.
6746 * libio/iofflush_u.c: Likewise.
6747 * libio/iofgets.c: Likewise.
6748 * libio/iofgets_u.c: Likewise.
6749 * libio/iofopen.c: Likewise.
6750 * libio/iofopncook.c: Likewise.
6751 * libio/iofread.c: Likewise.
6752 * libio/iofread_u.c: Likewise.
6753 * libio/ioftell.c: Likewise.
6754 * libio/iofwrite.c: Likewise.
6755 * libio/iogetline.c: Likewise.
6756 * libio/iogets.c: Likewise.
6757 * libio/iogetwline.c: Likewise.
6758 * libio/iopadn.c: Likewise.
6759 * libio/iopopen.c: Likewise.
6760 * libio/ioseekoff.c: Likewise.
6761 * libio/ioseekpos.c: Likewise.
6762 * libio/iosetbuffer.c: Likewise.
6763 * libio/iosetvbuf.c: Likewise.
6764 * libio/ioungetc.c: Likewise.
6765 * libio/ioungetwc.c: Likewise.
6766 * libio/iovdprintf.c: Likewise.
6767 * libio/iovsprintf.c: Likewise.
6768 * libio/iovsscanf.c: Likewise.
6769 * libio/memstream.c: Likewise.
6770 * libio/obprintf.c: Likewise.
6771 * libio/oldfileops.c: Likewise.
6772 * libio/oldiofclose.c: Likewise.
6773 * libio/oldiofdopen.c: Likewise.
6774 * libio/oldiofopen.c: Likewise.
6775 * libio/oldiopopen.c: Likewise.
6776 * libio/oldstdfiles.c: Likewise.
6777 * libio/putc.c: Likewise.
6778 * libio/setbuf.c: Likewise.
6779 * libio/setlinebuf.c: Likewise.
6780 * libio/stdfiles.c: Likewise.
6781 * libio/strops.c: Likewise.
6782 * libio/vasprintf.c: Likewise.
6783 * libio/vscanf.c: Likewise.
6784 * libio/vsnprintf.c: Likewise.
6785 * libio/vswprintf.c: Likewise.
6786 * libio/wfiledoalloc.c: Likewise.
6787 * libio/wfileops.c: Likewise.
6788 * libio/wgenops.c: Likewise.
6789 * libio/wmemstream.c: Likewise.
6790 * libio/wstrops.c: Likewise.
6791 * libio/__fpurge.c: Likewise.
6792 * libio/__fsetlocking.c: Likewise.
6793 * assert/assert.c: Likewise.
6794 * debug/fgets_chk.c: Likewise.
6795 * debug/fgets_u_chk.c: Likewise.
6796 * debug/fread_chk.c: Likewise.
6797 * debug/fread_u_chk.c: Likewise.
6798 * debug/gets_chk.c: Likewise.
6799 * debug/obprintf_chk.c: Likewise.
6800 * debug/vasprintf_chk.c: Likewise.
6801 * debug/vdprintf_chk.c: Likewise.
6802 * debug/vsnprintf_chk.c: Likewise.
6803 * debug/vsprintf_chk.c: Likewise.
6804 * malloc/mtrace.c: Likewise.
6805 * misc/error.c: Likewise.
6806 * misc/syslog.c: Likewise.
6807 * stdio-common/asprintf.c: Likewise.
6808 * stdio-common/fxprintf.c: Likewise.
6809 * stdio-common/getw.c: Likewise.
6810 * stdio-common/isoc99_fscanf.c: Likewise.
6811 * stdio-common/isoc99_scanf.c: Likewise.
6812 * stdio-common/isoc99_vfscanf.c: Likewise.
6813 * stdio-common/isoc99_vscanf.c: Likewise.
6814 * stdio-common/isoc99_vsscanf.c: Likewise.
6815 * stdio-common/printf-prs.c: Likewise.
6816 * stdio-common/printf_fp.c: Likewise.
6817 * stdio-common/printf_fphex.c: Likewise.
6818 * stdio-common/printf_size.c: Likewise.
6819 * stdio-common/putw.c: Likewise.
6820 * stdio-common/scanf.c: Likewise.
6821 * stdio-common/sprintf.c: Likewise.
6822 * stdio-common/tmpfile.c: Likewise.
6823 * stdio-common/vfprintf.c: Likewise.
6824 * stdio-common/vfscanf.c: Likewise.
6825 * stdlib/strfmon_l.c: Likewise.
6826 * sunrpc/openchild.c: Likewise.
6827 * sunrpc/xdr_stdio.c: Likewise.
6828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6829 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6831 2012-05-24 Roland McGrath <roland@hack.frob.com>
6833 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6835 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6836 in the third column, to generate for the shared library an IFUNC
6837 that uses _dl_vdso_vsym.
6838 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6839 * Makeconfig (object-suffixes-noshared): New variable.
6841 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6842 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6843 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6844 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6847 * include/sys/time.h (__gettimeofday): Remove macro.
6848 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6849 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6851 (__gettimeofday): Add libc_hidden_def.
6852 (gettimeofday): Add libc_hidden_weak.
6853 * sysdeps/mach/gettimeofday.c: Likewise.
6854 * sysdeps/posix/gettimeofday.c: Likewise.
6855 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6856 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6858 (__gettimeofday_internal): Remove strong_alias.
6859 (__gettimeofday): Add libc_hidden_def.
6860 (gettimeofday): Add libc_hidden_weak.
6861 * sysdeps/unix/syscalls.list (gettimeofday):
6862 Remove __gettimeofday_internal alias.
6864 2012-05-24 Daniel Jacobowitz <drow@false.org>
6865 H.J. Lu <hongjiu.lu@intel.com>
6868 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6869 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6870 (largebin_index_32_big): New.
6871 (largebin_index): Use it for 16-byte alignment.
6872 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6873 correction with front_misalign.
6875 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6903 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6904 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6906 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6910 * math/libm-test.inc (exp_test): Add test from bug 14036.
6911 (pow_test): Add test from bug 10846.
6913 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6915 (special_function): Do not include flags in test name.
6916 (parse_args): Likewise.
6917 * sysdeps/i386/fpu/libm-test-ulps: Update.
6918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6920 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6923 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6925 * math/libm-test.inc ("Philosophy"): Update comment about
6927 (UNDERFLOW_EXCEPTION): New macro.
6928 (UNDERFLOW_EXCEPTION_OK): Likewise.
6929 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6930 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6931 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6932 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6933 (INVALID_EXCEPTION_OK): Update value.
6934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6935 (OVERFLOW_EXCEPTION_OK): Likewise.
6936 (IGNORE_ZERO_INF_SIGN): Likewise.
6937 (test_exceptions): Handle underflow exceptions.
6938 (acos_test): Update for underflow exception expectations.
6939 (cexp_test): Likewise.
6940 (clog_test): Likewise.
6941 (clog10_test): Likewise.
6942 (csqrt_test): Likewise.
6943 (ctan_test): Likewise.
6944 (ctanh_test): Likewise.
6945 (exp_test): Likewise.
6946 (exp10_test): Likewise.
6947 (exp2_test): Likewise.
6948 (expm1_test): Likewise.
6949 (fma_test): Likewise.
6950 (j0_test): Likewise.
6951 (jn_test): Likewise.
6952 (nexttoward_test): Likewise.
6953 (pow_test): Likewise.
6954 (scalbn_test): Likewise.
6955 (scalbln_test): Likewise.
6956 (tan_test): Likewise.
6957 (y1_test): Likewise.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961 2012-05-23 David S. Miller <davem@davemloft.net>
6963 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6964 (__libc_sigaction): Remove unused local variables.
6966 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6968 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6970 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6972 mktime: avoid signed integer overflow
6973 * time/mktime.c (__mktime_internal): Do not mishandle the case
6974 where diff == INT_MIN.
6976 mktime: simplify computation of average
6977 * time/mktime.c (ranged_convert): Use new time_t_avg function
6978 instead of rolling our own (probably-slower) code.
6980 mktime: do not assume signed right shift propagates sign bit
6981 * time/mktime.c (isdst_differ): New static function.
6982 (__mktime_internal): No need to normalize tm_isdst now.
6983 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6986 mktime: merge another wrapv change from gnulib
6987 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6988 from some compilers.
6990 mktime: remove incorrect attempt at unusual arithmetics
6991 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6992 The code didn't really work on such machines anyway.
6993 (TYPE_MINIMUM): Assume two's complement.
6994 (twos_complement_arithmetic): Verify that long_int and time_t
6995 are two's complement (or unsigned, in the latter case).
6997 mktime: check signed shifts on long_int and time_t, too
6998 * time/mktime.c (SHR): Check that shifts work as desired
6999 on the types long_int and time_t too, as SHR is used on
7002 mktime: do not assume 'long' is wide enough
7003 * time/mktime.c (verify): Move decl up.
7004 (long_int): New type.
7005 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7006 to remove assumption in the code that 'long' is wide enough to
7007 store year values. This assumption is not true on x32 and on
7008 some non-glibc platforms.
7010 mktime: merge wrapv change from gnulib
7011 * time/mktime.c (WRAPV): New macro.
7012 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7013 (guess_time_tm, __mktime_internal): Do not assume that signed
7014 integer overflow wraps around; modern compilers generate code
7015 where this assumption is no longer valid.
7017 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7019 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7020 Replace "jmp L(pseudo_end)" with "ret".
7021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7024 2012-05-23 Andreas Jaeger <aj@suse.de>
7026 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7027 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7029 2012-05-23 Andreas Jaeger <aj@suse.de>
7030 Maximilian Attems <max@stro.at>
7032 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7035 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7038 code so that pseudo_end is just ret and the stack pointer is
7039 correct also for static library in error case.
7041 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7044 move to syscalls.list.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7050 * manual/install.texi (Running make install): Do not mention Linux
7051 kernel version for which pt_chown is not needed.
7052 (Linux): Do not mention problems with nscd with 2.0 kernels.
7053 * INSTALL: Regenerated.
7055 2012-05-23 Andreas Jaeger <aj@suse.de>
7057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7058 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7060 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7062 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7064 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7067 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7069 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7070 * sysdeps/unix/sysv/linux/bits/in.h
7071 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7073 2012-05-22 Roland McGrath <roland@hack.frob.com>
7075 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7076 (PREPARE_VERSION): Just use assert instead, it will be elided
7077 under [NDEBUG] anyway.
7079 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7081 * sysdeps/unix/sysv/linux/Makefile: Include
7082 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7083 (sysdep_routines): Remove sysctl.
7084 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7085 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7086 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7087 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7088 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7090 2012-05-22 Andreas Jaeger <aj@suse.de>
7092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7093 that pseudo_end is just ret and the stack pointer is correct also
7094 for static library in error case.
7096 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7099 * nss/nsswitch.c (defconfig_entries): New variable.
7100 (__nss_database_lookup): Don't leak defconfig entries.
7101 (nss_parse_service_list): Don't leak on error paths.
7102 (free_database_entries): New function.
7103 (free_defconfig): New function.
7104 (free_mem): Move common code to free_database_entries.
7106 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7108 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7110 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7112 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7113 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7116 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7117 (INTERNAL_SYSCALL_TYPES): Likewise.
7118 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7119 (LOAD_REGS_TYPES_[1-6]): Likewise.
7120 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7121 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7123 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7126 copysignl for GLIBC_2_0.
7127 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7128 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7130 logbl for GLIBC_2_0.
7131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7132 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7134 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7137 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7139 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7142 * time/mktime.c: Update copyright years.
7144 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7146 mktime: merge comment-quoting-style change from gnulib
7147 * time/mktime.c: Quote 'like this' in comments.
7148 The GNU coding standards suggest that we no longer quote `like this',
7149 as "`" and "'" are typically rendered asymmetrically nowadays.
7150 The typical gnulib style is to quote 'like this' when quoting
7151 code, and "like this" when quoting English.
7153 * time/mktime.c (compile-command): Add "-I.".
7155 mktime: merge mktime-internal.h change from gnulib
7156 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7158 mktime: merge time_r change from gnulib
7159 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7161 mktime: merge DEBUG change from gnulib
7162 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7163 case system <time.h> has a #define.
7165 mktime: merge <sys/types.h> change from gnulib
7166 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7167 since <time.t> is now guaranteed to define time_t.
7169 mktime: merge HAVE_CONFIG_H change from gnulib
7170 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7172 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7177 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7179 (struct rusage): Use anonymous union to pad each field to
7182 2012-05-21 David S. Miller <davem@davemloft.net>
7184 * Makefules (o-iterator): Remove .s cases.
7185 (compile-command.s): Delete.
7186 (COMPILE.s): Delete.
7187 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7189 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7191 * configure.in (libc_cv_predef_stack_protector): Only consider
7192 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7193 * configure: Regenerated.
7195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7198 New macro. Use R*LP on int and pointer.
7199 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7200 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7201 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7202 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7204 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7205 [__WORDSIZE_TIME64_COMPAT32] instead of
7206 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7207 (struct utmp): Likewise.
7208 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7209 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7211 (__WORDSIZE_TIME64_COMPAT32): This.
7212 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7213 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7214 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7215 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7216 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7217 (__WORDSIZE_TIME64_COMPAT32): New macro.
7219 2012-05-21 Andreas Jaeger <aj@suse.de>
7221 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7222 only if [SHARED]. Add prototype for __wcschr_ia32.
7224 2012-05-21 Roland McGrath <roland@hack.frob.com>
7226 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7227 of %rbp unmolested in the jmp_buf while mangling the low bits.
7228 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7229 unmolested high bits of %rbp while demangling the low bits.
7230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7232 2012-05-21 Andreas Jaeger <aj@suse.de>
7234 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7235 * sunrpc/svc_simple.c: Use it for registerrpc.
7236 * sunrpc/xcrypt.c: Use it for passwd2des.
7238 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7240 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7242 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7243 Don't define if [__SYSCALL_WORDSIZE != 32].
7244 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7247 2012-05-21 Bruno Haible <bruno@clisp.org>
7248 Andreas Jaeger <aj@suse.de>
7250 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7251 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7252 inptr and inend for must_buffer_ch.
7253 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7254 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7255 * stdio-common/Makefile (tests): Remove bug15.
7256 (bug15-ENV): Remove macro.
7257 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7260 2012-05-19 Andreas Jaeger <aj@suse.de>
7261 Roland McGrath <roland@hack.frob.com>
7263 * manual/contrib.texi: Completely rewritten. It contains now an
7264 alphabetical list of contributors and their contributions.
7266 2012-05-21 Richard Henderson <rth@twiddle.net>
7268 * misc/getauxval.c (__getauxval): Use unsigned long int.
7269 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7270 (getauxval): Use unsigned long int.
7272 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7274 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7276 2012-05-21 Roland McGrath <roland@hack.frob.com>
7278 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7279 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7280 __alignof__ (long double).
7282 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7286 2012-05-20 Richard Henderson <rth@twiddle.net>
7288 * misc/getauxval.c: New file.
7289 * misc/sys/auxv.h: New file.
7290 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7291 (routines): Add getauxval.
7292 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7293 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7294 * elf/dl-sysdep.c (_dl_auxv): Remove.
7295 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7296 * elf/dl-support.c (_dl_auxv): New variable.
7297 (_dl_aux_init): Initialize it.
7298 * manual/startup.texi (Auxiliary Vector): New node.
7299 * sysdeps/generic/bits/hwcap.h: New file.
7300 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7301 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7302 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7303 * sysdeps/sparc/sysdep.h: ... here. Include it.
7304 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7317 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7321 2012-05-19 David S. Miller <davem@davemloft.net>
7323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7325 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7328 * math/s_ccosh.c: Include <float.h>
7329 (__ccosh): Avoid internal overflow calculating sinh and cosh
7330 values before multiplying by sin and cos values.
7331 * math/s_ccoshf.c: Likewise.
7332 * math/s_ccoshl.c: Likewise.
7333 * math/s_csin.c: Likewise.
7334 * math/s_csinf.c: Likewise.
7335 * math/s_csinl.c: Likewise.
7336 * math/s_csinh.c: Likewise.
7337 * math/s_csinhf.c: Likewise.
7338 * math/s_csinhl.c: Likewise.
7339 * math/libm-test.inc (ccos_test): Add more tests.
7340 (ccosh_test): Likewise.
7341 (csin_test): Likewise.
7342 (csinh_test): Likewise.
7343 * sysdeps/i386/fpu/libm-test-ulps: Update.
7344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7348 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7349 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7351 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7353 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7355 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7356 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7357 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7358 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7359 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7360 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7361 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7362 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7363 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7364 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7365 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7366 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7367 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7368 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7369 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7370 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7371 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7372 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7373 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7374 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7375 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7376 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7377 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7378 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7379 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7380 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7381 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7382 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7383 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7384 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7385 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7387 2012-05-18 Andreas Jaeger <aj@suse.de>
7389 * csu/.gitignore: Delete.
7391 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7393 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7394 (timex): Use __syscall_slong_t.
7396 2012-05-18 Andreas Jaeger <aj@suse.de>
7397 Carlos O'Donell <carlos_odonell@mentor.com>
7399 * manual/install.texi (Configuring and compiling): Update
7400 description about files modified in the source directory.
7401 * INSTALL: Regenerated.
7403 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7405 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7406 value. Use "or" to set return value to -1.
7407 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7408 negate return value.
7410 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7412 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7413 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7414 failure if the compiler has Graphite support disabled.
7415 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7417 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7418 CFLAGS-memmove.c): Likewise.
7419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7422 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7424 * sysdeps/x86_64/x32/_itoa.h: New file.
7426 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7427 getdents system call only if kernel and user dirents have the
7428 same d_ino and d_off.
7430 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7431 LLONG_MAX != LONG_MAX.
7432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7433 (_fitoa_word): Likewise.
7435 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7438 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7441 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7442 include <bits/wordsize.h>. Check __x86_64__ instead of
7444 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7445 if __x86_64__ is defined. Use anonymous union on fpstate.
7447 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7450 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7452 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7453 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7455 Refer to _rtld_local_ro instead of _rtld_global_ro.
7456 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7458 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7460 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7462 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7463 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7464 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7466 * sysdeps/powerpc/powerpc32/dl-machine.c
7467 (__elf_machine_runtime_setup) [PROF]: Don't reference
7470 2012-05-18 Andreas Jaeger <aj@suse.de>
7472 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7473 function only available for GCCs before 3.4 since GCC 3.4
7474 introduced a builtin.
7476 (llrintf): Likewise.
7484 (nearbyint): Likewise.
7485 (nearbyintf): Likewise.
7491 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7493 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7494 on both fields and cast pointer to __syscall_ulong_t.
7496 * bits/types.h (__fsword_t): New type.
7497 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7498 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7500 (__FSWORD_T_TYPE): Likewise.
7501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7502 (__FSWORD_T_TYPE): Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7504 (__FSWORD_T_TYPE): Likewise.
7505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7506 (__FSWORD_T_TYPE): Likewise.
7507 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7508 __SWORD_TYPE with __fsword_t.
7509 (statfs64): Likewise.
7511 2012-05-17 David S. Miller <davem@davemloft.net>
7513 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7515 2012-05-17 Andreas Jaeger <aj@suse.de>
7517 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7520 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7522 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7524 2012-05-17 Andreas Jaeger <aj@suse.de>
7526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7529 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7531 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7535 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7536 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7538 2012-05-17 Andreas Jaeger <aj@suse.de>
7539 Carlos O'Donell <carlos_odonell@mentor.com>
7542 * sysdeps/x86_64/multiarch/init-arch.h
7543 (bit_YMM_Usable): Rename to...
7544 (bit_AVX_Usable): ... this.
7545 (bit_FMA4_Usable): New macro.
7546 (bit_XMM_state): New macro.
7547 (bit_YMM_state): New macro.
7548 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7549 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7550 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7551 (CPUID_OSXSAVE): New macro.
7552 (CPUID_AVX): New macro.
7553 (CPUID_FMA4): New macro.
7554 (index_YMM_Usable): Rename to...
7555 (index_AVX_Usable): ... this.
7556 (HAS_AVX): Use HAS_ARCH_FEATURE.
7557 (HAS_FMA4): Likewise.
7558 (HAS_YMM_USABLE): Remove.
7559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7560 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7562 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7563 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7564 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7565 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7566 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7568 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7570 * math/libm-test.c: Support platforms without multiple rounding modes.
7571 * math/bug-nextafter.c: Support platforms without FP exceptions.
7572 * math/bug-nexttoward.c: Likewise.
7573 * math/test-fenv.c: Likewise.
7574 * math/test-misc.c: Likewise.
7575 * stdlib/bug-getcontext.c: Likewise.
7577 2012-05-17 Andreas Jaeger <aj@suse.de>
7579 * manual/examples/search.c (critter_cmp): Change signature to
7581 * manual/string.texi (Collation Functions): Likewise.
7583 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7585 * bits/types.h: Fold copyright years.
7586 * bits/typesizes.h: Likewise.
7587 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7591 * time/time.h: Likewise.
7593 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7596 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7597 in instead of returning them. Return void.
7598 (__libc_mallinfo): Accumulate over all arenas.
7599 (__malloc_stats): Adjust for change in int_mallinfo interface.
7601 2012-05-16 Roland McGrath <roland@hack.frob.com>
7604 * configure.in (NM): Add AC_CHECK_TOOL for it.
7605 (libc_extra_cflags): New substituted variable.
7606 Check for -fstack-protector being used implicitly.
7607 * configure: Regenerated.
7608 * config.make.in (config-extra-cflags): New variable,
7609 gets @libc_extra_cflags@.
7610 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7613 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7614 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7615 * configure: Regenerated.
7616 * config.make.in (CPPUNDEFS): New substituted variable.
7617 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7618 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7619 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7621 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7623 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7624 (mq_attr): Use __syscall_slong_t.
7626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7628 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7629 Check __x86_64__ instead of __WORDSIZE.
7630 (_STAT_VER_LINUX): Likewise.
7631 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7632 __syscall_ulong_t and __syscall_slong_t.
7635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7639 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7641 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7643 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7645 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7648 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7649 include <bits/wordsize.h>. Check __x86_64__ instead of
7651 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7653 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7656 include <bits/wordsize.h>. Check __x86_64__ instead of
7658 (user_regs_struct): Use "__extension__ unsigned long long"
7659 instead of "unsigned long" if __x86_64__ is defined.
7660 (user): Likewise. Pad after pointer field if __ILP32__ is
7663 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7665 * configure.in (makeinfo): Require version 4.5 or later. Allow
7667 * configure: Regenerated.
7668 * manual/install.texi (texinfo): Increase version requirement to
7670 * INSTALL: Regenerated.
7672 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7674 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7676 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7678 * sysdeps/x86_64/x32/ffs.c: New file.
7680 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7682 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7683 defined. Use __syscall_ulong_t.
7684 (shminfo): Use __syscall_ulong_t.
7685 (shm_info): Likewise.
7687 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7690 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7692 (msgqnum_t): Use __syscall_ulong_t.
7693 (msglen_t): Likewise.
7694 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7697 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7702 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7703 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7705 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7708 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7709 include <bits/wordsize.h>. Check __x86_64__ instead of
7712 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7713 "unsigned long long int" if __x86_64__ is defined.
7714 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7718 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7722 (GET_PC): Cast to uintptr_t first.
7723 (GET_FRAME): Likewise.
7724 (GET_STACK): Likewise.
7726 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7727 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7728 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7729 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7730 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7731 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7732 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7733 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7734 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7735 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7736 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7737 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7738 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7739 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7740 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7741 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7743 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7744 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7745 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7746 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7747 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7748 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7749 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7750 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7751 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7752 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7753 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7754 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7756 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7758 * Makerules (+depfiles): Also collect depfiles from .oS in
7760 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7761 .oS, $(libnldbl-routines)).
7763 * Makerules (native-compile-mkdep-flags): Define.
7764 * sunrpc/Makefile (extra-objs): Add $(addprefix
7765 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7766 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7767 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7768 calling $(make-target-directory).
7770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7772 * bits/types.h (__snseconds_t): Removed.
7773 * time/time.h (struct timespec): Replace __snseconds_t with
7775 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7776 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7779 (__SNSECONDS_T_TYPE): Likewise.
7780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7781 (__SNSECONDS_T_TYPE): Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7783 (__SNSECONDS_T_TYPE): Likewise.
7785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7787 * sysdeps/mach/hurd/bits/typesizes.h
7788 (__SYSCALL_SLONG_TYPE): New macro.
7789 (__SYSCALL_ULONG_TYPE): Likewise.
7791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7793 * bits/types.h (__syscall_slong_t): New type.
7794 (__syscall_ulong_t): Likewise.
7796 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7797 (__SYSCALL_ULONG_TYPE): Likewise.
7798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7799 (__SYSCALL_SLONG_TYPE): Likewise.
7800 (__SYSCALL_ULONG_TYPE): Likewise.
7801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7802 (__SYSCALL_SLONG_TYPE): Likewise.
7803 (__SYSCALL_ULONG_TYPE): Likewise.
7804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7805 (__SYSCALL_SLONG_TYPE): Likewise.
7806 (__SYSCALL_ULONG_TYPE): Likewise.
7808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7810 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7811 Add sigaltstack-offsets.sym.
7812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7813 <sigaltstack-offsets.h>.
7814 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7815 longjmp_msg pointer.
7816 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7817 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7819 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7821 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7823 * elf/stackguard-macros.h: Remove file.
7824 * sysdeps/generic/stackguard-macros.h: New file.
7825 * sysdeps/i386/stackguard-macros.h: Likewise.
7826 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7827 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7828 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7829 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7830 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7831 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7832 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7833 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7834 <elf/stackguard-macros.h>.
7837 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7838 __aligned__ in attribute.
7839 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7840 (gregset_t): Likewise.
7842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7844 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7845 * sysdeps/x86_64/64/Implies-after: Here. New file.
7846 * sysdeps/x86_64/x32/Implies-after: New file.
7848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7850 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7851 and access return value for _dl_profile_fixup. Use R10_LP to
7854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7856 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7860 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7861 * sysdeps/x86_64/x32/sysdep.h: New file.
7863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7865 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7866 * sysdeps/x86_64/setjmp.S: Likewise.
7868 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7870 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7871 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7872 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7874 remove unused global constant.
7876 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7878 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7879 include of <not-cancel.h>.
7881 2012-05-15 Roland McGrath <roland@hack.frob.com>
7883 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7885 2012-05-15 Jeff Law <law@redhat.com>
7886 Andreas Jaeger <aj@suse.de>
7889 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7891 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7892 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7893 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7894 code changing __hst_map_handle.map.
7896 2012-05-15 Roland McGrath <roland@hack.frob.com>
7898 * configure.in (sysnames): Look for Implies-before and Implies-after
7900 * configure: Regenerated.
7902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7904 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7905 8-byte data alignment with LP_SIZE alignment.
7907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7909 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7914 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7918 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7919 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7926 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7927 (stackinfo_sub_sp): Likewise.
7929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7941 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7946 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7950 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7951 into R11_LP and load __x86_64_shared_cache_size_half into
7954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7956 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7959 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7968 powerpc32/power7/fpu/s_logb.c via #include.
7969 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7970 powerpc32/power7/fpu/s_logbf.c via #include.
7971 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7972 powerpc32/power7/fpu/s_logbl.c via #include.
7974 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7976 * README.libm: Remove file.
7978 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7980 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7981 count for x32. Use R*_LP and omit operand-size suffix.
7983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7985 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7986 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7987 * sysdeps/x86_64/x32/shlib-versions: New file.
7989 2012-05-14 Roland McGrath <roland@hack.frob.com>
7991 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7992 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7993 Use _dl_fatal_printf instead.
7995 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7997 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7998 set if not set by the user. Do not allow for being unset.
7999 * sysdeps/unix/sysv/linux/configure: Regenerated.
8001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8003 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8004 the `q' suffix from lea and replace .quad with ASM_ADDR.
8006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8009 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8011 (PTR_DEMANGLE): Likewise.
8013 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8015 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8017 (ASM_ADDR): Likewise.
8035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8037 * sysdeps/x86_64/x32/dl-machine.h: New file.
8039 2012-05-14 Andreas Jaeger <aj@suse.de>
8041 * manual/Makefile (subdir): Remove export of subdir.
8042 (all): Remove target.
8043 (.PHONY): Remove all from list.
8044 (mkinstalldirs): Remove.
8045 (.PHONY): Remove installdirs from list.
8046 ($(inst_infodir)/libc.info): Use make-target-directory.
8047 (installdirs): Remove.
8049 (glibc-targets): Remove.
8052 ($(objpfx)stubs ../po/manual.pot): Remove.
8053 ($(objpfx)stamp%): Remove.
8054 (make-target-directory): Remove.
8055 (subdir_install): Remove.
8063 * manual/.gitignore: Remove, it's not needed anymore.
8064 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8066 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8068 (texis): Renamed to $(objpfx)texis.
8069 (texis-path): New, contains path to generated files.
8070 (chapters.%): Use texis-path for complete path, add extra argument
8072 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8073 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8074 (summary,texi, stamp-summary): Use complete path of
8075 files. Generate files in build dir.
8076 (dir-add.texi): Build in build dir.
8077 (libm-err.texi,stamp-libm-err): Likewise.
8078 (version.texi, stamp-version): Likewise.
8079 (.%c.texi): Likewise.
8080 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8081 (mostlyclean): Remove target.
8082 (realclean): Remove target.
8083 (generated): Add new variable with contents from mostlyclean and
8084 realclean, remove entries duplicated in common-mostlyclean, add
8085 stamp-libm-err and stamp-version.
8086 (generated-dirs): Add libc directory.
8087 ($(inst_infodir)/libc.info): Install files from build dir.
8089 * manual/install.texi (Configuring and compiling): Adjust since
8090 the info files are not part of the tar ball anymore.
8092 2012-05-14 Andreas Jaeger <aj@suse.de>
8094 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8097 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8101 to 2.2.0 where earlier.
8102 * sysdeps/unix/sysv/linux/configure: Regenerated.
8103 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8104 Remove conditional code.
8105 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8106 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8107 Remove conditional code.
8108 [!__NR_lchown]: Likewise.
8109 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8110 [__NR_lchown]: Likewise.
8111 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8112 comment referencing __ASSUME_LCHOWN_SYSCALL.
8113 * sysdeps/unix/sysv/linux/i386/sigaction.c
8114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8116 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8117 Remove conditional code.
8118 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8119 (__protocol_available): Remove #if 0 code.
8120 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8122 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8123 * sysdeps/unix/sysv/linux/kernel-features.h
8124 (__ASSUME_GETCWD_SYSCALL): Don't define.
8125 (__ASSUME_REALTIME_SIGNALS): Likewise.
8126 (__ASSUME_PREAD_SYSCALL): Likewise.
8127 (__ASSUME_PWRITE_SYSCALL): Likewise.
8128 (__ASSUME_POLL_SYSCALL): Likewise.
8129 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8130 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8132 (__ASSUME_SIOCGIFNAME): Don't define.
8133 (__ASSUME_MSG_NOSIGNAL): Likewise.
8134 (__ASSUME_SENDFILE): Define unconditionally.
8135 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8136 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8138 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8139 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8140 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8141 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8142 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8143 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8144 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8158 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8169 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8170 Remove conditional code.
8171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8172 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8173 Remove conditional code.
8174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8175 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8176 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8177 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8178 Remove conditional code.
8179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8180 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8181 Remove conditional code.
8182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8183 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8184 Remove conditional code.
8185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8186 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8187 Remove conditional code.
8188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8189 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8190 Remove conditional code.
8191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8192 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8195 * sysdeps/unix/sysv/linux/sigaction.c
8196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8198 * sysdeps/unix/sysv/linux/sigpending.c
8199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8201 * sysdeps/unix/sysv/linux/sigprocmask.c
8202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8204 * sysdeps/unix/sysv/linux/sigsuspend.c
8205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8207 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8208 (__libc_missing_rt_sigs): Remove.
8209 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8210 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8211 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8212 Remove conditional code.
8213 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8214 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8217 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8219 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8221 2012-05-14 Andreas Jaeger <aj@suse.de>
8223 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8224 it's not used in glibc.
8225 (__coshm1): Likewise.
8226 (__acosh1p): Likewise.
8229 * manual/string.texi (Copying and Concatenation): Add missing
8230 variable in concat example.
8231 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8236 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8237 __builtin_clzl with __builtin_clzll.
8239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8242 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8245 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8247 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8248 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8249 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8252 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8254 * NEWS: Update ia64 info.
8256 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8258 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8261 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8263 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8264 * sysdeps/unix/syscalls.list (dup3): Likewise.
8265 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8266 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8268 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8270 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8271 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8273 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8275 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8277 (TLS_IE): Use mov/add instead of movq/addq to load thread
8279 (TLS_GD_PREFIX): New.
8282 2012-05-11 David S. Miller <davem@davemloft.net>
8284 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8285 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8286 (_FPU_SETCW): Likewise.
8288 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8290 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8293 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8296 * iconvdata/gb18030.c: Update tables.
8297 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8298 characters specially.
8299 (BODY for TO_LOOP): Add encoding of missing ranges.
8301 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8304 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8305 * sysdeps/mach/hurd/dup3.c: Likewise.
8306 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8307 * sysdeps/powerpc/memmove.c:: Likewise.
8309 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8312 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8314 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8316 * elf/elf.h (R_X86_64_RELATIVE64): New.
8317 (R_X86_64_NUM): Updated.
8318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8319 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8320 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8321 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8322 tst-quad1pie tst-quad2pie
8323 (modules-names): Add tst-quadmod1 tst-quadmod2.
8324 ($(objpfx)tst-quad1): New dependency.
8325 ($(objpfx)tst-quad2): Likewise.
8326 ($(objpfx)tst-quad1pie): Likewise.
8327 ($(objpfx)tst-quad2pie): Likewise.
8328 * sysdeps/x86_64/tst-quad1.c: New file.
8329 * sysdeps/x86_64/tst-quad1pie.c: New file.
8330 * sysdeps/x86_64/tst-quad2.c: Likewise.
8331 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8332 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8333 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8334 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8335 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8339 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8340 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8341 * streams/stropts.h (t_scalar_t): Define type.
8343 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8344 (_PATH_PRESERVE): Set to "/var/lib".
8345 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8347 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8350 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8351 if __dir_mkfile succeeded.
8353 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8354 checking for _hurd_dtablesize. Unlock it right after having
8355 finished _hurd_dtable allocation.
8357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8359 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8360 * sysdeps/mach/hurd/configure: Regenerated.
8361 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8362 special-casing to...
8363 * sysdeps/gnu/configure.in: ... this new file.
8364 * sysdeps/unix/sysv/linux/configure: Regenerated.
8365 * sysdeps/gnu/configure: New generated file.
8367 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8368 for Linux: use nsec instead of usec, as well as:
8369 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8370 members of type struct timespec.
8371 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8373 (struct stat64): Likewise.
8374 (_STATBUF_ST_NSEC): New macro.
8375 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8377 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8378 __strtoul_internal rather than strtoul.
8380 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8382 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8387 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8388 which preserves existing values.
8389 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8391 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8393 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8394 TIMEOUT values. Return EINVAL for NFDS values either negative or
8395 greater than FD_SETSIZE.
8397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8399 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8400 allocated, call __vm_protect to finish enabling the existing space, and
8401 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8402 allocate the remainder.
8404 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8406 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8407 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8411 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8412 sysdeps/mach/hurd/readlink.c.
8414 * posix/tst-sysconf.c (posix_options): Only use
8415 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8416 _POSIX_SYNCHRONIZED_IO when they are defined
8417 * sysdeps/mach/hurd/bits/posix_opt.h:
8418 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8419 (_XOPEN_REALTIME): Undefine macro.
8420 (_XOPEN_REALTIME_THREADS): Undefine macro.
8421 (_XOPEN_SHM): Undefine macro.
8422 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8424 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8426 (_POSIX_ASYNC_IO): Undefine macro.
8427 (_POSIX_PRIORITIZED_IO): Undefine macro.
8428 (_POSIX_SPIN_LOCKS): Define macro to -1.
8430 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8431 SA_NODEFER, SA_RESETHAND.
8432 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8433 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8438 * elf/Makefile (pldd-modules): Define unconditionally.
8440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8442 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8446 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8447 Return ENOENT when name is empty.
8448 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8452 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8454 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8458 Fix mlock in all cases except non-readable pages.
8459 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8460 instead of VM_PROT_ALL as parameter to __vm_wire function.
8462 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8463 (__mkdir): When path is `/', just fail with EEXIST.
8464 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8468 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8469 <sys/uio.h> (for writev).
8470 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8471 and <sys/param.h> (for MIN).
8473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8475 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8476 REQUESTED_TIME. Properly set the remaining time and return EINTR
8479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8481 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8482 Depend on against $(link-rpcuserlibs).
8484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8486 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8487 (__libc_stack_end): Do not use attribute_relro.
8488 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8489 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8490 to libthread-provided value.
8491 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8494 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8497 * bits/libc-lock.h (__libc_once_get): New macro.
8498 * sysdeps/mach/bits/libc-lock.h: Likewise.
8499 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8501 instead of using implementation details.
8503 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8504 * libio/freopen.c: Likewise.
8505 * libio/freopen64.c: Likewise.
8506 * misc/syslog.c: Likewise.
8507 * nscd/connections.c: Likewise.
8508 * nscd/netgroupcache.c: Likewise.
8509 * sysdeps/posix/getcwd.c: Likewise.
8511 2012-05-10 Roland McGrath <roland@hack.frob.com>
8513 * math/w_ilogbf.c: Add #include <limits.h>.
8515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8517 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8518 path instead of returning without unlocking.
8520 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8521 immediate-write ioctls.
8522 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8526 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8527 __builtin_frame_address instead of making assumptions about the
8528 location of the return address relative to DATA. Force early load of
8530 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8531 __builtin_frame_address.
8534 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8535 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8536 implement dup3 and do some further code clean-ups.
8537 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8538 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8542 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8544 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8545 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8546 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8547 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8548 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8551 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8552 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8553 when handler == SIG_ERR, not when handler != SIG_ERR.
8555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8557 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8558 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8561 accept4 for GNU Hurd.
8562 * include/sys/socket.h (__libc_accept4): New prototype.
8563 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8564 to implement __libc_accept4.
8565 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8569 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8570 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8571 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8576 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8580 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8581 assertion on O_CLOEXEC flag.
8582 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8583 * hurd/intern-fd.c: Likewise.
8584 * hurd/port2fd.c: Likewise.
8586 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8589 * bits/in.h (IPV6_PKTINFO): Define new macro.
8590 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8592 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8597 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8599 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8600 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8602 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8603 * math/libm-test.inc (logb_test) : Additional logb tests.
8605 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8606 Andreas Jaeger <aj@suse.de>
8608 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8609 * configure: Regenerated.
8610 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8611 * config.make.in (link-obsolete-rpc): New substituted variable.
8612 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8613 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8614 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8615 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8616 so that libc.a contains the symbols.
8617 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8618 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8619 * sunrpc/auth_none.c: Likewise.
8620 * sunrpc/auth_unix.c: Likewise.
8621 * sunrpc/authdes_prot.c: Likewise.
8622 * sunrpc/authuxprot.c: Likewise.
8623 * sunrpc/clnt_gen.c: Likewise.
8624 * sunrpc/clnt_perr.c: Likewise.
8625 * sunrpc/clnt_raw.c: Likewise.
8626 * sunrpc/clnt_simp.c: Likewise.
8627 * sunrpc/clnt_tcp.c: Likewise.
8628 * sunrpc/clnt_udp.c: Likewise.
8629 * sunrpc/clnt_unix.c: Likewise.
8630 * sunrpc/des_crypt.c: Likewise.
8631 * sunrpc/des_soft.c: Likewise.
8632 * sunrpc/get_myaddr.c: Likewise.
8633 * sunrpc/key_call.c: Likewise.
8634 * sunrpc/key_prot.c: Likewise.
8635 * sunrpc/netname.c: Likewise.
8636 * sunrpc/pm_getmaps.c: Likewise.
8637 * sunrpc/pm_getport.c: Likewise.
8638 * sunrpc/pmap_clnt.c: Likewise.
8639 * sunrpc/pmap_prot.c: Likewise.
8640 * sunrpc/pmap_prot2.c: Likewise.
8641 * sunrpc/pmap_rmt.c: Likewise.
8642 * sunrpc/publickey.c: Likewise.
8643 * sunrpc/rpc_cmsg.c: Likewise.
8644 * sunrpc/rpc_common.c: Likewise.
8645 * sunrpc/rpc_dtable.c: Likewise.
8646 * sunrpc/rpc_prot.c: Likewise.
8647 * sunrpc/rpc_thread.c: Likewise.
8648 * sunrpc/rtime.c: Likewise.
8649 * sunrpc/svc.c: Likewise.
8650 * sunrpc/svc_auth.c: Likewise.
8651 * sunrpc/svc_raw.c: Likewise.
8652 * sunrpc/svc_run.c: Likewise.
8653 * sunrpc/svc_tcp.c: Likewise.
8654 * sunrpc/svc_udp.c: Likewise.
8655 * sunrpc/svc_unix.c: Likewise.
8656 * sunrpc/svcauth_des.c: Likewise.
8657 * sunrpc/xcrypt.c: Likewise.
8658 * sunrpc/xdr.c: Likewise.
8659 * sunrpc/xdr_array.c: Likewise.
8660 * sunrpc/xdr_float.c: Likewise.
8661 * sunrpc/xdr_intXX_t.c: Likewise.
8662 * sunrpc/xdr_mem.c: Likewise.
8663 * sunrpc/xdr_rec.c: Likewise.
8664 * sunrpc/xdr_ref.c: Likewise.
8665 * sunrpc/xdr_sizeof.c: Likewise.
8666 * sunrpc/xdr_stdio.c: Likewise.
8668 2012-05-10 Roland McGrath <roland@hack.frob.com>
8670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8671 change. Update copyright years.
8673 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8675 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8677 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8678 Joseph Myers <joseph@codesourcery.com>
8679 Paul Pluzhnikov <ppluzhnikov@google.com>
8682 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8684 [cross-compiling] (extra-libs): Likewise.
8685 [cross-compiling] (extra-libs-others): Likewise.
8686 [cross-compiling] (librpcsvc-routines): Likewise.
8687 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8688 [cross-compiling] (omit-deps): Likewise.
8689 (sunrpc-CPPFLAGS): New variable.
8690 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8691 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8692 (cross-rpcgen-objs): New variable.
8693 (extra-objs): Append $(cross-rpcgen-objs).
8694 ($(cross-rpcgen-objs)): New rule.
8695 ($(objpfx)cross-rpcgen): Likewise.
8696 (rpcgen-cmd): Define to use $(built-program-file). Expand
8698 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8699 ($(objpfx)x%.stmp): Likewise.
8700 * sunrpc/proto.h [IS_IN_build] (_): Define.
8701 [IS_IN_build] (_libc_intl_domainname): Likewise.
8703 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8706 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8707 and R_X86_64_TPOFF64.
8709 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8711 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8712 sysdeps/unix/sysv/syscalls.list.
8715 * sysdeps/unix/sysv/syscalls.list: Remove file.
8717 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8720 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8721 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8722 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8723 (__LC_IDENTIFICATION): Make these macros useful in #if
8724 expressions, as required by C99.
8726 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8728 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8729 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8732 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8734 * stdlib/longlong.h: Updated from GCC.
8736 2012-05-09 Andreas Jaeger <aj@suse.de>
8738 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8739 default is first entry.
8740 (run_mode): Set type.
8741 (main): Remove informal message about syslog.
8742 (options): Fix typo.
8745 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8748 (llrintf): Likewise.
8752 (nearbyint): Likewise.
8753 (nearbyintf): Likewise.
8755 2012-05-09 Andreas Jaeger <aj@suse.de>
8756 Pedro Alves <palves@redhat.com>
8758 * nscd/nscd.c (run_mode): Use enum.
8759 (main): Cleanup coding style issue.
8761 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8762 Andreas Jaeger <aj@suse.de>
8764 * nscd/nscd.c (go_background): Replaced with...
8765 (run_mode): ... this.
8766 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8767 (options): Add -F --foreground.
8768 (main): Implement it.
8769 (parse_opt): Parse it.
8771 2012-05-09 Andreas Jaeger <aj@suse.de>
8774 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8775 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8776 -Wconversion warning.
8777 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8780 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8782 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8784 (LC_ALL): Use macro-int-constant.
8785 (LC_COLLATE): Likewise.
8786 (LC_CTYPE): Likewise.
8787 (LC_MESSAGES): Likewise.
8788 (LC_MONETARY): Likewise.
8789 (LC_NUMERIC): Likewise.
8790 (LC_TIME): Likewise.
8791 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8792 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8794 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8796 [C99-based standards] (float_t): Expect type.
8797 [C99-based standards] (double_t): Expect type.
8798 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8800 [C99-based standards] (HUGE_VALL): Likewise.
8801 [C99-based standards] (INFINITY): Likewise.
8802 [C99-based standards] (NAN): Likewise.
8803 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8804 [C99-based standards] (FP_NAN): Likewise.
8805 [C99-based standards] (FP_NORMAL): Likewise.
8806 [C99-based standards] (FP_SUBNORMAL): Likewise.
8807 [C99-based standards] (FP_ZERO): Likewise.
8808 [C99-based standards] (FP_FAST_FMA): Use
8809 optional-macro-int-constant. Specify type. Require == 1.
8810 [C99-based standards] (FP_FAST_FMAF): Likewise.
8811 [C99-based standards] (FP_FAST_FMAL): Likewise.
8812 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8813 [C99-based standards] (FP_ILOGBNAN): Likewise.
8814 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8816 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8817 [C99-based standards] (math_errhandling): Specify type.
8818 [ISO99 || ISO11] (signgam): Do not allow.
8819 [non-C99-based standards] (copysignf): Do not allow.
8820 [non-C99-based standards] (exp2f): Likewise.
8821 [non-C99-based standards] (log2f): Likewise.
8822 [non-C99-based standards] (modff): Allow.
8823 [non-C99-based standards] (erff): Do not allow.
8824 [non-C99-based standards] (erfcf): Likewise.
8825 [non-C99-based standards] (gammaf): Likewise.
8826 [non-C99-based standards] (hypotf): Likewise.
8827 [non-C99-based standards] (j0f): Likewise.
8828 [non-C99-based standards] (j1f): Likewise.
8829 [non-C99-based standards] (jnf): Likewise.
8830 [non-C99-based standards] (lgammaf): Likewise.
8831 [non-C99-based standards] (tgammaf): Likewise.
8832 [non-C99-based standards] (y0f): Likewise.
8833 [non-C99-based standards] (y1f): Likewise.
8834 [non-C99-based standards] (ynf): Likewise.
8835 [non-C99-based standards] (isnanf): Likewise.
8836 [non-C99-based standards] (acoshf): Likewise.
8837 [non-C99-based standards] (asinhf): Likewise.
8838 [non-C99-based standards] (atanhf): Likewise.
8839 [non-C99-based standards] (cbrtf): Likewise.
8840 [non-C99-based standards] (expm1f): Likewise.
8841 [non-C99-based standards] (ilogbf): Likewise.
8842 [non-C99-based standards] (log1pf): Likewise.
8843 [non-C99-based standards] (logbf): Likewise.
8844 [non-C99-based standards] (nextafterf): Likewise.
8845 [non-C99-based standards] (remainderf): Likewise.
8846 [non-C99-based standards] (rintf): Likewise.
8847 [non-C99-based standards] (scalbf): Likewise.
8848 [non-C99-based standards] (copysignl): Likewise.
8849 [non-C99-based standards] (exp2l): Likewise.
8850 [non-C99-based standards] (log2l): Likewise.
8851 [non-C99-based standards] (modfl): Allow.
8852 [non-C99-based standards] (erfl): Do not allow.
8853 [non-C99-based standards] (erfcl): Likewise.
8854 [non-C99-based standards] (gammal): Likewise.
8855 [non-C99-based standards] (hypotl): Likewise.
8856 [non-C99-based standards] (j0l): Likewise.
8857 [non-C99-based standards] (j1l): Likewise.
8858 [non-C99-based standards] (jnl): Likewise.
8859 [non-C99-based standards] (lgammal): Likewise.
8860 [non-C99-based standards] (tgammal): Likewise.
8861 [non-C99-based standards] (y0l): Likewise.
8862 [non-C99-based standards] (y1l): Likewise.
8863 [non-C99-based standards] (ynl): Likewise.
8864 [non-C99-based standards] (isnanl): Likewise.
8865 [non-C99-based standards] (acoshl): Likewise.
8866 [non-C99-based standards] (asinhl): Likewise.
8867 [non-C99-based standards] (atanhl): Likewise.
8868 [non-C99-based standards] (cbrtl): Likewise.
8869 [non-C99-based standards] (expm1l): Likewise.
8870 [non-C99-based standards] (ilogbl): Likewise.
8871 [non-C99-based standards] (log1pl): Likewise.
8872 [non-C99-based standards] (logbl): Likewise.
8873 [non-C99-based standards] (nextafterl): Likewise.
8874 [non-C99-based standards] (remainderl): Likewise.
8875 [non-C99-based standards] (rintl): Likewise.
8876 [non-C99-based standards] (scalbl): Likewise.
8877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8878 [non-C99-based standards] (FP_*): Do not allow.
8879 [C99-based standards] (FP_*): Change to
8880 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8881 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8883 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8884 (SIG_ERR): Likewise.
8885 [X/Open-based standards] (SIG_HOLD): Likewise.
8886 (SIG_IGN): Likewise.
8887 (SIGABRT): Use macro-int-constant. Specify type. Require
8892 (SIGSEGV): Likewise.
8894 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8895 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8896 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8897 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8898 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8899 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8900 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8901 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8902 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8903 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8904 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8905 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8906 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8907 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8908 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8909 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8910 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8911 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8912 [X/Open-based standards] (SIGTRAP): Likewise.
8913 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8914 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8915 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8916 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8917 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8920 2012-05-08 Ian Wienand <ianw@vmware.com>
8923 * time/tzset.c (__tzset_parse_tz): Update default rules for
8924 daylight time changes in the Energy Policy Act of 2005.
8926 2012-05-09 Andreas Jaeger <aj@suse.de>
8929 * elf/ldconfig.c (parse_conf): Change string to make clear that
8930 ldconfig only issued a warning if ld.so.conf does not exist.
8932 2012-05-08 David S. Miller <davem@davemloft.net>
8934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8935 movxtod instead of popping the value on the stack.
8937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8939 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8941 * config.h.in: Add HAVE_ARM_PCS_VFP.
8943 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
8946 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8947 checking but the checks are disabled for any reason.
8949 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8951 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8952 and ELF64_R_TYPE with ELFW(R_TYPE).
8954 2012-05-08 Joseph Myers <joseph@codesourcery.com>
8956 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8959 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8960 (settimeofday): Likewise.
8962 2012-05-08 Mike Frysinger <vapier@gentoo.org>
8964 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8965 a struct th_u2 inside the union, and move tu_block/tu_code into
8966 a new th_u3 union of tu_block/tu_code inside of that. Move
8967 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8968 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8969 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8970 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8971 (th_stuff): Change to th_u1.tu_stuff.
8973 (th_msg): Change to th_u1.th_u2.tu_data.
8975 2012-05-07 David S. Miller <davem@davemloft.net>
8977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8980 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8981 (SETUP_PIC_REG): Use it.
8982 (SETUP_PIC_REG_LEAF): Use it.
8984 2012-05-07 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8990 (EXPL_FINITE): Likewise.
8992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8993 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8997 (EXPL_FINITE): Likewise.
8999 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9000 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9002 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9003 test of -max_value argument for long double.
9004 * sysdeps/i386/fpu/libm-test-ulps: Update.
9005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9007 2012-05-06 David S. Miller <davem@davemloft.net>
9009 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9010 quad soft-float symbols whose references which are compiler
9012 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9014 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9018 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9020 (EXPL_FINITE): Likewise.
9024 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9025 Adjust comments for base varying.
9026 (__expl_finite): Change alias to EXPL_FINITE.
9027 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9029 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9030 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9032 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9033 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9035 (EXPL_FINITE): Likewise.
9039 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9040 Adjust comments for base varying.
9041 (__expl_finite): Change alias to EXPL_FINITE.
9042 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9047 * math/libm-test.inc (check_float_internal): Correct ulp
9048 calculation for subnormal expected results.
9050 2012-05-06 Andreas Jaeger <aj@suse.de>
9052 * Makeconfig (+math-flags): New, set to -frounding-math.
9053 (+cflags): Add +math-flags so that all of glibc gets compiled with
9056 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9058 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9060 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9066 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9067 (__ieee754_expl): Allow for and saturate large arguments.
9068 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9069 (u_threshold): Likewise.
9070 (__exp): Call __ieee754_exp before checking for overflow and
9072 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9073 (u_threshold): Likewise.
9074 (__expf): Call __ieee754_expf before checking for overflow and
9076 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9077 (u_threshold): Likewise.
9078 (__expl): Call __ieee754_expl before checking for overflow and
9080 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9081 (__ieee754_expl): Allow for and saturate large arguments.
9082 * math/libm-test.inc (exp_test): Add another test. Do not allow
9083 missing overflow exception on overflow.
9084 (expm1_test): Do not allow missing overflow exception on overflow.
9086 * sysdeps/i386/fpu/e_expl.c: Move to ...
9087 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9088 rather than using inline asm.
9089 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9090 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9091 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9093 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9100 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9102 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9103 sysdeps/unix/common/syscalls.list.
9106 (ftruncate): Likewise.
9107 (getrusage): Likewise.
9108 (gettimeofday): Likewise.
9109 (setpgid): Likewise.
9110 (setregid): Likewise.
9111 (setreuid): Likewise.
9112 (sigaction): Likewise.
9113 (truncate): Likewise.
9114 (vhangup): Likewise.
9115 * sysdeps/unix/common/syscalls.list: Remove file.
9116 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9117 * sysdeps/unix/sysv/linux/Implies: Likewise.
9119 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9121 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9123 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9127 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9130 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9133 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9136 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9139 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9142 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9145 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9149 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9153 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9156 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9160 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9164 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9166 * sysdeps/unix/common/bits/dirent.h: Remove file.
9167 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9169 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9170 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9171 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9172 * sysdeps/unix/bsd/isatty.c: Likewise.
9173 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9174 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9175 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9177 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9181 long double comparison inaccuracies.
9182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9185 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9187 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9190 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9194 nonzero digits before rounding a hex value.
9195 * stdlib/tst-strtod.c (tests): Add another test.
9197 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9199 * sysdeps/s390/fpu/libm-test-ulps: Update.
9201 2012-05-03 Andreas Jaeger <aj@suse.de>
9203 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9204 does not get optimized out.
9205 (malloc_opt_barrier): New.
9207 2012-05-03 Andreas Jaeger <aj@suse.de>
9208 Roland McGrath <roland@hack.frob.com>
9210 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9211 intermediate file deletion.
9212 (generated): Add .symlist files.
9214 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9217 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9218 Redirect under this condition.
9219 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9220 [__USE_GNU] (__dprintf_chk): Not under this condition.
9221 [__USE_GNU] (__vdprintf_chk): Likewise.
9222 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9223 under this condition.
9224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9225 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9226 [__USE_XOPEN2K8] (vdprintf): Likewise.
9227 [__USE_GNU] (__dprintf_chk): Not under this condition.
9228 [__USE_GNU] (__vdprintf_chk): Likewise.
9229 [__USE_GNU] (dprintf): Likewise.
9230 [__USE_GNU] (vdprintf): Likewise.
9232 2012-05-03 Roland McGrath <roland@hack.frob.com>
9234 * elf/Makefile (common-generated): Set this instead of generated for
9235 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9236 $(all-built-dso)-derived lists.
9238 2012-05-03 Andreas Jaeger <aj@suse.de>
9240 * sysdeps/i386/fpu/libm-test-ulps: Update.
9244 * scripts/gen-FAQ.pl: Likewise.
9245 * manual/install.texi (Installation): Point to online location of
9247 * Makefile (files-for-dist): Remove FAQ.
9250 2012-05-02 Allan McRae <allan@archlinux.org>
9252 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9253 (LDFLAGS-reldepmod5.so): Likewise.
9254 (LDFLAGS-reldep6mod1.so): Likewise.
9255 (LDFLAGS-reldep6mod4.so): Likewise.
9256 (LDFLAGS-reldep8mod3.so): Likewise.
9257 (LDFLAGS-unload4mod1.so): Likewise.
9258 (LDFLAGS-unload4mod2.so): Likewise.
9259 (LDFLAGS-tst-initorder): Likewise.
9260 (LDFLAGS-tst-initordera2.so): Likewise.
9261 (LDFLAGS-tst-initordera3.so): Likewise.
9262 (LDFLAGS-tst-initordera4.so): Likewise.
9263 (LDFLAGS-tst-initorderb2.so): Likewise.
9264 (LDFLAGS-noload): Likewise.
9265 (LDFLAGS-next): Likewise.
9266 (LDFLAGS-order2mod1.so): Likewise.
9267 (LDFLAGS-order2mod2.so): Likewise.
9268 (LDFLAGS-tst-initorder2): Likewise.
9269 (LDFLAGS-tst-initorder2a.so): Likewise.
9270 (LDFLAGS-tst-initorder2b.so): Likewise.
9271 (LDFLAGS-tst-initorder2c.so): Likewise.
9272 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9274 2012-05-02 David S. Miller <davem@davemloft.net>
9276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9278 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9281 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9283 2012-05-02 Andreas Jaeger <aj@suse.de>
9285 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9286 since we manipulate rounding mode.
9287 (CPPFLAGS-test-idouble.c): Likewise.
9288 (CPPFLAGS-test-ifloat.c): Likewise.
9289 (CFLAGS-test-ldouble.c): Likewise.
9290 (CFLAGS-test-double.c): Likewise.
9291 (CFLAGS-test-float.c): Likewise.
9292 (CFLAGS-test-misc.c): Likewise.
9293 (CFLAGS-test-test-fenv.c): Likewise.
9295 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9300 comparisons to determine direction to adjust input.
9302 2012-05-01 Roland McGrath <roland@hack.frob.com>
9304 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9305 output to the target.
9307 * scripts/localplt.awk: New file.
9308 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9309 (check-localplt-CFLAGS): Variable removed.
9310 ($(all-built-dso:=.jmprel)): New static pattern rule.
9311 (generated): Add those targets.
9312 (localplt-built-dso): New variable.
9313 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9315 * elf/check-localplt.c: File removed.
9317 * scripts/check-execstack.awk: New file.
9318 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9319 (check-execstack-CFLAGS): Variable removed.
9320 ($(objpfx)check-execstack.h): Target removed.
9321 ($(objpfx)execstack-default): New target.
9322 (generated): Add that instead of check-execstack.h.
9323 ($(all-built-dso:=.phdr)): New static pattern rule.
9324 (generated): Add those targets.
9325 * elf/check-execstack.c: File removed.
9327 * scripts/check-textrel.awk: New file.
9328 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9329 (check-textrel-CFLAGS): Variable removed.
9330 (all-built-dso): Use := to define.o
9331 ($(all-built-dso:=.dyn)): New static pattern rule.
9332 (generated): Add those targets.
9333 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9334 * config.make.in (READELF): New substituted variable.
9335 * elf/check-textrel.c: File removed.
9337 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9339 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9341 * conform/data/ctype.h-data [C99-based standards] (isblank):
9343 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9344 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9346 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9347 Specify type. Require positive value.
9350 [ISO || POSIX] (EILSEQ): Do not expect.
9351 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9352 Specify type. Require positive value.
9353 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9354 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9355 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9356 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9357 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9358 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9359 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9360 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9361 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9362 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9363 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9364 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9365 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9366 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9367 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9368 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9369 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9370 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9371 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9372 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9373 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9374 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9375 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9376 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9377 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9378 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9379 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9380 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9381 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9382 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9383 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9384 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9385 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9386 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9387 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9388 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9389 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9390 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9391 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9392 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9393 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9394 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9395 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9396 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9397 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9398 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9399 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9400 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9401 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9402 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9403 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9404 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9405 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9406 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9407 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9408 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9409 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9410 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9411 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9412 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9413 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9414 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9415 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9416 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9417 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9418 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9419 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9420 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9421 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9422 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9423 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9424 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9425 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9426 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9427 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9428 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9429 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9431 (FLT_ROUNDS): Expect as macro, not constant.
9432 (FLT_MANT_DIG): Use macro-int-constant.
9433 (DBL_MANT_DIG): Likewise.
9434 (LDBL_MANT_DIG): Likewise.
9435 (FLT_DIG): Likewise.
9436 (DBL_DIG): Likewise.
9437 (LDBL_DIG): Likewise.
9438 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9439 (DBL_MIN_EXP): Likewise.
9440 (LDBL_MIN_EXP): Likewise.
9441 (FLT_MAX_EXP): Use macro-int-constant.
9442 (DBL_MAX_EXP): Likewise.
9443 (LDBL_MAX_EXP): Likewise.
9444 (FLT_MAX_10_EXP): Likewise.
9445 (DBL_MAX_10_EXP): Likewise.
9446 (LDBL_MAX_10_EXP): Likewise.
9447 (FLT_MAX): Use macro-constant.
9448 (DBL_MAX): Likewise.
9449 (LDBL_MAX): Likewise.
9450 (FLT_EPSILON): Use macro-constant. Give upper bound.
9451 (DBL_EPSILON): Likewise.
9452 (LDBL_EPSILON): Likewise.
9453 (FLT_MIN): Likewise.
9454 (DBL_MIN): Likewise.
9455 (LDBL_MIN): Likewise.
9456 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9457 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9458 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9459 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9460 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9461 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9462 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9463 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9464 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9465 [ISO11] (FLT_TRUE_MIN): Likewise.
9466 [ISO11] (LDBL_TRUE_MIN): Likewise.
9467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9468 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9469 (SCHAR_MIN): Use macro-int-constant. Specify type.
9470 (SCHAR_MAX): Likewise.
9471 (UCHAR_MAX): Likewise.
9472 (CHAR_MIN): Likewise.
9473 (CHAR_MAX): Likewise.
9474 (MB_LEN_MAX): Use macro-int-constant.
9475 (SHRT_MIN): Use macro-int-constant. Specify type.
9476 (SHRT_MAX): Likewise.
9477 (USHRT_MAX): Likewise.
9478 (INT_MAX): Likewise.
9479 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9481 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9483 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9485 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9486 bound negative. Suffix upper bound with "L".
9487 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9489 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9491 [C99-based standards] (LLONG_MAX): Likewise.
9492 [C99-based standards] (ULLONG_MAX): Likewise.
9493 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9495 [ISO11] (max_align_t): Require type.
9496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9498 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9499 from $CFLAGS, without defining away __attribute__ calls.
9500 (checknamespace): Use $CFLAGS_namespace.
9502 * conform/conformtest.pl (@keywords): Only include C99 keywords
9503 for standards based on C99 or C11.
9505 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9507 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9510 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9511 usability of symbols in #if.
9513 * conform/conformtest.pl: If macro or constant types start
9514 "promoted:", expect the symbol to be of the following type
9515 promoted by the integer promotions.
9517 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9518 in one place. Also handle "macro-constant".
9520 * conform/conformtest.pl: Only accept expected macro values with
9521 "==". Parse all "macro" lines in one place.
9522 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9524 * conform/conformtest.pl: Handle braced types on "constant" lines
9525 instead of handling "typed-constant".
9526 * conform/data/signal.h-data: Use "constant" instead of
9529 * conform/conformtest.pl: Handle "optional-" at start of lines in
9530 one place rather than duplicating several cases. Handle each
9531 format of "macro" line with initial "optional-".
9533 * conform/conformtest.pl: Only accept expected constant or
9534 optional-constant values with "==". Parse all "constant" lines in
9535 one place. Parse all "optional-constant" lines in one place.
9536 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9537 * conform/data/fmtmsg.h-data: Likewise.
9538 * conform/data/netinet/in.h-data: Likewise.
9539 * conform/data/tar.h-data: Likewise.
9540 * conform/data/limits.h-data: Use "==" form on "constant" and
9541 "optional-constant" lines.
9543 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9544 Use -std=c99 for XOPEN2K.
9545 (@knownproblems): Remove.
9546 (newtoken): Don't check %isknown.
9548 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9549 Do not expect macro.
9550 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9551 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9552 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9553 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9554 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9555 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9556 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9557 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9558 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9559 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9560 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9561 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9562 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9563 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9564 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9565 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9566 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9567 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9568 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9569 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9570 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9571 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9572 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9573 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9574 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9575 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9576 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9577 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9578 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9579 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9580 [XPG3] (acosh): Likewise.
9581 [XPG3] (asinh): Likewise.
9582 [XPG3] (atanh): Likewise.
9583 [XPG3] (cbrt): Likewise.
9584 [XPG3] (expm1): Likewise.
9585 [XPG3] (ilogb): Likewise.
9586 [XPG3] (log1p): Likewise.
9587 [XPG3] (logb): Likewise.
9588 [XPG3] (nextafter): Likewise.
9589 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9590 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9591 [XPG3] (remainder): Likewise.
9592 [XPG3] (rint): Likewise.
9593 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9594 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9595 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9596 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9597 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9598 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9599 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9600 [UNIX98 || XOPEN2K] (scalb): Expect.
9601 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9602 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9603 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9604 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9605 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9606 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9607 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9608 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9609 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9610 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9611 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9612 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9613 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9614 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9615 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9616 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9617 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9618 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9619 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9620 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9621 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9622 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9623 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9624 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9625 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9626 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9627 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9628 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9629 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9630 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9631 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9632 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9633 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9634 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9635 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9636 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9637 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9638 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9639 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9640 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9641 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9642 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9643 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9644 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9645 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9646 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9647 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9648 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9649 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9650 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9651 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9652 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9653 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9654 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9655 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9656 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9657 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9658 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9659 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9660 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9661 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9662 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9663 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9664 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9665 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9666 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9667 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9668 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9669 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9670 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9671 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9672 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9673 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9674 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9675 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9676 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9677 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9678 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9679 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9680 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9681 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9682 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9683 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9684 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9685 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9686 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9687 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9688 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9689 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9690 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9691 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9692 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9693 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9694 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9695 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9696 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9697 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9698 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9699 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9700 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9701 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9702 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9703 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9704 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9705 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9706 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9707 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9708 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9709 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9710 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9711 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9712 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9713 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9714 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9715 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9716 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9717 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9718 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9719 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9720 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9721 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9722 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9723 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9724 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9725 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9726 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9727 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9728 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9729 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9730 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9731 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9732 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9733 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9734 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9735 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9736 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9737 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9739 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9740 _XOPEN_SOURCE_EXTENDED for XPG4.
9742 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9744 * Makeconfig (localtime): Remove variable.
9745 (inst_localtime-file): Likewise.
9747 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9768 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9772 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9773 comparisons to determine direction to adjust input.
9774 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9775 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9780 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9785 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9787 * math/libm-test.inc (nexttoward_test): Add more tests.
9789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9793 in version GLIBC_2.1, not GLIBC_2.0.
9794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9797 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9800 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9802 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9803 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9804 * math/libm-test.inc (acos_test): Add more tests.
9805 (asin_test): Likewise.
9806 * sysdeps/i386/fpu/libm-test-ulps: Update.
9807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9810 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9812 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9813 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9814 * math/libm-test.inc (acos_test_tonearest): New function.
9815 (acos_test_towardzero): Likewise.
9816 (acos_test_downward): Likewise.
9817 (acos_test_upward): Likewise.
9818 (asin_test_tonearest): Likewise.
9819 (asin_test_towardzero): Likewise.
9820 (asin_test_downward): Likewise.
9821 (asin_test_upward): Likewise.
9822 (main): Call the new functions.
9823 * sysdeps/i386/fpu/libm-test-ulps: Update.
9824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9828 * math/e_exp10.c: Include <float.h>.
9829 (__ieee754_exp10): Handle underflow here rather than multiplying
9830 large negative argument by M_LN10.
9831 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9833 * math/e_exp10l.c: Include <float.h>.
9834 (__ieee754_exp10l): Handle underflow here rather than multiplying
9835 large negative argument by M_LN10l.
9836 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9837 spurious overflow exception on underflow.
9839 2012-04-29 Marek Polacek <polacek@redhat.com>
9841 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9842 (__fortify_function): New macro.
9843 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9844 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9845 __extern_always_inline.
9846 * libio/bits/stdio2.h: Likewise.
9847 * libio/bits/stdio.h: Likewise.
9848 * string/string.h: Likewise.
9849 * string/bits/string3.h: Likewise.
9850 * include/stdio.h: Likewise.
9851 * stdlib/bits/stdlib.h: Likewise.
9852 * stdlib/stdlib.h: Likewise.
9853 * rt/bits/mqueue2.h: Likewise.
9854 * rt/mqueue.h: Likewise.
9855 * posix/bits/unistd.h: Likewise.
9856 * posix/unistd.h: Likewise.
9857 * io/bits/poll2.h: Likewise.
9858 * io/bits/fcntl2.h: Likewise.
9859 * io/fcntl.h: Likewise.
9860 * io/sys/poll.h: Likewise.
9861 * misc/bits/syslog.h: Likewise.
9862 * misc/bits/syslog-ldbl.h: Likewise.
9863 * misc/sys/syslog.h: Likewise.
9864 * socket/bits/socket2.h: Likewise.
9865 * socket/sys/socket.h: Likewise.
9866 * debug/tst-chk1.c: Likewise.
9867 * wcsmbs/bits/wchar2.h: Likewise.
9868 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9869 * wcsmbs/wchar.h: Likewise.
9871 2012-04-29 Andreas Jaeger <aj@suse.de>
9873 * Makerules (tests): Remove enable-check-abi protection.
9874 (check-abi-warn): Remove.
9875 (check-abi-%): Remove check-abi-warn usage.
9877 * configure.in: Remove check-abi configure option.
9878 * configure: Regenerated.
9879 * config.make.in (enable-check-abi): Remove.
9881 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9884 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9885 double functions to double *_finite functions.
9888 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9889 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9891 * stdio-common/Makefile (tests): Add tst-sprintf3.
9892 * stdio-common/tst-sprintf3.c: New file.
9894 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9895 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9897 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9899 * conform/conformtest.pl: Remove duplicate typed-constant
9902 2012-04-28 David S. Miller <davem@davemloft.net>
9904 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9905 (check-abi-%): Remove AWK script prerequisite and explicit
9907 (check-abi): Rewrite to just diff the symlist with the abilist.
9908 (config-tls, config-abi-config): Delete, no longer used.
9909 (update-abi-%): Remove AWK script and explicit abilist directory.
9910 (update-abi): Rewrite to simply compare and conditionally copy the
9911 symlist and the sysdep abilist file. Remove update-abi-config
9913 * abilist/ld.abilist: Remove.
9914 * abilist/libBrokenLocale.abilist: Remove.
9915 * abilist/libanl.abilist: Remove.
9916 * abilist/libcrypt.abilist: Remove.
9917 * abilist/libdl.abilist: Remove.
9918 * abilist/librt.abilist: Remove.
9919 * abilist/libthread_db.abilist: Remove.
9920 * abilist/libutil.abilist: Remove.
9921 * scripts/extract-abilist.awk: Remove.
9922 * scripts/merge-abilist.awk: Remove.
9923 * sysdeps/generic/libcidn.abilist: New file.
9924 * sysdeps/generic/libnss_compat.abilist: New file.
9925 * sysdeps/generic/libnss_db.abilist: New file.
9926 * sysdeps/generic/libnss_dns.abilist: New file.
9927 * sysdeps/generic/libnss_files.abilist: New file.
9928 * sysdeps/generic/libnss_hesiod.abilist: New file.
9929 * sysdeps/generic/libnss_nis.abilist: New file.
9930 * sysdeps/generic/libnss_nisplus.abilist: New file.
9931 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9932 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9933 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9936 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9937 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9938 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9939 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9940 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9941 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9942 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9943 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9945 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9946 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9947 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9948 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9950 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9951 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9952 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9953 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9954 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9955 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9957 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9958 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9959 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9961 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10065 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10066 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10069 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10070 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10071 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10072 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10073 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10074 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10075 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10076 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10077 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10129 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10131 * conform/conformtest.pl: Fix typo in handling typed-constant from
10134 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10136 * README: Cut down references to pre-2.6 Linux kernels and
10137 Linuxthreads. Update lists of configurations in libc and ports
10138 and sort alphabetically. Say "or newer" with Linux kernel version
10141 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10143 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10146 * math/libm-test.inc (logb_test_downward): New test to expose
10147 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10150 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10153 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10155 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10156 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10158 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10160 * sysdeps/unix/i386/brk.S: Remove file.
10161 * sysdeps/unix/i386/dl-brk.S: Likewise.
10162 * sysdeps/unix/i386/pipe.S: Likewise.
10163 * sysdeps/unix/i386/sigreturn.S: Likewise.
10164 * sysdeps/unix/i386/syscall.S: Likewise.
10165 * sysdeps/unix/i386/vfork.S: Likewise.
10166 * sysdeps/unix/i386/wait.S: Likewise.
10168 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10169 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10171 * configure.in (arm*-none*): Do not allow without
10172 --enable-hacker-mode.
10173 (netbsd*): Remove case setting base_os.
10174 (386bsd*): Likewise.
10175 (freebsd*): Likewise.
10178 (sunos*): Likewise.
10179 (ultrix*): Likewise.
10180 (newsos*): Likewise.
10181 (dynix*): Likewise.
10187 (minix*): Likewise.
10188 (irix4*): Likewise.
10189 (irix6*): Likewise.
10190 (solaris[2-9]*): Likewise.
10192 * configure: Regenerated.
10194 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10198 overflow or cancellation in calculating denominator.
10199 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10201 down expression to avoid unexpected rounding in newer GCCs.
10202 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10204 2012-04-26 David S. Miller <davem@davemloft.net>
10206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10207 long-double compat symbols.
10208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10222 2012-04-25 David S. Miller <davem@davemloft.net>
10224 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10225 HWCAP_* values only after the memory barriers have been defined.
10226 (atomic_full_barrier): Define.
10227 (atomic_read_barrier): Define.
10228 (atomic_write_barrier): Define.
10230 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10232 * shlib-versions: Add libgcc_s version information.
10233 * sysdeps/generic/libgcc_s.h: Remove.
10234 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10236 * sysdeps/gnu/unwind-resume.c: Likewise.
10237 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10239 2012-04-25 David S. Miller <davem@davemloft.net>
10241 * sysdeps/unix/sparc/brk.S: Delete.
10242 * sysdeps/unix/sparc/dl-brk.S: Delete.
10243 * sysdeps/unix/sparc/pipe.S: Delete.
10244 * sysdeps/unix/sparc/sysdep.S: Delete.
10245 * sysdeps/unix/sparc/sysdep.h: Delete.
10246 * sysdeps/unix/sparc/vfork.S: Delete.
10247 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10248 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10250 ret_ERRVAL, r0, r1, MOVE): Define.
10251 (JUMPTARGET): Remove.
10252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10253 sysdeps/unix/sparc/sysdep.h
10254 (ENTRY, END): Remove.
10255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10257 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10259 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10260 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10263 * timezone/README: Update upstream location and email address for
10265 * timezone/zdump.c: Update from tzcode 2012b.
10266 * timezone/zic.c: Likewise.
10268 * configure.in (libc_cv_as_needed): Remove test.
10269 * configure: Regenerated.
10270 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10271 conditional definition.
10272 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10273 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10274 * config.make.in (have-as-needed): Remove variable.
10276 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10277 Paul Pluzhnikov <ppluzhnikov@google.com>
10279 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10282 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10284 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10285 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10286 * sysdeps/sh/strlen.S: Likewise.
10288 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10290 * sysdeps/unix/fork.S: Remove file.
10291 * sysdeps/unix/i386/fork.S: Likewise.
10292 * sysdeps/unix/sparc/fork.S: Likewise.
10294 * sysdeps/unix/system.c: Remove file.
10295 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10297 * sysdeps/unix/getegid.S: Remove file.
10298 * sysdeps/unix/geteuid.S: Likewise.
10300 2012-04-24 Roland McGrath <roland@hack.frob.com>
10302 * scripts/check-localplt.awk: New file.
10303 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10305 * scripts/data/localplt-generic.data: Add a comment.
10307 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10308 NODE when __dir_mkfile failed.
10309 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10310 Reported by Ludovic Courtès <ludo@gnu.org>.
10312 2012-04-24 Andreas Jaeger <aj@suse.de>
10314 * Makerules (common-clean): Also remove gen-as-const-headers
10317 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10319 * Makerules (native-compile): Do not change working directory for
10320 build. Use $(OUTPUT_OPTION) in command.
10321 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10323 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10326 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10327 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10328 * math/libm-test.inc (floor_test): Add more tests.
10329 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10331 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10333 * sysdeps/unix/getdents.c: Remove file.
10334 * sysdeps/unix/sysv/getdents.c: Likewise.
10335 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10337 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10338 sysdeps/unix/mman/syscalls.list.
10340 (mprotect): Likewise.
10342 (munmap): Likewise.
10343 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10344 * sysdeps/unix/mman/syscalls.list: Remove.
10345 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10347 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10348 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10349 * configure: Regenerated.
10350 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10351 $(libgcc_s_suffix).
10352 * config.make.in (libgcc_s_suffix): Remove variable.
10354 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10356 * sysdeps/unix/sysv/gethostname.c: Move to ...
10357 * sysdeps/posix/gethostname.c: ... here.
10359 * sysdeps/unix/execve.S: Remove file.
10361 * sysdeps/unix/_exit.S: Remove file.
10363 2012-04-23 Andreas Jaeger <aj@suse.de>
10366 * manual/Makefile: Remove make dist support, there's no
10367 need for a stand-alone documentation tar ball.
10368 (TEXI2DVI): Define always, it's not in Makeconfig.
10371 (edition): Removed.
10372 (glibc-doc-$(edition).tar): Removed
10376 (ETAGS): Remove, it's in Makeconfig.
10377 (move-if-change): Remove, it's in Makeconfig.
10379 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10382 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10383 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10384 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10385 (strtod_l, strtof_l, strtold_l): Remove __wur.
10386 It is not necessarily an error to ignore strtol's return value.
10387 One can reliably look at the stored endptr to decide whether
10388 the number had valid syntax.
10390 2012-04-21 Andreas Jaeger <aj@suse.de>
10393 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10395 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10397 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10398 * sysdeps/unix/sysv/Versions: Remove file.
10400 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10405 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10409 version from __vm86.
10411 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10413 * sysdeps/unix/common/lxstat.c: Remove file.
10414 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10416 * sysdeps/unix/sysv/Makefile: Remove file.
10418 * sysdeps/unix/sysv/direct.h: Remove file.
10420 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10421 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10422 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10423 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10424 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10425 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10426 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10428 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10430 * sysdeps/unix/xmknod.c: Remove file.
10431 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10433 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10435 * sysdeps/unix/sysv/i386/time.S: Remove file.
10437 * sysdeps/unix/fxstat.c: Remove file.
10438 * sysdeps/unix/xstat.c: Likewise.
10439 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10441 * sysdeps/unix/sysv/sigaction.c: Remove file.
10443 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10444 (sysdep_headers): Remove variable.
10445 [termio.h not in sysdep_headers] (generated): Likewise.
10446 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10447 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10448 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10449 * sysdeps/unix/sysv/tcflow.c: Likewise.
10450 * sysdeps/unix/sysv/tcflush.c: Likewise.
10451 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10452 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10453 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10454 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10455 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10457 * sysdeps/unix/siglist.c: Remove file.
10459 * sysdeps/unix/getppid.S: Remove file.
10461 * sysdeps/unix/mkdir.c: Remove file.
10462 * sysdeps/unix/rmdir.c: Likewise.
10464 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10466 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10469 errlist-compat value.
10471 2012-04-18 David S. Miller <davem@davemloft.net>
10473 * sysdeps/generic/memcopy.h (reg_char): Delete.
10474 * debug/strcat_chk.c: Use char, not reg_char.
10475 * debug/strcpy_chk.c: Likewise.
10476 * debug/strncat_chk.c: Likewise.
10477 * debug/strncpy_chk.c: Likewise.
10478 * string/memchr.c: Likewise.
10479 * string/memrchr.c: Likewise.
10480 * string/rawmemchr.c: Likewise.
10481 * string/strcat.c: Likewise.
10482 * string/strchr.c: Likewise.
10483 * string/strchrnul.c: Likewise.
10484 * string/strcmp.c: Likewise.
10485 * string/strcpy.c: Likewise.
10486 * string/strncat.c: Likewise.
10487 * string/strncmp.c: Likewise.
10488 * string/strncpy.c: Likewise.
10490 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10492 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10493 __builtin_memcopy is called when src and dest ranges are known to not
10496 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10498 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10499 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10500 fwd_align_merge macro call.
10501 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10502 bwd_align_merge macro call.
10503 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10505 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10507 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10508 bwd_align_merge macros.
10509 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10510 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10511 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10513 2012-04-18 David S. Miller <davem@davemloft.net>
10515 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10517 2012-04-18 Andreas Jaeger <aj@suse.de>
10520 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10521 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10524 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10525 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10526 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10528 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10529 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10530 Adjust for changed ldbl-128 files.
10532 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10533 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10534 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10536 2012-04-17 David S. Miller <davem@davemloft.net>
10538 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10540 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10542 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10543 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10544 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10545 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10546 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10547 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10549 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10552 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10553 * math/libm-test.inc: Add ilogb errno and exception tests.
10554 * math/w_ilogb.c: New file: ilogb wrapper.
10555 * math/w_ilogbf.c: New file: ilogbf wrapper.
10556 * math/w_ilogbl.c: New file: ilogbl wrapper.
10557 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10558 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10559 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10560 exception being thrown with 0.0 as argument.
10561 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10562 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10563 exception being thrown with 0.0 as argument.
10564 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10565 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10566 exception being thrown with 0.0 as argument.
10567 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10568 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10569 exception being thrown with 0.0 as argument.
10570 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10571 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10572 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10573 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10574 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10575 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10576 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10577 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10578 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10580 2012-04-17 Petr Baudis <pasky@ucw.cz>
10582 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10585 2012-04-16 Marek Polacek <polacek@redhat.com>
10587 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10589 2012-04-16 Marek Polacek <polacek@redhat.com>
10591 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10592 operands of fdivp instruction.
10594 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10596 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10597 * elf/tst-auditmod3b.c: Likewise.
10598 * elf/tst-auditmod4b.c: Likewise.
10599 * elf/tst-auditmod5b.c: Likewise.
10600 * elf/tst-auditmod6b.c: Likewise.
10601 * elf/tst-auditmod6c.c: Likewise.
10602 * elf/tst-auditmod7b.c: Likewise.
10603 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10604 * sysdeps/x86_64/preconfigure.in: Likewise.
10605 * sysdeps/x86_64/preconfigure: Regenerated.
10607 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10609 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10612 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10615 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10617 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10620 * locale/iso-639.def: Fix gl language name. Spotted by
10623 2012-04-12 Roland McGrath <roland@hack.frob.com>
10626 * libio/libio.h (__io_write_fn): Update comment.
10628 2012-04-12 Petr Baudis <pasky@ucw.cz>
10631 * stdio.texi (Hook Functions): The user provided writer function
10632 is not allowed to return -1.
10634 2012-04-11 David S. Miller <davem@davemloft.net>
10636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10638 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10640 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10641 Add a leading slash to rtkaio.
10643 2012-04-11 Jim Meyering <meyering@redhat.com>
10646 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10647 It is not necessarily an error to ignore fwrite's return
10648 value. One can reliably use ferror to test for errors after
10651 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10653 * bits/types.h (__snseconds_t): New type.
10654 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10656 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10658 (__SNSECONDS_T_TYPE): Likewise.
10659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10660 (__SNSECONDS_T_TYPE): Likewise.
10661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10662 (__SNSECONDS_T_TYPE): Likewise.
10664 2012-04-10 Andreas Jaeger <aj@suse.de>
10667 * manual/time.texi (Processor Time): Return type of times is
10668 elapsed real time since an arbitrary point in the past.
10669 (CPU Time): Move CLK_TCK from here...
10670 (Processor Time): ...to here. Correct description.
10671 * manual/conf.texi (Constants for Sysconf): Correct description of
10674 2012-04-10 David S. Miller <davem@davemloft.net>
10677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10678 where the is a gap between DT_REL(A) and DT_JMPREL.
10680 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10682 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10683 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10684 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10686 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10688 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10689 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10690 (dl_main): Handle --inhibit-cache.
10691 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10693 * elf/dl-load.c (_dl_map_object): Use it.
10694 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10696 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10699 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10700 (__ieee754_powl): Saturate large exponents rather than testing for
10701 overflow of y*log2(x).
10702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10703 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10707 * math/s_ctan.c: Include <float.h>.
10708 (__ctan): Avoid internal overflow or cancellation in calculating
10710 * math/s_ctanf.c: Likewise.
10711 * math/s_ctanl.c: Likewise.
10712 * math/s_ctanh.c: Likewise.
10713 * math/s_ctanhf.c: Likewise.
10714 * math/s_ctanhl.c: Likewise.
10715 * math/libm-test.inc (ctan_test): Add more tests.
10716 (ctanh_test): Likewise.
10717 * sysdeps/i386/fpu/libm-test-ulps: Update.
10718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10720 2012-04-09 Andreas Jaeger <aj@suse.de>
10723 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10724 is an optional BSD extension.
10727 * manual/stdio.texi (Opening Streams): Document additional fopen
10730 2012-04-09 Roland McGrath <roland@hack.frob.com>
10732 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10733 %eax without telling the compiler.
10735 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10738 * manual/install.texi: Use sourceware.org.
10740 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10743 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10744 (__ieee754_pow): Generate overflow and underflow using huge*huge
10745 and tiny*tiny rather than just returning constant infinity or zero
10746 for large exponents.
10747 * math/libm-test.inc (pow_test): Require overflow exceptions for
10748 applicable cases of large exponents.
10751 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10752 (__ieee754_pow): Use iterative multiplication algorithm only for
10753 integer exponents with absolute value below 1024. Check for odd
10754 integer exponents when using algorithm for real exponents.
10755 * math/libm-test.inc (pow_test): Add more tests.
10756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10758 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10761 * math/libm-test.inc (exp_test): Do not allow overflow exception
10764 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10767 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10768 instead of __kernel_standard_f.
10770 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10772 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10773 * sysdeps/x86_64/memset_chk.S: Likewise.
10775 2012-04-08 Andreas Jaeger <aj@suse.de>
10778 * manual/startup.texi (Environment Access): Describe return value
10779 for putenv and setenv.
10782 * manual/filesys.texi (Directory Entries): Add description for
10786 * manual/filesys.texi (Directory Entries): Clarify that it's file
10787 system not operating system in the description of DT_UNKNOWN.
10790 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10792 2012-04-08 Stephen Compall <s11@member.fsf.org>
10795 * manual/llio.texi (Opening and Closing Files): Add cross
10796 reference to explain mode argument.
10798 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10800 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10801 * sysdeps/x86_64/memset_chk.S: Likewise.
10803 2012-04-07 David S. Miller <davem@davemloft.net>
10805 * elf/elf.h (R_SPARC_WDISP10): Define.
10806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10808 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10809 R_SPARC_SIZE64 and R_SPARC_H34.
10811 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10814 conditions and remove no longer applicable assertion.
10816 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10818 * bits/byteswap.h: Include <features.h>.
10819 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10820 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10822 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10824 * bits/byteswap.h (__bswap_16): Removed.
10825 Include <bits/byteswap-16.h> to get __bswap_16.
10826 * sysdeps/i386/bits/byteswap.h: Likewise.
10827 * sysdeps/s390/bits/byteswap.h: Likewise.
10828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10829 * bits/byteswap-16.h: New file.
10830 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10831 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10832 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10833 * string/Makefile (headers): Add bits/byteswap-16.h.
10835 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10838 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10840 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10841 * nss/tst-nss-static.c: New.
10843 2012-04-06 Robert Millan <rmh@gnu.org>
10846 * manual/llio.texi (File Position Primitive): lseek
10847 refers to WHENCE when it really means OFFSET.
10849 2012-04-06 Andreas Jaeger <aj@suse.de>
10851 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10852 strncmp declarations.
10854 * abilist/libc.abilist: Add __poll and __ppoll.
10856 2012-04-05 David S. Miller <davem@davemloft.net>
10858 * scripts/check-local-headers.sh: Accept a host triplet in the
10859 path matched by the exclude regexp.
10861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10863 * sysdeps/powerpc/powerpc32/dl-machine.h
10864 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10865 * sysdeps/s390/s390-32/dl-machine.h
10866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10867 * sysdeps/sparc/sparc32/dl-machine.h
10868 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10869 * sysdeps/sparc/sparc64/dl-machine.h
10870 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10872 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10874 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10875 undefined symbol errors.
10877 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10880 2012-04-05 Michael Matz <matz@suse.de>
10883 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10885 2012-04-05 Andreas Jaeger <aj@suse.de>
10888 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10891 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10893 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10894 which ROUND is no valid rounding mode.
10896 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10898 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10900 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10902 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10904 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10905 an exception using FPU order intentionally.
10907 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10909 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10910 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10911 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10912 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10914 2012-04-05 Simon Josefsson <simon@josefsson.org>
10917 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10918 EINVAL when BUFLEN is too smal.
10920 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10923 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10924 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10926 2012-04-03 Andreas Jaeger <aj@suse.de>
10929 * manual/setjmp.texi (System V contexts): Fix sentence.
10932 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10933 New macro for this case.
10934 [!__GNUC__] (__bswap_64): New inline function for this case.
10935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10936 * bits/byteswap.h: Likewise.
10937 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10938 ull, guard with __GLIBC_HAVE_LONG_LONG.
10940 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10941 __GLIBC_HAVE_LONG_LONG.
10943 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10944 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10946 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10949 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10950 inptr and inend, rather than using last_ch.
10952 2012-04-02 David S. Miller <davem@davemloft.net>
10954 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10955 * stdio-common/printf-parse.h (read_int): Change return type to
10956 'int', return -1 on INT_MAX overflow.
10957 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10958 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10959 overflows INT_MAX. Check for overflow of in-format-string precision
10960 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10961 SIZE_MAX not INT_MAX for integer overflow test.
10962 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10963 skip the construct in the format string but do not record anything.
10964 * stdio-common/bug22.c: Adjust to test both width/prevision
10965 INT_MAX overflow as well as total length INT_MAX overflow. Check
10966 explicitly for proper errno values.
10968 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10970 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10972 * string/test-strcmp.c [! WIDE]: Likewise.
10973 * time/tst-mktime2.c: Likewise for INT_MAX.
10974 * string/test-string.h: #include <sys/param.h> for MIN.
10976 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10977 * sysdeps/i386/init-first.c (init): Likewise.
10978 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10979 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10980 * sysdeps/sh/init-first.c (init): Likewise.
10982 2012-04-01 Ulrich Drepper <drepper@gmail.com>
10984 * po/ru.po: Update from translation team.
10985 * po/vi.po: Likewise.
10987 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10989 * resolv/nss_dns/dns-host.c: Merge copyright years.
10991 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10994 Optimize memcpy with prefetch if
10995 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10996 src, dst pointers have unequal 16 byte alignments.
10998 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11001 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11002 from a CNAME entry and return the minimum ttl for the query.
11003 (gaih_getanswer_slice): Likewise.
11005 2012-03-30 Jeff Law <law@redhat.com>
11007 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11009 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11010 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11012 * resolv/nss_dns/dns-host.c: Update copyright year.
11014 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11016 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11017 requests to save a system call. Fix check that all bytes are sent.
11019 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11020 comments for sendmmsg.
11022 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11025 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11026 with only 1 character between 0x0041 and 0x01b0.
11027 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11028 * wcsmbs/tst-mbsnrtowcs.c: New file.
11030 2012-03-29 David S. Miller <davem@davemloft.net>
11032 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11033 small copies by hand.
11035 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11038 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11039 _nss_compat_initgroups_dyn): Fall back to malloc/free
11040 for large group memberships.
11042 2012-03-28 David S. Miller <davem@davemloft.net>
11044 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11045 that branches into memcpy.
11046 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11049 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11052 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11053 implementation too.
11054 * sysdeps/sparc/mempcpy.S: New file.
11056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11057 the IFUNC routine in the libc case.
11058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11060 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11061 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11062 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11063 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11064 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11065 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11066 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11067 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11069 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11070 loop to 256 bytes instead of 64 bytes and fix test signedness.
11072 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11073 * sysdeps/sparc/sparc32/Makefile: rather than here...
11074 * sysdeps/sparc/sparc64/Makefile: and here.
11076 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11078 * malloc/mallocbug.c: Avoid warnings about unused variables.
11080 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11083 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11084 in the right place. Discard and retry query if response is
11085 larger than input buffer size.
11087 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11092 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11093 x for large integer exponent.
11094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11095 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11096 sign of result as needed afterwards.
11097 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11098 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11099 result for underflowing pow the same as for overflow.
11100 (__kernel_standard_l): Handle powl overflow and underflow here
11101 rather than calling __kernel_standard.
11102 * math/libm-test.inc (pow_test): Add more tests.
11117 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11118 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11119 (__kernel_standard_l): New function.
11120 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11122 * math/w_acosl.c (__acosl): Likewise.
11123 * math/w_asinl.c (__asinl): Likewise.
11124 * math/w_atan2l.c (__atan2l): Likewise.
11125 * math/w_atanhl.c (__atanhl): Likewise.
11126 * math/w_coshl.c (__coshl): Likewise.
11127 * math/w_exp10l.c (__exp10l): Likewise.
11128 * math/w_exp2l.c (__exp2l): Likewise.
11129 * math/w_fmodl.c (__fmodl): Likewise.
11130 * math/w_hypotl.c (__hypotl): Likewise.
11131 * math/w_j0l.c (__j0l, __y0l): Likewise.
11132 * math/w_j1l.c (__j1l, __y1l): Likewise.
11133 * math/w_jnl.c (__jnl, __ynl): Likewise.
11134 * math/w_lgammal.c (__lgammal): Likewise.
11135 * math/w_log10l.c (__log10l): Likewise.
11136 * math/w_log2l.c (__log2l): Likewise.
11137 * math/w_logl.c (__logl): Likewise.
11138 * math/w_powl.c (__powl): Likewise.
11139 * math/w_remainderl.c (__remainderl): Likewise.
11140 * math/w_scalbl.c (sysv_scalbl): Likewise.
11141 * math/w_sinhl.c (__sinhl): Likewise.
11142 * math/w_sqrtl.c (__sqrtl): Likewise.
11143 * math/w_tgammal.c (__tgammal): Likewise.
11144 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11145 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11146 * math/libm-test.inc (acos_test): Add more tests.
11147 (acosh_test): Likewise.
11148 (asin_test): Likewise.
11149 (atanh_test): Likewise.
11150 (exp_test): Likewise.
11151 (exp10_test): Likewise.
11152 (exp2_test): Likewise.
11153 (expm1_test): Likewise.
11154 (lgamma_test): Likewise.
11155 (log_test): Likewise.
11156 (log10_test): Likewise.
11157 (log1p_test): Likewise.
11158 (log2_test): Likewise.
11159 (pow_test): Do not allow some spurious overflow exceptions.
11160 (sqrt_test): Add more tests.
11161 (tgamma_test): Likewise.
11162 (y0_test): Likewise.
11163 (y1_test): Likewise.
11164 (yn_test): Likewise.
11166 2012-03-27 Anton Blanchard <anton@samba.org>
11168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11170 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11174 2012-03-27 David S. Miller <davem@davemloft.net>
11176 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11178 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11179 have-as-vis3 check.
11181 2012-03-27 Andreas Jaeger <aj@suse.de>
11183 * sysdeps/x86_64/elf/configure.in: Moved to ...
11184 * sysdeps/x86_64/configure.in: ... here.
11185 * sysdeps/x86_64/elf/start.S: Moved to ...
11186 * sysdeps/x86_64/start.S: ... here.
11187 * sysdeps/x86_64/elf/configure: Delete.
11189 * sysdeps/x86_64/configure.in: Merge contents from
11190 sysdeps/i386/configure.in (without i686 check).
11192 * sysdeps/i386/elf/Versions: Merge into ...
11193 * sysdeps/i386/Versions: ... this.
11194 * sysdeps/i386/elf/Versions: Delete file.
11195 * sysdeps/i386/elf/start.S: Moved to ...
11196 * sysdeps/i386/start.S: ...here.
11197 * sysdeps/i386/elf/configure.in: Merge into...
11198 * sysdeps/i386/configure.in: ...here.
11199 * sysdeps/i386/elf/configure.in: Delete file.
11200 * sysdeps/i386/elf/configure: Delete file.
11202 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11203 * debug/backtracesyms.c: ... here.
11204 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11205 * debug/backtracesymsfd.c: ... here.
11206 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11207 * sysdeps/generic/ifunc-sel.h: ... here.
11209 * sysdeps/unix/i386/start.c: Delete file.
11210 * sysdeps/unix/sparc/start.c: Delete file.
11211 * sysdeps/unix/start.c: Delete file.
11213 * sysdeps/sh/elf/configure.in: Moved to ...
11214 * sysdeps/sh/configure.in: ... here.
11215 * sysdeps/sh/elf/start.S: Moved to ...
11216 * sysdeps/sh/start.S: ... here.
11217 * sysdeps/sh/elf/configure: Delete file.
11219 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11220 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11221 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11222 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11223 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11224 * sysdeps/powerpc/powerpc64/start.S: here.
11225 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11226 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11227 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11228 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11229 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11231 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11232 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11233 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11234 * sysdeps/powerpc/powerpc32/start.S: ... here.
11235 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11236 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11237 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11239 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11240 * sysdeps/powerpc/ifunc-sel.h: ... here.
11241 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11242 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11244 * sysdeps/sparc/elf/configure.in: Moved to ...
11245 * sysdeps/sparc/configure.in: ... here.
11246 * sysdeps/sparc/elf/configure: Delete file.
11247 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11248 * sysdeps/sparc/sparc32/start.S: ... here.
11249 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11250 * sysdeps/sparc/sparc64/start.S: ... here.
11251 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11252 * sysdeps/sparc/sparc32/Makefile: ... this.
11253 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11254 * sysdeps/sparc/sparc64/Makefile: ... this.
11256 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11257 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11258 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11259 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11260 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11261 * sysdeps/s390/s390-32/setjmp.S: ... here.
11262 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11263 * sysdeps/s390/s390-32/configure.in: ... here.
11264 * sysdeps/s390/s390-32/elf/configure: Delete file.
11265 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11266 * sysdeps/s390/s390-32/start.S: ... here.
11268 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11269 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11270 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11271 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11272 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11273 * sysdeps/s390/s390-64/setjmp.S: ... here.
11274 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11275 * sysdeps/s390/s390-64/configure.in: ... here
11276 * sysdeps/s390/s390-64/elf/configure: Delete file.
11277 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11278 * sysdeps/s390/s390-64/start.S: ... here.
11279 * sysdeps/s390/s390-64/elf/configure: Delete.
11281 * configure.in: Remove support for elf directories in sysdeps.
11283 * configure: Regenerated.
11284 * sysdeps/i386/configure: Regenerated.
11285 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11286 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11287 * sysdeps/s390/s390-32/configure: Regenerated.
11288 * sysdeps/s390/s390-64/configure: Regenerated.
11289 * sysdeps/sh/configure: Regenerated.
11290 * sysdeps/sparc/configure: Regenerated.
11291 * sysdeps/x86_64/configure: Regenerated.
11293 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11298 denormal result into account.
11300 2012-03-25 Roland McGrath <roland@hack.frob.com>
11302 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11303 Reported by Allan McRae <allan@archlinux.org>.
11305 2012-03-23 Jeff Law <law@redhat.com>
11307 * nss/getnssent.c (__nss_getent): Fix typo.
11309 2012-03-23 David S. Miller <davem@davemloft.net>
11311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11313 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11315 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11316 to pad to uint64_t for each field.
11317 (dl_tls_index): Replace unsigned long with uint64_t.
11319 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11320 Paul Pluzhnikov <ppluzhnikov@google.com>
11323 * grp/Makefile (otherlibs): Don't set it.
11324 * inet/Makefile (otherlibs): Likewise.
11325 * login/Makefile (otherlibs): Likewise.
11326 * nscd/Makefile (otherlibs): Likewise.
11327 * posix/Makefile (otherlibs): Likewise.
11328 * pwd/Makefile (otherlibs): Likewise.
11329 * rt/Makefile (otherlibs): Likewise.
11330 * sunrpc/Makefile (otherlibs): Likewise.
11331 * nss/Makefile (otherlibs): Likewise.
11332 Add libnss_files to routines and static-only-routines.
11333 ($(objpfx)getent): Remove rule.
11334 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11335 static-only-routines.
11337 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11340 * math/s_cexp.c: Include <float.h>.
11341 (__cexp): Handle exp result overflowing not necessarily
11342 overflowing both real and imaginary parts of result.
11343 * math/s_cexpf.c: Likewise.
11344 * math/s_cexpl.c: Likewise.
11345 * math/libm-test.inc (cexp_test): Add more tests.
11346 * sysdeps/i386/fpu/libm-test-ulps: Update.
11347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11349 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11351 * include/link.h (ELFW): New macro.
11352 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11353 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11355 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11357 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11360 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11362 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11364 (struct La_x32_retval): Likewise.
11366 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11368 * sysdeps/x86_64/preconfigure.in: New file.
11369 * sysdeps/x86_64/preconfigure: New generated file.
11371 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11374 * math/e_exp2l.c: Include <float.h>.
11375 (__ieee754_exp2l): Handle overflow and underflow cases
11376 separately. Only pass fractional part of argument to
11378 * math/libm-test.inc (exp2_test): Add more tests.
11380 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11381 negating x to take absolute value.
11382 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11384 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11385 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11387 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11388 computing low part if x was negated.
11389 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11391 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11393 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11394 la_x32_gnu_pltexit.
11395 (pltexit): Cast int_retval to ptrdiff_t.
11396 * elf/tst-auditmod3b.c: Likewise.
11397 * elf/tst-auditmod4b.c: Likewise.
11398 * elf/tst-auditmod5b.c: Likewise.
11399 * elf/tst-auditmod6b.c: Likewise.
11400 * elf/tst-auditmod6c.c: Likewise.
11401 * elf/tst-auditmod7b.c: Likewise.
11403 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11404 and x32_gnu_pltexit.
11406 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11407 __ELF_NATIVE_CLASS.
11408 (La_x32_regs): New macro.
11409 (La_x32_retval): Likewise.
11410 (la_x32_gnu_pltenter): New function prototype.
11411 (la_x32_gnu_pltexit): Likewise.
11413 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11420 * configure.in (libc_cv_cc_nofma): Check for option to disable
11421 generation of FMA instructions.
11422 * configure: Regenerate.
11423 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11424 * sysdeps/ieee754/dbl-64/Makefile: New file.
11425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11426 Remove brandred-fma4.
11427 (CFLAGS-brandred-fma4.c): Remove.
11428 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11429 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11434 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11436 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11437 LLONG_MAX != LONG_MAX.
11438 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11439 (_fitoa_word): Likewise.
11440 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11441 LLONG_MAX != LONG_MAX.
11442 * stdio-common/_itowa.h: Include <_itoa.h>.
11443 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11444 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11445 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11446 only if not defined.
11447 (_ITOA_WORD_TYPE): Likewise.
11448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11449 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11451 2012-03-21 David S. Miller <davem@davemloft.net>
11453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11455 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11457 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11458 of x86_64 when setting libc_cv_slibdir, libdir and
11460 * sysdeps/unix/sysv/linux/configure: Regenerated.
11462 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11464 * manual/lang.texi (Old Varargs): Remove section.
11465 (How Variadic): Update menu.
11466 (va_start): Do not mention varargs.h.
11468 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11469 Joseph Myers <joseph@codesourcery.com>
11471 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11473 * configure: Regenerated.
11475 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11477 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11478 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11481 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11484 * Makefile (files-for-dist): Remove NOTES.
11485 (NOTES): Remove rule.
11486 * README: Don't refer to NOTES.
11487 * manual/creature.texi: Don't include macros.texi.
11488 * manual/intro.texi (creature.texi): Remove comment referring to
11491 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11492 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11493 * configure: Regenerated.
11494 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11495 LIBC_TRY_CC_OPTION.
11496 (libc_cv_as_i686): Likewise.
11497 (libc_cv_cc_avx): Likewise.
11498 (libc_cv_cc_sse2avx): Likewise.
11499 (libc_cv_cc_fma4): Likewise.
11500 (libc_cv_cc_novzeroupper): Likewise.
11501 * sysdeps/i386/configure: Regenerated.
11504 * sysdeps/i386/fpu/s_cexp.S: Remove.
11505 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11506 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11507 * math/libm-test.inc (cexp_test): Add more tests.
11508 * sysdeps/i386/fpu/libm-test-ulps: Update.
11509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11511 2012-03-21 Allan McRae <allan@archlinux.org>
11513 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11515 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11518 * math/w_exp2.c: Do not include <float.h>.
11519 (o_threshold, u_threshold): Remove.
11520 (__exp2): Calculate result before checking finiteness and calling
11522 * math/w_exp2f.c: Likewise.
11523 * math/w_exp2l.c: Likewise.
11524 * math/libm-test.inc (exp2_test): Require overflow exception for
11528 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11529 range of signed 64-bit integers before using fistpll. Remove
11530 checks for whether integers fit in mantissa bits.
11531 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11532 the range of signed 32-bit integers before using fistpl. Remove
11533 checks for whether integers fit in mantissa bits.
11534 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11535 (__ieee754_powl): Test for y outside the range of signed 64-bit
11536 integers before using fistpll. Reduce 64-bit values to 63-bit
11538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11539 divide-by-zero is raised for zero to large negative powers.
11540 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11541 (__ieee754_powl): Test for y outside the range of signed 64-bit
11542 integers before using fistpll. Reduce 64-bit values to 63-bit
11544 * math/libm-test.inc (pow_test): Add more tests.
11546 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11548 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11549 <stdio-common/_itoa.h>.
11550 * debug/segfault.c: Likewise.
11551 * elf/dl-cache.c: Likewise.
11552 * elf/dl-minimal.c: Likewise.
11553 * elf/dl-misc.c: Likewise.
11554 * elf/dl-sysdep.c: Likewise.
11555 * elf/dl-version.c: Likewise.
11556 * elf/rtld.c: Likewise.
11557 * hurd/hurdsock.c: Likewise.
11558 * hurd/lookup-retry.c: Likewise.
11559 * malloc/malloc.c: Likewise.
11560 * malloc/mtrace.c: Likewise.
11561 * nscd/nscd_getgr_r.c: Likewise.
11562 * nscd/nscd_getpw_r.c: Likewise.
11563 * nscd/nscd_getserv_r.c: Likewise.
11564 * posix/getopt_init.c: Likewise.
11565 * posix/wordexp.c: Likewise.
11566 * stdio-common/_itoa.c: Likewise.
11567 * stdio-common/printf_fphex.c: Likewise.
11568 * stdio-common/vfprintf.c: Likewise.
11569 * string/_strerror.c: Likewise.
11570 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11571 * sysdeps/i386/i686/hp-timing.h: Likewise.
11572 * sysdeps/mach/_strerror.c: Likewise.
11573 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11574 * sysdeps/mach/hurd/sethostid.c: Likewise.
11575 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11576 * sysdeps/mach/xpg-strerror.c: Likewise.
11577 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11578 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11579 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11580 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11581 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11582 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11583 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11584 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11585 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11586 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11587 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11588 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11589 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11590 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11591 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11593 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11594 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11595 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11596 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11597 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11599 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11601 * stdio-common/_itoa.h: Moved to ...
11602 * sysdeps/generic/_itoa.h: Here.
11604 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11606 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11607 instead of "_itoa.h" and "_itowa.h".
11608 * stdio-common/vfprintf.: Likewise.
11610 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11612 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11614 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11615 (__signbit): Likwise.
11616 (llrintf): Likwise.
11619 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11621 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11624 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11626 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11627 OVERFLOW_EXCEPTION_OK.
11628 * math/libm-test.inc ("Philosophy"): Update comment about
11630 (OVERFLOW_EXCEPTION): Define.
11631 (OVERFLOW_EXCEPTION_OK): Likewise.
11632 (INVALID_EXCEPTION_OK): Renumber.
11633 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11634 (IGNORE_ZERO_INF_SIGN): Likewise.
11635 (test_exceptions): Handle FE_OVERFLOW.
11636 (exp10_test): Expect overflow exceptions.
11637 (exp2_test): Likewise.
11638 (expm1_test): Likewise.
11639 (nextafter_test): Likewise.
11640 (pow_test): Likewise.
11641 (scalbn_test): Likewise.
11642 (scalbln_test): Likewise.
11644 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11646 * sysdeps/x86_64/bits/atomic.h
11647 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11649 (atomic_exchange_acq): Likewise.
11650 (__arch_exchange_and_add_body): Likewise.
11651 (__arch_add_body): Likewise.
11652 (atomic_add_negative): Likewise.
11653 (atomic_add_zero): Likewise.
11655 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11657 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11658 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11662 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11663 Check __x86_64__ instead of __WORDSIZE.
11665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11667 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11669 2012-03-19 David S. Miller <davem@davemloft.net>
11671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11673 * sysdeps/sparc/fpu/fenv_private.h: New file.
11674 * sysdeps/sparc/fpu/math_private.h: Use it.
11675 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11677 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11678 (libc_feholdexcept_setroundl): Remove.
11679 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11681 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11682 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11686 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11687 int64_t instead of long int.
11688 (INSERT_WORDS64): Likwise.
11690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11692 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11693 _Unwind_GetCFA return to _Unwind_Ptr first.
11695 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11698 * math/s_clog.c: Include <float.h>.
11699 (__clog): Scale large or subnormal inputs.
11700 * math/s_clogf.c: Likewise.
11701 * math/s_clogl.c: Likewise.
11702 * math/s_clog10.c: Include <float.h>.
11703 (M_LOG10_2): Define.
11704 (__clog10): Scale large or subnormal inputs.
11705 * math/s_clog10f.c: Likewise.
11706 * math/s_clog10l.c: Likewise.
11707 * math/libm-test.inc (clog_test): Add more tests.
11708 (clog10_test): Likewise.
11709 * sysdeps/i386/fpu/libm-test-ulps: Update.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11713 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11715 * math/libm-test.inc (atan2_test): Add another test.
11717 * Makerules (common-objdir-compile): Remove.
11718 * sysdeps/unix/Makefile (config-generated): Do not add
11719 $(unix-generated) to variable.
11720 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11721 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11723 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11725 [generic bits/local_lim.h] (before-compile): Do not append to
11727 [generic bits/local_lim.h] (common-generated): Likewise.
11728 [generic sys/param.h] (before-compile): Do not append to variable.
11729 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11730 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11731 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11732 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11734 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11735 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11736 [generic sys/param.h] ($(addprefix
11737 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11738 [generic sys/param.h] (common-generated): Do not append to
11740 [generic sys/param.h] (sysdep_headers): Likewise.
11741 [generic bits/errno.h] (before-compile): Do not append to
11743 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11745 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11746 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11747 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11748 [generic bits/errno.h] (common-generated): Do not append to
11750 [generic bits/ioctls.h] (before-compile): Do not append to
11752 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11754 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11755 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11756 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11758 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11759 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11760 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11761 [generic bits/ioctls.h] (common-generated): Do not append to
11763 [generic sys/syscall.h] (syscall.h): Remove variable.
11764 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11766 [generic sys/syscall.h] (before-compile): Do not append to
11768 [generic sys/syscall.h] (common-generated): Likewise.
11769 * sysdeps/unix/errnos-tmpl.c: Remove file.
11770 * sysdeps/unix/errnos.awk: Likewise.
11771 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11772 * sysdeps/unix/ioctls.awk: Likewise.
11773 * sysdeps/unix/mk-local_lim.c: Likewise.
11774 * sysdeps/unix/snarf-ioctls: Likewise.
11776 2012-03-19 Richard Henderson <rth@twiddle.net>
11778 * sysdeps/i386/fpu/fenv_private.h: New file.
11779 * sysdeps/i386/fpu/math_private.h: Use it.
11780 (math_opt_barrier, math_force_eval): Remove.
11781 (libc_feholdexcept_setround_53bit): Remove.
11782 (libc_feupdateenv_53bit): Remove.
11783 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11784 (math_opt_barrier, math_force_eval): Remove.
11785 (libc_feholdexcept): Remove.
11786 (libc_feholdexcept_setround): Remove.
11787 (libc_fetestexcept, libc_fesetenv): Remove.
11788 (libc_feupdateenv_test): Remove.
11789 (libc_feupdateenv, libc_feholdsetround): Remove.
11790 (libc_feresetround): Remove.
11792 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11793 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11795 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11796 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11797 (libc_feupdateenv_testl): New.
11798 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11799 (libc_feupdateenv_testf): New.
11800 (libc_feupdateenv): Use libc_feupdateenv_test.
11801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11802 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11804 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11805 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11806 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11807 (libc_feresetround_noex): New.
11808 (libc_feresetround_noexf): New.
11809 (libc_feresetround_noexl): New.
11810 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11811 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11812 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11813 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11818 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11820 SET_RESTORE_ROUND_NOEX.
11821 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11822 SET_RESTORE_ROUND_NOEXF.
11823 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11824 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11825 (libc_feholdsetroundf): New.
11826 (libc_feresetround, libc_feresetroundf): New.
11828 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11829 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11830 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11832 * sysdeps/generic/math_private.h: Include <fenv.h>.
11833 (default_libc_feholdexcept): New.
11834 (default_libc_feholdexcept_setround): New.
11835 (default_libc_fesetenv, default_libc_feupdateenv): New.
11836 (libc_feholdexcept): Only define if undefined.
11837 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11838 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11839 (libc_feholdexcept_setroundl): Likewise.
11840 (libc_feholdexcept_setround_53bit): Likewise.
11841 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11842 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11843 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11844 (libc_feupdateenv_53bit): Likewise.
11845 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11846 (libc_feholdexcept): Convert from macro to inline function.
11847 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11848 (libc_fesetenv, libc_feupdateenv): Likewise.
11850 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11851 not previously defined.
11852 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11853 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11854 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11855 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11856 * sysdeps/ieee754/flt-32/math_private.h: New file.
11857 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11858 math_private.h below SET_FLOAT_WORD.
11859 (__isnan, __isinf_ns, __finite): Remove.
11860 (__isnanf, __isinf_nsf, __finitef): Remove.
11862 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11866 2012-03-17 David S. Miller <davem@davemloft.net>
11869 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11872 2012-03-16 David S. Miller <davem@davemloft.net>
11874 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11878 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11880 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11881 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11882 sysdep_routines when subdir is sysvipc.
11883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11884 __getshmlba helper.
11886 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11888 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11890 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11895 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11896 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11897 (__lround): Renamed to ...
11898 (__llround): This. Replace long int with long long int.
11899 Define lround functions as aliases of llround functions.
11900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11902 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11904 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11905 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11906 adresses to uintptr_t. Replace "long int" and "unsigned long
11907 int" with "greg_t" on va_arg.
11909 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11911 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11912 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11914 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11915 Move e_machine check before EI_CLASS check. Handle x32
11916 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11917 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11918 SKIP_EM_IA_64 and include
11919 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11921 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11922 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11923 (add_system_dir): New macro.
11925 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11926 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11928 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11939 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11941 * math/w_j0f.c (j0f): Likewise.
11943 * math/w_j0l.c (__j0l): Likewise.
11945 * math/w_j1.c (j1): Likewise.
11947 * math/w_j1f.c (j1f): Likewise.
11949 * math/w_j1l.c (__j1l): Likewise.
11951 * math/w_jn.c (jn): Likewise.
11953 * math/w_jnf.c (jnf): Likewise.
11955 * math/w_jnl.c (__jnl): Likewise.
11957 * math/libm-test.inc (j0_test): Add more tests.
11958 (j1_test): Likewise.
11959 (jn_test): Likewise. Add trailing semicolon to existing test.
11960 (y0_test): Likewise.
11961 (y1_test): Likewise.
11962 * sysdeps/i386/fpu/libm-test-ulps: Update.
11963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11968 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11969 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11971 (__tanl): Set errno for infinite argument.
11972 * sysdeps/i386/fpu/mptan.c: Remove.
11973 * sysdeps/i386/fpu/s_tan.S: Likewise.
11974 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11975 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11976 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11977 * math/libm-test.inc (tan_test): Add more tests and enable more
11978 tests for double and long double.
11979 * sysdeps/i386/fpu/libm-test-ulps: Update.
11980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11982 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11984 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11985 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11987 2012-03-16 Roland McGrath <roland@hack.frob.com>
11989 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11990 * configure.in: Use it for both main tree and add-ons.
11991 * configure: Regenerated.
11993 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11995 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11997 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11999 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12003 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12004 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12006 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12009 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12011 != 0 for prec == 2.
12012 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12013 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12014 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12015 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12016 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12017 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12018 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12019 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12020 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12021 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12022 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12023 * math/libm-test.inc (cos_test): Add more tests and enable more
12024 tests for long double.
12025 (sin_test): Likewise.
12026 (sincos_test): Likewise.
12027 * sysdeps/i386/fpu/libm-test-ulps: Update.
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030 2012-03-16 David S. Miller <davem@davemloft.net>
12032 * sysdeps/sparc/fpu/math_private.h: New file.
12034 2012-03-15 David S. Miller <davem@davemloft.net>
12036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12050 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12051 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12053 * sysdeps/sparc/sparc-ifunc.h: New file.
12054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12097 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12099 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12101 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12105 2012-03-15 Andreas Jaeger <aj@suse.de>
12108 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12109 ieee754/flt-32 implementation for sin, cos and sincos.
12110 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12111 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12112 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12113 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12114 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12115 ieee754/flt-32 implementation for tan.
12117 * math/libm-test.inc (cos_test): Enable some large input tests for
12119 (sin_test): Likewise.
12120 (sincos_test): Likewise.
12121 (tan_test): Add tests for large input.
12123 * sysdeps/i386/fpu/libm-test-ulps: Update.
12125 2012-03-15 Andreas Jaeger <aj@suse.de>
12128 * math/libm-test.inc (cos_test): Add more test cases.
12129 (sin_test): Likewise.
12130 (sincos_test): Likewise.
12132 2012-03-15 Andreas Jaeger <aj@suse.de>
12135 * math/libm-test.inc (cos_test): Add a test case for large input
12137 (sin_test): Likewise.
12138 (sincos_test): Likewise.
12140 2012-03-15 Andreas Jaeger <aj@suse.de>,
12141 Joseph Myers <joseph@codesourcery.com>
12144 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12145 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12146 * sysdeps/i386/fpu/branred.c: Likewise.
12147 * sysdeps/i386/fpu/dosincos.c: Likewise.
12148 * sysdeps/i386/fpu/mpa.c: Likewise.
12149 * sysdeps/i386/fpu/s_cos.S: Likewise.
12150 * sysdeps/i386/fpu/s_sin.S: Likewise.
12151 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12152 * sysdeps/i386/fpu/sincos32.c: Likewise.
12154 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12156 (libc_feupdateenv_53bit): Define.
12157 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12159 (libc_feupdateenv_53bit): Define.
12161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12162 53 bit (without extend i386 double precision).
12164 * math/libm-test.inc (sincos_test): Add tests for large input.
12168 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12170 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12174 2012-03-15 David S. Miller <davem@davemloft.net>
12176 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12177 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12178 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12179 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12204 fmin/fmax sysdep routines.
12205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12207 2012-03-14 David S. Miller <davem@davemloft.net>
12209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12281 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12286 * sysdeps/sparc/configure.in: New file.
12287 * sysdeps/sparc/configure: Generate.
12288 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12289 * configure: Regenerate.
12290 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12291 * config.make.in (have-as-vis3): New.
12292 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12293 available use -Av9d instead of -Av9a.
12294 * sysdeps/sparc/sparc64/Makefile: Likewise.
12295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12310 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12311 fzeros/fnegs to load 0x80000000 into a float register instead of
12313 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12315 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12319 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12320 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12321 ($(inst_includedir)/bits/syscall.h): Remove rule.
12322 ($(objpfx)bits/syscall.d): Include instead of
12323 $(objpfx)syscall-list.d.
12324 (generated): Change syscall-list.h and syscall-list.d to
12325 bits/syscall.h and bits/syscall.d.
12327 2012-03-14 Roland McGrath <roland@hack.frob.com>
12330 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12332 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12335 * math/s_csqrt.c: Include <float.h>.
12336 (__csqrt): Scale large or subnormal inputs.
12337 * math/s_csqrtf.c: Likewise.
12338 * math/s_csqrtl.c: Likewise.
12339 * math/libm-test.inc (csqrt_test): Add more tests.
12340 * sysdeps/i386/fpu/libm-test-ulps: Update.
12341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12344 * math/libm-test.inc (hypot_test): Add more tests.
12346 2012-03-13 David S. Miller <davem@davemloft.net>
12349 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12350 double-precision for the calculation instead of scaling.
12352 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12354 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12355 manipulate bits before adding and subtracting TWO52[sx].
12356 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12361 2012-03-13 David S. Miller <davem@davemloft.net>
12363 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12364 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12366 rtld-global-offsets.h
12367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12369 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12372 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12374 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12375 'err' in the ifdef scope in which it is actually used.
12377 * nss/nss_db/db-init.c: Include string.h
12379 2012-03-12 David S. Miller <davem@davemloft.net>
12381 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12382 masking out of the most significant byte of random value used.
12383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12384 Fix coding style in previous change.
12386 * sysdeps/unix/sysv/linux/kernel-features.h
12387 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12388 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12390 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12393 2012-03-11 David S. Miller <davem@davemloft.net>
12395 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12396 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12398 for 'resultvar' otherwise things get truncated on 64-bit.
12400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12401 Fix masking out of the most significant byte of random value used.
12403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12405 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12409 2012-03-09 David S. Miller <davem@davemloft.net>
12411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12412 variables with appropriate CPP guards.
12413 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12414 frame pointer, not the stack pointer. Correct layout comments. Fix test
12415 on resulting framesize and the management of the outregs buffer for pltexit.
12416 Preserve floating point return values across _dl_call_pltexit call.
12417 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12418 framesize and the management of the outregs buffer for pltexit.
12419 Preserve floating point return values across _dl_call_pltexit
12421 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12422 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12423 (print_exit): Fix format string for return register value.
12425 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12427 * sunrpc/Makefile (others): Add rpcgen.
12428 ($(objpfx)rpcgen): Remove special build rule and dependency on
12430 * sunrpc/rpcgen.c: New file.
12432 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12435 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12436 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12437 * sysdeps/i386/crti.S: Likewise.
12438 * sysdeps/i386/crtn.S: Likewise.
12439 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12440 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12443 * sysdeps/sh/crti.S: Likewise.
12444 * sysdeps/sh/crtn.S: Likewise.
12445 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12448 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12450 * locale/programs/locfile-kw.gperf: Likewise.
12451 * locale/programs/charmap-kw.h: Regenerated.
12452 * locale/programs/locfile-kw.h: Likewise.
12455 * intl/plural.y: Replace FSF snail mail address with URL.
12456 * intl/plural.c: Regenerated.
12458 2012-03-09 Richard Henderson <rth@twiddle.net>
12460 * include/math_private.h: Remove file.
12461 * math/math_private.h: Move file ...
12462 * sysdeps/generic/math_private.h: ... here.
12464 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12465 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12466 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12468 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12469 and <math_private.h>.
12470 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12471 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12472 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12473 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12474 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12479 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12481 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12482 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12484 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12491 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12495 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12496 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12500 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12501 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12502 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12503 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12512 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12514 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12517 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12518 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12521 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12522 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12523 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12524 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12525 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12526 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12527 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12528 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12529 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12530 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12531 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12534 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12535 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12536 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12542 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12544 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12549 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12550 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12552 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12553 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12554 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12558 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12559 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12560 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12561 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12563 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12564 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12574 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12575 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12576 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12577 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12578 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12579 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12580 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12581 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12582 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12583 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12584 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12586 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12587 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12588 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12589 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12593 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12594 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12595 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12596 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12597 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12598 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12599 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12600 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12601 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12602 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12603 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12604 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12605 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12606 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12607 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12608 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12609 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12610 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12611 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12612 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12613 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12614 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12615 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12616 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12617 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12618 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12619 * sysdeps/ieee754/k_standard.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12708 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12711 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12713 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12735 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12739 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12742 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12747 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12752 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12768 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12769 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12770 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12780 * sysdeps/ieee754/s_lib_version.c: Likewise.
12781 * sysdeps/ieee754/s_matherr.c: Likewise.
12782 * sysdeps/ieee754/s_signgam.c: Likewise.
12783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12785 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12786 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12787 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12788 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12789 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12790 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12791 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12792 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12793 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12794 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12795 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12796 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12797 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12798 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12799 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12800 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12801 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12805 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12807 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12808 * sunrpc/rpc_main.c: Likewise.
12809 * sunrpc/rpc_svcout.c: Likewise.
12811 2012-03-09 David S. Miller <davem@davemloft.net>
12813 * include/math_private.h: New file.
12815 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12817 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12818 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12819 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12820 from <bits/socket_type.h>.
12821 (enum __socket_type): Don't define here.
12822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12824 bits/socket_type.h.
12827 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12828 checking __USE_GNU.
12830 * Makerules ($(inst_includedir)/%.h): New rule.
12831 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12832 (install-others): Remove variable setting.
12833 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12835 2012-03-08 Richard Henderson <rth@twiddle.net>
12837 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12838 from macro to inline function; merge with the
12839 !__LIBC_INTERNAL_MATH_INLINES version.
12840 (__ieee754_sqrtf): Likewise.
12842 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12843 to inline function.
12844 (__rintf, __floor, __floorf): Likewise.
12846 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12847 macro to inline function.
12848 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12851 not <math/math_private.h>.
12853 2012-03-08 David S. Miller <davem@davemloft.net>
12855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12857 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12859 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12861 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12863 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12864 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12866 2012-03-08 Ulrich Drepper <drepper@gmail.com>
12868 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12869 be defined individually, they must be defined as a block. Define
12870 S for printing a string instead of hidint the different by using a
12871 macro for adding the 'l'.
12872 * stdio-common/tst-fphex-wide.c: Adjust.
12874 2012-03-07 Marek Polacek <polacek@redhat.com>
12876 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12878 2012-03-08 Marek Polacek <polacek@redhat.com>
12881 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12882 * stdio-common/tst-fphex.c: Define a few macros to make the
12883 test reusable. Use them.
12884 * stdio-common/tst-fphex-wide.c: New file.
12886 2012-03-08 Joseph Myers <joseph@codesourcery.com>
12889 * manual/macros.texi (gnusystems): New macro.
12890 (nongnusystems): Likewise.
12891 (gnulinuxhurdsystems): Likewise.
12892 (gnuhurdsystems): Likewise..
12893 (gnulinuxsystems): Likewise.
12894 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12895 variants of the GNU system, not "GNU system".
12896 * manual/conf.texi: Likewise.
12897 * manual/errno.texi: Likewise. Update example of errno macro
12899 * manual/filesys.texi: Likewise.
12900 (getumask): Document as specific to GNU/Hurd.
12901 * manual/install.texi: Likewise. Reword some references to
12903 * manual/intro.texi: Likewise.
12904 * manual/io.texi: Likewise.
12905 (File Name Portability): Detail which constraints are inapplicable
12906 to all GNU systems and which are only inapplicable to GNU/Hurd.
12907 * manual/job.texi: Likewise.
12908 * manual/llio.texi: Likewise.
12909 (O_NOCTTY): Document as present on GNU/Linux.
12910 * manual/maint.texi: Likewise.
12911 * manual/memory.texi: Likewise.
12912 * manual/pattern.texi: Likewise.
12913 * manual/pipe.texi: Likewise.
12914 * manual/process.texi: Likewise.
12915 * manual/resource.texi: Likewise.
12916 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12918 * manual/setjmp.texi: Likewise.
12919 * manual/signal.texi: Likewise.
12920 * manual/startup.texi: Likewise.
12921 * manual/stdio.texi: Likewise.
12922 * manual/terminal.texi: Likewise.
12923 (ONLCR): Document as POSIX.
12924 (OXTABS): Document availability on GNU/Linux as XTABS.
12925 (ONOEOT): Document availability separately from other bits.
12926 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12927 * manual/time.texi: Likewise.
12928 * manual/users.texi: Likewise.
12929 * INSTALL: Regenerated.
12930 * sysdeps/gnu/errlist.c: Regenerated.
12932 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12933 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12934 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12936 * configure: Regenerated.
12938 2012-03-07 Joseph Myers <joseph@codesourcery.com>
12940 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12941 default includes instead of AC_HEADER_CHECK.
12942 * sysdeps/i386/configure: Regenerated.
12945 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12946 * math/s_cacoshf.c (__cacoshf): Likewise.
12947 * math/s_cacoshl.c (__cacoshl): Likewise.
12948 * math/s_casinh.c (__casinh): Set signs of result from argument.
12949 * math/s_casinhf.c (__casinhf): Likewise.
12950 * math/s_casinhl.c (__casinhl): Likewise.
12951 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12952 (casinh_test): Add more tests.
12953 * sysdeps/i386/fpu/libm-test-ulps: Update.
12954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956 2012-03-07 Ulrich Drepper <drepper@gmail.com>
12958 * po/zh_TW.po: Update from translation team.
12960 * login/Makefile (distribute): Remove variable.
12961 * catgets/Makefile: Likewise.
12962 * mach/Makefile: Likewise.
12963 * malloc/Makefile: Likewise.
12964 * misc/Makefile: Likewise.
12965 * iconv/Makefile: Likewise.
12966 * nscd/Makefile: Likewise.
12967 * hurd/Makefile: Likewise.
12968 * manual/Makefile: Likewise.
12969 * locale/Makefile: Likewise.
12970 * intl/Makefile: Likewise.
12971 * conform/Makefile: Likewise.
12972 * nss/Makefile: Likewise.
12973 * time/Makefile: Likewise.
12974 * soft-fp/Makefile: Likewise.
12975 * dirent/Makefile: Likewise.
12976 * gmon/Makefile: Likewise.
12977 * po/Makefile: Likewise.
12978 * rt/Makefile: Likewise.
12979 * socket/Makefile: Likewise.
12980 * math/Makefile: Likewise.
12981 * signal/Makefile: Likewise.
12982 * debug/Makefile: Likewise.
12983 * elf/Makefile: Likewise.
12984 * timezone/Makefile: Likewise.
12985 * stdlib/Makefile: Likewise.
12986 * iconvdata/Makefile: Likewise.
12987 * sunrpc/Makefile: Likewise.
12988 * io/Makefile: Likewise.
12989 * argp/Makefile: Likewise.
12990 * inet/Makefile: Likewise.
12991 * hesiod/Makefile: Likewise.
12992 * grp/Makefile: Likewise.
12993 * csu/Makefile: Likewise.
12994 * wctype/Makefile: Likewise.
12995 * crypt/Makefile: Likewise.
12996 * libio/Makefile: Likewise.
12997 * string/Makefile: Likewise.
12998 * nis/Makefile: Likewise.
12999 * resolv/Makefile: Likewise.
13000 * stdio-common/Makefile: Likewise.
13001 * wcsmbs/Makefile: Likewise.
13002 * dlfcn/Makefile: Likewise.
13003 * posix/Makefile: Likewise.
13006 * timezone/Makefile: Don't install timezone files, just the programs
13009 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13011 * nss/databases.def: Add missing gshadow entry.
13013 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13015 2012-03-06 Marek Polacek <polacek@redhat.com>
13018 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13019 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13020 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13021 * stdio-common/tst-long-dbl-fphex.c: New file.
13023 2012-03-06 David S. Miller <davem@davemloft.net>
13025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13026 (set_obp_int): New function.
13027 (get_obp_int): New function.
13028 (__get_clockfreq_via_dev_openprom): Likewise.
13029 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13030 Avoid unused variable warnings on 'val' and use builtin_expect.
13031 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13033 (INLINE_CLONE_SYSCALL): Likewise.
13035 2012-03-05 David S. Miller <davem@davemloft.net>
13037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13039 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13044 only for |x| >= 40.
13045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13047 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13049 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13050 Replace gettimeofday with __vdso_gettimeofday.
13052 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13053 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13054 __vdso_clock_gettime and __vdso_getcpu.
13056 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13057 time with __vdso_time.
13059 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13061 * manual/lang.texi (size_t): Note types to which size_t may be
13062 equivalent with the GNU C Library, but do not describe when
13063 differences between them are significant.
13065 2012-03-05 Andreas Jaeger <aj@suse.de>
13067 * sysdeps/i386/fpu/libm-test-ulps: Update.
13069 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13072 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13073 (__ieee754_pow): Save and restore rounding mode and use
13074 round-to-nearest for main computations.
13075 * math/libm-test.inc (pow_test_tonearest): New function.
13076 (pow_test_towardzero): Likewise.
13077 (pow_test_downward): Likewise.
13078 (pow_test_upward): Likewise.
13079 (main): Call the new functions.
13080 * sysdeps/i386/fpu/libm-test-ulps: Update.
13081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13084 * math/libm-test.inc (cosh_test_tonearest): New function.
13085 (cosh_test_towardzero): Likewise.
13086 (cosh_test_downward): Likewise.
13087 (cosh_test_upward): Likewise.
13088 (sinh_test_tonearest): Likewise.
13089 (sinh_test_towardzero): Likewise.
13090 (sinh_test_downward): Likewise.
13091 (sinh_test_upward): Likewise.
13092 (main): Call the new functions.
13093 * sysdeps/i386/fpu/libm-test-ulps: Update.
13094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13096 2012-03-05 Tom de Vries <tom@codesourcery.com>
13098 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13099 default stack guard is set in last bytes.
13100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13102 2012-03-05 Kees Cook <keescook@chromium.org>
13104 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13107 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13108 possibly allocate from heap instead of stack.
13109 * stdio-common/bug-vfprintf-nargs.c: New file.
13110 * stdio-common/Makefile (tests): Add nargs overflow test.
13112 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13116 2012-03-03 Marek Polacek <polacek@redhat.com>
13118 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13119 * math/math_private.h: Likewise.
13120 * stdlib/tst-strtod.c: Likewise.
13121 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13122 * sysdeps/x86_64/bits/atomic.h: Likewise.
13124 2012-03-02 David S. Miller <davem@davemloft.net>
13126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13130 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13131 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13132 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13133 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13135 2012-03-02 Roland McGrath <roland@hack.frob.com>
13138 * manual/examples/README: New file, says the example source files
13139 can be used under GPL>=2.
13140 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13141 line containing just "*/".
13142 * manual/examples/add.c: Add copyright header (GPL>=2).
13143 * manual/examples/argp-ex1.c: Likewise.
13144 * manual/examples/argp-ex2.c: Likewise.
13145 * manual/examples/argp-ex3.c: Likewise.
13146 * manual/examples/argp-ex4.c: Likewise.
13147 * manual/examples/atexit.c: Likewise.
13148 * manual/examples/db.c: Likewise.
13149 * manual/examples/dir.c: Likewise.
13150 * manual/examples/dir2.c: Likewise.
13151 * manual/examples/execinfo.c: Likewise.
13152 * manual/examples/filecli.c: Likewise.
13153 * manual/examples/filesrv.c: Likewise.
13154 * manual/examples/fmtmsgexpl.c: Likewise.
13155 * manual/examples/genpass.c: Likewise.
13156 * manual/examples/inetcli.c: Likewise.
13157 * manual/examples/inetsrv.c: Likewise.
13158 * manual/examples/isockad.c: Likewise.
13159 * manual/examples/longopt.c: Likewise.
13160 * manual/examples/memopen.c: Likewise.
13161 * manual/examples/memstrm.c: Likewise.
13162 * manual/examples/mkfsock.c: Likewise.
13163 * manual/examples/mkisock.c: Likewise.
13164 * manual/examples/mygetpass.c: Likewise.
13165 * manual/examples/pipe.c: Likewise.
13166 * manual/examples/popen.c: Likewise.
13167 * manual/examples/rprintf.c: Likewise.
13168 * manual/examples/search.c: Likewise.
13169 * manual/examples/select.c: Likewise.
13170 * manual/examples/setjmp.c: Likewise.
13171 * manual/examples/sigh1.c: Likewise.
13172 * manual/examples/sigusr.c: Likewise.
13173 * manual/examples/stpcpy.c: Likewise.
13174 * manual/examples/strdupa.c: Likewise.
13175 * manual/examples/strftim.c: Likewise.
13176 * manual/examples/strncat.c: Likewise.
13177 * manual/examples/subopt.c: Likewise.
13178 * manual/examples/swapcontext.c: Likewise.
13179 * manual/examples/termios.c: Likewise.
13180 * manual/examples/testopt.c: Likewise.
13181 * manual/examples/testpass.c: Likewise.
13182 * manual/examples/timeval_subtract.c: Likewise.
13185 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13187 * manual/timeval_subtract.c.texi: ... here, new file.
13189 2012-03-02 David S. Miller <davem@davemloft.net>
13191 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13193 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13196 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13197 (__sin): Save and restore rounding mode and use round-to-nearest
13198 for all computations.
13199 (__cos): Save and restore rounding mode and use round-to-nearest
13200 for all computations.
13201 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13203 (tan): Save and restore rounding mode and use round-to-nearest for
13205 * math/libm-test.inc (cos_test_tonearest): New function.
13206 (cos_test_towardzero): Likewise.
13207 (cos_test_downward): Likewise.
13208 (cos_test_upward): Likewise.
13209 (sin_test_tonearest): Likewise.
13210 (sin_test_towardzero): Likewise.
13211 (sin_test_downward): Likewise.
13212 (sin_test_upward): Likewise.
13213 (tan_test_tonearest): Likewise.
13214 (tan_test_towardzero): Likewise.
13215 (tan_test_downward): Likewise.
13216 (tan_test_upward): Likewise.
13217 (main): Call the new functions.
13218 * sysdeps/i386/fpu/libm-test-ulps: Update.
13219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13223 small n, then large n, before computing and testing k+n.
13224 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13229 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13230 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13236 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13237 * math/libm-test.inc (scalbn_test): Add more tests.
13238 (scalbln_test): Likewise.
13240 * manual/filesys.texi (mode_t): Describe constraints on size and
13241 signedness, not exact equivalence to a particular type.
13243 (ino64_t): Likewise.
13245 (nlink_t): Likewise.
13246 (blkcnt_t): Likewise.
13247 (blkcnt64_t): Likewise.
13248 * manual/llio.texi (off_t): Likewise.
13251 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13252 (__ieee754_exp): Save and restore rounding mode and use
13253 round-to-nearest for all computations.
13254 * math/libm-test.inc (exp_test_tonearest): New function.
13255 (exp_test_towardzero): Likewise.
13256 (exp_test_downward): Likewise.
13257 (exp_test_upward): Likewise.
13258 (main): Call the new functions.
13259 * sysdeps/i386/fpu/libm-test-ulps: Update.
13260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13262 2012-03-01 Chris Demetriou <cgd@google.com>
13264 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13265 have predictable order.
13267 2012-03-01 David S. Miller <davem@davemloft.net>
13269 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13271 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13272 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13273 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13274 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13276 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13277 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13278 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13280 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13281 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13282 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13284 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13289 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13292 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13293 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13294 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13295 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13296 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13298 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13299 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13300 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13301 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13302 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13308 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13309 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13310 * sysdeps/sparc/elf/configure: Regenerated.
13312 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13314 * configure.in (AS, LD): Require binutils 2.20 or later.
13315 * configure: Regenerated.
13316 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13317 as required minimum version.
13318 * INSTALL: Regenerated.
13322 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13323 before squaring exponent.
13324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13325 bottom long double and 27 bits of top long double before squaring
13327 * math/libm-test.inc (erfc_test): Add more tests.
13328 * sysdeps/i386/fpu/libm-test-ulps: Update.
13329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13332 2012-03-01 Kai Tietz <ktietz@redhat.com>
13334 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13335 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13336 containing bit-fields.
13337 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13338 * soft-fp/single.h (_FP_UNION_S): Likewise.
13339 * soft-fp/double.h (_FP_UNION_D): Likewise.
13341 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13344 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13345 not include ../strcmp.S.
13346 [USE_AS_STRNCASECMP_L]: Likewise.
13347 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13348 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13349 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13350 (__strncasecmp_l_ia32): Define as alias to
13351 __strncasecmp_l_nonascii.
13354 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13355 * sysdeps/i386/fpu/libm-test-ulps: Update.
13356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13358 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13361 2012-02-29 Jeff Law <law@redhat.com>
13363 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13364 out of bounds read.
13366 2012-02-29 Marek Polacek <polacek@redhat.com>
13369 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13370 * elf/Makefile: Add rules to run tst-unused-dep.out.
13372 2012-02-28 David S. Miller <davem@davemloft.net>
13374 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13375 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13377 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13378 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13379 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13381 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13383 * math/libm-test.inc (llround_test): Move one test from
13384 lround_test. Use TEST_f_L in moved test.
13385 (lround_test): Move misplaced test to llround_test. Add testcase
13388 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13390 * sysdeps/x86_64/fpu/e_expf.S: New file.
13391 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13393 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13396 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13397 of remain_len that may cause incomplete multi-byte character and
13399 * posix/bug-regex33.c: New file.
13400 * posix/Makefile (tests): Add bug-regex33.
13402 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13404 * manual/macros.texi: New file.
13405 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13406 * manual/libc.texinfo: Include macros.texi.
13407 * manual/creatute.texi: Likewise.
13408 * manual/install.texi: Likewise.
13409 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13410 @glibcadj{} in references to the GNU C Library.
13411 * manual/charset.texi: Likewise.
13412 * manual/conf.texi: Likewise.
13413 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13414 when not using those macros.
13415 * manual/creature.texi: Likewise.
13416 * manual/crypt.texi: Likewise.
13417 * manual/errno.texi: Likewise.
13418 * manual/filesys.texi: Likewise.
13419 * manual/header.texi: Likewise.
13420 * manual/install.texi: Likewise.
13421 * manual/intro.texi: Likewise.
13422 * manual/io.texi: Likewise.
13423 * manual/job.texi: Likewise.
13424 * manual/lang.texi: Likewise.
13425 * manual/libc.texiinfo: Likewise.
13426 * manual/llio.texi: Likewise.
13427 * manual/locale.texi: Likewise.
13428 * manual/maint.texi: Likewise.
13429 * manual/math.texi: Likewise.
13430 * manual/memory.texi: Likewise.
13431 * manual/message.texi: Likewise.
13432 * manual/nss.texi: Likewise.
13433 * manual/pattern.texi: Likewise.
13434 * manual/process.texi: Likewise.
13435 * manual/resource.texi: Likewise.
13436 * manual/search.texi: Likewise.
13437 * manual/setjmp.texi: Likewise.
13438 * manual/signal.texi: Likewise.
13439 * manual/socket.texi: Likewise.
13440 * manual/startup.texi: Likewise.
13441 * manual/stdio.texi: Likewise.
13442 * manual/string.texi: Likewise.
13443 * manual/sysinfo.texi: Likewise.
13444 * manual/syslog.texi: Likewise.
13445 * manual/terminal.texi: Likewise.
13446 * manual/time.texi: Likewise.
13447 * manual/users.texi: Likewise.
13448 * INSTALL: Regenerated.
13449 * NOTES: Regenerated.
13450 * sysdeps/gnu/errlist.c: Regenerated.
13452 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13454 * include/dirent.h: Include <dirstream.h> before
13457 2012-02-28 David S. Miller <davem@davemloft.net>
13459 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13460 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13461 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13462 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13464 2012-02-27 David S. Miller <davem@davemloft.net>
13466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13468 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13469 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13472 frame pointer instead of stack pointer relative arg slot.
13473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13474 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13475 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13477 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13480 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13482 2012-02-27 David S. Miller <davem@davemloft.net>
13484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13488 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13489 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13490 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13491 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13493 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13495 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13496 later. Allow versions 5-9.
13497 * configure: Regenerated.
13498 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13499 required minimum version and 4.6 as recommended version. Do not
13500 mention bugs in GCC 2.7 and 2.8.
13501 * INSTALL: Regenerated.
13503 2012-02-27 David S. Miller <davem@davemloft.net>
13505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13509 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13510 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13511 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13512 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13515 manipulate bits before adding and subtracting TWO112[sx].
13516 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13518 2012-02-27 Roland McGrath <roland@hack.frob.com>
13521 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13522 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13523 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13524 being in POSIX, because they are in 1003.1-2008.
13526 * rt/tst-aio.c: Include <fcntl.h>.
13527 * rt/tst-aio7.c: Likewise.
13528 * rt/tst-aio64.c: Likewise.
13530 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13532 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13534 * manual/install.texi (--with-headers): Describe headers as
13535 interface headers, not private headers.
13536 (Specific advice for GNU/Linux systems): Describe use of headers
13537 from "make headers_install", not private headers from older
13539 * INSTALL: Regenerated.
13540 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13542 * sysdeps/unix/sysv/linux/configure: Regenerated.
13544 * manual/llio.texi (fclean): Remove documentation.
13546 * manual/Makefile (libc-texi-generated): New variable. Include
13548 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13549 $(libc-texi-generated), not duplicated list of files.
13550 (version.texi, stamp-version): New rules.
13551 (realclean): Remove $(libc-texi-generated), not individual files
13552 from that list. Do not remove dir-add.texinfo.
13553 * manual/libc.texinfo: Comment out uses of edition numbers and
13554 references to printed manual. Remove last-updated dates.
13555 (EDITION): Comment out.
13557 (VERSION, UPDATED): Remove.
13558 (version.texi): Include.
13560 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13562 * sysdeps/posix/spawni.c: Include <signal.h>.
13563 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13564 * sysdeps/pthread/aio_fsync.c: Likewise.
13566 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13568 * conform/Makefile (tests): Run only when not cross-compiling and
13569 when fast-check is not defined.
13571 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13572 * conform/data/limits.h-data: Fixes for POSIX2008.
13573 * conform/run-conformtest.sh: Run all tests.
13574 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13576 * include/bits/dlfcn.h: Likewise.
13577 * include/langinfo.h: Likewise.
13578 * include/monetary.h: Likewise.
13579 * include/sys/poll.h: Likewise.
13581 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13583 * posix/spawn.h: Define __need_sigset_t.
13584 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13585 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13586 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13587 to get sigevent_t only.
13588 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13589 only for __USE_GNU.
13590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13591 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13592 process_vm_writev only for __USE_GNU.
13593 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13595 * conform/Makefile: For now ignore errors from run-conformtest.
13596 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13597 POSIX to avoid namespace pollution. Don't prepend headers.
13598 * conform/data/aio.h-data: Fixes for POSIX testing.
13599 * conform/data/fcntl.h-data: Likewise.
13600 * conform/data/glob.h-data: Likewise.
13601 * conform/data/grp.h-data: Likewise.
13602 * conform/data/pthread.h-data: Likewise.
13603 * conform/data/pwd.h-data: Likewise.
13604 * conform/data/signal.h-data: Likewise.
13605 * conform/data/spawn.h-data: Likewise.
13606 * conform/data/stdio.h-data: Likewise.
13607 * conform/data/stdlib.h-data: Likewise.
13608 * conform/data/stropts.h-data: Likewise.
13609 * conform/data/sys/mman.h-data: Likewise.
13610 * conform/data/sys/stat.h-data: Likewise.
13611 * conform/data/sys/types.h-data: Likewise.
13612 * conform/data/sys/wait.h-data: Likewise.
13613 * conform/data/time.h-data: Likewise.
13614 * conform/data/unistd.h-data: Likewise.
13615 * conform/data/utime.h-data: Likewise.
13617 * io/sys/stat.h: fchmod was always in POSIX.
13618 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13619 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13620 * rt/aio.h: Define __need_timespec before including <time.h>.
13621 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13622 struct. Add forward declaration of pthread_attr_t and use it in
13624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13626 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13627 always remove CLK_TCK definition.
13629 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13631 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13633 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13635 * conform/run-conformtest.sh: New file.
13636 * conform/Makefile: Run run-conformtest for tests.
13637 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13640 * conform/data/uchar.h-data: New file.
13641 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13642 * conform/data/arpa/inet.h-data: Likewise.
13643 * conform/data/assert.h-data: Likewise.
13644 * conform/data/complex.h-data: Likewise.
13645 * conform/data/cpio.h-data: Likewise.
13646 * conform/data/ctype.h-data: Likewise.
13647 * conform/data/dirent.h-data: Likewise.
13648 * conform/data/dlfcn.h-data: Likewise.
13649 * conform/data/errno.h-data: Likewise.
13650 * conform/data/fcntl.h-data: Likewise.
13651 * conform/data/float.h-data: Likewise.
13652 * conform/data/fmtmsg.h-data: Likewise.
13653 * conform/data/fnmatch.h-data: Likewise.
13654 * conform/data/ftw.h-data: Likewise.
13655 * conform/data/glob.h-data: Likewise.
13656 * conform/data/grp.h-data: Likewise.
13657 * conform/data/iconv.h-data: Likewise.
13658 * conform/data/inttypes.h-data: Likewise.
13659 * conform/data/langinfo.h-data: Likewise.
13660 * conform/data/libgen.h-data: Likewise.
13661 * conform/data/limits.h-data: Likewise.
13662 * conform/data/locale.h-data: Likewise.
13663 * conform/data/math.h-data: Likewise.
13664 * conform/data/monetary.h-data: Likewise.
13665 * conform/data/mqueue.h-data: Likewise.
13666 * conform/data/ndbm.h-data: Likewise.
13667 * conform/data/net/if.h-data: Likewise.
13668 * conform/data/netdb.h-data: Likewise.
13669 * conform/data/netinet/in.h-data: Likewise.
13670 * conform/data/nl_types.h-data: Likewise.
13671 * conform/data/poll.h-data: Likewise.
13672 * conform/data/pthread.h-data: Likewise.
13673 * conform/data/pwd.h-data: Likewise.
13674 * conform/data/regex.h-data: Likewise.
13675 * conform/data/sched.h-data: Likewise.
13676 * conform/data/search.h-data: Likewise.
13677 * conform/data/semaphore.h-data: Likewise.
13678 * conform/data/setjmp.h-data: Likewise.
13679 * conform/data/signal.h-data: Likewise.
13680 * conform/data/spawn.h-data: Likewise.
13681 * conform/data/stdarg.h-data: Likewise.
13682 * conform/data/stdio.h-data: Likewise.
13683 * conform/data/stdlib.h-data: Likewise.
13684 * conform/data/string.h-data: Likewise.
13685 * conform/data/strings.h-data: Likewise.
13686 * conform/data/stropts.h-data: Likewise.
13687 * conform/data/sys/ipc.h-data: Likewise.
13688 * conform/data/sys/mman.h-data: Likewise.
13689 * conform/data/sys/msg.h-data: Likewise.
13690 * conform/data/sys/resource.h-data: Likewise.
13691 * conform/data/sys/select.h-data: Likewise.
13692 * conform/data/sys/sem.h-data: Likewise.
13693 * conform/data/sys/shm.h-data: Likewise.
13694 * conform/data/sys/socket.h-data: Likewise.
13695 * conform/data/sys/stat.h-data: Likewise.
13696 * conform/data/sys/statvfs.h-data: Likewise.
13697 * conform/data/sys/time.h-data: Likewise.
13698 * conform/data/sys/timeb.h-data: Likewise.
13699 * conform/data/sys/times.h-data: Likewise.
13700 * conform/data/sys/types.h-data: Likewise.
13701 * conform/data/sys/uio.h-data: Likewise.
13702 * conform/data/sys/un.h-data: Likewise.
13703 * conform/data/sys/utsname.h-data: Likewise.
13704 * conform/data/sys/wait.h-data: Likewise.
13705 * conform/data/syslog.h-data: Likewise.
13706 * conform/data/tar.h-data: Likewise.
13707 * conform/data/termios.h-data: Likewise.
13708 * conform/data/utime.h-data: Likewise.
13709 * conform/data/utmpx.h-data: Likewise.
13710 * conform/data/varargs.h-data: Likewise.
13711 * conform/data/wchar.h-data: Likewise.
13712 * conform/data/wctype.h-data: Likewise.
13713 * conform/data/wordexp.h-data: Likewise.
13715 * include/stropts.h: New file.
13716 * include/uchar.h: New file.
13717 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13718 * include/assert.h: Likewise.
13719 * include/ctype.h: Likewise.
13720 * include/dirent.h: Likewise.
13721 * include/dlfcn.h: Likewise.
13722 * include/fcntl.h: Likewise.
13723 * include/fnmatch.h: Likewise.
13724 * include/glob.h: Likewise.
13725 * include/grp.h: Likewise.
13726 * include/libio.h: Likewise.
13727 * include/locale.h: Likewise.
13728 * include/math.h: Likewise.
13729 * include/net/if.h: Likewise.
13730 * include/netdb.h: Likewise.
13731 * include/netinet/in.h: Likewise.
13732 * include/pthread.h: Likewise.
13733 * include/pwd.h: Likewise.
13734 * include/regex.h: Likewise.
13735 * include/sched.h: Likewise.
13736 * include/search.h: Likewise.
13737 * include/setjmp.h: Likewise.
13738 * include/signal.h: Likewise.
13739 * include/stdio.h: Likewise.
13740 * include/stdlib.h: Likewise.
13741 * include/string.h: Likewise.
13742 * include/sys/cdefs.h: Likewise.
13743 * include/sys/mman.h: Likewise.
13744 * include/sys/msg.h: Likewise.
13745 * include/sys/resource.h: Likewise.
13746 * include/sys/select.h: Likewise.
13747 * include/sys/socket.h: Likewise.
13748 * include/sys/stat.h: Likewise.
13749 * include/sys/statvfs.h: Likewise.
13750 * include/sys/time.h: Likewise.
13751 * include/sys/times.h: Likewise.
13752 * include/sys/uio.h: Likewise.
13753 * include/sys/utsname.h: Likewise.
13754 * include/sys/wait.h: Likewise.
13755 * include/termios.h: Likewise.
13756 * include/time.h: Likewise.
13757 * include/ulimit.h: Likewise.
13758 * include/unistd.h: Likewise.
13759 * include/utime.h: Likewise.
13760 * include/wchar.h: Likewise.
13761 * include/wctype.h: Likewise.
13762 * include/wordexp.h: Likewise.
13764 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13766 * time/time.h: TIME_UTC must be a macro.
13767 Make timespec_get available for ISO C11 only as well.
13769 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13771 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13772 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13774 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13776 * configure.in: Use -o not -a in test for unsupported multi-arch.
13778 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13780 * manual/texinfo.tex: Update to version 2012-01-19.16.
13782 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13784 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13786 2012-02-24 Roland McGrath <roland@hack.frob.com>
13789 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13790 * manual/fdl-1.3.texi: New file.
13791 * manual/fdl-1.1.texi: File removed.
13794 * manual/libc.texinfo (FDL_VERSION): New @set.
13795 Use it for mention of FDL in cover text.
13796 (Documentation License): Use it in @include file name.
13798 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13799 Roland McGrath <roland@hack.frob.com>
13802 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13803 not LONG_LONG_MAX and LONG_LONG_MIN.
13804 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13805 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13807 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13809 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13813 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13814 manipulate bits before adding and subtracting TWO23[sx].
13815 * math/libm-test.inc (nearbyint_test): Add more tests.
13817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13820 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13821 bits before adding and subtracting TWO23[sx].
13822 * math/libm-test.inc (rint_test): Add more tests.
13823 (rint_test_tonearest): Likewise.
13824 (rint_test_towardzero): Likewise.
13825 (rint_test_downward): Likewise.
13826 (rint_test_upward: Likewise.
13828 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13831 * include/stdc-predef.h: New file. Extracted from features.h.
13832 * include/features.h: Include stdc-predef.h.
13833 * Makefile (headers): Add stdc-predef.h.
13834 * CONFORMANCE (Compiler limitations): Update.
13836 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13838 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13840 2012-02-21 David S. Miller <davem@davemloft.net>
13842 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13843 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13845 2012-02-20 David S. Miller <davem@davemloft.net>
13847 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13848 using a normal save/restore sequence, rather than allocating a
13849 dummy stack frame just to store a frame pointer and restore.
13850 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13852 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13854 * manual/install.texi: Fix stray word in line-wrapped comment.
13856 2012-02-20 David S. Miller <davem@davemloft.net>
13858 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13859 both binutils and gcc support GOTDATA.
13861 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13862 "rd %pc" in the PIC register setup sequences.
13864 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13865 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13866 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13867 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13868 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13870 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13871 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13873 (SYSCALL_ERROR_HANDLER): Likewise.
13874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13875 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13877 (SYSCALL_ERROR_HANDLER): Likewise.
13879 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13880 (HAVE_GCC_GOTDATA): New.
13881 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13882 relocation support in both binutils and gcc.
13883 * sysdeps/sparc/elf/configure: Regenerate.
13885 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13886 * sysdeps/sparc/sparc32/elf/configure: Delete.
13887 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13888 * sysdeps/sparc/sparc64/elf/configure: Delete.
13889 * sysdeps/sparc/elf/configure.in: New file.
13890 * sysdeps/sparc/elf/configure: Generate.
13892 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13893 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13895 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13896 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13898 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13900 * manual/install.texi: Do not mention specific glibc version
13902 * manual/libc.texinfo (VERSION, UPDATED): Update.
13903 (@copying): Use @copyright{} and range of years.
13905 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13908 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13909 [crti.S not in sysdirs] (generated): Do not append.
13910 [crti.S not in sysdirs] (omit-deps): Likewise.
13911 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13912 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13913 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13914 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13915 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13917 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13918 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13919 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13920 * csu/defs.awk: Remove file.
13921 * sysdeps/generic/initfini.c: Likewise.
13922 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13924 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13927 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13929 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13930 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13931 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13934 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13936 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13937 (__EPOLL_PACKED): Define to empty if not defined by
13939 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13943 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13945 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13946 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13948 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13950 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13954 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13956 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13959 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13963 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13966 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13968 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13970 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13971 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13973 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13975 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13978 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13980 * math/w_acos.c: Use non-signaling floating-point comparisons.
13981 * math/w_acosf.c: Likewise.
13982 * math/w_acosh.c: Likewise.
13983 * math/w_acoshf.c: Likewise.
13984 * math/w_acoshl.c: Likewise.
13985 * math/w_acosl.c: Likewise.
13986 * math/w_asin.c: Likewise.
13987 * math/w_asinf.c: Likewise.
13988 * math/w_asinl.c: Likewise.
13989 * math/w_atanh.c: Likewise.
13990 * math/w_atanhf.c: Likewise.
13991 * math/w_atanhl.c: Likewise.
13992 * math/w_exp2.c: Likewise.
13993 * math/w_exp2f.c: Likewise.
13994 * math/w_exp2l.c: Likewise.
13995 * math/w_j0.c: Likewise.
13996 * math/w_j0f.c: Likewise.
13997 * math/w_j0l.c: Likewise.
13998 * math/w_j1.c: Likewise.
13999 * math/w_j1f.c: Likewise.
14000 * math/w_j1l.c: Likewise.
14001 * math/w_jn.c: Likewise.
14002 * math/w_jnf.c: Likewise.
14003 * math/w_log.c: Likewise.
14004 * math/w_log10.c: Likewise.
14005 * math/w_log10f.c: Likewise.
14006 * math/w_log10l.c: Likewise.
14007 * math/w_log2.c: Likewise.
14008 * math/w_log2f.c: Likewise.
14009 * math/w_log2l.c: Likewise.
14010 * math/w_logf.c: Likewise.
14011 * math/w_logl.c: Likewise.
14012 * math/w_sqrt.c: Likewise.
14013 * math/w_sqrtf.c: Likewise.
14014 * math/w_sqrtl.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14017 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14018 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14019 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14021 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14024 * manual/string.texi (strnlen): Use correct parameter name in
14025 equivalent expression.
14027 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14030 * manual/users.texi (seteuid): Consistently use neweuid for
14033 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14036 * manual/nss.texi (Services in the NSS configuration): Correct
14037 list of services in example configuration file.
14039 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14042 * manual/arith.texi: Remove statements about negative zero
14043 behaving identically to zero.
14045 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14048 * manual/install.texi: Do not document upgrading from libc5.
14050 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14053 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14055 2012-02-18 David S. Miller <davem@davemloft.net>
14057 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14058 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14059 %o7 across the call.
14060 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14063 SETUP_PIC_REG_LEAF.
14064 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14065 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14066 * sysdeps/sparc/crtn.S: Likewise.
14068 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14070 * aout/Makefile: Remove.
14072 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14075 * manual/examples/argp-ex1.c (main): Format definition in GNU
14077 * manual/examples/argp-ex2.c (main): Likewise.
14078 * manual/examples/argp-ex3.c (main): Likewise.
14079 * manual/examples/argp-ex4.c (main): Likewise.
14080 * manual/examples/longopt.c (main): Use new-style prototype
14082 * manual/examples/strncat.c (main): Specify return type and use
14083 (void) for arguments.
14084 * manual/examples/subopt.c (main): Use char **argv argument.
14086 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14089 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14092 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14095 * manual/string.texi (strchr): Change when strchrnul is
14098 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14101 * manual/locale.texi (setlocale): Document LOCPATH.
14103 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14106 * manual/process.texi (execle): Move @dots{} before last argument.
14108 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14111 * manual/charset.texi (Generic Charset Conversion): Fix typo
14112 (LC_TYPE -> LC_CTYPE).
14114 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14117 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14118 (scalbnf): Likewise.
14119 (scalbnl): Likewise.
14120 (scalbln): Likewise.
14121 (scalblnf): Likewise.
14122 (scalblnl): Likewise.
14123 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14124 (vwarnx): Likewise.
14127 * manual/filesys.texi (telldir): Use braces around return type.
14128 * manual/llio.texi (mmap): Add space after comma.
14129 (mmap64): Likewise.
14130 * manual/math.texi (jn): Use @var{} on parameter names.
14136 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14138 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14140 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14141 (sched_get_priority_max): Likewise.
14142 * manual/signal.texi (sigvec): Add space after comma.
14143 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14145 (if_indextoname): Likewise.
14146 (if_freenameindex): Likewise.
14147 (sendto): Use ',' instead of '.' in prototype.
14148 * manual/startup.texi (syscall): Use @dots{} instead of literal
14150 * manual/stdio.texi (__fpending): Separate initial words of
14151 paragraph from @deftypefun line.
14152 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14154 (vsyslog): Use @var{} on parameter names.
14155 * manual/terminal.texi (stty): Use @var{} on parameter names.
14156 * manual/users.texi (getutmp): Use @var{} on parameter names.
14157 (getutmpx): Likewise.
14159 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14162 * manual/stdio.texi (fopen): Fix typos in description of
14165 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14168 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14169 get clock_id definition.
14171 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14174 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14175 (madvise): Cast every argument to void on its own.
14177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14180 * manual/startup.texi (Exit Status): Fix typo.
14182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14185 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14186 * manual/examples/argp-ex2.c: Likewise.
14187 * manual/examples/argp-ex3.c: Likewise.
14189 2012-02-16 Richard Henderson <rth@redhat.com>
14191 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14192 * sysdeps/s390/s390-32/initfini.c: Remove.
14193 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14194 * sysdeps/s390/s390-64/initfini.c: Remove.
14196 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14198 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14199 compiler output for sysdeps/generic/initfini.c.
14200 * sysdeps/sh/elf/initfini.c: Remove file.
14202 2012-02-16 David S. Miller <davem@davemloft.net>
14205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14207 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14208 * sysdeps/sparc/crti.S: New file.
14209 * sysdeps/sparc/crtn.S: New file.
14210 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14211 * sysdeps/sparc/sparc64/Makefile: Likewise.
14213 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14216 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14218 2012-02-15 Roland McGrath <roland@hack.frob.com>
14221 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14223 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14224 (write, read, close): Likewise.
14225 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14227 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14229 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14230 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14231 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14232 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14234 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14238 2012-02-14 Marek Polacek <polacek@redhat.com>
14240 * sysdeps/x86_64/crti.S: New file.
14241 * sysdeps/x86_64/crtn.S: New file.
14242 * sysdeps/x86_64/elf/initfini.c: Remove file.
14244 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14246 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14247 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14248 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14249 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14251 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14255 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14257 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14258 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14259 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14260 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14262 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14266 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14268 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14269 __feraiseexcept instead of feraiseexcept.
14271 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14272 nanosleep invocations.
14273 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14274 strings, and add error checking for a nanosleep invocations.
14276 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14278 Replace FSF snail mail address with URLs, as per GNU coding standards.
14279 Most of the snail mail addresses were wrong anyway, and omitting
14280 them makes the source code easier to maintain. Almost all of the
14281 changes are to license notices and to locale LC_IDENTIFICATION
14282 addresses, except for this one:
14283 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14284 not its snail mail address.
14286 2012-02-09 Richard Henderson <rth@twiddle.net>
14288 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14289 of kernel-features.h.
14291 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14293 2012-02-08 Marek Polacek <polacek@redhat.com>
14295 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14296 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14297 * sysdeps/gnu/_G_config.h: Likewise.
14298 * sysdeps/generic/_G_config.h: Likewise.
14300 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14302 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14306 * sysdeps/powerpc/powerpc32/crti.S: New file.
14307 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14308 * sysdeps/powerpc/powerpc64/crti.S: New file.
14309 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14311 * Makeconfig (have-initfini): Don't set.
14312 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14313 * configure.in (nopic_initfini): Don't substitute.
14314 * config.h.in (HAVE_INITFINI): Don't #undef.
14315 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14316 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14318 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14320 Support crti.S and crtn.S provided directly by architectures.
14321 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14322 [crti.S in sysdirs] (omit-deps): Likewise.
14323 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14324 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14325 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14326 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14327 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14328 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14329 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14330 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14331 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14332 compiler output for sysdeps/generic/initfini.c.
14333 * sysdeps/i386/elf/Makefile: Remove file.
14334 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14336 2012-02-07 Marek Polacek <polacek@redhat.com>
14338 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14339 * sysdeps/gnu/_G_config.h: Likewise.
14340 * sysdeps/mach/hurd/_G_config.h: Likewise.
14342 2012-02-07 Marek Polacek <polacek@redhat.com>
14344 * math/Makefile (tests): Add tst-CMPLX2.
14345 * math/tst-CMPLX2.c: New file.
14347 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14349 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14351 * math/libm-test.inc (jn_test): Add missing L suffix.
14353 2012-02-06 Marek Polacek <polacek@redhat.com>
14355 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14356 * sysdeps/i386/fpu/e_powf.S: Likewise.
14357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14358 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14359 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14360 * sysdeps/i386/fpu/e_pow.S: Likewise.
14361 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14362 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14363 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14364 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14365 * sysdeps/i386/fpu/e_log2.S: Likewise.
14366 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14367 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14368 * sysdeps/i386/fpu/e_powl.S: Likewise.
14369 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14370 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14371 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14372 * sysdeps/i386/fpu/e_logl.S: Likewise.
14373 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14374 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14375 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14376 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14377 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14378 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14379 * sysdeps/i386/fpu/e_log.S: Likewise.
14380 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14382 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14383 * sysdeps/i386/fpu/e_logf.S: Likewise.
14384 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14385 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14386 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14387 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14388 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14389 * sysdeps/i386/fpu/e_log10.S: Likewise.
14390 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14391 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14392 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14393 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14394 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14395 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14396 * sysdeps/i386/asm-syntax.h: Likewise.
14397 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14399 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14400 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14401 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14403 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14404 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14406 * sysdeps/powerpc/sysdep.h: Likewise.
14407 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14408 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14410 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14413 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14415 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14417 * sysdeps/i386/sysdep.h: Include <features.h>.
14418 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14421 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14423 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14425 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14428 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14430 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14431 (SETUP_PIC_REG): Use GET_PC_THUNK.
14432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14435 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14437 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14438 for non-PIC compilation.
14439 (SETUP_PIC_REG): Add .p2align directive.
14440 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14441 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14442 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14443 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14444 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14445 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14446 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14448 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14449 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14450 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14451 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14452 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14453 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14454 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14455 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14456 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14457 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14458 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14459 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14460 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14462 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14463 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14464 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14468 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14469 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14470 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14472 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14473 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14474 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14475 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14476 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14477 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14478 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14479 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14480 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14482 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14484 * math/tst-CMPLX.c: Include <stdio.h>.
14486 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14488 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14490 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14491 * sysdeps/sparc/bits/mathdef.h: Likewise.
14493 2012-01-31 Marek Polacek <polacek@redhat.com>
14495 * libio/libio.h: Don't define _PARAMS.
14496 * locale/programs/config.h: Don't define PARAMS.
14497 * stdlib/strtol_l.c: Likewise.
14498 (__strtol_l): Remove PARAMS from the prototype.
14500 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14502 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14503 names. Just use the correct names. Remove unnecessary wrapper
14505 * malloc/arena.c: Likewise.
14506 * malloc/hooks.c: Likewise.
14508 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14509 ARENA_TEST says not to. Simplify test for creation of a new arena.
14510 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14512 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14514 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14516 (update_get_addr): New function.
14517 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14518 GET_ADDR_MODULE parameter.
14520 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14522 * crypt/cert.c: Remove __STDC__ conditionals.
14523 * crypt/crypt-entry.c: Likewise.
14524 * crypt/crypt_util.c: Likewise.
14525 * libio/filedoalloc.c: Likewise.
14526 * libio/fileops.c: Likewise.
14527 * libio/genops.c: Likewise.
14528 * libio/iofclose.c: Likewise.
14529 * libio/iofdopen.c: Likewise.
14530 * libio/iofopen.c: Likewise.
14531 * libio/iofopen64.c: Likewise.
14532 * libio/iogetdelim.c: Likewise.
14533 * libio/iopopen.c: Likewise.
14534 * libio/obprintf.c: Likewise.
14535 * libio/oldfileops.c: Likewise.
14536 * libio/oldiofclose.c: Likewise.
14537 * libio/oldiofdopen.c: Likewise.
14538 * libio/oldiofopen.c: Likewise.
14539 * libio/oldiopopen.c: Likewise.
14540 * libio/wfiledoalloc.c: Likewise.
14541 * libio/wgenops.c: Likewise.
14542 * locale/programs/xmalloc.c: Likewise.
14543 * misc/syslog.c: Likewise.
14544 * stdio-common/xbug.c: Likewise.
14545 * string/memchr.c: Likewise.
14546 * string/memcmp.c: Likewise.
14547 * string/memrchr.c: Likewise.
14548 * string/rawmemchr.c: Likewise.
14549 * sysdeps/posix/getcwd.c: Likewise.
14550 * time/strftime_l.c: Likewise.
14552 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14554 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14555 * config.make.in (config-cflags-sse2avx): Define.
14556 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14559 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14561 * scripts/config.guess: Update from upstream config git repository.
14562 * scripts/config.sub: Likewise.
14564 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14566 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14568 (R_TILEPRO_*, R_TILEGX_*): New macros.
14570 * scripts/firstversions.awk: Fix bug in version range handling.
14572 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14574 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14576 * include/sys/epoll.h: New file.
14577 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14580 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14582 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14583 Avoid unnecessary __WORDSIZE == 64 test.
14584 (fmaxf): Use VEX format if possible.
14589 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14590 * math/math_private.h: Remove libc_fegetround* and
14592 * sysdeps/i386/configure.in: Check for -msse2avx.
14593 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14594 also if SSE2AVX is defined.
14595 Remove libc_fegetround* and libc_fesetround*.
14596 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14597 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14598 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14600 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14601 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14602 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14603 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14606 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14608 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14610 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14612 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14614 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14617 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14619 * Makeconfig (libm): Define.
14620 * elf/Makefile: Add rules to build and run tst-relsort1.
14621 * elf/tst-relsort1.c: New file.
14622 * elf/tst-relsort1mod1.c: New file.
14623 * elf/tst-relsort1mod2.c: New file.
14625 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14627 * math/s_ldexp.c: Remove __STDC__ conditionals.
14628 * math/s_ldexpf.c: Likewise.
14629 * math/s_ldexpl.c: Likewise.
14630 * math/s_nextafter.c: Likewise.
14631 * math/s_nexttowardf.c: Likewise.
14632 * math/s_significand.c: Likewise.
14633 * math/s_significandf.c: Likewise.
14634 * math/s_significandl.c: Likewise.
14635 * math/w_jnl.c: Likewise.
14636 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14637 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14638 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14639 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14640 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14655 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14656 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14658 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14659 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14660 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14661 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14662 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14663 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14664 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14667 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14668 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14670 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14671 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14672 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14673 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14674 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14675 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14676 * sysdeps/ieee754/k_standard.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14738 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14740 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14741 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14743 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14744 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14745 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14746 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14747 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14751 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14752 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14753 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14756 * sysdeps/ieee754/s_matherr.c: Likewise.
14757 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14758 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14762 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14764 * crypt/md5.h: Remove __STDC__ conditionals.
14765 * libio/libioP.h: Likewise.
14766 * locale/programs/config.h: Likewise.
14767 * sysdeps/generic/sysdep.h: Likewise.
14768 * sysdeps/i386/asm-syntax.h: Likewise.
14769 * sysdeps/s390/asm-syntax.h: Likewise.
14770 * sysdeps/unix/sysdep.h: Likewise.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14774 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14776 * libio/libio.h: Remove __STDC__ conditionals.
14777 * malloc/obstack.h: Likewise.
14778 * math/complex.h: Likewise.
14779 * math/math.h: Likewise.
14780 * sysdeps/generic/_G_config.h: Likewise.
14781 * sysdeps/gnu/_G_config.h: Likewise.
14782 * sysdeps/mach/hurd/_G_config.h: Likewise.
14783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14784 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14785 * sysdeps/sparc/bits/mathdef.h: Likewise.
14787 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14790 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14791 Clean up HAS_* macros.
14792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14793 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14800 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14801 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14803 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14805 * elf/tst-unique3.cc (gets): Remove declaration.
14806 * elf/tst-unique3lib.cc (gets): Likewise.
14807 * elf/tst-unique3lib2.cc (gets): Likewise.
14808 * elf/tst-unique4.cc (gets): Likewise.
14810 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14812 * include/stdio.h: Add C++ protection. Add gets declarations and
14814 * debug/tst-chk1.c: Don't declare gets here.
14815 * stdio-common/tst-gets.c: Likewise.
14817 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14819 * posix/glob: Remove directory.
14821 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14823 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14825 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14827 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14828 of the non-standard EPFNOSUPPORT.
14830 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14832 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14833 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14834 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14836 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14838 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14840 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14842 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14844 * nscd/grpcache.c (cache_addgr): Likewise.
14845 * nscd/hstcache.c (cache_addhst): Likewise.
14846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14847 * nscd/pwdcache.c (cache_addpw): Likewise.
14848 * nscd/servicescache.c (cache_addserv): Likewise.
14850 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14852 * malloc/malloc.c: Various cleanups.
14853 * malloc/hooks.c: Likewise.
14855 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14856 * stdlib/bug-fmtmsg1.c: New file.
14858 * stdlib/fmtmsg.c (init): Add missing unlock.
14859 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14861 2012-01-12 Marek Polacek <polacek@redhat.com>
14863 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14866 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14868 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14869 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14870 macro to ensure uniqueness of label name.
14871 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14872 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14874 2012-01-11 Ulrich Drepper <drepper@gmail.com>
14876 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14878 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14879 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14883 2012-01-10 Ulrich Drepper <drepper@gmail.com>
14885 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14887 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14888 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14889 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14891 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14893 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14894 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14898 * math/bits/math-finite.h: Add ldexp support.
14900 2012-01-10 Marek Polacek <polacek@redhat.com>
14902 * locale/programs/localedef.h (show_archive_content): Add noreturn
14905 2012-01-09 Ulrich Drepper <drepper@gmail.com>
14907 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14909 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14911 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14913 * io/Makefile (headers): Add bits/poll2.h.
14915 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14918 typo #include statement.
14920 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14922 * include/sys/cdefs.h: Define __attribute_alloc_size.
14923 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14924 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14925 * elf/pldd.c: Likewise.
14926 * iconv/iconv_charmap.c: Likewise.
14927 * iconv/iconvconfig.c: Likewise.
14928 * iconv/strtab.c: Likewise.
14929 * locale/programs/locale.c: Likewise.
14930 * locale/programs/localedef.h: Likewise.
14931 * locale/programs/simple-hash.c: Likewise.
14932 * nscd/nscd.h: Likewise.
14933 * nss/makedb.c: Likewise.
14934 * sysdeps/generic/ldconfig.h: Likewise.
14935 * locale/programs/localedef.c: Remove xmalloc prototype.
14936 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14938 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14940 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14943 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14945 * math/Makefile (tests): Add tst-CMPLX.
14946 * math/tst-CMPLX.c: New file.
14948 * math/complex.h (CMPLXL): Fix typo.
14950 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14951 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14953 * debug/tst-chk1.c: Add poll and ppoll tests.
14954 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14955 * include/sys/poll.h: Add hidden proto for ppoll.
14956 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14957 * sysdeps/mach/hurd/ppoll.c: Likewise.
14958 * io/ppoll.c: Likewise.
14959 * debug/poll_chk.c: New file.
14960 * debug/ppoll_chk.c: New file.
14961 * include/bits/poll2.h: New file.
14962 * io/bits/poll2.h: New file.
14965 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14967 * configure.in: static is always set to yes. Remove.
14968 * config.make.in: Don't set build-static.
14969 * Makeconfig: Remove use of build-static.
14970 * dlfcn/Makefile: Likewise.
14971 * elf/Makefile: Likewise.
14972 * math/Makefile: Likewise.
14973 * misc/Makefile: Likewise.
14974 * nptl/Makefile: Likewise.
14975 * sysdeps/mach/hurd/Makefile: Likewise.
14977 * configure.in: PWD_P is not used anymore.
14978 * config.make.in: Remove PWD_P entry.
14980 * configure.in: Remove last remnants of RANLIB.
14981 No need to check for signed size_t anymore.
14982 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14984 Remove __builtin_expect test because we require at least gcc 3.4.
14985 * aclocal.m4: Likewise.
14987 * wcsmbs/mbrtoc16.c: Implement using towc function.
14988 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14989 * wcsmbs/wcsmbsload.c: Likewise.
14990 * iconv/gconv_simple.c: Likewise.
14991 * iconv/gconv_int.h: Likewise.
14992 * iconv/gconv_builtin.h: Likewise.
14993 * iconv/iconv_prog.c: Remove CHAR16 handling.
14995 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14997 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14999 * configure.in: Remove --with-elf and --enable-bounded options.
15000 Dont set base_machine for ia64. More non-ELF conditions removed.
15001 Remove testing and setting of leading underscore information.
15002 * config.make.in (build-bounded): Set to no.
15003 * config.h.in: Remove NO_UNDERSCORES entry.
15004 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15006 * csu/start.c: Remove !NO_UNDERSCORE code.
15007 * locale/localeinfo.h: Likewise.
15008 * sysdeps/generic/machine-gmon.h: Likewise.
15009 * sysdeps/generic/sysdep.h: Likewise.
15010 * sysdeps/i386/sysdep.h: Likewise.
15011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15012 * sysdeps/mach/sysdep.h: Likewise.
15013 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15015 * sysdeps/sh/sysdep.h: Likewise.
15016 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15017 * sysdeps/unix/i386/sysdep.S: Likewise.
15018 * sysdeps/unix/sparc/start.c: Likewise.
15019 * sysdeps/unix/sparc/sysdep.S: Likewise.
15020 * sysdeps/unix/sparc/sysdep.h: Likewise.
15021 * sysdeps/unix/start.c: Likewise.
15022 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15023 * sysdeps/x86_64/sysdep.h: Likewise.
15025 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15028 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15030 * argp/argp-fmtstream.h: Use const instead __const.
15031 * argp/argp.h: Likewise.
15032 * assert/assert.h: Likewise.
15033 * bits/fenv.h: Likewise.
15034 * bits/sched.h: Likewise.
15035 * bits/sigset.h: Likewise.
15036 * bits/sigthread.h: Likewise.
15037 * catgets/nl_types.h: Likewise.
15038 * conform/data/pthread.h-data: Likewise.
15039 * crypt/crypt-private.h: Likewise.
15040 * crypt/crypt.h: Likewise.
15041 * crypt/crypt_util.c: Likewise.
15042 * ctype/ctype.h: Likewise.
15043 * debug/execinfo.h: Likewise.
15044 * debug/mbsnrtowcs_chk.c: Likewise.
15045 * debug/mbsrtowcs_chk.c: Likewise.
15046 * debug/wcsnrtombs_chk.c: Likewise.
15047 * debug/wcsrtombs_chk.c: Likewise.
15048 * debug/wcstombs_chk.c: Likewise.
15049 * dirent/dirent.h: Likewise.
15050 * dlfcn/dlfcn.h: Likewise.
15051 * elf/neededtest4.c: Likewise.
15052 * grp/grp.h: Likewise.
15053 * gshadow/gshadow.h: Likewise.
15054 * iconv/gconv.h: Likewise.
15055 * iconv/gconv_int.h: Likewise.
15056 * iconv/gconv_simple.c: Likewise.
15057 * iconv/iconv.h: Likewise.
15058 * iconv/loop.c: Likewise.
15059 * iconv/skeleton.c: Likewise.
15060 * include/aio.h: Likewise.
15061 * include/aliases.h: Likewise.
15062 * include/argz.h: Likewise.
15063 * include/arpa/inet.h: Likewise.
15064 * include/assert.h: Likewise.
15065 * include/dirent.h: Likewise.
15066 * include/dlfcn.h: Likewise.
15067 * include/execinfo.h: Likewise.
15068 * include/fcntl.h: Likewise.
15069 * include/fenv.h: Likewise.
15070 * include/glob.h: Likewise.
15071 * include/grp.h: Likewise.
15072 * include/libintl.h: Likewise.
15073 * include/mntent.h: Likewise.
15074 * include/netdb.h: Likewise.
15075 * include/pwd.h: Likewise.
15076 * include/rpc/netdb.h: Likewise.
15077 * include/sched.h: Likewise.
15078 * include/search.h: Likewise.
15079 * include/shadow.h: Likewise.
15080 * include/signal.h: Likewise.
15081 * include/stdio.h: Likewise.
15082 * include/stdlib.h: Likewise.
15083 * include/string.h: Likewise.
15084 * include/sys/socket.h: Likewise.
15085 * include/sys/stat.h: Likewise.
15086 * include/sys/statfs.h: Likewise.
15087 * include/sys/statvfs.h: Likewise.
15088 * include/sys/syslog.h: Likewise.
15089 * include/sys/time.h: Likewise.
15090 * include/sys/uio.h: Likewise.
15091 * include/time.h: Likewise.
15092 * include/unistd.h: Likewise.
15093 * include/utmp.h: Likewise.
15094 * include/wchar.h: Likewise.
15095 * include/wctype.h: Likewise.
15096 * inet/aliases.h: Likewise.
15097 * inet/arpa/inet.h: Likewise.
15098 * inet/netinet/ether.h: Likewise.
15099 * inet/netinet/in.h: Likewise.
15100 * intl/libintl.h: Likewise.
15101 * io/bits/fcntl2.h: Likewise.
15102 * io/fcntl.h: Likewise.
15103 * io/ftw.h: Likewise.
15104 * io/sys/poll.h: Likewise.
15105 * io/sys/stat.h: Likewise.
15106 * io/sys/statfs.h: Likewise.
15107 * io/sys/statvfs.h: Likewise.
15108 * io/utime.h: Likewise.
15109 * libio/bits/stdio.h: Likewise.
15110 * libio/bits/stdio2.h: Likewise.
15111 * libio/libio.h: Likewise.
15112 * libio/libioP.h: Likewise.
15113 * libio/stdio.h: Likewise.
15114 * locale/lc-ctype.c: Likewise.
15115 * locale/locale.h: Likewise.
15116 * login/utmp.h: Likewise.
15117 * malloc/arena.c: Likewise.
15118 * malloc/malloc.c: Likewise.
15119 * malloc/malloc.h: Likewise.
15120 * malloc/mcheck.c: Likewise.
15121 * malloc/mtrace.c: Likewise.
15122 * math/bits/mathcalls.h: Likewise.
15123 * math/fenv.h: Likewise.
15124 * math/math_private.h: Likewise.
15125 * misc/bits/error.h: Likewise.
15126 * misc/bits/syslog.h: Likewise.
15127 * misc/err.h: Likewise.
15128 * misc/error.h: Likewise.
15129 * misc/fstab.h: Likewise.
15130 * misc/mntent.h: Likewise.
15131 * misc/regexp.h: Likewise.
15132 * misc/search.h: Likewise.
15133 * misc/sgtty.h: Likewise.
15134 * misc/sys/mman.h: Likewise.
15135 * misc/sys/syslog.h: Likewise.
15136 * misc/sys/uio.h: Likewise.
15137 * misc/sys/xattr.h: Likewise.
15138 * misc/ttyent.h: Likewise.
15139 * nis/rpcsvc/ypclnt.h: Likewise.
15140 * nss/nss.h: Likewise.
15141 * posix/bits/unistd.h: Likewise.
15142 * posix/fnmatch.h: Likewise.
15143 * posix/glob.h: Likewise.
15144 * posix/sched.h: Likewise.
15145 * posix/spawn.h: Likewise.
15146 * posix/sys/wait.h: Likewise.
15147 * posix/unistd.h: Likewise.
15148 * posix/wordexp.h: Likewise.
15149 * pwd/pwd.h: Likewise.
15150 * resolv/netdb.h: Likewise.
15151 * resource/sys/resource.h: Likewise.
15152 * rt/aio.h: Likewise.
15153 * rt/bits/mqueue2.h: Likewise.
15154 * rt/mqueue.h: Likewise.
15155 * shadow/shadow.h: Likewise.
15156 * signal/signal.h: Likewise.
15157 * socket/send.c: Likewise.
15158 * socket/sendto.c: Likewise.
15159 * socket/sys/socket.h: Likewise.
15160 * stdio-common/printf.h: Likewise.
15161 * stdlib/bits/stdlib.h: Likewise.
15162 * stdlib/fmtmsg.h: Likewise.
15163 * stdlib/monetary.h: Likewise.
15164 * stdlib/stdlib.h: Likewise.
15165 * stdlib/ucontext.h: Likewise.
15166 * streams/stropts.h: Likewise.
15167 * string/argz.h: Likewise.
15168 * string/bits/string2.h: Likewise.
15169 * string/string.h: Likewise.
15170 * string/strings.h: Likewise.
15171 * sunrpc/rpc/auth.h: Likewise.
15172 * sunrpc/rpc/auth_des.h: Likewise.
15173 * sunrpc/rpc/clnt.h: Likewise.
15174 * sunrpc/rpc/netdb.h: Likewise.
15175 * sunrpc/rpc/pmap_clnt.h: Likewise.
15176 * sunrpc/rpc/xdr.h: Likewise.
15177 * sysdeps/generic/inttypes.h: Likewise.
15178 * sysdeps/generic/net/if.h: Likewise.
15179 * sysdeps/generic/sys/swap.h: Likewise.
15180 * sysdeps/gnu/net/if.h: Likewise.
15181 * sysdeps/gnu/utmpx.h: Likewise.
15182 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15183 * sysdeps/i386/i486/bits/string.h: Likewise.
15184 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15185 * sysdeps/s390/bits/string.h: Likewise.
15186 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15187 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15188 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15189 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15190 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15191 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15192 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15193 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15194 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15195 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15196 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15197 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15198 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15199 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15200 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15201 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15202 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15204 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15205 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15207 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15208 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15209 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15210 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15211 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15214 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15215 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15216 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15217 * sysvipc/sys/ipc.h: Likewise.
15218 * sysvipc/sys/msg.h: Likewise.
15219 * sysvipc/sys/sem.h: Likewise.
15220 * sysvipc/sys/shm.h: Likewise.
15221 * termios/termios.h: Likewise.
15222 * time/sys/time.h: Likewise.
15223 * time/time.h: Likewise.
15224 * wcsmbs/bits/wchar2.h: Likewise.
15225 * wcsmbs/uchar.h: Likewise.
15226 * wcsmbs/wchar.h: Likewise.
15227 * wctype/wctype.h: Likewise.
15230 * Makeconfig: Remove all but ELF support including AIX support.
15231 * Makerules: Likewise.
15232 * config.h.in: Likewise.
15233 * config.make.in: Likewise.
15234 * configure: Likewise.
15235 * configure.in: Likewise.
15236 * csu/Makefile: Likewise.
15237 * csu/version.c: Likewise.
15238 * debug/Makefile: Likewise.
15239 * dlfcn/Makefile: Likewise.
15240 * elf/Makefile: Likewise.
15241 * extra-lib.mk: Likewise.
15242 * iconv/Makefile: Likewise.
15243 * include/libc-symbols.h: Likewise.
15244 * include/shlib-compat.h: Likewise.
15245 * resolv/Makefile: Likewise.
15246 * resolv/res_libc.c: Likewise.
15247 * rt/Makefile: Likewise.
15248 * sysdeps/i386/asm-syntax.h: Likewise.
15249 * sysdeps/i386/sysdep.h: Likewise.
15250 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15251 * sysdeps/mach/sysdep.h: Likewise.
15252 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15253 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15254 * sysdeps/s390/asm-syntax.h: Likewise.
15255 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15256 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15257 * sysdeps/sh/sysdep.h: Likewise.
15258 * sysdeps/unix/sparc/sysdep.h: Likewise.
15259 * sysdeps/wordsize-32/divdi3.c: Likewise.
15260 * sysdeps/x86_64/sysdep.h: Likewise.
15262 * argp/Versions: Remove _argp_unlock_xxx.
15265 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15266 * abilist/libBrokenLocale.abilist: Likewise.
15267 * abilist/libanl.abilist: Likewise.
15268 * abilist/libc.abilist: Likewise.
15269 * abilist/libcrypt.abilist: Likewise.
15270 * abilist/libdl.abilist: Likewise.
15271 * abilist/libm.abilist: Likewise.
15272 * abilist/libnsl.abilist: Likewise.
15273 * abilist/libpthread.abilist: Likewise.
15274 * abilist/libresolv.abilist: Likewise.
15275 * abilist/librt.abilist: Likewise.
15276 * abilist/libthread_db.abilist: Likewise.
15277 * abilist/libutil.abilist: Likewise.
15278 * abilist/libnss_db.abilist: New file.
15280 * scripts/abilist.awk: Add support for indirect functions.
15282 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15284 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15286 * shlib-versions: Remove entries for ports architectures.
15288 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15290 * elf/stackguard-macros.h: Remove support for IA-64.
15291 * elf/tst-auditmod1.c: Likewise.
15292 * sysdeps/generic/ldsodefs.h: Likewise.
15294 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15295 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15299 * configure.in: Remove --enable-omitfp support.
15301 * config.make.in: Likewise.
15302 * Makeconfig: Likewise.
15303 * manual/install.texi: Likewise.
15305 In case anyone cares, the IA-64 architecture could move to ports.
15306 * sysdeps/ia64/*: Removed.
15307 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15308 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15311 * configure.in: Remove entries for unsupported architectures.
15314 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15315 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15317 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15318 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15319 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15320 fall back to using wcrtomb.
15321 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15322 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15324 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15325 * wcsmbs/tst-c16c32-1.c: New file.
15327 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15330 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15332 * elf/tst-unique3.cc: Add explicit declaration of gets.
15333 * elf/tst-unique3lib.cc: Likewise.
15334 * elf/tst-unique3lib2.cc: Likewise.
15335 * elf/tst-unique4.cc: Likewise.
15337 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15339 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15342 * assert/assert.h (static_assert): Don't define for C++.
15343 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15344 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15346 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15348 * iconv/loop.c (single loop): Fix assertion in storing of
15351 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15353 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15355 * posix/getconf.c: Update copyright year.
15356 * nss/getent.c: Likewise.
15357 * nss/makedb.c: Likewise.
15358 * iconv/iconvconfig.c: Likewise.
15359 * iconv/iconv_prog.c: Likewise.
15360 * elf/ldconfig.c: Likewise.
15361 * elf/pldd.c: Likewise.
15362 * elf/sotruss.ksh: Likewise.
15363 * catgets/gencat.c: Likewise.
15364 * csu/version.c: Likewise.
15365 * elf/ldd.bash.in: Likewise.
15366 * elf/sprof.c (print_version): Likewise.
15367 * locale/programs/locale.c: Likewise.
15368 * locale/programs/localedef.c: Likewise.
15369 * login/programs/pt_chown.c: Likewise.
15370 * nscd/nscd.c (print_version): Likewise.
15371 * debug/xtrace.sh: Likewise.
15372 * malloc/memusage.sh: Likewise.
15373 * malloc/mtrace.pl: Likewise.
15374 * debug/catchsegv.sh: Likewise.
15376 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15378 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15381 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15384 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15385 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15387 * iconv/gconv_int.h: Likewise.
15388 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15389 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15390 from libc for GLIBC_2.16.
15391 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15392 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15393 * wcsmbs/uchar.h: Really define mbstate_t.
15394 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15395 * wcsmbs/c16rtomb.c: New file.
15396 * wcsmbs/mbrtoc16.c: New file.
15397 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15398 for C/POSIX locale.
15399 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15400 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15402 * wcsmbs/wchar.h: Add missing __restrict.
15404 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15407 * time/Makefile (routines): Add timespec_get.
15408 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15409 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15410 timespec for ISO C11.
15411 * time/timespec_get.c: New file.
15412 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15413 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15416 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15417 * stdlib/stdlib.h: Declare aligned_alloc.
15418 * Versions.def: Add GLIBC_2.16 for libc.
15419 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15422 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15425 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15429 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15432 * assert/assert.h (static_assert): Define.
15434 * version.h: Update for 2.16 development version.
15437 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15440 * version.h (RELEASE): Bump for 2.15 release.
15441 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15443 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15444 Patch by Marek Polacek <mpolacek@redhat.com>.
15446 * bits/byteswap.h: Protect long long constants with __extension__.
15447 * sysdeps/i386/bits/byteswap.h: Likewise.
15448 * sysdeps/ia64/bits/byteswap.h: Likewise.
15449 * sysdeps/s390/bits/byteswap.h: Likewise.
15450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15452 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15456 destination buffer.
15457 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15459 2011-12-23 Marek Polacek <polacek@redhat.com>
15461 * elf/dl-addr.c (determine_info): Add inline keyword.
15462 * elf/tst-auditmod4b.c (check_avx): Likewise.
15463 * elf/tst-auditmod6b.c (check_avx): Likewise.
15464 * elf/tst-auditmod6c.c (check_avx): Likewise.
15465 * elf/tst-auditmod7b.c (check_avx): Likewise.
15467 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15469 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15472 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15475 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15476 processing for last bytes.
15478 2011-08-06 Bruno Haible <bruno@clisp.org>
15481 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15482 U+0385, not to U+1FEE.
15485 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15486 entry for U+00A5 U+0301.
15488 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15491 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15492 buffer for the output is too small.
15494 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15498 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15499 SSE flags if possible.
15501 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15505 processing for last bytes.
15507 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15509 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15510 (syscall-list-default-options, syscall-list-default-condition)
15511 (syscall-list-includes): Define.
15512 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15513 list of ABIs and options and #if conditions for each ABI. Do not
15514 handle common syscalls between ABIs specially.
15515 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15517 (syscall-list-variants, syscall-list-32bit-options)
15518 (syscall-list-32bit-condition, syscall-list-64bit-options)
15519 (syscall-list-64bit-condition): Define.
15520 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15521 (syscall-list-variants, syscall-list-32bit-options)
15522 (syscall-list-32bit-condition, syscall-list-64bit-options)
15523 (syscall-list-64bit-condition): Define.
15524 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15526 (syscall-list-variants, syscall-list-32bit-options)
15527 (syscall-list-32bit-condition, syscall-list-64bit-options)
15528 (syscall-list-64bit-condition): Define.
15529 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15531 (syscall-list-variants, syscall-list-32bit-options)
15532 (syscall-list-32bit-condition, syscall-list-64bit-options)
15533 (syscall-list-64bit-condition): Define.
15535 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15537 * locale/iso-639.def: Add brx entry.
15540 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15541 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15543 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15544 __feraiseexcept_renamed.
15546 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15549 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15550 EPOLLET with unsigned values.
15551 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15552 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15554 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15555 to large cancellation.
15556 * math/s_cacoshf.c: Likewise.
15557 * math/s_cacoshl.c: Likewise.
15559 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15563 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15564 * math/s_cacoshf.c: Likewise.
15565 * math/s_cacoshl.c: Likewise.
15567 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15570 * iconv/gconv.h: Define __GCONV_SWAP.
15571 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15572 * iconvdata/utf-16.c: Likewise.
15573 * iconvdata/utf-32.c: Likewise.
15575 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15578 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15579 numerator after shifting it by one limb.
15581 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15583 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15584 under [__USE_EXTERN_INLINES].
15586 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15589 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15591 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15593 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15594 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15596 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15597 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15598 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15599 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15600 for strncasecmp/strncasecmp_l compilation.
15601 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15602 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15604 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15607 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15610 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15613 * time/tzfile.c (__tzfile_read): Check values from file header.
15615 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15617 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15618 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15619 * powerpc/powerpc32/dl-start.S: Likewise.
15620 * powerpc/powerpc32/elf/start.S: Likewise.
15621 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15622 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15623 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15624 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15625 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15626 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15627 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15628 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15629 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15630 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15631 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15632 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15633 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15634 * powerpc/powerpc32/memset.S: Likewise.
15635 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15636 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15637 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15638 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15639 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15640 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15641 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15642 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15643 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15644 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15645 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15646 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15647 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15649 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15651 * math/libm-test.inc: Added more nearbyint tests.
15652 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15657 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15659 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15662 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15664 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15665 Add wcscpy-ssse3 wcscpy-c.
15666 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15667 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15668 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15669 * sysdeps/x86_64/wcschr.S: New file.
15670 * sysdeps/x86_64/wcsrchr.S: New file.
15671 * string/test-strcmp.c: Remove checking of wcscmp function for
15673 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15674 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15675 wcsrchr-sse2 wcsrchr-c.
15676 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15677 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15678 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15679 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15680 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15681 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15682 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15683 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15684 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15685 * wcsmbc/wcschr.c (WCSCHR): New macro.
15687 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15689 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15690 * wcsmbs/test-wcsrchr.c: New file.
15691 * string/test-strrchr.c: Add wcsrchr support.
15693 * wcsmbs/test-wcscpy.c: New file.
15694 * string/test-strcpy.c: Add wcscpy support.
15697 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15699 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15702 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15705 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15707 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15709 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15710 Minor optimizations.
15712 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15713 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15714 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15716 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15718 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15719 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15720 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15721 for gcc to avoid warnings.
15722 * inet/Makefile (tests): Add tst-checks.
15723 * inet/tst-checks.c: New file.
15725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15728 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15731 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15732 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15734 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15736 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15738 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15741 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15743 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15745 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15746 conditional on GCC version.
15747 (__arch_compare_and_exchange_val_8_acq)
15748 (__arch_compare_and_exchange_val_16_acq)
15749 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15750 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15751 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15753 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15755 * sysdeps/sh/backtrace.c: New file.
15757 2011-12-02 Andreas Schwab <schwab@redhat.com>
15759 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15762 2011-12-01 Andreas Schwab <schwab@redhat.com>
15764 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15765 falling back to utime.
15767 2011-11-30 Andreas Schwab <schwab@redhat.com>
15769 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15770 expectations for float.
15772 2011-11-29 Andreas Schwab <schwab@redhat.com>
15774 * locale/weight.h (findidx): Add parameter len.
15775 * locale/weightwc.h (findidx): Likewise.
15776 * posix/fnmatch_loop.c (FCT): Adjust caller.
15777 * posix/regcomp.c (build_equiv_class): Likewise.
15778 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15779 * posix/regexec.c (check_node_accept_bytes): Likewise.
15780 * string/strcoll_l.c (STRCOLL): Likewise.
15781 * string/strxfrm_l.c (STRXFRM): Likewise.
15783 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15785 * Makefile.in: Remove CVSOPT handling.
15786 * configure.in: Remove use of AC_REVISION.
15787 * iconvdata/Makefile (distribute): No need to filter out CVS.
15788 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15791 2011-11-16 Andreas Schwab <schwab@redhat.com>
15793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15794 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15795 [USE_AS_STRNCASECMP_L]: Likewise.
15796 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15797 NO_TLS_DIRECT_SEG_REFS.
15798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15799 Fix argument offsets for non-PIC.
15800 [USE_AS_STRNCASECMP_L]: Likewise.
15801 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15802 NO_TLS_DIRECT_SEG_REFS.
15804 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15806 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15808 * locale/loadlocale.c (_nl_load_locale): Likewise.
15810 2011-11-15 Andreas Schwab <schwab@redhat.com>
15812 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15813 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15815 (SYSCALL_GETTIME): Set errno on error.
15817 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15818 count references to noai6ai_cached.
15820 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15822 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15824 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15825 FD_CLOEXEC for /proc/self/maps.
15827 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15828 FD_CLOEXEC for /proc/meminfo.
15830 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15833 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15834 FD_CLOEXEC for given file.
15836 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15838 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15839 FD_CLOEXEC for /etc/hosts.
15840 (_gethtent): Likewise.
15842 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15844 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15845 cancellation and set FD_CLOEXEC for /etc/netgroup.
15847 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15848 reading /etc/publickey.
15850 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15851 allow cancellation when reading /etc/group.
15853 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15855 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15857 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15858 when using data file.
15860 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15862 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15863 (write_nis_obj): Use "c" and "e" in fopen.
15865 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15867 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15869 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15871 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15873 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15876 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15878 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15880 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15882 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15883 file parsing and set FD_CLOEXEC.
15885 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15887 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15889 2011-11-14 Andreas Schwab <schwab@redhat.com>
15891 * malloc/arena.c (arena_get2): Don't call reused_arena when
15892 _int_new_arena failed.
15894 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15896 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15897 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15898 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15900 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15901 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15902 to compile strcasecmp and strncasecmp.
15903 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15904 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15908 2011-11-13 Ulrich Drepper <drepper@gmail.com>
15910 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15911 locale-defines.sym to gen-as-const-headers.
15912 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15913 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15915 to compile strcasecmp and strncasecmp.
15916 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15917 strcasecmp_l and strncasecmp_l.
15918 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15919 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15920 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15921 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15922 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15923 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15924 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15925 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15926 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15927 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15928 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15930 2011-11-12 Ulrich Drepper <drepper@gmail.com>
15932 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15933 result of SYSDEP_GETTIME_CPU to retval.
15934 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15935 parameter list to macro. Remove trailing semicolon. Adjust users.
15937 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15940 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15942 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15944 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15945 from unused variable.
15947 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15949 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15952 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15955 * sunrpc/rpc_prot.c (rejected): Fix case value.
15957 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15958 unsigned long long int to avoid warnings in shift.
15960 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15962 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15965 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15966 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15967 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15969 * nis/nis_table.c (nis_list): Use variable of correct type for
15970 result of __follow_path call.
15972 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15974 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15975 of math functions ceil, trunc, floor, round, and sqrt, when
15976 avaliable on the platform.
15977 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15979 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15980 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15981 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15983 2011-10-30 Marek Polacek <mpolacek@redhat.com>
15985 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15986 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15988 2011-11-11 Roland McGrath <roland@hack.frob.com>
15990 * include/unistd.h: Fix __readlink return type.
15991 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15993 2011-11-11 Ulrich Drepper <drepper@gmail.com>
15995 * stdlib/ucontext.h: Undo last change for makecontext.
15997 2011-11-11 Andreas Schwab <schwab@redhat.com>
15999 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16001 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16002 * setjmp/setjmp.h: Mark functions as non-leaf.
16003 * setjmp/bits/setjmp2.h: Likewise.
16004 * stdlib/ucontext.h: Likewise.
16006 2011-11-10 Andreas Schwab <schwab@redhat.com>
16008 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16009 (reused_arena): Don't check arena limit.
16010 (arena_get2): Atomically check arena limit.
16012 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16014 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16015 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16020 2011-11-07 Andreas Schwab <schwab@redhat.com>
16022 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16023 handler when locking.
16025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16026 Fix size of allocated buffer.
16028 2011-11-04 Andreas Schwab <schwab@redhat.com>
16031 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16032 declarations for long double functions.
16033 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16035 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16037 2011-11-03 Andreas Schwab <schwab@redhat.com>
16039 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16042 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16045 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16047 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16049 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16051 * include/alloca.h (stackinfo_alloca_round): Define.
16052 (extend_alloca): Use it.
16053 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16054 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16057 * scripts/check-local-headers.sh: Ignore libaudit.h.
16059 * nscd/Makefile (extra-objs): Make recursively expanded.
16061 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16063 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16066 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16067 * posix/tst-rfc3484-2.c: Likewise.
16068 * posix/tst-rfc3484-3.c: Likewise.
16070 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16072 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16074 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16075 process_vm_writev from libc using GLIBC_2.15 version.
16077 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16079 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16081 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16084 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16087 * nss/getent.c (initgroups_keys): Show error message in case no group
16090 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16091 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16092 __bump_nl_timestamp.
16093 * nscd/connections (nscd_init): When host database is served open
16094 netlink socket and request notification about configuration changes.
16095 (main_loop_poll): Track netlink file descriptor and bump timestamp
16096 in case data becomes available.
16097 (main_loop_epoll): Likewise.
16098 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16099 (database_pers_head): Add extra_data fileds.
16100 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16101 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16102 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16105 in6ai data, call __free_in6ai.
16106 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16107 Add -DHAVE_NETLINK.
16108 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16109 interface information. Reuse previous data if netlink timestamp
16111 (__bump_nl_timestamp): New function.
16112 (__free_in6ai): New function.
16114 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16116 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16117 close_not_cancel_no_status here.
16118 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16120 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16123 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16126 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16127 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16128 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16130 2011-07-03 Andreas Jaeger <aj@suse.de>
16133 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16134 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16135 * math/libm-test.inc (sin_test): Add test case.
16137 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16140 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16141 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16143 * elf/chroot_canon.c (chroot_canon): Cleanups.
16145 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16148 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16149 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16151 * string/test-strchr.c: Make usable for strchrnul testing.
16152 * string/test-strchrnul.c: New file.
16153 * string/Makefile (strop-tests): Add strchrnul.
16155 * po/it.po: Update from translation team.
16156 * po/es.po: Likewise.
16158 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16161 the three constants needed as parameters. Drop the others.
16162 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16163 __m128i_strloadu_tolower.
16164 Create and initialize variable zero and use it in all the places
16165 where _mm_setzero_si128 was used.
16167 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16168 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16169 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16170 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16172 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16175 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16176 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16177 __mpranred, __mptan.
16178 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16179 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16180 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16181 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16182 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16183 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16185 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16186 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16188 2011-10-28 Andreas Schwab <schwab@redhat.com>
16190 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16191 redefine if SHARED.
16192 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16195 wide char related routines to wcsmbs subdir.
16197 2011-10-27 Andreas Schwab <schwab@redhat.com>
16200 * misc/sys/cdefs.h (__THROWNL): Define.
16201 * posix/unistd.h: Use __THREADNL instead of __THREAD
16202 for memory synchronization functions.
16204 2011-10-26 Roland McGrath <roland@hack.frob.com>
16207 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16209 * manual/stdio.texi (Obstack Streams): Node removed.
16211 2011-10-26 Andreas Schwab <schwab@redhat.com>
16213 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16214 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16215 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16217 * math/math_private.h (math_force_eval): Allow non-addressable
16219 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16221 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16223 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16224 file is not needed.
16226 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16228 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16229 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16231 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16232 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16233 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16235 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16236 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16237 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16238 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16240 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16241 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16242 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16243 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16244 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16245 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16246 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16248 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16249 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16250 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16251 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16252 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16253 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16255 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16256 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16258 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16259 place. Use VEX encoding when compiling for AVX.
16261 2011-10-25 Andreas Schwab <schwab@redhat.com>
16263 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16264 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16266 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16268 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16270 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16271 useless if() expression.
16272 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16273 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16276 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16277 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16278 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16282 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16284 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16285 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16286 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16287 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16288 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16290 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16292 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16294 2011-10-25 Andreas Schwab <schwab@redhat.com>
16296 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16298 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16300 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16302 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16303 .text section. Avoid duplicate constants.
16304 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16306 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16312 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16313 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16314 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16315 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16316 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16317 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16318 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16319 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16320 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16321 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16322 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16324 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16325 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16326 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16327 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16328 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16329 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16330 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16331 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16332 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16333 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16334 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16335 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16336 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16337 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16338 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16339 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16340 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16342 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16343 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16344 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16346 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16347 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16348 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16350 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16352 * sysdeps/x86_64/dla.h: Move to ...
16353 * sysdeps/x86_64/fpu/dla.h: ...here.
16354 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16355 situations. Use __builtin_fma only for gcc 4.6 and up.
16357 * config.make.in: Add have-mfma4 entry.
16358 * configure.in: Substitute libc_cv_cc_fma4.
16359 * math/Makefile (dbl-only-routines): Add sincostab.
16360 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16361 Use __sincostab not sincos.
16362 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16369 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16370 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16371 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16372 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16374 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16375 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16377 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16378 define aliases when function name is a macro.
16379 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16380 sysdeps/ieee754/dbl-64/sincos.tbl.
16381 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16382 fma4-enabled routines.
16383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16384 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16385 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16386 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16387 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16388 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16389 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16390 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16391 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16392 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16393 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16394 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16395 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16396 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16397 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16398 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16399 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16400 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16401 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16403 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16404 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16406 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16408 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16410 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16411 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16412 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16414 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16425 2011-10-24 Andreas Schwab <schwab@redhat.com>
16427 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16429 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16433 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16437 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16438 Remove unused variable magic_bits.
16439 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16441 * string/strnlen.c: Define and use STRNLEN macro.
16442 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16443 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16445 * wcsmbs/wcslen.c: Define and use WCSLEN.
16446 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16447 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16448 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16449 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16450 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16451 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16452 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16454 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16457 strnlen-sse2-no-bsf.
16458 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16460 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16461 Add strnlen support.
16462 (USE_AS_STRNLEN): New macro.
16463 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16464 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16465 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16466 * sysdeps/x86_64/wcslen.S: New file.
16468 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16471 XMM-moves are used for copying on small sizes.
16473 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16475 * wcsmbs/Makefile (strop-tests): Add wcschr.
16476 * wcsmbs/test-wcschr.c: New file.
16477 * string/test-strchr.c: Update.
16478 Add wcschr support.
16481 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16483 * wcsmbs/Makefile (strop-tests): Add wcslen.
16484 * wcsmbs/test-wcslen.c: New file.
16485 * string/test-strlen.c: Update.
16486 Add wcslen support.
16489 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16491 * po/it.po: Update from translation team.
16493 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16495 * sysdeps/x86_64/wcscmp.S: Update.
16496 Fix wrong comparison semantics.
16497 wcscmp shall use signed comparison not unsigned.
16498 Don't use substraction to avoid overflow bug.
16499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16500 * wcsmbc/wcscmp.c: Likewise.
16501 * string/test-strcmp.c: Likewise.
16502 Add new tests to check cases with negative values.
16504 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16506 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16507 * sysdeps/x86_64/dla.h: ...here. New file.
16508 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16518 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16521 __ynl_finite aliases.
16523 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16527 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16529 [DLA_FMA] (EMULV): Use DLA_FMA.
16530 [DLA_FMA] (MUL12): Use EMULV.
16531 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16532 that are not needed.
16533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16541 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16543 * math/s_nan.c: Undef __nan.
16544 * math/s_nanf.c: Undef __nanf.
16545 * math/s_nanl.c: Undef __nanl.
16546 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16549 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16551 * math/s_catan.c: Add branch predictions.
16552 * math/s_catanf.c: Likewise.
16553 * math/s_catanh.c: Likewise.
16554 * math/s_catanhf.c: Likewise.
16555 * math/s_catanhl.c: Likewise.
16556 * math/s_catanl.c: Likewise.
16557 * math/s_cexp.c: Likewise.
16558 * math/s_cexpf.c: Likewise.
16559 * math/s_cexpl.c: Likewise.
16560 * math/s_clog.c: Likewise.
16561 * math/s_clog10.c: Likewise.
16562 * math/s_clog10f.c: Likewise.
16563 * math/s_clog10l.c: Likewise.
16564 * math/s_clogf.c: Likewise.
16565 * math/s_clogl.c: Likewise.
16566 * math/s_csqrt.c: Likewise.
16567 * math/s_csqrtf.c: Likewise.
16568 * math/s_csqrtl.c: Likewise.
16569 * math/s_ctanf.c: Likewise.
16570 * math/s_ctanh.c: Likewise.
16571 * math/s_ctanhf.c: Likewise.
16572 * math/s_ctanhl.c: Likewise.
16573 * math/s_ctanl.c: Likewise.
16575 * math/math_private.h: Define __nan, __nanf, __nanl.
16576 * math/s_cacosh.c: Include <math_private.h>.
16577 * math/s_cacoshl.c: Likewise.
16578 * math/s_casinh.c: Likewise.
16579 * math/s_casinhf.c: Likewise.
16580 * math/s_casinhl.c: Likewise.
16581 * math/s_ccos.c: Rely entire on ccosh.
16582 * math/s_ccosf.c: Rely entire on ccoshf.
16583 * math/s_ccosl.c: Rely entirely on ccoshl.
16584 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16585 Remove tests for FE_INVALID.
16586 * math/s_ccoshf.c: Likewise.
16587 * math/s_ccoshl.c: Likewise.
16588 * math/s_csin.c: Likewise.
16589 * math/s_csinf.c: Likewise.
16590 * math/s_csinh.c Likewise.
16591 * math/s_csinhf.c: Likewise.
16592 * math/s_csinhl.c: Likewise.
16593 * math/s_csinl.c: Likewise.
16594 * math/s_ctan.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16596 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16597 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16599 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16602 compilation problems.
16604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16607 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16609 * sysdeps/i386/configure.in: Test for -mfma4 option.
16610 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16611 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16612 COMMON_CPUID_INDEX_80000001.
16613 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16614 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16615 use it if FMA3 is not supported.
16616 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16618 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16619 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16621 2011-10-20 Andreas Schwab <schwab@redhat.com>
16624 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16625 it would create a cycle with a link time dependency.
16627 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16629 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16631 * string/Makefile (strop-tests): Add rawmemchr.
16632 * string/test-rawmemchr.c: New file.
16634 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16636 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16637 when compiling str{,n}casecmp and when AVX is available. Hook up
16638 new optimized code in initializers.
16640 2011-10-19 Andreas Schwab <schwab@redhat.com>
16642 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16643 __feraiseexcept instead of feraiseexcept.
16645 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16647 * math/math_private.h: Define defaults for libc_fetestexcept and
16649 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16650 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16653 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16654 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16655 libc_fetestexcept and libc_feupdateenv.
16657 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16658 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16659 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16660 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16661 libc_feholdexcept_setround.
16663 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16664 Add s_nearbyint-c and s_nearbyintf-c.
16665 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16666 nearbyintf inlines.
16667 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16668 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16669 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16670 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16672 * math/math_private.h: Define defaults for libc_fegetround,
16673 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16674 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16675 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16676 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16677 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16678 standard functions.
16679 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16680 Remove comments and hacks for old compiler versions.
16681 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16682 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16683 libc_feholdexceptl.
16685 2011-10-18 Andreas Schwab <schwab@redhat.com>
16687 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16688 (__feraiseexcept_renamed): Add __NTH.
16689 (feraiseexcept): Add __NTH. Rename local variables to fix
16690 namespace violations.
16692 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16694 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16698 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16699 recently added interfaces.
16700 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16702 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16703 about macro parameter expansion.
16705 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16706 __NO_MATH_INLINES is defined. Cleanups.
16708 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16709 and __floorf is target has SSE4.1.
16710 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16711 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16712 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16713 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16715 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16717 (floorf): Likewise.
16719 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16721 2011-10-17 Andreas Schwab <schwab@redhat.com>
16723 * misc/sys/cdefs.h: Fix last change.
16725 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16728 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16730 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16732 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16734 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16735 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16740 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16741 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16742 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16743 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16744 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16745 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16746 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16747 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16748 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16749 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16750 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16751 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16752 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16753 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16755 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16756 ceil, ceilf, floor, floorf.
16758 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16759 Perform IRELATIVE relocations last.
16761 * elf/do-rel.h: Add another parameter nrelative, replacing the
16762 local variable with the same name. Change name of the function
16763 to end in Rel or Rela (uppercase).
16764 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16765 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16766 elf_dynamic_do_##reloc function.
16768 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16770 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16771 is sufficient, at least on modern CPUs.
16773 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16775 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16776 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16778 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16780 * math/bits/math-finite.h: Add entries for exp.
16781 * math/e_expl.c: Add __*_finite alias.
16782 * sysdeps/i386/fpu/e_exp.S: Likewise.
16783 * sysdeps/i386/fpu/e_expf.S: Likewise.
16784 * sysdeps/i386/fpu/e_expl.c: Likewise.
16785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16786 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16789 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16790 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16791 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16793 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16794 is sufficient, at least on modern CPUs.
16796 * ctype/ctype-info.c (__ctype_init): Define.
16797 * include/ctype.h (__ctype_init): Declare.
16798 (__ctype_b_loc): The variable is always initialized.
16799 (__ctype_toupper_loc): Likewise.
16800 (__ctype_tolower_loc): Likewise.
16801 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16802 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16804 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16806 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16808 * configure.in: Also look in $cxxmachine/include for C++ system
16811 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16813 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16814 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16815 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16816 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16818 (USE_AS_WMEMCMP): New macro.
16820 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16821 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16822 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16823 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16825 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16826 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16827 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16828 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16829 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16831 (USE_AS_WMEMCMP): New macro.
16832 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16833 * sysdeps/string/test-memcmp.c: Update.
16834 Fix simple_wmemcmp.
16836 * wcsmbs/wmemcmp.c: Update.
16837 (WMEMCMP): New macro.
16840 2011-10-12 Andreas Jaeger <aj@suse.de>
16843 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16845 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16847 * libio/iofwide.c (do_length): Avoid warning.
16849 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16851 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16853 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16855 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16856 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16857 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16858 * sysdeps/i386/i686/fpu/e_log.S: New file.
16859 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16860 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16862 * ctype/ctype.h: Add support for inlined isXXX functions when
16863 compiling C++ code.
16865 2011-10-14 Andreas Schwab <schwab@redhat.com>
16867 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16869 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16871 2011-10-13 Roland McGrath <roland@hack.frob.com>
16874 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16876 2011-10-13 Andreas Schwab <schwab@redhat.com>
16878 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16879 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16882 * sysdeps/x86_64/memrchr.S: Check for zero size.
16884 * string/stratcliff.c: Add memrchr tests.
16886 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16889 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16890 rawmemchr-sse2 rawmemchr-sse2-bsf.
16891 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16892 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16893 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16894 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16895 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16896 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16897 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16898 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16899 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16900 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16901 * string/memrchr.c (MEMRCHR): New macro.
16903 2011-10-12 Ulrich Drepper <drepper@gmail.com>
16905 Add integration with gcc's -ffinite-math-only and optimize wrapper
16907 * Versions.def: Define GLIBC_2.15 version for libm.
16908 * math/Makefile (headers): Add bits/math-finite.h.
16909 * math/bits/math-finite.h: New file.
16910 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16911 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16912 * math/e_acoshl.c: Add __*_finite alias.
16913 * math/e_acosl.c: Likewise.
16914 * math/e_asinl.c: Likewise.
16915 * math/e_atan2l.c: Likewise.
16916 * math/e_atanhl.c: Likewise.
16917 * math/e_coshl.c: Likewise.
16918 * math/e_exp10.c: Likewise.
16919 * math/e_exp10f.c: Likewise.
16920 * math/e_exp10l.c: Likewise.
16921 * math/e_exp2l.c: Likewise.
16922 * math/e_fmodl.c: Likewise.
16923 * math/e_gammal_r.c: Likewise.
16924 * math/e_hypotl.c: Likewise.
16925 * math/e_j0l.c: Likewise.
16926 * math/e_j1l.c: Likewise.
16927 * math/e_jnl.c: Likewise.
16928 * math/e_lgammal_r.c: Likewise.
16929 * math/e_log10l.c: Likewise.
16930 * math/e_log2l.c: Likewise.
16931 * math/e_logl.c: Likewise.
16932 * math/e_powl.c: Likewise.
16933 * math/e_sinhl.c: Likewise.
16934 * math/e_sqrtl.c: Likewise.
16935 * math/e_scalb.c: Completely rewritten and optimized.
16936 * math/e_scalbf.c: Likewise.
16937 * math/e_scalbl.c: Likewise.
16938 * math/w_acos.c: Likewise.
16939 * math/w_acosf.c: Likewise.
16940 * math/w_acosl.c: Likewise.
16941 * math/w_acosh.c: Likewise.
16942 * math/w_acoshf.c: Likewise.
16943 * math/w_acoshl.c: Likewise.
16944 * math/w_asin.c: Likewise.
16945 * math/w_asinf.c: Likewise.
16946 * math/w_asinl.c: Likewise.
16947 * math/w_atan2.c: Likewise.
16948 * math/w_atan2f.c: Likewise.
16949 * math/w_atan2l.c: Likewise.
16950 * math/w_atanh.c: Likewise.
16951 * math/w_atanhf.c: Likewise.
16952 * math/w_atanhl.c: Likewise.
16953 * math/w_exp10.c: Likewise.
16954 * math/w_exp10f.c: Likewise.
16955 * math/w_exp10l.c: Likewise.
16956 * math/w_fmod.c: Likewise.
16957 * math/w_fmodf.c: Likewise.
16958 * math/w_fmodl.c: Likewise.
16959 * math/w_j0.c: Likewise.
16960 * math/w_j0f.c: Likewise.
16961 * math/w_j0l.c: Likewise.
16962 * math/w_j1.c: Likewise.
16963 * math/w_j1f.c: Likewise.
16964 * math/w_j1l.c: Likewise.
16965 * math/w_jn.c: Likewise.
16966 * math/w_jnf.c: Likewise.
16967 * math/w_log.c: Likewise.
16968 * math/w_logf.c: Likewise.
16969 * math/w_logl.c: Likewise.
16970 * math/w_log10.c: Likewise.
16971 * math/w_log10f.c: Likewise.
16972 * math/w_log10l.c: Likewise.
16973 * math/w_log2.c: Likewise.
16974 * math/w_log2f.c: Likewise.
16975 * math/w_log2l.c: Likewise.
16976 * math/w_pow.c: Likewise.
16977 * math/w_powf.c: Likewise.
16978 * math/w_powl.c: Likewise.
16979 * math/w_remainder.c: Likewise.
16980 * math/w_remainderf.c: Likewise.
16981 * math/w_remainderl.c: Likewise.
16982 * math/w_scalb.c: Likewise.
16983 * math/w_scalbf.c: Likewise.
16984 * math/w_scalbl.c: Likewise.
16985 * math/w_sqrt.c: Likewise.
16986 * math/w_sqrtf.c: Likewise.
16987 * math/w_sqrtl.c: Likewise.
16988 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16989 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16991 * math/math_private.h: Declare __kernel_standard_f.
16992 * math/w_cosh.c: Remove cruft and optimize a bit.
16993 * math/w_coshf.c: Likewise.
16994 * math/w_coshl.c: Likewise.
16995 * math/w_exp2.c: Likewise.
16996 * math/w_exp2f.c: Likewise.
16997 * math/w_exp2l.c: Likewise.
16998 * math/w_hypot.c: Likewise.
16999 * math/w_hypotf.c: Likewise.
17000 * math/w_hypotl.c: Likewise.
17001 * math/w_lgamma.c: Likewise.
17002 * math/w_lgamma_r.c: Likewise.
17003 * math/w_lgammaf.c: Likewise.
17004 * math/w_lgammaf_r.c: Likewise.
17005 * math/w_lgammal.c: Likewise.
17006 * math/w_lgammal_r.c: Likewise.
17007 * math/w_sinh.c: Likewise.
17008 * math/w_sinhf.c: Likewise.
17009 * math/w_sinhl.c: Likewise.
17010 * math/w_tgamma.c: Likewise.
17011 * math/w_tgammaf.c: Likewise.
17012 * math/w_tgammal.c: Likewise.
17013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17015 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17016 Minor optimizations. Pretty printing. Remove cruft.
17017 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17018 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17020 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17021 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17022 * sysdeps/i386/fpu/e_asin.S: Likewise.
17023 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17024 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17025 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17026 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17027 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17028 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17029 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17030 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17031 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17032 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17033 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17034 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17035 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17036 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17037 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17038 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17039 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17040 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17041 * sysdeps/i386/fpu/e_log.S: Likewise.
17042 * sysdeps/i386/fpu/e_log10.S: Likewise.
17043 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17044 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17045 * sysdeps/i386/fpu/e_log2.S: Likewise.
17046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17048 * sysdeps/i386/fpu/e_logf.S: Likewise.
17049 * sysdeps/i386/fpu/e_logl.S: Likewise.
17050 * sysdeps/i386/fpu/e_pow.S: Likewise.
17051 * sysdeps/i386/fpu/e_powf.S: Likewise.
17052 * sysdeps/i386/fpu/e_powl.S: Likewise.
17053 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17054 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17055 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17056 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17057 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17058 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17059 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17060 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17061 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17083 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17084 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17085 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17086 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17087 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17088 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17089 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17090 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17091 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17092 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17093 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17094 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17095 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17096 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17097 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17098 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17099 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17100 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17101 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17102 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17103 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17114 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17115 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17117 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17118 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17119 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17120 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17121 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17123 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17126 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17127 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17130 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17131 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17132 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17133 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17134 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17145 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17146 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17147 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17148 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17149 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17150 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17151 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17152 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17153 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17154 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17155 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17156 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17157 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17158 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17159 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17160 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17161 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17162 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17163 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17164 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17165 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17166 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17167 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17168 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17169 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17170 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17171 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17172 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17173 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17174 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17175 (__isnanf): Likewise.
17176 (__isinf_ns): Likewise.
17177 (__isinf_nsf): Likewise.
17178 (__finite): Likewise.
17179 (__finitef): Likewise.
17180 (__ieee754_sqrt): Define as macro.
17181 (__ieee754_sqrtf): Define as macro.
17182 (__ieee754_sqrtl): Define as macro.
17183 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17185 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17186 __FINITE_MATH_ONLY__ consistent.
17187 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17189 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17191 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17194 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17196 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17198 * po/ja.po: Update from translation team.
17200 2011-10-08 Roland McGrath <roland@hack.frob.com>
17202 * locale/programs/locarchive.c (prepare_address_space): New function.
17203 (create_archive, enlarge_archive, open_archive): Use it.
17205 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17206 inside [SHARED], where it is used.
17208 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17210 * nss/getent.c (netgroup_keys): Remove unused variable.
17211 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17213 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17215 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17216 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17218 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17219 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17220 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17221 * math/Makefile (libm-calls): Add s_isinf_ns.
17222 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17223 * math/multc3.c: Likewise.
17224 * math/s_casin.c: Likewise.
17225 * math/s_casinf.c: Likewise.
17226 * math/s_casinl.c: Likewise.
17227 * math/s_ccos.c: Likewise.
17228 * math/s_ccosf.c: Likewise.
17229 * math/s_ccosl.c: Likewise.
17230 * math/s_ctan.c: Likewise.
17231 * math/s_ctanf.c: Likewise.
17232 * math/s_ctanh.c: Likewise.
17233 * math/s_ctanhf.c: Likewise.
17234 * math/s_ctanhl.c: Likewise.
17235 * math/s_ctanl.c: Likewise.
17236 * math/w_fmod.c: Likewise.
17237 * math/w_fmodf.c: Likewise.
17238 * math/w_fmodl.c: Likewise.
17239 * math/w_remainder.c: Likewise.
17240 * math/w_remainderf.c: Likewise.
17241 * math/w_remainderl.c: Likewise.
17242 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17243 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17246 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17247 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17248 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17249 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17251 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17253 * stdio-common/printf_fphex.c: Likewise.
17254 * stdio-common/printf_size.c: Likewise.
17256 * math/e_exp10.c: Include math_private.h using <...> not "...".
17257 * math/e_exp10f.c: Likewise.
17258 * math/e_exp10l.c: Likewise.
17259 * math/e_exp2l.c: Likewise.
17260 * math/e_j0l.c: Likewise.
17261 * math/e_j1l.c: Likewise.
17262 * math/e_jnl.c: Likewise.
17263 * math/e_lgammal_r.c: Likewise.
17264 * math/e_rem_pio2l.c: Likewise.
17265 * math/e_scalb.c: Likewise.
17266 * math/e_scalbf.c: Likewise.
17267 * math/e_scalbl.c: Likewise.
17268 * math/k_cosl.c: Likewise.
17269 * math/k_sinl.c: Likewise.
17270 * math/k_tanl.c: Likewise.
17271 * math/s_cacoshf.c: Likewise.
17272 * math/s_catan.c: Likewise.
17273 * math/s_catanf.c: Likewise.
17274 * math/s_catanh.c: Likewise.
17275 * math/s_catanhf.c: Likewise.
17276 * math/s_catanhl.c: Likewise.
17277 * math/s_catanl.c: Likewise.
17278 * math/s_ccosh.c: Likewise.
17279 * math/s_ccoshf.c: Likewise.
17280 * math/s_ccoshl.c: Likewise.
17281 * math/s_cexp.c: Likewise.
17282 * math/s_cexpf.c: Likewise.
17283 * math/s_cexpl.c: Likewise.
17284 * math/s_clog.c: Likewise.
17285 * math/s_clog10.c: Likewise.
17286 * math/s_clog10f.c: Likewise.
17287 * math/s_clog10l.c: Likewise.
17288 * math/s_clogf.c: Likewise.
17289 * math/s_clogl.c: Likewise.
17290 * math/s_csin.c: Likewise.
17291 * math/s_csinf.c: Likewise.
17292 * math/s_csinh.c: Likewise.
17293 * math/s_csinhf.c: Likewise.
17294 * math/s_csinhl.c: Likewise.
17295 * math/s_csinl.c: Likewise.
17296 * math/s_csqrt.c: Likewise.
17297 * math/s_csqrtf.c: Likewise.
17298 * math/s_csqrtl.c: Likewise.
17299 * math/s_ctan.c: Likewise.
17300 * math/s_ctanf.c: Likewise.
17301 * math/s_ctanh.c: Likewise.
17302 * math/s_ctanhf.c: Likewise.
17303 * math/s_ctanhl.c: Likewise.
17304 * math/s_ctanl.c: Likewise.
17305 * math/s_ldexp.c: Likewise.
17306 * math/s_ldexpf.c: Likewise.
17307 * math/s_ldexpl.c: Likewise.
17308 * math/s_significand.c: Likewise.
17309 * math/s_significandf.c: Likewise.
17310 * math/s_significandl.c: Likewise.
17311 * math/w_acos.c: Likewise.
17312 * math/w_acosf.c: Likewise.
17313 * math/w_acosh.c: Likewise.
17314 * math/w_acoshf.c: Likewise.
17315 * math/w_acoshl.c: Likewise.
17316 * math/w_acosl.c: Likewise.
17317 * math/w_asin.c: Likewise.
17318 * math/w_asinf.c: Likewise.
17319 * math/w_asinl.c: Likewise.
17320 * math/w_atan2.c: Likewise.
17321 * math/w_atan2f.c: Likewise.
17322 * math/w_atan2l.c: Likewise.
17323 * math/w_atanh.c: Likewise.
17324 * math/w_atanhf.c: Likewise.
17325 * math/w_atanhl.c: Likewise.
17326 * math/w_cosh.c: Likewise.
17327 * math/w_coshf.c: Likewise.
17328 * math/w_coshl.c: Likewise.
17329 * math/w_dremf.c: Likewise.
17330 * math/w_exp10.c: Likewise.
17331 * math/w_exp10f.c: Likewise.
17332 * math/w_exp10l.c: Likewise.
17333 * math/w_exp2.c: Likewise.
17334 * math/w_exp2f.c: Likewise.
17335 * math/w_fmod.c: Likewise.
17336 * math/w_fmodf.c: Likewise.
17337 * math/w_fmodl.c: Likewise.
17338 * math/w_hypot.c: Likewise.
17339 * math/w_hypotf.c: Likewise.
17340 * math/w_hypotl.c: Likewise.
17341 * math/w_j0.c: Likewise.
17342 * math/w_j0f.c: Likewise.
17343 * math/w_j0l.c: Likewise.
17344 * math/w_j1.c: Likewise.
17345 * math/w_j1f.c: Likewise.
17346 * math/w_j1l.c: Likewise.
17347 * math/w_jn.c: Likewise.
17348 * math/w_jnf.c: Likewise.
17349 * math/w_jnl.c: Likewise.
17350 * math/w_lgamma.c: Likewise.
17351 * math/w_lgamma_r.c: Likewise.
17352 * math/w_lgammaf.c: Likewise.
17353 * math/w_lgammaf_r.c: Likewise.
17354 * math/w_lgammal.c: Likewise.
17355 * math/w_lgammal_r.c: Likewise.
17356 * math/w_log.c: Likewise.
17357 * math/w_log10.c: Likewise.
17358 * math/w_log10f.c: Likewise.
17359 * math/w_log10l.c: Likewise.
17360 * math/w_log2.c: Likewise.
17361 * math/w_log2f.c: Likewise.
17362 * math/w_log2l.c: Likewise.
17363 * math/w_logf.c: Likewise.
17364 * math/w_logl.c: Likewise.
17365 * math/w_pow.c: Likewise.
17366 * math/w_powf.c: Likewise.
17367 * math/w_powl.c: Likewise.
17368 * math/w_remainder.c: Likewise.
17369 * math/w_remainderf.c: Likewise.
17370 * math/w_remainderl.c: Likewise.
17371 * math/w_scalb.c: Likewise.
17372 * math/w_scalbf.c: Likewise.
17373 * math/w_scalbl.c: Likewise.
17374 * math/w_sinh.c: Likewise.
17375 * math/w_sinhf.c: Likewise.
17376 * math/w_sinhl.c: Likewise.
17377 * math/w_sqrt.c: Likewise.
17378 * math/w_sqrtf.c: Likewise.
17379 * math/w_sqrtl.c: Likewise.
17380 * math/w_tgamma.c: Likewise.
17381 * math/w_tgammaf.c: Likewise.
17382 * math/w_tgammal.c: Likewise.
17384 * po/ja.po: Update from translation team.
17386 2011-09-29 Andreas Jaeger <aj@suse.de>
17389 * sunrpc/netname.c (netname2host): Fix logic.
17393 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17395 * math/w_remainder.c (__remainder): Likewise.
17396 * math/w_remainderf.c (__remainderf): Likewise.
17397 * math/libm-test.inc (remainder_test): Add test cases.
17399 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17401 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17404 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17406 * string/test-memcmp.c: Avoid unncessary #defines.
17407 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17409 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17411 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17412 Use new sse2 version for core i3 - i7 as it's faster
17413 than sse42 version.
17414 (bit_Prefer_PMINUB_for_stringop): New.
17415 * sysdeps/x86_64/rawmemchr.S: Update.
17416 Replace with faster SSE2 version.
17417 * sysdeps/x86_64/memrchr.S: New file.
17418 * sysdeps/x86_64/memchr.S: Update.
17419 Replace with faster SSE2 version.
17421 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17423 * elf/dl-load.c (lose): Add cast to avoid warning.
17425 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17427 * po/ca.po: Update from translation team.
17429 * inet/getnetgrent_r.c: Hook up nscd.
17430 * nscd/Makefile (routines): Add nscd_netgroup.
17431 (nscd-modules): Add netgroupcache.
17432 (CFLAGS-netgroupcache.c): Define.
17433 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17434 (cache_search): Add const to second parameter.
17435 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17437 (dbs): Add netgrdb entry.
17438 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17439 (verify_persistent_db): Handle netgrdb.
17440 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17441 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17443 (netgroup_response_header): Define.
17444 (innetgroup_response_header): Define.
17445 (datahead): Add netgroup_response_header and innetgroup_response_header
17447 * nscd/nscd.conf: Add entries for netgroup cache.
17448 * nscd/nscd.h (dbtype): Add netgrdb.
17449 (_PATH_NSCD_NETGROUP_DB): Define.
17450 (netgroup_iov_disabled): Declare.
17451 (xmalloc, xcalloc, xrealloc): Move declarations here.
17452 (cache_search): Adjust prototype.
17453 Add netgroup-related prototypes.
17454 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17455 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17456 (__nscd_innetgr): Declare.
17457 * nscd/selinux.c (perms): Use access_vector_t as element type and
17458 add netgroup-related initializers.
17459 * nscd/netgroupcache.c: New file.
17460 * nscd/nscd_netgroup.c: New file.
17461 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17462 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17463 For four parameters use innetgr.
17464 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17465 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17466 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17467 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17469 * nscd/connections.c (register_traced_file): Don't register file
17470 for disabled databases.
17472 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17474 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17476 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17477 from tree and freeing node.
17479 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17481 * nss/nsswitch.c (__nss_database_lookup): Handle
17482 nss_parse_service_list out of memory case.
17484 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17486 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17487 out of memory case.
17489 2011-10-04 Andreas Schwab <schwab@redhat.com>
17491 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17492 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17494 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17495 elf_machine_rela, elf_machine_lazy_rel.
17496 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17497 (ELF_DYNAMIC_DO_REL): Likewise.
17498 (ELF_DYNAMIC_DO_RELA): Likewise.
17499 (ELF_DYNAMIC_RELOCATE): Likewise.
17500 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17501 to ELF_DYNAMIC_DO_REL.
17502 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17503 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17504 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17506 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17507 skip_ifunc, don't call ifunc function if non-zero.
17508 (elf_machine_rela): Likewise.
17509 (elf_machine_lazy_rel): Likewise.
17510 (elf_machine_lazy_rela): Likewise.
17511 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17512 (elf_machine_lazy_rel): Likewise.
17513 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17515 (elf_machine_lazy_rel): Likewise.
17516 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17518 (elf_machine_lazy_rel): Likewise.
17519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17520 (elf_machine_lazy_rel): Likewise.
17521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17522 (elf_machine_lazy_rel): Likewise.
17523 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17524 (elf_machine_lazy_rel): Likewise.
17525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17526 (elf_machine_lazy_rel): Likewise.
17527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17528 (elf_machine_lazy_rel): Likewise.
17529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17530 (elf_machine_lazy_rel): Likewise.
17532 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17534 * nss/nss_files/files-init.c (_nss_files_init): Use static
17535 initialization for all the *_traced_file variables.
17537 2011-09-28 Andreas Schwab <schwab@redhat.com>
17539 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17541 2011-09-27 Roland McGrath <roland@hack.frob.com>
17544 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17546 2011-09-27 Andreas Schwab <schwab@redhat.com>
17548 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17549 Reread the line before reparsing it.
17551 2011-09-26 Andreas Schwab <schwab@redhat.com>
17553 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17555 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17556 Maxim Kuvyrkov <maxim@codesourcery.com>
17557 Joseph Myers <joseph@codesourcery.com>
17559 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17560 if needed for __stack_chk_guard.
17562 2011-09-19 Roland McGrath <roland@hack.frob.com>
17564 * sysdeps/posix/spawni.c (script_execute): Always define it.
17565 It will be optimized away if unused.
17566 (maybe_script_execute): New function.
17567 (__spawni): Call it.
17569 * Makerules: Don't include tls.make.
17570 (config-tls): Always set to thread.
17571 * tls.make.c: File removed.
17573 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17575 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17576 * config.make.in (CPPFLAGS-config): New substituted variable.
17578 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17583 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17584 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17586 2011-09-15 Roland McGrath <roland@hack.frob.com>
17588 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17589 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17590 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17591 (CALL_FAIL): Likewise.
17592 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17593 (CALL_FAIL): Macro removed.
17594 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17596 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17598 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17599 for __FINITE_MATH_ONLY__ == 1.
17601 2011-09-15 Andreas Schwab <schwab@redhat.com>
17603 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17604 __ieee754_sqrt instead of sqrt.
17605 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17606 __ieee754_sqrtf instead of sqrtf.
17607 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17608 __floorf instead of floorf.
17609 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17610 __floorf, __truncf instead of floorf, truncf.
17612 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17614 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17616 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17617 __extern_always_inline.
17618 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17621 2011-09-14 Andreas Schwab <schwab@redhat.com>
17623 * elf/rtld.c (dl_main): Also relocate in dependency order when
17624 doing symbol dependency testing.
17626 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17629 Always define `refsym'.
17631 2011-09-13 Andreas Schwab <schwab@redhat.com>
17633 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17634 (__FD_ELT): Renamed from __FDELT.
17635 * misc/bits/select2.h (__FD_ELT): Likewise.
17636 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17637 __FD_MASK instead of __FDELT, __FDMASK.
17638 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17640 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17643 * elf/Makefile (gen-ldd): Fix pattern.
17645 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17646 (init_tls): Likewise.
17648 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17652 2011-09-12 Andreas Schwab <schwab@redhat.com>
17654 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17655 `struct cmsghdr *' instead of `void *'.
17656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17659 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17661 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17663 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17664 ldd_rewrite_script.
17666 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17668 * configure.in: Remove --with-tls option.
17669 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17670 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17671 out in case it is missing.
17672 * sysdeps/ia64/elf/configure.in: Likewise.
17673 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17674 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17675 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17676 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17677 * sysdeps/sh/elf/configure.in: Likewise.
17678 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17679 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17680 * sysdeps/x86_64/elf/configure.in: Likewise.
17681 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17682 * sysdeps/mach/hurd/tls.h: Likewise.
17685 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17688 * configure.in: Fix use of AC_INIT.
17690 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17692 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17694 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17696 * malloc/hooks.c: Likewise.
17699 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17700 variables statically.
17701 (narenas): Initialize.
17702 (list_lock): Initialize.
17703 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17704 initializtion of main_arena and list_lock. Small cleanups.
17705 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17706 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17707 Add initializers to main_arena and mp_.
17708 (malloc_state): Remove pagesize member. Change all users to use
17711 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17712 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17713 is always initialized.
17715 * malloc/malloc.c: Removed unused configurations and dead code.
17716 * malloc/arena.c: Likewise.
17717 * malloc/hooks.c: Likewise.
17718 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17720 * include/tls.h: Removed. USE___THREAD must always be defined.
17721 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17722 * elf/dl-libc.c: Likewise.
17723 * elf/dl-tsd.c: Likewise.
17724 * include/errno.h: Likewise.
17725 * include/netdb.h: Likewise.
17726 * include/resolv.h: Likewise.
17727 * inet/herrno-loc.c: Likewise.
17728 * inet/herrno.c: Likewise.
17729 * malloc/arena.c: Likewise.
17730 * malloc/hooks.c: Likewise.
17731 * malloc/malloc.c: Likewise.
17732 * resolv/res-state.c: Likewise.
17733 * resolv/res_libc.c: Likewise.
17734 * sysdeps/i386/dl-machine.h: Likewise.
17735 * sysdeps/ia64/dl-machine.h: Likewise.
17736 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17737 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17738 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17739 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17740 * sysdeps/sh/dl-machine.h: Likewise.
17741 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17742 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17743 * sysdeps/unix/i386/sysdep.S: Likewise.
17744 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17745 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17746 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17750 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17754 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17755 * sysdeps/x86_64/dl-machine.h: Likewise.
17756 * tls.make.c: Likewise.
17758 * configure.in: Remove --with-__thread option. Make tests for
17759 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17760 tls_model attribute fail if no support is available. Remove
17762 * Makeconfig: Adjust for dropped configure option. All features are
17764 * Makerules: Likewise.
17765 * Versions.def: Likewise.
17766 * argp/argp-fmtstream.c: Likewise.
17767 * argp/argp-fmtstream.h: Likewise.
17768 * argp/argp-help.c: Likewise.
17769 * assert/assert.c: Likewise.
17770 * config.h.in: Likewise.
17771 * config.make.in: Likewise.
17772 * configure: Likewise.
17773 * configure.in: Likewise.
17774 * csu/Versions: Likewise.
17775 * csu/init.c: Likewise.
17776 * elf/tst-audit2.c: Likewise.
17777 * elf/tst-tls10.c: Likewise.
17778 * elf/tst-tls10.h: Likewise.
17779 * elf/tst-tls11.c: Likewise.
17780 * elf/tst-tls12.c: Likewise.
17781 * elf/tst-tls14.c: Likewise.
17782 * elf/tst-tlsmod11.c: Likewise.
17783 * elf/tst-tlsmod12.c: Likewise.
17784 * elf/tst-tlsmod13.c: Likewise.
17785 * elf/tst-tlsmod13a.c: Likewise.
17786 * elf/tst-tlsmod14a.c: Likewise.
17787 * elf/tst-tlsmod15b.c: Likewise.
17788 * elf/tst-tlsmod16a.c: Likewise.
17789 * elf/tst-tlsmod16b.c: Likewise.
17790 * elf/tst-tlsmod7.c: Likewise.
17791 * elf/tst-tlsmod8.c: Likewise.
17792 * elf/tst-tlsmod9.c: Likewise.
17793 * gmon/gmon.c: Likewise.
17794 * grp/fgetgrent_r.c: Likewise.
17795 * grp/putgrent.c: Likewise.
17796 * hurd/fopenport.c: Likewise.
17797 * include/libc-symbols.h: Likewise.
17798 * include/tls.h: Likewise.
17799 * intl/gettextP.h: Likewise.
17800 * intl/loadinfo.h: Likewise.
17801 * locale/global-locale.c: Likewise.
17802 * locale/localeinfo.h: Likewise.
17803 * mach/devstream.c: Likewise.
17804 * malloc/arena.c: Likewise.
17805 * malloc/set-freeres.c: Likewise.
17806 * misc/err.c: Likewise.
17807 * misc/getttyent.c: Likewise.
17808 * misc/mntent_r.c: Likewise.
17809 * posix/getopt.c: Likewise.
17810 * posix/wordexp.c: Likewise.
17811 * pwd/fgetpwent_r.c: Likewise.
17812 * resolv/Versions: Likewise.
17813 * resolv/res_hconf.c: Likewise.
17814 * shadow/fgetspent_r.c: Likewise.
17815 * shadow/putspent.c: Likewise.
17816 * stdio-common/printf_fphex.c: Likewise.
17817 * stdio-common/tmpfile.c: Likewise.
17818 * stdlib/abort.c: Likewise.
17819 * stdlib/fmtmsg.c: Likewise.
17820 * sunrpc/auth_unix.c: Likewise.
17821 * sunrpc/clnt_perr.c: Likewise.
17822 * sunrpc/clnt_tcp.c: Likewise.
17823 * sunrpc/clnt_udp.c: Likewise.
17824 * sunrpc/clnt_unix.c: Likewise.
17825 * sunrpc/openchild.c: Likewise.
17826 * sunrpc/svc_simple.c: Likewise.
17827 * sunrpc/svc_tcp.c: Likewise.
17828 * sunrpc/svc_udp.c: Likewise.
17829 * sunrpc/svc_unix.c: Likewise.
17830 * sunrpc/xdr.c: Likewise.
17831 * sunrpc/xdr_array.c: Likewise.
17832 * sunrpc/xdr_rec.c: Likewise.
17833 * sunrpc/xdr_ref.c: Likewise.
17834 * sunrpc/xdr_stdio.c: Likewise.
17836 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17838 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17840 2011-07-03 Andreas Jaeger <aj@suse.de>
17842 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17844 regenerate with gen-libm-tests.pl.
17846 2010-05-12 Petr Baudis <pasky@suse.cz>
17849 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17850 around j0() zero points by switching to j1().
17851 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17856 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17858 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17860 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17863 Patch in part by Pavel Roskin <proski@gnu.org>.
17866 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17868 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17869 Free memory block if necessary.
17872 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17873 be NULL. Don't lock in this case.
17875 2011-09-09 Roland McGrath <roland@hack.frob.com>
17877 * elf/elf.h (ELFOSABI_GNU): New macro.
17878 (ELFOSABI_LINUX): Define to that.
17880 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17882 * string/strncat.c (strncat): Undef the symbol in case it has been
17883 defined in bits/string.h.
17885 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17887 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17889 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17892 2011-08-17 Andreas Jaeger <aj@suse.de>
17894 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17896 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17897 Ian Lance Taylor <iant@google.com>
17899 * math/libm-test.inc (lround_test): New testcase.
17900 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17902 2011-09-08 Ulrich Drepper <drepper@gmail.com>
17904 * Makefile: Remove support for automatic cvs check-ins.
17905 * Makerules: Likewise.
17906 * config.make.in: Likewise.
17907 * configure.in: Likewise.
17908 * intl/Makefile: Likewise.
17909 * locale/Makefile: Likewise.
17910 * po/Makefile: Likewise.
17911 * posix/Makefile: Likewise.
17912 * sysdeps/gnu/Makefile: Likewise.
17913 * sysdeps/mach/hurd/Makefile: Likewise.
17914 * sysdeps/sparc/sparc32/Makefile: Likewise.
17917 * posix/Makefile (bug-regex32-ENV): Define.
17918 Patch by John Stanley <jpsinthemix@verizon.net>.
17920 * misc/Makefile (headers): Add bits/select2.h.
17921 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17922 * misc/bits/select2.h: New file.
17923 * include/bits/select2.h: New file.
17924 * debug/Makefile (routines): Add fdelt_chk.
17925 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17926 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17928 * debug/fdelt_chk.c: New file.
17930 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17931 * wcsmbs/test-wmemcmp.c: Likewise.
17932 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
17933 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
17935 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17937 * string/Makefile (strop-tests): Add memcmp.
17938 * string/test-wmemcmp.c: New file.
17939 * string/test-memcmp.c: Add wmemcmp support.
17941 2011-09-08 Roland McGrath <roland@hack.frob.com>
17944 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17947 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17948 garbage value in a __mach_port_mod_refs call in the cases of the
17949 task-self and thread-self ports.
17951 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17953 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17955 2011-09-08 Andreas Schwab <schwab@redhat.com>
17957 * elf/dl-load.c (lose): Check for non-null L.
17959 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17961 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17963 * elf/dl-libc.c (dlerror_run): Pass back error code from
17967 * elf/dl-load.c (lose): Free l_origin if it is valid.
17969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17971 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17975 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17976 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17978 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17980 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17981 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17982 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17983 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17984 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17985 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17986 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17987 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17988 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17989 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17991 2011-08-15 Alan Modra <amodra@gmail.com>
17994 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17995 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17996 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17997 ppc_mcount to static-only-routines.
17998 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18000 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18001 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18003 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18005 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18006 for finite and infinity parameters.
18008 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18011 and add nop instructions for throughput optimization.
18012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18014 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18016 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18017 aligned copy for power7 with vector-scalar instructions.
18018 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18020 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18025 2011-09-07 Andreas Schwab <schwab@redhat.com>
18028 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18031 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18033 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18034 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18035 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18036 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18039 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18041 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18042 Forgot to demangle the pointer.
18044 * sysdeps/i386/sysdep.h: Define atom_text_section.
18045 * sysdeps/x86_64/sysdep.h: Likewise.
18046 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18047 section with atom_text_section.
18048 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18049 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18050 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18052 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18055 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18056 already be defined. Change to take two parameters and don't assign
18057 result to variable. Adjust all users.
18058 Define INTERNAL_GETTIME if not already defined.
18059 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18062 HAVE_CLOCK_GETTIME_VSYSCALL.
18063 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18066 gettimeofday vsyscall, just use time.
18068 2011-09-06 Andreas Schwab <schwab@redhat.com>
18070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18073 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18075 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18079 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18081 syscall if possible.
18083 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18085 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18086 e_ident. Don't pass to find_mapsXX.
18087 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18089 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18092 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18093 * sysdeps/x86_64/multiarch/strchr.S: Update.
18094 Check bit_slow_BSF bit.
18095 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18096 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18097 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18099 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18102 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18104 (tryshell): Define.
18105 (__spawni): Change last parameter to be flag. Test
18106 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18107 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18108 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18109 * posix/spawni.c: Likewise.
18110 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18111 * posix/spawnp.c: Likewise. Change normal version to use
18112 SPAWN_XFLAGS_USE_PATH.
18113 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18114 SPAWN_XFLAGS_TRY_SHELL.
18117 * posix/glob.h: Remove gcc 1.x support.
18120 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18122 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18125 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18127 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18128 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18129 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18131 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18134 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18136 * sysdeps/x86_64/wcscmp.S: New file.
18138 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18139 wcscmp-c wcscmp-sse2
18140 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18141 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18142 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18143 * wcsmbs/wcscmp.c: Allow renaming.
18145 2011-09-05 David S. Miller <davem@davemloft.net>
18147 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18148 stack slot, rather than the struct return pointer slot.
18149 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18150 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18152 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18154 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18156 * po/ja.po: Update from translation team.
18159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18160 kernel in 64-bit binaries.
18162 2011-09-01 David S. Miller <davem@davemloft.net>
18164 * elf/elf.h (HWCAP_SPARC_*): Move to..
18165 * sysdeps/sparc/sysdep.h: this new file and add new values.
18166 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18167 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18168 _DL_HWCAP_COUNT to 24.
18169 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18171 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18172 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18173 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18175 instead of magic constants.
18176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18178 2011-08-31 David S. Miller <davem@davemloft.net>
18180 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18182 Reimplement to do errno handling inline.
18183 (SYSCALL_ERROR_HANDLER): New macro.
18184 (__SYSCALL_STRING): Do not do errno handling in asm.
18185 (__CLONE_SYSCALL_STRING): Delete.
18186 (__INTERNAL_SYSCALL_STRING): Delete.
18187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18188 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18189 (PSEUDO): Reimplement to do errno handling inline.
18190 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18191 (SYSCALL_ERROR_HANDLER): New macro.
18192 (__SYSCALL_STRING): Do not do errno handling in asm.
18193 (__CLONE_SYSCALL_STRING): Delete.
18194 (__INTERNAL_SYSCALL_STRING): Delete.
18195 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18196 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18198 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18199 (inline_syscall*): Add 'err' argument.
18200 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18201 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18202 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18203 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18205 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18206 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18208 2011-08-30 Andreas Schwab <schwab@redhat.com>
18210 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18212 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18214 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18217 2011-08-24 David S. Miller <davem@davemloft.net>
18219 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18221 2011-08-24 Andreas Schwab <schwab@redhat.com>
18223 * elf/Makefile: Add rules to build and run unload8 test.
18224 * elf/unload8.c: New file.
18225 * elf/unload8mod1.c: New file.
18226 * elf/unload8mod1x.c: New file.
18227 * elf/unload8mod2.c: New file.
18228 * elf/unload8mod3.c: New file.
18230 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18233 2011-08-23 David S. Miller <davem@davemloft.net>
18235 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18236 subtract stack bias.
18237 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18238 %sp not %fp in calculations.
18239 (_JMPBUF_UNWINDS_ADJ): Likewise.
18241 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18242 (aio_suspend): Call it to force an exception region around the
18243 AIO_MISC_WAIT() invocation.
18245 2011-08-23 Andreas Schwab <schwab@redhat.com>
18247 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18250 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18252 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18254 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18255 and <dl-machine.h>.
18256 (Elf64_FuncDesc): Remove.
18258 2011-08-22 David S. Miller <davem@davemloft.net>
18260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18261 sigaltstack check, add missing cfi directives.
18262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18263 missing cfi directives, and sigaltstack handling.
18265 2011-08-16 Andreas Schwab <schwab@redhat.com>
18268 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18269 object is seen twice.
18270 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18272 * elf/Makefile (distribute): Add tst-initorder2.c.
18273 (tests): Add tst-initorder2.
18274 (modules-names): Add tst-initorder2a tst-initorder2b
18275 tst-initorder2c tst-initorder2d. Add rules to build them.
18276 ($(objpfx)tst-initorder2.out): New rule.
18277 * elf/tst-initorder2.c: New file.
18278 * elf/tst-initorder2.exp: New file.
18280 2011-08-22 Andreas Schwab <schwab@redhat.com>
18282 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18284 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18285 dependencies back to end of function.
18287 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18288 $(elfobjdir)/ld.so.
18290 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18293 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18295 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18296 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18297 of __vdso_gettimeofday.
18298 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18299 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18301 (_libc_vdso_platform_setup): Remove initialization of
18302 __vdso_gettimeofday and __vdso_time.
18304 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18306 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18307 and fgetc_unlocked.
18308 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18311 * elf/dl-open.c (add_to_global): Report additions to the global scope
18312 for LD_DEBUG=scopes.
18313 (dl_open_worker): Also print scope of newly loaded dependencies.
18314 (_dl_show_scope): Indicate if there is no scope.
18317 * stdio-common/Makefile (tests): Add bug24.
18318 * stdio-common/bug24.c: New file.
18320 2011-08-19 Andreas Jaeger <aj@suse.de>
18323 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18324 non-existant file when using close-on-exec mode.
18326 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18329 the very first instruction.
18331 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18332 the CFI state in the end.
18333 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18334 inclusion of dl-trampoline.h.
18335 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18337 2011-08-19 Andreas Schwab <schwab@redhat.com>
18339 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18340 expectations for long double.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18343 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18345 2011-08-14 David S. Miller <davem@davemloft.net>
18347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18348 artificual limit depends upon the system page size.
18350 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18352 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18353 * resolv/Makefile: Define CFLAGS-libresolv.
18355 2011-08-17 Andreas Schwab <schwab@redhat.com>
18357 * nss/makedb.c (compute_tables): Make variables used in nested
18360 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18362 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18363 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18364 if buffer was too small.
18366 * elf/pldd.c (main): Attach to all threads in the process.
18367 Rewrite /proc handling to use *at functions.
18369 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18371 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18372 specifies first scope to show.
18373 (dl_open_worker): Update callers. Move printing scope of new
18374 object to before the relocation.
18375 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18376 * sysdeps/generic/ldsodefs.h: Update declaration.
18378 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18379 string for the scope number.
18381 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18383 * nscd/servicescache.c (cache_addserv): Make sure written is always
18386 2011-08-14 Roland McGrath <roland@hack.frob.com>
18388 * sysdeps/i386/i486/bits/atomic.h
18389 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18390 statement expression, so as to suppress "set but not used" warning.
18391 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18393 * string/strncat.c (STRNCAT): Use prototype definition.
18395 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18396 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18398 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18399 (localedef-modules): Add localedef.
18400 (locale-modules): Add locale.
18402 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18403 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18404 to avoid a warning.
18406 2011-08-14 David S. Miller <davem@davemloft.net>
18408 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18409 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18411 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18413 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18414 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18415 * elf/rtld.c (dl_main): Set l_name of vDSO.
18416 Call _dl_show_scope when DL_DEBUG_SCOPES.
18417 (process_dl_debug): Recognize scopes flag and also set it for all.
18418 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18419 Declare _dl_show_scope.
18421 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18422 (do_dlopen): Pass caller_dlopen to dl_open.
18423 (__libc_dlopen_mode): Initialize caller_dlopen.
18425 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18426 of libc. Make tolower call locale-independent. Optimize a bit by
18427 using isdigit instead of isalnum.
18428 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18430 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18432 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18433 was a dependency or dynamically loaded.
18435 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18437 * intl/l10nflist.c: Allow architecture-specific pop function.
18438 * sysdeps/x86_64/l10nflist.c: New file.
18440 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18443 2011-08-10 Andreas Schwab <schwab@redhat.com>
18445 * include/dirent.h: Add libc_hidden_proto for scandirat and
18446 scandirat64. Don't declare __scandirat64.
18447 * dirent/scandirat.c: Add libc_hidden_def.
18448 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18449 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18451 2011-08-10 David S. Miller <davem@davemloft.net>
18453 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18455 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18459 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18461 * Versions.def [libc]: Add GLIBC_2.15.
18462 * dirent/Makefile (routines): Add scandirat and scandirat64.
18463 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18465 * dirent/dirent.h: Declare scandirat and scandirat64.
18466 * dirent/scandirat.c: New file.
18467 * dirent/scandirat64.c: New file.
18468 * sysdeps/wordsize-64/scandirat.c: New file.
18469 * sysdeps/wordsize-64/scandirat64.c: New file.
18470 * dirent/opendir.c: Define opendirat.
18471 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18473 * dirent/scandir64.c: Adjust for scandir.c change.
18474 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18475 __scandirat64, and __scandir_cancel_handler.
18476 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18477 additional parameter and use openat instead of open (outside of ld.so).
18478 Add new __opendir as wrapper around __opendirat.
18479 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18480 here without requiring old scandirat implementation.
18482 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18484 * dirent/scandir.c (cancel_handler): Renamed to
18485 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18486 defined. Adjust users.
18487 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18488 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18490 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18492 * string/test-string.h (IMPL): Use __STRING to expand name and then
18495 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18498 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18500 * string/Makefile: Update.
18501 (strop-tests): Append strncat.
18502 * string/test-wcscmp.c: New file.
18503 New comprehensive test for wcscmp.
18504 * string/test-strcmp.c: Update.
18505 (WIDE): New define.
18507 2011-07-22 Andreas Schwab <schwab@redhat.com>
18509 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18512 2011-07-26 Andreas Schwab <schwab@redhat.com>
18514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18515 encoding to ACE if AI_IDN.
18517 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18520 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18522 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18525 Fix overflow bug in strncat.
18526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18528 * string/test-strncat.c: Update.
18529 Add new tests for checking overflow bugs.
18531 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18534 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18535 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18536 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18538 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18539 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18540 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18541 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18544 (USE_AS_STRCAT): Define.
18545 Add strcat and strncat support.
18546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18548 2011-07-25 Andreas Schwab <schwab@redhat.com>
18550 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18551 __n bigger than INT_MAX+1.
18552 (__strncmp_g): Likewise.
18554 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18556 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18557 * libio/stido.h: Likewise.
18559 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18564 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18567 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18571 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18576 (_dl_x86_64_save_sse): Likewise.
18578 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18582 (_dl_x86_64_save_sse): Likewise.
18584 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18586 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18588 2011-07-21 Andreas Schwab <schwab@redhat.com>
18590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18592 (_dl_x86_64_save_sse): Use correct AVX check.
18594 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18597 bug in strncpy/strncat.
18598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18600 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18602 * string/tester.c (test_strcat): Add tests for different alignments
18603 of source and destination.
18604 (test_strncat): Likewise.
18606 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18609 * posix/glob.c (glob): Check passed in values before using them in
18610 expressions to avoid some overflows.
18611 (glob_in_dir): Likewise.
18614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18615 check for AVX enablement so that we don't crash with old kernels and
18617 * elf/tst-audit4.c: Add same checks here.
18618 * elf/tst-audit6.c: Likewise.
18620 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18622 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18624 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18626 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18628 * po/cs.po: Update from translation team.
18629 * po/bg.po: Likewise.
18631 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18633 * misc/sys/cdefs.h: Add support for const attribute.
18634 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18635 to gnu_dev_{major,minor,makedev} functions.
18637 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18639 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18641 2011-07-20 Andreas Schwab <schwab@redhat.com>
18643 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18646 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18649 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18650 register in order to avoid conflicts with the soft frame pointer
18651 being held in r11 when necessary.
18652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18653 (INTERNAL_VSYSCALL_NCS): Likewise.
18655 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18657 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18658 * elf/dl-fini.c (_dl_fini): Adjust caller.
18659 * elf/dl-close.c (_dl_close_worker): Likewise.
18660 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18662 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18664 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18665 "aux_cache->nlibs < 0".
18667 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18668 in the reload-count case.
18670 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18673 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18674 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18675 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18676 * sysdeps/x86_64/multiarch/strcat.S: New file.
18677 * sysdeps/x86_64/multiarch/strncat.S: New file.
18678 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18680 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18681 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18683 (USE_AS_STRCAT): Define.
18684 Add strcat and strncat support.
18685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18686 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18687 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18688 * string/strncat.c: Update.
18689 (USE_AS_STRNCAT): Define.
18690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18691 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18693 * sysdeps/x86_64/multiarch/init-arch.h
18694 (bit_Prefer_PMINUB_for_stringop): New.
18695 (index_Prefer_PMINUB_for_stringop): Likewise.
18696 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18697 bit_Prefer_PMINUB_for_stringop.
18699 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18701 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18703 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18704 of casting of buffer.
18705 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18706 buffer32 and buffer64.
18707 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18708 writes instead of casting of buffer.
18709 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18711 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18714 2011-07-19 Andreas Schwab <schwab@redhat.com>
18716 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18718 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18720 * nscd/nscd.c (termination_handler): Don't do anything for a database
18721 if it has not yet been initialized.
18723 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18725 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18727 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18729 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18731 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18733 * po/nl.po: Update from translation team.
18734 * po/sv.po: Likewise.
18736 2011-07-16 Roland McGrath <roland@hack.frob.com>
18738 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18739 now disallowed by GCC.
18741 * configure.in (use-default-link): Default to yes if a test -shared
18742 link meets our qualifications.
18743 * configure: Regenerated.
18745 * config.make.in (output-format): New variable.
18746 * configure.in: Check for ld --print-output-format support.
18747 * configure: Regenerated.
18748 * Makerules ($(common-objpfx)format.lds)
18749 [$(output-format) != unknown]: Just use $(output-format),
18750 instead of the linker-script munging.
18752 2011-07-14 Roland McGrath <roland@hack.frob.com>
18754 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18755 of $(common-objpfx)shlib.lds.
18756 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18758 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18759 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18761 * configure.in (-z relro check): Adjust test code to add a large
18762 writable data section after it.
18763 * configure: Regenerated.
18765 2011-07-11 Roland McGrath <roland@hack.frob.com>
18767 * configure.in (-z relro check): Fix test code to make the variable
18769 * configure: Regenerated.
18771 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18773 * nscd/nscd.h (struct traced_file): Define.
18774 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18775 elements. Add traced_files.
18776 (inotify_fd): Declare.
18777 (register_traced_file): Declare.
18778 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18779 (inotify_fd): Export.
18780 (resolv_conf_descr): Remove.
18781 (nscd_init): Move inotify descriptor creation to main.
18782 Don't register files for notification here.
18783 (register_traced_file): New function.
18784 (invalidate_cache): Don't use reset_res to determine whether to call
18785 res_init, go through the list of registered files.
18786 (main_loop_poll): The inotify descriptors are now stored in the
18787 structures for the traced files.
18788 (main_loop_epoll): Likewise
18789 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18790 to __nss_disable_nscd.
18791 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18792 for a database anymore. Check the records for all the registered
18794 * nss/Makefile (libnss_files-routines): Add files-init.
18795 (libnss_db-routines): Add db-init.
18796 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18797 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18798 * nss/nss_db/db-init.c: New file.
18799 * nss/nss_files/files-init.c: New file.
18800 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18801 __nss_lookup_function.
18802 (__nss_lookup_function): Call nss_load_library.
18803 (nss_load_all_libraries): New function.
18804 (__nss_disable_nscd): Take parameter with callback function for files
18805 to register. Set is_nscd. Load all the DSOs for the NSS modules
18806 used for the cached services.
18807 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18808 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18809 options for features to all the files in nscd.
18811 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18813 2011-07-10 Roland McGrath <roland@hack.frob.com>
18815 * csu/elf-init.c (__libc_csu_init): Comment typo.
18817 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18819 * po/pl.po: Update from translation team.
18820 * po/ja.po: Likewise.
18821 * po/ru.po: Likewise.
18822 * po/ko.po: Likewise.
18823 * po/fr.po: Likewise.
18825 2011-07-09 Roland McGrath <roland@hack.frob.com>
18827 * configure.in (.ctors/.dtors header and trailer check):
18828 Use an empirical test on a built program.
18829 * configure: Regenerated.
18831 * configure.in (-z relro check): Use an empirical test on a built DSO.
18832 Detect, but do not require, on ia64.
18833 * configure: Regenerated.
18835 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18836 Update tests that use readelf to use $READELF instead.
18837 * configure: Regenerated.
18839 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18841 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18842 if the result is not used.
18844 2011-07-05 Andreas Jaeger <aj@suse.de>
18847 * stdlib/tst-strtod.c: Add testcase.
18849 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18851 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18852 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18853 The latter has a higher limit. Take additional parameter to pass to
18855 (__pathconf): Pass file to __statfs_link_max.
18856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18858 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18862 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18866 (__statfs_filesize_max): Likewise.
18867 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18869 2011-07-05 Andreas Jaeger <aj@suse.de>
18871 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18873 2011-07-06 Marek Polacek <mpolacek@redhat.com>
18875 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18877 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18880 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18882 * Makefile (strop-tests): Add strncat.
18883 * string/test-strncat.c: New file.
18885 2011-06-30 Marek Polacek <mpolacek@redhat.com>
18887 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18889 2011-06-21 Andreas Jaeger <aj@suse.de>
18891 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18892 Copy rule from iconvdata/Makefile.
18894 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18897 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18898 but no long options are defined, just return 'W'.
18900 2011-06-22 Marek Polacek <mpolacek@redhat.com>
18903 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18905 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18907 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18909 (innetgr): Likewise.
18911 2011-07-05 Roland McGrath <roland@hack.frob.com>
18913 * config.make.in (install_root): Default to $(DESTDIR).
18915 2011-07-05 Ulrich Drepper <drepper@gmail.com>
18917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18919 2011-07-02 Roland McGrath <roland@hack.frob.com>
18921 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18923 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18924 containing directory rather than embedding absolute directory names.
18926 * scripts/check-local-headers.sh: Rewritten using awk.
18927 Match by word, not by line. Print error messages for matches.
18928 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18930 * Makerules [shlib-lds-flags empty]:
18931 ($(common-objpfx)libc_pic.opts): New target.
18932 ($(common-objpfx)libc_pic.os.clean): New target.
18933 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18935 * config.make.in (OBJCOPY): New variable.
18936 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18937 * configure: Regenerated.
18939 * config.make.in (use-default-link): New variable.
18940 * configure.in (use_default_link): Grok --with-default-link to set it.
18941 * configure: Regenerated.
18942 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18943 (shlib-lds, shlib-lds-flags): Define to empty.
18945 * Makerules (shlib-lds): New variable.
18946 (shlib-lds-flags): New variable.
18947 (build-shlib, build-moduile, build-module-asneeded): Use it.
18948 ($(common-objpfx)libc.so): Use $(shlib-lds).
18949 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18950 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18952 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18953 DT_FLAGS/DT_FLAGS_1 with zero flags.
18955 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18956 linker script munging.
18958 2011-07-02 Ulrich Drepper <drepper@gmail.com>
18960 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18962 * crypt/sha512.c (sha512_process_block): Perform total addition using
18963 128-bit if possible.
18964 (__sha512_finish_ctx): Likewise.
18965 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18967 * crypt/sha256.c (SWAP64): Define.
18968 (sha256_process_block): Perform total addition using 64-bit if
18970 (__sha256_finish_ctx): Likewise.
18972 2011-07-01 Ulrich Drepper <drepper@gmail.com>
18974 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18976 * nscd/hstcache.c (cache_addhst): Likewise.
18977 * nscd/grpcache.c (cache_addgr): Likewise.
18978 * nscd/aicache.c (addhstaiX): Likewise
18979 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18981 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
18983 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18985 * nscd/hstcache.c (cache_addhst): Likewise.
18986 * nscd/grpcache.c (cache_addgr): Likewise.
18987 * nscd/aicache.c (addhstaiX): Likewise
18989 2011-07-01 Andreas Schwab <schwab@redhat.com>
18991 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18992 domain only when needed.
18994 2011-06-30 Andreas Schwab <schwab@redhat.com>
18996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18997 is always restored.
18999 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19001 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19002 are re-adding the entry.
19003 * nscd/servicescache.c (cache_addserv): Likewise.
19005 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19007 * sysdeps/generic/dl-irel.h: fix protection against multiple
19009 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19011 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19014 * malloc/memusage.sh: Fix quoting in message.
19015 * debug/xtrace.sh: Likewise.
19017 * configure.in: Remove support for --experimental-malloc option, make
19019 * config.make.in: Likewise.
19020 * malloc/Makefile: Likewise.
19022 2011-06-27 Andreas Schwab <schwab@redhat.com>
19024 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19025 two-byte characters.
19027 2011-06-27 Roland McGrath <roland@hack.frob.com>
19029 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19030 AC_CACHE_CHECK invocation.
19031 * configure: Regenerated.
19033 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19035 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19038 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19039 bit from old_res_options.
19041 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19043 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19044 value type for setfct.
19046 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19049 __gettimeofday instead of gettimeofday.
19051 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19053 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19055 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19062 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19065 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19066 strcpy-sse2-unaligned strncpy-sse2-unaligned
19067 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19068 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19069 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19070 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19071 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19073 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19074 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19075 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19076 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19077 (STRCPY): Support SSE2 and SSSE3 versions.
19079 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19082 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19083 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19084 kernels which artificially limit size of requests.
19086 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19089 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19090 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19091 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19092 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19093 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19094 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19095 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19097 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19098 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19099 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19100 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19101 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19102 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19104 Enable unaligned load optimization for Intel Core i3, i5 and i7
19106 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19108 (index_Fast_Unaligned_Load): Define.
19109 (HAS_FAST_UNALIGNED_LOAD): Define.
19111 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19113 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19115 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19118 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19119 until it is clear that the information is realy needed.
19120 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19122 2011-06-22 Andreas Schwab <schwab@redhat.com>
19124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19126 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19129 /sys/devices/system/cpu/online if it is usable.
19131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19132 reading the information from the /proc filesystem to once a second.
19134 2011-06-21 Andreas Jaeger <aj@suse.de>
19136 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19137 NULL after inclusion of kernel headers.
19139 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19141 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19142 calls to internal_setent.
19145 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19146 addresses using gethostbyname4_r ignore IPv4 addresses.
19148 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19149 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19151 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19153 2011-06-20 David S. Miller <davem@davemloft.net>
19155 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19157 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19159 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19160 (elf_irel): Use it.
19161 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19162 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19163 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19164 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19165 * sysdeps/x86_64/dl-irel.h: Likewise.
19167 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19168 * elf/dl-sym.c: Likewise.
19170 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19172 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19173 need to dereference resplen2.
19175 2011-06-14 Andreas Schwab <schwab@redhat.com>
19177 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19179 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19181 * Makeconfig: Define vardbdir and inst_vardbdir.
19182 * nss/Makefile: Add rules to install db-Makefile.
19184 * nss/nss_db/db-XXX.c: Cleanup.
19186 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19187 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19189 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19190 * nss/makedb.c: Implement -g option to specify that value strings
19191 are generated and should not be added to table iterated over for
19193 * nss/nss_db/db-initgroups.c: New file.
19195 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19198 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19199 (internal_getgrouplist): Adjust to name change.
19200 Update use_initgroups_entry if this is not the first call.
19201 * nss/databases.def: Add initgroups entry.
19203 * nss/makedb.c (compute_tables): Check result of multiple hash table
19204 sizes to minimize maximum chain length.
19206 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19208 * Versions.def: Add entry for libnss_db.
19209 * shlib-versions: Likewise.
19210 * nss/Makefile: Add rules to build libnss_db.
19211 * nss/Versions: Add libnss_db information. Organize libnss_files
19213 * nss/db-Makefile: Add gshadow support. Change rules for the new
19214 makedb progra. Some minor improvements to generate smaller files.
19215 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19217 * nss/makedb.c: ...here.
19218 Improve database format to be smaller and require less memory at
19220 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19222 * nss/nss_db/db-netgrp.c: Likewise.
19223 * nss/nss_db/db-open.c: Likewise.
19224 * nss/nss_files/flies-XXX.x: Adjust comments.
19225 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19226 * nss/nss_files/files-grp.c: Likewise.
19227 * nss/nss_files/files-hosts.c: Likewise.
19228 * nss/nss_files/files-network.c: Likewise.
19229 * nss/nss_files/files-proto.c: Likewise.
19230 * nss/nss_files/files-pwd.c: Likewise.
19231 * nss/nss_files/files-rpc.c: Likewise.
19232 * nss/nss_files/files-service.c: Likewise.
19233 * nss/nss_files/files-sgrp.c: Likewise.
19234 * nss/nss_files/files-spwd.c: Likewise.
19235 * nss/nss_db/db-alias.c: Removed.
19236 * nss/nss_db/dummy-db.h: Removed.
19238 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19240 * nss/makedb.c: Rewritten to not use database library.
19241 * nss/Makefile: Update to build new makedb program.
19243 2011-06-14 Andreas Jaeger <aj@suse.de>
19245 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19246 memset declaration.
19248 2011-06-10 Andreas Schwab <schwab@redhat.com>
19250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19253 2011-06-10 Roland McGrath <roland@hack.frob.com>
19255 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19256 * elf/Makefile ($(objpfx)ld.so): Likewise.
19258 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19259 Don't list ld.so twice in dependencies.
19261 * posix/bug-regex31.c: Include <stdlib.h>.
19263 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19265 * nis/nss_compat/compat-spwd.c
19266 (getspent_next_nss_netgr): Remove unused variable.
19267 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19269 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19270 nonmembers" output to use the right array.
19272 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19274 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19276 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19277 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19278 * catgets/gencat.c (read_input_file): Likewise.
19279 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19281 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19282 variable definition inside #if's controlling its use.
19284 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19286 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19288 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19290 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19293 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19295 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19296 * configure: Regenerated.
19298 * Makerules: Revert last change.
19299 * elf/Makefile: Likewise.
19301 2011-06-09 Roland McGrath <roland@hack.frob.com>
19303 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19304 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19305 (reloc-link): Likewise.
19307 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19309 * elf/Makefile: Add rules to build pldd.
19310 * elf/pldd.c: New file.
19311 * elf/pldd-xx.c: New file.
19313 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19315 * version.h: Update for 2.15 development version.
19317 2011-06-07 David S. Miller <davem@davemloft.net>
19319 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19322 elf_machine_lazy_rel): Likewise.
19323 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19325 elf_machine_lazy_rel): Likewise.
19326 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19327 dl_hwcap via passed in argument.
19328 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19331 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19333 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19335 2011-06-06 Roland McGrath <roland@hack.frob.com>
19338 * manual/fdl-1.1.texi: New file, verbatim from:
19339 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19340 * manual/lgpl-2.1.texi: New file, verbatim from:
19341 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19342 * manual/Makefile (licenses): New variable, list those new file names.
19344 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19346 * manual/fdl.texi: File removed.
19347 * manual/lesser.texi: File removed.
19348 * manual/libc.texinfo (Copying, Documentation License):
19349 Use new @include file names, put @appendix directive before @include.
19351 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19354 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19355 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19356 (mq_open): Add __NTH.
19358 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19361 Assume Intel Core i3/i5/i7 processor if AVX is available.
19363 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19368 2011-05-31 Andreas Schwab <schwab@redhat.com>
19370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19371 memory. Use alloca_account. Fix memory leak when retrying.
19373 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19375 * version.h (RELEASE): Bump for 2.14 release.
19376 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19378 * config.make.in (RANLIB): Remove entry.
19380 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19382 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19383 (libc.pot): Work around missing support for .ksh extension in xgettext.
19386 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19387 if both request failed.
19388 (send_dg): In case of server errors clear resplen or *resplen2.
19391 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19392 when there are multiple maps.
19393 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19394 (_dl_fini): Remove test here.
19396 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19398 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19401 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19402 bit from old_res_options.
19403 (gaih_inet): Likewise.
19406 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19409 * resolv/res_init.c (res_setoptions): Make the code more compact.
19412 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19416 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19418 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19421 * malloc/malloc.h: Declare malloc hook variables as volatile.
19423 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19427 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19428 raise in the comment.
19429 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19431 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19433 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19436 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19437 grow the buffers more if it already has to be sufficient.
19438 (build_wcs_upper_buffer): Likewise.
19439 * posix/regexec.c (check_matching): Likewise.
19440 (clean_state_log_if_needed): Likewise.
19441 (extend_buffers): Don't enlarge buffers beyond size of the input
19443 Patches mostly by Emil Wojak <emil@wojak.eu>.
19444 * posix/bug-regex32.c: New file.
19445 * posix/Makefile (tests): Add bug-regex32.
19447 * locale/findlocale.c (_nl_find_locale): Return right away if
19448 _nl_explode_name failed.
19449 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19453 * debug/xtrace.sh: Unify messages.
19454 * malloc/memusage.sh: Likewise.
19457 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19458 time symbol from vDSO. Substitute with vsyscall if not available.
19459 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19462 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19463 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19464 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19465 Add sendmmsg and internal_sendmmsg.
19466 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19467 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19468 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19470 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19471 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19472 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19474 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19477 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19478 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19484 * iconvdata/Makefile (tests): Add bug-iconv9.
19485 * iconvdata/bug-iconv9.c: New file.
19487 2011-05-27 Andreas Schwab <schwab@redhat.com>
19490 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19492 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19495 (struct user_regs_struct): Change intcs field back to cs.
19497 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19499 * po/ja.po: Update from translation team.
19501 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19504 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19505 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19507 2011-05-20 Andreas Schwab <schwab@redhat.com>
19509 * stdlib/longlong.h: Update from GCC.
19511 2011-05-23 Andreas Schwab <schwab@redhat.com>
19513 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19515 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19516 Add parameter name.
19517 (__sysconf): Pass it down.
19519 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19522 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19525 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19526 add in in __libc_use_alloca calls. Adjust callers.
19527 (glob): Use malloc in some situations.
19529 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19530 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19533 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19535 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19536 and CLOCK_BOOTTIME_ALARM.
19539 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19542 * string/_strerror.c (__strerror_r): Print negative errors as signed
19546 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19547 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19548 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19550 * configure.in: Fix typo in redirection and correct removal of test
19551 files in two cases.
19554 * locale/setlocale.c (new_composite_name): Fix test to check for
19555 identical name of all categories.
19558 * libio/filedoalloc.c (local_isatty): New function.
19559 (_IO_file_doallocate): Use local_isatty.
19560 * stdio-common/perror.c (perror): In case a new stream is used
19561 forward the stream error.
19562 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19565 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19570 * include/alloca.h (extend_alloca_account): Define.
19573 * posix/regex.h: Fix comments with documentation of user-accessible
19574 fields after compilation and describe correct free'ing of pattern
19575 after re_compile_pattern.
19576 Patch by Reuben Thomas <rrt@sc3d.org>.
19578 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19580 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19581 and -mno-altivec to prevent the compiler from using Altivec and/or
19582 VSX instructions when the corresponding registers are not available.
19584 2011-05-19 Andreas Schwab <schwab@redhat.com>
19586 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19588 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19590 * libio/freopen.c (freopen): Use __dup2, not dup2.
19591 * libio/freopen64.c (freopen64): Likewise.
19593 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19596 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19597 * math/Makefile (tests): Add test-powl.
19598 (CFLAGS-test-powl.c): Define.
19599 * math/test-powl.c: New file.
19601 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19603 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19605 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19608 * iconvdata/gb18030.c: Update to GB18020-2005.
19610 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19612 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19613 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19614 Patch by Aharon Robbins <arnold@skeeve.com>.
19617 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19621 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19622 through underflows.
19625 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19626 point to strings before performing equality test for error_one_per_line
19630 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19634 (struct user_fpregs_struct): Avoid __uint*_t types.
19637 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19638 symbol info. Use it instead of calling _dl_addr locally.
19639 (lock_and_info): New function.
19640 (tr_freehook): Call lock_and_info and pass symbol info as additional
19641 parameter to tr_where.
19642 (tr_mallochook): Likewise.
19643 (tr_reallochook): Likewise.
19644 (tr_memalignhook): Likewise.
19646 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19647 used and couldn't be at all thread-safe.
19649 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19651 * libio/freopen.c (freopen): Don't close old file descriptor
19652 before the new one is opened. Instead dup the new file descriptor
19653 to the old one after the new stream is created.
19654 * libio/freopen64.c (freopen64): Likewise.
19655 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19656 * libio/fileops.c (_IO_new_file_close_it): Handle new
19657 _IO_FLAGS2_NOCLOSE flag.
19658 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19659 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19660 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19661 _IO_FLAGS2_NOCLOSE flag.
19662 * include/unistd.h: Add hidden_proto for dup3.
19663 Define __have_dup3.
19664 * io/dup3.c: Define hidden symbol.
19665 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19668 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19669 when an incomplete long option is used.
19670 * posix/tst-getopt_long1.c: New file.
19671 * posix/Makefile (tests): Add tst-getopt_long1.
19674 * scripts/config.guess: Update from autoconf-2.68.
19675 * scripts/config.sub: Likewise.
19678 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19680 (has_cpuclock): ...this. New function.
19681 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19682 macro here based on has_cpuclock code.
19685 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19686 First byte (not low byte) is now always NUL.
19687 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19690 Use non-cancelable interfaces.
19693 * locale/iso-639.def: Add entry for Sorani.
19696 * include/stdlib.h: Move include protection to the right place.
19697 Define abort_msg_s. Declare __abort_msg with it.
19698 * stdlib/abort.c (__abort_msg): Adjust type.
19699 * assert/assert.c (__assert_fail_base): New function. Majority
19700 of code from __assert_fail. Allocate memory for __abort_msg with
19702 (__assert_fail): Now call __assert_fail_base.
19703 * assert/assert-perr.c: Remove bulk of implementation. Use
19704 __assert_fail_base.
19705 * include/assert.hL Declare __assert_fail_base.
19706 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19708 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19710 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19714 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19715 until all modules are registered in the DTV.
19716 * elf/Makefile: Add rules to build and run tst-tls19.
19717 * elf/tst-tls19.c: New file.
19718 * elf/tst-tls19mod1.c: New file.
19719 * elf/tst-tls19mod2.c: New file.
19720 * elf/tst-tls19mod3.c: New file.
19721 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19724 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19728 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19729 two-byte sequence errors.
19730 * iconvdata/Makefile (tests): Add bug-iconv8.
19731 * iconvdata/bug-iconv8.c: New file.
19734 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19737 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19740 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19741 (dummy_getcfa): New function.
19742 (init): Get _Unwind_GetCFA address, use dummy if not found.
19743 (backtrace_helper): In recursion check, also check whether CFA changes.
19744 (__backtrace): Completely initialize arg.
19746 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19747 storing incomplete byte sequence in state object. Avoid testing for
19748 guaranteed too small input if we know there is enough data available.
19750 2011-05-11 Andreas Schwab <schwab@redhat.com>
19752 * Makeconfig (+link-pie): Indent.
19753 * Rules (binaries-pie): Define if $(have-fpie) and
19755 (binaries-shared): Also filter out $(binaries-pie).
19756 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19757 * nscd/Makefile (others-pie): Add nscd.
19758 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19759 ($(objpfx)nscd): Remove command override.
19760 * login/Makefile (others-pie): Add pt_chown.
19761 ($(objpfx)pt_chown): Remove command override.
19762 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19763 remove command overrides.
19765 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19767 * libio/tst_putwc.c: Fix error messages.
19770 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19771 currently writing and seek to current position when not.
19772 * libio/Makefile (tests): Add bug-fclose1.
19773 * libio/bug-fclose1.c: New file.
19775 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19778 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19779 don't set DF_1_NODELETE here.
19780 (do_lookup_x): When entering new entry test for copy relocation
19781 and if necessary set DF_1_NODELETE flag.
19782 * elf/tst-unique4.cc: New file.
19783 * elf/tst-unique4.h: New file.
19784 * elf/tst-unique4lib.cc: New file.
19785 * elf/Makefile: Add rules to build and run tst-unique4.
19786 Patch by Piotr Bury <pbury@goahead.com>.
19788 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19791 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19794 * misc/mntent_r.c (addmntent): Flush the stream after the output
19797 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19798 (is_trusted_path_normalize): Skip initial colon. Append slash
19799 to empty buffer. Duplicate is_trusted_path code but allow
19800 constructed patch to be prefix.
19801 (is_dst): Allow $ORIGIN followed by /.
19802 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19803 Correct testing of result of is_trusted_path_normalize
19804 (decompose_rpath): Fix warning.
19806 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19809 * grp/initgroups.c (internal_getgrouplist): When we found the service
19810 list through the initgroups entry in nsswitch.conf do not always
19811 continue on a successful lookup. Don't always use the
19812 __nss_group_database value if it is set.
19813 * nss/nsswitch.conf (initgroups): Change action for successful db
19814 lookup to continue for compatibility.
19816 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19819 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19821 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19823 * iconvdata/tst-tables.sh: Likewise.
19824 * iconvdata/cp770.c: New file.
19825 * iconvdata/cp771.c: New file.
19826 * iconvdata/cp772.c: New file.
19827 * iconvdata/cp773.c: New file.
19828 * iconvdata/cp774.c: New file.
19829 * iconvdata/testdata/CP770: New file.
19830 * iconvdata/testdata/CP770..UTF8: New file.
19831 * iconvdata/testdata/CP771: New file.
19832 * iconvdata/testdata/CP771..UTF8: New file.
19833 * iconvdata/testdata/CP772: New file.
19834 * iconvdata/testdata/CP772..UTF8: New file.
19835 * iconvdata/testdata/CP773: New file.
19836 * iconvdata/testdata/CP773..UTF8: New file.
19837 * iconvdata/testdata/CP774: New file.
19838 * iconvdata/testdata/CP774..UTF8: New file.
19840 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19842 * iconvdata/gen-8bit-gap.sh: Likewise.
19843 * iconvdata/gen-8bit.sh: Likewise.
19845 * locale/iso-639.def: Add ary entry.
19848 * locale/C-translit.h.in: Add U20A1 transliteration.
19851 * locale/iso-639.def: Add wae entry.
19852 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19855 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19859 * locale/C-translit.h.in: Add entry for U20B9.
19860 Patch by pravin.d.s@gmail.com.
19862 2011-05-08 Ulrich Drepper <drepper@gmail.com>
19865 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19866 ENAMETOOLONG use generic getcwd.
19867 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19868 in rtld. Use *stat64.
19869 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19870 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19871 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19872 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19873 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19874 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19875 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19876 __fstatat64 macros.
19877 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19878 * dirent/rewinddir.c: Add libc_hidden_def.
19879 * sysdeps/mach/hurd/rewinddir.c: Likewise.
19880 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
19882 * include/dirent.h (__alloc_dir): Add flags parameter.
19883 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19884 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19886 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19887 from fdopendir if O_CLOEXEC is already set.
19889 2011-03-15 Alan Modra <amodra@gmail.com>
19891 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19892 l_tls_firstbyte_offset non-zero. Save padding offset in
19893 l_tls_firstbyte_offset for later use.
19894 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19895 freeing static tls block.
19897 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19899 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19900 where #ifdef was intended. The intent is to prevent ARG_MAX from
19901 being defined by the kernel headers.
19903 2011-05-07 Ulrich Drepper <drepper@gmail.com>
19906 * resolv/resolv.h: Define RES_NOTLDQUERY.
19907 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19908 no-tld-query and set RES_NOTLDQUERY.
19909 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19910 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19911 modern BIND to search name as TLD unless forbidden.
19913 2011-05-07 Petr Baudis <pasky@suse.cz>
19914 Ulrich Drepper <drepper@gmail.com>
19917 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19918 (is_trusted_path): ...to here.
19919 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
19920 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
19921 using is_trusted_path_normalize() in setuid scripts.
19923 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19925 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19926 __BEGIN/__END_DECLS.
19928 2011-05-06 Ulrich Drepper <drepper@gmail.com>
19930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19931 NSS_STATUS_NOTFOUND if no record was found.
19933 2011-05-05 Andreas Schwab <schwab@redhat.com>
19935 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19936 (headers-not-in-tirpc): Remove rpc/netdb.h
19937 * resolv/netdb.h: Revert last change.
19939 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19941 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19942 circular dependency between libgcc.a and libc.a.
19944 2011-05-05 Andreas Schwab <schwab@redhat.com>
19946 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19947 * nis/Makefile: Don't install rpcsvc/*.
19948 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19949 instead of <rpc/types.h>.
19950 (MAXHOSTNAMELEN): Define.
19952 2011-05-03 Andreas Schwab <schwab@redhat.com>
19954 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19956 2011-04-28 Maciej Babinski <mbabinski@google.com>
19959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19960 gethostbyname4_r when IPv6 results are possible.
19962 2011-05-02 Ulrich Drepper <drepper@gmail.com>
19965 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19966 _PC_PIPE_BUF handling.
19968 2011-04-30 Bruno Haible <bruno@clisp.org>
19971 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19972 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19974 * inet/getnameinfo.c (getnameinfo): Likewise.
19976 2011-04-29 Ulrich Drepper <drepper@gmail.com>
19978 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19979 to groups setting in database lookup.
19980 * nss/nsswitch.conf: Add initgroups entry.
19982 2011-04-22 Ulrich Drepper <drepper@gmail.com>
19985 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19987 Patch by Eric Blake <eblake@redhat.com>.
19989 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19991 * sunrpc/Makefile (need-export-routines): Add svc_run.
19992 (routines): Remove svc_run.
19993 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19994 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19995 * sunrpc/svc_run.c (svc_run): Likewise.
19996 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19998 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20001 problem in reallocation in last patch.
20003 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20005 * sunrpc/Makefile: Move inclusion of Rules.
20007 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20009 * nss/nss_files/files-initgroups.c: New file.
20010 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20011 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20012 _nss_files_initgroups_dyn.
20014 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20016 * elf/elf.h (R_ARM_IRELATIVE): Define.
20018 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20020 * po/ru.po: Update from translation team.
20022 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20024 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20027 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20031 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20032 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20036 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20040 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20044 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20047 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20049 * stdlib/bug-getcontext.c: New file.
20050 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20052 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20054 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20055 instructions into .machine "z9-109".
20056 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20057 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20059 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20061 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20062 between environment variables and auxiliary vector.
20064 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20066 * Makefile: Add rules to build linkobj/libc.so.
20067 * include/libc-symbols.h: Define libc_hidden_nolink.
20068 * include/rpc/auth.h: Mark functions which are to be hidden.
20069 * include/rpc/auth_des.h: Likewise.
20070 * include/rpc/auth_unix.h: Likewise.
20071 * include/rpc/clnt.h: Likewise.
20072 * include/rpc/des_crypt.h: Likewise.
20073 * include/rpc/key_prot.h: Likewise.
20074 * include/rpc/pmap_clnt.h: Likewise.
20075 * include/rpc/pmap_prot.h: Likewise.
20076 * include/rpc/pmap_rmt.h: Likewise.
20077 * include/rpc/rpc_msg.h: Likewise.
20078 * include/rpc/svc.h: Likewise.
20079 * include/rpc/svc_auth.h: Likewise.
20080 * include/rpc/xdr.h: Likewise.
20081 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20082 * nss/Makefile: Likewise.
20083 * sunrpc/Makefile: Don't install headers. Build library with normal
20084 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20085 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20086 for the compat linking library. Remove use of INTDEF/INTUSE.
20087 * sunrpc/auth_none.c: Likewise.
20088 * sunrpc/auth_unix.c: Likewise.
20089 * sunrpc/authdes_prot.c: Likewise.
20090 * sunrpc/authuxprot.c: Likewise.
20091 * sunrpc/clnt_gen.c: Likewise.
20092 * sunrpc/clnt_perr.c: Likewise.
20093 * sunrpc/clnt_raw.c: Likewise.
20094 * sunrpc/clnt_simp.c: Likewise.
20095 * sunrpc/clnt_tcp.c: Likewise.
20096 * sunrpc/clnt_udp.c: Likewise.
20097 * sunrpc/clnt_unix.c: Likewise.
20098 * sunrpc/des_crypt.c: Likewise.
20099 * sunrpc/des_soft.c: Likewise.
20100 * sunrpc/get_myaddr.c: Likewise.
20101 * sunrpc/key_call.c: Likewise.
20102 * sunrpc/key_prot.c: Likewise.
20103 * sunrpc/netname.c: Likewise.
20104 * sunrpc/pm_getmaps.c: Likewise.
20105 * sunrpc/pm_getport.c: Likewise.
20106 * sunrpc/pmap_clnt.c: Likewise.
20107 * sunrpc/pmap_prot.c: Likewise.
20108 * sunrpc/pmap_prot2.c: Likewise.
20109 * sunrpc/pmap_rmt.c: Likewise.
20110 * sunrpc/publickey.c: Likewise.
20111 * sunrpc/rpc_cmsg.c: Likewise.
20112 * sunrpc/rpc_common.c: Likewise.
20113 * sunrpc/rpc_dtable.c: Likewise.
20114 * sunrpc/rpc_prot.c: Likewise.
20115 * sunrpc/rpc_thread.c: Likewise.
20116 * sunrpc/rtime.c: Likewise.
20117 * sunrpc/svc.c: Likewise.
20118 * sunrpc/svc_auth.c: Likewise.
20119 * sunrpc/svc_authux.c: Likewise.
20120 * sunrpc/svc_raw.c: Likewise.
20121 * sunrpc/svc_run.c: Likewise.
20122 * sunrpc/svc_simple.c: Likewise.
20123 * sunrpc/svc_tcp.c: Likewise.
20124 * sunrpc/svc_udp.c: Likewise.
20125 * sunrpc/svc_unix.c: Likewise.
20126 * sunrpc/svcauth_des.c: Likewise.
20127 * sunrpc/xcrypt.c: Likewise.
20128 * sunrpc/xdr.c: Likewise.
20129 * sunrpc/xdr_array.c: Likewise.
20130 * sunrpc/xdr_float.c: Likewise.
20131 * sunrpc/xdr_intXX_t.c: Likewise.
20132 * sunrpc/xdr_mem.c: Likewise.
20133 * sunrpc/xdr_rec.c: Likewise.
20134 * sunrpc/xdr_ref.c: Likewise.
20135 * sunrpc/xdr_sizeof.c: Likewise.
20136 * sunrpc/xdr_stdio.c: Likewise.
20138 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20141 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20142 * sysdeps/ia64/dl-tls.h: Likewise.
20143 * sysdeps/powerpc/dl-tls.h: Likewise.
20144 * sysdeps/s390/dl-tls.h: Likewise.
20145 * sysdeps/sh/dl-tls.h: Likewise.
20146 * sysdeps/sparc/dl-tls.h: Likewise.
20147 * sysdeps/x86_64/dl-tls.h: Likewise.
20148 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20150 2011-03-14 Andreas Schwab <schwab@redhat.com>
20152 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20153 rpath element also skip the following colon.
20154 (expand_dynamic_string_token): Add is_path parameter and pass
20155 down to DL_DST_REQUIRED and _dl_dst_substitute.
20156 (decompose_rpath): Call expand_dynamic_string_token with
20157 non-zero is_path. Ignore empty rpaths.
20158 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20161 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20166 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20169 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20170 Patch by Filipe David Manana <fdmanana@apache.org>.
20172 2011-04-07 Andreas Schwab <schwab@redhat.com>
20174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20175 Maintain aligned stack.
20176 (CHECK_RSP): Remove unused macro.
20178 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20180 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20181 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20183 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20185 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20187 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20189 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20192 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20193 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20194 * sysdeps/x86_64/memmove.c: New file.
20195 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20196 (memcpy): Renamed to ...
20197 (__new_memcpy): This.
20198 (memcpy): Provide GLIBC_2_14 memcpy.
20199 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20200 (memcpy): Provide GLIBC_2_2_5 memcpy.
20202 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20205 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20207 2011-03-30 Andreas Schwab <schwab@redhat.com>
20209 * misc/syncfs.c: New file.
20210 * misc/Makefile (routines): Add syncfs.
20211 * posix/unistd.h: Declare syncfs.
20212 * sysdeps/unix/syscalls.list: Add syncfs.
20214 2011-04-01 Andreas Schwab <schwab@redhat.com>
20216 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20221 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20223 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20226 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20228 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20230 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20236 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20237 sync_file_range.c with -fexceptions.
20238 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20239 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20240 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20241 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20242 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20243 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20245 sync_file_range as cancellation point
20246 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20247 now a wrapper around __call_sync_file_range with cancellation handling.
20248 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20249 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20250 function name to __call_sync_file_range.
20251 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20252 Add call_sync_file_range.
20254 2011-04-01 Andreas Schwab <schwab@redhat.com>
20256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20259 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20261 * iconv/iconv.h: Fix typo in comment.
20262 * io/fcntl.h: Likewise.
20263 * libio/stdio.h: Likewise.
20264 * posix/spawn.h: Likewise.
20265 * posix/unistd.h: Likewise.
20266 * stdlib/stdlib.h: Likewise.
20267 * time/time.h: Likewise.
20268 * wcsmbs/wchar.h: Likewise.
20270 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20271 open_by_handle): Add.
20272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20273 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20274 Augment a few comments.
20275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20280 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20283 * io/fcntl.h (AT_EMPTY_PATH): Define.
20285 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20287 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20288 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20289 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20291 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20292 * Versions.def: Add GLIBC_2.14.
20293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20296 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20298 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20300 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20302 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20305 * string/test-strncmp.c (do_page_test): New function.
20306 (check2): Likewise.
20307 (test_main): Call check2.
20308 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20310 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20313 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20314 Handle cache information in CPU leaf 4.
20315 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20317 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20320 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20321 character representation.
20322 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20324 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20326 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20327 END(__isnan) to END(__isnanf) to match function entry point/label
20328 EALIGN(__isnanf,...).
20330 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20332 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20334 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20337 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20338 copy from the symbol referenced in the relocation to initialize the
20340 Patch by Piotr Bury <pbury@goahead.com>.
20341 * elf/Makefile: Add rules to build and tst-unique3.
20342 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20343 * elf/tst-unique3.cc: New file.
20344 * elf/tst-unique3.h: New file.
20345 * elf/tst-unique3lib.cc: New file.
20346 * elf/tst-unique3lib2.cc: New file.
20348 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20350 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20352 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20353 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20356 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20358 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20359 to-be-loaded object along a path to loader is ld.so.
20361 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20362 Ulrich Drepper <drepper@gmail.com>
20364 * sysdeps/x86_64/memset.S: After aligning destination, code
20365 branches to different locations depending on the value of
20366 misalignment, when multiarch is enabled. Fix this.
20368 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20370 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20371 Set _x86_64_preferred_memory_instruction for AMD processsors.
20372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20373 Set bit_Prefer_SSE_for_memop for AMD processors.
20375 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20377 * libio/fmemopen.c (fmemopen): Optimize a bit.
20379 2011-03-03 Andreas Schwab <schwab@redhat.com>
20381 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20383 2011-03-03 Roland McGrath <roland@redhat.com>
20385 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20387 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20389 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20390 __bzero_ultra1 instead of __memset_ultra1.
20392 2011-02-23 Andreas Schwab <schwab@redhat.com>
20393 Ulrich Drepper <drepper@gmail.com>
20396 * include/link.h (struct link_map): Add l_orig_initfini.
20397 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20398 returning unsuccessfully.
20399 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20400 close of a file loaded at startup, restore the original l_initfini
20402 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20403 list, store the pointer.
20404 * elf/Makefile ($(objpfx)noload-mem): New rule.
20405 (noload-ENV): Define.
20406 (tests): Add $(objpfx)noload-mem.
20407 * elf/noload.c: Include <memcheck.h>.
20408 (main): Call mtrace. Close all opened handles.
20410 2011-02-17 Andreas Schwab <schwab@redhat.com>
20413 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20414 dependencies are missing.
20416 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20418 Fix __if_freereq crash: Unlike the generic version which uses free,
20420 * sysdeps/mach/hurd/ifreq.h: New file.
20422 2011-01-27 Petr Baudis <pasky@suse.cz>
20423 Ulrich Drepper <drepper@gmail.com>
20426 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20427 to extend_alloca().
20428 * stdio-common/bug23.c: New file.
20429 * stdio-common/Makefile (tests): Add bug23.
20431 2010-09-28 Andreas Schwab <schwab@redhat.com>
20432 Ulrich Drepper <drepper@gmail.com>
20435 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20436 before performing relro protection. At old place add assertion
20437 to make sure nothing changed.
20439 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20440 Glauber de Oliveira Costa <glommer@gmail.com>
20442 * elf/elf.h: Add new ARM TLS relocs.
20444 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20447 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20449 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20451 * sysdeps/wordsize-64/tst-writev.c: New file.
20453 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20455 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20456 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20457 insns in _dl_start to prevent a TOC reference before relocs are
20460 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20463 * Makeconfig: Remove RANLIB definition.
20464 * Makerules: Don't use RANLIB.
20465 * aclocal.m4: Remove ranlib test.
20466 * configure.in: No need to check for ranlib.
20467 * elf/rtld-Rules: Don't use RANLIB.
20469 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20471 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20473 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20474 inclusion protection macro.
20476 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20477 SIGRTMIN and SIGRTMAX and print information in that case only when
20478 SIGRTMIN is defined.
20480 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20482 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20483 arginfo fn returning -1.
20485 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20486 and thousands string is zero terminated.
20488 2011-02-03 Andreas Schwab <schwab@redhat.com>
20490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20491 sysdeps/unix/sysv/linux/bits/socket.h.
20493 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20495 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20496 (__CPU_COUNT): Remove old macros.
20497 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20498 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20499 (__CPU_ALLOC, __CPU_FREE): Add macros.
20500 (__sched_cpualloc, __sched_cpufree): Add declarations.
20502 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20504 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20505 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20506 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20507 (readdhstai): Return value of addhstaiX call.
20508 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20509 (addgrbyX): Return value returned by cache_addgr.
20510 (readdgrbyname): Return value returned by addgrbyX.
20511 (readdgrbygid): Likewise.
20512 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20513 (addpwbyX): Return value returned by cache_addpw.
20514 (readdpwbyname): Return value returned by addhstbyX.
20515 (readdpwbyuid): Likewise.
20516 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20517 (addservbyX): Return value returned by cache_addserv.
20518 (readdservbyname): Return value returned by addservbyX:
20519 (readdservbyport): Likewise.
20520 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20521 (addhstbyX): Return value returned by cache_addhst.
20522 (readdhstbyname): Return value returned by addhstbyX.
20523 (readdhstbyaddr): Likewise.
20524 (readdhstbynamev6): Likewise.
20525 (readdhstbyaddrv6): Likewise.
20526 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20527 (readdinitgroups): Return value returned by addinitgroupsX.
20528 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20529 (prune_cache): Keep track of timeout value of re-added entries.
20530 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20531 * nscd/nscd.h: Adjust prototypes of readd* functions.
20533 2011-02-04 Roland McGrath <roland@redhat.com>
20535 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20536 (nis_stats): Likewise.
20537 * nis/nis_modify.c (nis_modify): Likewise.
20538 * nis/nis_remove.c (nis_remove): Likewise.
20539 * nis/nis_add.c (nis_add): Likewise.
20541 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20543 * posix/fnmatch_loop.c: Add some consts.
20545 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20547 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20550 * config.make.in (config-cflags-novzeroupper): Define.
20551 * configure.in: Substitute libc_cv_cc_novzeroupper.
20552 * elf/Makefile (AVX-CFLAGS): Define.
20553 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20554 (CFLAGS-tst-auditmod4a.c): Likewise.
20555 (CFLAGS-tst-auditmod4b.c): Likewise.
20556 (CFLAGS-tst-auditmod6b.c): Likewise.
20557 (CFLAGS-tst-auditmod6c.c): Likewise.
20558 (CFLAGS-tst-auditmod7b.c): Likewise.
20559 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20561 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20563 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20564 function to the callback.
20565 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20567 2011-02-02 Andreas Schwab <schwab@redhat.com>
20569 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20572 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20575 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20577 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20579 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20582 * elf/Makefile: Add rules to build and run new test.
20583 * elf/tst-initorder.c: New file.
20584 * elf/tst-initorder.exp: New file.
20585 * elf/tst-initordera1.c: New file.
20586 * elf/tst-initordera2.c: New file.
20587 * elf/tst-initordera3.c: New file.
20588 * elf/tst-initordera4.c: New file.
20589 * elf/tst-initorderb1.c: New file.
20590 * elf/tst-initorderb2.c: New file.
20591 * elf/tst-order-a1.c: New file.
20592 * elf/tst-order-a2.c: New file.
20593 * elf/tst-order-a3.c: New file.
20594 * elf/tst-order-a4.c: New file.
20595 * elf/tst-order-b1.c: New file.
20596 * elf/tst-order-b2.c: New file.
20597 * elf/tst-order-main.c: New file.
20598 New test case by George Gensure <werkt0@gmail.com>.
20600 2010-10-01 Andreas Schwab <schwab@redhat.com>
20602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20603 decoding ACE if AI_CANONIDN.
20605 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20607 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20609 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20611 * version.h (RELEASE): Bump for 2.13 release.
20612 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20614 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20616 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20618 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20625 * posix/getconf.c: Update copyright year.
20626 * catgets/gencat.c: Likewise.
20627 * csu/version.c: Likewise.
20628 * debug/catchsegv.sh: Likewise.
20629 * debug/xtrace.sh: Likewise.
20630 * elf/ldconfig.c: Likewise.
20631 * elf/ldd.bash.in: Likewise.
20632 * elf/sprof.c (print_version): Likewise.
20633 * iconv/iconv_prog.c: Likewise.
20634 * iconv/iconvconfig.c: Likewise.
20635 * locale/programs/locale.c: Likewise.
20636 * locale/programs/localedef.c: Likewise.
20637 * malloc/memusage.sh: Likewise.
20638 * malloc/mtrace.pl: Likewise.
20639 * nscd/nscd.c (print_version): Likewise.
20640 * nss/getent.c: Likewise.
20642 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20643 PF_CAIF, and PF_ALG.
20644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20646 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20648 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20649 (modules-names): Use them.
20650 (ifunc-test-modules, ifunc-pie-tests): Define.
20651 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20652 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20653 (test-extras): Likewise.
20654 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20655 $(compile-command.c).
20656 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20657 (all-built-dso): Define.
20658 (check-textrel.out, check-execstack.out): Depend on it.
20660 * configure.in: Don't override --enable-multi-arch.
20662 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20665 * nscd/hstcache.c (tryagain): Define.
20666 (cache_addhst): Return tryagain not notfound for temporary errors.
20667 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20670 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20673 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20674 to make the syscall.
20675 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20678 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20679 and fall back to matching as normal character if the string ends before
20680 the matching ']' is found. This is what POSIX requires.
20681 * posix/testfnm.c: Adjust test result.
20682 * posix/globtest.sh: Adjust test result. Add new test.
20683 * posix/tst-fnmatch.input: Likewise.
20684 * posix/tst-fnmatch2.c: Add new test.
20686 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20688 * elf/Makefile (check-execstack): Revert last change. Depend on
20690 (check-execstack.h): New target.
20691 (generated): Add check-execstack.h.
20692 * elf/check-execstack.c: Include "check-execstack.h".
20693 (main): Revert last change.
20694 (handle_file): Return zero if GNU_STACK is absent and
20695 DEFAULT_STACK_PERMS doesn't include PF_X.
20697 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20699 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20700 in child fails because the descriptor is already closed.
20701 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20702 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20703 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20706 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20710 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20711 temporary buffer used to handle multi lookups locally.
20712 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20714 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20716 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20719 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20721 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20722 alignment for SSE2.
20724 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20727 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20728 characters. When rounding increased number of integer digits recompute
20730 * stdio-common/tst-grouping.c: New file.
20731 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20733 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20735 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20736 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20738 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20740 * bits/select.h: Likewise.
20742 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20744 * po/ja.po: Update from translation team.
20746 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20749 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20750 implementation just like for lxstat, fxstatat, et al.
20752 2010-12-27 Jim Meyering <meyering@redhat.com>
20755 * posix/regexec.c (build_trtable): Return failure indication upon
20756 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20758 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20761 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20762 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20763 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20767 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20770 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20771 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20773 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20775 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20776 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20777 script has SORT_BY_INIT_PRIORITY.
20778 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20779 NO_CTORS_DTORS_SECTIONS is defined.
20780 * elf/soinit.c: Likewise.
20781 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20782 NO_CTORS_DTORS_SECTIONS is defined.
20783 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20784 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20785 * sysdeps/sh/init-first.c: Likewise.
20786 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20788 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20790 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20791 always use the slow path.
20793 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20795 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20796 similar rule which adds the sysdep directories to the header search in
20797 order to pick up the correct platform stackinfo.h.
20798 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20799 perform test if it is, otherwise return successfully without testing.
20800 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20801 DEFAULT_STACK_PERMS define in stackinfo.h.
20802 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20803 defined in stackinfo.h.
20804 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20805 DEFAULT_STACK_PERMS defined in stackinfo.h.
20806 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20807 * sysdeps/ia64/stackinfo.h: Likewise.
20808 * sysdeps/s390/stackinfo.h: Likewise.
20809 * sysdeps/sh/stackinfo.h: Likewise.
20810 * sysdeps/sparc/stackinfo.h: Likewise.
20811 * sysdeps/x86_64/stackinfo.h: Likewise.
20812 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20813 PF_X for powerpc64. Retain PF_X for powerpc32.
20815 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20817 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20819 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20820 GETDENTS_64BIT_ALIGNED.
20822 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20824 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20826 2010-12-10 Andreas Schwab <schwab@redhat.com>
20828 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20831 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20832 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20834 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20835 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20837 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20840 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20843 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20845 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20847 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20849 * po/it.po: Update from translation team.
20851 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20856 2010-11-30 Ulrich Drepper <drepper@gmail.com>
20858 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20860 2010-11-24 Andreas Schwab <schwab@redhat.com>
20862 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20864 (gaih_getanswer_slice): Likewise.
20866 2010-10-20 Jakub Jelinek <jakub@redhat.com>
20868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20870 2010-05-31 Petr Baudis <pasky@suse.cz>
20873 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20874 silently even in the chroot mode.
20876 2010-11-22 Ulrich Drepper <drepper@gmail.com>
20878 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20879 last patch a bit. Pretty printing
20881 2010-05-31 Petr Baudis <pasky@suse.cz>
20884 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20885 initialization of skip_initgroups_dyn.
20887 2010-11-19 Ulrich Drepper <drepper@gmail.com>
20889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20892 2010-11-16 Ulrich Drepper <drepper@gmail.com>
20894 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20896 2010-11-11 Andreas Schwab <schwab@redhat.com>
20898 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20899 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20900 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20901 ($(objpfx)tst-fnmatch-mem): New rule.
20902 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20903 * posix/tst-fnmatch.c (main): Call mtrace.
20905 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20908 Support Intel processor model 6 and model 0x2c.
20910 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
20912 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20915 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20918 * string/test-strncasecmp.c (check_result): New function.
20919 (do_one_test): Use it.
20920 (check1): New function.
20921 (test_main): Use it.
20922 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20923 Support strcasecmp and strncasecmp.
20925 2010-11-08 Ulrich Drepper <drepper@gmail.com>
20928 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20931 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20933 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20937 * sysdeps/x86_64/multiarch/bzero.S: New file.
20938 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20939 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20940 * sysdeps/x86_64/multiarch/memset.S: New file.
20941 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20943 Set bit_Prefer_SSE_for_memop for Intel processors.
20944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20946 (index_Prefer_SSE_for_memop): Define.
20947 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20949 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
20951 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20954 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20957 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20958 (__x86_64_raw_data_cache_size_half): Likewise.
20959 (__x86_64_raw_shared_cache_size): Likewise.
20960 (__x86_64_raw_shared_cache_size_half): Likewise.
20962 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20963 (__x86_64_raw_data_cache_size_half): Likewise.
20964 (__x86_64_raw_shared_cache_size): Likewise.
20965 (__x86_64_raw_shared_cache_size_half): Likewise.
20966 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20967 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20968 and __x86_64_raw_shared_cache_size_half. Round
20969 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20970 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20971 to multiple of 256 bytes.
20973 2010-11-03 Ulrich Drepper <drepper@gmail.com>
20976 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20977 of inacessible symlinks. Verify result of symlink before returning it.
20978 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20979 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20981 2010-10-28 Erich Ritz <erichritz@gmail.com>
20983 * math/math.h (isinf): Fix typo in comment.
20985 2010-11-01 Ulrich Drepper <drepper@gmail.com>
20987 * po/da.po: Update from translation team.
20989 2010-10-26 Ulrich Drepper <drepper@gmail.com>
20991 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20992 is added to the list.
20994 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20995 Ulrich Drepper <drepper@gmail.com>
20997 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20998 the global list here. Move code to...
20999 (_dl_add_to_namespace_list): ...here. New function.
21000 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21001 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21002 * elf/dl-load.c (lose): Don't remove the element from the list.
21003 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21004 (_dl_map_object): Likewise.
21006 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21009 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21010 into all bytes of SSE register.
21011 Patch by Richard Li <richardpku@gmail.com>.
21013 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21016 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21019 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21021 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21022 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21023 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21024 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21029 2010-10-22 Andreas Schwab <schwab@redhat.com>
21031 * include/dlfcn.h (__RTLD_SECURE): Define.
21032 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21033 mode & __RTLD_SECURE instead.
21034 (open_path): Rename preloaded parameter to secure.
21035 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21036 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21037 * elf/dl-deps.c (openaux): Likewise.
21038 * elf/rtld.c (struct map_args): Remove is_preloaded.
21039 (map_doit): Don't use it.
21040 (dl_main): Likewise.
21041 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21042 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21044 2010-09-09 Andreas Schwab <schwab@redhat.com>
21046 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21047 (sysd-rules-targets): Remove duplicates.
21048 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21049 rtld-%.$o dependency.
21051 2010-10-18 Andreas Schwab <schwab@redhat.com>
21053 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21054 _dl_map_object do it.
21056 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21058 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21059 fast fma builtins, define the macros in the C99 standard.
21060 (FP_FAST_FMAF): Likewise.
21061 (FP_FAST_FMAL): Likewise.
21062 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21064 * bits/mathdef.h: Update copyright year.
21065 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21067 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21069 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21070 builtins, define the macros in the C99 standard.
21071 (FP_FAST_FMAF): Likewise.
21072 (FP_FAST_FMAL): Likewise.
21073 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21075 (FP_FAST_FMAF): Likewise.
21077 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21080 * math/libm-test.inc (fma_test): Some new testcases.
21081 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21083 y and infinite z. Do multiplication by C already in long double.
21084 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21086 y and infinite z. Do bitwise or of inexact bit into u.d.
21087 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21088 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21089 * sysdeps/i386/fpu/s_fma.S: Removed.
21090 * sysdeps/i386/fpu/s_fmal.S: Removed.
21092 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21095 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21097 computation is not scheduled after fetestexcept. Fix value
21098 of minimum denormal long double.
21100 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21103 * math/libm-test.inc (fma_test): Add some more tests.
21104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21107 2010-10-15 Andreas Schwab <schwab@redhat.com>
21109 * scripts/data/localplt-s390-linux-gnu.data: New file.
21110 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21112 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21115 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21116 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21118 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21120 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21122 if one of x and y is very large and the other is subnormal.
21123 * sysdeps/s390/fpu/s_fmaf.c: New file.
21124 * sysdeps/s390/fpu/s_fma.c: New file.
21125 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21126 * sysdeps/powerpc/fpu/s_fma.S: New file.
21127 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21128 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21129 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21131 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21134 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21136 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21137 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21138 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21139 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21140 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21141 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21144 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21147 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21148 * posix/bug-regex31.input: Add test case.
21150 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21152 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21153 * posix/bug-regex31.input: New file.
21156 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21157 (parse_sub_exp): Fix last change, use postorder.
21159 * posix/bug-regex31.c: New file.
21160 * posix/Makefile: Add rules to build and run bug-regex31.
21162 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21165 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21168 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21169 to have entries in sys_siglist.
21172 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21175 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21178 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21179 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21180 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21181 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21182 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21183 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21184 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21185 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21186 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21187 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21188 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21189 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21190 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21191 * math/ftestexcept.c (fetestexcept): Likewise.
21192 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21193 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21194 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21195 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21196 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21197 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21198 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21200 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21203 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21206 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21208 * string/bug-strstr1.c: New file.
21209 * string/Makefile: Add rules to build and run bug-strstr1.
21211 2010-10-05 Eric Blake <eblake@redhat.com>
21214 * string/str-two-way.h (two_way_long_needle): Always clear memory
21215 when skipping input due to the shift table.
21217 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21220 * malloc/mcheck.c: Handle large requests.
21223 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21224 for strncmp and strncasecmp.
21225 * string/stratcliff.c: Add tests for strcmp and strncmp.
21226 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21228 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21230 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21233 2010-09-30 Andreas Jaeger <aj@suse.de>
21235 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21236 (CGROUP_SUPER_MAGIC): Define.
21237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21238 Handle btrfs and cgroup file systems.
21239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21242 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21244 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21245 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21247 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21250 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21251 trying to locate the ELF header.
21253 2010-09-27 Andreas Schwab <schwab@redhat.com>
21256 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21257 Mask out sign-bit copies when constructing f_fsid.
21259 2010-09-24 Petr Baudis <pasky@suse.cz>
21261 * debug/stack_chk_fail_local.c: Add missing licence exception.
21262 * debug/warning-nop.c: Likewise.
21264 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21266 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21267 implementing getdents64 using getdents syscall, set d_type if
21268 __ASSUME_GETDENTS32_D_TYPE.
21270 2010-09-16 Andreas Schwab <schwab@redhat.com>
21272 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21273 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21275 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21278 * posix/unistd.h: Undo change of feature selection for ftruncate from
21281 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21283 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21286 2010-09-20 Andreas Schwab <schwab@redhat.com>
21288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21290 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21292 2010-09-14 Andreas Schwab <schwab@redhat.com>
21294 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21295 variables after CHECK_SP call.
21296 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21298 2010-09-13 Andreas Schwab <schwab@redhat.com>
21299 Ulrich Drepper <drepper@redhat.com>
21301 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21302 re-relocationg ld.so.
21303 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21304 _dl_init_paths call.
21305 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21308 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21310 * resolv/res_init.c (__res_vinit): Count the default server we added.
21312 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21313 Ulrich Drepper <drepper@redhat.com>
21316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21317 (____longjmp_chk): Use %ebx for saving value across system call.
21320 2010-09-06 Andreas Schwab <schwab@redhat.com>
21322 * manual/Makefile: Don't mix pattern rules with normal rules.
21324 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21326 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21328 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21329 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21330 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21331 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21335 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21338 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21339 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21341 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21343 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21344 * sysdeps/x86_64/addmul_1.S: Likewise.
21345 * sysdeps/x86_64/lshift.S: Likewise.
21346 * sysdeps/x86_64/mul_1.S: Likewise.
21347 * sysdeps/x86_64/rshift.S: Likewise.
21348 * sysdeps/x86_64/sub_n.S: Likewise.
21349 * sysdeps/x86_64/submul_1.S: Likewise.
21351 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21353 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21354 Define __sched_param instead of SCHED_* and sched_param when
21355 <bits/sched.h> is included with __need_schedparam defined.
21356 * bits/sched.h [__need_schedparam]
21357 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21358 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21359 (__defined_schedparam): Define to 1.
21360 (__sched_param): New structure, identical to sched_param.
21361 (__need_schedparam): Undefine.
21363 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21366 (epoll_create1): Declare.
21368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21370 2010-08-31 Andreas Schwab <schwab@redhat.com>
21373 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21374 shifting retval into place.
21376 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21378 * nis/rpcsvc/nis.h: Update copyright notice.
21379 * nis/rpcsvc/nis.x: Likewise.
21380 * nis/rpcsvc/nis_callback.h: Likewise.
21381 * nis/rpcsvc/nis_callback.x: Likewise.
21382 * nis/rpcsvc/nis_object.x: Likewise.
21383 * nis/rpcsvc/nis_tags.h: Likewise.
21384 * nis/rpcsvc/yp.h: Likewise.
21385 * nis/rpcsvc/yp.x: Likewise.
21386 * nis/rpcsvc/ypupd.h: Likewise.
21387 * nis/yp_xdr.c: Likewise.
21388 * nis/ypupdate_xdr.c: Likewise.
21390 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21391 mainly the body of pmap_getport. Add parameters to specify timeouts.
21392 (pmap_getport): Use __libc_rpc_getport.
21393 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21394 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21395 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21397 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21402 2010-08-27 Roland McGrath <roland@redhat.com>
21404 * sysdeps/i386/i686/multiarch/Makefile
21405 (CFLAGS-varshift.c): New variable.
21407 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21409 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21410 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21414 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21416 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21418 * sysdeps/x86_64/strlen.S: Unroll the loop.
21419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21420 strlen-sse2 strlen-sse2-bsf.
21421 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21422 __strlen_no_bsf if bit_Slow_BSF is set.
21423 (__strlen_sse42): Removed.
21424 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21425 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21427 2010-08-25 Roland McGrath <roland@redhat.com>
21429 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21430 * sysdeps/x86_64/multiarch/varshift.c: New file.
21431 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21432 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21433 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21434 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21436 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21439 strlen-sse2 strlen-sse2-bsf.
21440 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21441 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21442 (__strlen_sse2): Removed.
21443 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21446 bit_Slow_BSF for Atom.
21447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21448 (index_Slow_BSF): Define.
21449 (HAS_SLOW_BSF): Define.
21451 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21454 * resolv/res_init.c (__res_vinit): When no server address at all
21455 is given default to loopback.
21457 2010-08-24 Roland McGrath <roland@redhat.com>
21459 * configure.in: Remove config-name.h generation.
21460 * configure: Regenerated.
21461 * config-name.in: File removed.
21462 * scripts/config-uname.sh: New file.
21463 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21464 ($(objdir)config-name.h): New target.
21466 * sunrpc/rpc_parse.h: Avoid nested comment.
21468 2010-08-24 Richard Henderson <rth@redhat.com>
21469 Ulrich Drepper <drepper@redhat.com>
21470 H.J. Lu <hongjiu.lu@intel.com>
21472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21474 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21475 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21476 _mm_alignr_epi8 with _mm_loadu_si128.
21477 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21478 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21479 (__m128i_shift_right): Removed.
21480 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21481 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21482 * sysdeps/x86_64/multiarch/varshift.h: New file.
21483 * sysdeps/x86_64/multiarch/varshift.S: New file.
21485 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21487 * configure.in: Move assembler checks to before sysdep dir checking.
21489 2010-08-20 Petr Baudis <pasky@suse.cz>
21491 * LICENSES: Sync the sunrpc license.
21493 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21495 * sunrpc/auth_des.c: Update copyright notice once again.
21496 * sunrpc/auth_none.c: Likewise.
21497 * sunrpc/auth_unix.c: Likewise.
21498 * sunrpc/authdes_prot.c: Likewise.
21499 * sunrpc/authuxprot.c: Likewise.
21500 * sunrpc/bindrsvprt.c: Likewise.
21501 * sunrpc/clnt_gen.c: Likewise.
21502 * sunrpc/clnt_perr.c: Likewise.
21503 * sunrpc/clnt_raw.c: Likewise.
21504 * sunrpc/clnt_simp.c: Likewise.
21505 * sunrpc/clnt_tcp.c: Likewise.
21506 * sunrpc/clnt_udp.c: Likewise.
21507 * sunrpc/clnt_unix.c: Likewise.
21508 * sunrpc/des_crypt.c: Likewise.
21509 * sunrpc/des_soft.c: Likewise.
21510 * sunrpc/get_myaddr.c: Likewise.
21511 * sunrpc/getrpcport.c: Likewise.
21512 * sunrpc/key_call.c: Likewise.
21513 * sunrpc/key_prot.c: Likewise.
21514 * sunrpc/openchild.c: Likewise.
21515 * sunrpc/pm_getmaps.c: Likewise.
21516 * sunrpc/pm_getport.c: Likewise.
21517 * sunrpc/pmap_clnt.c: Likewise.
21518 * sunrpc/pmap_prot.c: Likewise.
21519 * sunrpc/pmap_prot2.c: Likewise.
21520 * sunrpc/pmap_rmt.c: Likewise.
21521 * sunrpc/rpc/auth.h: Likewise.
21522 * sunrpc/rpc/auth_unix.h: Likewise.
21523 * sunrpc/rpc/clnt.h: Likewise.
21524 * sunrpc/rpc/des_crypt.h: Likewise.
21525 * sunrpc/rpc/key_prot.h: Likewise.
21526 * sunrpc/rpc/netdb.h: Likewise.
21527 * sunrpc/rpc/pmap_clnt.h: Likewise.
21528 * sunrpc/rpc/pmap_prot.h: Likewise.
21529 * sunrpc/rpc/pmap_rmt.h: Likewise.
21530 * sunrpc/rpc/rpc.h: Likewise.
21531 * sunrpc/rpc/rpc_des.h: Likewise.
21532 * sunrpc/rpc/rpc_msg.h: Likewise.
21533 * sunrpc/rpc/svc.h: Likewise.
21534 * sunrpc/rpc/svc_auth.h: Likewise.
21535 * sunrpc/rpc/types.h: Likewise.
21536 * sunrpc/rpc/xdr.h: Likewise.
21537 * sunrpc/rpc_clntout.c: Likewise.
21538 * sunrpc/rpc_cmsg.c: Likewise.
21539 * sunrpc/rpc_common.c: Likewise.
21540 * sunrpc/rpc_cout.c: Likewise.
21541 * sunrpc/rpc_dtable.c: Likewise.
21542 * sunrpc/rpc_hout.c: Likewise.
21543 * sunrpc/rpc_main.c: Likewise.
21544 * sunrpc/rpc_parse.c: Likewise.
21545 * sunrpc/rpc_parse.h: Likewise.
21546 * sunrpc/rpc_prot.c: Likewise.
21547 * sunrpc/rpc_sample.c: Likewise.
21548 * sunrpc/rpc_scan.c: Likewise.
21549 * sunrpc/rpc_scan.h: Likewise.
21550 * sunrpc/rpc_svcout.c: Likewise.
21551 * sunrpc/rpc_tblout.c: Likewise.
21552 * sunrpc/rpc_util.c: Likewise.
21553 * sunrpc/rpc_util.h: Likewise.
21554 * sunrpc/rpcinfo.c: Likewise.
21555 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21556 * sunrpc/rpcsvc/key_prot.x: Likewise.
21557 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21558 * sunrpc/rpcsvc/mount.x: Likewise.
21559 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21560 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21561 * sunrpc/rpcsvc/rex.x: Likewise.
21562 * sunrpc/rpcsvc/rstat.x: Likewise.
21563 * sunrpc/rpcsvc/rusers.x: Likewise.
21564 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21565 * sunrpc/rpcsvc/spray.x: Likewise.
21566 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21567 * sunrpc/rtime.c: Likewise.
21568 * sunrpc/svc.c: Likewise.
21569 * sunrpc/svc_auth.c: Likewise.
21570 * sunrpc/svc_authux.c: Likewise.
21571 * sunrpc/svc_raw.c: Likewise.
21572 * sunrpc/svc_run.c: Likewise.
21573 * sunrpc/svc_simple.c: Likewise.
21574 * sunrpc/svc_tcp.c: Likewise.
21575 * sunrpc/svc_udp.c: Likewise.
21576 * sunrpc/svc_unix.c: Likewise.
21577 * sunrpc/svcauth_des.c: Likewise.
21578 * sunrpc/xcrypt.c: Likewise.
21579 * sunrpc/xdr.c: Likewise.
21580 * sunrpc/xdr_array.c: Likewise.
21581 * sunrpc/xdr_float.c: Likewise.
21582 * sunrpc/xdr_mem.c: Likewise.
21583 * sunrpc/xdr_rec.c: Likewise.
21584 * sunrpc/xdr_ref.c: Likewise.
21585 * sunrpc/xdr_sizeof.c: Likewise.
21586 * sunrpc/xdr_stdio.c: Likewise.
21588 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21591 2010-08-19 Andreas Schwab <schwab@redhat.com>
21593 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21595 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21597 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21598 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21599 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21600 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21601 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21602 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21603 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21604 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21605 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21606 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21607 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21608 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21609 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21610 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21612 2010-07-26 Anton Blanchard <anton@samba.org>
21614 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21615 * malloc/arena.c (heap_trim): Likewise.
21617 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21619 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21622 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21624 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21626 * sysdeps/i386/elf/Makefile: New file.
21628 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21630 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21631 from fanotify_init.
21632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21635 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21637 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21639 * sysdeps/multiarch/strcmp.S: Likewise.
21641 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21643 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21644 strncase_l-nonascii.
21645 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21646 Add strncase_l-ssse3.
21647 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21648 * sysdeps/x86_64/strcmp.S: Likewise.
21649 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21650 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21651 * sysdeps/x86_64/strncase.S: New file.
21652 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21653 * sysdeps/x86_64/strncase_l.S: New file.
21654 * string/Makefile (strop-tests): Add strncasecmp.
21655 * string/test-strncasecmp.c: New file.
21657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21660 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21661 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21663 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21665 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21667 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21669 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21671 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21673 2010-05-01 Alan Modra <amodra@gmail.com>
21675 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21676 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21677 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21678 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21679 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21680 tidying. Don't tail-call __sigjmp_save for static lib.
21681 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21683 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21684 (CALL_MCOUNT): Add eh info, and nop after bl.
21685 (TAIL_CALL_SYSCALL_ERROR): New macro.
21686 (PSEUDO_RET): Use it.
21687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21688 Correct save location of integer regs and cr.
21689 (_dl_profile_resolve): Correct cr save location. Delete nops
21690 after bl when SHARED. Reduce cfi size a little by better
21691 placement of cfi directives.
21692 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21693 make a stack frame. Instead use parm save area as a temp.
21694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21695 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21697 Don't make a stack frame for parent, use parm save area.
21698 Increase child stack frame to 112 bytes. Don't save unused reg,
21699 and adjust reg usage. Set up cfi on error recovery and
21700 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21702 (__makecontext): Add dummy nop after jump to exit.
21703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21704 Use correct parm save area and cr save, reduce stack frame.
21705 Correct cfi for possible PSEUDO_RET frame setup.
21706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21707 Branch to local label emitted by PSEUDO_RET rather than
21710 2010-08-12 Andreas Schwab <schwab@redhat.com>
21713 * locale/programs/locale.c (print_assignment): New function.
21714 (show_locale_vars): Use it.
21716 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21718 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21720 (struct statfs64): Likewise.
21721 (_STATFS_F_FLAGS): Define.
21722 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21724 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21725 (ST_VALID): Define locally.
21726 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21727 __statvfs_getflags, use the provided value.
21728 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21729 __ASSUME_STATFS_F_FLAGS.
21731 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21733 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21734 Add sys/fanotify.h.
21735 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21736 fanotify_mask for GLIBC_2.13.
21737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21738 fanotify_init and fanotify_mark.
21739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21740 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21742 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21744 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21745 prlimit64 for GLIBC_2.13.
21746 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21748 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21752 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21753 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21756 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21759 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21760 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21762 * nss/Makefile: Add rules to build and run tst-nss-test1.
21763 * shlib-versions: Add entry for libnss_test1.
21764 * nss/nss_test1.c: New file.
21765 * nss/tst-nss-test1.c: New file.
21767 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21768 (__nss_configure_lookup): Set appropriate entry in
21769 __nss_configure_lookup to true.
21770 * nss/nsswitch.h: Define enum with indeces of databases in
21771 databases and __nss_database_custom arrays. Declare
21772 __nss_database_custom.
21773 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21774 to avoid using nscd when custom rules are installed.
21775 * nss/getXXbyYY_r.c: Likewise.
21776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21778 * nss/nss_files/files-parse.c: Whitespace fixes.
21780 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21783 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21784 * posix/fnmatch_loop.c: Likewise.
21786 2010-07-17 Andi Kleen <ak@linux.intel.com>
21788 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21789 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21790 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21791 * Versions.def [GLIBC_2.13]: Add.
21793 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21795 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21796 Also fail if tpwd after pwuid call is NULL.
21798 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21800 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21801 when converting to ms.
21803 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21805 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21806 EOPNOTSUPP errors with ENOTTY.
21807 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21808 EOPNOTSUPP errors with ENOTTY.
21810 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21812 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21813 Add strcasecmp_l-ssse3.
21814 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21816 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21817 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21818 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21820 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21822 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21824 * string/Makefile (strop-tests): Add strcasecmp.
21825 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21826 strcasecmp_l-nonascii.
21827 (gen-as-const-headers): Add locale-defines.sym.
21828 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21829 * sysdeps/x86_64/strcasecmp.S: New file.
21830 * sysdeps/x86_64/strcasecmp_l.S: New file.
21831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21832 * sysdeps/x86_64/locale-defines.sym: New file.
21833 * string/test-strcasecmp.c: New file.
21835 * string/test-strcasestr.c: Test both ends of the range of characters.
21836 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21838 2010-07-29 Roland McGrath <roland@redhat.com>
21841 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21843 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21845 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21848 2010-07-27 Andreas Schwab <schwab@redhat.com>
21850 * manual/memory.texi (Malloc Tunable Parameters): Document
21853 2010-07-26 Roland McGrath <roland@redhat.com>
21856 * configure.in (-fgnu89-inline check): Set and substitute
21857 gnu89_inline, not libc_cv_gnu89_inline.
21858 * configure: Regenerated.
21859 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21861 2010-07-26 Ulrich Drepper <drepper@redhat.com>
21863 * string/test-strnlen.c: New file.
21864 * string/Makefile (strop-tests): Add strnlen.
21865 * string/tester.c (test_strnlen): Add a few more test cases.
21866 * string/tst-strlen.c: Better error reporting.
21868 * sysdeps/x86_64/strnlen.S: New file.
21870 2010-07-24 Ulrich Drepper <drepper@redhat.com>
21872 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21873 lower-latency instructions.
21875 2010-07-23 Ulrich Drepper <drepper@redhat.com>
21877 * string/test-strcasestr.c: New file.
21878 * string/test-strstr.c: New file.
21879 * string/Makefile (strop-tests): Add strstr and strcasestr.
21880 * string/str-two-way.h: Don't undefine MAX.
21881 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21883 2010-07-21 Andreas Schwab <schwab@redhat.com>
21885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21886 strcasestr-nonascii.
21887 (CFLAGS-strcasestr-nonascii.c): Define.
21888 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21889 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21890 Remove unused attribute.
21892 2010-07-20 Roland McGrath <roland@redhat.com>
21894 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21895 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21896 ld.so.cache was broken. With it, there is no way to disable dsocaps
21897 like LD_HWCAP_MASK can disable hwcaps.
21899 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21901 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21903 2010-07-16 Ulrich Drepper <drepper@redhat.com>
21905 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21906 call in strcasestr.
21907 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21908 __strcasestr_sse42_nonascii.
21909 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21910 strcasestr-nonascii.c.
21911 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21913 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
21915 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21916 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21918 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21920 2010-07-09 Ulrich Drepper <drepper@redhat.com>
21922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21925 2010-07-06 Andreas Schwab <schwab@redhat.com>
21928 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21931 2010-07-06 Ulrich Drepper <drepper@redhat.com>
21933 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21934 _PC_PIPE_BUF using F_GETPIPE_SZ.
21936 2010-07-05 Roland McGrath <roland@redhat.com>
21938 * manual/arith.texi (Rounding Functions): Fix rint description
21939 implicit in round description.
21941 2010-07-02 Ulrich Drepper <drepper@redhat.com>
21943 * elf/Makefile: Fix linking for a few tests to make recent linker
21946 2010-06-30 Andreas Schwab <schwab@redhat.com>
21948 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21949 $(common-objpfx)libc_nonshared.a.
21951 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
21953 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21954 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21955 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21956 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21957 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21958 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21959 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21960 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21975 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21976 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21977 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21978 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21979 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21980 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21981 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21982 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21983 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21984 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21985 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21986 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22002 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22004 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22005 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22006 * string/memmove.c (memmove): Renamed to ...
22007 (MEMMOVE): ...this. Default to memmove.
22008 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22009 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22012 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22013 mempcpy-ssse3-back memmove-ssse3-back.
22014 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22017 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22018 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22019 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22020 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22021 * sysdeps/x86_64/multiarch/memmove.c: New file.
22022 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22023 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22024 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22025 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22026 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22029 (index_Fast_Copy_Backward): Define.
22030 (HAS_ARCH_FEATURE): Define.
22031 (HAS_FAST_REP_STRING): Define.
22032 (HAS_FAST_COPY_BACKWARD): Define.
22034 2010-06-21 Andreas Schwab <schwab@redhat.com>
22036 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22037 Restore proper fallback handling.
22039 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22042 * posix/group_member.c (__group_member): Correct checking loop.
22044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22045 OOM in getpwuid_r correctly. Return error number when the caller
22046 should return, otherwise -1.
22047 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22048 call returning > 0 value.
22049 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22051 2010-06-07 Andreas Schwab <schwab@redhat.com>
22053 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22054 libc_nonshared.a from targets in modules-names.
22056 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22058 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22061 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22063 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22064 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22068 2010-06-02 Andreas Schwab <schwab@redhat.com>
22070 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22072 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22080 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22083 2010-06-14 Roland McGrath <roland@redhat.com>
22085 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22087 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22089 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22090 __REDIRECT followed by __THROW.
22091 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22092 * posix/getopt.h (getopt): Likewise.
22094 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22096 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22097 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22098 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22100 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22101 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22103 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22107 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22111 Properly check family and model.
22113 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22115 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22117 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22119 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22121 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22123 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22126 2010-05-19 Andreas Schwab <schwab@redhat.com>
22128 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22131 2010-05-21 Andreas Schwab <schwab@redhat.com>
22133 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22134 and internal_recvmmsg.
22135 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22136 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22138 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22140 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22141 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22142 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22144 2010-05-20 Andreas Schwab <schwab@redhat.com>
22146 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22148 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22150 POWER7 optimizations.
22151 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22152 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22154 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22156 * version.h: Update for 2.13 development version.
22158 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22160 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22161 exceptions. Return 0.
22163 2010-05-07 Roland McGrath <roland@redhat.com>
22165 * elf/ldconfig.c (main): Add a const.
22167 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22169 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22170 (args_options): Add no-idn option.
22171 (ahosts_keys_int): Add idn_flags to ai_flags.
22172 (parse_option): Handle 'i' option to clear idn_flags.
22174 * malloc/malloc.c (_int_free): Possible race in the most recently
22175 added check. Only act on the data if no current modification
22178 See ChangeLog.17 for earlier changes.