1 2012-11-07 David S. Miller <davem@davemloft.net>
3 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5 (__start_context): Declare.
6 (__makecontext_ret): Delete.
7 (__makecontext): Hook up __start_context instead of
9 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10 (sysdep_routines): Add __start_context when in stdlib.
12 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19 (READELF): New variable. Use it instead of hardcoded "readelf".
21 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24 * sysdeps/x86/Makefile: Here.
25 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26 * sysdeps/x86/tst-xmmymm.sh: This.
28 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32 [UNIX98] (pthread_barrier_t): Do not expect.
33 [UNIX98] (pthread_barrierattr_t): Likewise.
34 [UNIX98] (pthread_spinlock_t): Likewise.
35 [UNIX98] (pthread_barrier_destroy): Likewise.
36 [UNIX98] (pthread_barrier_init): Likewise.
37 [UNIX98] (pthread_barrier_wait): Likewise.
38 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40 [UNIX98] (pthread_barrierattr_init): Likewise.
41 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42 [UNIX98] (pthread_getcpuclockid): Likewise.
43 [UNIX98] (pthread_mutex_timedlock): Likewise.
44 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
45 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46 [UNIX98] (pthread_sigmask): Likewise.
47 [UNIX98] (pthread_spin_destroy): Likewise.
48 [UNIX98] (pthread_spin_init): Likewise.
49 [UNIX98] (pthread_spin_lock): Likewise.
50 [UNIX98] (pthread_spin_trylock): Likewise.
51 [UNIX98] (pthread_spin_unlock): Likewise.
52 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56 [XPG3 || XPG4] (pthread_cond_t): Likewise.
57 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58 [XPG3 || XPG4] (pthread_key_t): Likewise.
59 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61 [XPG3 || XPG4] (pthread_once_t): Likewise.
62 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
64 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65 [XPG3 || XPG4] (pthread_t): Likewise.
67 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
69 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72 Change function return type to int.
74 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
75 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
76 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
77 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
78 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
79 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
80 [!POSIX] (posix_madvise): Likewise.
81 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
83 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
84 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
86 (posix_mem_offset): Likewise.
87 (posix_typed_mem_get_info): Likewise.
88 (posix_typed_mem_open): Likewise.
90 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
91 Change condition to [XOPEN2K8].
93 * conform/conformtest.pl: Preprocess allow-header data with -x c
94 instead of from stdin.
95 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
96 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
97 [C99-based standards] (cerfc): Likewise.
98 [C99-based standards] (cexp2): Likewise.
99 [C99-based standards] (cexpm1): Likewise.
100 [C99-based standards] (clog10): Likewise.
101 [C99-based standards] (clog1p): Likewise.
102 [C99-based standards] (clog2): Likewise.
103 [C99-based standards] (clgamma): Likewise.
104 [C99-based standards] (ctgamma): Likewise.
105 [C99-based standards] (cerff): Likewise.
106 [C99-based standards] (cerfcf): Likewise.
107 [C99-based standards] (cexp2f): Likewise.
108 [C99-based standards] (cexpm1f): Likewise.
109 [C99-based standards] (clog10f): Likewise.
110 [C99-based standards] (clog1pf): Likewise.
111 [C99-based standards] (clog2f): Likewise.
112 [C99-based standards] (clgammaf): Likewise.
113 [C99-based standards] (ctgammaf): Likewise.
114 [C99-based standards] (cerfl): Likewise.
115 [C99-based standards] (cerfcl): Likewise.
116 [C99-based standards] (cexp2l): Likewise.
117 [C99-based standards] (cexpm1l): Likewise.
118 [C99-based standards] (clog10l): Likewise.
119 [C99-based standards] (clog1pl): Likewise.
120 [C99-based standards] (clog2l): Likewise.
121 [C99-based standards] (clgammal): Likewise.
122 [C99-based standards] (ctgammal): Likewise.
123 * conform/data/inttypes.h-data [C99-based standards]: Include
124 stdint.h-data. Remove all expectations for stdint.h contents.
125 [C99-based standards] (PRI*): Do not allow.
126 [C99-based standards] (SCN*): Likewise.
127 [C99-based standards] (*_t): Likewise.
128 [C99-based-standards] (PRId8): Expect macro.
129 [C99-based-standards] (PRIi8): Likewise.
130 [C99-based-standards] (PRIo8): Likewise.
131 [C99-based-standards] (PRIu8): Likewise.
132 [C99-based-standards] (PRIx8): Likewise.
133 [C99-based-standards] (PRIX8): Likewise.
134 [C99-based-standards] (SCNd8): Likewise.
135 [C99-based-standards] (SCNi8): Likewise.
136 [C99-based-standards] (SCNo8): Likewise.
137 [C99-based-standards] (SCNu8): Likewise.
138 [C99-based-standards] (SCNx8): Likewise.
139 [C99-based-standards] (PRIdLEAST8): Likewise.
140 [C99-based-standards] (PRIiLEAST8): Likewise.
141 [C99-based-standards] (PRIoLEAST8): Likewise.
142 [C99-based-standards] (PRIuLEAST8): Likewise.
143 [C99-based-standards] (PRIxLEAST8): Likewise.
144 [C99-based-standards] (PRIXLEAST8): Likewise.
145 [C99-based-standards] (SCNdLEAST8): Likewise.
146 [C99-based-standards] (SCNiLEAST8): Likewise.
147 [C99-based-standards] (SCNoLEAST8): Likewise.
148 [C99-based-standards] (SCNuLEAST8): Likewise.
149 [C99-based-standards] (SCNxLEAST8): Likewise.
150 [C99-based-standards] (PRIdFAST8): Likewise.
151 [C99-based-standards] (PRIiFAST8): Likewise.
152 [C99-based-standards] (PRIoFAST8): Likewise.
153 [C99-based-standards] (PRIuFAST8): Likewise.
154 [C99-based-standards] (PRIxFAST8): Likewise.
155 [C99-based-standards] (PRIXFAST8): Likewise.
156 [C99-based-standards] (SCNdFAST8): Likewise.
157 [C99-based-standards] (SCNiFAST8): Likewise.
158 [C99-based-standards] (SCNoFAST8): Likewise.
159 [C99-based-standards] (SCNuFAST8): Likewise.
160 [C99-based-standards] (SCNxFAST8): Likewise.
161 [C99-based-standards] (PRId16): Likewise.
162 [C99-based-standards] (PRIi16): Likewise.
163 [C99-based-standards] (PRIo16): Likewise.
164 [C99-based-standards] (PRIu16): Likewise.
165 [C99-based-standards] (PRIx16): Likewise.
166 [C99-based-standards] (PRIX16): Likewise.
167 [C99-based-standards] (SCNd16): Likewise.
168 [C99-based-standards] (SCNi16): Likewise.
169 [C99-based-standards] (SCNo16): Likewise.
170 [C99-based-standards] (SCNu16): Likewise.
171 [C99-based-standards] (SCNx16): Likewise.
172 [C99-based-standards] (PRIdLEAST16): Likewise.
173 [C99-based-standards] (PRIiLEAST16): Likewise.
174 [C99-based-standards] (PRIoLEAST16): Likewise.
175 [C99-based-standards] (PRIuLEAST16): Likewise.
176 [C99-based-standards] (PRIxLEAST16): Likewise.
177 [C99-based-standards] (PRIXLEAST16): Likewise.
178 [C99-based-standards] (SCNdLEAST16): Likewise.
179 [C99-based-standards] (SCNiLEAST16): Likewise.
180 [C99-based-standards] (SCNoLEAST16): Likewise.
181 [C99-based-standards] (SCNuLEAST16): Likewise.
182 [C99-based-standards] (SCNxLEAST16): Likewise.
183 [C99-based-standards] (PRIdFAST16): Likewise.
184 [C99-based-standards] (PRIiFAST16): Likewise.
185 [C99-based-standards] (PRIoFAST16): Likewise.
186 [C99-based-standards] (PRIuFAST16): Likewise.
187 [C99-based-standards] (PRIxFAST16): Likewise.
188 [C99-based-standards] (PRIXFAST16): Likewise.
189 [C99-based-standards] (SCNdFAST16): Likewise.
190 [C99-based-standards] (SCNiFAST16): Likewise.
191 [C99-based-standards] (SCNoFAST16): Likewise.
192 [C99-based-standards] (SCNuFAST16): Likewise.
193 [C99-based-standards] (SCNxFAST16): Likewise.
194 [C99-based-standards] (PRId32): Likewise.
195 [C99-based-standards] (PRIi32): Likewise.
196 [C99-based-standards] (PRIo32): Likewise.
197 [C99-based-standards] (PRIu32): Likewise.
198 [C99-based-standards] (PRIx32): Likewise.
199 [C99-based-standards] (PRIX32): Likewise.
200 [C99-based-standards] (SCNd32): Likewise.
201 [C99-based-standards] (SCNi32): Likewise.
202 [C99-based-standards] (SCNo32): Likewise.
203 [C99-based-standards] (SCNu32): Likewise.
204 [C99-based-standards] (SCNx32): Likewise.
205 [C99-based-standards] (PRIdLEAST32): Likewise.
206 [C99-based-standards] (PRIiLEAST32): Likewise.
207 [C99-based-standards] (PRIoLEAST32): Likewise.
208 [C99-based-standards] (PRIuLEAST32): Likewise.
209 [C99-based-standards] (PRIxLEAST32): Likewise.
210 [C99-based-standards] (PRIXLEAST32): Likewise.
211 [C99-based-standards] (SCNdLEAST32): Likewise.
212 [C99-based-standards] (SCNiLEAST32): Likewise.
213 [C99-based-standards] (SCNoLEAST32): Likewise.
214 [C99-based-standards] (SCNuLEAST32): Likewise.
215 [C99-based-standards] (SCNxLEAST32): Likewise.
216 [C99-based-standards] (PRIdFAST32): Likewise.
217 [C99-based-standards] (PRIiFAST32): Likewise.
218 [C99-based-standards] (PRIoFAST32): Likewise.
219 [C99-based-standards] (PRIuFAST32): Likewise.
220 [C99-based-standards] (PRIxFAST32): Likewise.
221 [C99-based-standards] (PRIXFAST32): Likewise.
222 [C99-based-standards] (SCNdFAST32): Likewise.
223 [C99-based-standards] (SCNiFAST32): Likewise.
224 [C99-based-standards] (SCNoFAST32): Likewise.
225 [C99-based-standards] (SCNuFAST32): Likewise.
226 [C99-based-standards] (SCNxFAST32): Likewise.
227 [C99-based-standards] (PRId64): Likewise.
228 [C99-based-standards] (PRIi64): Likewise.
229 [C99-based-standards] (PRIo64): Likewise.
230 [C99-based-standards] (PRIu64): Likewise.
231 [C99-based-standards] (PRIx64): Likewise.
232 [C99-based-standards] (PRIX64): Likewise.
233 [C99-based-standards] (SCNd64): Likewise.
234 [C99-based-standards] (SCNi64): Likewise.
235 [C99-based-standards] (SCNo64): Likewise.
236 [C99-based-standards] (SCNu64): Likewise.
237 [C99-based-standards] (SCNx64): Likewise.
238 [C99-based-standards] (PRIdLEAST64): Likewise.
239 [C99-based-standards] (PRIiLEAST64): Likewise.
240 [C99-based-standards] (PRIoLEAST64): Likewise.
241 [C99-based-standards] (PRIuLEAST64): Likewise.
242 [C99-based-standards] (PRIxLEAST64): Likewise.
243 [C99-based-standards] (PRIXLEAST64): Likewise.
244 [C99-based-standards] (SCNdLEAST64): Likewise.
245 [C99-based-standards] (SCNiLEAST64): Likewise.
246 [C99-based-standards] (SCNoLEAST64): Likewise.
247 [C99-based-standards] (SCNuLEAST64): Likewise.
248 [C99-based-standards] (SCNxLEAST64): Likewise.
249 [C99-based-standards] (PRIdFAST64): Likewise.
250 [C99-based-standards] (PRIiFAST64): Likewise.
251 [C99-based-standards] (PRIoFAST64): Likewise.
252 [C99-based-standards] (PRIuFAST64): Likewise.
253 [C99-based-standards] (PRIxFAST64): Likewise.
254 [C99-based-standards] (PRIXFAST64): Likewise.
255 [C99-based-standards] (SCNdFAST64): Likewise.
256 [C99-based-standards] (SCNiFAST64): Likewise.
257 [C99-based-standards] (SCNoFAST64): Likewise.
258 [C99-based-standards] (SCNuFAST64): Likewise.
259 [C99-based-standards] (SCNxFAST64): Likewise.
260 [C99-based-standards] (PRIdMAX): Likewise.
261 [C99-based-standards] (PRIiMAX): Likewise.
262 [C99-based-standards] (PRIoMAX): Likewise.
263 [C99-based-standards] (PRIuMAX): Likewise.
264 [C99-based-standards] (PRIxMAX): Likewise.
265 [C99-based-standards] (PRIXMAX): Likewise.
266 [C99-based-standards] (SCNdMAX): Likewise.
267 [C99-based-standards] (SCNiMAX): Likewise.
268 [C99-based-standards] (SCNoMAX): Likewise.
269 [C99-based-standards] (SCNuMAX): Likewise.
270 [C99-based-standards] (SCNxMAX): Likewise.
271 [C99-based-standards] (PRIdPTR): Likewise.
272 [C99-based-standards] (PRIiPTR): Likewise.
273 [C99-based-standards] (PRIoPTR): Likewise.
274 [C99-based-standards] (PRIuPTR): Likewise.
275 [C99-based-standards] (PRIxPTR): Likewise.
276 [C99-based-standards] (PRIXPTR): Likewise.
277 [C99-based-standards] (SCNdPTR): Likewise.
278 [C99-based-standards] (SCNiPTR): Likewise.
279 [C99-based-standards] (SCNoPTR): Likewise.
280 [C99-based-standards] (SCNuPTR): Likewise.
281 [C99-based-standards] (SCNxPTR): Likewise.
282 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
284 * conform/data/stdint.h-data: Update comments to clarify
286 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
288 [C99-based standards] (INT8_MAX): Likewise.
289 [C99-based standards] (INT16_MIN): Likewise.
290 [C99-based standards] (INT16_MAX): Likewise.
291 [C99-based standards] (INT32_MIN): Likewise.
292 [C99-based standards] (INT32_MAX): Likewise.
293 [C99-based standards] (INT64_MIN): Likewise.
294 [C99-based standards] (INT64_MAX): Likewise.
295 [C99-based standards] (UINT8_MAX): Likewise.
296 [C99-based standards] (UINT16_MAX): Likewise.
297 [C99-based standards] (UINT32_MAX): Likewise.
298 [C99-based standards] (UINT64_MAX): Likewise.
299 [C99-based standards] (INT_LEAST8_MIN): Likewise.
300 [C99-based standards] (INT_LEAST8_MAX): Likewise.
301 [C99-based standards] (INT_LEAST16_MIN): Likewise.
302 [C99-based standards] (INT_LEAST16_MAX): Likewise.
303 [C99-based standards] (INT_LEAST32_MIN): Likewise.
304 [C99-based standards] (INT_LEAST32_MAX): Likewise.
305 [C99-based standards] (INT_LEAST64_MIN): Likewise.
306 [C99-based standards] (INT_LEAST64_MAX): Likewise.
307 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
308 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
309 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
310 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
311 [C99-based standards] (INT_FAST8_MIN): Likewise.
312 [C99-based standards] (INT_FAST8_MAX): Likewise.
313 [C99-based standards] (INT_FAST16_MIN): Likewise.
314 [C99-based standards] (INT_FAST16_MAX): Likewise.
315 [C99-based standards] (INT_FAST32_MIN): Likewise.
316 [C99-based standards] (INT_FAST32_MAX): Likewise.
317 [C99-based standards] (INT_FAST64_MIN): Likewise.
318 [C99-based standards] (INT_FAST64_MAX): Likewise.
319 [C99-based standards] (UINT_FAST8_MAX): Likewise.
320 [C99-based standards] (UINT_FAST16_MAX): Likewise.
321 [C99-based standards] (UINT_FAST32_MAX): Likewise.
322 [C99-based standards] (UINT_FAST64_MAX): Likewise.
323 [C99-based standards] (INTPTR_MIN): Likewise.
324 [C99-based standards] (INTPTR_MAX): Likewise.
325 [C99-based standards] (UINTPTR_MAX): Likewise.
326 [C99-based standards] (INTMAX_MIN): Likewise.
327 [C99-based standards] (INTMAX_MAX): Likewise.
328 [C99-based standards] (UINTMAX_MAX): Likewise.
329 [C99-based standards] (PTRDIFF_MIN): Likewise.
330 [C99-based standards] (PTRDIFF_MAX): Likewise.
331 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
332 [C99-based standards] (SIZE_MAX): Likewise.
333 [C99-based standards] (WCHAR_MAX): Likewise.
334 [C99-based standards] (WINT_MAX): Likewise.
335 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
337 [C99-based standards] (WCHAR_MIN): Likewise.
338 [C99-based standards] (WINT_MIN): Likewise.
339 [C99-based standards] (*_t): Allow.
340 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
341 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
342 Include math.h-data and complex.h-data. Remove all expectations
343 of math.h and complex.h contents.
344 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
346 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
347 (struct tm): Expect tag.
348 [C99-based-standards] (wcstof): Expect function.
349 [C99-based-standards] (wcstold): Likewise.
350 [C99-based-standards] (wcstoll): Likewise.
351 [C99-based-standards] (wcstoull): Likewise.
352 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
353 macro-int-constant. Specify type.
354 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
356 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
358 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
360 [ISO C standards]: Do not allow headers.
361 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
362 wcs[abcdefghijklmnopqrstuvwxyz]*.
363 [ISO C standards] (*_t): Do not allow.
364 * conform/data/wctype.h-data [C99-based standards] (iswblank):
366 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
367 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
369 [ISO C standards]: Do not allow headers.
370 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
371 is[abcdefghijklmnopqrstuvwxyz]*.
372 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
373 to[abcdefghijklmnopqrstuvwxyz]*.
374 [ISO C standards] (*_t): Do not allow.
375 * conform/data/stdalign.h-data: New file.
376 * conform/data/stdbool.h-data: Likewise.
377 * conform/data/stdnoreturn.h-data: Likewise.
379 2012-11-07 Andreas Jaeger <aj@suse.de>
382 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
383 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
384 guards are changed. Only define if not yet defined, #undef back
385 after including linux/sysctl.h if defined here.
387 2012-11-07 Roland McGrath <roland@hack.frob.com>
390 * manual/filesys.texi (Directory Entries): Typo fix.
391 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
393 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
395 * elf/elf.h (EM_AARCH64): New macro.
396 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
397 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
398 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
399 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
400 (R_AARCH64_TLSDESC): Likewise.
401 (NT_ARM_TLS): Likewise.
402 (NT_ARM_HW_BREAK): Likewise.
403 (NT_ARM_HW_WATCH): Likewise.
405 2012-11-07 Joseph Myers <joseph@codesourcery.com>
408 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
409 (__ieee754_powl): Saturate nonzero exponents with absolute value
410 below 0x1p-79 to +/- 0x1p-79.
411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
412 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
413 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
414 nonzero exponents with absolute value below 0x1p-32 to +/-
416 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
417 (__ieee754_powl): Saturate nonzero exponents with absolute value
418 below 0x1p-79 to +/- 0x1p-79.
419 * math/libm-test.inc (pow_test): Add more tests.
421 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
423 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
424 _dl_s390_cap_flags with kernel. Increase string length.
425 (_dl_s390_platforms): Add z196 and zEC12.
427 2012-11-07 Joseph Myers <joseph@codesourcery.com>
429 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
430 Change XOPEN21K to XOPEN2K.
432 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
434 * string/memmove.c: Use memcpy when possible.
436 2012-11-06 Andreas Jaeger <aj@suse.de>
438 * po/eo.po: Update from translation team.
440 2012-11-06 Joseph Myers <joseph@codesourcery.com>
443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
444 exponent and small x and y exponents, scale x or y up. Increase
445 by 2 the exponent used in scaling up.
446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
448 * math/libm-test.inc (fma_test): Add more tests.
449 (fma_test_towardzero): Likewise.
450 (fma_test_downward): Likewise.
451 (fma_test_upward): Likewise.
453 2012-11-05 Joseph Myers <joseph@codesourcery.com>
456 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
460 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
461 namespace for names of struct fields.
462 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
464 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
465 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
467 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
470 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
472 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
474 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
478 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
481 2012-11-04 Joseph Myers <joseph@codesourcery.com>
484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
485 definitely overflow as x * y not x * y + z.
486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
488 * math/libm-test.inc (fma_test): Add more tests.
489 (fma_test_towardzero): Likewise.
490 (fma_test_downward): Likewise.
491 (fma_test_upward): Likewise.
493 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
497 * include/stub-tag.h: Remove file.
498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
500 * manual/maint.texi (Porting): Don't reference it.
501 * Makerules ($(objpfx)stubs): Likewise.
502 * dirent/closedir.c: Don't include <stub-tag.h>.
503 * dirent/dirfd.c: Likewise.
504 * dirent/fdopendir.c: Likewise.
505 * dirent/getdents.c: Likewise.
506 * dirent/getdents64.c: Likewise.
507 * dirent/opendir.c: Likewise.
508 * dirent/readdir.c: Likewise.
509 * dirent/readdir64.c: Likewise.
510 * dirent/readdir64_r.c: Likewise.
511 * dirent/readdir_r.c: Likewise.
512 * dirent/rewinddir.c: Likewise.
513 * dirent/seekdir.c: Likewise.
514 * dirent/telldir.c: Likewise.
515 * gmon/profil.c: Likewise.
516 * grp/setgroups.c: Likewise.
517 * inet/if_index.c: Likewise.
518 * io/access.c: Likewise.
519 * io/chdir.c: Likewise.
520 * io/chmod.c: Likewise.
521 * io/chown.c: Likewise.
522 * io/close.c: Likewise.
523 * io/dup.c: Likewise.
524 * io/dup2.c: Likewise.
525 * io/dup3.c: Likewise.
526 * io/euidaccess.c: Likewise.
527 * io/faccessat.c: Likewise.
528 * io/fchdir.c: Likewise.
529 * io/fchmod.c: Likewise.
530 * io/fchmodat.c: Likewise.
531 * io/fchown.c: Likewise.
532 * io/fchownat.c: Likewise.
533 * io/fcntl.c: Likewise.
534 * io/flock.c: Likewise.
535 * io/fstatfs.c: Likewise.
536 * io/fstatfs64.c: Likewise.
537 * io/fstatvfs.c: Likewise.
538 * io/fstatvfs64.c: Likewise.
539 * io/futimens.c: Likewise.
540 * io/fxstat.c: Likewise.
541 * io/fxstat64.c: Likewise.
542 * io/fxstatat.c: Likewise.
543 * io/fxstatat64.c: Likewise.
544 * io/getcwd.c: Likewise.
545 * io/isatty.c: Likewise.
546 * io/lchmod.c: Likewise.
547 * io/lchown.c: Likewise.
548 * io/link.c: Likewise.
549 * io/linkat.c: Likewise.
550 * io/lseek.c: Likewise.
551 * io/lseek64.c: Likewise.
552 * io/lxstat64.c: Likewise.
553 * io/mkdir.c: Likewise.
554 * io/mkdirat.c: Likewise.
555 * io/mkfifo.c: Likewise.
556 * io/mkfifoat.c: Likewise.
557 * io/open.c: Likewise.
558 * io/open64.c: Likewise.
559 * io/openat.c: Likewise.
560 * io/openat64.c: Likewise.
561 * io/pipe.c: Likewise.
562 * io/pipe2.c: Likewise.
563 * io/poll.c: Likewise.
564 * io/posix_fadvise.c: Likewise.
565 * io/posix_fadvise64.c: Likewise.
566 * io/posix_fallocate.c: Likewise.
567 * io/posix_fallocate64.c: Likewise.
568 * io/read.c: Likewise.
569 * io/readlink.c: Likewise.
570 * io/readlinkat.c: Likewise.
571 * io/rmdir.c: Likewise.
572 * io/sendfile.c: Likewise.
573 * io/sendfile64.c: Likewise.
574 * io/statfs.c: Likewise.
575 * io/statfs64.c: Likewise.
576 * io/statvfs.c: Likewise.
577 * io/statvfs64.c: Likewise.
578 * io/symlink.c: Likewise.
579 * io/symlinkat.c: Likewise.
580 * io/ttyname.c: Likewise.
581 * io/ttyname_r.c: Likewise.
582 * io/umask.c: Likewise.
583 * io/unlink.c: Likewise.
584 * io/unlinkat.c: Likewise.
585 * io/utime.c: Likewise.
586 * io/utimensat.c: Likewise.
587 * io/write.c: Likewise.
588 * io/xmknod.c: Likewise.
589 * io/xmknodat.c: Likewise.
590 * io/xstat.c: Likewise.
591 * io/xstat64.c: Likewise.
592 * login/getpt.c: Likewise.
593 * login/grantpt.c: Likewise.
594 * login/unlockpt.c: Likewise.
595 * math/e_acoshl.c: Likewise.
596 * math/e_acosl.c: Likewise.
597 * math/e_asinl.c: Likewise.
598 * math/e_atan2l.c: Likewise.
599 * math/e_atanhl.c: Likewise.
600 * math/e_coshl.c: Likewise.
601 * math/e_expl.c: Likewise.
602 * math/e_fmodl.c: Likewise.
603 * math/e_gammal_r.c: Likewise.
604 * math/e_hypotl.c: Likewise.
605 * math/e_j0l.c: Likewise.
606 * math/e_j1l.c: Likewise.
607 * math/e_jnl.c: Likewise.
608 * math/e_lgammal_r.c: Likewise.
609 * math/e_log10l.c: Likewise.
610 * math/e_log2l.c: Likewise.
611 * math/e_logl.c: Likewise.
612 * math/e_powl.c: Likewise.
613 * math/e_rem_pio2l.c: Likewise.
614 * math/e_sinhl.c: Likewise.
615 * math/e_sqrtl.c: Likewise.
616 * math/fclrexcpt.c: Likewise.
617 * math/fedisblxcpt.c: Likewise.
618 * math/feenablxcpt.c: Likewise.
619 * math/fegetenv.c: Likewise.
620 * math/fegetexcept.c: Likewise.
621 * math/fegetround.c: Likewise.
622 * math/feholdexcpt.c: Likewise.
623 * math/fesetenv.c: Likewise.
624 * math/fesetround.c: Likewise.
625 * math/feupdateenv.c: Likewise.
626 * math/fgetexcptflg.c: Likewise.
627 * math/fraiseexcpt.c: Likewise.
628 * math/fsetexcptflg.c: Likewise.
629 * math/ftestexcept.c: Likewise.
630 * math/k_cosl.c: Likewise.
631 * math/k_rem_pio2l.c: Likewise.
632 * math/k_sinl.c: Likewise.
633 * math/k_tanl.c: Likewise.
634 * math/s_asinhl.c: Likewise.
635 * math/s_atanl.c: Likewise.
636 * math/s_cbrtl.c: Likewise.
637 * math/s_erfl.c: Likewise.
638 * math/s_expm1l.c: Likewise.
639 * math/s_log1pl.c: Likewise.
640 * math/s_tanhl.c: Likewise.
641 * misc/acct.c: Likewise.
642 * misc/brk.c: Likewise.
643 * misc/chflags.c: Likewise.
644 * misc/chroot.c: Likewise.
645 * misc/fchflags.c: Likewise.
646 * misc/fgetxattr.c: Likewise.
647 * misc/flistxattr.c: Likewise.
648 * misc/fremovexattr.c: Likewise.
649 * misc/fsetxattr.c: Likewise.
650 * misc/fsync.c: Likewise.
651 * misc/ftruncate.c: Likewise.
652 * misc/futimes.c: Likewise.
653 * misc/futimesat.c: Likewise.
654 * misc/getdomain.c: Likewise.
655 * misc/getdtsz.c: Likewise.
656 * misc/gethostid.c: Likewise.
657 * misc/gethostname.c: Likewise.
658 * misc/getloadavg.c: Likewise.
659 * misc/getpagesize.c: Likewise.
660 * misc/getsysstats.c: Likewise.
661 * misc/getxattr.c: Likewise.
662 * misc/gtty.c: Likewise.
663 * misc/ioctl.c: Likewise.
664 * misc/lgetxattr.c: Likewise.
665 * misc/listxattr.c: Likewise.
666 * misc/llistxattr.c: Likewise.
667 * misc/lremovexattr.c: Likewise.
668 * misc/lsetxattr.c: Likewise.
669 * misc/lutimes.c: Likewise.
670 * misc/madvise.c: Likewise.
671 * misc/mincore.c: Likewise.
672 * misc/mlock.c: Likewise.
673 * misc/mlockall.c: Likewise.
674 * misc/mmap.c: Likewise.
675 * misc/mprotect.c: Likewise.
676 * misc/msync.c: Likewise.
677 * misc/munlock.c: Likewise.
678 * misc/munlockall.c: Likewise.
679 * misc/munmap.c: Likewise.
680 * misc/preadv.c: Likewise.
681 * misc/preadv64.c: Likewise.
682 * misc/ptrace.c: Likewise.
683 * misc/pwritev.c: Likewise.
684 * misc/pwritev64.c: Likewise.
685 * misc/readv.c: Likewise.
686 * misc/reboot.c: Likewise.
687 * misc/remap_file_pages.c: Likewise.
688 * misc/removexattr.c: Likewise.
689 * misc/revoke.c: Likewise.
690 * misc/select.c: Likewise.
691 * misc/setdomain.c: Likewise.
692 * misc/setegid.c: Likewise.
693 * misc/seteuid.c: Likewise.
694 * misc/sethostid.c: Likewise.
695 * misc/sethostname.c: Likewise.
696 * misc/setregid.c: Likewise.
697 * misc/setreuid.c: Likewise.
698 * misc/setxattr.c: Likewise.
699 * misc/sstk.c: Likewise.
700 * misc/stty.c: Likewise.
701 * misc/swapoff.c: Likewise.
702 * misc/swapon.c: Likewise.
703 * misc/sync.c: Likewise.
704 * misc/syncfs.c: Likewise.
705 * misc/syscall.c: Likewise.
706 * misc/truncate.c: Likewise.
707 * misc/ualarm.c: Likewise.
708 * misc/usleep.c: Likewise.
709 * misc/ustat.c: Likewise.
710 * misc/utimes.c: Likewise.
711 * misc/vhangup.c: Likewise.
712 * misc/writev.c: Likewise.
713 * posix/_exit.c: Likewise.
714 * posix/alarm.c: Likewise.
715 * posix/execve.c: Likewise.
716 * posix/fexecve.c: Likewise.
717 * posix/fork.c: Likewise.
718 * posix/fpathconf.c: Likewise.
719 * posix/getaddrinfo.c: Likewise.
720 * posix/getegid.c: Likewise.
721 * posix/geteuid.c: Likewise.
722 * posix/getgid.c: Likewise.
723 * posix/getgroups.c: Likewise.
724 * posix/getlogin.c: Likewise.
725 * posix/getlogin_r.c: Likewise.
726 * posix/getpgid.c: Likewise.
727 * posix/getpid.c: Likewise.
728 * posix/getppid.c: Likewise.
729 * posix/getresgid.c: Likewise.
730 * posix/getresuid.c: Likewise.
731 * posix/getsid.c: Likewise.
732 * posix/getuid.c: Likewise.
733 * posix/glob64.c: Likewise.
734 * posix/nanosleep.c: Likewise.
735 * posix/pathconf.c: Likewise.
736 * posix/pause.c: Likewise.
737 * posix/posix_madvise.c: Likewise.
738 * posix/pread.c: Likewise.
739 * posix/pread64.c: Likewise.
740 * posix/pwrite.c: Likewise.
741 * posix/pwrite64.c: Likewise.
742 * posix/sched_getaffinity.c: Likewise.
743 * posix/sched_getp.c: Likewise.
744 * posix/sched_gets.c: Likewise.
745 * posix/sched_primax.c: Likewise.
746 * posix/sched_primin.c: Likewise.
747 * posix/sched_rr_gi.c: Likewise.
748 * posix/sched_setaffinity.c: Likewise.
749 * posix/sched_setp.c: Likewise.
750 * posix/sched_sets.c: Likewise.
751 * posix/sched_yield.c: Likewise.
752 * posix/setgid.c: Likewise.
753 * posix/setlogin.c: Likewise.
754 * posix/setpgid.c: Likewise.
755 * posix/setresgid.c: Likewise.
756 * posix/setresuid.c: Likewise.
757 * posix/setsid.c: Likewise.
758 * posix/setuid.c: Likewise.
759 * posix/sleep.c: Likewise.
760 * posix/spawni.c: Likewise.
761 * posix/sysconf.c: Likewise.
762 * posix/times.c: Likewise.
763 * posix/wait.c: Likewise.
764 * posix/wait3.c: Likewise.
765 * posix/wait4.c: Likewise.
766 * posix/waitpid.c: Likewise.
767 * resolv/gai_sigqueue.c: Likewise.
768 * resource/getpriority.c: Likewise.
769 * resource/getrlimit.c: Likewise.
770 * resource/getrusage.c: Likewise.
771 * resource/nice.c: Likewise.
772 * resource/setpriority.c: Likewise.
773 * resource/setrlimit.c: Likewise.
774 * resource/ulimit.c: Likewise.
775 * rt/aio_cancel.c: Likewise.
776 * rt/aio_fsync.c: Likewise.
777 * rt/aio_read.c: Likewise.
778 * rt/aio_sigqueue.c: Likewise.
779 * rt/aio_suspend.c: Likewise.
780 * rt/aio_write.c: Likewise.
781 * rt/clock_getres.c: Likewise.
782 * rt/clock_gettime.c: Likewise.
783 * rt/clock_nanosleep.c: Likewise.
784 * rt/clock_settime.c: Likewise.
785 * rt/lio_listio.c: Likewise.
786 * rt/mq_close.c: Likewise.
787 * rt/mq_getattr.c: Likewise.
788 * rt/mq_notify.c: Likewise.
789 * rt/mq_open.c: Likewise.
790 * rt/mq_receive.c: Likewise.
791 * rt/mq_send.c: Likewise.
792 * rt/mq_setattr.c: Likewise.
793 * rt/mq_timedreceive.c: Likewise.
794 * rt/mq_timedsend.c: Likewise.
795 * rt/mq_unlink.c: Likewise.
796 * rt/shm_open.c: Likewise.
797 * rt/shm_unlink.c: Likewise.
798 * rt/timer_create.c: Likewise.
799 * rt/timer_delete.c: Likewise.
800 * rt/timer_getoverr.c: Likewise.
801 * rt/timer_gettime.c: Likewise.
802 * rt/timer_settime.c: Likewise.
803 * setjmp/__longjmp.c: Likewise.
804 * setjmp/setjmp.c: Likewise.
805 * signal/kill.c: Likewise.
806 * signal/killpg.c: Likewise.
807 * signal/raise.c: Likewise.
808 * signal/sigaction.c: Likewise.
809 * signal/sigaltstack.c: Likewise.
810 * signal/sigblock.c: Likewise.
811 * signal/sigignore.c: Likewise.
812 * signal/sigintr.c: Likewise.
813 * signal/signal.c: Likewise.
814 * signal/sigpause.c: Likewise.
815 * signal/sigpending.c: Likewise.
816 * signal/sigqueue.c: Likewise.
817 * signal/sigreturn.c: Likewise.
818 * signal/sigset.c: Likewise.
819 * signal/sigsetmask.c: Likewise.
820 * signal/sigstack.c: Likewise.
821 * signal/sigsuspend.c: Likewise.
822 * signal/sigtimedwait.c: Likewise.
823 * signal/sigvec.c: Likewise.
824 * signal/sigwait.c: Likewise.
825 * signal/sigwaitinfo.c: Likewise.
826 * signal/sysv_signal.c: Likewise.
827 * socket/accept.c: Likewise.
828 * socket/accept4.c: Likewise.
829 * socket/bind.c: Likewise.
830 * socket/connect.c: Likewise.
831 * socket/getpeername.c: Likewise.
832 * socket/getsockname.c: Likewise.
833 * socket/getsockopt.c: Likewise.
834 * socket/isfdtype.c: Likewise.
835 * socket/listen.c: Likewise.
836 * socket/recv.c: Likewise.
837 * socket/recvfrom.c: Likewise.
838 * socket/recvmsg.c: Likewise.
839 * socket/send.c: Likewise.
840 * socket/sendmsg.c: Likewise.
841 * socket/sendto.c: Likewise.
842 * socket/setsockopt.c: Likewise.
843 * socket/shutdown.c: Likewise.
844 * socket/sockatmark.c: Likewise.
845 * socket/socket.c: Likewise.
846 * socket/socketpair.c: Likewise.
847 * stdio-common/ctermid.c: Likewise.
848 * stdio-common/cuserid.c: Likewise.
849 * stdio-common/remove.c: Likewise.
850 * stdio-common/rename.c: Likewise.
851 * stdio-common/renameat.c: Likewise.
852 * stdio-common/tempname.c: Likewise.
853 * stdlib/getcontext.c: Likewise.
854 * stdlib/makecontext.c: Likewise.
855 * stdlib/setcontext.c: Likewise.
856 * stdlib/swapcontext.c: Likewise.
857 * stdlib/system.c: Likewise.
858 * streams/fattach.c: Likewise.
859 * streams/fdetach.c: Likewise.
860 * streams/getmsg.c: Likewise.
861 * streams/getpmsg.c: Likewise.
862 * streams/putmsg.c: Likewise.
863 * streams/putpmsg.c: Likewise.
864 * sysdeps/unix/bsd/getpt.c: Likewise.
865 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
866 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
867 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
870 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
871 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
872 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
873 * sysvipc/msgctl.c: Likewise.
874 * sysvipc/msgget.c: Likewise.
875 * sysvipc/msgrcv.c: Likewise.
876 * sysvipc/msgsnd.c: Likewise.
877 * sysvipc/semctl.c: Likewise.
878 * sysvipc/semget.c: Likewise.
879 * sysvipc/semop.c: Likewise.
880 * sysvipc/semtimedop.c: Likewise.
881 * sysvipc/shmat.c: Likewise.
882 * sysvipc/shmctl.c: Likewise.
883 * sysvipc/shmdt.c: Likewise.
884 * sysvipc/shmget.c: Likewise.
885 * termios/tcdrain.c: Likewise.
886 * termios/tcflow.c: Likewise.
887 * termios/tcflush.c: Likewise.
888 * termios/tcgetattr.c: Likewise.
889 * termios/tcgetpgrp.c: Likewise.
890 * termios/tcsendbrk.c: Likewise.
891 * termios/tcsetattr.c: Likewise.
892 * termios/tcsetpgrp.c: Likewise.
893 * time/adjtime.c: Likewise.
894 * time/clock.c: Likewise.
895 * time/getitimer.c: Likewise.
896 * time/gettimeofday.c: Likewise.
897 * time/setitimer.c: Likewise.
898 * time/settimeofday.c: Likewise.
899 * time/stime.c: Likewise.
900 * time/time.c: Likewise.
902 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
904 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
907 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
909 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
911 2012-11-03 Joseph Myers <joseph@codesourcery.com>
914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
915 FE_TONEAREST before applying Dekker multiplication and Knuth
916 addition. Clear inexact exceptions and check for exact zero
918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
919 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
921 * math/libm-test.inc (fma_test): Add more tests.
922 (fma_test_towardzero): Likewise.
923 (fma_test_downward): Likewise.
924 (fma_test_upward): Likewise.
925 * sysdeps/generic/math_private.h (default_libc_fesetround): New
927 (libc_fesetround): New macro.
928 (libc_fesetroundf): Likewise.
929 (libc_fesetroundl): Likewise.
930 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
932 (libc_fesetround_387): Likewise.
933 (libc_fesetroundf): New macro.
934 (libc_fesetround): Likewise.
935 (libc_fesetroundl): Likewise.
936 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
938 (libc_fesetroundf): New macro.
939 (libc_fesetround): Likewise.
940 (libc_fesetroundl): Likewise.
941 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
942 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
943 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
945 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
946 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
948 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
949 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
951 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
955 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
956 integer constant usable in #if and use that to give value to enum
958 (FE_DIVBYZERO): Likewise.
959 (FE_UNDERFLOW): Likewise.
960 (FE_OVERFLOW): Likewise.
961 (FE_INVALID): Likewise.
962 (FE_INVALID_SNAN): Likewise.
963 (FE_INVALID_ISI): Likewise.
964 (FE_INVALID_IDI): Likewise.
965 (FE_INVALID_ZDZ): Likewise.
966 (FE_INVALID_IMZ): Likewise.
967 (FE_INVALID_COMPARE): Likewise.
968 (FE_INVALID_SOFTWARE): Likewise.
969 (FE_INVALID_SQRT): Likewise.
970 (FE_INVALID_INTEGER_CONVERSION): Likewise.
971 (FE_TONEAREST): Likewise.
972 (FE_TOWARDZERO): Likewise.
973 (FE_UPWARD): Likewise.
974 (FE_DOWNWARD): Likewise.
975 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
976 (FE_DIVBYZERO): Likewise.
977 (FE_OVERFLOW): Likewise.
978 (FE_UNDERFLOW): Likewise.
979 (FE_INEXACT): Likewise.
980 (FE_TONEAREST): Likewise.
981 (FE_DOWNWARD): Likewise.
982 (FE_UPWARD): Likewise.
983 (FE_TOWARDZERO): Likewise.
984 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
985 (FE_UNDERFLOW): Likewise.
986 (FE_OVERFLOW): Likewise.
987 (FE_DIVBYZERO): Likewise.
988 (FE_INVALID): Likewise.
989 (FE_TONEAREST): Likewise.
990 (FE_TOWARDZERO): Likewise.
991 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
992 (FE_OVERFLOW): Likewise.
993 (FE_UNDERFLOW): Likewise.
994 (FE_DIVBYZERO): Likewise.
995 (FE_INEXACT): Likewise.
996 (FE_TONEAREST): Likewise.
997 (FE_TOWARDZERO): Likewise.
998 (FE_UPWARD): Likewise.
999 (FE_DOWNWARD): Likewise.
1000 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1001 (FE_DIVBYZERO): Likewise.
1002 (FE_OVERFLOW): Likewise.
1003 (FE_UNDERFLOW): Likewise.
1004 (FE_INEXACT): Likewise.
1005 (FE_TONEAREST): Likewise.
1006 (FE_DOWNWARD): Likewise.
1007 (FE_UPWARD): Likewise.
1008 (FE_TOWARDZERO): Likewise.
1010 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1012 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1014 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1016 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1017 commands. Quote $PWD.
1018 (blacklist_exports): Don't use remove_newlines. Replace "declare
1020 (remove_newlines): Remove.
1022 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1024 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1025 * stdlib/stdlib.h (atof): Moved to ...
1026 * include/bits/stdlib-float.h: Here. New file.
1027 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1028 * stdlib/bits/stdlib-float.h: New file.
1029 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1034 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1036 * conform/conformtest.pl (@headers): Add fenv.h.
1037 * conform/data/fenv.h-data: New file.
1038 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1039 include of <math/fenv.h>.
1041 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1042 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1043 && !UNIX98]. Enables tests for XOPEN2K8.
1044 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1045 POSIX2008]: Likewise.
1047 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1048 (struct rusage): Do not expect type or its members.
1051 * math/math.h (FP_NAN): Define macro to integer constant usable in
1052 #if and use that to give value to enum constant.
1053 (FP_INFINITE): Likewise.
1054 (FP_ZERO): Likewise.
1055 (FP_SUBNORMAL): Likewise.
1056 (FP_NORMAL): Likewise.
1058 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1060 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1061 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1064 2012-11-02 Roland McGrath <roland@hack.frob.com>
1066 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1067 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1068 autoconf-time if not.
1069 * configure.in: Remove AC_PREREQ.
1071 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1073 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1074 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1075 of the internal implementation.
1077 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1079 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1080 except include of <misc/sys/syslog.h>.
1082 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1085 function returns with a NULL context exit with zero.
1087 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1089 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1091 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1093 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1094 (run_program_cmd): This.
1095 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1096 (tst_langinfo): New variable. Use it.
1098 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1100 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1101 floating point opcodes.
1103 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1105 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1108 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1110 * sysdeps/mach/hurd/powerpc: Remove directory.
1111 * sysdeps/mach/powerpc: Likewise.
1113 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1115 * scripts/check-local-headers.sh: Ignore c++ headers.
1117 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1119 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1120 __libc_cleanup_region_start argument.
1122 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1127 x * y using scaling, not as x * y + z.
1128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1129 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1130 * math/libm-test.inc (fma_test): Add more tests.
1131 (fma_test_towardzero): Likewise.
1132 (fma_test_downward): Likewise.
1133 (fma_test_upward): Likewise.
1135 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1137 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1139 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1141 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1144 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1146 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1148 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1155 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1158 Fix the order of the list for glibc 2.17.
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1162 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1166 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1170 for low part of x being zero before using __atanl (y).
1171 * math/libm-test.inc (atan2_test): Add another test.
1173 * manual/install.texi (Configuring and compiling): Document
1174 general use of test-wrapper and test-wrapper-env.
1175 * INSTALL: Regenerated.
1177 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1178 (__fma): Do not extract and scale down low bits on after-rounding
1179 systems when result rounded to normal precision would have normal
1181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1182 (__fmal): Do not extract and scale down low bits on after-rounding
1183 systems when result rounded to normal precision would have normal
1185 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1186 (__fmal): Do not extract and scale down low bits on after-rounding
1187 systems when result rounded to normal precision would have normal
1189 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1191 (fma_test): Add more tests.
1192 (fma_test_towardzero): Likewise.
1193 (fma_test_downward): Likewise.
1194 (fma_test_upward): Likewise.
1196 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1198 * sysdeps/i386/tininess.h: Renamed to ...
1199 * sysdeps/x86/tininess.h: This.
1200 * sysdeps/x86_64/tininess.h: Removed.
1202 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1204 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1205 input. Use $(build-program-cmd).
1206 ($(objpfx)tst-array1-static.out): Likewise.
1207 ($(objpfx)tst-array2.out): Likewise.
1208 ($(objpfx)tst-array3.out): Likewise.
1209 ($(objpfx)tst-array4.out): Likewise.
1210 ($(objpfx)tst-array5.out): Likewise.
1211 ($(objpfx)tst-array5-static.out): Likewise.
1213 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1215 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1218 * nss/nsswitch.h (nss_interface_function): Provide new
1219 macro for use with NSS functions.
1220 * grp/initgroups.c: Use new macro.
1221 * nss/getXXbyYY.c: Likewise.
1222 * nss/getXXbyYY_r.c: Likewise.
1223 * nss/getXXent.c: Likewise.
1224 * nss/getXXent_r.c: Likewise.
1225 * sysdeps/posix/getaddrinfo.c: Likewise.
1227 2012-10-30 Andreas Jaeger <aj@suse.de>
1229 * po/ru.po: Update Russion translation from translation project.
1231 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1236 result and shift together with sticky bit instead of replicating
1237 round-to-nearest rounding.
1238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1240 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1241 missing underflow exceptions.
1242 (fma_test_towardzero): Add more tests.
1243 (fma_test_downward): Likewise.
1244 (fma_test_upward): Likewise.
1247 * sysdeps/generic/tininess.h: New file.
1248 * sysdeps/i386/tininess.h: Likewise.
1249 * sysdeps/sh/tininess.h: Likewise.
1250 * sysdeps/x86_64/tininess.h: Likewise.
1251 * stdlib/tst-strtod-underflow.c: Likewise.
1252 * stdlib/tst-tininess.c: Likewise.
1253 * stdlib/strtod_l.c: Include <tininess.h>.
1254 (round_and_return): Do not set errno for exact underflow cases.
1255 Force an underflow exception when setting errno for underflow.
1256 Determine underflow based on rounding to normal precision if
1257 TININESS_AFTER_ROUNDING.
1258 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1259 ERANGE for exact underflow cases.
1260 * stdlib/Makefile (tests): Add tst-tininess and
1261 tst-strtod-underflow.
1262 ($(objpfx)tst-tininess): Use $(link-libm).
1263 ($(objpfx)tst-strtod-underflow): Likewise.
1265 2012-10-30 Andreas Jaeger <aj@suse.de>
1268 * elf/Makefile (tests): Remove conditional for have-initfini-array
1269 since this is now always required and the variable does not exist
1271 (tests-static): Likewise.
1272 (modules-names): Likewise.
1274 * po/eo.po: Add Esperanto translation from translation project.
1276 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1277 merged with constructor/destructor.
1278 (init_array): Likewise.
1279 * elf/tst-array2dep.c (fini_array): Likewise.
1280 (init_array): Likewise.
1282 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1284 * manual/message.texi: Delete @cartouche tags.
1286 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1288 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1290 * sysdeps/mach/hurd/fsync.c: Likewise.
1292 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1293 [_POSIX_REALTIME_SIGNALS]: Change condition to
1294 [_POSIX_REALTIME_SIGNALS > 0].
1296 2012-10-27 Andreas Jaeger <aj@suse.de>
1298 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1299 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1301 [__WORDSIZE != 64]: Likewise.
1303 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1305 * iconvdata/tst-table.sh: Remove ${SHELL}.
1306 * iconvdata/tst-tables.sh: Likewise.
1308 2012-10-25 David S. Miller <davem@davemloft.net>
1310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1311 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1317 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1318 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1321 2012-10-25 Roland McGrath <roland@hack.frob.com>
1323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1324 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1327 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1328 Jim Blandy <jimb@codesourcery.com>
1330 * scripts/cross-test-ssh.sh: New file.
1331 * manual/install.texi (Configuring and compiling): Document use of
1333 * INSTALL: Regenerated.
1335 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1337 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1340 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1342 * Makeconfig (run-program-prefix): Fix comment.
1344 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1345 Jim Blandy <jimb@codesourcery.com>
1347 * Makeconfig (test-wrapper): New variable,
1348 (test-wrapper-env): Likewise.
1349 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1350 (run-built-tests): Define to yes.
1351 (run-program-prefix): Use $(test-wrapper).
1352 (built-program-cmd): Likewise.
1353 * Rules (make-test-out): Use $(test-wrapper-env) and
1354 $(host-built-program-cmd).
1355 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1356 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1358 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1359 $(test-wrapper-env) to tst-rtld-load-self.sh.
1360 ($(objpfx)order2.out): Use $(test-wrapper).
1361 ($(objpfx)tst-initorder.out): Likewise.
1362 ($(objpfx)tst-initorder2.out): Likewise.
1363 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1364 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1365 (test_wrapper_env): New variable. Use it to run ld.so.
1366 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1367 Use it to run ld.so.
1368 (test_wrapper_env): Likewise.
1369 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1370 $(test-wrapper) to run-iconv-test.sh.
1371 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1372 (ICONV): Use $test_wrapper.
1373 * posix/Makefile ($(objpfx)globtest.out): Pass
1374 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1375 globtest.sh, not $(run-program-prefix).
1376 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1377 (test_wrapper): Likewise.
1378 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1379 set together with run_via_rtld_prefix.
1380 (run_program_prefix): Define in terms of test_wrapper and
1381 run_via_rtld_prefix.
1383 2012-10-24 Roland McGrath <roland@hack.frob.com>
1385 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1386 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1390 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1391 Declare __clock_getres, __clock_gettime, __clock_settime,
1392 __clock_nanosleep, and __clock_getcpuclockid.
1393 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1394 Remove librt_hidden_def (clock_gettime).
1395 * sysdeps/unix/clock_gettime.c: Likewise.
1396 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1398 * rt/clock_getres.c: Define __clock_getres as an alias.
1399 * sysdeps/posix/clock_getres.c: Likewise.
1400 * rt/clock_settime.c: Define __clock_settime as an alias.
1401 * sysdeps/unix/clock_settime.c: Likewise.
1402 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1403 * sysdeps/unix/clock_nanosleep.c: Likewise.
1404 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1405 * rt/clock-compat.c: New file.
1406 * rt/Makefile (librt-routines): Add clock-compat and move
1407 $(clock-routines) to ...
1408 (routines): ... here, new variable.
1409 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1410 Don't add get_clockfreq here.
1411 * rt/Versions (libc: GLIBC_2.17): New version set.
1412 Add clock_* symbols here.
1413 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1415 (GLIBC_2.17): Add clock_* symbols.
1416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1427 * NEWS: Mention the move.
1429 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1430 Use __open, __read, __close rather than their public counterparts.
1431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1432 (__get_clockfreq_via_cpuinfo): Likewise.
1433 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1434 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1436 * config.h.in (HAVE_IFUNC): New #undef.
1437 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1439 * configure: Regenerated.
1441 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1443 * configure.in: Move READELF check to start of file.
1444 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1445 libc_cv_asm_gnu_indirect_function in the process.
1446 * configure: Regenerated.
1448 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1450 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1451 send the output to /dev/null.
1452 (libc_cv_cc_with_libunwind): Likewise.
1453 (libc_cv_as_noexecstack): Likewise.
1454 * configure: Regenerate.
1456 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1458 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1460 * posix/globtest.sh (TMPDIR): Do not set.
1461 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1462 (testout): Likewise.
1464 2012-10-24 Andreas Jaeger <aj@suse.de>
1466 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1467 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1468 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1469 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1470 posix_fadvise64, posix_fallocate64.
1472 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1473 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1474 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1476 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1478 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1481 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1482 <bits/fcntl-linux.h>.
1483 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1486 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1487 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1488 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1489 [__WORDSIZE != 64]: Likewise.
1491 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1493 * Makeconfig (run-built-tests): New variable.
1494 * Rules [$(cross-compiling) = yes]: Change condition to
1495 [$(run-built-tests) = no].
1496 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1497 to [$(run-built-tests) = yes].
1498 * elf/Makefile [$(cross-compiling) = no]: Likewise
1499 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1500 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1501 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1502 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1503 * io/Makefile [$(cross-compiling) = no]: Likewise.
1504 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1505 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1506 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1507 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1508 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1509 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1510 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1511 * string/Makefile [$(cross-compiling) = no]: Likewise.
1513 * posix/Makefile ($(objpfx)globtest.out): Pass
1514 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1515 $(rtld-installed-name).
1516 * posix/globtest.sh (elf_objpfx): Remove variable.
1517 (rtld_installed_name): Likewise.
1518 (library_path): Likewise.
1519 (run_program_prefix): New variable. Use for running globtest
1522 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1523 Joseph Myers <joseph@codesourcery.com>
1525 * Makeconfig (host-built-program-cmd): New variable.
1526 * elf/Makefile (tst-stackguard1-ARGS): Use
1527 $(host-built-program-cmd).
1528 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1529 (tst-spawn-ARGS): Likewise.
1530 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1532 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1533 Jim Blandy <jimb@codesourcery.com>
1535 * Makeconfig (run-via-rtld-prefix): New variable.
1536 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1537 (built-program-cmd): Likewise.
1539 2012-10-22 Andreas Jaeger <aj@suse.de>
1541 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1542 __O_RSYNC if it exists, otherwise to O_SYNC.
1544 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1545 Joseph Myers <joseph@codesourcery.com>
1547 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1549 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1551 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1554 2012-10-22 Andreas Jaeger <aj@suse.de>
1556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1564 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1571 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1572 Joseph Myers <joseph@codesourcery.com>
1574 * config.make.in (NM): New variable.
1576 2012-10-21 Andreas Jaeger <aj@suse.de>
1578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1579 definitions and declarations that are provided by
1580 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1582 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1585 * elf/Makefile (tests-static): Add tst-leaks1-static.
1586 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1587 ($(objpfx)tst-leaks1-static): New rule.
1588 ($(objpfx)tst-leaks1-static-mem): Likewise.
1589 (tst-leaks1-static-ENV): New macro.
1590 * elf/dl-open.c (dl_open_worker): Check the main application
1591 only if SHARED is defined.
1592 * elf/tst-leaks1-static.c: New file.
1594 2012-10-20 Andreas Jaeger <aj@suse.de>
1596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1597 generic values for Linux.
1598 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1599 and declarations that are provided by <bits/fcntl-linux.h> and
1600 include <bits/fcntl-linux.h>.
1601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1604 2012-10-20 Roland McGrath <roland@hack.frob.com>
1606 * io/fcntl.h: Move include of <bits/types.h> to the top and
1607 include it unconditionally.
1609 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1611 * wcsmbs/Makefile (tests-ifunc): New variable.
1612 (tests): Add $(tests-ifunc).
1613 * wcsmbs/test-wcschr-ifunc.c: New file.
1614 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1615 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1616 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1617 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1618 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1620 * string/Makefile (tests-ifunc): New variable.
1621 (tests): Add $(tests-ifunc).
1622 * string/test-memccpy.c (TEST_NAME): New macro.
1623 * string/test-memchr.c (TEST_NAME): Likewise.
1624 * string/test-memcmp.c (TEST_NAME): Likewise.
1625 * string/test-memcpy.c (TEST_NAME): Likewise.
1626 * string/test-memmem.c (TEST_NAME): Likewise.
1627 * string/test-memmove.c (TEST_NAME): Likewise.
1628 * string/test-memset.c (TEST_NAME): Likewise.
1629 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1630 * string/test-stpcpy.c (TEST_NAME): Likewise.
1631 * string/test-stpncpy.c (TEST_NAME): Likewise.
1632 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1633 * string/test-strcasestr.c (TEST_NAME): Likewise.
1634 * string/test-strcat.c (TEST_NAME): Likewise.
1635 * string/test-strchr.c (TEST_NAME): Likewise.
1636 * string/test-strcmp.c(TEST_NAME): Likewise.
1637 * string/test-strcpy.c (TEST_NAME): Likewise.
1638 * string/test-strcspn.c (TEST_NAME): Likewise.
1639 * string/test-strlen.c (TEST_NAME): Likewise.
1640 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1641 * string/test-strncmp.c (TEST_NAME): Likewise.
1642 * string/test-strncpy.c (TEST_NAME): Likewise.
1643 * string/test-strnlen.c (TEST_NAME): Likewise.
1644 * string/test-strpbrk.c (TEST_NAME): Likewise.
1645 * string/test-strrchr.c (TEST_NAME): Likewise.
1646 * string/test-strspn.c (TEST_NAME): Likewise.
1647 * string/test-strstr.c (TEST_NAME): Likewise.
1648 * string/test-bcopy-ifunc.c: New file.
1649 * string/test-bzero-ifunc.c: Likewise.
1650 * string/test-memccpy-ifunc.c: Likewise.
1651 * string/test-memchr-ifunc.c: Likewise.
1652 * string/test-memcmp-ifunc.c: Likewise.
1653 * string/test-memcpy-ifunc.c: Likewise.
1654 * string/test-memmem-ifunc.c: Likewise.
1655 * string/test-memmove-ifunc.c: Likewise.
1656 * string/test-mempcpy-ifunc.c: Likewise.
1657 * string/test-memset-ifunc.c: Likewise.
1658 * string/test-rawmemchr-ifunc.c: Likewise.
1659 * string/test-stpcpy-ifunc.c: Likewise.
1660 * string/test-stpncpy-ifunc.c: Likewise.
1661 * string/test-strcasecmp-ifunc.c: Likewise.
1662 * string/test-strcasestr-ifunc.c: Likewise.
1663 * string/test-strcat-ifunc.c: Likewise.
1664 * string/test-strchr-ifunc.c: Likewise.
1665 * string/test-strchrnul-ifunc.c: Likewise.
1666 * string/test-strcmp-ifunc.c: Likewise.
1667 * string/test-strcpy-ifunc.c: Likewise.
1668 * string/test-strcspn-ifunc.c: Likewise.
1669 * string/test-strlen-ifunc.c: Likewise.
1670 * string/test-strncasecmp-ifunc.c: Likewise.
1671 * string/test-strncat-ifunc.c: Likewise.
1672 * string/test-strncmp-ifunc.c: Likewise.
1673 * string/test-strncpy-ifunc.c: Likewise.
1674 * string/test-strnlen-ifunc.c: Likewise.
1675 * string/test-strpbrk-ifunc.c: Likewise.
1676 * string/test-strrchr-ifunc.c: Likewise.
1677 * string/test-strspn-ifunc.c: Likewise.
1678 * string/test-strstr-ifunc.c: Likewise.
1680 * debug/Makefile (tests-ifunc): New variable.
1681 (tests): Add $(tests-ifunc).
1682 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1683 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1684 * debug/test-stpcpy_chk-ifunc.c: New file.
1685 * debug/test-strcpy_chk-ifunc.c: Likewise.
1687 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1690 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1691 header is not read in.
1693 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1695 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1696 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1697 directly. Pass built executable to script as
1698 $(built-program-cmd).
1699 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1700 $testprogram without using LD_LIBRARY_PATH and $ldso.
1702 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1703 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1704 $(rtld-installed-name).
1705 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1706 (rtld_installed_name): Likewise.
1707 (library_path): Likewise.
1708 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1709 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1710 $(run-program-prefix) to tst-tables.sh.
1711 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1712 it to run tst-table-from and tst-table-to.
1713 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1714 Pass it to tst-table.sh.
1715 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1716 $(run-program-prefix) to tst-gettext.sh.
1717 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1719 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1721 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1723 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1724 to run tst-gettext2.
1725 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1726 to run tst-translit.
1727 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1728 $(run-program-prefix) to tst-mtrace.sh.
1729 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1731 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1732 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1733 $(rtld-installed-name).
1734 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1735 (rtld_installed_name): Likewise.
1736 (run_program_prefix): New variable. Use it to run wordexp-test.
1738 * Makeconfig (ARCH): Remove all definitions.
1739 (machine): Likewise.
1740 [ARCH]: Remove conditional code.
1741 [!objdir]: Give error.
1742 [!objdir] (objpfx): Remove.
1743 [!objdir] (common-objpfx): Likewise.
1744 [!objdir] (common-objdir): Likewise.
1745 * configure.in (config_makefile): Remove. Hardcode Makefile in
1746 AC_CONFIG_FILES call.
1747 * configure: Regenerated.
1750 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1752 (testout): Likewise.
1754 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1755 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1756 $(rtld-installed-name).
1757 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1758 (rtld_installed_name): Likwise.
1759 (runit): Remove function.
1760 (run_getconf): New variable, Use it for running getconf binary.
1762 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1765 * string/test-memmem.c (check_result): New function.
1766 (do_one_test): Use it.
1767 (check1): New function.
1768 (test_main): Use it.
1770 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1772 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1774 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1776 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1777 (_G_LSEEK64): Likewise.
1778 (_G_MMAP64): Likewise.
1779 (_G_FSTAT64): Likewise.
1780 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1781 (_G_LSEEK64): Likewise.
1782 (_G_MMAP64): Likewise.
1783 (_G_FSTAT64): Likewise.
1784 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1785 unconditional. Call __mmap64 directly.
1786 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1787 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1789 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1790 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1792 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1793 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1795 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1796 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1798 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1799 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1801 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1802 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1803 __fxstat64 directly.
1804 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1805 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1807 (freopen64) [!_G_OPEN64]: Remove conditional code.
1808 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1810 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1811 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1813 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1814 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1816 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1817 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1819 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1820 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1822 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1823 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1825 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1826 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1828 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1830 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1833 * manual/memory.texi (Malloc Tunable Parameters): Add note
1834 about free list pointers overwriting some perturb bytes.
1835 Wording suggested by Roland McGrath.
1837 2012-10-17 Joseph Myers <joseph@codesourcery.com>
1839 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1840 (lgamma_test): Likewise.
1841 (tgamma_test): Likewise.
1843 2012-10-16 Florian Weimer <fweimer@redhat.com>
1846 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1847 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1849 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1851 * NEWS: Mention BZ #14716.
1852 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1853 when removing AVAILABLE1_USES_J macro.
1855 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1857 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1858 (__bswap_64): __uint64_t for unsigned 64-bit int.
1860 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1862 * include/string.h (memmem): Declare libc hidden alias.
1863 * string/memmem.c (memmem): Define libc hidden alias.
1864 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1865 __read, __close instead of open, read, close.
1867 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1870 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1872 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1873 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1874 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1876 (__rawmemchr_sse2): Likewise.
1877 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1878 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1879 (__strchr_sse2): Likewise.
1880 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1881 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1882 (__strcasecmp_sse2): Likewise.
1883 (__strncasecmp_sse2): Likewise.
1884 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1885 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1886 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1887 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1888 (__strrchr_sse2): Likewise.
1889 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1891 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1892 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1893 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1894 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1895 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1896 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1899 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1900 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1901 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1902 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1903 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1904 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1905 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1906 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1907 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1908 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1909 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1910 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1911 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1912 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1913 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1914 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1915 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1916 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1917 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1918 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1919 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1920 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1922 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1924 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1925 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1926 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1927 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1929 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1931 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1932 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1933 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1934 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1936 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1941 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1942 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1943 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1944 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1945 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1946 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1947 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1948 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1949 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1950 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1951 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1952 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1953 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1954 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1955 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1957 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1958 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1959 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1960 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1961 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1962 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1963 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1964 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1965 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1966 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1967 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1968 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1969 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1971 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1973 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1974 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1975 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1976 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1978 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1979 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1980 * include/ifunc-impl-list.h: New file.
1981 * misc/ifunc-impl-list.c: Likewise.
1982 * misc/Makefile (routines): Add ifunc-impl-list.
1983 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1984 * string/test-string.h: Include <ifunc-impl-list.h>.
1985 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1986 impl_array): New variables.
1987 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1989 (test_init): Call __libc_ifunc_impl_list to initialize
1990 func_list if TEST_IFUNC and TEST_NAME are defined.
1992 * string/Makefile (strop-tests): Add bcopy and bzero.
1993 * string/test-bcopy.c: New file.
1994 * string/test-bzero.c: Likewise.
1995 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1997 * string/test-memset.c: Support bzero test if TEST_BZERO is
1999 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2001 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2003 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2006 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2008 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2009 * configure: Regenerated.
2011 * Makeconfig (+link-static-before-libc): Don't include
2012 $(link-static-libc).
2014 * libio/libio.h (_IO_pos_t): Remove.
2016 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2018 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2021 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2023 * crypt/crypt-entry.c: Include fips-private.h.
2024 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2025 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2026 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2027 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2029 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2031 * crypt/crypt-private.h: Include stdbool.h.
2032 (_ufc_setup_salt_r): Return bool.
2033 * crypt/crypt-entry.c: Include errno.h.
2034 (__crypt_r): Return NULL with EINVAL for bad salt.
2035 * crypt/crypt_util.c (bad_for_salt): New.
2036 (_ufc_setup_salt_r): Check that salt is long enough and within
2037 the specified alphabet.
2038 * crypt/badsalttest.c: New file.
2039 * crypt/Makefile (tests): Add it.
2040 ($(objpfx)badsalttest): New.
2042 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2044 * NEWS: Add entry for BZ #14602.
2046 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2048 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2050 * math/libm-test.inc: Update comment listing what functions and
2052 (isgreater_test): New function.
2053 (isgreaterequal_test): Likewise.
2054 (isless_test): Likewise.
2055 (islessequal_test): Likewise.
2056 (islessgreater_test): Likewise.
2057 (isunordered_test): Likewise.
2058 (main): Call the new functions.
2060 2012-10-09 Roland McGrath <roland@hack.frob.com>
2062 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2063 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2064 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2065 * sysdeps/i386/configure: Regenerated.
2066 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2067 * sysdeps/mach/configure: Regenerated.
2068 * sysdeps/mach/hurd/configure: Regenerated.
2069 * sysdeps/powerpc/configure: Regenerated.
2070 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2071 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2072 * sysdeps/s390/s390-32/configure: Regenerated.
2073 * sysdeps/s390/s390-64/configure: Regenerated.
2074 * sysdeps/sh/configure: Regenerated.
2075 * sysdeps/sparc/configure: Regenerated.
2076 * sysdeps/unix/sysv/linux/configure: Regenerated.
2077 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2078 * sysdeps/x86_64/configure: Regenerated.
2080 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2081 defined. Don't check if MAP is NULL.
2083 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2085 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2086 (_G_stat64): Likewise.
2087 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2088 (_G_stat64): Likewise.
2089 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2090 instead of struct _G_stat64.
2091 * libio/fileops.c (mmap_remap_check): Likewise.
2092 (decide_maybe_mmap): Likewise.
2093 (_IO_new_file_seekoff): Likewise.
2094 (_IO_file_stat): Likewise.
2095 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2097 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2098 instead of struct _G_stat64.
2099 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2101 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2104 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2106 (CHECK_EOL): New macro.
2107 (two_way_short_needle): Check beginning of haystack for EOL. Use
2109 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2110 Replace with CHECK_EOL.
2111 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2112 Replace with CHECK_EOL.
2114 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2116 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2118 * math/libm-test.inc: Update comment listing what functions and
2120 (finite_test): New function.
2121 (isinf_test): Likewise.
2122 (isnan_test): Likewise.
2123 (fpclassify_test): Test subnormal input.
2124 (isfinite_test): Likewise.
2125 (isnormal_test): Likewise.
2126 (main): Call the new functions.
2128 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2131 * Makerules (%.dynsym): Force C locale when running
2132 $(OBJDUMP) --dynamic-syms.
2134 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2136 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2139 2012-10-06 David S. Miller <davem@davemloft.net>
2141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2142 upper 32-bits of the length value in %o2 since we use branch-on-register
2143 tests which consider the entire 64-bit register.
2145 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2147 * string/test-strstr.c (check2): Add a test for page boundary.
2149 2012-10-05 David S. Miller <davem@davemloft.net>
2151 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2152 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2154 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2156 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2157 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2158 and bzero when HWCAP_SPARC_CRYPTO is present.
2160 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2163 * string/test-strstr.c (check2): New function.
2164 (test_main): Call check2.
2166 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2168 * string/bug-strcasestr1.c (do_test): Moved to ...
2169 * string/test-strcasestr.c (check1): Here. New function.
2170 (do_one_test): Break out result checking code into ...
2171 (check_result): This. New function.
2172 (do_one_test): Call check_result.
2173 (test_main): Call check1.
2174 * string/bug-strchr1.c (do_test): Moved to ...
2175 * string/test-strchr.c (check1): Here. New function.
2176 (do_one_test): Break out result checking code into ...
2177 (check_result): This. New function.
2178 (do_one_test): Call check_result.
2179 (test_main): Call check1.
2180 * string/bug-strstr1.c (main): Moved to ...
2181 * string/test-strchr.c (check1): Here. New function.
2182 (do_one_test): Break out result checking code into ...
2183 (check_result): This. New function.
2184 (do_one_test): Call check_result.
2185 (test_main): Call check1.
2186 * string/bug-strcasestr1.c: Removed.
2187 * string/bug-strchr1.c: Likewise.
2188 * string/bug-strstr1.c: Likewise.
2190 * elf/Makefile (dl-routines): Add hwcaps.
2191 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2192 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2193 (_dl_important_hwcaps): Moved to ...
2194 * elf/dl-hwcaps.c: Here. New file.
2195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2198 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2199 if IS_IN_rtld isn't defined.
2201 * elf/dl-support.c (_dl_sysinfo_map): New.
2202 Include "get-dynamic-info.h" and "setup-vdso.h".
2203 (_dl_non_dynamic_init): Call setup_vdso.
2204 * elf/dynamic-link.h: Don't include <assert.h>.
2205 (elf_get_dynamic_info): Moved to ...
2206 * elf/get-dynamic-info.h: Here. New file.
2207 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2208 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2209 * elf/setup-vdso.h: Here. New file.
2210 * elf/rtld.c: Include "setup-vdso.h".
2211 (dl_main): Call setup_vdso.
2213 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2215 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2216 creal in comment listing functions tested. List finite, isinf,
2217 isnan, isless, islessequal, isgreater, isgreaterequal,
2218 islessgreater, isunordered, lgamma_r and pow10 as functions and
2219 macros not tested. Mention which functions not tested are aliases
2220 for other functions. Fix typo. Note that signs of NaNs are not
2223 * scripts/config.guess: Update from config.git.
2224 * scripts/config.sub: Likewise.
2226 2012-10-04 Roland McGrath <roland@hack.frob.com>
2228 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2229 * misc/madvise.c (madvise): Renamed to __madvise.
2230 Make madvise a weak alias.
2231 * include/sys/mman.h: Declare __madvise.
2232 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2233 * sysdeps/unix/syscalls.list
2234 (madvise): Make __madvise the strong name, and madvise a weak alias.
2235 * sysdeps/unix/sysv/linux/syscalls.list
2236 (madvise, mmap): Remove redundant entries.
2237 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2238 * malloc/malloc.c (mtrim): Likewise.
2239 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2241 2012-10-03 Roland McGrath <roland@hack.frob.com>
2243 * sysdeps/mach/hurd/dl-cache.c: File removed.
2244 * config.h.in (USE_LDCONFIG): New #undef.
2245 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2246 * configure: Regenerated.
2247 * elf/Makefile (dl-routines): Add dl-cache only under
2248 [$(use-ldconfig) = yes].
2249 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2250 cache on [USE_LDCONFIG].
2251 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2253 * elf/rtld.c (dl_main): Likewise.
2255 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2257 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2258 _SC_LEVEL4_CACHE_LINESIZE.
2260 2012-10-03 Roland McGrath <roland@hack.frob.com>
2262 * sysdeps/unix/bsd/confstr.h: File removed.
2264 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2266 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2269 2012-10-02 Roland McGrath <roland@hack.frob.com>
2271 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2272 Make 'mapoff' field ElfW(Off) rather than off_t.
2274 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2276 * nscd/Makefile: Remove nscd-cflags and all its users.
2277 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2278 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2281 * malloc.c (malloc_printerr): Clarify error message.
2283 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2287 Set bit_FMA_Usable if FMA is supported.
2288 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2290 (bit_FMA4_Usable): Updated.
2291 (index_FMA_Usable): New macro.
2292 (CPUID_FMA): Likewise
2293 (HAS_FMA): Defined with bit_FMA_Usable.
2295 2012-10-01 Roland McGrath <roland@hack.frob.com>
2297 * bits/types.h (__swblk_t): Type removed.
2298 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2299 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2301 (__SWBLK_T_TYPE): Likewise.
2302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2303 (__SWBLK_T_TYPE): Likewise.
2304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2305 (__SWBLK_T_TYPE): Likewise.
2306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2307 (__SWBLK_T_TYPE): Likewise.
2309 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2310 Honza Horak <hhorak@redhat.com>
2312 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2313 (xdr_mapname): Use YPMAXMAP as maxsize.
2314 (xdr_peername): Use YPMAXPEER as maxsize.
2315 (xdr_keydat): Use YPAXRECORD as maxsize.
2316 (xdr_valdat): Use YPMAXRECORD as maxsize.
2318 2012-10-01 Roland McGrath <roland@hack.frob.com>
2320 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2322 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2323 * csu/init-first.c: ... here.
2324 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2325 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2326 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2327 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2328 * sysdeps/i386/init-first.c: File removed.
2329 * sysdeps/sh/init-first.c: File removed.
2331 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2335 if x * y might underflow to zero and z is zero.
2336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2338 * math/libm-test.inc (min_subnorm_value): New variable.
2339 (fma_test): Add more tests.
2340 (fma_test_towardzero): Likewise.
2341 (fma_test_downward): Likewise
2342 (fma_test_upward): Likewise.
2343 (initialize): Set min_subnorm_value.
2345 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2350 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2351 mode for addition resulting in exact zero.
2352 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2357 * math/libm-test.inc (fma_test): Add more tests.
2358 (fma_test_towardzero): New function.
2359 (fma_test_downward): Likewise.
2360 (fma_test_upward): Likewise.
2361 (main): Call the new functions.
2363 2012-09-28 David S. Miller <davem@davemloft.net>
2365 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2367 2012-09-28 Roland McGrath <roland@hack.frob.com>
2369 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2372 * sysdeps/gnu/_G_config.h: Moved to ...
2373 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2374 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2375 * sysdeps/generic/_G_config.h: ... here.
2377 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2379 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2381 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2382 Conditionalize target on [libnss_test1.so-version].
2384 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2386 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2387 (elfobjdir): Move out of conditionals.
2389 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2390 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2391 (__nss_lookup_function): Conditionalize label remove_from_tree on
2392 [!DO_STATIC_NSS || SHARED], matching its only use.
2394 2012-09-28 David S. Miller <davem@davemloft.net>
2396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2397 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2399 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2403 when HWCAP_SPARC_CRYPTO is present.
2405 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2407 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2409 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2412 * stdio-common/vfprintf.c (process_string_arg): Revert
2415 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2417 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2419 * stdio-common/tst-sprintf.c: Include <locale.h>
2420 (main): Test sprintf's handling of incomplete multibyte
2423 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2425 * elf/dl-runtime.c (VERSYMIDX): Removed.
2426 * elf/dl-version.c (VERSYMIDX): Likewise.
2427 * elf/do-rel.h (VERSYMIDX): Likewise.
2429 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2430 * elf/rtld.c (VALIDX): Likewise.
2431 (ADDRIDX): Likewise.
2432 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2433 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2434 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2435 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2437 (ADDRIDX): Likewise.
2439 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2441 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2443 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2446 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2448 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2449 addresses are in the same scope as 192.0.2/24.
2450 * posix/gai.conf: Document new scope table defaults.
2452 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2455 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2456 for ftell. Compute offsets from write pointers instead.
2457 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2459 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2462 * libio/Makefile (tests): New test case tst-fseek.
2463 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2464 combination works in wide mode.
2465 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2466 state when the external buffer state changes.
2468 2012-09-27 David S. Miller <davem@davemloft.net>
2471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2472 pass reloc->r_addend in as the 'high' argument to
2473 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2477 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2479 * rt/tst-aio2.c: Include <pthread.h>.
2480 * rt/tst-aio3.c: Likewise.
2482 2012-09-27 Steve Ellcey <sellcey@mips.com>
2484 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2486 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2488 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2489 contents on [SHARED].
2491 2012-09-26 Marek Polacek <polacek@redhat.com>
2495 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2496 for C++ and GCC <4.3 as well as for non GCC compilers.
2498 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2502 2012-09-25 Roland McGrath <roland@hack.frob.com>
2504 * Makefile.in (all, install): Declare with .PHONY.
2505 Reported by Michael Hope <michael.hope@linaro.org>.
2507 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2509 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2510 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2512 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2514 (sydep_routines): Add the new and the internal functions.
2515 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2516 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2518 (GLIBC_2.17): Add the new function.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2520 (GLIBC_2.17): Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2522 (GLIBC_2.17): Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2524 (GLIBC_2.17): Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2527 2012-09-25 Alan Modra <amodra@gmail.com>
2529 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2530 Add release barrier before setting once_control to say
2531 initialisation is done. Add hints on lwarx. Use macro in
2533 (clear_once_control): Add release barrier.
2535 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2538 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2540 * math/s_clog10.c (__clog10): Likewise.
2541 * math/s_clog10f.c (__clog10f): Likewise.
2542 * math/s_clog10l.c (__clog10l): Likewise.
2543 * math/s_clogf.c (__clogf): Likewise.
2544 * math/s_clogl.c (__clogl): Likewise.
2545 * math/Makefile (libm-calls): Add x2y2m1.
2546 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2547 (__x2y2m1): Likewise.
2548 (__x2y2m1l): Likewise.
2549 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2550 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2551 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2552 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2553 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2554 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2555 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2556 * sysdeps/i386/fpu/libm-test-ulps: Update.
2557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2560 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2561 int as type of variable DEPTH.
2562 (glob): Use size_t instead of int as type of variables NEWCOUNT
2565 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2567 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2569 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2570 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2571 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2572 macros for using routine as __sincosf_ia32.
2573 Use macro for function declaration and weak_alias.
2574 * sysdeps/i386/fpu/libm-test-ulps: Update.
2576 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2579 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2581 * math/s_cexpf.c (__cexpf): Likewise.
2582 * math/s_csinf.c (__csinf): Likewise.
2583 * math/s_csinhf.c (__csinhf): Likewise.
2584 * math/s_ctanf.c (__ctanf): Likewise.
2585 * math/s_ctanhf.c (__ctanhf): Likewise.
2586 * math/s_ccosh.c (__ccoshf): Likewise.
2587 * math/s_cexp.c (__cexpl): Likewise.
2588 * math/s_csin.c (__csin): Likewise.
2589 * math/s_csinh.c (__csinh): Likewise.
2590 * math/s_ctan.c (__ctan): Likewise.
2591 * math/s_ctanh.c (ctanh): Likewise.
2592 * math/s_ccoshl.c (__ccoshl): Likewise.
2593 * math/s_cexpl.c (__cexpl): Likewise.
2594 * math/s_csinl.c (__csinl): Likewise.
2595 * math/s_csinhl.c (__csinhl): Likewise.
2596 * math/s_ctanl.c (__ctanl): Likewise.
2597 * math/s_ctanhl.c (__ctanhl): Likewise.
2599 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2601 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2602 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2603 (_IO_off_t): Define to __off_t, not _G_off_t.
2604 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2605 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2606 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2607 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2608 type of __dummy and __dummy2 fields.
2609 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2610 (_G_ssize_t): Likewise.
2611 (_G_off_t): Likewise.
2612 (_G_pid_t): Likewise.
2613 (_G_uid_t): Likewise.
2614 (_G_wchar_t): Likewise.
2615 (_G_wint_t): Likewise.
2616 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2617 (_G_ssize_t): Likewise.
2618 (_G_off_t): Likewise.
2619 (_G_pid_t): Likewise.
2620 (_G_uid_t): Likewise.
2621 (_G_wchar_t): Likewise.
2622 (_G_wint_t): Likewise.
2623 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2624 (_G_ssize_t): Likewise.
2625 (_G_off_t): Likewise.
2626 (_G_pid_t): Likewise.
2627 (_G_uid_t): Likewise.
2628 (_G_wchar_t): Likewise.
2629 (_G_wint_t): Likewise.
2631 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2633 * malloc/arena.c: Include malloc-sysdep.h.
2634 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2635 is sufficient to shrink the heap or an unmap is needed.
2636 * sysdeps/generic/malloc-sysdep.h: New file. Define
2637 new function check_may_shrink_heap.
2638 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2639 new function check_may_shrink_heap.
2641 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2643 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2646 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2648 * catgets/test-gencat.sh: Add "set -e".
2649 * elf/tst-pathopt.sh: Likewise.
2650 * grp/tst_fgetgrent.sh: Likewise.
2651 * iconvdata/run-iconv-test.sh: Likewise.
2652 * intl/tst-gettext.sh: Likewise.
2653 * intl/tst-gettext2.sh: Likewise.
2654 * intl/tst-gettext4.sh: Likewise.
2655 * intl/tst-gettext6.sh: Likewise.
2656 * intl/tst-translit.sh: Likewise.
2657 * io/ftwtest-sh: Likewise.
2658 * libio/test-freopen.sh: Likewise.
2659 * malloc/tst-mtrace.sh: Likewise.
2660 * posix/globtest.sh: Likewise.
2661 * posix/tst-getconf.sh: Likewise.
2662 * posix/wordexp-tst.sh: Likewise.
2663 * stdio-common/tst-printf.sh: Likewise.
2664 * stdio-common/tst-unbputc.sh: Likewise.
2665 * stdlib/tst-fmtmsg.sh: Likewise.
2666 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2667 * catgets/Makefile: Do not specify -e option when running
2668 testsuite shell scripts.
2669 * elf/Makefile: Likewise.
2670 * grp/Makefile: Likewise.
2671 * iconvdata/Makefile: Likewise.
2672 * intl/Makefile: Likewise.
2673 * io/Makefile: Likewise.
2674 * libio/Makefile: Likewise.
2675 * malloc/Makefile: Likewise.
2676 * posix/Makefile: Likewise.
2677 * stdio-common/Makefile: Likewise.
2678 * stdlib/Makefile: Likewise.
2679 * sysdeps/x86_64/Makefile: Likewise.
2681 * io/ftwtest-sh: Add copyright header.
2682 * posix/globtest.sh: Likewise.
2683 * posix/tst-getconf.sh: Likewise.
2684 * posix/wordexp-tst.sh: Likewise.
2685 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2687 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2690 * Makeconfig (+link): Defined as $(+link-static) if
2691 $(build-shared) isn't yes.
2692 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2694 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2696 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2699 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2700 new chunk size with MALLOC_ALIGN_MASK.
2702 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2705 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2707 (__printf_fphex): Determine rounding using get_rounding_mode and
2709 * stdio-common/tst-printf-round.c (struct hex_test): New
2711 (hex_tests): New variable.
2712 (test_hex_in_one_mode): New function.
2713 (do_test): Also run tests for hex float output.
2715 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2717 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2718 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2719 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2720 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2721 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2722 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2723 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2724 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2726 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2728 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2729 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2730 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2731 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2733 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2736 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2738 * elf/tst-rtld-load-self.sh: New test.
2739 * elf/Makefile: Run it.
2741 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2743 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2744 (tst-writev-ENV): Remove.
2745 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2747 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2749 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2751 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2753 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2755 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2757 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2758 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2759 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2762 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2765 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2766 * config.make.in (have-cpp-asm-debuginfo): Removed.
2767 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2768 * configure: Regenerated.
2770 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2773 * stdio-common/printf_fp.c: Include <stdbool.h> and
2775 (___printf_fp): Determine rounding using get_rounding_mode and
2777 * stdio-common/tst-printf-round.c: New file.
2778 * stdio-common/Makefile (tests): Add tst-printf-round.
2779 (link-libm): New variable.
2780 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2782 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2785 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2786 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2788 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2791 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2793 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2794 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2795 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2796 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2798 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2801 * include/rounding-mode.h: New file.
2802 * sysdeps/generic/get-rounding-mode.h: Likewise.
2803 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2804 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2805 (MAX_VALUE): New macro.
2806 (MIN_VALUE): Likewise.
2807 (overflow_value): New function.
2808 (underflow_value): Likewise.
2809 (round_and_return): Use overflow_value and underflow_value to
2810 determine return values in overflow and underflow cases. Use
2811 round_away to determine rounding depending on rounding mode.
2812 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2813 determine return values in overflow and underflow cases.
2814 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2815 (struct test_results): New structure.
2816 (struct test): Use struct test_results to store expected results
2817 for all rounding modes.
2818 (TEST): Include expected results for all rounding modes.
2819 (test_in_one_mode): New function.
2820 (do_test): Use test_in_one_mode to compute and check results.
2821 Check results for all rounding modes.
2822 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2825 2012-12-09 Allan McRae <allan@archlinux.org>
2827 * sysdeps/i386/fpu/libm-test-ulps: Update
2829 2012-09-11 Joseph Myers <joseph@codesourcery.com>
2831 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2832 (_G_int32_t): Likewise.
2833 (_G_uint16_t): Likewise.
2834 (_G_uint32_t): Likewise.
2835 (_G_HAVE_BOOL): Likewise.
2836 (_G_HAVE_ATEXIT): Likewise.
2837 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2838 (_G_HAVE_IO_FILE_OPEN): Likewise.
2839 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2840 (_G_int32_t): Likewise.
2841 (_G_uint16_t): Likewise.
2842 (_G_uint32_t): Likewise.
2843 (_G_HAVE_BOOL): Likewise.
2844 (_G_HAVE_ATEXIT): Likewise.
2845 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2846 (_G_HAVE_IO_FILE_OPEN): Likewise.
2847 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2848 (_G_int32_t): Likewise.
2849 (_G_uint16_t): Likewise.
2850 (_G_uint32_t): Likewise.
2851 (_G_HAVE_BOOL): Likewise.
2852 (_G_HAVE_ATEXIT): Likewise.
2853 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2854 (_G_HAVE_IO_FILE_OPEN): Likewise.
2856 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2858 * csu/libc-tls.c: Update copyright years.
2860 2012-09-10 Joseph Myers <joseph@codesourcery.com>
2862 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2863 [!_G_USING_THUNKS]: Remove conditional code.
2864 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2865 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2867 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2868 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2869 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2870 (_G_VTABLE_LABEL_PREFIX): Likewise.
2871 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2872 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2873 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2874 (_G_VTABLE_LABEL_PREFIX): Likewise.
2875 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2876 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2877 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2878 (_G_VTABLE_LABEL_PREFIX): Likewise.
2879 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2881 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2883 * libio/Makefile: Include ../Makeconfig before tests.
2884 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2885 only if $(build-shared) is yes.
2887 * iconv/gconv_db.c: Update copyright years.
2889 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2891 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2892 unwind info if defined PIC. Fix special cases description.
2893 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2895 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2897 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2899 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2901 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2903 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2906 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2907 (LDLIBS-tst-chk4): This.
2908 (LDFLAGS-tst-chk5): Renamed to ...
2909 (LDLIBS-tst-chk5): This.
2910 (LDFLAGS-tst-chk6): Renamed to ...
2911 (LDLIBS-tst-chk6): This.
2912 (LDFLAGS-tst-lfschk4): Renamed to ...
2913 (LDLIBS-tst-lfschk4): This.
2914 (LDFLAGS-tst-lfschk5): Renamed to ...
2915 (LDLIBS-tst-lfschk5): This.
2916 (LDFLAGS-tst-lfschk6): Renamed to ...
2917 (LDLIBS-tst-lfschk6): This.
2919 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2920 on $(common-objpfx)soversions.mk.
2922 2012-09-07 Joseph Myers <joseph@codesourcery.com>
2925 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2928 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2930 * malloc/arena.c (arena_get_retry): New function that gets
2931 another arena for the caller to try its request on.
2932 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2933 current arena cannot fulfill the request.
2934 (__libc_memalign): Likewise.
2935 (__libc_memalign): Likewise.
2936 (__libc_pvalloc): Likewise.
2937 (__libc_calloc): Likewise.
2939 2012-09-05 John Tobey <john.tobey@gmail.com>
2942 * manual/arith.texi (Operations on Complex): Fix description
2945 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2948 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2952 * manual/memory.texi (Memory): Make order of menu items match
2955 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2957 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2958 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2959 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2961 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2963 * csu/libc-tls.c (static_dtv): Renamed to ...
2964 (_dl_static_dtv): This. Make it global.
2965 (_dl_initial_dtv): Removed.
2966 (__libc_setup_tls): Updated.
2967 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2968 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2971 2012-09-06 Petr Machata <pmachata@redhat.com>
2973 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2974 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2975 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2976 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2978 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2981 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2982 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2985 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2988 * Makeconfig (link-static-before-libc): Replace $(+prector)
2990 (link-static-after-libc): Replace $(+postctor) with
2992 (link-bounded): Replace $(+prector)/$(+postctor) with
2993 $(+prectorT)/$(+postctorT).
2994 (+prectorT): New macro.
2995 (+postctorT): Likewise.
2997 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2999 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3000 (round_str): Handle values above the maximum for IBM long double
3002 * stdlib/tst-strtod-round.c (tests): Regenerated.
3004 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3006 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3008 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3009 zarch_nohighgprs around the zarch optimized routines.
3010 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3011 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3015 2012-09-05 David S. Miller <davem@davemloft.net>
3017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3019 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3020 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3021 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3022 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3025 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3027 * malloc/arena.c: Fold copyright years.
3028 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3030 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3032 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3034 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3036 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3038 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3040 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3041 change internal state upon failure.
3043 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3045 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3046 * malloc/memusage.c (mmap): Likewise.
3047 (mmap64, mremap): Likewise. Adjust name in comment.
3049 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3051 * libio/fileops.c: Fix typos in comments.
3052 * libio/oldfileops.c: Likewise.
3053 * libio/wfileops.c: Likewise.
3055 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3058 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3059 (tst-malloc-usable-ENV): Set environment for test case.
3060 * malloc/hooks.c (malloc_check_get_size): New function to get
3062 * malloc/malloc.c (musable): Use malloc_check_get_size.
3063 * malloc/tst-malloc-usable.c: New test case.
3065 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3067 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3069 2012-09-05 Allan McRae <allan@archlinux.org>
3072 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3073 determine header location.
3074 * configure: Regenerated.
3076 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3078 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3080 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3081 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3085 2012-09-04 David S. Miller <davem@davemloft.net>
3087 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3088 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3091 2012-09-04 Florian Weimer <fweimer@redhat.com>
3093 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3096 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3098 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3101 * libio/iogetdelim.c: Include <limits.h>.
3102 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3103 + len + 1 would overflow.
3105 2012-09-03 Andreas Jaeger <aj@suse.de>
3107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3108 * sysdeps/i386/fpu/libm-test-ulps: Update.
3110 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3112 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3113 Add s_sinf-sse2, s_conf-sse2.
3115 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3116 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3117 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3118 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3120 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3121 for using routine as __sinf_ia32.
3122 Use macro for function declaration and weak_alias.
3123 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3124 for using routine as __cosf_ia32.
3125 Use macro for function declaration and weak_alias.
3127 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3128 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3130 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3131 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3134 * math/libm-test.inc (cos_test): Add more test cases.
3135 (sin_test): Likewise.
3136 (sincos_test): Likewise.
3138 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3140 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3141 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3145 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3148 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3149 first element of the GOT.
3150 (elf_machine_load_address): Return the difference between
3151 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3153 2012-09-01 Allan McRae <allan@archlinux.org>
3156 * configure.in (AWK): Require gawk version 3.0 or later.
3157 * configure: Regenerated.
3159 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3161 * sysdeps/unix/sysv/linux/kernel-features.h
3162 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3163 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3164 [__NR_clock_getres]: Make code unconditional.
3165 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3166 (clock_getcpuclockid): Remove code left unreachable by removal of
3168 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3170 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3171 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3172 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3173 Make code unconditional.
3174 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3175 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3176 * sysdeps/unix/sysv/linux/clock_settime.c
3177 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3179 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3180 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3182 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3185 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3186 scripts/test-installation.pl.
3188 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3189 and $ld_so_version if it is set.
3191 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3194 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3195 failure if reading from procfs failed.
3196 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3198 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/unix/sysv/linux/kernel-features.h
3201 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3202 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3203 Remove conditional code.
3204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3205 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3206 Remove conditional code.
3207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3208 * sysdeps/unix/sysv/linux/i386/fxstat.c
3209 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3211 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3212 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3214 * sysdeps/unix/sysv/linux/i386/lxstat.c
3215 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3217 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3218 Remove conditional code.
3219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3220 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3221 Remove conditional code.
3222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3224 <kernel-features.h>.
3225 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3227 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3228 Remove conditional code.
3229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3230 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3233 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3236 * NEWS: Add fixed bug number.
3238 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3241 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3242 underflowing exponent in case of negative sign.
3243 * stdlib/tst-strtod-round-data: Add more tests.
3244 * stdlib/tst-strtod-round.c (tests): Regenerated.
3247 * stdlib/strtod_l.c (NDIG): Remove.
3248 (HEXNDIG): Likewise.
3249 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3250 smallest representable value.
3251 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3252 lie within an exact representation of 1/2 ulp of the result.
3253 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3255 (TENS_P9_IDX): Define unconditionally.
3256 (TENS_P9_SIZE): Likewise.
3257 (TENS_P10_IDX): Likewise.
3258 (TENS_P10_SIZE): Likewise.
3259 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3260 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3261 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3262 entries for 10^2^13 and 10^2^14.
3263 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3264 (TENS_P13_IDX): Define.
3265 (TENS_P13_SIZE): Likewise.
3266 (TENS_P14_IDX): Likewise.
3267 (TENS_P14_SIZE): Likewise.
3268 (_fpioconst_pow10): Change array size to
3269 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3271 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3272 1024]: Add entries for 10^2^13 and 10^2^14.
3273 [LAST_POW10 > _LAST_POW10]: Remove #error.
3274 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3275 (_fpioconst_pow10): Change array size to
3276 FPIOCONST_POW10_ARRAY_SIZE.
3277 * stdlib/gen-fpioconst.c: New file.
3278 * stdlib/gen-tst-strtod-round.c: Likewise.
3279 * stdlib/tst-strtod-round-data: Likewise.
3280 * stdlib/tst-strtod-round.c: Likewise.
3281 * stdlib/Makefile (tests): Add tst-strtod-round.
3284 * stdlib/strtod_l.c: Include <stdint.h>.
3285 (NDEBUG): Do not define.
3286 (round_and_return): Change EXPONENT parameter to type intmax_t.
3287 Rearrange calculations to avoid internal overflow possibilities.
3288 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3289 Rearrange calculations to avoid internal overflow possibilities.
3290 Assert that number fits inside MPNSIZE limbs.
3291 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3292 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3293 calculations and add assertions to avoid internal overflow
3294 possibilities. Add casts to avoid signed/unsigned operations.
3295 * stdlib/tst-strtod-overflow.c: New file.
3296 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3298 2012-08-25 Marek Polacek <polacek@redhat.com>
3300 * time/time.h: Fix some typos in comments.
3302 2012-08-23 Roland McGrath <roland@hack.frob.com>
3304 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3305 * posix/tst-rfc3484-2.c: Likewise.
3306 * posix/tst-rfc3484-3.c: Likewise.
3308 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3310 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3311 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3313 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3315 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3316 #include of fxstatat64.c.
3318 2012-08-22 Roland McGrath <roland@hack.frob.com>
3320 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3321 * shadow/getspent_r.c: Likewise.
3322 * shadow/getspnam.c: Likewise.
3323 * shadow/getspnam_r.c: Likewise.
3324 * gshadow/getsgent.c: Likewise.
3325 * gshadow/getsgent_r.c: Likewise.
3326 * gshadow/getsgnam.c: Likewise.
3327 * gshadow/getsgnam_r.c: Likewise.
3328 * inet/getnetbyad.c: Likewise.
3329 * inet/getnetbyad_r.c: Likewise.
3330 * inet/getnetbynm.c: Likewise.
3331 * inet/getnetbynm_r.c: Likewise.
3332 * inet/getnetent.c: Likewise.
3333 * inet/getnetent_r.c: Likewise.
3334 * inet/getproto.c: Likewise.
3335 * inet/getproto_r.c: Likewise.
3336 * inet/getprtent.c: Likewise.
3337 * inet/getprtent_r.c: Likewise.
3338 * inet/getprtname.c: Likewise.
3339 * inet/getprtname_r.c: Likewise.
3340 * inet/getrpcbyname.c: Likewise.
3341 * inet/getrpcbyname_r.c: Likewise.
3342 * inet/getrpcbynumber.c: Likewise.
3343 * inet/getrpcbynumber_r.c: Likewise.
3344 * inet/getrpcent.c: Likewise.
3345 * inet/getrpcent_r.c: Likewise.
3346 * inet/getaliasent.c: Likewise.
3347 * inet/getaliasent_r.c: Likewise.
3348 * inet/getaliasname.c: Likewise.
3349 * inet/getaliasname_r.c: Likewise.
3350 * nscd/getgrgid_r.c: Likewise.
3351 * nscd/getgrnam_r.c: Likewise.
3352 * nscd/gethstbyad_r.c: Likewise.
3353 * nscd/gethstbynm3_r.c: Likewise.
3354 * nscd/getpwnam_r.c: Likewise.
3355 * nscd/getpwuid_r.c: Likewise.
3356 * nscd/getsrvbynm_r.c: Likewise.
3357 * nscd/getsrvbypt_r.c: Likewise.
3358 * nscd/gai.c: Likewise.
3360 * configure.in (build_nscd): New substituted variable, set
3361 by --disable-build-nscd and defaults to $use_nscd.
3362 * configure: Regenerated.
3363 * config.make.in (build-nscd): New substituted variable.
3364 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3365 Change conditional to require [$(build-nscd) = yes] as well.
3366 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3369 * configure.in (use_nscd): New substituted variable, set by
3370 --disable-nscd. If enabled, define USE_NSCD.
3371 * configure: Regenerated.
3372 * config.h.in: Add USE_NSCD.
3373 * config.make.in (use-nscd): New substituted variable.
3374 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3375 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3376 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3377 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3378 (CFLAGS-getgrnam_r.c): Likewise.
3379 (CFLAGS-initgroups.c): Likewise.
3380 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3381 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3383 * inet/getnetgrent_r.c
3384 (nscd_setnetgrent): New function, broken out of ...
3385 (setnetgrent): ... here. Call it.
3386 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3387 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3388 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3389 * nscd/Makefile (routines, aux): Move definitions after include of
3390 Makeconfig. Conditionalize on [$(use-nscd) != no].
3391 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3392 Conditionalize on [USE_NSCD].
3393 (is_nscd, nscd_init_cb): Likewise.
3394 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3395 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3396 * nss/nss_db/db-init.c: Likewise.
3397 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3399 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3400 (make_request): Use it.
3401 (cache_valid_p): New function.
3402 (__check_pf): Use it.
3403 * NEWS: Add item for --disable-nscd.
3405 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3407 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3408 to support sed >= 4.2.1-20-ga9bf076.
3409 * configure: Regenerated.
3411 2012-08-22 Roland McGrath <roland@hack.frob.com>
3413 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3414 Conditionalize whole body on [IREL].
3416 2012-08-22 Jeff Law <law@redhat.com>
3419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3420 if the family is PF_UNSPEC.
3422 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3424 * Makerules (lib-version): Rename from V.
3425 (install-lib-nosubdir): Change V to lib-version.
3427 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3430 * powerpc32/power6/wcschr.c: New file.
3431 * powerpc32/power6/wcscpy.c: New file.
3432 * powerpc32/power6/wcsrchr.c: New file.
3433 * powerpc64/power6/wcschr.c: New file.
3434 * powerpc64/power6/wcscpy.c: New file.
3435 * powerpc64/power6/wcsrchr.c: New file.
3437 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3439 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3440 (two_way_short_needle): Use it.
3441 * string/strstr.c (AVAILABLE1_USES_J): Define.
3442 * string/strcasestr.c: Likewise.
3444 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3446 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3449 * NEWS: Add an entry.
3450 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3451 define their defaults.
3452 (two_way_short_needle): Detect end-of-string on-the-fly.
3453 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3454 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3455 * string/bug-strcasestr1.c: New test.
3456 * string/Makefile: Run it.
3458 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3461 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3462 the first character.
3464 2012-08-21 Roland McGrath <roland@hack.frob.com>
3466 * csu/elf-init.c (__libc_csu_irel): Function removed.
3467 * csu/libc-start.c (apply_irel): New function.
3468 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3470 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3472 * sysdeps/unix/sysv/linux/kernel-features.h
3473 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3474 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3475 <kernel-features.h>.
3476 [__NR_fadvise64_64]: Make code unconditional.
3477 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3478 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3479 !__NR_fadvise64_64)]: Likewise.
3480 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3481 !__NR_fadvise64_64))]: Likewise.
3482 [__NR_fadvise64]: Make code unconditional.
3483 [!__NR_fadvise64]: Remove conditional code.
3484 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3485 <kernel-features.h>.
3486 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3488 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3491 not include <kernel-features.h>.
3492 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3494 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3496 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3497 include <kernel-features.h>.
3498 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3500 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3503 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3506 slight instruction rearrangements per scrollpipe analysis.
3507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3509 2012-08-20 Roland McGrath <roland@hack.frob.com>
3511 * manual/syslog.texi (syslog; vsyslog, closelog):
3512 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3513 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3515 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3516 DSOCAPS to match condition on defining it.
3518 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/unix/sysv/linux/kernel-features.h
3521 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3523 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3524 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3526 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3527 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3529 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3530 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3532 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3533 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3535 * sysdeps/unix/sysv/linux/kernel-features.h
3536 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3537 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3539 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3540 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3541 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3542 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3543 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3544 Make code unconditional.
3545 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3546 (__mmap64) [!__NR_mmap2]: Likewise.
3547 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3548 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3549 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3551 [__NR_mmap2]: Make code unconditional.
3552 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3553 (__mmap64) [!__NR_mmap2]: Likewise.
3555 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3557 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3559 2012-08-18 Andreas Jaeger <aj@suse.de>
3561 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3563 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3565 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3566 * include/unistd.h (__have_sock_cloexec): Likewise.
3567 (__have_pipe2): Likewise.
3568 (__have_dup3): Likewise.
3570 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3573 * include/unistd.h (__have_pipe2): Change define into an extern int.
3574 (__have_dup3): Likewise.
3575 * socket/have_sock_cloexec.c: Include fcntl.h.
3576 (__have_pipe2): New variable.
3577 (__have_dup3): Likewise.
3579 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3581 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3583 2012-08-17 Marek Polacek <polacek@redhat.com>
3585 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3586 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3588 2012-08-17 Roland McGrath <roland@hack.frob.com>
3590 * configure.in: Add AC_SUBST for sysheaders.
3591 * configure: Regenerated.
3592 * config.make.in (sysheaders): New substituted variable.
3594 * sysdeps/unix/mkfifo.c: Moved ...
3595 * sysdeps/posix/mkfifo.c: ... here.
3596 * sysdeps/unix/mkfifoat.c: Moved ...
3597 * sysdeps/posix/mkfifoat.c: ... here.
3599 * sysdeps/unix/utime.c: Moved ...
3600 * sysdeps/posix/utime.c: ... here.
3602 * sysdeps/unix/time.c: Moved ...
3603 * sysdeps/posix/time.c: ... here.
3604 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3605 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3607 * sysdeps/unix/nice.c: Moved ...
3608 * sysdeps/posix/nice.c: ... here.
3610 * sysdeps/unix/alarm.c: Moved ...
3611 * sysdeps/posix/alarm.c: ... here.
3613 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3615 2012-08-17 Jeff Law <law@redhat.com>
3617 * intl/Makefile (codeset_mo): New variable.
3618 ($(codeset_mo)): New target.
3619 (tst-codeset.out): Depend on that. Remove explicit rule.
3620 (tst-gettext3.out, tst-gettext5.out): Likewise.
3621 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3622 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3623 * intl/tst-codeset.sh: Remove.
3624 * intl/tst-gettext3.sh: Likewise.
3625 * intl/tst-gettext5.sh: Likewise.
3627 2012-08-17 Roland McGrath <roland@hack.frob.com>
3629 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3630 * sysdeps/unix/syscalls.list: ... here.
3632 * sysdeps/posix/getaddrinfo.c
3633 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3634 (gaiconf_init, gaiconf_reload): Use them.
3636 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3637 Define using time_t rather than struct timespec.
3639 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3640 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3642 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3644 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3645 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3648 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3649 __libc_cleanup_push argument.
3651 * bits/param.h: New file.
3652 * misc/sys/param.h: New file.
3653 * include/sys/param.h: New file.
3654 * misc/Makefile (headers): Add bits/param.h.
3655 * sysdeps/generic/sys/param.h: File removed.
3656 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3657 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3658 * sysdeps/mach/hurd/bits/param.h: New file.
3659 * sysdeps/mach/hurd/sys/param.h: File removed.
3661 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3664 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3666 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3667 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3670 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3671 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3672 rather than -D_IO_MTSAFE_IO conditionally.
3673 * stdio-common/Makefile (CPPFLAGS): Likewise.
3674 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3675 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3676 Use $(libio-mtsafe).
3677 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3679 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3680 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3681 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3682 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3683 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3684 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3685 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3686 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3687 (CFLAGS-fread_u_chk.c): Likewise.
3688 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3689 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3690 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3691 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3692 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3693 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3694 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3695 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3696 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3698 * libio/Makefile: Test [$(libc-reentrant) = yes]
3699 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3702 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3703 * sysdeps/pthread/configure: File removed.
3704 * sysdeps/pthread/Makeconfig: New file.
3705 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3706 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3708 2012-08-16 Gary Benson <gbenson@redhat.com>
3710 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3711 unmapping the first object in a namespace.
3713 2012-08-16 Roland McGrath <roland@hack.frob.com>
3715 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3716 (__internal_setnetgrent): ... this. Add internal_function to
3717 definition. Add libc_hidden_def.
3718 (setnetgrent): Update caller.
3719 (internal_endnetgrent): Renamed to ...
3720 (__internal_endnetgrent): ... this. Add internal_function to
3721 definition. Add libc_hidden_def.
3722 (endnetgrent): Update caller.
3723 (internal_getnetgrent_r): Renamed to ...
3724 (__internal_getnetgrent_r): ... this. Add internal_function to
3725 definition. Add libc_hidden_def.
3726 (__getnetgrent_r): Update caller.
3727 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3729 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3731 * stdlib/longlong.h: Update from GCC.
3733 2012-08-16 Roland McGrath <roland@hack.frob.com>
3735 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3736 on _QL, which is set by umul_ppmm but never used.
3737 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3738 variables, which are set by GMP macros but never used.
3739 * stdio-common/_itowa.c (_itowa): Likewise.
3740 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3741 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3743 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3745 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3746 struct La_sh_regs is not constant.
3747 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3748 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3749 and struct La_sparc64_regs are not constant.
3751 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3753 * sysdeps/unix/sysv/linux/kernel-features.h
3754 (__ASSUME_POSIX_TIMERS): Remove.
3755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3757 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3758 Make code unconditional.
3759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3760 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3761 Make code unconditional.
3762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3763 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3764 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3765 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3766 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3767 Make code unconditional.
3768 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3769 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3770 (__libc_missing_posix_timers): Remove.
3772 2012-08-15 Roland McGrath <roland@hack.frob.com>
3774 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3775 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3777 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3779 * elf/dl-sym.c: Include <stdlib.h>.
3781 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3782 constants, which avoids warnings in 32-bit builds.
3784 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3785 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3787 * misc/lseek.c: File moved to ...
3788 * io/lseek.c: ... here.
3790 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3792 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3793 shifting LEN more than 31 bits at once.
3795 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3798 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3799 segmentation fault for a case of two empty input strings.
3800 * string/test-strncasecmp.c (check1): Renamed to...
3802 (bz14195): Add new testcase for two empty input strings and N > 0.
3803 (test_main): Call new testcase, adapt for renamed function.
3805 2012-08-15 Andreas Jaeger <aj@suse.de>
3808 * crypt/md5test2.c: New test, based on test supplied by Serge
3809 Belyshev <belyshev@depni.sinp.msu.ru>.
3810 * crypt/Makefile (xtests): Add md5test-giant..
3811 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3813 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3816 * crypt/md5.c (md5_process_block): Don't assume the buffer
3817 length is less than 2**32.
3818 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3819 length is less than 2**64.
3821 2012-08-15 Roland McGrath <roland@hack.frob.com>
3823 * string/str-two-way.h: Include <sys/param.h>.
3824 (MAX): Macro removed.
3826 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3827 Move #define and #undef of memmove to just before and after
3828 including <string.h>.
3830 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3831 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3832 and after including <string.h>. Move declarations of
3833 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3834 to before #include "string/memmove.c".
3836 * include/dirent.h: Declare __getdirentries.
3838 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3839 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3841 2012-08-14 Mike Frysinger <vapier@gentoo.org>
3843 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3844 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3845 * sysdeps/i386/configure: Regenerated.
3846 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3847 STABS_CURRENT_FILE, and STABS_FUN.
3848 (END): Remove call to STABS_FUN_END.
3849 (STABS_CURRENT_FILE1): Delete.
3850 (STABS_CURRENT_FILE): Likewise.
3851 (STABS_FUN): Likewise.
3852 (STABS_FUN_END): Likewise.
3853 (STABS_FUN2): Likewise.
3854 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3855 * sysdeps/x86_64/configure: Regenerated.
3857 2012-08-14 Roland McGrath <roland@hack.frob.com>
3859 * elf/dl-open.c: Include <atomic.h>.
3860 * elf/dl-lookup.c: Likewise.
3862 2012-08-14 Joseph Myers <joseph@codesourcery.com>
3864 * sysdeps/unix/sysv/linux/kernel-features.h
3865 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3866 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3868 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3870 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3871 condition on __ASSUME_CLONE_THREAD_FLAGS.
3873 2012-08-14 Andreas Jaeger <aj@suse.de>
3875 * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3879 * include/atomic.h (atomic_exchange_and_add): Split into ...
3880 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3883 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3887 2012-08-13 Jeff Law <law@redhat.com>
3889 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3890 null byte in the output string.
3892 2012-08-10 Joseph Myers <joseph@codesourcery.com>
3894 * sysdeps/unix/sysv/linux/kernel-features.h
3895 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3896 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3897 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3898 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3899 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3900 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3901 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3903 2012-08-09 Jeff Law <law@redhat.com>
3906 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3907 When avoid_arena is set, don't retry in the that arena. Pick the
3908 next one, whatever it might be.
3909 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3910 (arena_lock): Pass in new parameter to arena_get2.
3911 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3913 (__libc_malloc): Unify retrying after main arena failure with
3914 __libc_memalign version.
3915 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3917 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3920 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3921 to __redirect_strstr.
3922 (__strstr_sse42): Use typeof __redirect_strstr.
3923 (__strstr_ia32): Likewise.
3924 (__libc_strstr): New prototype.
3925 (strstr): Renamed to ...
3926 (__libc_strstr): This.
3927 (strstr): New strong alias of __libc_strstr.
3928 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3929 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3932 (__libc_time): New prototype.
3933 (time_ifunc): Replace time with __libc_time.
3934 (time): New strong alias and hidden definition of __libc_time.
3935 (__GI_time): Remove strong alias.
3936 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3938 (memmove): Redefined to __redirect_memmove.
3939 (__memmove_sse2): Use typeof __redirect_memmove.
3940 (__memmove_ssse3): Likewise.
3941 (__memmove_ssse3_back): Likewise.
3942 (__libc_memmove): New prototype.
3943 (memmove): Renamed to ...
3944 (__libc_memmove): This.
3945 (memmove): New strong alias of __libc_memmove.
3947 2012-08-08 Mark Salter <msalter@redhat.com>
3950 (R_MN10300_TLS_GD): Define.
3951 (R_MN10300_TLS_LD): Likewise.
3952 (R_MN10300_TLS_LDO): Likewise.
3953 (R_MN10300_TLS_GOTIE): Likewise.
3954 (R_MN10300_TLS_IE): Likewise.
3955 (R_MN10300_TLS_LE): Likewise.
3956 (R_MN10300_TLS_DTPMOD): Likewise.
3957 (R_MN10300_TLS_DTPOFF): Likewise.
3958 (R_MN10300_TLS_TPOFF): Likewise.
3959 (R_MN10300_SYM_DIFF): Likewise.
3960 (R_MN10300_ALIGN): Likewise.
3961 (R_MN10300_NUM): Update.
3963 2012-08-08 Joseph Myers <joseph@codesourcery.com>
3965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3968 2012-08-08 Roland McGrath <roland@hack.frob.com>
3970 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3972 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3973 sysdeps/unix -> sysdeps/posix move.
3974 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3976 2012-08-07 Allan McRae <allan@archlinux.org>
3979 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3980 (SUNOS_CPP): Likewise.
3981 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3983 (open_input): Call CPP using execvp.
3985 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3987 * sysdeps/unix/sysv/linux/kernel-features.h
3988 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3989 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3990 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3991 (__ASSUME_WAITID_SYSCALL): Likewise.
3992 * sysdeps/unix/sysv/linux/dl-execstack.c
3993 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3995 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3997 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3998 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3999 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4001 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4003 [__ASSUME_WAITID_SYSCALL]: Likewise.
4004 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4006 2012-08-07 Roland McGrath <roland@hack.frob.com>
4008 * sysdeps/unix/closedir.c: Renamed to ...
4009 * sysdeps/posix/closedir.c: ... here.
4010 * sysdeps/unix/dirfd.c: Renamed to ...
4011 * sysdeps/posix/dirfd.c: ... here.
4012 * sysdeps/unix/dirstream.h: Renamed to ...
4013 * sysdeps/posix/dirstream.h: ... here.
4014 * sysdeps/unix/fdopendir.c: Renamed to ...
4015 * sysdeps/posix/fdopendir.c: ... here.
4016 * sysdeps/unix/opendir.c: Renamed to ...
4017 * sysdeps/posix/opendir.c: ... here.
4018 * sysdeps/unix/readdir.c: Renamed to ...
4019 * sysdeps/posix/readdir.c: ... here.
4020 * sysdeps/unix/readdir_r.c: Renamed to ...
4021 * sysdeps/posix/readdir_r.c: ... here.
4022 * sysdeps/unix/rewinddir.c: Renamed to ...
4023 * sysdeps/posix/rewinddir.c: ... here.
4024 * sysdeps/unix/seekdir.c: Renamed to ...
4025 * sysdeps/posix/seekdir.c: ... here.
4026 * sysdeps/unix/telldir.c: Renamed to ...
4027 * sysdeps/posix/telldir.c: ... here.
4028 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4029 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4030 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4031 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4033 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4034 * bits/fcntl.h: ... here.
4036 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4038 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4039 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4040 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4041 (struct flock): Move l_start, l_len to the beginning.
4042 Use __pid_t for l_pid.
4043 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4044 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4045 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4046 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4047 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4048 [__USE_LARGEFILE64] (struct flock64): New type.
4049 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4051 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4052 * bits/dirent.h: ... here.
4054 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4055 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4057 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4060 Change from 2.6.0 to 2.6.16.
4061 * sysdeps/unix/sysv/linux/configure: Regenerated.
4062 * sysdeps/unix/sysv/linux/kernel-features.h
4063 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4064 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4066 (__ASSUME_UTIMES): Likewise.
4067 (__ASSUME_CLONE_STOPPED): Remove.
4068 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4069 architectures, not kernel version.
4070 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4071 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4072 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4073 (__ASSUME_WAITID_SYSCALL): Likewise.
4074 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4075 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4076 * README: State 2.6.16 as minimum Linux kernel version. Do not
4077 refer to older versions.
4079 2012-08-06 Roland McGrath <roland@hack.frob.com>
4081 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4082 Define alphasort64 as an alias.
4083 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4084 Define versionsort64 as an alias.
4085 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4086 Define scandir64 as an alias.
4087 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4088 Define scandirat64 as an alias.
4089 * dirent/alphasort64.c (alphasort64):
4090 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4091 * dirent/versionsort64.c: Likewise.
4092 * dirent/scandir64.c: Likewise.
4093 * dirent/scandirat64.c: Likewise.
4094 * sysdeps/wordsize-64/alphasort.c: File removed.
4095 * sysdeps/wordsize-64/alphasort64.c: File removed.
4096 * sysdeps/wordsize-64/scandir.c: File removed.
4097 * sysdeps/wordsize-64/scandir64.c: File removed.
4098 * sysdeps/wordsize-64/scandirat.c: File removed.
4099 * sysdeps/wordsize-64/scandirat64.c: File removed.
4100 * sysdeps/wordsize-64/versionsort.c: File removed.
4101 * sysdeps/wordsize-64/versionsort64.c: File removed.
4102 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4103 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4104 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4106 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4111 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4113 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4115 [defined __arch64__ || defined __sparcv9]
4116 (__INO_T_MATCHES_INO64_T): New macro.
4117 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4118 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4119 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4120 * sysdeps/unix/sysv/linux/bits/dirent.h
4121 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4122 (_DIRENT_MATCHES_DIRENT64): New macro.
4124 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4125 Define lockf64 as an alias.
4126 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4127 Define fseeko64 as an alias.
4128 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4129 Define ftello64 as an alias.
4130 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4131 Define _IO_fgetpos64 and fgetpos64 as aliases.
4132 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4133 Define _IO_fsetpos64 and fsetpos64 as aliases.
4134 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4135 Conditionalize body on this.
4136 * libio/fseeko64.c: Likewise.
4137 * libio/ftello64.c: Likewise.
4138 * libio/iofgetpos64.c: Likewise.
4139 * libio/iofsetpos64.c: Likewise.
4140 * sysdeps/wordsize-64/lockf.c: File removed.
4141 * sysdeps/wordsize-64/lockf64.c: File removed.
4142 * sysdeps/wordsize-64/fseeko.c: File removed.
4143 * sysdeps/wordsize-64/fseeko64.c: File removed.
4144 * sysdeps/wordsize-64/ftello.c: File removed.
4145 * sysdeps/wordsize-64/ftello64.c: File removed.
4146 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4147 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4148 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4149 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4150 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4151 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4152 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4154 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4155 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4156 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4161 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4163 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4165 [defined __arch64__ || defined __sparcv9]
4166 (__OFF_T_MATCHES_OFF64_T): New macro.
4167 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4168 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4170 (__OFF_T_MATCHES_OFF64_T): New macro.
4172 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4174 * stdlib/secure-getenv.c (__secure_getenv): Replace
4175 GLIBC_2_16 with GLIBC_2_17.
4177 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4179 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4180 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4182 2012-08-03 David S. Miller <davem@davemloft.net>
4184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4186 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4188 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4190 (__ASSUME_CORRECT_SI_PID): Likewise.
4191 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4192 (__ASSUME_TMPFS_NAME): Likewise.
4193 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4194 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4195 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4196 (HAVE_AUX_SECURE): Make definition unconditional.
4197 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4198 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4200 2012-08-03 Roland McGrath <roland@hack.frob.com>
4202 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4203 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4204 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4205 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4206 __eloop_threshold instead of SYMLOOP_MAX.
4208 * sysdeps/generic/eloop-threshold.h: New file.
4209 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4211 * elf/chroot_canon.c (chroot_canon): Likewise.
4213 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4216 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4217 Change to 2.6.0 everywhere.
4218 * sysdeps/unix/sysv/linux/configure: Regenerated.
4219 * sysdeps/unix/sysv/linux/kernel-features.h
4220 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4221 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4223 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4224 (__ASSUME_FUTEX_REQUEUE): Remove.
4225 (__ASSUME_STATFS64): Define unconditionally.
4226 (__ASSUME_AT_SECURE): Likewise.
4227 (__ASSUME_CORRECT_SI_PID): Likewise.
4228 (__ASSUME_TGKILL): Define without depending on kernel version for
4230 (__ASSUME_UTIMES): Likewise.
4231 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4233 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4234 (__ASSUME_TMPFS_NAME): Likewise.
4235 * README: Update reference to Linux kernel versions.
4237 2012-08-02 Marek Polacek <polacek@redhat.com>
4240 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4241 libc_cv_asm_type_prefix with %.
4242 * configure: Regenerated.
4243 * include/libc-symbols.h: Remove comment about
4244 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4245 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4246 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4247 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4248 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4249 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4250 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4251 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4252 * elf/tst-unique2mod1.c: Likewise.
4253 * elf/tst-unique1mod2.c: Likewise.
4254 * elf/tst-unique1mod1.c: Likewise.
4255 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4256 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4257 Replace ASM_TYPE_DIRECTIVE with .type.
4258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4259 * sysdeps/i386/sysdep.h: Likewise.
4260 * sysdeps/x86_64/sysdep.h: Likewise.
4261 * sysdeps/sh/sysdep.h: Likewise.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4263 Do not define ASM_TYPE_DIRECTIVE.
4264 * sysdeps/powerpc/sysdep.h: Likewise.
4265 * sysdeps/powerpc/powerpc32/sysdep.h:
4266 Replace ASM_TYPE_DIRECTIVE with .type.
4267 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4268 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4269 * sysdeps/i386/fpu/e_powf.S: Likewise.
4270 * sysdeps/i386/fpu/e_expl.S: Likewise.
4271 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4272 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4273 * sysdeps/i386/fpu/e_pow.S: Likewise.
4274 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4275 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4276 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4277 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4278 * sysdeps/i386/fpu/e_log2.S: Likewise.
4279 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4280 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4281 * sysdeps/i386/fpu/e_powl.S: Likewise.
4282 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4283 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4284 * sysdeps/i386/fpu/e_logl.S: Likewise.
4285 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4286 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4287 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4288 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4289 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4290 * sysdeps/i386/fpu/e_log.S: Likewise.
4291 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4292 * sysdeps/i386/fpu/e_logf.S: Likewise.
4293 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4294 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4295 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4296 * sysdeps/i386/fpu/e_log10.S: Likewise.
4297 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4298 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4299 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4300 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4301 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4303 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4304 * sysdeps/i386/i686/strtok.S: Likewise.
4305 * sysdeps/i386/i386-mcount.S: Likewise.
4306 * sysdeps/i386/strtok.S: Likewise.
4307 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4308 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4309 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4310 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4312 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4313 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4314 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4315 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4316 * sysdeps/x86_64/_mcount.S: Likewise.
4317 * sysdeps/x86_64/strtok.S: Likewise.
4318 * sysdeps/sh/_mcount.S: Likewise.
4320 2012-08-01 Roland McGrath <roland@hack.frob.com>
4322 * libio/iofopen.c: Include <fcntl.h>.
4323 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4324 (_IO_fopen64, fopen64): Define as aliases.
4325 * libio/iofopen64.c: Include <fcntl.h>.
4326 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4327 Conditionalize body on this.
4328 * sysdeps/wordsize-64/iofopen.c: File removed.
4329 * sysdeps/wordsize-64/iofopen64.c: File removed.
4331 2012-08-01 Marek Polacek <polacek@redhat.com>
4333 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4334 Use dlfcn directly instead of a variable.
4335 (binfmt-subdir): Do not define.
4338 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4341 Remove all definitions.
4342 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4343 <kernel-features.h>.
4344 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4345 (miss_F_GETOWN_EX): Remove all definitions.
4346 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4348 [!__ASSUME_FCNTL64]: Remove conditional code.
4349 [__ASSUME_FCNTL64]: Make code unconditional.
4350 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4351 <kernel-features.h>.
4352 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4353 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4354 (lockf64) [__NR_fcntl64]: Make code unconditional.
4355 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4357 * sysdeps/unix/sysv/linux/kernel-features.h
4358 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4359 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4360 Make code unconditional.
4361 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4362 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4364 [__NR_vfork]: Make code unconditional.
4365 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4366 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4368 [__NR_vfork]: Make code unconditional.
4369 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4370 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4372 2012-08-01 Roland McGrath <roland@hack.frob.com>
4374 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4375 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4377 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4378 Define mkstemp64 as an alias.
4379 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4380 Define mkstemps64 as an alias.
4381 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4382 Define mkostemp64 as an alias.
4383 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4384 Define mkostemps64 as an alias.
4385 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4386 Conditionalize body on this.
4387 * misc/mkostemp64.c: Likewise.
4388 * misc/mkostemps64.c: Likewise.
4389 * misc/mkstemps64.c: Likewise.
4390 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4391 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4392 * sysdeps/wordsize-64/mkostemp.c: File removed.
4393 * sysdeps/wordsize-64/mkstemp.c: File removed.
4394 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4395 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4396 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4400 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4401 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4402 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4403 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4405 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4406 compat_symbol macros from <shlib-compat.h> rather than the underlying
4407 default_symbol_version and symbol_version macros, so that DEFAULT
4408 lines in shlib-versions are respected.
4409 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4411 2012-08-01 Florian Weimer <fweimer@redhat.com>
4413 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4414 Declare with warn_unused_result.
4415 (setgid, setregid, setegid, setresgid): Likewise.
4416 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4418 * WUR-REPORT: Remove set*id functions.
4420 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4422 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4424 2012-07-31 Roland McGrath <roland@hack.frob.com>
4426 * include/sys/socket.h (__libc_accept, __libc_accept4):
4427 Add attribute_hidden.
4428 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4430 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4432 * inet/getnetgrent_r.c (setup): Likewise.
4434 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4436 2012-07-31 David S. Miller <davem@davemloft.net>
4438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4440 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4443 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4444 value between 1.0 and 2.0 and smaller part has absolute value less
4446 * math/s_clog10.c (__clog10): Likewise.
4447 * math/s_clog10f.c (__clog10f): Likewise.
4448 * math/s_clog10l.c (__clog10l): Likewise.
4449 * math/s_clogf.c (__clogf): Likewise.
4450 * math/s_clogl.c (__clogl): Likewise.
4451 * math/libm-test.inc (clog_test): Add more tests.
4452 (clog10_test): Likewise.
4453 * sysdeps/i386/fpu/libm-test-ulps: Update.
4454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4456 2012-07-31 Florian Weimer <fweimer@redhat.com>
4458 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4459 Exit with zero in case no suitable GID is found, and write a
4460 message to standard error.
4462 2012-07-30 Roland McGrath <roland@hack.frob.com>
4464 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4466 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4467 (MAXPATHLEN): Removed.
4468 (NOGROUP, NODEV): New macros.
4469 (setbit, clrbit, isset, isclr): New macros.
4470 (howmany, roundup, powerof2): New macros.
4471 (DEV_BSIZE): New macro.
4473 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4474 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4476 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4477 definition on [!__NO_LONG_DOUBLE_MATH].
4479 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4480 PTR_MANGLE and PTR_DEMANGLE.
4482 * socket/accept4.c (accept4): Rename to __libc_accept4.
4483 Define accept4 as a weak alias.
4485 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4486 on [_DIRENT_HAVE_D_TYPE].
4487 * io/ftw.c (ftw_dir): Likewise.
4489 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4491 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4493 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4494 Use the BSD numbers rather than the arbitrary ones we had.
4495 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4496 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4497 (SIGXCPU, SIGXFSZ): New macros.
4500 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4501 initializer on [_LIBC_REENTRANT].
4503 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4504 definitions inside [_POSIX_MAPPED_FILES].
4506 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4508 * dirent/opendir.c: Include <fcntl.h>.
4510 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4511 (__libc_getspecific): Likewise.
4512 (__libc_key_create): Likewise.
4514 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4515 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4516 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4517 (tmpfile64): Define as alias.
4518 * sysdeps/wordsize-64/tmpfile.c: File removed.
4519 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4520 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4521 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4523 * stdio-common/vfscanf.c: Include <stdbool.h>.
4524 * nss/makedb.c: Likewise.
4525 * stdio-common/_i18n_number.h: Likewise.
4526 * argp/argp-help.c: Likewise.
4527 * posix/wordexp.c: Likewise.
4528 * sysdeps/posix/spawni.c: Likewise.
4529 * nss/nss_files/files-initgroups.c: Likewise.
4530 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4531 * nss/nss_files/files-initgroups.c: Likewise.
4532 * nss/nss_db/db-netgrp.c: Likewise.
4533 * nss/nss_db/db-initgroups.c: Likewise.
4534 * io/fchmodat.c: Include <sys/stat.h>.
4536 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4537 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4539 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4542 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4543 Add multiple inclusion protection.
4545 2012-07-27 David S. Miller <davem@davemloft.net>
4547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4549 2012-07-27 Gary Benson <gbenson@redhat.com>
4552 * elf/rtld.c: Include <stap-probe.h>.
4553 (dl_main): Added static probes "init_start" and "init_complete".
4554 * elf/dl-load.c: Include <stap-probe.h>.
4555 (lose): Take new parameter "nsid".
4556 Added static probe "map_failed".
4557 (_dl_map_object_from_fd): Pass namespace id to lose.
4558 Added static probe "map_start".
4559 (open_verify): Pass namespace id to lose.
4560 * elf/dl-open.c: Include <stap-probe.h>.
4561 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4562 and "reloc_complete".
4563 * elf/dl-close.c: Include <stap-probe.h>.
4564 (_dl_close_worker): Added static probes "unmap_start" and
4566 * elf/rtld-debugger-interface.txt: New file documenting the above.
4568 2012-07-26 Roland McGrath <roland@hack.frob.com>
4570 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4571 rather than a string variable.
4572 * sunrpc/rpc_main.c (h_output): Likewise.
4573 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4575 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4577 * inet/check_native.c: New file.
4579 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4582 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4583 if larger part has absolute value 1.0.
4584 * math/s_clog10.c (__clog10): Likewise.
4585 * math/s_clog10f.c (__clog10f): Likewise.
4586 * math/s_clog10l.c (__clog10l): Likewise.
4587 * math/s_clogf.c (__clogf): Likewise.
4588 * math/s_clogl.c (__clogl): Likewise.
4589 * math/libm-test.inc (clog_test): Add more tests.
4590 (clog10_test): Likewise.
4591 * sysdeps/i386/fpu/libm-test-ulps: Update.
4592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4594 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4595 (pltexit): Likewise.
4596 (La_regs): Likewise.
4597 (La_retval): Likewise.
4598 (int_retval): Likewise.
4599 Update #error for removed macros to refer only to definitions in
4601 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4603 (pltexit): Likewise.
4604 (La_regs): Likewise.
4605 (La_retval): Likewise.
4606 (int_retval): Likewise.
4607 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4609 (pltexit): Likewise.
4610 (La_regs): Likewise.
4611 (La_retval): Likewise.
4612 (int_retval): Likewise.
4613 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4615 (pltexit): Likewise.
4616 (La_regs): Likewise.
4617 (La_retval): Likewise.
4618 (int_retval): Likewise.
4619 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4621 (pltexit): Likewise.
4622 (La_regs): Likewise.
4623 (La_retval): Likewise.
4624 (int_retval): Likewise.
4625 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4627 (pltexit): Likewise.
4628 (La_regs): Likewise.
4629 (La_retval): Likewise.
4630 (int_retval): Likewise.
4631 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4633 (pltexit): Likewise.
4634 (La_regs): Likewise.
4635 (La_retval): Likewise.
4636 (int_retval): Likewise.
4637 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4638 macro definitions in tst-audit.h.
4639 * sysdeps/i386/tst-audit.h: New file.
4640 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4641 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4642 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4643 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4644 * sysdeps/sh/tst-audit.h: Likewise.
4645 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4646 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4647 * sysdeps/x86_64/tst-audit.h: Likewise.
4649 2012-07-26 Andreas Jaeger <aj@suse.de>
4651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4654 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4655 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4656 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4658 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4659 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4662 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4665 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4667 (si_call_addr, si_syscall, si_arch): Define new macro.
4668 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4670 (si_call_addr, si_syscall, si_arch): Define new marcro.
4671 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4673 (si_call_addr, si_syscall, si_arch): Define new macro.
4674 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4676 (si_call_addr, si_syscall, si_arch): Define new macro.
4678 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4681 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4682 Change to 2.4.21 where previously 2.4.1.
4683 * sysdeps/unix/sysv/linux/configure: Regenerated.
4684 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4685 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4686 Linux kernel version.
4687 (__ASSUME_STD_AUXV): Remove.
4688 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4690 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4691 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4692 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4693 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4694 (__ASSUME_NETLINK_SUPPORT): Likewise.
4695 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4696 (__no_netlink_support): Remove conditional definition.
4697 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4699 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4700 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4701 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4702 (if_nameindex_ioctl): Remove.
4703 (if_nameindex_netlink): Do not handle __no_netlink_support.
4704 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4706 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4707 Remove conditional code.
4708 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4710 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4712 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4713 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4714 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4716 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4717 [!__ASSUME_STD_AUXV]: Remove conditional code.
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4719 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4720 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4722 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4723 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4725 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4727 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4728 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4730 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4732 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4735 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4738 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4740 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4742 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4744 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4747 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4749 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4752 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4754 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4756 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4758 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4761 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4763 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4765 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4767 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4770 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4772 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4773 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4774 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4775 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4776 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4777 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4778 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4779 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4780 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4781 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4782 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4783 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4784 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4785 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4786 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4787 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4788 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4789 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4790 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4792 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4793 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4794 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4796 2012-07-25 Florian Weimer <fweimer@redhat.com>
4798 * Versions.def: Add GLIBC_2.17.
4799 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4800 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4801 Introduce __libc_secure_getenv.
4802 * stdlib/Versions (2.17): Add secure_getenv
4803 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4804 * stdlib/secure-getenv.c: Rename __secure_getenv to
4805 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4806 symbol __secure_getenv for GLIBC_2.0.
4807 * stdlib/tst-secure-getenv.c: New.
4808 * stdlib/Makefile (tests): Add testcase.
4809 * manual/startup.texi (Environment Access): Document
4811 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4812 __libc_secure_getenv.
4813 * inet/ruserpass.c (ruserpass): Likewise.
4814 * malloc/mtrace.c (mtrace): Likewise.
4815 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4816 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4817 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4818 * sysdeps/posix/tempname.c: Likewise. Evaluate
4820 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4821 __secure_getenv to __libc_secure_getenv.
4822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4835 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4837 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4838 (struct La_i86_retval): Likewise.
4839 (struct La_x86_64_regs): Likewise.
4840 (struct La_x86_64_retval): Likewise.
4841 (struct La_x32_regs): Likewise.
4842 (struct La_x32_retval): Likewise.
4843 (struct La_ppc32_regs): Likewise.
4844 (struct La_ppc32_retval): Likewise.
4845 (struct La_ppc64_regs): Likewise.
4846 (struct La_ppc64_retval): Likewise.
4847 (struct La_sh_regs): Likewise.
4848 (struct La_sh_retval): Likewise.
4849 (struct La_s390_32_regs): Likewise.
4850 (struct La_s390_32_retval): Likewise.
4851 (struct La_s390_64_regs): Likewise.
4852 (struct La_s390_64_retval): Likewise.
4853 (struct La_sparc32_regs): Likewise.
4854 (struct La_sparc32_retval): Likewise.
4855 (struct La_sparc64_regs): Likewise.
4856 (struct La_sparc64_retval): Likewise.
4857 (struct audit_ifaces): Remove architecture-specific pltenter and
4859 * sysdeps/i386/ldsodefs.h: New file.
4860 * sysdeps/powerpc/ldsodefs.h: Likewise.
4861 * sysdeps/s390/ldsodefs.h: Likewise.
4862 * sysdeps/sh/ldsodefs.h: Likewise.
4863 * sysdeps/sparc/ldsodefs.h: Likewise.
4864 * sysdeps/x86_64/ldsodefs.h: Likewise.
4866 2012-07-25 Marek Polacek <polacek@redhat.com>
4869 * math/libm-test.inc (yn_test): Add another test.
4870 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4871 to ERANGE when the result is +-Inf.
4872 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4873 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4874 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4875 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4877 2012-07-24 Joseph Myers <joseph@codesourcery.com>
4879 * conform/data/time.h-data (NULL): Use macro-constant. Require
4881 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4883 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4885 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4887 * configure.in <sysdeps resolving>: Correct printing
4889 * configure: Regenerate.
4891 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4893 * math/w_ilogb.c: Include <limits.h>.
4894 * math/w_ilogbl.c: Likewise.
4896 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4898 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4899 va_copy. Document allowing for unavailable va_copy only as
4900 pre-C99 compatibility.
4901 * manual/string.texi (Copying and Concatenation): Use va_copy
4902 instead of __va_copy in concat example.
4904 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4906 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4907 (__sendto): Use create_address_port. Initialize APORT and deallocate
4910 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4911 with O_NOLINK passed to __file_name_lookup.
4913 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4914 with O_NOLINK passed to __file_name_lookup.
4916 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4917 negative N or less than NGIDS.
4919 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4920 type to string_t. Set ERANGE as errno and return it if NAME is not big
4921 enough. Use memcpy instead of strncpy.
4923 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4925 * elf/Makefile (check-data): Remove.
4926 (localplt.data): New vpath directive.
4927 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4928 instead of $(check-data).
4929 * scripts/data/localplt-generic.data: Move to ...
4930 * sysdeps/generic/localplt.data: ... here.
4931 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4932 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4933 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4936 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4939 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4942 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4945 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4948 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4952 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4955 PPC32 and PPC64 files.
4956 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4957 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4959 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4961 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4962 __makecontext_ret to ...
4963 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4964 ... here and call exit if uc_link is NULL. New file.
4965 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4966 __makecontext_ret.S.
4967 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4968 __makecontext_ret to ...
4969 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4970 ... here and call exit if uc_link is NULL. New file.
4971 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4972 __makecontext_ret.S.
4974 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4976 * elf/elf.h (R_390_IRELATIVE): New definition.
4977 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4978 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4979 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4980 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4981 (elf_machine_lazy_rel): Likewise.
4982 * sysdeps/s390/dl-irel.h: New file.
4983 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4984 * sysdeps/s390/s390-64/memset.S: New asm code.
4985 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4986 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4987 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4988 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4989 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4990 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4991 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4992 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4993 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4994 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4995 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4996 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4997 * sysdeps/s390/s390-32/memset.S: New asm code.
4998 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5000 2012-07-17 Marek Polacek <polacek@redhat.com>
5003 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5004 * sysdeps/s390/s390-64/configure.in: Likewise.
5005 * sysdeps/sparc/configure.in: Likewise.
5006 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5007 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5008 * sysdeps/i386/configure.in: Likewise.
5009 * sysdeps/x86_64/configure.in: Likewise.
5010 * sysdeps/sh/configure.in: Likewise.
5011 * sysdeps/s390/s390-32/configure: Regenerated.
5012 * sysdeps/s390/s390-64/configure: Likewise.
5013 * sysdeps/x86_64/configure: Likewise.
5014 * sysdeps/sh/configure: Likewise.
5015 * sysdeps/powerpc/powerpc64/configure: Likewise.
5016 * sysdeps/powerpc/powerpc32/configure: Likewise.
5017 * sysdeps/sparc/configure: Likwise.
5018 * sysdeps/i386/configure: Likewise.
5020 * elf/dl-open.c: Comment fixes.
5022 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5024 * Makefile [CXX] (check-data): Remove.
5025 [CXX] (c++-types.data): New vpath directive.
5026 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5027 vpath. Do not allow for C++ type data being missing.
5028 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5029 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5030 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5031 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5032 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5033 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5034 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5037 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5040 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5043 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5046 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5049 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5052 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5055 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5058 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5059 definitions to architecture-specific files.
5063 * sysdeps/i386/tls-macros.h: New file.
5064 * sysdeps/powerpc/tls-macros.h: Likewise.
5065 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5066 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5067 * sysdeps/sh/tls-macros.h: Likewise.
5068 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5069 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5070 * sysdeps/x86_64/tls-macros.h: Likewise.
5072 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5074 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5075 zero value for regular exit case.
5077 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5078 (__start_context): Preserve zero value for regular exit case.
5080 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5081 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5083 * manual/setjmp.texi (setcontext): Clarify normal process
5084 termination when uc_link is the null pointer.
5085 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5088 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5090 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5091 preprocessor. Test for each exception mask separately.
5093 2012-07-16 Andreas Jaeger <aj@suse.de>
5095 * po/ru.po: Update from translation team.
5097 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5099 * conform/data/string.h-data (NULL): Use macro-constant. Require
5101 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5102 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5103 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5104 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5107 2012-07-13 Andreas Jaeger <aj@suse.de>
5109 * po/fr.po: Update from translation team.
5111 2012-07-12 Marek Polacek <polacek@redhat.com>
5114 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5115 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5118 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5121 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5122 Change to 2.4.1 where previously 2.4.0.
5123 * sysdeps/unix/sysv/linux/configure: Regenerated.
5124 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5125 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5127 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5128 (__ASSUME_AT_CLKTCK): Remove.
5129 (__ASSUME_AT_PAGESIZE): Likewise.
5130 (__ASSUME_AT_XID): Likewise.
5131 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5132 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5133 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5135 (HAVE_AUX_PAGESIZE): Likewise.
5136 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5137 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5138 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5140 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5144 the temporary buffer used to invoke __gethostbyname2_r,
5145 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5146 host_data / struct gaih_addrtuple.
5147 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5148 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5149 header file nss/nsswitch.h.
5150 * nss/nsswitch.h (global scope): Add definition of implementation
5151 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5152 resolv/nss_dns/dns-host.c).
5154 2012-07-11 Andreas Jaeger <aj@suse.de>
5156 * po/fr.po: Update from translation team.
5158 * po/sv.po: Update from translation team
5159 * po/fr.po: Another update from translation team.
5161 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5164 for subnormals or multiply small sinh result by itself.
5165 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5168 2012-07-11 David S. Miller <davem@davemloft.net>
5170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5172 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5175 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5176 (INTERNAL_MARK): Shift it here.
5178 2012-07-10 Marek Polacek <polacek@redhat.com>
5181 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5182 libc_cv_asm_global_directive with .globl.
5183 * configure: Regenerated.
5184 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5186 * sysdeps/i386/configure: Regenerated.
5187 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5189 * sysdeps/x86_64/configure: Regenerated.
5190 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5191 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5192 * elf/tst-unique2mod2.c: Likewise.
5193 * elf/tst-unique2mod1.c: Likewise.
5194 * elf/tst-unique1mod2.c: Likewise.
5195 * elf/tst-unique1mod1.c: Likewise.
5196 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5197 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5198 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5199 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5200 * sysdeps/mach/sysdep.h: Likewise.
5201 * sysdeps/i386/sysdep.h: Likewise.
5202 * sysdeps/i386/i386-mcount.S: Likewise.
5203 * sysdeps/x86_64/_mcount.S: Likewise.
5204 * sysdeps/x86_64/sysdep.h: Likewise.
5205 * sysdeps/sh/_mcount.S: Likewise.
5206 * sysdeps/sh/sysdep.h: Likewise.
5207 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5208 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5209 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5210 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5211 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5212 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5213 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5214 * locale/localeinfo.h: Likewise.
5215 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5216 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5218 2012-07-09 Roland McGrath <roland@hack.frob.com>
5221 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5223 * manual/message.texi (The Uniforum approach): Likewise.
5224 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5225 (glibc iconv Implementation): Likewise.
5227 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5230 * math/s_clog.c (__clog): Avoid scaling a value down where that
5231 could result in underflow.
5232 * math/s_clog10.c (__clog10): Likewise.
5233 * math/s_clog10f.c (__clog10f): Likewise.
5234 * math/s_clog10l.c (__clog10l): Likewise.
5235 * math/s_clogf.c (__clogf): Likewise.
5236 * math/s_clogl.c (__clogl): Likewise.
5237 * math/libm-test.inc (clog_test): Add more tests.
5238 (clog10_test): Likewise.
5239 * sysdeps/i386/fpu/libm-test-ulps: Update.
5240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5242 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5245 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5246 by 7 not 8 to examine high bit of fractional part.
5249 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5250 for call to __mcount_internal.
5251 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5252 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5253 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5255 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5258 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5259 approximation for values within 0x1p-13f of an odd multiple of
5261 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5262 exception. Add more tests.
5263 * sysdeps/i386/fpu/libm-test-ulps: Update.
5266 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5267 inputs and return -1 for them. Do not check for +Inf in case not
5269 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5270 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5271 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5272 and return -1 for them. Do not check for +Inf in case not
5274 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5276 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5277 and return -1 for them. Do not check for +Inf in case not
5279 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5281 * sysdeps/i386/fpu/libm-test-ulps: Update.
5282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5284 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5286 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5288 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5292 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5293 could result in spurious underflow. Scale down values above
5294 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5295 * math/s_csqrtf.c (__csqrtf): Likewise.
5296 * math/s_csqrtl.c (__csqrtl): Likewise.
5297 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5299 * sysdeps/i386/fpu/libm-test-ulps: Update.
5300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5302 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5304 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5306 * catgets/xopen-msg.awk: New file.
5307 * catgets/xopen-msg.sed: Removed.
5309 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5311 * intl/po2test.awk: New file.
5312 * intl/po2test.sed: Removed.
5314 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5317 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5318 or multiply small sinh result by itself.
5319 * math/s_ctanf.c (__ctanf): Likewise.
5320 * math/s_ctanh.c (__ctanh): Likewise.
5321 * math/s_ctanhf.c (__ctanhf): Likewise.
5322 * math/s_ctanhl.c (__ctanhl): Likewise.
5323 * math/s_ctanl.c (__ctanl): Likewise.
5324 * math/libm-test.inc (ctan_test_tonearest): New function.
5325 (ctan_test_towardzero): Likewise.
5326 (ctan_test_downward): Likewise.
5327 (ctan_test_upward): Likewise.
5328 (ctanh_test_tonearest): Likewise.
5329 (ctanh_test_towardzero): Likewise.
5330 (ctanh_test_downward): Likewise.
5331 (ctanh_test_upward): Likewise.
5332 (main): Call these new functions.
5333 * sysdeps/i386/fpu/libm-test-ulps: Update.
5334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5336 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5338 * .gitignore: Delete /ports entry.
5340 2012-07-03 Andreas Jaeger <aj@suse.de>
5342 * po/bg.po: Update from translation team.
5343 * po/cs.po: Likewise.
5344 * po/de.po: Likewise.
5345 * po/hr.po: Likewise.
5346 * po/nl.pl: Likewise.
5347 * po/pl.po: Likewise.
5348 * po/vi.po: Likewise.
5350 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5352 * Makeconfig [!+link] (+link-before-libc): New variable.
5353 [!+link] (+link-after-libc): Likewise.
5354 [!+link] (+link-tests): Likewise.
5355 [!+link] (+link): Define in terms of $(+link-before-libc) and
5356 $(+link-after-libc).
5357 [!+link-static] (+link-static-before-libc): New variable.
5358 [!+link-static] (+link-static-after-libc): Likewise.
5359 [!+link-static] (+link-static-tests): Likewise.
5360 [!+link-static] (+link-static): Define in terms of
5361 $(+link-static-before-libc) and $(+link-static-after-libc).
5362 [build-shared] (link-libc-before-gnulib): New variable.
5363 [build-shared] (link-libc-tests): Likewise.
5364 [build-shared] (link-libc): Define in terms of
5365 $(link-libc-before-gnulib).
5366 [!build-shared] (link-libc-tests): New variable.
5367 (link-libc-static-tests): New variable.
5368 [!gnulib] (gnulib-arch): New variable.
5369 [!gnulib] (gnulib-tests): Likewise.
5370 [!gnulib] (static-gnulib-arch): Likewise.
5371 [!gnulib] (static-gnulib-tests): Likewise.
5372 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5373 Define with "=" instead of ":=".
5374 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5375 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5376 * Rules (binaries-all-notests): New variable.
5377 (binaries-all-tests): Likewise.
5378 (binaries-static-notests): Likewise.
5379 (binaries-static-tests): Likewise.
5380 (binaries-all): Define using $(binaries-all-notests) and
5381 $(binaries-all-tests).
5382 (binaries-static): Define using $(binaries-static-notests) and
5383 $(binaries-static-tests).
5384 (binaries-shared-tests): New variable.
5385 (binaries-shared-notests): Likewise.
5386 (binaries-shared): Remove variable.
5387 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5388 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5389 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5390 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5391 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5392 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5393 * elf/Makefile (sln-modules): New variable.
5394 (extra-objs): Add $(sln-modules:=.o).
5395 (ldconfig-modules): Add static-stubs.
5396 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5397 * elf/static-stubs.c: New file.
5400 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5401 by 7 not 8 to examine high bit of fractional part. Use volatile
5402 variables when splitting into final array of floats if
5403 __FLT_EVAL_METHOD__ != 0.
5404 * math/libm-test.inc (cos_test): Add another test.
5405 (sin_test): Likewise.
5406 * sysdeps/i386/fpu/libm-test-ulps: Update.
5409 * math/libm-test.inc (cosh_test): Add more tests.
5411 * version.h (RELEASE): Set to "development".
5412 (VERSION): Set to "2.16.90".
5414 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5416 * NEWS: Update copyright. Remove last-updated date.
5417 Mention math library bug fixes and timezone data changes.
5418 * README: Mention GNU/Hurd, x32, and HPPA support status.
5420 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5422 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5424 2012-06-27 Andreas Jaeger <aj@suse.de>
5426 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5428 2012-06-25 Andreas Jaeger <aj@suse.de>
5430 * sysdeps/s390/fpu/libm-test-ulps: Update.
5432 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5433 Thomas Schwinge <thomas@codesourcery.com>
5435 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5436 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5440 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5442 * sysdeps/mach/start.c: Remove file.
5443 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5444 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5445 * sysdeps/sh/init-first.c: Likewise.
5447 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5448 registers for frame unwinding purposes, add CFI directives.
5449 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5450 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5451 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5454 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5455 __fortify_fail returning.
5456 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5458 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5459 sysdeps/sh/____longjmp_chk.S.
5460 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5461 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5462 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5463 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5465 * sysdeps/sh/abort-instr.h: New file.
5466 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5467 process in case exit returns.
5469 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5470 initialize the GOT register before use.
5472 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5473 calculation of ARGC > 4.
5475 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5476 meaningful names to some local labels.
5478 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5479 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5481 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5482 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5483 (__arch_compare_and_exchange_val_16_acq): Likewise.
5484 (__arch_compare_and_exchange_val_32_acq): Likewise.
5485 (atomic_exchange_and_add): Fix gUSA sequence.
5486 (atomic_add): Likewise.
5487 (atomic_add_negative): Likewise.
5488 (atomic_add_zero): Likewise.
5489 (atomic_bit_test_set): Likewise.
5491 2012-06-22 Andreas Schwab <schwab@redhat.com>
5494 * include/link.h (struct link_map): Add l_free_initfini.
5495 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5497 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5498 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5499 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5502 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5504 * configure.in: Use AC_LANG_SOURCE.
5505 * configure: Regenerate.
5507 2012-06-22 Roland McGrath <roland@hack.frob.com>
5509 * configure.in (libc_cv_localstatedir): New substituted variable.
5510 * configure: Regenerated.
5511 * config.make.in (localstatedir): New variable, substituted from
5512 libc_cv_localstatedir.
5513 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5514 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5515 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5516 * sysdeps/gnu/configure: Regenerated.
5518 2012-06-21 Jeff Law <law@redhat.com>
5521 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5522 free. Simplify list management for _LIBC case.
5524 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5527 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5528 Clear sign bit of 64-bit integer value before comparing against
5531 * sysdeps/mach/configure: Regenerated.
5533 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5536 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5538 2012-06-21 Jeff Law <law@redhat.com>
5541 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5542 uint16_t for elements in the "seen" array to avoid char overflows.
5543 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5544 * elf/dl-open.c (dl_open_worker): Likewise.
5546 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5548 * scripts/list-sources.sh: Scan PORTS for translations.
5549 * po/libc.pot: Regenerated.
5551 2012-06-21 Andreas Jaeger <aj@suse.de>
5554 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5556 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5557 * bits/byteswap-16.h (__bswap_16): Likewise.
5558 * bits/byteswap.h (__bswap_constant_16): Likewise.
5560 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5563 * sysdeps/i386/fpu_control.h: Removed.
5564 * sysdeps/x86_64/fpu_control.h: Moved to ...
5565 * sysdeps/x86/fpu_control.h: Here.
5567 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5568 (_FPU_SETCW): Likewise.
5570 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5573 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5574 * sysdeps/x86/fpu/bits/mathinline.h: This.
5575 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5579 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5580 functions if __x86_64__ is defined.
5582 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5584 * string/endian.h: Add !__ASSEMBLER__ condition for including
5585 conversion interfaces.
5587 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5591 of ABS(x) in calculating zero to negative powers other than odd
5593 * math/libm-test.inc (pow_test): Add more tests.
5595 2012-06-15 Andreas Jaeger <aj@suse.de>
5597 * manual/contrib.texi (Contributors): Update entry of Liubov
5598 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5601 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5603 * string/string.h: Add __wur to GNU version of strerror_r.
5605 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5608 * string/Makefile (tests): Add tst-strtok_r.
5609 * string/tst-strtok_r.c: New file.
5610 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5611 RAX_LP/RDX_LP on SAVE_PTR.
5613 2012-06-14 Roland McGrath <roland@hack.frob.com>
5615 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5617 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5619 * libm_test.inc (csqrt_test): Allow more spurious underflow
5621 (j0_test): Likewise.
5622 (j1_test): Likewise.
5623 (y0_test): Likewise.
5624 (y1_test): Likewise.
5626 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5628 * po/Makefile (libc.pot): Use UTF-8 charset.
5630 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5633 Suppress sign-conversion warning from FD_SET.
5634 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5635 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5636 not unsigned long int.
5637 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5639 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5643 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5644 __extern_always_inline instead of __extern_inline.
5645 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5646 (__signbit): Likewise.
5647 (__signbitl): Support C++ namespace.
5648 (lrintf): New inline function.
5650 (llrintf): Likewise.
5662 (nearbyint): Likewise.
5663 (nearbyintf): Likewise.
5665 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5667 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5668 non-default versions.
5670 2012-06-11 Roland McGrath <roland@hack.frob.com>
5673 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5675 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5677 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5678 (FE_UPWARD, FE_DOWNWARD): Don't define.
5679 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5680 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5682 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5684 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5685 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5687 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5689 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5691 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5692 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5694 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5697 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5698 * sysdeps/i386/fpu/Implies: New file.
5699 * sysdeps/x86_64/fpu/Implies: Likewise.
5700 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5701 * sysdeps/x86/fpu/bits/fenv.h: This.
5703 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5706 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5709 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5710 character 0xffff that matches the last element of the
5713 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5718 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5721 values higher than 25.6283.
5723 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5726 subnormal exponent extraction and add some __builtin_expect.
5727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5728 Fix for subnormal mantissa calculation.
5730 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5732 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5733 cpu2 is -1 and errno is not ENOSYS.
5735 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5738 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5739 * sysdeps/x86/bits/string.h: This.
5740 * sysdeps/x86_64/bits/string.h: Removed.
5742 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5743 if not compiling for x86-64, but compiling for >= i486.
5745 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5746 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5748 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5749 New macro from Linux kernel 3.4.0.
5750 (FP_XSTATE_MAGIC2): Likewise.
5751 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5752 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5753 (struct _fpx_sw_bytes): New struct.
5754 (struct _xsave_hdr): Likewise.
5755 (struct _ymmh_state): Likewise.
5756 (struct _xstate): Likewise.
5758 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5759 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5760 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5761 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5762 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5763 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5765 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5766 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5767 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5768 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5769 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5770 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5772 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5775 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5776 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5777 (sysdep_headers): Include sys/platform/ppc.h.
5778 * sysdeps/powerpc/test-gettimebase.c: Test for
5779 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5780 * manual/Makefile (appendices): Include platform.texi.
5781 * manual/contrib.texi (Contributors): Update @node pointers.
5782 * manual/maint.texi (Maintenance): Likewise.
5783 (Platform): New node.
5784 * manual/platform.texi: New file. Document the new features.
5786 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5787 Jakub Jelinek <jakub@redhat.com>
5790 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5791 where __builtin_expect is unavailable.
5793 2012-06-03 David S. Miller <davem@davemloft.net>
5795 * stdlib/longlong.h: Updated from GCC.
5797 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5800 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5801 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5804 (GLIBC_2.16): Likewise.
5806 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5808 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5810 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5813 (default-abi): New variable.
5814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5815 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5817 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5819 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5824 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5825 definition. Document in comment.
5827 2012-06-01 David S. Miller <davem@davemloft.net>
5829 * stdlib/longlong.h: Updated from GCC.
5831 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5834 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5835 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5836 sys/debugreg.h sys/io.h here.
5837 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5838 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5840 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5841 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5842 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5843 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5844 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5845 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5847 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5848 Define only if __x86_64__ is defined.
5850 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5853 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5854 Use int64_t for variable i.
5855 * math/libm-test.inc (fmod_test): Add more tests.
5857 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5858 z computation is not scheduled after fetestexcept.
5859 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5860 Use math_force_eval instead of asm to ensure calculation scheduled
5861 before exception test.
5862 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5863 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5865 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5868 computation is not scheduled after fetestexcept.
5870 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5873 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5874 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5876 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5878 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5879 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5881 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5884 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5886 (__WCHAR_MIN): Support __WORDSIZE == 64.
5887 (__WCHAR_MAX): Likewise.
5889 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5890 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5894 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5897 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5898 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5900 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5901 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5903 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5904 Defined to 1 if __x86_64__ isn't defined.
5905 (_STAT_VER_LINUX_OLD): New.
5906 (st_atime): Remove duplicate.
5907 (st_mtime): Likewise.
5908 (st_ctime): Likewise.
5910 2012-05-31 David S. Miller <davem@davemloft.net>
5912 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5915 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5917 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5921 * elf/dl-reloc.c: Include <_itoa.h>.
5922 (_dl_reloc_bad_type): Remove use of INTUSE.
5923 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5924 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5925 * stdio-common/psiginfo.c (psiginfo): Likewise.
5926 * stdio-common/psignal.c (psignal): Likewise.
5927 * string/strsignal.c (strsignal): Likewise.
5928 * include/signal.h (_sys_siglist): Declare hidden proto.
5929 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5930 INTVARDEF with libc_hidden_data_def.
5931 * stdio-common/itoa-udigits.c: Likewise.
5932 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5933 (_itoa_lower_digits_internal): Remove declaration.
5934 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5935 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5936 (_sys_sigabbrev_internal): Remove aliases.
5937 (_sys_siglist): Define hidden alias.
5939 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5944 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5947 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5948 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5950 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5951 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5952 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5953 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5954 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5955 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5957 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5958 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5959 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5961 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5969 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5970 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5971 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5973 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5974 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5975 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5976 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5977 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5978 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5980 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5981 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5983 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5984 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5986 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5988 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5990 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5991 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5993 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5995 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5996 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5997 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5999 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6001 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6003 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6005 * math/math.h (M_El): Use two more decimal places.
6006 (M_LOG2El): Likewise.
6007 (M_LOG10El): Likewise.
6009 (M_LN10l): Likewise.
6011 (M_PI_2l): Likewise.
6012 (M_PI_4l): Likewise.
6013 (M_1_PIl): Likewise.
6014 (M_2_PIl): Likewise.
6015 (M_2_SQRTPIl): Likewise.
6016 (M_SQRT2l): Likewise.
6017 (M_SQRT1_2l): Likewise.
6019 2012-05-31 David S. Miller <davem@davemloft.net>
6021 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6022 values between float registers.
6023 * sysdeps/sparc/sparc64/memset.S: Likewise.
6024 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6026 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6028 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6029 -D_FORTIFY_SOURCE=1.
6030 (CPPFLAGS-tst-longjmp_chk.c): Define.
6031 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6032 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6033 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6034 CFLAGS-tst-wchar-h.c.
6036 2012-05-31 Marek Polacek <polacek@redhat.com>
6039 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6040 __endmntent_internal): Remove declaration.
6041 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6042 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6043 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6045 2012-05-30 David S. Miller <davem@davemloft.net>
6047 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6048 (___Q_simulate_exceptions): Use real FP ops rather than writing
6050 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6053 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6056 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6057 * sysdeps/x86/bits/xtitypes.h: This.
6059 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6060 * sysdeps/x86/bits/wordsize.h: This.
6062 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6063 * sysdeps/x86/bits/huge_vall.h: This.
6065 * sysdeps/i386/bits/select.h: Removed.
6066 * sysdeps/x86_64/bits/select.h: Renamed to ...
6067 * sysdeps/x86/bits/select.h: This.
6069 * sysdeps/i386/bits/setjmp.h: Removed.
6070 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6071 * sysdeps/x86/bits/setjmp.h: This.
6073 * sysdeps/i386/bits/mathdef.h: Removed.
6074 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6075 * sysdeps/x86/bits/mathdef.h: This.
6077 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6080 * include/sys/socket.h (__connect_internal)
6081 (__libc_sa_len_internal): Remove declaration.
6082 (__connect, __libc_sa_len): Declare hidden_proto.
6083 (SA_LEN): Remove use of INTUSE.
6084 * socket/connect.c: Add libc_hidden_def.
6085 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6086 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6087 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6089 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6090 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6091 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6092 of adding _internal alias.
6094 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6097 * sysdeps/i386/bits/link.h: Removed.
6098 * sysdeps/i386/bits/linkmap.h: Likewise.
6099 * sysdeps/x86_64/bits/link.h: Renamed to ...
6100 * sysdeps/x86/bits/link.h: This.
6101 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6102 * sysdeps/x86/bits/linkmap.h: This.
6104 * sysdeps/i386/bits/endian.h: Removed.
6105 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6106 * sysdeps/x86/bits/endian.h: This.
6108 * sysdeps/i386/bits/byteswap.h: Removed.
6109 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6110 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6111 * sysdeps/x86/bits/byteswap.h: This.
6112 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6113 * sysdeps/x86/bits/byteswap-16.h: This.
6114 * sysdeps/i386/Implies: Add x86.
6115 * sysdeps/x86_64/Implies: Likewise.
6117 2012-05-30 David S. Miller <davem@davemloft.net>
6119 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6120 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6121 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6122 (FP_TRAPPING_EXCEPTIONS): Define.
6123 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6124 (FP_TRAPPING_EXCEPTIONS): Define.
6125 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6126 subnormals only when inexact has been signalled or underflow
6127 exceptions are enabled.
6128 (_FP_PACK_CANONICAL): Likewise.
6130 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6133 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6134 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6136 2012-05-30 Richard Henderson <rth@twiddle.net>
6138 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6139 with #ifndef NOT_IN_libc.
6141 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6142 marked to avoid plt entry.
6144 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6147 * Makeconfig (default-abi): New macro.
6148 (abi-includes): Likewise.
6149 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6150 $(abi-$(default-abi)-lib-soname) for soname if defined.
6151 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6153 * Makefile (installed-stubs): Likewise.
6154 * include/stubs-biarch.h: Removed.
6155 * scripts/lib-names.awk: Only handle one library at a time.
6156 * scripts/soversions.awk: Remove WORDSIZE support.
6157 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6159 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6161 (syscall-list-default-condition): Likewise.
6162 (syscall-list-default-condition): Likewise.
6163 (syscall-list-includes): Likewise.
6164 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6165 syscall-list-* with abi-*. Handle undefined abi-variants.
6166 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6167 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6168 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6169 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6170 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6171 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6173 (syscall-list-32-options): Likewise.
6174 (syscall-list-32-condition): Likewise.
6175 (syscall-list-64-options): Likewise.
6176 (syscall-list-64-condition): Likewise.
6177 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6179 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6182 (abi-64-ld-soname): New macro.
6183 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6184 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6187 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6188 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6190 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6192 * sysdeps/unix/sysv/linux/kernel-features.h
6193 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6194 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6195 include <kernel-features.h>.
6196 [!__NR_ftruncate64]: Remove conditional code.
6197 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6198 [__NR_ftruncate64]: Make code unconditional.
6199 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6200 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6201 include <kernel-features.h>.
6202 [!__NR_ftruncate64]: Remove conditional code.
6203 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6204 [__NR_ftruncate64]: Make code unconditional.
6205 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6207 include <kernel-features.h>.
6208 [!__NR_ftruncate64]: Remove conditional code.
6209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6210 [__NR_ftruncate64]: Make code unconditional.
6211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6213 include <kernel-features.h>.
6214 [!__NR_ftruncate64]: Remove conditional code.
6215 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6216 [__NR_ftruncate64]: Make code unconditional.
6217 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6219 * configure.in (libc_cv_fpie): Weaken to a compile test using
6221 * configure: Regenerated.
6223 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6238 2012-05-27 David S. Miller <davem@davemloft.net>
6240 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6242 (__Q_simulate_exceptions): Return void. Change to simulate
6243 exceptions by writing into the %fsr.
6244 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6245 (__Qp_handle_exceptions): Likewise.
6247 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6248 __Qp_handle_exceptions.
6249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6250 __Qp_handle_exceptions.
6251 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6252 as unused and give dummy FP_RND_NEAREST initializer.
6253 (FP_INHIBIT_RESULTS): Define.
6254 (___Q_simulate_exceptions): Update declaration.
6255 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6257 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6258 as unused and give dummy FP_RND_NEAREST initializer.
6259 (__Qp_handle_exceptions): Update declaration.
6260 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6263 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6265 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6266 the temporary FPU control word.
6267 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6268 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6269 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6270 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6271 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6272 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6273 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6274 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6275 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6276 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6277 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6279 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6281 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6284 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6286 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6287 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6288 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6289 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6291 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6292 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6295 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6297 * po/h.po: Update from translation team.
6299 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6301 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6303 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6304 handling of denormals.
6305 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6306 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6307 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6308 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6314 2012-05-26 Marek Polacek <polacek@redhat.com>
6317 * math/libm-test.inc (fma_test): Don't always expect underflow
6320 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6323 * elf/tst-execstack.c: Include stackinfo.h.
6324 (do_test): Adjust test case to ensure that pthread_getattr_np
6325 behaviour remains the same after marking stack executable.
6327 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6329 * sysdeps/unix/sysv/linux/kernel-features.h
6330 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6331 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6333 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6334 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6335 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6337 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6338 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6340 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6342 * configure.in: Define the default includes to being none.
6343 * configure: Regenerated.
6345 2012-05-25 Roland McGrath <roland@hack.frob.com>
6347 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6348 * sysdeps/x86_64/setjmp.S: Likewise.
6349 * sysdeps/i386/bsd-setjmp.S: Likewise.
6350 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6351 * sysdeps/i386/setjmp.S: Likewise.
6352 * sysdeps/i386/__longjmp.S: Likewise.
6353 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6354 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6356 * include/stap-probe.h: New file.
6357 * configure.in: Handle --enable-systemtap.
6358 * configure: Regenerated.
6359 * config.h.in (USE_STAP_PROBE): New #undef.
6360 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6361 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6362 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6364 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6367 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6368 to 2.4.0 where earlier.
6369 * sysdeps/unix/sysv/linux/configure: Regenerated.
6370 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6371 <kernel-features.h>.
6372 [__ASSUME_32BITUIDS]: Make code unconditional.
6373 [!__ASSUME_32BITUIDS]: Remove conditional code.
6374 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6375 <kernel-features.h>.
6376 [__ASSUME_32BITUIDS]: Make code unconditional.
6377 [!__ASSUME_32BITUIDS]: Remove conditional code.
6378 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6379 [__ASSUME_32BITUIDS]: Make code unconditional.
6380 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6381 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6382 <kernel-features.h>.
6383 [__ASSUME_32BITUIDS]: Make code unconditional.
6384 [!__ASSUME_32BITUIDS]: Remove conditional code.
6385 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6386 <kernel-features.h>.
6387 [__ASSUME_32BITUIDS]: Make code unconditional.
6388 [!__ASSUME_32BITUIDS]: Remove conditional code.
6389 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6390 <kernel-features.h>.
6391 [__ASSUME_32BITUIDS]: Make code unconditional.
6392 [!__ASSUME_32BITUIDS]: Remove conditional code.
6393 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6394 <kernel-features.h>.
6395 [__ASSUME_32BITUIDS]: Make code unconditional.
6396 [!__ASSUME_32BITUIDS]: Remove conditional code.
6397 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6398 <kernel-features.h>.
6399 [__ASSUME_32BITUIDS]: Make code unconditional.
6400 [!__ASSUME_32BITUIDS]: Remove conditional code.
6401 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6402 <kernel-features.h>.
6403 [__ASSUME_32BITUIDS]: Make code unconditional.
6404 [!__ASSUME_32BITUIDS]: Remove conditional code.
6405 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6406 <kernel-features.h>.
6407 [__ASSUME_32BITUIDS]: Make code unconditional.
6408 [!__ASSUME_32BITUIDS]: Remove conditional code.
6409 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6410 <kernel-features.h>.
6411 [__ASSUME_32BITUIDS]: Make code unconditional.
6412 [!__ASSUME_32BITUIDS]: Remove conditional code.
6413 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6414 <kernel-features.h>.
6415 [__ASSUME_32BITUIDS]: Make code unconditional.
6416 [!__ASSUME_32BITUIDS]: Remove conditional code.
6417 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6418 <kernel-features.h>.
6419 [__ASSUME_32BITUIDS]: Make code unconditional.
6420 [!__ASSUME_32BITUIDS]: Remove conditional code.
6421 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6422 <kernel-features.h>.
6423 [__NR_setresgid] (__setresgid): Do not declare.
6424 [__ASSUME_32BITUIDS]: Make code unconditional.
6425 [!__ASSUME_32BITUIDS]: Remove conditional code.
6426 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6427 <kernel-features.h>.
6428 [__NR_setresuid] (__setresuid): Do not declare.
6429 [__ASSUME_32BITUIDS]: Make code unconditional.
6430 [!__ASSUME_32BITUIDS]: Remove conditional code.
6431 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
6436 <kernel-features.h>.
6437 [__ASSUME_32BITUIDS]: Make code unconditional.
6438 [!__ASSUME_32BITUIDS]: Remove conditional code.
6439 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6440 <kernel-features.h>.
6441 [__ASSUME_32BITUIDS]: Make code unconditional.
6442 [!__ASSUME_32BITUIDS]: Remove conditional code.
6443 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6444 <kernel-features.h>.
6445 [__ASSUME_32BITUIDS]: Make code unconditional.
6446 [!__ASSUME_32BITUIDS]: Remove conditional code.
6447 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6448 <kernel-features.h>.
6449 [__ASSUME_32BITUIDS]: Make code unconditional.
6450 [!__ASSUME_32BITUIDS]: Remove conditional code.
6451 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6452 <kernel-features.h>.
6453 [__ASSUME_32BITUIDS]: Make code unconditional.
6454 [!__ASSUME_32BITUIDS]: Remove conditional code.
6455 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6456 <kernel-features.h>.
6457 [__ASSUME_32BITUIDS]: Make code unconditional.
6458 [!__ASSUME_32BITUIDS]: Remove conditional code.
6459 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6460 <kernel-features.h>.
6461 [__ASSUME_32BITUIDS]: Make code unconditional.
6462 [!__ASSUME_32BITUIDS]: Remove conditional code.
6463 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6464 <kernel-features.h>.
6465 [__ASSUME_32BITUIDS]: Make code unconditional.
6466 [!__ASSUME_32BITUIDS]: Remove conditional code.
6467 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6468 <kernel-features.h>.
6469 [__ASSUME_32BITUIDS]: Make code unconditional.
6470 [!__ASSUME_32BITUIDS]: Remove conditional code.
6471 * sysdeps/unix/sysv/linux/kernel-features.h
6472 (__ASSUME_SETRESUID_SYSCALL): Remove.
6473 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6474 (__ASSUME_32BITUIDS): Likewise.
6475 (__ASSUME_LDT_WORKS): Likewise.
6476 (__ASSUME_O_DIRECTORY): Likewise.
6477 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6478 architecture but not kernel version.
6479 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6480 (__ASSUME_MMAP2_SYSCALL): Likewise.
6481 (__ASSUME_STAT64_SYSCALL): Likewise.
6482 (__ASSUME_IPC64): Likewise.
6483 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6484 <kernel-features.h>.
6485 [__ASSUME_32BITUIDS]: Make code unconditional.
6486 [!__ASSUME_32BITUIDS]: Remove conditional code.
6487 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6488 <kernel-features.h>.
6489 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6490 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6491 132096]: Remove conditional code.
6492 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6493 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6494 <kernel-features.h>.
6495 [__ASSUME_32BITUIDS]: Make code unconditional.
6496 [!__ASSUME_32BITUIDS]: Remove conditional code.
6497 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6498 <kernel-features.h>.
6499 [__ASSUME_32BITUIDS]: Make code unconditional.
6500 [!__ASSUME_32BITUIDS]: Remove conditional code.
6501 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6502 <kernel-features.h>.
6503 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6505 (__setresgid): Do not declare.
6506 [__ASSUME_32BITUIDS]: Make code unconditional.
6507 [!__ASSUME_32BITUIDS]: Remove conditional code.
6508 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6509 <kernel-features.h>.
6510 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6512 (__setresuid): Do not declare.
6513 [__ASSUME_32BITUIDS]: Make code unconditional.
6514 [!__ASSUME_32BITUIDS]: Remove conditional code.
6515 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6516 <kernel-features.h>.
6517 [__ASSUME_32BITUIDS]: Make code unconditional.
6518 [!__ASSUME_32BITUIDS]: Remove conditional code.
6519 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6520 <kernel-features.h>.
6521 [__ASSUME_32BITUIDS]: Make code unconditional.
6522 [!__ASSUME_32BITUIDS]: Remove conditional code.
6524 2012-05-25 Richard Henderson <rth@twiddle.net>
6526 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6527 dl_hwcap to ifunc resolver.
6528 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6530 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6531 dl_hwcap to ifunc resolver.
6532 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6534 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6537 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6538 for |x| <= 2**-26, not 2**-57.
6539 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6542 2012-05-24 Jeff Law <law@redhat.com>
6544 * stdio-common/Makefile (tests): Add bug25.
6545 * stdio-common/bug25.c: New test.
6547 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6550 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6551 multiple of MALLOC_ALIGNMENT in size.
6552 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6554 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6556 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6558 (FILENAME_MAX): Use macro-int-constant.
6559 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6560 (_IOFBF): Use macro-int-constant.
6563 (SEEK_CUR): Likewise.
6564 (SEEK_END): Likewise.
6565 (SEEK_SET): Likewise.
6566 (TMP_MAX): Likewise.
6567 (EOF): Use macro-int-constant. Require < 0.
6568 (NULL): Use macro-constant. Require == 0.
6569 (stdin): Require type to be FILE *.
6572 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6574 (EXIT_SUCCESS): Likewise.
6575 (NULL): Use macro-constant. Require == 0.
6576 (RAND_MAX): Use macro-int-constant.
6577 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6578 [C99-based standards] (strtof): Require function.
6579 [C99-based standards] (strtold): Likewise.
6580 [C99-based standards] (strtoll): Likewise.
6581 [C99-based standards] (strtoull): Likewise.
6582 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6583 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6584 [ISO || ISO99 || ISO11] (math.h): Likewise.
6585 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6586 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6587 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6589 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6592 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6593 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6594 * intl/dgettext.c (DCGETTEXT): Likewise.
6595 * intl/gettext.c (DCGETTEXT): Likewise.
6596 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6597 * posix/regex_internal.h (gettext): Likewise.
6598 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6600 * include/argz.h (__argz_count_internal)
6601 (__argz_stringify_internal): Remove declaration.
6602 (__argz_count, __argz_stringify): Declare hidden proto.
6603 * intl/dcgettext.c: Remove use of INTDEF.
6604 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6605 * string/argz-stringify.c: Likewise.
6606 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6607 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6608 Declare hidden proto.
6609 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6610 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6611 Declare hidden proto.
6612 * include/stdio.h (__asprintf_internal): Don't declare.
6613 (__asprintf): Don't define as macro. Declare hidden proto.
6614 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6615 (__fsetlocking): Declare hidden proto.
6616 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6617 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6619 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6620 (_IO_setlinebuf): Remove use of INTUSE.
6621 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6622 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6623 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6625 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6626 (_IO_do_flush): Remove use of INTUSE.
6627 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6628 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6629 (_IO_adjust_column, _IO_least_wmarker)
6630 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6631 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6632 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6633 (_IO_default_doallocate, _IO_wdefault_doallocate)
6634 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6635 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6636 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6637 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6638 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6639 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6640 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6641 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6642 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6643 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6644 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6645 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6646 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6648 (_IO_flush_all_internal, _IO_adjust_column_internal)
6649 (_IO_default_uflow_internal, _IO_default_finish_internal)
6650 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6651 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6652 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6653 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6654 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6655 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6656 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6657 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6658 (_IO_file_close_internal, _IO_file_close_it_internal)
6659 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6660 (_IO_file_init_internal, _IO_file_attach_internal)
6661 (_IO_file_fopen_internal, _IO_file_read_internal)
6662 (_IO_file_sync_internal, _IO_file_seek_internal)
6663 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6664 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6665 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6666 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6667 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6668 (_IO_list_all_internal, _IO_link_in_internal)
6669 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6670 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6671 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6672 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6673 (_IO_do_write_internal, _IO_padn_internal)
6674 (_IO_getline_info_internal, _IO_getline_internal)
6675 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6676 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6677 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6678 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6679 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6680 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6681 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6682 with libc_hidden_ver, remove use of INTUSE.
6683 * libio/genops.c: Likewise.
6684 * libio/freopen.c: Likewise.
6685 * libio/freopen64.c: Likewise.
6686 * libio/iofclose.c: Likewise.
6687 * libio/iofdopen.c: Likewise.
6688 * libio/iofflush.c: Likewise.
6689 * libio/iofflush_u.c: Likewise.
6690 * libio/iofgets.c: Likewise.
6691 * libio/iofgets_u.c: Likewise.
6692 * libio/iofopen.c: Likewise.
6693 * libio/iofopncook.c: Likewise.
6694 * libio/iofread.c: Likewise.
6695 * libio/iofread_u.c: Likewise.
6696 * libio/ioftell.c: Likewise.
6697 * libio/iofwrite.c: Likewise.
6698 * libio/iogetline.c: Likewise.
6699 * libio/iogets.c: Likewise.
6700 * libio/iogetwline.c: Likewise.
6701 * libio/iopadn.c: Likewise.
6702 * libio/iopopen.c: Likewise.
6703 * libio/ioseekoff.c: Likewise.
6704 * libio/ioseekpos.c: Likewise.
6705 * libio/iosetbuffer.c: Likewise.
6706 * libio/iosetvbuf.c: Likewise.
6707 * libio/ioungetc.c: Likewise.
6708 * libio/ioungetwc.c: Likewise.
6709 * libio/iovdprintf.c: Likewise.
6710 * libio/iovsprintf.c: Likewise.
6711 * libio/iovsscanf.c: Likewise.
6712 * libio/memstream.c: Likewise.
6713 * libio/obprintf.c: Likewise.
6714 * libio/oldfileops.c: Likewise.
6715 * libio/oldiofclose.c: Likewise.
6716 * libio/oldiofdopen.c: Likewise.
6717 * libio/oldiofopen.c: Likewise.
6718 * libio/oldiopopen.c: Likewise.
6719 * libio/oldstdfiles.c: Likewise.
6720 * libio/putc.c: Likewise.
6721 * libio/setbuf.c: Likewise.
6722 * libio/setlinebuf.c: Likewise.
6723 * libio/stdfiles.c: Likewise.
6724 * libio/strops.c: Likewise.
6725 * libio/vasprintf.c: Likewise.
6726 * libio/vscanf.c: Likewise.
6727 * libio/vsnprintf.c: Likewise.
6728 * libio/vswprintf.c: Likewise.
6729 * libio/wfiledoalloc.c: Likewise.
6730 * libio/wfileops.c: Likewise.
6731 * libio/wgenops.c: Likewise.
6732 * libio/wmemstream.c: Likewise.
6733 * libio/wstrops.c: Likewise.
6734 * libio/__fpurge.c: Likewise.
6735 * libio/__fsetlocking.c: Likewise.
6736 * assert/assert.c: Likewise.
6737 * debug/fgets_chk.c: Likewise.
6738 * debug/fgets_u_chk.c: Likewise.
6739 * debug/fread_chk.c: Likewise.
6740 * debug/fread_u_chk.c: Likewise.
6741 * debug/gets_chk.c: Likewise.
6742 * debug/obprintf_chk.c: Likewise.
6743 * debug/vasprintf_chk.c: Likewise.
6744 * debug/vdprintf_chk.c: Likewise.
6745 * debug/vsnprintf_chk.c: Likewise.
6746 * debug/vsprintf_chk.c: Likewise.
6747 * malloc/mtrace.c: Likewise.
6748 * misc/error.c: Likewise.
6749 * misc/syslog.c: Likewise.
6750 * stdio-common/asprintf.c: Likewise.
6751 * stdio-common/fxprintf.c: Likewise.
6752 * stdio-common/getw.c: Likewise.
6753 * stdio-common/isoc99_fscanf.c: Likewise.
6754 * stdio-common/isoc99_scanf.c: Likewise.
6755 * stdio-common/isoc99_vfscanf.c: Likewise.
6756 * stdio-common/isoc99_vscanf.c: Likewise.
6757 * stdio-common/isoc99_vsscanf.c: Likewise.
6758 * stdio-common/printf-prs.c: Likewise.
6759 * stdio-common/printf_fp.c: Likewise.
6760 * stdio-common/printf_fphex.c: Likewise.
6761 * stdio-common/printf_size.c: Likewise.
6762 * stdio-common/putw.c: Likewise.
6763 * stdio-common/scanf.c: Likewise.
6764 * stdio-common/sprintf.c: Likewise.
6765 * stdio-common/tmpfile.c: Likewise.
6766 * stdio-common/vfprintf.c: Likewise.
6767 * stdio-common/vfscanf.c: Likewise.
6768 * stdlib/strfmon_l.c: Likewise.
6769 * sunrpc/openchild.c: Likewise.
6770 * sunrpc/xdr_stdio.c: Likewise.
6771 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6772 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6774 2012-05-24 Roland McGrath <roland@hack.frob.com>
6776 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6778 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6779 in the third column, to generate for the shared library an IFUNC
6780 that uses _dl_vdso_vsym.
6781 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6782 * Makeconfig (object-suffixes-noshared): New variable.
6784 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6785 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6786 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6787 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6790 * include/sys/time.h (__gettimeofday): Remove macro.
6791 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6792 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6794 (__gettimeofday): Add libc_hidden_def.
6795 (gettimeofday): Add libc_hidden_weak.
6796 * sysdeps/mach/gettimeofday.c: Likewise.
6797 * sysdeps/posix/gettimeofday.c: Likewise.
6798 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6799 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6801 (__gettimeofday_internal): Remove strong_alias.
6802 (__gettimeofday): Add libc_hidden_def.
6803 (gettimeofday): Add libc_hidden_weak.
6804 * sysdeps/unix/syscalls.list (gettimeofday):
6805 Remove __gettimeofday_internal alias.
6807 2012-05-24 Daniel Jacobowitz <drow@false.org>
6808 H.J. Lu <hongjiu.lu@intel.com>
6811 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6812 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6813 (largebin_index_32_big): New.
6814 (largebin_index): Use it for 16-byte alignment.
6815 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6816 correction with front_misalign.
6818 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6846 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6847 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6849 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6853 * math/libm-test.inc (exp_test): Add test from bug 14036.
6854 (pow_test): Add test from bug 10846.
6856 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6858 (special_function): Do not include flags in test name.
6859 (parse_args): Likewise.
6860 * sysdeps/i386/fpu/libm-test-ulps: Update.
6861 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6862 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6863 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6866 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6868 * math/libm-test.inc ("Philosophy"): Update comment about
6870 (UNDERFLOW_EXCEPTION): New macro.
6871 (UNDERFLOW_EXCEPTION_OK): Likewise.
6872 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6873 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6874 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6875 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6876 (INVALID_EXCEPTION_OK): Update value.
6877 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6878 (OVERFLOW_EXCEPTION_OK): Likewise.
6879 (IGNORE_ZERO_INF_SIGN): Likewise.
6880 (test_exceptions): Handle underflow exceptions.
6881 (acos_test): Update for underflow exception expectations.
6882 (cexp_test): Likewise.
6883 (clog_test): Likewise.
6884 (clog10_test): Likewise.
6885 (csqrt_test): Likewise.
6886 (ctan_test): Likewise.
6887 (ctanh_test): Likewise.
6888 (exp_test): Likewise.
6889 (exp10_test): Likewise.
6890 (exp2_test): Likewise.
6891 (expm1_test): Likewise.
6892 (fma_test): Likewise.
6893 (j0_test): Likewise.
6894 (jn_test): Likewise.
6895 (nexttoward_test): Likewise.
6896 (pow_test): Likewise.
6897 (scalbn_test): Likewise.
6898 (scalbln_test): Likewise.
6899 (tan_test): Likewise.
6900 (y1_test): Likewise.
6901 * sysdeps/i386/fpu/libm-test-ulps: Update.
6902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904 2012-05-23 David S. Miller <davem@davemloft.net>
6906 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6907 (__libc_sigaction): Remove unused local variables.
6909 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6911 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6913 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6915 mktime: avoid signed integer overflow
6916 * time/mktime.c (__mktime_internal): Do not mishandle the case
6917 where diff == INT_MIN.
6919 mktime: simplify computation of average
6920 * time/mktime.c (ranged_convert): Use new time_t_avg function
6921 instead of rolling our own (probably-slower) code.
6923 mktime: do not assume signed right shift propagates sign bit
6924 * time/mktime.c (isdst_differ): New static function.
6925 (__mktime_internal): No need to normalize tm_isdst now.
6926 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6929 mktime: merge another wrapv change from gnulib
6930 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6931 from some compilers.
6933 mktime: remove incorrect attempt at unusual arithmetics
6934 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6935 The code didn't really work on such machines anyway.
6936 (TYPE_MINIMUM): Assume two's complement.
6937 (twos_complement_arithmetic): Verify that long_int and time_t
6938 are two's complement (or unsigned, in the latter case).
6940 mktime: check signed shifts on long_int and time_t, too
6941 * time/mktime.c (SHR): Check that shifts work as desired
6942 on the types long_int and time_t too, as SHR is used on
6945 mktime: do not assume 'long' is wide enough
6946 * time/mktime.c (verify): Move decl up.
6947 (long_int): New type.
6948 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6949 to remove assumption in the code that 'long' is wide enough to
6950 store year values. This assumption is not true on x32 and on
6951 some non-glibc platforms.
6953 mktime: merge wrapv change from gnulib
6954 * time/mktime.c (WRAPV): New macro.
6955 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6956 (guess_time_tm, __mktime_internal): Do not assume that signed
6957 integer overflow wraps around; modern compilers generate code
6958 where this assumption is no longer valid.
6960 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6962 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6963 Replace "jmp L(pseudo_end)" with "ret".
6964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6967 2012-05-23 Andreas Jaeger <aj@suse.de>
6969 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6970 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6972 2012-05-23 Andreas Jaeger <aj@suse.de>
6973 Maximilian Attems <max@stro.at>
6975 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6978 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6980 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6981 code so that pseudo_end is just ret and the stack pointer is
6982 correct also for static library in error case.
6984 2012-05-23 Joseph Myers <joseph@codesourcery.com>
6986 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6987 move to syscalls.list.
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6993 * manual/install.texi (Running make install): Do not mention Linux
6994 kernel version for which pt_chown is not needed.
6995 (Linux): Do not mention problems with nscd with 2.0 kernels.
6996 * INSTALL: Regenerated.
6998 2012-05-23 Andreas Jaeger <aj@suse.de>
7000 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7001 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7003 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7004 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7005 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7006 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7007 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7008 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7009 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7010 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7012 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7013 * sysdeps/unix/sysv/linux/bits/in.h
7014 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7016 2012-05-22 Roland McGrath <roland@hack.frob.com>
7018 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7019 (PREPARE_VERSION): Just use assert instead, it will be elided
7020 under [NDEBUG] anyway.
7022 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7024 * sysdeps/unix/sysv/linux/Makefile: Include
7025 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7026 (sysdep_routines): Remove sysctl.
7027 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7028 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7029 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7030 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7031 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7033 2012-05-22 Andreas Jaeger <aj@suse.de>
7035 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7036 that pseudo_end is just ret and the stack pointer is correct also
7037 for static library in error case.
7039 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7042 * nss/nsswitch.c (defconfig_entries): New variable.
7043 (__nss_database_lookup): Don't leak defconfig entries.
7044 (nss_parse_service_list): Don't leak on error paths.
7045 (free_database_entries): New function.
7046 (free_defconfig): New function.
7047 (free_mem): Move common code to free_database_entries.
7049 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7051 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7053 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7055 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7056 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7059 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7060 (INTERNAL_SYSCALL_TYPES): Likewise.
7061 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7062 (LOAD_REGS_TYPES_[1-6]): Likewise.
7063 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7064 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7066 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7068 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7069 copysignl for GLIBC_2_0.
7070 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7071 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7073 logbl for GLIBC_2_0.
7074 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7075 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7077 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7080 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7082 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7085 * time/mktime.c: Update copyright years.
7087 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7089 mktime: merge comment-quoting-style change from gnulib
7090 * time/mktime.c: Quote 'like this' in comments.
7091 The GNU coding standards suggest that we no longer quote `like this',
7092 as "`" and "'" are typically rendered asymmetrically nowadays.
7093 The typical gnulib style is to quote 'like this' when quoting
7094 code, and "like this" when quoting English.
7096 * time/mktime.c (compile-command): Add "-I.".
7098 mktime: merge mktime-internal.h change from gnulib
7099 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7101 mktime: merge time_r change from gnulib
7102 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7104 mktime: merge DEBUG change from gnulib
7105 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7106 case system <time.h> has a #define.
7108 mktime: merge <sys/types.h> change from gnulib
7109 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7110 since <time.t> is now guaranteed to define time_t.
7112 mktime: merge HAVE_CONFIG_H change from gnulib
7113 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7115 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7120 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7122 (struct rusage): Use anonymous union to pad each field to
7125 2012-05-21 David S. Miller <davem@davemloft.net>
7127 * Makefules (o-iterator): Remove .s cases.
7128 (compile-command.s): Delete.
7129 (COMPILE.s): Delete.
7130 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7132 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7134 * configure.in (libc_cv_predef_stack_protector): Only consider
7135 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7136 * configure: Regenerated.
7138 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7141 New macro. Use R*LP on int and pointer.
7142 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7143 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7144 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7145 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7147 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7148 [__WORDSIZE_TIME64_COMPAT32] instead of
7149 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7150 (struct utmp): Likewise.
7151 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7152 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7154 (__WORDSIZE_TIME64_COMPAT32): This.
7155 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7156 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7157 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7159 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7160 (__WORDSIZE_TIME64_COMPAT32): New macro.
7162 2012-05-21 Andreas Jaeger <aj@suse.de>
7164 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7165 only if [SHARED]. Add prototype for __wcschr_ia32.
7167 2012-05-21 Roland McGrath <roland@hack.frob.com>
7169 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7170 of %rbp unmolested in the jmp_buf while mangling the low bits.
7171 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7172 unmolested high bits of %rbp while demangling the low bits.
7173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7175 2012-05-21 Andreas Jaeger <aj@suse.de>
7177 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7178 * sunrpc/svc_simple.c: Use it for registerrpc.
7179 * sunrpc/xcrypt.c: Use it for passwd2des.
7181 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7183 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7185 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7186 Don't define if [__SYSCALL_WORDSIZE != 32].
7187 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7190 2012-05-21 Bruno Haible <bruno@clisp.org>
7191 Andreas Jaeger <aj@suse.de>
7193 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7194 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7195 inptr and inend for must_buffer_ch.
7196 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7197 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7198 * stdio-common/Makefile (tests): Remove bug15.
7199 (bug15-ENV): Remove macro.
7200 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7203 2012-05-19 Andreas Jaeger <aj@suse.de>
7204 Roland McGrath <roland@hack.frob.com>
7206 * manual/contrib.texi: Completely rewritten. It contains now an
7207 alphabetical list of contributors and their contributions.
7209 2012-05-21 Richard Henderson <rth@twiddle.net>
7211 * misc/getauxval.c (__getauxval): Use unsigned long int.
7212 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7213 (getauxval): Use unsigned long int.
7215 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7217 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7219 2012-05-21 Roland McGrath <roland@hack.frob.com>
7221 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7222 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7223 __alignof__ (long double).
7225 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7229 2012-05-20 Richard Henderson <rth@twiddle.net>
7231 * misc/getauxval.c: New file.
7232 * misc/sys/auxv.h: New file.
7233 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7234 (routines): Add getauxval.
7235 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7236 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7237 * elf/dl-sysdep.c (_dl_auxv): Remove.
7238 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7239 * elf/dl-support.c (_dl_auxv): New variable.
7240 (_dl_aux_init): Initialize it.
7241 * manual/startup.texi (Auxiliary Vector): New node.
7242 * sysdeps/generic/bits/hwcap.h: New file.
7243 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7244 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7245 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7246 * sysdeps/sparc/sysdep.h: ... here. Include it.
7247 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7248 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7260 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7264 2012-05-19 David S. Miller <davem@davemloft.net>
7266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7268 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7271 * math/s_ccosh.c: Include <float.h>
7272 (__ccosh): Avoid internal overflow calculating sinh and cosh
7273 values before multiplying by sin and cos values.
7274 * math/s_ccoshf.c: Likewise.
7275 * math/s_ccoshl.c: Likewise.
7276 * math/s_csin.c: Likewise.
7277 * math/s_csinf.c: Likewise.
7278 * math/s_csinl.c: Likewise.
7279 * math/s_csinh.c: Likewise.
7280 * math/s_csinhf.c: Likewise.
7281 * math/s_csinhl.c: Likewise.
7282 * math/libm-test.inc (ccos_test): Add more tests.
7283 (ccosh_test): Likewise.
7284 (csin_test): Likewise.
7285 (csinh_test): Likewise.
7286 * sysdeps/i386/fpu/libm-test-ulps: Update.
7287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7289 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7291 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7292 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7294 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7296 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7298 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7299 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7300 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7301 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7302 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7303 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7304 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7305 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7306 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7307 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7308 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7309 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7310 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7311 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7312 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7313 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7314 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7315 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7316 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7317 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7318 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7319 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7320 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7321 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7322 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7323 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7324 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7325 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7326 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7327 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7328 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7330 2012-05-18 Andreas Jaeger <aj@suse.de>
7332 * csu/.gitignore: Delete.
7334 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7336 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7337 (timex): Use __syscall_slong_t.
7339 2012-05-18 Andreas Jaeger <aj@suse.de>
7340 Carlos O'Donell <carlos_odonell@mentor.com>
7342 * manual/install.texi (Configuring and compiling): Update
7343 description about files modified in the source directory.
7344 * INSTALL: Regenerated.
7346 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7348 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7349 value. Use "or" to set return value to -1.
7350 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7351 negate return value.
7353 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7355 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7356 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7357 failure if the compiler has Graphite support disabled.
7358 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7360 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7361 CFLAGS-memmove.c): Likewise.
7362 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7365 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7367 * sysdeps/x86_64/x32/_itoa.h: New file.
7369 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7370 getdents system call only if kernel and user dirents have the
7371 same d_ino and d_off.
7373 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7374 LLONG_MAX != LONG_MAX.
7375 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7376 (_fitoa_word): Likewise.
7378 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7380 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7381 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7382 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7384 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7385 include <bits/wordsize.h>. Check __x86_64__ instead of
7387 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7388 if __x86_64__ is defined. Use anonymous union on fpstate.
7390 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7393 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7395 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7396 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7397 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7398 Refer to _rtld_local_ro instead of _rtld_global_ro.
7399 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7401 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7403 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7405 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7406 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7407 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7409 * sysdeps/powerpc/powerpc32/dl-machine.c
7410 (__elf_machine_runtime_setup) [PROF]: Don't reference
7413 2012-05-18 Andreas Jaeger <aj@suse.de>
7415 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7416 function only available for GCCs before 3.4 since GCC 3.4
7417 introduced a builtin.
7419 (llrintf): Likewise.
7427 (nearbyint): Likewise.
7428 (nearbyintf): Likewise.
7434 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7436 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7437 on both fields and cast pointer to __syscall_ulong_t.
7439 * bits/types.h (__fsword_t): New type.
7440 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7441 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7443 (__FSWORD_T_TYPE): Likewise.
7444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7445 (__FSWORD_T_TYPE): Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7447 (__FSWORD_T_TYPE): Likewise.
7448 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7449 (__FSWORD_T_TYPE): Likewise.
7450 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7451 __SWORD_TYPE with __fsword_t.
7452 (statfs64): Likewise.
7454 2012-05-17 David S. Miller <davem@davemloft.net>
7456 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7458 2012-05-17 Andreas Jaeger <aj@suse.de>
7460 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7463 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7465 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7467 2012-05-17 Andreas Jaeger <aj@suse.de>
7469 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7472 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7474 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7476 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7478 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7479 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7481 2012-05-17 Andreas Jaeger <aj@suse.de>
7482 Carlos O'Donell <carlos_odonell@mentor.com>
7485 * sysdeps/x86_64/multiarch/init-arch.h
7486 (bit_YMM_Usable): Rename to...
7487 (bit_AVX_Usable): ... this.
7488 (bit_FMA4_Usable): New macro.
7489 (bit_XMM_state): New macro.
7490 (bit_YMM_state): New macro.
7491 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7492 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7493 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7494 (CPUID_OSXSAVE): New macro.
7495 (CPUID_AVX): New macro.
7496 (CPUID_FMA4): New macro.
7497 (index_YMM_Usable): Rename to...
7498 (index_AVX_Usable): ... this.
7499 (HAS_AVX): Use HAS_ARCH_FEATURE.
7500 (HAS_FMA4): Likewise.
7501 (HAS_YMM_USABLE): Remove.
7502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7503 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7505 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7506 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7507 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7508 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7509 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7511 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7513 * math/libm-test.c: Support platforms without multiple rounding modes.
7514 * math/bug-nextafter.c: Support platforms without FP exceptions.
7515 * math/bug-nexttoward.c: Likewise.
7516 * math/test-fenv.c: Likewise.
7517 * math/test-misc.c: Likewise.
7518 * stdlib/bug-getcontext.c: Likewise.
7520 2012-05-17 Andreas Jaeger <aj@suse.de>
7522 * manual/examples/search.c (critter_cmp): Change signature to
7524 * manual/string.texi (Collation Functions): Likewise.
7526 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7528 * bits/types.h: Fold copyright years.
7529 * bits/typesizes.h: Likewise.
7530 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7534 * time/time.h: Likewise.
7536 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7539 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7540 in instead of returning them. Return void.
7541 (__libc_mallinfo): Accumulate over all arenas.
7542 (__malloc_stats): Adjust for change in int_mallinfo interface.
7544 2012-05-16 Roland McGrath <roland@hack.frob.com>
7547 * configure.in (NM): Add AC_CHECK_TOOL for it.
7548 (libc_extra_cflags): New substituted variable.
7549 Check for -fstack-protector being used implicitly.
7550 * configure: Regenerated.
7551 * config.make.in (config-extra-cflags): New variable,
7552 gets @libc_extra_cflags@.
7553 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7556 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7557 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7558 * configure: Regenerated.
7559 * config.make.in (CPPUNDEFS): New substituted variable.
7560 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7561 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7562 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7564 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7566 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7567 (mq_attr): Use __syscall_slong_t.
7569 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7571 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7572 Check __x86_64__ instead of __WORDSIZE.
7573 (_STAT_VER_LINUX): Likewise.
7574 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7575 __syscall_ulong_t and __syscall_slong_t.
7578 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7582 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7584 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7586 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7588 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7591 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7592 include <bits/wordsize.h>. Check __x86_64__ instead of
7594 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7596 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7598 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7599 include <bits/wordsize.h>. Check __x86_64__ instead of
7601 (user_regs_struct): Use "__extension__ unsigned long long"
7602 instead of "unsigned long" if __x86_64__ is defined.
7603 (user): Likewise. Pad after pointer field if __ILP32__ is
7606 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7608 * configure.in (makeinfo): Require version 4.5 or later. Allow
7610 * configure: Regenerated.
7611 * manual/install.texi (texinfo): Increase version requirement to
7613 * INSTALL: Regenerated.
7615 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7617 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7619 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7621 * sysdeps/x86_64/x32/ffs.c: New file.
7623 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7625 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7626 defined. Use __syscall_ulong_t.
7627 (shminfo): Use __syscall_ulong_t.
7628 (shm_info): Likewise.
7630 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7633 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7635 (msgqnum_t): Use __syscall_ulong_t.
7636 (msglen_t): Likewise.
7637 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7640 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7641 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7643 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7645 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7646 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7648 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7651 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7652 include <bits/wordsize.h>. Check __x86_64__ instead of
7655 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7656 "unsigned long long int" if __x86_64__ is defined.
7657 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7659 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7660 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7661 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7663 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7665 (GET_PC): Cast to uintptr_t first.
7666 (GET_FRAME): Likewise.
7667 (GET_STACK): Likewise.
7669 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7671 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7672 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7673 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7674 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7675 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7676 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7677 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7678 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7679 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7680 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7681 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7682 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7683 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7684 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7685 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7686 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7687 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7688 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7689 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7690 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7692 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7694 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7695 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7699 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7701 * Makerules (+depfiles): Also collect depfiles from .oS in
7703 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7704 .oS, $(libnldbl-routines)).
7706 * Makerules (native-compile-mkdep-flags): Define.
7707 * sunrpc/Makefile (extra-objs): Add $(addprefix
7708 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7709 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7710 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7711 calling $(make-target-directory).
7713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7715 * bits/types.h (__snseconds_t): Removed.
7716 * time/time.h (struct timespec): Replace __snseconds_t with
7718 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7719 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7722 (__SNSECONDS_T_TYPE): Likewise.
7723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7724 (__SNSECONDS_T_TYPE): Likewise.
7725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7726 (__SNSECONDS_T_TYPE): Likewise.
7728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7730 * sysdeps/mach/hurd/bits/typesizes.h
7731 (__SYSCALL_SLONG_TYPE): New macro.
7732 (__SYSCALL_ULONG_TYPE): Likewise.
7734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7736 * bits/types.h (__syscall_slong_t): New type.
7737 (__syscall_ulong_t): Likewise.
7739 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7740 (__SYSCALL_ULONG_TYPE): Likewise.
7741 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7742 (__SYSCALL_SLONG_TYPE): Likewise.
7743 (__SYSCALL_ULONG_TYPE): Likewise.
7744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7745 (__SYSCALL_SLONG_TYPE): Likewise.
7746 (__SYSCALL_ULONG_TYPE): Likewise.
7747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7748 (__SYSCALL_SLONG_TYPE): Likewise.
7749 (__SYSCALL_ULONG_TYPE): Likewise.
7751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7753 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7754 Add sigaltstack-offsets.sym.
7755 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7756 <sigaltstack-offsets.h>.
7757 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7758 longjmp_msg pointer.
7759 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7760 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7762 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7764 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7766 * elf/stackguard-macros.h: Remove file.
7767 * sysdeps/generic/stackguard-macros.h: New file.
7768 * sysdeps/i386/stackguard-macros.h: Likewise.
7769 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7770 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7771 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7772 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7773 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7774 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7775 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7776 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7777 <elf/stackguard-macros.h>.
7780 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7781 __aligned__ in attribute.
7782 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7783 (gregset_t): Likewise.
7785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7787 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7788 * sysdeps/x86_64/64/Implies-after: Here. New file.
7789 * sysdeps/x86_64/x32/Implies-after: New file.
7791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7793 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7794 and access return value for _dl_profile_fixup. Use R10_LP to
7797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7799 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7803 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7804 * sysdeps/x86_64/x32/sysdep.h: New file.
7806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7808 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7809 * sysdeps/x86_64/setjmp.S: Likewise.
7811 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7813 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7815 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7816 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7817 remove unused global constant.
7819 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7821 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7822 include of <not-cancel.h>.
7824 2012-05-15 Roland McGrath <roland@hack.frob.com>
7826 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7828 2012-05-15 Jeff Law <law@redhat.com>
7829 Andreas Jaeger <aj@suse.de>
7832 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7834 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7835 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7836 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7837 code changing __hst_map_handle.map.
7839 2012-05-15 Roland McGrath <roland@hack.frob.com>
7841 * configure.in (sysnames): Look for Implies-before and Implies-after
7843 * configure: Regenerated.
7845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7847 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7848 8-byte data alignment with LP_SIZE alignment.
7850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7852 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7857 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7861 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7862 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7863 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7865 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7869 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7870 (stackinfo_sub_sp): Likewise.
7872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7874 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7879 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7884 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7889 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7893 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7894 into R11_LP and load __x86_64_shared_cache_size_half into
7897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7899 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7902 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7910 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7911 powerpc32/power7/fpu/s_logb.c via #include.
7912 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7913 powerpc32/power7/fpu/s_logbf.c via #include.
7914 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7915 powerpc32/power7/fpu/s_logbl.c via #include.
7917 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7919 * README.libm: Remove file.
7921 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7923 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7924 count for x32. Use R*_LP and omit operand-size suffix.
7926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7928 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7929 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7930 * sysdeps/x86_64/x32/shlib-versions: New file.
7932 2012-05-14 Roland McGrath <roland@hack.frob.com>
7934 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7935 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7936 Use _dl_fatal_printf instead.
7938 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7940 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7941 set if not set by the user. Do not allow for being unset.
7942 * sysdeps/unix/sysv/linux/configure: Regenerated.
7944 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7946 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7947 the `q' suffix from lea and replace .quad with ASM_ADDR.
7949 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7952 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7954 (PTR_DEMANGLE): Likewise.
7956 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7958 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7960 (ASM_ADDR): Likewise.
7978 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7980 * sysdeps/x86_64/x32/dl-machine.h: New file.
7982 2012-05-14 Andreas Jaeger <aj@suse.de>
7984 * manual/Makefile (subdir): Remove export of subdir.
7985 (all): Remove target.
7986 (.PHONY): Remove all from list.
7987 (mkinstalldirs): Remove.
7988 (.PHONY): Remove installdirs from list.
7989 ($(inst_infodir)/libc.info): Use make-target-directory.
7990 (installdirs): Remove.
7992 (glibc-targets): Remove.
7995 ($(objpfx)stubs ../po/manual.pot): Remove.
7996 ($(objpfx)stamp%): Remove.
7997 (make-target-directory): Remove.
7998 (subdir_install): Remove.
8006 * manual/.gitignore: Remove, it's not needed anymore.
8007 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8009 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8011 (texis): Renamed to $(objpfx)texis.
8012 (texis-path): New, contains path to generated files.
8013 (chapters.%): Use texis-path for complete path, add extra argument
8015 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8016 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8017 (summary,texi, stamp-summary): Use complete path of
8018 files. Generate files in build dir.
8019 (dir-add.texi): Build in build dir.
8020 (libm-err.texi,stamp-libm-err): Likewise.
8021 (version.texi, stamp-version): Likewise.
8022 (.%c.texi): Likewise.
8023 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8024 (mostlyclean): Remove target.
8025 (realclean): Remove target.
8026 (generated): Add new variable with contents from mostlyclean and
8027 realclean, remove entries duplicated in common-mostlyclean, add
8028 stamp-libm-err and stamp-version.
8029 (generated-dirs): Add libc directory.
8030 ($(inst_infodir)/libc.info): Install files from build dir.
8032 * manual/install.texi (Configuring and compiling): Adjust since
8033 the info files are not part of the tar ball anymore.
8035 2012-05-14 Andreas Jaeger <aj@suse.de>
8037 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8040 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8043 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8044 to 2.2.0 where earlier.
8045 * sysdeps/unix/sysv/linux/configure: Regenerated.
8046 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8047 Remove conditional code.
8048 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8049 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8050 Remove conditional code.
8051 [!__NR_lchown]: Likewise.
8052 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8053 [__NR_lchown]: Likewise.
8054 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8055 comment referencing __ASSUME_LCHOWN_SYSCALL.
8056 * sysdeps/unix/sysv/linux/i386/sigaction.c
8057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8059 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8060 Remove conditional code.
8061 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8062 (__protocol_available): Remove #if 0 code.
8063 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8065 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8066 * sysdeps/unix/sysv/linux/kernel-features.h
8067 (__ASSUME_GETCWD_SYSCALL): Don't define.
8068 (__ASSUME_REALTIME_SIGNALS): Likewise.
8069 (__ASSUME_PREAD_SYSCALL): Likewise.
8070 (__ASSUME_PWRITE_SYSCALL): Likewise.
8071 (__ASSUME_POLL_SYSCALL): Likewise.
8072 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8073 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8075 (__ASSUME_SIOCGIFNAME): Don't define.
8076 (__ASSUME_MSG_NOSIGNAL): Likewise.
8077 (__ASSUME_SENDFILE): Define unconditionally.
8078 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8079 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8081 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8082 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8083 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8084 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8085 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8086 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8087 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8089 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8092 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8095 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8096 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8098 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8101 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8112 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8113 Remove conditional code.
8114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8115 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8116 Remove conditional code.
8117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8118 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8119 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8120 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8121 Remove conditional code.
8122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8123 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8124 Remove conditional code.
8125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8126 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8127 Remove conditional code.
8128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8129 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8130 Remove conditional code.
8131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8132 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8133 Remove conditional code.
8134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8135 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8138 * sysdeps/unix/sysv/linux/sigaction.c
8139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8141 * sysdeps/unix/sysv/linux/sigpending.c
8142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8144 * sysdeps/unix/sysv/linux/sigprocmask.c
8145 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8146 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8147 * sysdeps/unix/sysv/linux/sigsuspend.c
8148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8150 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8151 (__libc_missing_rt_sigs): Remove.
8152 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8153 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8154 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8155 Remove conditional code.
8156 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8157 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8159 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8160 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8161 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8162 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8164 2012-05-14 Andreas Jaeger <aj@suse.de>
8166 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8167 it's not used in glibc.
8168 (__coshm1): Likewise.
8169 (__acosh1p): Likewise.
8172 * manual/string.texi (Copying and Concatenation): Add missing
8173 variable in concat example.
8174 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8176 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8180 __builtin_clzl with __builtin_clzll.
8182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8185 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8188 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8190 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8191 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8192 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8193 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8195 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8197 * NEWS: Update ia64 info.
8199 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8201 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8204 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8206 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8207 * sysdeps/unix/syscalls.list (dup3): Likewise.
8208 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8209 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8211 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8213 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8214 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8216 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8218 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8220 (TLS_IE): Use mov/add instead of movq/addq to load thread
8222 (TLS_GD_PREFIX): New.
8225 2012-05-11 David S. Miller <davem@davemloft.net>
8227 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8228 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8229 (_FPU_SETCW): Likewise.
8231 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8233 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8236 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8239 * iconvdata/gb18030.c: Update tables.
8240 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8241 characters specially.
8242 (BODY for TO_LOOP): Add encoding of missing ranges.
8244 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8247 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8248 * sysdeps/mach/hurd/dup3.c: Likewise.
8249 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8250 * sysdeps/powerpc/memmove.c:: Likewise.
8252 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8255 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8257 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8259 * elf/elf.h (R_X86_64_RELATIVE64): New.
8260 (R_X86_64_NUM): Updated.
8261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8262 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8263 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8264 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8265 tst-quad1pie tst-quad2pie
8266 (modules-names): Add tst-quadmod1 tst-quadmod2.
8267 ($(objpfx)tst-quad1): New dependency.
8268 ($(objpfx)tst-quad2): Likewise.
8269 ($(objpfx)tst-quad1pie): Likewise.
8270 ($(objpfx)tst-quad2pie): Likewise.
8271 * sysdeps/x86_64/tst-quad1.c: New file.
8272 * sysdeps/x86_64/tst-quad1pie.c: New file.
8273 * sysdeps/x86_64/tst-quad2.c: Likewise.
8274 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8275 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8276 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8277 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8278 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8280 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8282 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8283 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8284 * streams/stropts.h (t_scalar_t): Define type.
8286 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8287 (_PATH_PRESERVE): Set to "/var/lib".
8288 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8290 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8293 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8294 if __dir_mkfile succeeded.
8296 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8297 checking for _hurd_dtablesize. Unlock it right after having
8298 finished _hurd_dtable allocation.
8300 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8302 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8303 * sysdeps/mach/hurd/configure: Regenerated.
8304 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8305 special-casing to...
8306 * sysdeps/gnu/configure.in: ... this new file.
8307 * sysdeps/unix/sysv/linux/configure: Regenerated.
8308 * sysdeps/gnu/configure: New generated file.
8310 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8311 for Linux: use nsec instead of usec, as well as:
8312 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8313 members of type struct timespec.
8314 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8316 (struct stat64): Likewise.
8317 (_STATBUF_ST_NSEC): New macro.
8318 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8320 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8321 __strtoul_internal rather than strtoul.
8323 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8325 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8328 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8330 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8331 which preserves existing values.
8332 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8334 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8336 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8337 TIMEOUT values. Return EINVAL for NFDS values either negative or
8338 greater than FD_SETSIZE.
8340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8342 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8343 allocated, call __vm_protect to finish enabling the existing space, and
8344 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8345 allocate the remainder.
8347 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8349 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8350 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8354 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8355 sysdeps/mach/hurd/readlink.c.
8357 * posix/tst-sysconf.c (posix_options): Only use
8358 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8359 _POSIX_SYNCHRONIZED_IO when they are defined
8360 * sysdeps/mach/hurd/bits/posix_opt.h:
8361 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8362 (_XOPEN_REALTIME): Undefine macro.
8363 (_XOPEN_REALTIME_THREADS): Undefine macro.
8364 (_XOPEN_SHM): Undefine macro.
8365 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8367 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8369 (_POSIX_ASYNC_IO): Undefine macro.
8370 (_POSIX_PRIORITIZED_IO): Undefine macro.
8371 (_POSIX_SPIN_LOCKS): Define macro to -1.
8373 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8374 SA_NODEFER, SA_RESETHAND.
8375 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8376 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8381 * elf/Makefile (pldd-modules): Define unconditionally.
8383 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8385 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8387 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8389 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8390 Return ENOENT when name is empty.
8391 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8393 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8395 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8397 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8401 Fix mlock in all cases except non-readable pages.
8402 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8403 instead of VM_PROT_ALL as parameter to __vm_wire function.
8405 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8406 (__mkdir): When path is `/', just fail with EEXIST.
8407 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8409 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8411 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8412 <sys/uio.h> (for writev).
8413 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8414 and <sys/param.h> (for MIN).
8416 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8418 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8419 REQUESTED_TIME. Properly set the remaining time and return EINTR
8422 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8424 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8425 Depend on against $(link-rpcuserlibs).
8427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8429 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8430 (__libc_stack_end): Do not use attribute_relro.
8431 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8432 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8433 to libthread-provided value.
8434 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8437 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8440 * bits/libc-lock.h (__libc_once_get): New macro.
8441 * sysdeps/mach/bits/libc-lock.h: Likewise.
8442 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8444 instead of using implementation details.
8446 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8447 * libio/freopen.c: Likewise.
8448 * libio/freopen64.c: Likewise.
8449 * misc/syslog.c: Likewise.
8450 * nscd/connections.c: Likewise.
8451 * nscd/netgroupcache.c: Likewise.
8452 * sysdeps/posix/getcwd.c: Likewise.
8454 2012-05-10 Roland McGrath <roland@hack.frob.com>
8456 * math/w_ilogbf.c: Add #include <limits.h>.
8458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8460 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8461 path instead of returning without unlocking.
8463 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8464 immediate-write ioctls.
8465 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8467 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8469 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8470 __builtin_frame_address instead of making assumptions about the
8471 location of the return address relative to DATA. Force early load of
8473 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8474 __builtin_frame_address.
8477 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8478 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8479 implement dup3 and do some further code clean-ups.
8480 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8481 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8485 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8487 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8488 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8489 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8490 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8491 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8494 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8495 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8496 when handler == SIG_ERR, not when handler != SIG_ERR.
8498 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8500 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8501 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8504 accept4 for GNU Hurd.
8505 * include/sys/socket.h (__libc_accept4): New prototype.
8506 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8507 to implement __libc_accept4.
8508 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8510 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8512 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8513 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8514 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8517 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8519 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8523 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8524 assertion on O_CLOEXEC flag.
8525 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8526 * hurd/intern-fd.c: Likewise.
8527 * hurd/port2fd.c: Likewise.
8529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8532 * bits/in.h (IPV6_PKTINFO): Define new macro.
8533 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8535 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8540 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8541 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8542 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8543 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8546 * math/libm-test.inc (logb_test) : Additional logb tests.
8548 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8549 Andreas Jaeger <aj@suse.de>
8551 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8552 * configure: Regenerated.
8553 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8554 * config.make.in (link-obsolete-rpc): New substituted variable.
8555 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8556 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8557 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8558 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8559 so that libc.a contains the symbols.
8560 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8561 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8562 * sunrpc/auth_none.c: Likewise.
8563 * sunrpc/auth_unix.c: Likewise.
8564 * sunrpc/authdes_prot.c: Likewise.
8565 * sunrpc/authuxprot.c: Likewise.
8566 * sunrpc/clnt_gen.c: Likewise.
8567 * sunrpc/clnt_perr.c: Likewise.
8568 * sunrpc/clnt_raw.c: Likewise.
8569 * sunrpc/clnt_simp.c: Likewise.
8570 * sunrpc/clnt_tcp.c: Likewise.
8571 * sunrpc/clnt_udp.c: Likewise.
8572 * sunrpc/clnt_unix.c: Likewise.
8573 * sunrpc/des_crypt.c: Likewise.
8574 * sunrpc/des_soft.c: Likewise.
8575 * sunrpc/get_myaddr.c: Likewise.
8576 * sunrpc/key_call.c: Likewise.
8577 * sunrpc/key_prot.c: Likewise.
8578 * sunrpc/netname.c: Likewise.
8579 * sunrpc/pm_getmaps.c: Likewise.
8580 * sunrpc/pm_getport.c: Likewise.
8581 * sunrpc/pmap_clnt.c: Likewise.
8582 * sunrpc/pmap_prot.c: Likewise.
8583 * sunrpc/pmap_prot2.c: Likewise.
8584 * sunrpc/pmap_rmt.c: Likewise.
8585 * sunrpc/publickey.c: Likewise.
8586 * sunrpc/rpc_cmsg.c: Likewise.
8587 * sunrpc/rpc_common.c: Likewise.
8588 * sunrpc/rpc_dtable.c: Likewise.
8589 * sunrpc/rpc_prot.c: Likewise.
8590 * sunrpc/rpc_thread.c: Likewise.
8591 * sunrpc/rtime.c: Likewise.
8592 * sunrpc/svc.c: Likewise.
8593 * sunrpc/svc_auth.c: Likewise.
8594 * sunrpc/svc_raw.c: Likewise.
8595 * sunrpc/svc_run.c: Likewise.
8596 * sunrpc/svc_tcp.c: Likewise.
8597 * sunrpc/svc_udp.c: Likewise.
8598 * sunrpc/svc_unix.c: Likewise.
8599 * sunrpc/svcauth_des.c: Likewise.
8600 * sunrpc/xcrypt.c: Likewise.
8601 * sunrpc/xdr.c: Likewise.
8602 * sunrpc/xdr_array.c: Likewise.
8603 * sunrpc/xdr_float.c: Likewise.
8604 * sunrpc/xdr_intXX_t.c: Likewise.
8605 * sunrpc/xdr_mem.c: Likewise.
8606 * sunrpc/xdr_rec.c: Likewise.
8607 * sunrpc/xdr_ref.c: Likewise.
8608 * sunrpc/xdr_sizeof.c: Likewise.
8609 * sunrpc/xdr_stdio.c: Likewise.
8611 2012-05-10 Roland McGrath <roland@hack.frob.com>
8613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8614 change. Update copyright years.
8616 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8618 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8620 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8621 Joseph Myers <joseph@codesourcery.com>
8622 Paul Pluzhnikov <ppluzhnikov@google.com>
8625 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8627 [cross-compiling] (extra-libs): Likewise.
8628 [cross-compiling] (extra-libs-others): Likewise.
8629 [cross-compiling] (librpcsvc-routines): Likewise.
8630 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8631 [cross-compiling] (omit-deps): Likewise.
8632 (sunrpc-CPPFLAGS): New variable.
8633 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8634 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8635 (cross-rpcgen-objs): New variable.
8636 (extra-objs): Append $(cross-rpcgen-objs).
8637 ($(cross-rpcgen-objs)): New rule.
8638 ($(objpfx)cross-rpcgen): Likewise.
8639 (rpcgen-cmd): Define to use $(built-program-file). Expand
8641 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8642 ($(objpfx)x%.stmp): Likewise.
8643 * sunrpc/proto.h [IS_IN_build] (_): Define.
8644 [IS_IN_build] (_libc_intl_domainname): Likewise.
8646 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8648 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8649 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8650 and R_X86_64_TPOFF64.
8652 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8654 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8655 sysdeps/unix/sysv/syscalls.list.
8658 * sysdeps/unix/sysv/syscalls.list: Remove file.
8660 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8663 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8664 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8665 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8666 (__LC_IDENTIFICATION): Make these macros useful in #if
8667 expressions, as required by C99.
8669 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8671 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8672 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8675 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8677 * stdlib/longlong.h: Updated from GCC.
8679 2012-05-09 Andreas Jaeger <aj@suse.de>
8681 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8682 default is first entry.
8683 (run_mode): Set type.
8684 (main): Remove informal message about syslog.
8685 (options): Fix typo.
8688 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8691 (llrintf): Likewise.
8695 (nearbyint): Likewise.
8696 (nearbyintf): Likewise.
8698 2012-05-09 Andreas Jaeger <aj@suse.de>
8699 Pedro Alves <palves@redhat.com>
8701 * nscd/nscd.c (run_mode): Use enum.
8702 (main): Cleanup coding style issue.
8704 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8705 Andreas Jaeger <aj@suse.de>
8707 * nscd/nscd.c (go_background): Replaced with...
8708 (run_mode): ... this.
8709 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8710 (options): Add -F --foreground.
8711 (main): Implement it.
8712 (parse_opt): Parse it.
8714 2012-05-09 Andreas Jaeger <aj@suse.de>
8717 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8718 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8719 -Wconversion warning.
8720 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8723 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8725 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8727 (LC_ALL): Use macro-int-constant.
8728 (LC_COLLATE): Likewise.
8729 (LC_CTYPE): Likewise.
8730 (LC_MESSAGES): Likewise.
8731 (LC_MONETARY): Likewise.
8732 (LC_NUMERIC): Likewise.
8733 (LC_TIME): Likewise.
8734 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8735 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8737 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8739 [C99-based standards] (float_t): Expect type.
8740 [C99-based standards] (double_t): Expect type.
8741 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8743 [C99-based standards] (HUGE_VALL): Likewise.
8744 [C99-based standards] (INFINITY): Likewise.
8745 [C99-based standards] (NAN): Likewise.
8746 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8747 [C99-based standards] (FP_NAN): Likewise.
8748 [C99-based standards] (FP_NORMAL): Likewise.
8749 [C99-based standards] (FP_SUBNORMAL): Likewise.
8750 [C99-based standards] (FP_ZERO): Likewise.
8751 [C99-based standards] (FP_FAST_FMA): Use
8752 optional-macro-int-constant. Specify type. Require == 1.
8753 [C99-based standards] (FP_FAST_FMAF): Likewise.
8754 [C99-based standards] (FP_FAST_FMAL): Likewise.
8755 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8756 [C99-based standards] (FP_ILOGBNAN): Likewise.
8757 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8759 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8760 [C99-based standards] (math_errhandling): Specify type.
8761 [ISO99 || ISO11] (signgam): Do not allow.
8762 [non-C99-based standards] (copysignf): Do not allow.
8763 [non-C99-based standards] (exp2f): Likewise.
8764 [non-C99-based standards] (log2f): Likewise.
8765 [non-C99-based standards] (modff): Allow.
8766 [non-C99-based standards] (erff): Do not allow.
8767 [non-C99-based standards] (erfcf): Likewise.
8768 [non-C99-based standards] (gammaf): Likewise.
8769 [non-C99-based standards] (hypotf): Likewise.
8770 [non-C99-based standards] (j0f): Likewise.
8771 [non-C99-based standards] (j1f): Likewise.
8772 [non-C99-based standards] (jnf): Likewise.
8773 [non-C99-based standards] (lgammaf): Likewise.
8774 [non-C99-based standards] (tgammaf): Likewise.
8775 [non-C99-based standards] (y0f): Likewise.
8776 [non-C99-based standards] (y1f): Likewise.
8777 [non-C99-based standards] (ynf): Likewise.
8778 [non-C99-based standards] (isnanf): Likewise.
8779 [non-C99-based standards] (acoshf): Likewise.
8780 [non-C99-based standards] (asinhf): Likewise.
8781 [non-C99-based standards] (atanhf): Likewise.
8782 [non-C99-based standards] (cbrtf): Likewise.
8783 [non-C99-based standards] (expm1f): Likewise.
8784 [non-C99-based standards] (ilogbf): Likewise.
8785 [non-C99-based standards] (log1pf): Likewise.
8786 [non-C99-based standards] (logbf): Likewise.
8787 [non-C99-based standards] (nextafterf): Likewise.
8788 [non-C99-based standards] (remainderf): Likewise.
8789 [non-C99-based standards] (rintf): Likewise.
8790 [non-C99-based standards] (scalbf): Likewise.
8791 [non-C99-based standards] (copysignl): Likewise.
8792 [non-C99-based standards] (exp2l): Likewise.
8793 [non-C99-based standards] (log2l): Likewise.
8794 [non-C99-based standards] (modfl): Allow.
8795 [non-C99-based standards] (erfl): Do not allow.
8796 [non-C99-based standards] (erfcl): Likewise.
8797 [non-C99-based standards] (gammal): Likewise.
8798 [non-C99-based standards] (hypotl): Likewise.
8799 [non-C99-based standards] (j0l): Likewise.
8800 [non-C99-based standards] (j1l): Likewise.
8801 [non-C99-based standards] (jnl): Likewise.
8802 [non-C99-based standards] (lgammal): Likewise.
8803 [non-C99-based standards] (tgammal): Likewise.
8804 [non-C99-based standards] (y0l): Likewise.
8805 [non-C99-based standards] (y1l): Likewise.
8806 [non-C99-based standards] (ynl): Likewise.
8807 [non-C99-based standards] (isnanl): Likewise.
8808 [non-C99-based standards] (acoshl): Likewise.
8809 [non-C99-based standards] (asinhl): Likewise.
8810 [non-C99-based standards] (atanhl): Likewise.
8811 [non-C99-based standards] (cbrtl): Likewise.
8812 [non-C99-based standards] (expm1l): Likewise.
8813 [non-C99-based standards] (ilogbl): Likewise.
8814 [non-C99-based standards] (log1pl): Likewise.
8815 [non-C99-based standards] (logbl): Likewise.
8816 [non-C99-based standards] (nextafterl): Likewise.
8817 [non-C99-based standards] (remainderl): Likewise.
8818 [non-C99-based standards] (rintl): Likewise.
8819 [non-C99-based standards] (scalbl): Likewise.
8820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8821 [non-C99-based standards] (FP_*): Do not allow.
8822 [C99-based standards] (FP_*): Change to
8823 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8824 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8826 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8827 (SIG_ERR): Likewise.
8828 [X/Open-based standards] (SIG_HOLD): Likewise.
8829 (SIG_IGN): Likewise.
8830 (SIGABRT): Use macro-int-constant. Specify type. Require
8835 (SIGSEGV): Likewise.
8837 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8838 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8839 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8840 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8841 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8842 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8843 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8844 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8845 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8846 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8847 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8848 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8849 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8850 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8851 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8852 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8853 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8854 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8855 [X/Open-based standards] (SIGTRAP): Likewise.
8856 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8857 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8858 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8859 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8860 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8863 2012-05-08 Ian Wienand <ianw@vmware.com>
8866 * time/tzset.c (__tzset_parse_tz): Update default rules for
8867 daylight time changes in the Energy Policy Act of 2005.
8869 2012-05-09 Andreas Jaeger <aj@suse.de>
8872 * elf/ldconfig.c (parse_conf): Change string to make clear that
8873 ldconfig only issued a warning if ld.so.conf does not exist.
8875 2012-05-08 David S. Miller <davem@davemloft.net>
8877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8878 movxtod instead of popping the value on the stack.
8880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8882 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8884 * config.h.in: Add HAVE_ARM_PCS_VFP.
8886 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
8889 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8890 checking but the checks are disabled for any reason.
8892 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8894 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8895 and ELF64_R_TYPE with ELFW(R_TYPE).
8897 2012-05-08 Joseph Myers <joseph@codesourcery.com>
8899 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8902 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8903 (settimeofday): Likewise.
8905 2012-05-08 Mike Frysinger <vapier@gentoo.org>
8907 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8908 a struct th_u2 inside the union, and move tu_block/tu_code into
8909 a new th_u3 union of tu_block/tu_code inside of that. Move
8910 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8911 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8912 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8913 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8914 (th_stuff): Change to th_u1.tu_stuff.
8916 (th_msg): Change to th_u1.th_u2.tu_data.
8918 2012-05-07 David S. Miller <davem@davemloft.net>
8920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8923 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8924 (SETUP_PIC_REG): Use it.
8925 (SETUP_PIC_REG_LEAF): Use it.
8927 2012-05-07 Joseph Myers <joseph@codesourcery.com>
8931 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8933 (EXPL_FINITE): Likewise.
8935 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8936 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8938 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8940 (EXPL_FINITE): Likewise.
8942 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8943 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8945 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8946 test of -max_value argument for long double.
8947 * sysdeps/i386/fpu/libm-test-ulps: Update.
8948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8950 2012-05-06 David S. Miller <davem@davemloft.net>
8952 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8953 quad soft-float symbols whose references which are compiler
8955 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8957 2012-05-06 Joseph Myers <joseph@codesourcery.com>
8961 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8963 (EXPL_FINITE): Likewise.
8967 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8968 Adjust comments for base varying.
8969 (__expl_finite): Change alias to EXPL_FINITE.
8970 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8972 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8973 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8975 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8976 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8978 (EXPL_FINITE): Likewise.
8982 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8983 Adjust comments for base varying.
8984 (__expl_finite): Change alias to EXPL_FINITE.
8985 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8990 * math/libm-test.inc (check_float_internal): Correct ulp
8991 calculation for subnormal expected results.
8993 2012-05-06 Andreas Jaeger <aj@suse.de>
8995 * Makeconfig (+math-flags): New, set to -frounding-math.
8996 (+cflags): Add +math-flags so that all of glibc gets compiled with
8999 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9001 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9003 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9009 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9010 (__ieee754_expl): Allow for and saturate large arguments.
9011 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9012 (u_threshold): Likewise.
9013 (__exp): Call __ieee754_exp before checking for overflow and
9015 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9016 (u_threshold): Likewise.
9017 (__expf): Call __ieee754_expf before checking for overflow and
9019 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9020 (u_threshold): Likewise.
9021 (__expl): Call __ieee754_expl before checking for overflow and
9023 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9024 (__ieee754_expl): Allow for and saturate large arguments.
9025 * math/libm-test.inc (exp_test): Add another test. Do not allow
9026 missing overflow exception on overflow.
9027 (expm1_test): Do not allow missing overflow exception on overflow.
9029 * sysdeps/i386/fpu/e_expl.c: Move to ...
9030 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9031 rather than using inline asm.
9032 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9033 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9034 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9036 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9043 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9045 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9046 sysdeps/unix/common/syscalls.list.
9049 (ftruncate): Likewise.
9050 (getrusage): Likewise.
9051 (gettimeofday): Likewise.
9052 (setpgid): Likewise.
9053 (setregid): Likewise.
9054 (setreuid): Likewise.
9055 (sigaction): Likewise.
9056 (truncate): Likewise.
9057 (vhangup): Likewise.
9058 * sysdeps/unix/common/syscalls.list: Remove file.
9059 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9060 * sysdeps/unix/sysv/linux/Implies: Likewise.
9062 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9064 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9066 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9070 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9073 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9076 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9079 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9082 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9085 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9088 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9092 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9096 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9099 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9103 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9107 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9109 * sysdeps/unix/common/bits/dirent.h: Remove file.
9110 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9112 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9113 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9114 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9115 * sysdeps/unix/bsd/isatty.c: Likewise.
9116 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9117 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9118 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9120 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9124 long double comparison inaccuracies.
9125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9128 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9130 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9131 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9133 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9136 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9137 nonzero digits before rounding a hex value.
9138 * stdlib/tst-strtod.c (tests): Add another test.
9140 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9142 * sysdeps/s390/fpu/libm-test-ulps: Update.
9144 2012-05-03 Andreas Jaeger <aj@suse.de>
9146 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9147 does not get optimized out.
9148 (malloc_opt_barrier): New.
9150 2012-05-03 Andreas Jaeger <aj@suse.de>
9151 Roland McGrath <roland@hack.frob.com>
9153 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9154 intermediate file deletion.
9155 (generated): Add .symlist files.
9157 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9160 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9161 Redirect under this condition.
9162 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9163 [__USE_GNU] (__dprintf_chk): Not under this condition.
9164 [__USE_GNU] (__vdprintf_chk): Likewise.
9165 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9166 under this condition.
9167 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9168 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9169 [__USE_XOPEN2K8] (vdprintf): Likewise.
9170 [__USE_GNU] (__dprintf_chk): Not under this condition.
9171 [__USE_GNU] (__vdprintf_chk): Likewise.
9172 [__USE_GNU] (dprintf): Likewise.
9173 [__USE_GNU] (vdprintf): Likewise.
9175 2012-05-03 Roland McGrath <roland@hack.frob.com>
9177 * elf/Makefile (common-generated): Set this instead of generated for
9178 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9179 $(all-built-dso)-derived lists.
9181 2012-05-03 Andreas Jaeger <aj@suse.de>
9183 * sysdeps/i386/fpu/libm-test-ulps: Update.
9187 * scripts/gen-FAQ.pl: Likewise.
9188 * manual/install.texi (Installation): Point to online location of
9190 * Makefile (files-for-dist): Remove FAQ.
9193 2012-05-02 Allan McRae <allan@archlinux.org>
9195 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9196 (LDFLAGS-reldepmod5.so): Likewise.
9197 (LDFLAGS-reldep6mod1.so): Likewise.
9198 (LDFLAGS-reldep6mod4.so): Likewise.
9199 (LDFLAGS-reldep8mod3.so): Likewise.
9200 (LDFLAGS-unload4mod1.so): Likewise.
9201 (LDFLAGS-unload4mod2.so): Likewise.
9202 (LDFLAGS-tst-initorder): Likewise.
9203 (LDFLAGS-tst-initordera2.so): Likewise.
9204 (LDFLAGS-tst-initordera3.so): Likewise.
9205 (LDFLAGS-tst-initordera4.so): Likewise.
9206 (LDFLAGS-tst-initorderb2.so): Likewise.
9207 (LDFLAGS-noload): Likewise.
9208 (LDFLAGS-next): Likewise.
9209 (LDFLAGS-order2mod1.so): Likewise.
9210 (LDFLAGS-order2mod2.so): Likewise.
9211 (LDFLAGS-tst-initorder2): Likewise.
9212 (LDFLAGS-tst-initorder2a.so): Likewise.
9213 (LDFLAGS-tst-initorder2b.so): Likewise.
9214 (LDFLAGS-tst-initorder2c.so): Likewise.
9215 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9217 2012-05-02 David S. Miller <davem@davemloft.net>
9219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9221 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9224 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9226 2012-05-02 Andreas Jaeger <aj@suse.de>
9228 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9229 since we manipulate rounding mode.
9230 (CPPFLAGS-test-idouble.c): Likewise.
9231 (CPPFLAGS-test-ifloat.c): Likewise.
9232 (CFLAGS-test-ldouble.c): Likewise.
9233 (CFLAGS-test-double.c): Likewise.
9234 (CFLAGS-test-float.c): Likewise.
9235 (CFLAGS-test-misc.c): Likewise.
9236 (CFLAGS-test-test-fenv.c): Likewise.
9238 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9243 comparisons to determine direction to adjust input.
9245 2012-05-01 Roland McGrath <roland@hack.frob.com>
9247 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9248 output to the target.
9250 * scripts/localplt.awk: New file.
9251 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9252 (check-localplt-CFLAGS): Variable removed.
9253 ($(all-built-dso:=.jmprel)): New static pattern rule.
9254 (generated): Add those targets.
9255 (localplt-built-dso): New variable.
9256 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9258 * elf/check-localplt.c: File removed.
9260 * scripts/check-execstack.awk: New file.
9261 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9262 (check-execstack-CFLAGS): Variable removed.
9263 ($(objpfx)check-execstack.h): Target removed.
9264 ($(objpfx)execstack-default): New target.
9265 (generated): Add that instead of check-execstack.h.
9266 ($(all-built-dso:=.phdr)): New static pattern rule.
9267 (generated): Add those targets.
9268 * elf/check-execstack.c: File removed.
9270 * scripts/check-textrel.awk: New file.
9271 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9272 (check-textrel-CFLAGS): Variable removed.
9273 (all-built-dso): Use := to define.o
9274 ($(all-built-dso:=.dyn)): New static pattern rule.
9275 (generated): Add those targets.
9276 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9277 * config.make.in (READELF): New substituted variable.
9278 * elf/check-textrel.c: File removed.
9280 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9282 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9284 * conform/data/ctype.h-data [C99-based standards] (isblank):
9286 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9287 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9289 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9290 Specify type. Require positive value.
9293 [ISO || POSIX] (EILSEQ): Do not expect.
9294 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9295 Specify type. Require positive value.
9296 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9297 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9298 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9299 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9300 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9301 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9302 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9303 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9304 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9305 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9306 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9307 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9308 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9309 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9310 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9311 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9312 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9313 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9314 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9315 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9316 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9317 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9318 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9319 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9320 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9321 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9322 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9323 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9324 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9325 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9326 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9327 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9328 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9329 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9330 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9331 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9332 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9333 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9334 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9335 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9336 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9337 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9338 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9339 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9340 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9341 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9342 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9343 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9344 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9345 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9346 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9347 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9348 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9349 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9350 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9351 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9352 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9353 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9354 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9355 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9356 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9357 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9358 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9359 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9360 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9361 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9362 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9363 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9364 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9365 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9366 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9367 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9368 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9369 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9370 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9371 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9372 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9374 (FLT_ROUNDS): Expect as macro, not constant.
9375 (FLT_MANT_DIG): Use macro-int-constant.
9376 (DBL_MANT_DIG): Likewise.
9377 (LDBL_MANT_DIG): Likewise.
9378 (FLT_DIG): Likewise.
9379 (DBL_DIG): Likewise.
9380 (LDBL_DIG): Likewise.
9381 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9382 (DBL_MIN_EXP): Likewise.
9383 (LDBL_MIN_EXP): Likewise.
9384 (FLT_MAX_EXP): Use macro-int-constant.
9385 (DBL_MAX_EXP): Likewise.
9386 (LDBL_MAX_EXP): Likewise.
9387 (FLT_MAX_10_EXP): Likewise.
9388 (DBL_MAX_10_EXP): Likewise.
9389 (LDBL_MAX_10_EXP): Likewise.
9390 (FLT_MAX): Use macro-constant.
9391 (DBL_MAX): Likewise.
9392 (LDBL_MAX): Likewise.
9393 (FLT_EPSILON): Use macro-constant. Give upper bound.
9394 (DBL_EPSILON): Likewise.
9395 (LDBL_EPSILON): Likewise.
9396 (FLT_MIN): Likewise.
9397 (DBL_MIN): Likewise.
9398 (LDBL_MIN): Likewise.
9399 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9400 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9401 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9402 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9403 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9404 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9405 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9406 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9407 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9408 [ISO11] (FLT_TRUE_MIN): Likewise.
9409 [ISO11] (LDBL_TRUE_MIN): Likewise.
9410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9411 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9412 (SCHAR_MIN): Use macro-int-constant. Specify type.
9413 (SCHAR_MAX): Likewise.
9414 (UCHAR_MAX): Likewise.
9415 (CHAR_MIN): Likewise.
9416 (CHAR_MAX): Likewise.
9417 (MB_LEN_MAX): Use macro-int-constant.
9418 (SHRT_MIN): Use macro-int-constant. Specify type.
9419 (SHRT_MAX): Likewise.
9420 (USHRT_MAX): Likewise.
9421 (INT_MAX): Likewise.
9422 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9424 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9426 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9428 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9429 bound negative. Suffix upper bound with "L".
9430 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9432 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9434 [C99-based standards] (LLONG_MAX): Likewise.
9435 [C99-based standards] (ULLONG_MAX): Likewise.
9436 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9438 [ISO11] (max_align_t): Require type.
9439 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9441 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9442 from $CFLAGS, without defining away __attribute__ calls.
9443 (checknamespace): Use $CFLAGS_namespace.
9445 * conform/conformtest.pl (@keywords): Only include C99 keywords
9446 for standards based on C99 or C11.
9448 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9450 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9453 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9454 usability of symbols in #if.
9456 * conform/conformtest.pl: If macro or constant types start
9457 "promoted:", expect the symbol to be of the following type
9458 promoted by the integer promotions.
9460 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9461 in one place. Also handle "macro-constant".
9463 * conform/conformtest.pl: Only accept expected macro values with
9464 "==". Parse all "macro" lines in one place.
9465 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9467 * conform/conformtest.pl: Handle braced types on "constant" lines
9468 instead of handling "typed-constant".
9469 * conform/data/signal.h-data: Use "constant" instead of
9472 * conform/conformtest.pl: Handle "optional-" at start of lines in
9473 one place rather than duplicating several cases. Handle each
9474 format of "macro" line with initial "optional-".
9476 * conform/conformtest.pl: Only accept expected constant or
9477 optional-constant values with "==". Parse all "constant" lines in
9478 one place. Parse all "optional-constant" lines in one place.
9479 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9480 * conform/data/fmtmsg.h-data: Likewise.
9481 * conform/data/netinet/in.h-data: Likewise.
9482 * conform/data/tar.h-data: Likewise.
9483 * conform/data/limits.h-data: Use "==" form on "constant" and
9484 "optional-constant" lines.
9486 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9487 Use -std=c99 for XOPEN2K.
9488 (@knownproblems): Remove.
9489 (newtoken): Don't check %isknown.
9491 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9492 Do not expect macro.
9493 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9494 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9495 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9496 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9497 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9498 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9499 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9500 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9501 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9502 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9503 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9504 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9505 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9506 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9507 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9508 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9509 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9510 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9511 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9512 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9513 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9514 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9515 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9516 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9517 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9518 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9519 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9520 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9521 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9522 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9523 [XPG3] (acosh): Likewise.
9524 [XPG3] (asinh): Likewise.
9525 [XPG3] (atanh): Likewise.
9526 [XPG3] (cbrt): Likewise.
9527 [XPG3] (expm1): Likewise.
9528 [XPG3] (ilogb): Likewise.
9529 [XPG3] (log1p): Likewise.
9530 [XPG3] (logb): Likewise.
9531 [XPG3] (nextafter): Likewise.
9532 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9533 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9534 [XPG3] (remainder): Likewise.
9535 [XPG3] (rint): Likewise.
9536 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9537 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9538 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9539 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9540 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9541 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9542 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9543 [UNIX98 || XOPEN2K] (scalb): Expect.
9544 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9545 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9546 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9547 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9548 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9549 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9550 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9551 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9552 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9553 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9554 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9555 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9556 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9557 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9558 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9559 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9560 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9561 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9562 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9563 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9564 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9565 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9566 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9567 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9568 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9569 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9570 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9571 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9572 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9573 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9574 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9575 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9576 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9577 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9578 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9579 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9580 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9581 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9582 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9583 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9584 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9585 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9586 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9587 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9588 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9589 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9590 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9591 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9592 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9593 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9594 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9595 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9596 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9597 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9598 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9599 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9600 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9601 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9602 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9603 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9604 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9605 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9606 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9607 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9608 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9609 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9610 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9611 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9612 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9613 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9614 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9615 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9616 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9617 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9618 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9619 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9620 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9621 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9622 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9623 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9624 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9625 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9626 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9627 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9628 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9629 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9630 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9631 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9632 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9633 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9634 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9635 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9636 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9637 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9638 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9639 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9640 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9641 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9642 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9643 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9644 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9645 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9646 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9647 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9648 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9649 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9650 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9651 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9652 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9653 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9654 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9655 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9656 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9657 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9658 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9659 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9660 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9661 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9662 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9663 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9664 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9665 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9666 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9667 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9668 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9669 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9670 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9671 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9672 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9673 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9674 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9675 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9676 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9677 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9678 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9679 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9680 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9682 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9683 _XOPEN_SOURCE_EXTENDED for XPG4.
9685 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9687 * Makeconfig (localtime): Remove variable.
9688 (inst_localtime-file): Likewise.
9690 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9711 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9715 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9716 comparisons to determine direction to adjust input.
9717 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9718 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9719 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9721 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9725 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9726 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9728 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9730 * math/libm-test.inc (nexttoward_test): Add more tests.
9732 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9736 in version GLIBC_2.1, not GLIBC_2.0.
9737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9740 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9743 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9745 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9746 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9747 * math/libm-test.inc (acos_test): Add more tests.
9748 (asin_test): Likewise.
9749 * sysdeps/i386/fpu/libm-test-ulps: Update.
9750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9755 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9756 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9757 * math/libm-test.inc (acos_test_tonearest): New function.
9758 (acos_test_towardzero): Likewise.
9759 (acos_test_downward): Likewise.
9760 (acos_test_upward): Likewise.
9761 (asin_test_tonearest): Likewise.
9762 (asin_test_towardzero): Likewise.
9763 (asin_test_downward): Likewise.
9764 (asin_test_upward): Likewise.
9765 (main): Call the new functions.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9771 * math/e_exp10.c: Include <float.h>.
9772 (__ieee754_exp10): Handle underflow here rather than multiplying
9773 large negative argument by M_LN10.
9774 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9776 * math/e_exp10l.c: Include <float.h>.
9777 (__ieee754_exp10l): Handle underflow here rather than multiplying
9778 large negative argument by M_LN10l.
9779 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9780 spurious overflow exception on underflow.
9782 2012-04-29 Marek Polacek <polacek@redhat.com>
9784 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9785 (__fortify_function): New macro.
9786 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9787 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9788 __extern_always_inline.
9789 * libio/bits/stdio2.h: Likewise.
9790 * libio/bits/stdio.h: Likewise.
9791 * string/string.h: Likewise.
9792 * string/bits/string3.h: Likewise.
9793 * include/stdio.h: Likewise.
9794 * stdlib/bits/stdlib.h: Likewise.
9795 * stdlib/stdlib.h: Likewise.
9796 * rt/bits/mqueue2.h: Likewise.
9797 * rt/mqueue.h: Likewise.
9798 * posix/bits/unistd.h: Likewise.
9799 * posix/unistd.h: Likewise.
9800 * io/bits/poll2.h: Likewise.
9801 * io/bits/fcntl2.h: Likewise.
9802 * io/fcntl.h: Likewise.
9803 * io/sys/poll.h: Likewise.
9804 * misc/bits/syslog.h: Likewise.
9805 * misc/bits/syslog-ldbl.h: Likewise.
9806 * misc/sys/syslog.h: Likewise.
9807 * socket/bits/socket2.h: Likewise.
9808 * socket/sys/socket.h: Likewise.
9809 * debug/tst-chk1.c: Likewise.
9810 * wcsmbs/bits/wchar2.h: Likewise.
9811 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9812 * wcsmbs/wchar.h: Likewise.
9814 2012-04-29 Andreas Jaeger <aj@suse.de>
9816 * Makerules (tests): Remove enable-check-abi protection.
9817 (check-abi-warn): Remove.
9818 (check-abi-%): Remove check-abi-warn usage.
9820 * configure.in: Remove check-abi configure option.
9821 * configure: Regenerated.
9822 * config.make.in (enable-check-abi): Remove.
9824 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9827 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9828 double functions to double *_finite functions.
9831 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9832 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9834 * stdio-common/Makefile (tests): Add tst-sprintf3.
9835 * stdio-common/tst-sprintf3.c: New file.
9837 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9838 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9840 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9842 * conform/conformtest.pl: Remove duplicate typed-constant
9845 2012-04-28 David S. Miller <davem@davemloft.net>
9847 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9848 (check-abi-%): Remove AWK script prerequisite and explicit
9850 (check-abi): Rewrite to just diff the symlist with the abilist.
9851 (config-tls, config-abi-config): Delete, no longer used.
9852 (update-abi-%): Remove AWK script and explicit abilist directory.
9853 (update-abi): Rewrite to simply compare and conditionally copy the
9854 symlist and the sysdep abilist file. Remove update-abi-config
9856 * abilist/ld.abilist: Remove.
9857 * abilist/libBrokenLocale.abilist: Remove.
9858 * abilist/libanl.abilist: Remove.
9859 * abilist/libcrypt.abilist: Remove.
9860 * abilist/libdl.abilist: Remove.
9861 * abilist/librt.abilist: Remove.
9862 * abilist/libthread_db.abilist: Remove.
9863 * abilist/libutil.abilist: Remove.
9864 * scripts/extract-abilist.awk: Remove.
9865 * scripts/merge-abilist.awk: Remove.
9866 * sysdeps/generic/libcidn.abilist: New file.
9867 * sysdeps/generic/libnss_compat.abilist: New file.
9868 * sysdeps/generic/libnss_db.abilist: New file.
9869 * sysdeps/generic/libnss_dns.abilist: New file.
9870 * sysdeps/generic/libnss_files.abilist: New file.
9871 * sysdeps/generic/libnss_hesiod.abilist: New file.
9872 * sysdeps/generic/libnss_nis.abilist: New file.
9873 * sysdeps/generic/libnss_nisplus.abilist: New file.
9874 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9875 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9876 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9878 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9879 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9880 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9881 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9882 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9883 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9884 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9885 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9886 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9888 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9889 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9890 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9891 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9893 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9894 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9895 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9896 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9897 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9898 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9900 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9901 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9902 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9904 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10007 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10008 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10009 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10012 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10013 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10014 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10015 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10016 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10017 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10018 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10019 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10020 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10072 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10074 * conform/conformtest.pl: Fix typo in handling typed-constant from
10077 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10079 * README: Cut down references to pre-2.6 Linux kernels and
10080 Linuxthreads. Update lists of configurations in libc and ports
10081 and sort alphabetically. Say "or newer" with Linux kernel version
10084 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10086 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10089 * math/libm-test.inc (logb_test_downward): New test to expose
10090 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10093 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10096 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10098 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10099 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10101 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10103 * sysdeps/unix/i386/brk.S: Remove file.
10104 * sysdeps/unix/i386/dl-brk.S: Likewise.
10105 * sysdeps/unix/i386/pipe.S: Likewise.
10106 * sysdeps/unix/i386/sigreturn.S: Likewise.
10107 * sysdeps/unix/i386/syscall.S: Likewise.
10108 * sysdeps/unix/i386/vfork.S: Likewise.
10109 * sysdeps/unix/i386/wait.S: Likewise.
10111 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10112 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10114 * configure.in (arm*-none*): Do not allow without
10115 --enable-hacker-mode.
10116 (netbsd*): Remove case setting base_os.
10117 (386bsd*): Likewise.
10118 (freebsd*): Likewise.
10121 (sunos*): Likewise.
10122 (ultrix*): Likewise.
10123 (newsos*): Likewise.
10124 (dynix*): Likewise.
10130 (minix*): Likewise.
10131 (irix4*): Likewise.
10132 (irix6*): Likewise.
10133 (solaris[2-9]*): Likewise.
10135 * configure: Regenerated.
10137 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10140 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10141 overflow or cancellation in calculating denominator.
10142 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10143 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10144 down expression to avoid unexpected rounding in newer GCCs.
10145 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10147 2012-04-26 David S. Miller <davem@davemloft.net>
10149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10150 long-double compat symbols.
10151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10165 2012-04-25 David S. Miller <davem@davemloft.net>
10167 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10168 HWCAP_* values only after the memory barriers have been defined.
10169 (atomic_full_barrier): Define.
10170 (atomic_read_barrier): Define.
10171 (atomic_write_barrier): Define.
10173 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10175 * shlib-versions: Add libgcc_s version information.
10176 * sysdeps/generic/libgcc_s.h: Remove.
10177 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10179 * sysdeps/gnu/unwind-resume.c: Likewise.
10180 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10182 2012-04-25 David S. Miller <davem@davemloft.net>
10184 * sysdeps/unix/sparc/brk.S: Delete.
10185 * sysdeps/unix/sparc/dl-brk.S: Delete.
10186 * sysdeps/unix/sparc/pipe.S: Delete.
10187 * sysdeps/unix/sparc/sysdep.S: Delete.
10188 * sysdeps/unix/sparc/sysdep.h: Delete.
10189 * sysdeps/unix/sparc/vfork.S: Delete.
10190 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10191 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10192 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10193 ret_ERRVAL, r0, r1, MOVE): Define.
10194 (JUMPTARGET): Remove.
10195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10196 sysdeps/unix/sparc/sysdep.h
10197 (ENTRY, END): Remove.
10198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10200 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10202 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10203 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10206 * timezone/README: Update upstream location and email address for
10208 * timezone/zdump.c: Update from tzcode 2012b.
10209 * timezone/zic.c: Likewise.
10211 * configure.in (libc_cv_as_needed): Remove test.
10212 * configure: Regenerated.
10213 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10214 conditional definition.
10215 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10216 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10217 * config.make.in (have-as-needed): Remove variable.
10219 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10220 Paul Pluzhnikov <ppluzhnikov@google.com>
10222 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10225 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10227 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10228 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10229 * sysdeps/sh/strlen.S: Likewise.
10231 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10233 * sysdeps/unix/fork.S: Remove file.
10234 * sysdeps/unix/i386/fork.S: Likewise.
10235 * sysdeps/unix/sparc/fork.S: Likewise.
10237 * sysdeps/unix/system.c: Remove file.
10238 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10240 * sysdeps/unix/getegid.S: Remove file.
10241 * sysdeps/unix/geteuid.S: Likewise.
10243 2012-04-24 Roland McGrath <roland@hack.frob.com>
10245 * scripts/check-localplt.awk: New file.
10246 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10248 * scripts/data/localplt-generic.data: Add a comment.
10250 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10251 NODE when __dir_mkfile failed.
10252 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10253 Reported by Ludovic Courtès <ludo@gnu.org>.
10255 2012-04-24 Andreas Jaeger <aj@suse.de>
10257 * Makerules (common-clean): Also remove gen-as-const-headers
10260 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10262 * Makerules (native-compile): Do not change working directory for
10263 build. Use $(OUTPUT_OPTION) in command.
10264 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10266 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10269 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10270 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10271 * math/libm-test.inc (floor_test): Add more tests.
10272 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10274 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10276 * sysdeps/unix/getdents.c: Remove file.
10277 * sysdeps/unix/sysv/getdents.c: Likewise.
10278 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10280 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10281 sysdeps/unix/mman/syscalls.list.
10283 (mprotect): Likewise.
10285 (munmap): Likewise.
10286 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10287 * sysdeps/unix/mman/syscalls.list: Remove.
10288 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10290 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10291 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10292 * configure: Regenerated.
10293 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10294 $(libgcc_s_suffix).
10295 * config.make.in (libgcc_s_suffix): Remove variable.
10297 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10299 * sysdeps/unix/sysv/gethostname.c: Move to ...
10300 * sysdeps/posix/gethostname.c: ... here.
10302 * sysdeps/unix/execve.S: Remove file.
10304 * sysdeps/unix/_exit.S: Remove file.
10306 2012-04-23 Andreas Jaeger <aj@suse.de>
10309 * manual/Makefile: Remove make dist support, there's no
10310 need for a stand-alone documentation tar ball.
10311 (TEXI2DVI): Define always, it's not in Makeconfig.
10314 (edition): Removed.
10315 (glibc-doc-$(edition).tar): Removed
10319 (ETAGS): Remove, it's in Makeconfig.
10320 (move-if-change): Remove, it's in Makeconfig.
10322 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10325 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10326 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10327 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10328 (strtod_l, strtof_l, strtold_l): Remove __wur.
10329 It is not necessarily an error to ignore strtol's return value.
10330 One can reliably look at the stored endptr to decide whether
10331 the number had valid syntax.
10333 2012-04-21 Andreas Jaeger <aj@suse.de>
10336 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10338 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10340 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10341 * sysdeps/unix/sysv/Versions: Remove file.
10343 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10348 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10351 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10352 version from __vm86.
10354 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10356 * sysdeps/unix/common/lxstat.c: Remove file.
10357 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10359 * sysdeps/unix/sysv/Makefile: Remove file.
10361 * sysdeps/unix/sysv/direct.h: Remove file.
10363 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10364 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10365 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10366 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10367 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10368 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10369 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10371 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10373 * sysdeps/unix/xmknod.c: Remove file.
10374 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10376 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10378 * sysdeps/unix/sysv/i386/time.S: Remove file.
10380 * sysdeps/unix/fxstat.c: Remove file.
10381 * sysdeps/unix/xstat.c: Likewise.
10382 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10384 * sysdeps/unix/sysv/sigaction.c: Remove file.
10386 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10387 (sysdep_headers): Remove variable.
10388 [termio.h not in sysdep_headers] (generated): Likewise.
10389 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10390 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10391 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10392 * sysdeps/unix/sysv/tcflow.c: Likewise.
10393 * sysdeps/unix/sysv/tcflush.c: Likewise.
10394 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10395 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10396 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10397 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10398 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10400 * sysdeps/unix/siglist.c: Remove file.
10402 * sysdeps/unix/getppid.S: Remove file.
10404 * sysdeps/unix/mkdir.c: Remove file.
10405 * sysdeps/unix/rmdir.c: Likewise.
10407 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10409 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10411 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10412 errlist-compat value.
10414 2012-04-18 David S. Miller <davem@davemloft.net>
10416 * sysdeps/generic/memcopy.h (reg_char): Delete.
10417 * debug/strcat_chk.c: Use char, not reg_char.
10418 * debug/strcpy_chk.c: Likewise.
10419 * debug/strncat_chk.c: Likewise.
10420 * debug/strncpy_chk.c: Likewise.
10421 * string/memchr.c: Likewise.
10422 * string/memrchr.c: Likewise.
10423 * string/rawmemchr.c: Likewise.
10424 * string/strcat.c: Likewise.
10425 * string/strchr.c: Likewise.
10426 * string/strchrnul.c: Likewise.
10427 * string/strcmp.c: Likewise.
10428 * string/strcpy.c: Likewise.
10429 * string/strncat.c: Likewise.
10430 * string/strncmp.c: Likewise.
10431 * string/strncpy.c: Likewise.
10433 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10435 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10436 __builtin_memcopy is called when src and dest ranges are known to not
10439 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10441 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10442 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10443 fwd_align_merge macro call.
10444 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10445 bwd_align_merge macro call.
10446 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10448 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10450 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10451 bwd_align_merge macros.
10452 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10453 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10454 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10456 2012-04-18 David S. Miller <davem@davemloft.net>
10458 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10460 2012-04-18 Andreas Jaeger <aj@suse.de>
10463 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10464 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10465 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10467 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10468 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10469 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10471 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10472 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10473 Adjust for changed ldbl-128 files.
10475 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10476 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10477 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10479 2012-04-17 David S. Miller <davem@davemloft.net>
10481 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10483 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10485 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10486 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10487 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10488 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10489 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10490 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10492 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10495 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10496 * math/libm-test.inc: Add ilogb errno and exception tests.
10497 * math/w_ilogb.c: New file: ilogb wrapper.
10498 * math/w_ilogbf.c: New file: ilogbf wrapper.
10499 * math/w_ilogbl.c: New file: ilogbl wrapper.
10500 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10501 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10502 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10503 exception being thrown with 0.0 as argument.
10504 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10505 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10506 exception being thrown with 0.0 as argument.
10507 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10508 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10509 exception being thrown with 0.0 as argument.
10510 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10511 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10512 exception being thrown with 0.0 as argument.
10513 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10514 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10515 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10516 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10517 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10518 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10519 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10520 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10521 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10523 2012-04-17 Petr Baudis <pasky@ucw.cz>
10525 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10528 2012-04-16 Marek Polacek <polacek@redhat.com>
10530 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10532 2012-04-16 Marek Polacek <polacek@redhat.com>
10534 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10535 operands of fdivp instruction.
10537 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10539 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10540 * elf/tst-auditmod3b.c: Likewise.
10541 * elf/tst-auditmod4b.c: Likewise.
10542 * elf/tst-auditmod5b.c: Likewise.
10543 * elf/tst-auditmod6b.c: Likewise.
10544 * elf/tst-auditmod6c.c: Likewise.
10545 * elf/tst-auditmod7b.c: Likewise.
10546 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10547 * sysdeps/x86_64/preconfigure.in: Likewise.
10548 * sysdeps/x86_64/preconfigure: Regenerated.
10550 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10552 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10555 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10558 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10560 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10563 * locale/iso-639.def: Fix gl language name. Spotted by
10566 2012-04-12 Roland McGrath <roland@hack.frob.com>
10569 * libio/libio.h (__io_write_fn): Update comment.
10571 2012-04-12 Petr Baudis <pasky@ucw.cz>
10574 * stdio.texi (Hook Functions): The user provided writer function
10575 is not allowed to return -1.
10577 2012-04-11 David S. Miller <davem@davemloft.net>
10579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10581 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10583 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10584 Add a leading slash to rtkaio.
10586 2012-04-11 Jim Meyering <meyering@redhat.com>
10589 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10590 It is not necessarily an error to ignore fwrite's return
10591 value. One can reliably use ferror to test for errors after
10594 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10596 * bits/types.h (__snseconds_t): New type.
10597 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10599 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10601 (__SNSECONDS_T_TYPE): Likewise.
10602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10603 (__SNSECONDS_T_TYPE): Likewise.
10604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10605 (__SNSECONDS_T_TYPE): Likewise.
10607 2012-04-10 Andreas Jaeger <aj@suse.de>
10610 * manual/time.texi (Processor Time): Return type of times is
10611 elapsed real time since an arbitrary point in the past.
10612 (CPU Time): Move CLK_TCK from here...
10613 (Processor Time): ...to here. Correct description.
10614 * manual/conf.texi (Constants for Sysconf): Correct description of
10617 2012-04-10 David S. Miller <davem@davemloft.net>
10620 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10621 where the is a gap between DT_REL(A) and DT_JMPREL.
10623 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10625 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10626 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10627 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10629 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10631 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10632 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10633 (dl_main): Handle --inhibit-cache.
10634 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10636 * elf/dl-load.c (_dl_map_object): Use it.
10637 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10639 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10642 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10643 (__ieee754_powl): Saturate large exponents rather than testing for
10644 overflow of y*log2(x).
10645 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10646 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10650 * math/s_ctan.c: Include <float.h>.
10651 (__ctan): Avoid internal overflow or cancellation in calculating
10653 * math/s_ctanf.c: Likewise.
10654 * math/s_ctanl.c: Likewise.
10655 * math/s_ctanh.c: Likewise.
10656 * math/s_ctanhf.c: Likewise.
10657 * math/s_ctanhl.c: Likewise.
10658 * math/libm-test.inc (ctan_test): Add more tests.
10659 (ctanh_test): Likewise.
10660 * sysdeps/i386/fpu/libm-test-ulps: Update.
10661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10663 2012-04-09 Andreas Jaeger <aj@suse.de>
10666 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10667 is an optional BSD extension.
10670 * manual/stdio.texi (Opening Streams): Document additional fopen
10673 2012-04-09 Roland McGrath <roland@hack.frob.com>
10675 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10676 %eax without telling the compiler.
10678 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10681 * manual/install.texi: Use sourceware.org.
10683 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10686 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10687 (__ieee754_pow): Generate overflow and underflow using huge*huge
10688 and tiny*tiny rather than just returning constant infinity or zero
10689 for large exponents.
10690 * math/libm-test.inc (pow_test): Require overflow exceptions for
10691 applicable cases of large exponents.
10694 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10695 (__ieee754_pow): Use iterative multiplication algorithm only for
10696 integer exponents with absolute value below 1024. Check for odd
10697 integer exponents when using algorithm for real exponents.
10698 * math/libm-test.inc (pow_test): Add more tests.
10699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10701 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10704 * math/libm-test.inc (exp_test): Do not allow overflow exception
10707 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10710 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10711 instead of __kernel_standard_f.
10713 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10715 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10716 * sysdeps/x86_64/memset_chk.S: Likewise.
10718 2012-04-08 Andreas Jaeger <aj@suse.de>
10721 * manual/startup.texi (Environment Access): Describe return value
10722 for putenv and setenv.
10725 * manual/filesys.texi (Directory Entries): Add description for
10729 * manual/filesys.texi (Directory Entries): Clarify that it's file
10730 system not operating system in the description of DT_UNKNOWN.
10733 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10735 2012-04-08 Stephen Compall <s11@member.fsf.org>
10738 * manual/llio.texi (Opening and Closing Files): Add cross
10739 reference to explain mode argument.
10741 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10743 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10744 * sysdeps/x86_64/memset_chk.S: Likewise.
10746 2012-04-07 David S. Miller <davem@davemloft.net>
10748 * elf/elf.h (R_SPARC_WDISP10): Define.
10749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10752 R_SPARC_SIZE64 and R_SPARC_H34.
10754 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10757 conditions and remove no longer applicable assertion.
10759 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10761 * bits/byteswap.h: Include <features.h>.
10762 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10763 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10765 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10767 * bits/byteswap.h (__bswap_16): Removed.
10768 Include <bits/byteswap-16.h> to get __bswap_16.
10769 * sysdeps/i386/bits/byteswap.h: Likewise.
10770 * sysdeps/s390/bits/byteswap.h: Likewise.
10771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10772 * bits/byteswap-16.h: New file.
10773 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10774 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10775 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10776 * string/Makefile (headers): Add bits/byteswap-16.h.
10778 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10781 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10783 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10784 * nss/tst-nss-static.c: New.
10786 2012-04-06 Robert Millan <rmh@gnu.org>
10789 * manual/llio.texi (File Position Primitive): lseek
10790 refers to WHENCE when it really means OFFSET.
10792 2012-04-06 Andreas Jaeger <aj@suse.de>
10794 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10795 strncmp declarations.
10797 * abilist/libc.abilist: Add __poll and __ppoll.
10799 2012-04-05 David S. Miller <davem@davemloft.net>
10801 * scripts/check-local-headers.sh: Accept a host triplet in the
10802 path matched by the exclude regexp.
10804 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10806 * sysdeps/powerpc/powerpc32/dl-machine.h
10807 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10808 * sysdeps/s390/s390-32/dl-machine.h
10809 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10810 * sysdeps/sparc/sparc32/dl-machine.h
10811 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10812 * sysdeps/sparc/sparc64/dl-machine.h
10813 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10815 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10817 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10818 undefined symbol errors.
10820 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10823 2012-04-05 Michael Matz <matz@suse.de>
10826 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10828 2012-04-05 Andreas Jaeger <aj@suse.de>
10831 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10834 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10837 which ROUND is no valid rounding mode.
10839 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10841 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10843 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10845 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10847 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10848 an exception using FPU order intentionally.
10850 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10852 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10853 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10854 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10855 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10857 2012-04-05 Simon Josefsson <simon@josefsson.org>
10860 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10861 EINVAL when BUFLEN is too smal.
10863 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10866 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10867 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10869 2012-04-03 Andreas Jaeger <aj@suse.de>
10872 * manual/setjmp.texi (System V contexts): Fix sentence.
10875 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10876 New macro for this case.
10877 [!__GNUC__] (__bswap_64): New inline function for this case.
10878 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10879 * bits/byteswap.h: Likewise.
10880 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10881 ull, guard with __GLIBC_HAVE_LONG_LONG.
10883 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10884 __GLIBC_HAVE_LONG_LONG.
10886 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10887 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10889 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10892 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10893 inptr and inend, rather than using last_ch.
10895 2012-04-02 David S. Miller <davem@davemloft.net>
10897 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10898 * stdio-common/printf-parse.h (read_int): Change return type to
10899 'int', return -1 on INT_MAX overflow.
10900 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10901 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10902 overflows INT_MAX. Check for overflow of in-format-string precision
10903 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10904 SIZE_MAX not INT_MAX for integer overflow test.
10905 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10906 skip the construct in the format string but do not record anything.
10907 * stdio-common/bug22.c: Adjust to test both width/prevision
10908 INT_MAX overflow as well as total length INT_MAX overflow. Check
10909 explicitly for proper errno values.
10911 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10913 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10915 * string/test-strcmp.c [! WIDE]: Likewise.
10916 * time/tst-mktime2.c: Likewise for INT_MAX.
10917 * string/test-string.h: #include <sys/param.h> for MIN.
10919 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10920 * sysdeps/i386/init-first.c (init): Likewise.
10921 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10922 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10923 * sysdeps/sh/init-first.c (init): Likewise.
10925 2012-04-01 Ulrich Drepper <drepper@gmail.com>
10927 * po/ru.po: Update from translation team.
10928 * po/vi.po: Likewise.
10930 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10932 * resolv/nss_dns/dns-host.c: Merge copyright years.
10934 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10936 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10937 Optimize memcpy with prefetch if
10938 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10939 src, dst pointers have unequal 16 byte alignments.
10941 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10944 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10945 from a CNAME entry and return the minimum ttl for the query.
10946 (gaih_getanswer_slice): Likewise.
10948 2012-03-30 Jeff Law <law@redhat.com>
10950 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10952 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10953 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10955 * resolv/nss_dns/dns-host.c: Update copyright year.
10957 2012-03-30 Ulrich Drepper <drepper@gmail.com>
10959 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10960 requests to save a system call. Fix check that all bytes are sent.
10962 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10963 comments for sendmmsg.
10965 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10968 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10969 with only 1 character between 0x0041 and 0x01b0.
10970 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10971 * wcsmbs/tst-mbsnrtowcs.c: New file.
10973 2012-03-29 David S. Miller <davem@davemloft.net>
10975 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10976 small copies by hand.
10978 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10981 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10982 _nss_compat_initgroups_dyn): Fall back to malloc/free
10983 for large group memberships.
10985 2012-03-28 David S. Miller <davem@davemloft.net>
10987 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10988 that branches into memcpy.
10989 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10990 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10992 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10995 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10996 implementation too.
10997 * sysdeps/sparc/mempcpy.S: New file.
10999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11000 the IFUNC routine in the libc case.
11001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11003 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11004 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11005 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11006 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11007 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11008 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11009 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11010 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11012 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11013 loop to 256 bytes instead of 64 bytes and fix test signedness.
11015 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11016 * sysdeps/sparc/sparc32/Makefile: rather than here...
11017 * sysdeps/sparc/sparc64/Makefile: and here.
11019 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11021 * malloc/mallocbug.c: Avoid warnings about unused variables.
11023 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11026 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11027 in the right place. Discard and retry query if response is
11028 larger than input buffer size.
11030 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11035 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11036 x for large integer exponent.
11037 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11038 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11039 sign of result as needed afterwards.
11040 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11041 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11042 result for underflowing pow the same as for overflow.
11043 (__kernel_standard_l): Handle powl overflow and underflow here
11044 rather than calling __kernel_standard.
11045 * math/libm-test.inc (pow_test): Add more tests.
11060 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11061 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11062 (__kernel_standard_l): New function.
11063 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11065 * math/w_acosl.c (__acosl): Likewise.
11066 * math/w_asinl.c (__asinl): Likewise.
11067 * math/w_atan2l.c (__atan2l): Likewise.
11068 * math/w_atanhl.c (__atanhl): Likewise.
11069 * math/w_coshl.c (__coshl): Likewise.
11070 * math/w_exp10l.c (__exp10l): Likewise.
11071 * math/w_exp2l.c (__exp2l): Likewise.
11072 * math/w_fmodl.c (__fmodl): Likewise.
11073 * math/w_hypotl.c (__hypotl): Likewise.
11074 * math/w_j0l.c (__j0l, __y0l): Likewise.
11075 * math/w_j1l.c (__j1l, __y1l): Likewise.
11076 * math/w_jnl.c (__jnl, __ynl): Likewise.
11077 * math/w_lgammal.c (__lgammal): Likewise.
11078 * math/w_log10l.c (__log10l): Likewise.
11079 * math/w_log2l.c (__log2l): Likewise.
11080 * math/w_logl.c (__logl): Likewise.
11081 * math/w_powl.c (__powl): Likewise.
11082 * math/w_remainderl.c (__remainderl): Likewise.
11083 * math/w_scalbl.c (sysv_scalbl): Likewise.
11084 * math/w_sinhl.c (__sinhl): Likewise.
11085 * math/w_sqrtl.c (__sqrtl): Likewise.
11086 * math/w_tgammal.c (__tgammal): Likewise.
11087 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11088 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11089 * math/libm-test.inc (acos_test): Add more tests.
11090 (acosh_test): Likewise.
11091 (asin_test): Likewise.
11092 (atanh_test): Likewise.
11093 (exp_test): Likewise.
11094 (exp10_test): Likewise.
11095 (exp2_test): Likewise.
11096 (expm1_test): Likewise.
11097 (lgamma_test): Likewise.
11098 (log_test): Likewise.
11099 (log10_test): Likewise.
11100 (log1p_test): Likewise.
11101 (log2_test): Likewise.
11102 (pow_test): Do not allow some spurious overflow exceptions.
11103 (sqrt_test): Add more tests.
11104 (tgamma_test): Likewise.
11105 (y0_test): Likewise.
11106 (y1_test): Likewise.
11107 (yn_test): Likewise.
11109 2012-03-27 Anton Blanchard <anton@samba.org>
11111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11113 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11114 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11115 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11117 2012-03-27 David S. Miller <davem@davemloft.net>
11119 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11121 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11122 have-as-vis3 check.
11124 2012-03-27 Andreas Jaeger <aj@suse.de>
11126 * sysdeps/x86_64/elf/configure.in: Moved to ...
11127 * sysdeps/x86_64/configure.in: ... here.
11128 * sysdeps/x86_64/elf/start.S: Moved to ...
11129 * sysdeps/x86_64/start.S: ... here.
11130 * sysdeps/x86_64/elf/configure: Delete.
11132 * sysdeps/x86_64/configure.in: Merge contents from
11133 sysdeps/i386/configure.in (without i686 check).
11135 * sysdeps/i386/elf/Versions: Merge into ...
11136 * sysdeps/i386/Versions: ... this.
11137 * sysdeps/i386/elf/Versions: Delete file.
11138 * sysdeps/i386/elf/start.S: Moved to ...
11139 * sysdeps/i386/start.S: ...here.
11140 * sysdeps/i386/elf/configure.in: Merge into...
11141 * sysdeps/i386/configure.in: ...here.
11142 * sysdeps/i386/elf/configure.in: Delete file.
11143 * sysdeps/i386/elf/configure: Delete file.
11145 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11146 * debug/backtracesyms.c: ... here.
11147 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11148 * debug/backtracesymsfd.c: ... here.
11149 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11150 * sysdeps/generic/ifunc-sel.h: ... here.
11152 * sysdeps/unix/i386/start.c: Delete file.
11153 * sysdeps/unix/sparc/start.c: Delete file.
11154 * sysdeps/unix/start.c: Delete file.
11156 * sysdeps/sh/elf/configure.in: Moved to ...
11157 * sysdeps/sh/configure.in: ... here.
11158 * sysdeps/sh/elf/start.S: Moved to ...
11159 * sysdeps/sh/start.S: ... here.
11160 * sysdeps/sh/elf/configure: Delete file.
11162 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11163 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11164 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11165 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11166 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11167 * sysdeps/powerpc/powerpc64/start.S: here.
11168 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11169 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11170 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11171 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11172 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11174 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11175 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11176 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11177 * sysdeps/powerpc/powerpc32/start.S: ... here.
11178 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11179 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11180 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11182 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11183 * sysdeps/powerpc/ifunc-sel.h: ... here.
11184 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11185 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11187 * sysdeps/sparc/elf/configure.in: Moved to ...
11188 * sysdeps/sparc/configure.in: ... here.
11189 * sysdeps/sparc/elf/configure: Delete file.
11190 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11191 * sysdeps/sparc/sparc32/start.S: ... here.
11192 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11193 * sysdeps/sparc/sparc64/start.S: ... here.
11194 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11195 * sysdeps/sparc/sparc32/Makefile: ... this.
11196 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11197 * sysdeps/sparc/sparc64/Makefile: ... this.
11199 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11200 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11201 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11202 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11203 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11204 * sysdeps/s390/s390-32/setjmp.S: ... here.
11205 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11206 * sysdeps/s390/s390-32/configure.in: ... here.
11207 * sysdeps/s390/s390-32/elf/configure: Delete file.
11208 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11209 * sysdeps/s390/s390-32/start.S: ... here.
11211 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11212 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11213 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11214 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11215 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11216 * sysdeps/s390/s390-64/setjmp.S: ... here.
11217 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11218 * sysdeps/s390/s390-64/configure.in: ... here
11219 * sysdeps/s390/s390-64/elf/configure: Delete file.
11220 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11221 * sysdeps/s390/s390-64/start.S: ... here.
11222 * sysdeps/s390/s390-64/elf/configure: Delete.
11224 * configure.in: Remove support for elf directories in sysdeps.
11226 * configure: Regenerated.
11227 * sysdeps/i386/configure: Regenerated.
11228 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11229 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11230 * sysdeps/s390/s390-32/configure: Regenerated.
11231 * sysdeps/s390/s390-64/configure: Regenerated.
11232 * sysdeps/sh/configure: Regenerated.
11233 * sysdeps/sparc/configure: Regenerated.
11234 * sysdeps/x86_64/configure: Regenerated.
11236 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11241 denormal result into account.
11243 2012-03-25 Roland McGrath <roland@hack.frob.com>
11245 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11246 Reported by Allan McRae <allan@archlinux.org>.
11248 2012-03-23 Jeff Law <law@redhat.com>
11250 * nss/getnssent.c (__nss_getent): Fix typo.
11252 2012-03-23 David S. Miller <davem@davemloft.net>
11254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11256 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11258 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11259 to pad to uint64_t for each field.
11260 (dl_tls_index): Replace unsigned long with uint64_t.
11262 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11263 Paul Pluzhnikov <ppluzhnikov@google.com>
11266 * grp/Makefile (otherlibs): Don't set it.
11267 * inet/Makefile (otherlibs): Likewise.
11268 * login/Makefile (otherlibs): Likewise.
11269 * nscd/Makefile (otherlibs): Likewise.
11270 * posix/Makefile (otherlibs): Likewise.
11271 * pwd/Makefile (otherlibs): Likewise.
11272 * rt/Makefile (otherlibs): Likewise.
11273 * sunrpc/Makefile (otherlibs): Likewise.
11274 * nss/Makefile (otherlibs): Likewise.
11275 Add libnss_files to routines and static-only-routines.
11276 ($(objpfx)getent): Remove rule.
11277 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11278 static-only-routines.
11280 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11283 * math/s_cexp.c: Include <float.h>.
11284 (__cexp): Handle exp result overflowing not necessarily
11285 overflowing both real and imaginary parts of result.
11286 * math/s_cexpf.c: Likewise.
11287 * math/s_cexpl.c: Likewise.
11288 * math/libm-test.inc (cexp_test): Add more tests.
11289 * sysdeps/i386/fpu/libm-test-ulps: Update.
11290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11292 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11294 * include/link.h (ELFW): New macro.
11295 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11296 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11298 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11300 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11303 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11305 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11307 (struct La_x32_retval): Likewise.
11309 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11311 * sysdeps/x86_64/preconfigure.in: New file.
11312 * sysdeps/x86_64/preconfigure: New generated file.
11314 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11317 * math/e_exp2l.c: Include <float.h>.
11318 (__ieee754_exp2l): Handle overflow and underflow cases
11319 separately. Only pass fractional part of argument to
11321 * math/libm-test.inc (exp2_test): Add more tests.
11323 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11324 negating x to take absolute value.
11325 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11327 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11330 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11331 computing low part if x was negated.
11332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11334 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11336 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11337 la_x32_gnu_pltexit.
11338 (pltexit): Cast int_retval to ptrdiff_t.
11339 * elf/tst-auditmod3b.c: Likewise.
11340 * elf/tst-auditmod4b.c: Likewise.
11341 * elf/tst-auditmod5b.c: Likewise.
11342 * elf/tst-auditmod6b.c: Likewise.
11343 * elf/tst-auditmod6c.c: Likewise.
11344 * elf/tst-auditmod7b.c: Likewise.
11346 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11347 and x32_gnu_pltexit.
11349 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11350 __ELF_NATIVE_CLASS.
11351 (La_x32_regs): New macro.
11352 (La_x32_retval): Likewise.
11353 (la_x32_gnu_pltenter): New function prototype.
11354 (la_x32_gnu_pltexit): Likewise.
11356 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11363 * configure.in (libc_cv_cc_nofma): Check for option to disable
11364 generation of FMA instructions.
11365 * configure: Regenerate.
11366 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11367 * sysdeps/ieee754/dbl-64/Makefile: New file.
11368 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11369 Remove brandred-fma4.
11370 (CFLAGS-brandred-fma4.c): Remove.
11371 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11372 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11377 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11379 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11380 LLONG_MAX != LONG_MAX.
11381 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11382 (_fitoa_word): Likewise.
11383 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11384 LLONG_MAX != LONG_MAX.
11385 * stdio-common/_itowa.h: Include <_itoa.h>.
11386 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11387 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11388 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11389 only if not defined.
11390 (_ITOA_WORD_TYPE): Likewise.
11391 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11392 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11394 2012-03-21 David S. Miller <davem@davemloft.net>
11396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11398 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11400 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11401 of x86_64 when setting libc_cv_slibdir, libdir and
11403 * sysdeps/unix/sysv/linux/configure: Regenerated.
11405 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11407 * manual/lang.texi (Old Varargs): Remove section.
11408 (How Variadic): Update menu.
11409 (va_start): Do not mention varargs.h.
11411 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11412 Joseph Myers <joseph@codesourcery.com>
11414 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11416 * configure: Regenerated.
11418 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11420 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11421 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11424 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11427 * Makefile (files-for-dist): Remove NOTES.
11428 (NOTES): Remove rule.
11429 * README: Don't refer to NOTES.
11430 * manual/creature.texi: Don't include macros.texi.
11431 * manual/intro.texi (creature.texi): Remove comment referring to
11434 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11435 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11436 * configure: Regenerated.
11437 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11438 LIBC_TRY_CC_OPTION.
11439 (libc_cv_as_i686): Likewise.
11440 (libc_cv_cc_avx): Likewise.
11441 (libc_cv_cc_sse2avx): Likewise.
11442 (libc_cv_cc_fma4): Likewise.
11443 (libc_cv_cc_novzeroupper): Likewise.
11444 * sysdeps/i386/configure: Regenerated.
11447 * sysdeps/i386/fpu/s_cexp.S: Remove.
11448 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11449 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11450 * math/libm-test.inc (cexp_test): Add more tests.
11451 * sysdeps/i386/fpu/libm-test-ulps: Update.
11452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11454 2012-03-21 Allan McRae <allan@archlinux.org>
11456 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11458 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11461 * math/w_exp2.c: Do not include <float.h>.
11462 (o_threshold, u_threshold): Remove.
11463 (__exp2): Calculate result before checking finiteness and calling
11465 * math/w_exp2f.c: Likewise.
11466 * math/w_exp2l.c: Likewise.
11467 * math/libm-test.inc (exp2_test): Require overflow exception for
11471 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11472 range of signed 64-bit integers before using fistpll. Remove
11473 checks for whether integers fit in mantissa bits.
11474 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11475 the range of signed 32-bit integers before using fistpl. Remove
11476 checks for whether integers fit in mantissa bits.
11477 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11478 (__ieee754_powl): Test for y outside the range of signed 64-bit
11479 integers before using fistpll. Reduce 64-bit values to 63-bit
11481 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11482 divide-by-zero is raised for zero to large negative powers.
11483 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11484 (__ieee754_powl): Test for y outside the range of signed 64-bit
11485 integers before using fistpll. Reduce 64-bit values to 63-bit
11487 * math/libm-test.inc (pow_test): Add more tests.
11489 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11491 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11492 <stdio-common/_itoa.h>.
11493 * debug/segfault.c: Likewise.
11494 * elf/dl-cache.c: Likewise.
11495 * elf/dl-minimal.c: Likewise.
11496 * elf/dl-misc.c: Likewise.
11497 * elf/dl-sysdep.c: Likewise.
11498 * elf/dl-version.c: Likewise.
11499 * elf/rtld.c: Likewise.
11500 * hurd/hurdsock.c: Likewise.
11501 * hurd/lookup-retry.c: Likewise.
11502 * malloc/malloc.c: Likewise.
11503 * malloc/mtrace.c: Likewise.
11504 * nscd/nscd_getgr_r.c: Likewise.
11505 * nscd/nscd_getpw_r.c: Likewise.
11506 * nscd/nscd_getserv_r.c: Likewise.
11507 * posix/getopt_init.c: Likewise.
11508 * posix/wordexp.c: Likewise.
11509 * stdio-common/_itoa.c: Likewise.
11510 * stdio-common/printf_fphex.c: Likewise.
11511 * stdio-common/vfprintf.c: Likewise.
11512 * string/_strerror.c: Likewise.
11513 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11514 * sysdeps/i386/i686/hp-timing.h: Likewise.
11515 * sysdeps/mach/_strerror.c: Likewise.
11516 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11517 * sysdeps/mach/hurd/sethostid.c: Likewise.
11518 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11519 * sysdeps/mach/xpg-strerror.c: Likewise.
11520 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11522 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11523 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11524 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11525 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11526 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11527 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11528 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11529 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11530 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11531 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11532 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11533 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11534 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11535 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11536 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11537 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11538 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11539 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11540 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11542 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11544 * stdio-common/_itoa.h: Moved to ...
11545 * sysdeps/generic/_itoa.h: Here.
11547 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11549 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11550 instead of "_itoa.h" and "_itowa.h".
11551 * stdio-common/vfprintf.: Likewise.
11553 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11555 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11557 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11558 (__signbit): Likwise.
11559 (llrintf): Likwise.
11562 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11564 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11567 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11569 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11570 OVERFLOW_EXCEPTION_OK.
11571 * math/libm-test.inc ("Philosophy"): Update comment about
11573 (OVERFLOW_EXCEPTION): Define.
11574 (OVERFLOW_EXCEPTION_OK): Likewise.
11575 (INVALID_EXCEPTION_OK): Renumber.
11576 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11577 (IGNORE_ZERO_INF_SIGN): Likewise.
11578 (test_exceptions): Handle FE_OVERFLOW.
11579 (exp10_test): Expect overflow exceptions.
11580 (exp2_test): Likewise.
11581 (expm1_test): Likewise.
11582 (nextafter_test): Likewise.
11583 (pow_test): Likewise.
11584 (scalbn_test): Likewise.
11585 (scalbln_test): Likewise.
11587 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11589 * sysdeps/x86_64/bits/atomic.h
11590 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11592 (atomic_exchange_acq): Likewise.
11593 (__arch_exchange_and_add_body): Likewise.
11594 (__arch_add_body): Likewise.
11595 (atomic_add_negative): Likewise.
11596 (atomic_add_zero): Likewise.
11598 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11600 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11601 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11603 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11605 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11606 Check __x86_64__ instead of __WORDSIZE.
11608 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11610 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11612 2012-03-19 David S. Miller <davem@davemloft.net>
11614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11616 * sysdeps/sparc/fpu/fenv_private.h: New file.
11617 * sysdeps/sparc/fpu/math_private.h: Use it.
11618 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11620 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11621 (libc_feholdexcept_setroundl): Remove.
11622 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11624 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11625 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11627 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11629 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11630 int64_t instead of long int.
11631 (INSERT_WORDS64): Likwise.
11633 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11635 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11636 _Unwind_GetCFA return to _Unwind_Ptr first.
11638 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11641 * math/s_clog.c: Include <float.h>.
11642 (__clog): Scale large or subnormal inputs.
11643 * math/s_clogf.c: Likewise.
11644 * math/s_clogl.c: Likewise.
11645 * math/s_clog10.c: Include <float.h>.
11646 (M_LOG10_2): Define.
11647 (__clog10): Scale large or subnormal inputs.
11648 * math/s_clog10f.c: Likewise.
11649 * math/s_clog10l.c: Likewise.
11650 * math/libm-test.inc (clog_test): Add more tests.
11651 (clog10_test): Likewise.
11652 * sysdeps/i386/fpu/libm-test-ulps: Update.
11653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11656 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11658 * math/libm-test.inc (atan2_test): Add another test.
11660 * Makerules (common-objdir-compile): Remove.
11661 * sysdeps/unix/Makefile (config-generated): Do not add
11662 $(unix-generated) to variable.
11663 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11664 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11666 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11668 [generic bits/local_lim.h] (before-compile): Do not append to
11670 [generic bits/local_lim.h] (common-generated): Likewise.
11671 [generic sys/param.h] (before-compile): Do not append to variable.
11672 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11673 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11674 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11675 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11677 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11678 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11679 [generic sys/param.h] ($(addprefix
11680 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11681 [generic sys/param.h] (common-generated): Do not append to
11683 [generic sys/param.h] (sysdep_headers): Likewise.
11684 [generic bits/errno.h] (before-compile): Do not append to
11686 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11688 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11689 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11690 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11691 [generic bits/errno.h] (common-generated): Do not append to
11693 [generic bits/ioctls.h] (before-compile): Do not append to
11695 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11697 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11698 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11699 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11701 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11702 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11703 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11704 [generic bits/ioctls.h] (common-generated): Do not append to
11706 [generic sys/syscall.h] (syscall.h): Remove variable.
11707 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11709 [generic sys/syscall.h] (before-compile): Do not append to
11711 [generic sys/syscall.h] (common-generated): Likewise.
11712 * sysdeps/unix/errnos-tmpl.c: Remove file.
11713 * sysdeps/unix/errnos.awk: Likewise.
11714 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11715 * sysdeps/unix/ioctls.awk: Likewise.
11716 * sysdeps/unix/mk-local_lim.c: Likewise.
11717 * sysdeps/unix/snarf-ioctls: Likewise.
11719 2012-03-19 Richard Henderson <rth@twiddle.net>
11721 * sysdeps/i386/fpu/fenv_private.h: New file.
11722 * sysdeps/i386/fpu/math_private.h: Use it.
11723 (math_opt_barrier, math_force_eval): Remove.
11724 (libc_feholdexcept_setround_53bit): Remove.
11725 (libc_feupdateenv_53bit): Remove.
11726 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11727 (math_opt_barrier, math_force_eval): Remove.
11728 (libc_feholdexcept): Remove.
11729 (libc_feholdexcept_setround): Remove.
11730 (libc_fetestexcept, libc_fesetenv): Remove.
11731 (libc_feupdateenv_test): Remove.
11732 (libc_feupdateenv, libc_feholdsetround): Remove.
11733 (libc_feresetround): Remove.
11735 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11736 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11738 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11739 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11740 (libc_feupdateenv_testl): New.
11741 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11742 (libc_feupdateenv_testf): New.
11743 (libc_feupdateenv): Use libc_feupdateenv_test.
11744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11745 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11747 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11748 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11749 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11750 (libc_feresetround_noex): New.
11751 (libc_feresetround_noexf): New.
11752 (libc_feresetround_noexl): New.
11753 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11754 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11755 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11756 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11761 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11762 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11763 SET_RESTORE_ROUND_NOEX.
11764 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11765 SET_RESTORE_ROUND_NOEXF.
11766 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11767 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11768 (libc_feholdsetroundf): New.
11769 (libc_feresetround, libc_feresetroundf): New.
11771 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11772 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11773 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11775 * sysdeps/generic/math_private.h: Include <fenv.h>.
11776 (default_libc_feholdexcept): New.
11777 (default_libc_feholdexcept_setround): New.
11778 (default_libc_fesetenv, default_libc_feupdateenv): New.
11779 (libc_feholdexcept): Only define if undefined.
11780 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11781 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11782 (libc_feholdexcept_setroundl): Likewise.
11783 (libc_feholdexcept_setround_53bit): Likewise.
11784 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11785 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11786 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11787 (libc_feupdateenv_53bit): Likewise.
11788 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11789 (libc_feholdexcept): Convert from macro to inline function.
11790 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11791 (libc_fesetenv, libc_feupdateenv): Likewise.
11793 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11794 not previously defined.
11795 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11796 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11797 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11798 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11799 * sysdeps/ieee754/flt-32/math_private.h: New file.
11800 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11801 math_private.h below SET_FLOAT_WORD.
11802 (__isnan, __isinf_ns, __finite): Remove.
11803 (__isnanf, __isinf_nsf, __finitef): Remove.
11805 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11809 2012-03-17 David S. Miller <davem@davemloft.net>
11812 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11815 2012-03-16 David S. Miller <davem@davemloft.net>
11817 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11821 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11823 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11824 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11825 sysdep_routines when subdir is sysvipc.
11826 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11827 __getshmlba helper.
11829 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11833 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11836 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11838 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11839 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11840 (__lround): Renamed to ...
11841 (__llround): This. Replace long int with long long int.
11842 Define lround functions as aliases of llround functions.
11843 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11845 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11847 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11848 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11849 adresses to uintptr_t. Replace "long int" and "unsigned long
11850 int" with "greg_t" on va_arg.
11852 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11854 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11855 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11857 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11858 Move e_machine check before EI_CLASS check. Handle x32
11859 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11860 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11861 SKIP_EM_IA_64 and include
11862 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11864 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11865 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11866 (add_system_dir): New macro.
11868 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11869 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11871 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11882 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11884 * math/w_j0f.c (j0f): Likewise.
11886 * math/w_j0l.c (__j0l): Likewise.
11888 * math/w_j1.c (j1): Likewise.
11890 * math/w_j1f.c (j1f): Likewise.
11892 * math/w_j1l.c (__j1l): Likewise.
11894 * math/w_jn.c (jn): Likewise.
11896 * math/w_jnf.c (jnf): Likewise.
11898 * math/w_jnl.c (__jnl): Likewise.
11900 * math/libm-test.inc (j0_test): Add more tests.
11901 (j1_test): Likewise.
11902 (jn_test): Likewise. Add trailing semicolon to existing test.
11903 (y0_test): Likewise.
11904 (y1_test): Likewise.
11905 * sysdeps/i386/fpu/libm-test-ulps: Update.
11906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11911 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11912 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11913 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11914 (__tanl): Set errno for infinite argument.
11915 * sysdeps/i386/fpu/mptan.c: Remove.
11916 * sysdeps/i386/fpu/s_tan.S: Likewise.
11917 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11918 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11919 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11920 * math/libm-test.inc (tan_test): Add more tests and enable more
11921 tests for double and long double.
11922 * sysdeps/i386/fpu/libm-test-ulps: Update.
11923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11925 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11927 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11928 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11930 2012-03-16 Roland McGrath <roland@hack.frob.com>
11932 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11933 * configure.in: Use it for both main tree and add-ons.
11934 * configure: Regenerated.
11936 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11938 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11940 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11942 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11946 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11947 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11952 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11953 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11954 != 0 for prec == 2.
11955 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11956 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11957 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11958 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11959 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11960 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11961 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11962 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11963 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11964 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11965 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11966 * math/libm-test.inc (cos_test): Add more tests and enable more
11967 tests for long double.
11968 (sin_test): Likewise.
11969 (sincos_test): Likewise.
11970 * sysdeps/i386/fpu/libm-test-ulps: Update.
11971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973 2012-03-16 David S. Miller <davem@davemloft.net>
11975 * sysdeps/sparc/fpu/math_private.h: New file.
11977 2012-03-15 David S. Miller <davem@davemloft.net>
11979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11993 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11994 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11996 * sysdeps/sparc/sparc-ifunc.h: New file.
11997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12042 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12044 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12048 2012-03-15 Andreas Jaeger <aj@suse.de>
12051 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12052 ieee754/flt-32 implementation for sin, cos and sincos.
12053 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12054 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12055 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12056 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12057 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12058 ieee754/flt-32 implementation for tan.
12060 * math/libm-test.inc (cos_test): Enable some large input tests for
12062 (sin_test): Likewise.
12063 (sincos_test): Likewise.
12064 (tan_test): Add tests for large input.
12066 * sysdeps/i386/fpu/libm-test-ulps: Update.
12068 2012-03-15 Andreas Jaeger <aj@suse.de>
12071 * math/libm-test.inc (cos_test): Add more test cases.
12072 (sin_test): Likewise.
12073 (sincos_test): Likewise.
12075 2012-03-15 Andreas Jaeger <aj@suse.de>
12078 * math/libm-test.inc (cos_test): Add a test case for large input
12080 (sin_test): Likewise.
12081 (sincos_test): Likewise.
12083 2012-03-15 Andreas Jaeger <aj@suse.de>,
12084 Joseph Myers <joseph@codesourcery.com>
12087 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12088 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12089 * sysdeps/i386/fpu/branred.c: Likewise.
12090 * sysdeps/i386/fpu/dosincos.c: Likewise.
12091 * sysdeps/i386/fpu/mpa.c: Likewise.
12092 * sysdeps/i386/fpu/s_cos.S: Likewise.
12093 * sysdeps/i386/fpu/s_sin.S: Likewise.
12094 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12095 * sysdeps/i386/fpu/sincos32.c: Likewise.
12097 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12099 (libc_feupdateenv_53bit): Define.
12100 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12102 (libc_feupdateenv_53bit): Define.
12104 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12105 53 bit (without extend i386 double precision).
12107 * math/libm-test.inc (sincos_test): Add tests for large input.
12111 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12113 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12117 2012-03-15 David S. Miller <davem@davemloft.net>
12119 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12120 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12121 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12122 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12147 fmin/fmax sysdep routines.
12148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12150 2012-03-14 David S. Miller <davem@davemloft.net>
12152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12224 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12229 * sysdeps/sparc/configure.in: New file.
12230 * sysdeps/sparc/configure: Generate.
12231 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12232 * configure: Regenerate.
12233 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12234 * config.make.in (have-as-vis3): New.
12235 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12236 available use -Av9d instead of -Av9a.
12237 * sysdeps/sparc/sparc64/Makefile: Likewise.
12238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12253 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12254 fzeros/fnegs to load 0x80000000 into a float register instead of
12256 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12258 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12262 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12263 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12264 ($(inst_includedir)/bits/syscall.h): Remove rule.
12265 ($(objpfx)bits/syscall.d): Include instead of
12266 $(objpfx)syscall-list.d.
12267 (generated): Change syscall-list.h and syscall-list.d to
12268 bits/syscall.h and bits/syscall.d.
12270 2012-03-14 Roland McGrath <roland@hack.frob.com>
12273 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12275 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12278 * math/s_csqrt.c: Include <float.h>.
12279 (__csqrt): Scale large or subnormal inputs.
12280 * math/s_csqrtf.c: Likewise.
12281 * math/s_csqrtl.c: Likewise.
12282 * math/libm-test.inc (csqrt_test): Add more tests.
12283 * sysdeps/i386/fpu/libm-test-ulps: Update.
12284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12287 * math/libm-test.inc (hypot_test): Add more tests.
12289 2012-03-13 David S. Miller <davem@davemloft.net>
12292 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12293 double-precision for the calculation instead of scaling.
12295 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12297 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12298 manipulate bits before adding and subtracting TWO52[sx].
12299 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12302 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12304 2012-03-13 David S. Miller <davem@davemloft.net>
12306 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12307 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12309 rtld-global-offsets.h
12310 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12312 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12315 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12317 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12318 'err' in the ifdef scope in which it is actually used.
12320 * nss/nss_db/db-init.c: Include string.h
12322 2012-03-12 David S. Miller <davem@davemloft.net>
12324 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12325 masking out of the most significant byte of random value used.
12326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12327 Fix coding style in previous change.
12329 * sysdeps/unix/sysv/linux/kernel-features.h
12330 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12331 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12333 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12336 2012-03-11 David S. Miller <davem@davemloft.net>
12338 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12339 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12340 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12341 for 'resultvar' otherwise things get truncated on 64-bit.
12343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12344 Fix masking out of the most significant byte of random value used.
12346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12348 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12352 2012-03-09 David S. Miller <davem@davemloft.net>
12354 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12355 variables with appropriate CPP guards.
12356 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12357 frame pointer, not the stack pointer. Correct layout comments. Fix test
12358 on resulting framesize and the management of the outregs buffer for pltexit.
12359 Preserve floating point return values across _dl_call_pltexit call.
12360 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12361 framesize and the management of the outregs buffer for pltexit.
12362 Preserve floating point return values across _dl_call_pltexit
12364 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12365 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12366 (print_exit): Fix format string for return register value.
12368 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12370 * sunrpc/Makefile (others): Add rpcgen.
12371 ($(objpfx)rpcgen): Remove special build rule and dependency on
12373 * sunrpc/rpcgen.c: New file.
12375 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12378 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12379 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12380 * sysdeps/i386/crti.S: Likewise.
12381 * sysdeps/i386/crtn.S: Likewise.
12382 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12383 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12384 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12385 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12386 * sysdeps/sh/crti.S: Likewise.
12387 * sysdeps/sh/crtn.S: Likewise.
12388 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12391 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12393 * locale/programs/locfile-kw.gperf: Likewise.
12394 * locale/programs/charmap-kw.h: Regenerated.
12395 * locale/programs/locfile-kw.h: Likewise.
12398 * intl/plural.y: Replace FSF snail mail address with URL.
12399 * intl/plural.c: Regenerated.
12401 2012-03-09 Richard Henderson <rth@twiddle.net>
12403 * include/math_private.h: Remove file.
12404 * math/math_private.h: Move file ...
12405 * sysdeps/generic/math_private.h: ... here.
12407 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12408 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12409 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12411 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12412 and <math_private.h>.
12413 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12414 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12415 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12416 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12417 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12479 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12481 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12482 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12483 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12484 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12495 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12496 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12497 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12499 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12500 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12501 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12504 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12506 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12507 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12508 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12509 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12510 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12511 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12512 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12513 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12514 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12515 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12516 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12517 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12518 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12519 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12520 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12521 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12523 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12524 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12525 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12526 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12527 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12532 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12535 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12537 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12538 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12541 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12542 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12543 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12544 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12545 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12546 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12547 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12548 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12549 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12550 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12551 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12552 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12553 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12554 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12555 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12556 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12557 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12558 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12559 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12560 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12561 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12562 * sysdeps/ieee754/k_standard.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12682 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12683 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12685 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12695 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12697 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12711 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12712 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12713 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12720 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12723 * sysdeps/ieee754/s_lib_version.c: Likewise.
12724 * sysdeps/ieee754/s_matherr.c: Likewise.
12725 * sysdeps/ieee754/s_signgam.c: Likewise.
12726 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12727 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12728 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12729 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12730 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12731 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12732 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12733 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12734 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12735 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12736 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12737 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12738 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12739 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12740 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12741 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12742 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12743 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12744 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12748 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12750 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12751 * sunrpc/rpc_main.c: Likewise.
12752 * sunrpc/rpc_svcout.c: Likewise.
12754 2012-03-09 David S. Miller <davem@davemloft.net>
12756 * include/math_private.h: New file.
12758 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12760 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12761 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12762 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12763 from <bits/socket_type.h>.
12764 (enum __socket_type): Don't define here.
12765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12767 bits/socket_type.h.
12770 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12771 checking __USE_GNU.
12773 * Makerules ($(inst_includedir)/%.h): New rule.
12774 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12775 (install-others): Remove variable setting.
12776 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12778 2012-03-08 Richard Henderson <rth@twiddle.net>
12780 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12781 from macro to inline function; merge with the
12782 !__LIBC_INTERNAL_MATH_INLINES version.
12783 (__ieee754_sqrtf): Likewise.
12785 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12786 to inline function.
12787 (__rintf, __floor, __floorf): Likewise.
12789 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12790 macro to inline function.
12791 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12793 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12794 not <math/math_private.h>.
12796 2012-03-08 David S. Miller <davem@davemloft.net>
12798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12800 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12802 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12804 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12806 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12807 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12809 2012-03-08 Ulrich Drepper <drepper@gmail.com>
12811 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12812 be defined individually, they must be defined as a block. Define
12813 S for printing a string instead of hidint the different by using a
12814 macro for adding the 'l'.
12815 * stdio-common/tst-fphex-wide.c: Adjust.
12817 2012-03-07 Marek Polacek <polacek@redhat.com>
12819 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12821 2012-03-08 Marek Polacek <polacek@redhat.com>
12824 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12825 * stdio-common/tst-fphex.c: Define a few macros to make the
12826 test reusable. Use them.
12827 * stdio-common/tst-fphex-wide.c: New file.
12829 2012-03-08 Joseph Myers <joseph@codesourcery.com>
12832 * manual/macros.texi (gnusystems): New macro.
12833 (nongnusystems): Likewise.
12834 (gnulinuxhurdsystems): Likewise.
12835 (gnuhurdsystems): Likewise..
12836 (gnulinuxsystems): Likewise.
12837 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12838 variants of the GNU system, not "GNU system".
12839 * manual/conf.texi: Likewise.
12840 * manual/errno.texi: Likewise. Update example of errno macro
12842 * manual/filesys.texi: Likewise.
12843 (getumask): Document as specific to GNU/Hurd.
12844 * manual/install.texi: Likewise. Reword some references to
12846 * manual/intro.texi: Likewise.
12847 * manual/io.texi: Likewise.
12848 (File Name Portability): Detail which constraints are inapplicable
12849 to all GNU systems and which are only inapplicable to GNU/Hurd.
12850 * manual/job.texi: Likewise.
12851 * manual/llio.texi: Likewise.
12852 (O_NOCTTY): Document as present on GNU/Linux.
12853 * manual/maint.texi: Likewise.
12854 * manual/memory.texi: Likewise.
12855 * manual/pattern.texi: Likewise.
12856 * manual/pipe.texi: Likewise.
12857 * manual/process.texi: Likewise.
12858 * manual/resource.texi: Likewise.
12859 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12861 * manual/setjmp.texi: Likewise.
12862 * manual/signal.texi: Likewise.
12863 * manual/startup.texi: Likewise.
12864 * manual/stdio.texi: Likewise.
12865 * manual/terminal.texi: Likewise.
12866 (ONLCR): Document as POSIX.
12867 (OXTABS): Document availability on GNU/Linux as XTABS.
12868 (ONOEOT): Document availability separately from other bits.
12869 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12870 * manual/time.texi: Likewise.
12871 * manual/users.texi: Likewise.
12872 * INSTALL: Regenerated.
12873 * sysdeps/gnu/errlist.c: Regenerated.
12875 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12876 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12877 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12879 * configure: Regenerated.
12881 2012-03-07 Joseph Myers <joseph@codesourcery.com>
12883 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12884 default includes instead of AC_HEADER_CHECK.
12885 * sysdeps/i386/configure: Regenerated.
12888 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12889 * math/s_cacoshf.c (__cacoshf): Likewise.
12890 * math/s_cacoshl.c (__cacoshl): Likewise.
12891 * math/s_casinh.c (__casinh): Set signs of result from argument.
12892 * math/s_casinhf.c (__casinhf): Likewise.
12893 * math/s_casinhl.c (__casinhl): Likewise.
12894 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12895 (casinh_test): Add more tests.
12896 * sysdeps/i386/fpu/libm-test-ulps: Update.
12897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12899 2012-03-07 Ulrich Drepper <drepper@gmail.com>
12901 * po/zh_TW.po: Update from translation team.
12903 * login/Makefile (distribute): Remove variable.
12904 * catgets/Makefile: Likewise.
12905 * mach/Makefile: Likewise.
12906 * malloc/Makefile: Likewise.
12907 * misc/Makefile: Likewise.
12908 * iconv/Makefile: Likewise.
12909 * nscd/Makefile: Likewise.
12910 * hurd/Makefile: Likewise.
12911 * manual/Makefile: Likewise.
12912 * locale/Makefile: Likewise.
12913 * intl/Makefile: Likewise.
12914 * conform/Makefile: Likewise.
12915 * nss/Makefile: Likewise.
12916 * time/Makefile: Likewise.
12917 * soft-fp/Makefile: Likewise.
12918 * dirent/Makefile: Likewise.
12919 * gmon/Makefile: Likewise.
12920 * po/Makefile: Likewise.
12921 * rt/Makefile: Likewise.
12922 * socket/Makefile: Likewise.
12923 * math/Makefile: Likewise.
12924 * signal/Makefile: Likewise.
12925 * debug/Makefile: Likewise.
12926 * elf/Makefile: Likewise.
12927 * timezone/Makefile: Likewise.
12928 * stdlib/Makefile: Likewise.
12929 * iconvdata/Makefile: Likewise.
12930 * sunrpc/Makefile: Likewise.
12931 * io/Makefile: Likewise.
12932 * argp/Makefile: Likewise.
12933 * inet/Makefile: Likewise.
12934 * hesiod/Makefile: Likewise.
12935 * grp/Makefile: Likewise.
12936 * csu/Makefile: Likewise.
12937 * wctype/Makefile: Likewise.
12938 * crypt/Makefile: Likewise.
12939 * libio/Makefile: Likewise.
12940 * string/Makefile: Likewise.
12941 * nis/Makefile: Likewise.
12942 * resolv/Makefile: Likewise.
12943 * stdio-common/Makefile: Likewise.
12944 * wcsmbs/Makefile: Likewise.
12945 * dlfcn/Makefile: Likewise.
12946 * posix/Makefile: Likewise.
12949 * timezone/Makefile: Don't install timezone files, just the programs
12952 2012-03-06 Ulrich Drepper <drepper@gmail.com>
12954 * nss/databases.def: Add missing gshadow entry.
12956 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12958 2012-03-06 Marek Polacek <polacek@redhat.com>
12961 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12962 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12963 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12964 * stdio-common/tst-long-dbl-fphex.c: New file.
12966 2012-03-06 David S. Miller <davem@davemloft.net>
12968 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12969 (set_obp_int): New function.
12970 (get_obp_int): New function.
12971 (__get_clockfreq_via_dev_openprom): Likewise.
12972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12973 Avoid unused variable warnings on 'val' and use builtin_expect.
12974 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12976 (INLINE_CLONE_SYSCALL): Likewise.
12978 2012-03-05 David S. Miller <davem@davemloft.net>
12980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12982 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12986 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12987 only for |x| >= 40.
12988 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12990 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12993 Replace gettimeofday with __vdso_gettimeofday.
12995 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12996 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12997 __vdso_clock_gettime and __vdso_getcpu.
12999 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13000 time with __vdso_time.
13002 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13004 * manual/lang.texi (size_t): Note types to which size_t may be
13005 equivalent with the GNU C Library, but do not describe when
13006 differences between them are significant.
13008 2012-03-05 Andreas Jaeger <aj@suse.de>
13010 * sysdeps/i386/fpu/libm-test-ulps: Update.
13012 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13015 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13016 (__ieee754_pow): Save and restore rounding mode and use
13017 round-to-nearest for main computations.
13018 * math/libm-test.inc (pow_test_tonearest): New function.
13019 (pow_test_towardzero): Likewise.
13020 (pow_test_downward): Likewise.
13021 (pow_test_upward): Likewise.
13022 (main): Call the new functions.
13023 * sysdeps/i386/fpu/libm-test-ulps: Update.
13024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13027 * math/libm-test.inc (cosh_test_tonearest): New function.
13028 (cosh_test_towardzero): Likewise.
13029 (cosh_test_downward): Likewise.
13030 (cosh_test_upward): Likewise.
13031 (sinh_test_tonearest): Likewise.
13032 (sinh_test_towardzero): Likewise.
13033 (sinh_test_downward): Likewise.
13034 (sinh_test_upward): Likewise.
13035 (main): Call the new functions.
13036 * sysdeps/i386/fpu/libm-test-ulps: Update.
13037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13039 2012-03-05 Tom de Vries <tom@codesourcery.com>
13041 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13042 default stack guard is set in last bytes.
13043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13045 2012-03-05 Kees Cook <keescook@chromium.org>
13047 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13050 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13051 possibly allocate from heap instead of stack.
13052 * stdio-common/bug-vfprintf-nargs.c: New file.
13053 * stdio-common/Makefile (tests): Add nargs overflow test.
13055 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13059 2012-03-03 Marek Polacek <polacek@redhat.com>
13061 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13062 * math/math_private.h: Likewise.
13063 * stdlib/tst-strtod.c: Likewise.
13064 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13065 * sysdeps/x86_64/bits/atomic.h: Likewise.
13067 2012-03-02 David S. Miller <davem@davemloft.net>
13069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13073 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13074 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13075 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13076 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13078 2012-03-02 Roland McGrath <roland@hack.frob.com>
13081 * manual/examples/README: New file, says the example source files
13082 can be used under GPL>=2.
13083 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13084 line containing just "*/".
13085 * manual/examples/add.c: Add copyright header (GPL>=2).
13086 * manual/examples/argp-ex1.c: Likewise.
13087 * manual/examples/argp-ex2.c: Likewise.
13088 * manual/examples/argp-ex3.c: Likewise.
13089 * manual/examples/argp-ex4.c: Likewise.
13090 * manual/examples/atexit.c: Likewise.
13091 * manual/examples/db.c: Likewise.
13092 * manual/examples/dir.c: Likewise.
13093 * manual/examples/dir2.c: Likewise.
13094 * manual/examples/execinfo.c: Likewise.
13095 * manual/examples/filecli.c: Likewise.
13096 * manual/examples/filesrv.c: Likewise.
13097 * manual/examples/fmtmsgexpl.c: Likewise.
13098 * manual/examples/genpass.c: Likewise.
13099 * manual/examples/inetcli.c: Likewise.
13100 * manual/examples/inetsrv.c: Likewise.
13101 * manual/examples/isockad.c: Likewise.
13102 * manual/examples/longopt.c: Likewise.
13103 * manual/examples/memopen.c: Likewise.
13104 * manual/examples/memstrm.c: Likewise.
13105 * manual/examples/mkfsock.c: Likewise.
13106 * manual/examples/mkisock.c: Likewise.
13107 * manual/examples/mygetpass.c: Likewise.
13108 * manual/examples/pipe.c: Likewise.
13109 * manual/examples/popen.c: Likewise.
13110 * manual/examples/rprintf.c: Likewise.
13111 * manual/examples/search.c: Likewise.
13112 * manual/examples/select.c: Likewise.
13113 * manual/examples/setjmp.c: Likewise.
13114 * manual/examples/sigh1.c: Likewise.
13115 * manual/examples/sigusr.c: Likewise.
13116 * manual/examples/stpcpy.c: Likewise.
13117 * manual/examples/strdupa.c: Likewise.
13118 * manual/examples/strftim.c: Likewise.
13119 * manual/examples/strncat.c: Likewise.
13120 * manual/examples/subopt.c: Likewise.
13121 * manual/examples/swapcontext.c: Likewise.
13122 * manual/examples/termios.c: Likewise.
13123 * manual/examples/testopt.c: Likewise.
13124 * manual/examples/testpass.c: Likewise.
13125 * manual/examples/timeval_subtract.c: Likewise.
13128 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13130 * manual/timeval_subtract.c.texi: ... here, new file.
13132 2012-03-02 David S. Miller <davem@davemloft.net>
13134 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13136 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13139 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13140 (__sin): Save and restore rounding mode and use round-to-nearest
13141 for all computations.
13142 (__cos): Save and restore rounding mode and use round-to-nearest
13143 for all computations.
13144 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13146 (tan): Save and restore rounding mode and use round-to-nearest for
13148 * math/libm-test.inc (cos_test_tonearest): New function.
13149 (cos_test_towardzero): Likewise.
13150 (cos_test_downward): Likewise.
13151 (cos_test_upward): Likewise.
13152 (sin_test_tonearest): Likewise.
13153 (sin_test_towardzero): Likewise.
13154 (sin_test_downward): Likewise.
13155 (sin_test_upward): Likewise.
13156 (tan_test_tonearest): Likewise.
13157 (tan_test_towardzero): Likewise.
13158 (tan_test_downward): Likewise.
13159 (tan_test_upward): Likewise.
13160 (main): Call the new functions.
13161 * sysdeps/i386/fpu/libm-test-ulps: Update.
13162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13165 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13166 small n, then large n, before computing and testing k+n.
13167 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13170 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13172 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13173 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13178 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13179 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13180 * math/libm-test.inc (scalbn_test): Add more tests.
13181 (scalbln_test): Likewise.
13183 * manual/filesys.texi (mode_t): Describe constraints on size and
13184 signedness, not exact equivalence to a particular type.
13186 (ino64_t): Likewise.
13188 (nlink_t): Likewise.
13189 (blkcnt_t): Likewise.
13190 (blkcnt64_t): Likewise.
13191 * manual/llio.texi (off_t): Likewise.
13194 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13195 (__ieee754_exp): Save and restore rounding mode and use
13196 round-to-nearest for all computations.
13197 * math/libm-test.inc (exp_test_tonearest): New function.
13198 (exp_test_towardzero): Likewise.
13199 (exp_test_downward): Likewise.
13200 (exp_test_upward): Likewise.
13201 (main): Call the new functions.
13202 * sysdeps/i386/fpu/libm-test-ulps: Update.
13203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13205 2012-03-01 Chris Demetriou <cgd@google.com>
13207 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13208 have predictable order.
13210 2012-03-01 David S. Miller <davem@davemloft.net>
13212 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13214 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13215 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13216 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13217 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13219 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13220 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13221 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13223 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13224 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13225 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13226 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13227 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13232 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13233 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13235 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13236 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13237 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13238 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13239 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13241 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13242 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13243 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13244 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13245 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13246 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13248 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13249 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13251 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13252 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13253 * sysdeps/sparc/elf/configure: Regenerated.
13255 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13257 * configure.in (AS, LD): Require binutils 2.20 or later.
13258 * configure: Regenerated.
13259 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13260 as required minimum version.
13261 * INSTALL: Regenerated.
13265 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13266 before squaring exponent.
13267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13268 bottom long double and 27 bits of top long double before squaring
13270 * math/libm-test.inc (erfc_test): Add more tests.
13271 * sysdeps/i386/fpu/libm-test-ulps: Update.
13272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13275 2012-03-01 Kai Tietz <ktietz@redhat.com>
13277 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13278 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13279 containing bit-fields.
13280 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13281 * soft-fp/single.h (_FP_UNION_S): Likewise.
13282 * soft-fp/double.h (_FP_UNION_D): Likewise.
13284 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13287 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13288 not include ../strcmp.S.
13289 [USE_AS_STRNCASECMP_L]: Likewise.
13290 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13291 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13292 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13293 (__strncasecmp_l_ia32): Define as alias to
13294 __strncasecmp_l_nonascii.
13297 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13298 * sysdeps/i386/fpu/libm-test-ulps: Update.
13299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13301 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13304 2012-02-29 Jeff Law <law@redhat.com>
13306 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13307 out of bounds read.
13309 2012-02-29 Marek Polacek <polacek@redhat.com>
13312 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13313 * elf/Makefile: Add rules to run tst-unused-dep.out.
13315 2012-02-28 David S. Miller <davem@davemloft.net>
13317 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13318 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13321 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13322 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13324 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13326 * math/libm-test.inc (llround_test): Move one test from
13327 lround_test. Use TEST_f_L in moved test.
13328 (lround_test): Move misplaced test to llround_test. Add testcase
13331 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13333 * sysdeps/x86_64/fpu/e_expf.S: New file.
13334 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13336 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13339 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13340 of remain_len that may cause incomplete multi-byte character and
13342 * posix/bug-regex33.c: New file.
13343 * posix/Makefile (tests): Add bug-regex33.
13345 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13347 * manual/macros.texi: New file.
13348 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13349 * manual/libc.texinfo: Include macros.texi.
13350 * manual/creatute.texi: Likewise.
13351 * manual/install.texi: Likewise.
13352 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13353 @glibcadj{} in references to the GNU C Library.
13354 * manual/charset.texi: Likewise.
13355 * manual/conf.texi: Likewise.
13356 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13357 when not using those macros.
13358 * manual/creature.texi: Likewise.
13359 * manual/crypt.texi: Likewise.
13360 * manual/errno.texi: Likewise.
13361 * manual/filesys.texi: Likewise.
13362 * manual/header.texi: Likewise.
13363 * manual/install.texi: Likewise.
13364 * manual/intro.texi: Likewise.
13365 * manual/io.texi: Likewise.
13366 * manual/job.texi: Likewise.
13367 * manual/lang.texi: Likewise.
13368 * manual/libc.texiinfo: Likewise.
13369 * manual/llio.texi: Likewise.
13370 * manual/locale.texi: Likewise.
13371 * manual/maint.texi: Likewise.
13372 * manual/math.texi: Likewise.
13373 * manual/memory.texi: Likewise.
13374 * manual/message.texi: Likewise.
13375 * manual/nss.texi: Likewise.
13376 * manual/pattern.texi: Likewise.
13377 * manual/process.texi: Likewise.
13378 * manual/resource.texi: Likewise.
13379 * manual/search.texi: Likewise.
13380 * manual/setjmp.texi: Likewise.
13381 * manual/signal.texi: Likewise.
13382 * manual/socket.texi: Likewise.
13383 * manual/startup.texi: Likewise.
13384 * manual/stdio.texi: Likewise.
13385 * manual/string.texi: Likewise.
13386 * manual/sysinfo.texi: Likewise.
13387 * manual/syslog.texi: Likewise.
13388 * manual/terminal.texi: Likewise.
13389 * manual/time.texi: Likewise.
13390 * manual/users.texi: Likewise.
13391 * INSTALL: Regenerated.
13392 * NOTES: Regenerated.
13393 * sysdeps/gnu/errlist.c: Regenerated.
13395 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13397 * include/dirent.h: Include <dirstream.h> before
13400 2012-02-28 David S. Miller <davem@davemloft.net>
13402 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13403 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13404 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13405 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13407 2012-02-27 David S. Miller <davem@davemloft.net>
13409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13411 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13412 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13415 frame pointer instead of stack pointer relative arg slot.
13416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13417 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13418 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13420 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13423 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13425 2012-02-27 David S. Miller <davem@davemloft.net>
13427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13431 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13432 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13433 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13434 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13436 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13438 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13439 later. Allow versions 5-9.
13440 * configure: Regenerated.
13441 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13442 required minimum version and 4.6 as recommended version. Do not
13443 mention bugs in GCC 2.7 and 2.8.
13444 * INSTALL: Regenerated.
13446 2012-02-27 David S. Miller <davem@davemloft.net>
13448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13452 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13453 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13454 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13455 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13457 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13458 manipulate bits before adding and subtracting TWO112[sx].
13459 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13461 2012-02-27 Roland McGrath <roland@hack.frob.com>
13464 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13465 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13466 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13467 being in POSIX, because they are in 1003.1-2008.
13469 * rt/tst-aio.c: Include <fcntl.h>.
13470 * rt/tst-aio7.c: Likewise.
13471 * rt/tst-aio64.c: Likewise.
13473 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13475 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13477 * manual/install.texi (--with-headers): Describe headers as
13478 interface headers, not private headers.
13479 (Specific advice for GNU/Linux systems): Describe use of headers
13480 from "make headers_install", not private headers from older
13482 * INSTALL: Regenerated.
13483 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13485 * sysdeps/unix/sysv/linux/configure: Regenerated.
13487 * manual/llio.texi (fclean): Remove documentation.
13489 * manual/Makefile (libc-texi-generated): New variable. Include
13491 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13492 $(libc-texi-generated), not duplicated list of files.
13493 (version.texi, stamp-version): New rules.
13494 (realclean): Remove $(libc-texi-generated), not individual files
13495 from that list. Do not remove dir-add.texinfo.
13496 * manual/libc.texinfo: Comment out uses of edition numbers and
13497 references to printed manual. Remove last-updated dates.
13498 (EDITION): Comment out.
13500 (VERSION, UPDATED): Remove.
13501 (version.texi): Include.
13503 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13505 * sysdeps/posix/spawni.c: Include <signal.h>.
13506 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13507 * sysdeps/pthread/aio_fsync.c: Likewise.
13509 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13511 * conform/Makefile (tests): Run only when not cross-compiling and
13512 when fast-check is not defined.
13514 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13515 * conform/data/limits.h-data: Fixes for POSIX2008.
13516 * conform/run-conformtest.sh: Run all tests.
13517 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13519 * include/bits/dlfcn.h: Likewise.
13520 * include/langinfo.h: Likewise.
13521 * include/monetary.h: Likewise.
13522 * include/sys/poll.h: Likewise.
13524 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13526 * posix/spawn.h: Define __need_sigset_t.
13527 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13528 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13529 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13530 to get sigevent_t only.
13531 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13532 only for __USE_GNU.
13533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13534 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13535 process_vm_writev only for __USE_GNU.
13536 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13538 * conform/Makefile: For now ignore errors from run-conformtest.
13539 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13540 POSIX to avoid namespace pollution. Don't prepend headers.
13541 * conform/data/aio.h-data: Fixes for POSIX testing.
13542 * conform/data/fcntl.h-data: Likewise.
13543 * conform/data/glob.h-data: Likewise.
13544 * conform/data/grp.h-data: Likewise.
13545 * conform/data/pthread.h-data: Likewise.
13546 * conform/data/pwd.h-data: Likewise.
13547 * conform/data/signal.h-data: Likewise.
13548 * conform/data/spawn.h-data: Likewise.
13549 * conform/data/stdio.h-data: Likewise.
13550 * conform/data/stdlib.h-data: Likewise.
13551 * conform/data/stropts.h-data: Likewise.
13552 * conform/data/sys/mman.h-data: Likewise.
13553 * conform/data/sys/stat.h-data: Likewise.
13554 * conform/data/sys/types.h-data: Likewise.
13555 * conform/data/sys/wait.h-data: Likewise.
13556 * conform/data/time.h-data: Likewise.
13557 * conform/data/unistd.h-data: Likewise.
13558 * conform/data/utime.h-data: Likewise.
13560 * io/sys/stat.h: fchmod was always in POSIX.
13561 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13562 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13563 * rt/aio.h: Define __need_timespec before including <time.h>.
13564 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13565 struct. Add forward declaration of pthread_attr_t and use it in
13567 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13568 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13569 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13570 always remove CLK_TCK definition.
13572 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13574 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13576 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13578 * conform/run-conformtest.sh: New file.
13579 * conform/Makefile: Run run-conformtest for tests.
13580 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13583 * conform/data/uchar.h-data: New file.
13584 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13585 * conform/data/arpa/inet.h-data: Likewise.
13586 * conform/data/assert.h-data: Likewise.
13587 * conform/data/complex.h-data: Likewise.
13588 * conform/data/cpio.h-data: Likewise.
13589 * conform/data/ctype.h-data: Likewise.
13590 * conform/data/dirent.h-data: Likewise.
13591 * conform/data/dlfcn.h-data: Likewise.
13592 * conform/data/errno.h-data: Likewise.
13593 * conform/data/fcntl.h-data: Likewise.
13594 * conform/data/float.h-data: Likewise.
13595 * conform/data/fmtmsg.h-data: Likewise.
13596 * conform/data/fnmatch.h-data: Likewise.
13597 * conform/data/ftw.h-data: Likewise.
13598 * conform/data/glob.h-data: Likewise.
13599 * conform/data/grp.h-data: Likewise.
13600 * conform/data/iconv.h-data: Likewise.
13601 * conform/data/inttypes.h-data: Likewise.
13602 * conform/data/langinfo.h-data: Likewise.
13603 * conform/data/libgen.h-data: Likewise.
13604 * conform/data/limits.h-data: Likewise.
13605 * conform/data/locale.h-data: Likewise.
13606 * conform/data/math.h-data: Likewise.
13607 * conform/data/monetary.h-data: Likewise.
13608 * conform/data/mqueue.h-data: Likewise.
13609 * conform/data/ndbm.h-data: Likewise.
13610 * conform/data/net/if.h-data: Likewise.
13611 * conform/data/netdb.h-data: Likewise.
13612 * conform/data/netinet/in.h-data: Likewise.
13613 * conform/data/nl_types.h-data: Likewise.
13614 * conform/data/poll.h-data: Likewise.
13615 * conform/data/pthread.h-data: Likewise.
13616 * conform/data/pwd.h-data: Likewise.
13617 * conform/data/regex.h-data: Likewise.
13618 * conform/data/sched.h-data: Likewise.
13619 * conform/data/search.h-data: Likewise.
13620 * conform/data/semaphore.h-data: Likewise.
13621 * conform/data/setjmp.h-data: Likewise.
13622 * conform/data/signal.h-data: Likewise.
13623 * conform/data/spawn.h-data: Likewise.
13624 * conform/data/stdarg.h-data: Likewise.
13625 * conform/data/stdio.h-data: Likewise.
13626 * conform/data/stdlib.h-data: Likewise.
13627 * conform/data/string.h-data: Likewise.
13628 * conform/data/strings.h-data: Likewise.
13629 * conform/data/stropts.h-data: Likewise.
13630 * conform/data/sys/ipc.h-data: Likewise.
13631 * conform/data/sys/mman.h-data: Likewise.
13632 * conform/data/sys/msg.h-data: Likewise.
13633 * conform/data/sys/resource.h-data: Likewise.
13634 * conform/data/sys/select.h-data: Likewise.
13635 * conform/data/sys/sem.h-data: Likewise.
13636 * conform/data/sys/shm.h-data: Likewise.
13637 * conform/data/sys/socket.h-data: Likewise.
13638 * conform/data/sys/stat.h-data: Likewise.
13639 * conform/data/sys/statvfs.h-data: Likewise.
13640 * conform/data/sys/time.h-data: Likewise.
13641 * conform/data/sys/timeb.h-data: Likewise.
13642 * conform/data/sys/times.h-data: Likewise.
13643 * conform/data/sys/types.h-data: Likewise.
13644 * conform/data/sys/uio.h-data: Likewise.
13645 * conform/data/sys/un.h-data: Likewise.
13646 * conform/data/sys/utsname.h-data: Likewise.
13647 * conform/data/sys/wait.h-data: Likewise.
13648 * conform/data/syslog.h-data: Likewise.
13649 * conform/data/tar.h-data: Likewise.
13650 * conform/data/termios.h-data: Likewise.
13651 * conform/data/utime.h-data: Likewise.
13652 * conform/data/utmpx.h-data: Likewise.
13653 * conform/data/varargs.h-data: Likewise.
13654 * conform/data/wchar.h-data: Likewise.
13655 * conform/data/wctype.h-data: Likewise.
13656 * conform/data/wordexp.h-data: Likewise.
13658 * include/stropts.h: New file.
13659 * include/uchar.h: New file.
13660 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13661 * include/assert.h: Likewise.
13662 * include/ctype.h: Likewise.
13663 * include/dirent.h: Likewise.
13664 * include/dlfcn.h: Likewise.
13665 * include/fcntl.h: Likewise.
13666 * include/fnmatch.h: Likewise.
13667 * include/glob.h: Likewise.
13668 * include/grp.h: Likewise.
13669 * include/libio.h: Likewise.
13670 * include/locale.h: Likewise.
13671 * include/math.h: Likewise.
13672 * include/net/if.h: Likewise.
13673 * include/netdb.h: Likewise.
13674 * include/netinet/in.h: Likewise.
13675 * include/pthread.h: Likewise.
13676 * include/pwd.h: Likewise.
13677 * include/regex.h: Likewise.
13678 * include/sched.h: Likewise.
13679 * include/search.h: Likewise.
13680 * include/setjmp.h: Likewise.
13681 * include/signal.h: Likewise.
13682 * include/stdio.h: Likewise.
13683 * include/stdlib.h: Likewise.
13684 * include/string.h: Likewise.
13685 * include/sys/cdefs.h: Likewise.
13686 * include/sys/mman.h: Likewise.
13687 * include/sys/msg.h: Likewise.
13688 * include/sys/resource.h: Likewise.
13689 * include/sys/select.h: Likewise.
13690 * include/sys/socket.h: Likewise.
13691 * include/sys/stat.h: Likewise.
13692 * include/sys/statvfs.h: Likewise.
13693 * include/sys/time.h: Likewise.
13694 * include/sys/times.h: Likewise.
13695 * include/sys/uio.h: Likewise.
13696 * include/sys/utsname.h: Likewise.
13697 * include/sys/wait.h: Likewise.
13698 * include/termios.h: Likewise.
13699 * include/time.h: Likewise.
13700 * include/ulimit.h: Likewise.
13701 * include/unistd.h: Likewise.
13702 * include/utime.h: Likewise.
13703 * include/wchar.h: Likewise.
13704 * include/wctype.h: Likewise.
13705 * include/wordexp.h: Likewise.
13707 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13709 * time/time.h: TIME_UTC must be a macro.
13710 Make timespec_get available for ISO C11 only as well.
13712 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13714 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13715 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13717 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13719 * configure.in: Use -o not -a in test for unsupported multi-arch.
13721 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13723 * manual/texinfo.tex: Update to version 2012-01-19.16.
13725 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13727 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13729 2012-02-24 Roland McGrath <roland@hack.frob.com>
13732 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13733 * manual/fdl-1.3.texi: New file.
13734 * manual/fdl-1.1.texi: File removed.
13737 * manual/libc.texinfo (FDL_VERSION): New @set.
13738 Use it for mention of FDL in cover text.
13739 (Documentation License): Use it in @include file name.
13741 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13742 Roland McGrath <roland@hack.frob.com>
13745 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13746 not LONG_LONG_MAX and LONG_LONG_MIN.
13747 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13748 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13750 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13752 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13756 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13757 manipulate bits before adding and subtracting TWO23[sx].
13758 * math/libm-test.inc (nearbyint_test): Add more tests.
13760 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13763 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13764 bits before adding and subtracting TWO23[sx].
13765 * math/libm-test.inc (rint_test): Add more tests.
13766 (rint_test_tonearest): Likewise.
13767 (rint_test_towardzero): Likewise.
13768 (rint_test_downward): Likewise.
13769 (rint_test_upward: Likewise.
13771 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13774 * include/stdc-predef.h: New file. Extracted from features.h.
13775 * include/features.h: Include stdc-predef.h.
13776 * Makefile (headers): Add stdc-predef.h.
13777 * CONFORMANCE (Compiler limitations): Update.
13779 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13781 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13783 2012-02-21 David S. Miller <davem@davemloft.net>
13785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13788 2012-02-20 David S. Miller <davem@davemloft.net>
13790 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13791 using a normal save/restore sequence, rather than allocating a
13792 dummy stack frame just to store a frame pointer and restore.
13793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13795 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13797 * manual/install.texi: Fix stray word in line-wrapped comment.
13799 2012-02-20 David S. Miller <davem@davemloft.net>
13801 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13802 both binutils and gcc support GOTDATA.
13804 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13805 "rd %pc" in the PIC register setup sequences.
13807 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13808 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13809 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13810 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13811 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13812 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13814 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13816 (SYSCALL_ERROR_HANDLER): Likewise.
13817 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13820 (SYSCALL_ERROR_HANDLER): Likewise.
13822 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13823 (HAVE_GCC_GOTDATA): New.
13824 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13825 relocation support in both binutils and gcc.
13826 * sysdeps/sparc/elf/configure: Regenerate.
13828 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13829 * sysdeps/sparc/sparc32/elf/configure: Delete.
13830 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13831 * sysdeps/sparc/sparc64/elf/configure: Delete.
13832 * sysdeps/sparc/elf/configure.in: New file.
13833 * sysdeps/sparc/elf/configure: Generate.
13835 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13836 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13837 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13838 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13839 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13841 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13843 * manual/install.texi: Do not mention specific glibc version
13845 * manual/libc.texinfo (VERSION, UPDATED): Update.
13846 (@copying): Use @copyright{} and range of years.
13848 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13851 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13852 [crti.S not in sysdirs] (generated): Do not append.
13853 [crti.S not in sysdirs] (omit-deps): Likewise.
13854 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13855 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13856 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13857 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13858 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13860 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13861 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13862 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13863 * csu/defs.awk: Remove file.
13864 * sysdeps/generic/initfini.c: Likewise.
13865 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13867 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13870 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13872 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13873 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13876 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13877 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13879 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13880 (__EPOLL_PACKED): Define to empty if not defined by
13882 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13886 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13888 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13889 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13891 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13893 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13897 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13899 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13901 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13902 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13903 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13906 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13908 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13909 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13911 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13913 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13914 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13916 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13918 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13921 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13923 * math/w_acos.c: Use non-signaling floating-point comparisons.
13924 * math/w_acosf.c: Likewise.
13925 * math/w_acosh.c: Likewise.
13926 * math/w_acoshf.c: Likewise.
13927 * math/w_acoshl.c: Likewise.
13928 * math/w_acosl.c: Likewise.
13929 * math/w_asin.c: Likewise.
13930 * math/w_asinf.c: Likewise.
13931 * math/w_asinl.c: Likewise.
13932 * math/w_atanh.c: Likewise.
13933 * math/w_atanhf.c: Likewise.
13934 * math/w_atanhl.c: Likewise.
13935 * math/w_exp2.c: Likewise.
13936 * math/w_exp2f.c: Likewise.
13937 * math/w_exp2l.c: Likewise.
13938 * math/w_j0.c: Likewise.
13939 * math/w_j0f.c: Likewise.
13940 * math/w_j0l.c: Likewise.
13941 * math/w_j1.c: Likewise.
13942 * math/w_j1f.c: Likewise.
13943 * math/w_j1l.c: Likewise.
13944 * math/w_jn.c: Likewise.
13945 * math/w_jnf.c: Likewise.
13946 * math/w_log.c: Likewise.
13947 * math/w_log10.c: Likewise.
13948 * math/w_log10f.c: Likewise.
13949 * math/w_log10l.c: Likewise.
13950 * math/w_log2.c: Likewise.
13951 * math/w_log2f.c: Likewise.
13952 * math/w_log2l.c: Likewise.
13953 * math/w_logf.c: Likewise.
13954 * math/w_logl.c: Likewise.
13955 * math/w_sqrt.c: Likewise.
13956 * math/w_sqrtf.c: Likewise.
13957 * math/w_sqrtl.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13960 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13961 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13962 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13964 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13967 * manual/string.texi (strnlen): Use correct parameter name in
13968 equivalent expression.
13970 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13973 * manual/users.texi (seteuid): Consistently use neweuid for
13976 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13979 * manual/nss.texi (Services in the NSS configuration): Correct
13980 list of services in example configuration file.
13982 2012-02-19 Nick Bowler <nbowler@draconx.ca>
13985 * manual/arith.texi: Remove statements about negative zero
13986 behaving identically to zero.
13988 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13991 * manual/install.texi: Do not document upgrading from libc5.
13993 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13996 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13998 2012-02-18 David S. Miller <davem@davemloft.net>
14000 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14001 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14002 %o7 across the call.
14003 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14006 SETUP_PIC_REG_LEAF.
14007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14008 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14009 * sysdeps/sparc/crtn.S: Likewise.
14011 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14013 * aout/Makefile: Remove.
14015 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14018 * manual/examples/argp-ex1.c (main): Format definition in GNU
14020 * manual/examples/argp-ex2.c (main): Likewise.
14021 * manual/examples/argp-ex3.c (main): Likewise.
14022 * manual/examples/argp-ex4.c (main): Likewise.
14023 * manual/examples/longopt.c (main): Use new-style prototype
14025 * manual/examples/strncat.c (main): Specify return type and use
14026 (void) for arguments.
14027 * manual/examples/subopt.c (main): Use char **argv argument.
14029 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14032 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14035 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14038 * manual/string.texi (strchr): Change when strchrnul is
14041 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14044 * manual/locale.texi (setlocale): Document LOCPATH.
14046 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14049 * manual/process.texi (execle): Move @dots{} before last argument.
14051 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14054 * manual/charset.texi (Generic Charset Conversion): Fix typo
14055 (LC_TYPE -> LC_CTYPE).
14057 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14060 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14061 (scalbnf): Likewise.
14062 (scalbnl): Likewise.
14063 (scalbln): Likewise.
14064 (scalblnf): Likewise.
14065 (scalblnl): Likewise.
14066 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14067 (vwarnx): Likewise.
14070 * manual/filesys.texi (telldir): Use braces around return type.
14071 * manual/llio.texi (mmap): Add space after comma.
14072 (mmap64): Likewise.
14073 * manual/math.texi (jn): Use @var{} on parameter names.
14079 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14081 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14083 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14084 (sched_get_priority_max): Likewise.
14085 * manual/signal.texi (sigvec): Add space after comma.
14086 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14088 (if_indextoname): Likewise.
14089 (if_freenameindex): Likewise.
14090 (sendto): Use ',' instead of '.' in prototype.
14091 * manual/startup.texi (syscall): Use @dots{} instead of literal
14093 * manual/stdio.texi (__fpending): Separate initial words of
14094 paragraph from @deftypefun line.
14095 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14097 (vsyslog): Use @var{} on parameter names.
14098 * manual/terminal.texi (stty): Use @var{} on parameter names.
14099 * manual/users.texi (getutmp): Use @var{} on parameter names.
14100 (getutmpx): Likewise.
14102 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14105 * manual/stdio.texi (fopen): Fix typos in description of
14108 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14111 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14112 get clock_id definition.
14114 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14117 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14118 (madvise): Cast every argument to void on its own.
14120 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14123 * manual/startup.texi (Exit Status): Fix typo.
14125 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14128 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14129 * manual/examples/argp-ex2.c: Likewise.
14130 * manual/examples/argp-ex3.c: Likewise.
14132 2012-02-16 Richard Henderson <rth@redhat.com>
14134 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14135 * sysdeps/s390/s390-32/initfini.c: Remove.
14136 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14137 * sysdeps/s390/s390-64/initfini.c: Remove.
14139 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14141 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14142 compiler output for sysdeps/generic/initfini.c.
14143 * sysdeps/sh/elf/initfini.c: Remove file.
14145 2012-02-16 David S. Miller <davem@davemloft.net>
14148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14150 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14151 * sysdeps/sparc/crti.S: New file.
14152 * sysdeps/sparc/crtn.S: New file.
14153 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14154 * sysdeps/sparc/sparc64/Makefile: Likewise.
14156 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14159 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14161 2012-02-15 Roland McGrath <roland@hack.frob.com>
14164 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14166 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14167 (write, read, close): Likewise.
14168 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14170 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14172 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14173 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14174 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14175 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14177 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14181 2012-02-14 Marek Polacek <polacek@redhat.com>
14183 * sysdeps/x86_64/crti.S: New file.
14184 * sysdeps/x86_64/crtn.S: New file.
14185 * sysdeps/x86_64/elf/initfini.c: Remove file.
14187 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14189 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14190 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14191 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14192 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14194 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14198 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14200 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14201 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14202 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14203 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14205 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14209 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14211 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14212 __feraiseexcept instead of feraiseexcept.
14214 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14215 nanosleep invocations.
14216 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14217 strings, and add error checking for a nanosleep invocations.
14219 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14221 Replace FSF snail mail address with URLs, as per GNU coding standards.
14222 Most of the snail mail addresses were wrong anyway, and omitting
14223 them makes the source code easier to maintain. Almost all of the
14224 changes are to license notices and to locale LC_IDENTIFICATION
14225 addresses, except for this one:
14226 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14227 not its snail mail address.
14229 2012-02-09 Richard Henderson <rth@twiddle.net>
14231 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14232 of kernel-features.h.
14234 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14236 2012-02-08 Marek Polacek <polacek@redhat.com>
14238 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14239 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14240 * sysdeps/gnu/_G_config.h: Likewise.
14241 * sysdeps/generic/_G_config.h: Likewise.
14243 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14245 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249 * sysdeps/powerpc/powerpc32/crti.S: New file.
14250 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14251 * sysdeps/powerpc/powerpc64/crti.S: New file.
14252 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14254 * Makeconfig (have-initfini): Don't set.
14255 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14256 * configure.in (nopic_initfini): Don't substitute.
14257 * config.h.in (HAVE_INITFINI): Don't #undef.
14258 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14259 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14261 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14263 Support crti.S and crtn.S provided directly by architectures.
14264 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14265 [crti.S in sysdirs] (omit-deps): Likewise.
14266 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14267 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14268 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14269 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14270 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14271 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14272 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14273 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14274 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14275 compiler output for sysdeps/generic/initfini.c.
14276 * sysdeps/i386/elf/Makefile: Remove file.
14277 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14279 2012-02-07 Marek Polacek <polacek@redhat.com>
14281 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14282 * sysdeps/gnu/_G_config.h: Likewise.
14283 * sysdeps/mach/hurd/_G_config.h: Likewise.
14285 2012-02-07 Marek Polacek <polacek@redhat.com>
14287 * math/Makefile (tests): Add tst-CMPLX2.
14288 * math/tst-CMPLX2.c: New file.
14290 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14292 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14294 * math/libm-test.inc (jn_test): Add missing L suffix.
14296 2012-02-06 Marek Polacek <polacek@redhat.com>
14298 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14299 * sysdeps/i386/fpu/e_powf.S: Likewise.
14300 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14301 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14302 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14303 * sysdeps/i386/fpu/e_pow.S: Likewise.
14304 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14305 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14306 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14307 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14308 * sysdeps/i386/fpu/e_log2.S: Likewise.
14309 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14310 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14311 * sysdeps/i386/fpu/e_powl.S: Likewise.
14312 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14313 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14314 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14315 * sysdeps/i386/fpu/e_logl.S: Likewise.
14316 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14317 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14318 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14319 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14320 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14321 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14322 * sysdeps/i386/fpu/e_log.S: Likewise.
14323 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14324 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14325 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14326 * sysdeps/i386/fpu/e_logf.S: Likewise.
14327 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14328 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14329 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14330 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14331 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14332 * sysdeps/i386/fpu/e_log10.S: Likewise.
14333 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14334 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14335 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14336 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14337 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14338 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14339 * sysdeps/i386/asm-syntax.h: Likewise.
14340 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14341 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14342 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14343 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14344 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14345 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14346 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14347 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14348 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14349 * sysdeps/powerpc/sysdep.h: Likewise.
14350 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14351 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14353 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14356 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14358 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14360 * sysdeps/i386/sysdep.h: Include <features.h>.
14361 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14364 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14366 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14368 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14371 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14373 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14374 (SETUP_PIC_REG): Use GET_PC_THUNK.
14375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14378 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14380 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14381 for non-PIC compilation.
14382 (SETUP_PIC_REG): Add .p2align directive.
14383 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14384 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14385 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14387 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14388 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14389 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14390 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14391 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14392 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14393 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14394 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14395 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14396 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14397 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14398 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14399 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14400 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14401 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14402 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14404 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14405 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14406 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14409 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14411 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14412 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14413 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14414 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14415 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14416 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14417 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14418 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14419 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14420 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14421 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14422 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14423 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14425 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14427 * math/tst-CMPLX.c: Include <stdio.h>.
14429 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14431 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14433 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14434 * sysdeps/sparc/bits/mathdef.h: Likewise.
14436 2012-01-31 Marek Polacek <polacek@redhat.com>
14438 * libio/libio.h: Don't define _PARAMS.
14439 * locale/programs/config.h: Don't define PARAMS.
14440 * stdlib/strtol_l.c: Likewise.
14441 (__strtol_l): Remove PARAMS from the prototype.
14443 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14445 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14446 names. Just use the correct names. Remove unnecessary wrapper
14448 * malloc/arena.c: Likewise.
14449 * malloc/hooks.c: Likewise.
14451 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14452 ARENA_TEST says not to. Simplify test for creation of a new arena.
14453 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14455 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14457 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14459 (update_get_addr): New function.
14460 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14461 GET_ADDR_MODULE parameter.
14463 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14465 * crypt/cert.c: Remove __STDC__ conditionals.
14466 * crypt/crypt-entry.c: Likewise.
14467 * crypt/crypt_util.c: Likewise.
14468 * libio/filedoalloc.c: Likewise.
14469 * libio/fileops.c: Likewise.
14470 * libio/genops.c: Likewise.
14471 * libio/iofclose.c: Likewise.
14472 * libio/iofdopen.c: Likewise.
14473 * libio/iofopen.c: Likewise.
14474 * libio/iofopen64.c: Likewise.
14475 * libio/iogetdelim.c: Likewise.
14476 * libio/iopopen.c: Likewise.
14477 * libio/obprintf.c: Likewise.
14478 * libio/oldfileops.c: Likewise.
14479 * libio/oldiofclose.c: Likewise.
14480 * libio/oldiofdopen.c: Likewise.
14481 * libio/oldiofopen.c: Likewise.
14482 * libio/oldiopopen.c: Likewise.
14483 * libio/wfiledoalloc.c: Likewise.
14484 * libio/wgenops.c: Likewise.
14485 * locale/programs/xmalloc.c: Likewise.
14486 * misc/syslog.c: Likewise.
14487 * stdio-common/xbug.c: Likewise.
14488 * string/memchr.c: Likewise.
14489 * string/memcmp.c: Likewise.
14490 * string/memrchr.c: Likewise.
14491 * string/rawmemchr.c: Likewise.
14492 * sysdeps/posix/getcwd.c: Likewise.
14493 * time/strftime_l.c: Likewise.
14495 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14497 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14498 * config.make.in (config-cflags-sse2avx): Define.
14499 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14502 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14504 * scripts/config.guess: Update from upstream config git repository.
14505 * scripts/config.sub: Likewise.
14507 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14509 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14511 (R_TILEPRO_*, R_TILEGX_*): New macros.
14513 * scripts/firstversions.awk: Fix bug in version range handling.
14515 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14517 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14519 * include/sys/epoll.h: New file.
14520 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14523 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14525 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14526 Avoid unnecessary __WORDSIZE == 64 test.
14527 (fmaxf): Use VEX format if possible.
14532 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14533 * math/math_private.h: Remove libc_fegetround* and
14535 * sysdeps/i386/configure.in: Check for -msse2avx.
14536 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14537 also if SSE2AVX is defined.
14538 Remove libc_fegetround* and libc_fesetround*.
14539 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14540 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14544 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14549 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14551 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14553 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14555 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14557 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14560 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14562 * Makeconfig (libm): Define.
14563 * elf/Makefile: Add rules to build and run tst-relsort1.
14564 * elf/tst-relsort1.c: New file.
14565 * elf/tst-relsort1mod1.c: New file.
14566 * elf/tst-relsort1mod2.c: New file.
14568 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14570 * math/s_ldexp.c: Remove __STDC__ conditionals.
14571 * math/s_ldexpf.c: Likewise.
14572 * math/s_ldexpl.c: Likewise.
14573 * math/s_nextafter.c: Likewise.
14574 * math/s_nexttowardf.c: Likewise.
14575 * math/s_significand.c: Likewise.
14576 * math/s_significandf.c: Likewise.
14577 * math/s_significandl.c: Likewise.
14578 * math/w_jnl.c: Likewise.
14579 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14580 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14581 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14582 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14583 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14596 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14598 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14599 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14600 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14601 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14602 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14603 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14604 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14605 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14607 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14608 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14609 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14610 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14611 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14612 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14613 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14614 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14615 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14616 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14617 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14618 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14619 * sysdeps/ieee754/k_standard.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14622 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14623 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14624 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14681 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14686 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14694 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14695 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14699 * sysdeps/ieee754/s_matherr.c: Likewise.
14700 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14701 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14703 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14705 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14707 * crypt/md5.h: Remove __STDC__ conditionals.
14708 * libio/libioP.h: Likewise.
14709 * locale/programs/config.h: Likewise.
14710 * sysdeps/generic/sysdep.h: Likewise.
14711 * sysdeps/i386/asm-syntax.h: Likewise.
14712 * sysdeps/s390/asm-syntax.h: Likewise.
14713 * sysdeps/unix/sysdep.h: Likewise.
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14717 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14719 * libio/libio.h: Remove __STDC__ conditionals.
14720 * malloc/obstack.h: Likewise.
14721 * math/complex.h: Likewise.
14722 * math/math.h: Likewise.
14723 * sysdeps/generic/_G_config.h: Likewise.
14724 * sysdeps/gnu/_G_config.h: Likewise.
14725 * sysdeps/mach/hurd/_G_config.h: Likewise.
14726 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14727 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14728 * sysdeps/sparc/bits/mathdef.h: Likewise.
14730 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14733 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14734 Clean up HAS_* macros.
14735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14736 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14738 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14741 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14742 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14743 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14744 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14746 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14748 * elf/tst-unique3.cc (gets): Remove declaration.
14749 * elf/tst-unique3lib.cc (gets): Likewise.
14750 * elf/tst-unique3lib2.cc (gets): Likewise.
14751 * elf/tst-unique4.cc (gets): Likewise.
14753 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14755 * include/stdio.h: Add C++ protection. Add gets declarations and
14757 * debug/tst-chk1.c: Don't declare gets here.
14758 * stdio-common/tst-gets.c: Likewise.
14760 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14762 * posix/glob: Remove directory.
14764 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14766 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14768 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14770 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14771 of the non-standard EPFNOSUPPORT.
14773 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14775 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14776 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14777 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14779 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14781 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14783 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14785 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14787 * nscd/grpcache.c (cache_addgr): Likewise.
14788 * nscd/hstcache.c (cache_addhst): Likewise.
14789 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14790 * nscd/pwdcache.c (cache_addpw): Likewise.
14791 * nscd/servicescache.c (cache_addserv): Likewise.
14793 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14795 * malloc/malloc.c: Various cleanups.
14796 * malloc/hooks.c: Likewise.
14798 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14799 * stdlib/bug-fmtmsg1.c: New file.
14801 * stdlib/fmtmsg.c (init): Add missing unlock.
14802 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14804 2012-01-12 Marek Polacek <polacek@redhat.com>
14806 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14809 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14811 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14812 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14813 macro to ensure uniqueness of label name.
14814 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14815 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14817 2012-01-11 Ulrich Drepper <drepper@gmail.com>
14819 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14821 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14822 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14823 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14826 2012-01-10 Ulrich Drepper <drepper@gmail.com>
14828 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14830 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14831 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14832 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14834 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14836 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14837 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14838 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14841 * math/bits/math-finite.h: Add ldexp support.
14843 2012-01-10 Marek Polacek <polacek@redhat.com>
14845 * locale/programs/localedef.h (show_archive_content): Add noreturn
14848 2012-01-09 Ulrich Drepper <drepper@gmail.com>
14850 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14852 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14854 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14856 * io/Makefile (headers): Add bits/poll2.h.
14858 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14861 typo #include statement.
14863 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14865 * include/sys/cdefs.h: Define __attribute_alloc_size.
14866 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14867 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14868 * elf/pldd.c: Likewise.
14869 * iconv/iconv_charmap.c: Likewise.
14870 * iconv/iconvconfig.c: Likewise.
14871 * iconv/strtab.c: Likewise.
14872 * locale/programs/locale.c: Likewise.
14873 * locale/programs/localedef.h: Likewise.
14874 * locale/programs/simple-hash.c: Likewise.
14875 * nscd/nscd.h: Likewise.
14876 * nss/makedb.c: Likewise.
14877 * sysdeps/generic/ldconfig.h: Likewise.
14878 * locale/programs/localedef.c: Remove xmalloc prototype.
14879 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14881 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14883 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14886 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14888 * math/Makefile (tests): Add tst-CMPLX.
14889 * math/tst-CMPLX.c: New file.
14891 * math/complex.h (CMPLXL): Fix typo.
14893 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14894 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14896 * debug/tst-chk1.c: Add poll and ppoll tests.
14897 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14898 * include/sys/poll.h: Add hidden proto for ppoll.
14899 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14900 * sysdeps/mach/hurd/ppoll.c: Likewise.
14901 * io/ppoll.c: Likewise.
14902 * debug/poll_chk.c: New file.
14903 * debug/ppoll_chk.c: New file.
14904 * include/bits/poll2.h: New file.
14905 * io/bits/poll2.h: New file.
14908 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14910 * configure.in: static is always set to yes. Remove.
14911 * config.make.in: Don't set build-static.
14912 * Makeconfig: Remove use of build-static.
14913 * dlfcn/Makefile: Likewise.
14914 * elf/Makefile: Likewise.
14915 * math/Makefile: Likewise.
14916 * misc/Makefile: Likewise.
14917 * nptl/Makefile: Likewise.
14918 * sysdeps/mach/hurd/Makefile: Likewise.
14920 * configure.in: PWD_P is not used anymore.
14921 * config.make.in: Remove PWD_P entry.
14923 * configure.in: Remove last remnants of RANLIB.
14924 No need to check for signed size_t anymore.
14925 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14927 Remove __builtin_expect test because we require at least gcc 3.4.
14928 * aclocal.m4: Likewise.
14930 * wcsmbs/mbrtoc16.c: Implement using towc function.
14931 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14932 * wcsmbs/wcsmbsload.c: Likewise.
14933 * iconv/gconv_simple.c: Likewise.
14934 * iconv/gconv_int.h: Likewise.
14935 * iconv/gconv_builtin.h: Likewise.
14936 * iconv/iconv_prog.c: Remove CHAR16 handling.
14938 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14940 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14942 * configure.in: Remove --with-elf and --enable-bounded options.
14943 Dont set base_machine for ia64. More non-ELF conditions removed.
14944 Remove testing and setting of leading underscore information.
14945 * config.make.in (build-bounded): Set to no.
14946 * config.h.in: Remove NO_UNDERSCORES entry.
14947 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14949 * csu/start.c: Remove !NO_UNDERSCORE code.
14950 * locale/localeinfo.h: Likewise.
14951 * sysdeps/generic/machine-gmon.h: Likewise.
14952 * sysdeps/generic/sysdep.h: Likewise.
14953 * sysdeps/i386/sysdep.h: Likewise.
14954 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14955 * sysdeps/mach/sysdep.h: Likewise.
14956 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14957 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14958 * sysdeps/sh/sysdep.h: Likewise.
14959 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14960 * sysdeps/unix/i386/sysdep.S: Likewise.
14961 * sysdeps/unix/sparc/start.c: Likewise.
14962 * sysdeps/unix/sparc/sysdep.S: Likewise.
14963 * sysdeps/unix/sparc/sysdep.h: Likewise.
14964 * sysdeps/unix/start.c: Likewise.
14965 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14966 * sysdeps/x86_64/sysdep.h: Likewise.
14968 2012-01-07 Ulrich Drepper <drepper@gmail.com>
14971 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14973 * argp/argp-fmtstream.h: Use const instead __const.
14974 * argp/argp.h: Likewise.
14975 * assert/assert.h: Likewise.
14976 * bits/fenv.h: Likewise.
14977 * bits/sched.h: Likewise.
14978 * bits/sigset.h: Likewise.
14979 * bits/sigthread.h: Likewise.
14980 * catgets/nl_types.h: Likewise.
14981 * conform/data/pthread.h-data: Likewise.
14982 * crypt/crypt-private.h: Likewise.
14983 * crypt/crypt.h: Likewise.
14984 * crypt/crypt_util.c: Likewise.
14985 * ctype/ctype.h: Likewise.
14986 * debug/execinfo.h: Likewise.
14987 * debug/mbsnrtowcs_chk.c: Likewise.
14988 * debug/mbsrtowcs_chk.c: Likewise.
14989 * debug/wcsnrtombs_chk.c: Likewise.
14990 * debug/wcsrtombs_chk.c: Likewise.
14991 * debug/wcstombs_chk.c: Likewise.
14992 * dirent/dirent.h: Likewise.
14993 * dlfcn/dlfcn.h: Likewise.
14994 * elf/neededtest4.c: Likewise.
14995 * grp/grp.h: Likewise.
14996 * gshadow/gshadow.h: Likewise.
14997 * iconv/gconv.h: Likewise.
14998 * iconv/gconv_int.h: Likewise.
14999 * iconv/gconv_simple.c: Likewise.
15000 * iconv/iconv.h: Likewise.
15001 * iconv/loop.c: Likewise.
15002 * iconv/skeleton.c: Likewise.
15003 * include/aio.h: Likewise.
15004 * include/aliases.h: Likewise.
15005 * include/argz.h: Likewise.
15006 * include/arpa/inet.h: Likewise.
15007 * include/assert.h: Likewise.
15008 * include/dirent.h: Likewise.
15009 * include/dlfcn.h: Likewise.
15010 * include/execinfo.h: Likewise.
15011 * include/fcntl.h: Likewise.
15012 * include/fenv.h: Likewise.
15013 * include/glob.h: Likewise.
15014 * include/grp.h: Likewise.
15015 * include/libintl.h: Likewise.
15016 * include/mntent.h: Likewise.
15017 * include/netdb.h: Likewise.
15018 * include/pwd.h: Likewise.
15019 * include/rpc/netdb.h: Likewise.
15020 * include/sched.h: Likewise.
15021 * include/search.h: Likewise.
15022 * include/shadow.h: Likewise.
15023 * include/signal.h: Likewise.
15024 * include/stdio.h: Likewise.
15025 * include/stdlib.h: Likewise.
15026 * include/string.h: Likewise.
15027 * include/sys/socket.h: Likewise.
15028 * include/sys/stat.h: Likewise.
15029 * include/sys/statfs.h: Likewise.
15030 * include/sys/statvfs.h: Likewise.
15031 * include/sys/syslog.h: Likewise.
15032 * include/sys/time.h: Likewise.
15033 * include/sys/uio.h: Likewise.
15034 * include/time.h: Likewise.
15035 * include/unistd.h: Likewise.
15036 * include/utmp.h: Likewise.
15037 * include/wchar.h: Likewise.
15038 * include/wctype.h: Likewise.
15039 * inet/aliases.h: Likewise.
15040 * inet/arpa/inet.h: Likewise.
15041 * inet/netinet/ether.h: Likewise.
15042 * inet/netinet/in.h: Likewise.
15043 * intl/libintl.h: Likewise.
15044 * io/bits/fcntl2.h: Likewise.
15045 * io/fcntl.h: Likewise.
15046 * io/ftw.h: Likewise.
15047 * io/sys/poll.h: Likewise.
15048 * io/sys/stat.h: Likewise.
15049 * io/sys/statfs.h: Likewise.
15050 * io/sys/statvfs.h: Likewise.
15051 * io/utime.h: Likewise.
15052 * libio/bits/stdio.h: Likewise.
15053 * libio/bits/stdio2.h: Likewise.
15054 * libio/libio.h: Likewise.
15055 * libio/libioP.h: Likewise.
15056 * libio/stdio.h: Likewise.
15057 * locale/lc-ctype.c: Likewise.
15058 * locale/locale.h: Likewise.
15059 * login/utmp.h: Likewise.
15060 * malloc/arena.c: Likewise.
15061 * malloc/malloc.c: Likewise.
15062 * malloc/malloc.h: Likewise.
15063 * malloc/mcheck.c: Likewise.
15064 * malloc/mtrace.c: Likewise.
15065 * math/bits/mathcalls.h: Likewise.
15066 * math/fenv.h: Likewise.
15067 * math/math_private.h: Likewise.
15068 * misc/bits/error.h: Likewise.
15069 * misc/bits/syslog.h: Likewise.
15070 * misc/err.h: Likewise.
15071 * misc/error.h: Likewise.
15072 * misc/fstab.h: Likewise.
15073 * misc/mntent.h: Likewise.
15074 * misc/regexp.h: Likewise.
15075 * misc/search.h: Likewise.
15076 * misc/sgtty.h: Likewise.
15077 * misc/sys/mman.h: Likewise.
15078 * misc/sys/syslog.h: Likewise.
15079 * misc/sys/uio.h: Likewise.
15080 * misc/sys/xattr.h: Likewise.
15081 * misc/ttyent.h: Likewise.
15082 * nis/rpcsvc/ypclnt.h: Likewise.
15083 * nss/nss.h: Likewise.
15084 * posix/bits/unistd.h: Likewise.
15085 * posix/fnmatch.h: Likewise.
15086 * posix/glob.h: Likewise.
15087 * posix/sched.h: Likewise.
15088 * posix/spawn.h: Likewise.
15089 * posix/sys/wait.h: Likewise.
15090 * posix/unistd.h: Likewise.
15091 * posix/wordexp.h: Likewise.
15092 * pwd/pwd.h: Likewise.
15093 * resolv/netdb.h: Likewise.
15094 * resource/sys/resource.h: Likewise.
15095 * rt/aio.h: Likewise.
15096 * rt/bits/mqueue2.h: Likewise.
15097 * rt/mqueue.h: Likewise.
15098 * shadow/shadow.h: Likewise.
15099 * signal/signal.h: Likewise.
15100 * socket/send.c: Likewise.
15101 * socket/sendto.c: Likewise.
15102 * socket/sys/socket.h: Likewise.
15103 * stdio-common/printf.h: Likewise.
15104 * stdlib/bits/stdlib.h: Likewise.
15105 * stdlib/fmtmsg.h: Likewise.
15106 * stdlib/monetary.h: Likewise.
15107 * stdlib/stdlib.h: Likewise.
15108 * stdlib/ucontext.h: Likewise.
15109 * streams/stropts.h: Likewise.
15110 * string/argz.h: Likewise.
15111 * string/bits/string2.h: Likewise.
15112 * string/string.h: Likewise.
15113 * string/strings.h: Likewise.
15114 * sunrpc/rpc/auth.h: Likewise.
15115 * sunrpc/rpc/auth_des.h: Likewise.
15116 * sunrpc/rpc/clnt.h: Likewise.
15117 * sunrpc/rpc/netdb.h: Likewise.
15118 * sunrpc/rpc/pmap_clnt.h: Likewise.
15119 * sunrpc/rpc/xdr.h: Likewise.
15120 * sysdeps/generic/inttypes.h: Likewise.
15121 * sysdeps/generic/net/if.h: Likewise.
15122 * sysdeps/generic/sys/swap.h: Likewise.
15123 * sysdeps/gnu/net/if.h: Likewise.
15124 * sysdeps/gnu/utmpx.h: Likewise.
15125 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15126 * sysdeps/i386/i486/bits/string.h: Likewise.
15127 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15128 * sysdeps/s390/bits/string.h: Likewise.
15129 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15130 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15131 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15132 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15133 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15134 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15135 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15136 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15137 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15138 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15139 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15140 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15141 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15142 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15143 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15144 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15145 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15147 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15148 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15149 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15150 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15151 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15152 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15153 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15154 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15155 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15156 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15157 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15158 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15159 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15160 * sysvipc/sys/ipc.h: Likewise.
15161 * sysvipc/sys/msg.h: Likewise.
15162 * sysvipc/sys/sem.h: Likewise.
15163 * sysvipc/sys/shm.h: Likewise.
15164 * termios/termios.h: Likewise.
15165 * time/sys/time.h: Likewise.
15166 * time/time.h: Likewise.
15167 * wcsmbs/bits/wchar2.h: Likewise.
15168 * wcsmbs/uchar.h: Likewise.
15169 * wcsmbs/wchar.h: Likewise.
15170 * wctype/wctype.h: Likewise.
15173 * Makeconfig: Remove all but ELF support including AIX support.
15174 * Makerules: Likewise.
15175 * config.h.in: Likewise.
15176 * config.make.in: Likewise.
15177 * configure: Likewise.
15178 * configure.in: Likewise.
15179 * csu/Makefile: Likewise.
15180 * csu/version.c: Likewise.
15181 * debug/Makefile: Likewise.
15182 * dlfcn/Makefile: Likewise.
15183 * elf/Makefile: Likewise.
15184 * extra-lib.mk: Likewise.
15185 * iconv/Makefile: Likewise.
15186 * include/libc-symbols.h: Likewise.
15187 * include/shlib-compat.h: Likewise.
15188 * resolv/Makefile: Likewise.
15189 * resolv/res_libc.c: Likewise.
15190 * rt/Makefile: Likewise.
15191 * sysdeps/i386/asm-syntax.h: Likewise.
15192 * sysdeps/i386/sysdep.h: Likewise.
15193 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15194 * sysdeps/mach/sysdep.h: Likewise.
15195 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15196 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15197 * sysdeps/s390/asm-syntax.h: Likewise.
15198 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15199 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15200 * sysdeps/sh/sysdep.h: Likewise.
15201 * sysdeps/unix/sparc/sysdep.h: Likewise.
15202 * sysdeps/wordsize-32/divdi3.c: Likewise.
15203 * sysdeps/x86_64/sysdep.h: Likewise.
15205 * argp/Versions: Remove _argp_unlock_xxx.
15208 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15209 * abilist/libBrokenLocale.abilist: Likewise.
15210 * abilist/libanl.abilist: Likewise.
15211 * abilist/libc.abilist: Likewise.
15212 * abilist/libcrypt.abilist: Likewise.
15213 * abilist/libdl.abilist: Likewise.
15214 * abilist/libm.abilist: Likewise.
15215 * abilist/libnsl.abilist: Likewise.
15216 * abilist/libpthread.abilist: Likewise.
15217 * abilist/libresolv.abilist: Likewise.
15218 * abilist/librt.abilist: Likewise.
15219 * abilist/libthread_db.abilist: Likewise.
15220 * abilist/libutil.abilist: Likewise.
15221 * abilist/libnss_db.abilist: New file.
15223 * scripts/abilist.awk: Add support for indirect functions.
15225 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15227 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15229 * shlib-versions: Remove entries for ports architectures.
15231 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15233 * elf/stackguard-macros.h: Remove support for IA-64.
15234 * elf/tst-auditmod1.c: Likewise.
15235 * sysdeps/generic/ldsodefs.h: Likewise.
15237 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15238 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15242 * configure.in: Remove --enable-omitfp support.
15244 * config.make.in: Likewise.
15245 * Makeconfig: Likewise.
15246 * manual/install.texi: Likewise.
15248 In case anyone cares, the IA-64 architecture could move to ports.
15249 * sysdeps/ia64/*: Removed.
15250 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15251 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15254 * configure.in: Remove entries for unsupported architectures.
15257 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15258 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15260 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15261 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15262 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15263 fall back to using wcrtomb.
15264 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15265 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15267 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15268 * wcsmbs/tst-c16c32-1.c: New file.
15270 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15273 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15275 * elf/tst-unique3.cc: Add explicit declaration of gets.
15276 * elf/tst-unique3lib.cc: Likewise.
15277 * elf/tst-unique3lib2.cc: Likewise.
15278 * elf/tst-unique4.cc: Likewise.
15280 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15282 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15285 * assert/assert.h (static_assert): Don't define for C++.
15286 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15287 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15289 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15291 * iconv/loop.c (single loop): Fix assertion in storing of
15294 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15296 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15298 * posix/getconf.c: Update copyright year.
15299 * nss/getent.c: Likewise.
15300 * nss/makedb.c: Likewise.
15301 * iconv/iconvconfig.c: Likewise.
15302 * iconv/iconv_prog.c: Likewise.
15303 * elf/ldconfig.c: Likewise.
15304 * elf/pldd.c: Likewise.
15305 * elf/sotruss.ksh: Likewise.
15306 * catgets/gencat.c: Likewise.
15307 * csu/version.c: Likewise.
15308 * elf/ldd.bash.in: Likewise.
15309 * elf/sprof.c (print_version): Likewise.
15310 * locale/programs/locale.c: Likewise.
15311 * locale/programs/localedef.c: Likewise.
15312 * login/programs/pt_chown.c: Likewise.
15313 * nscd/nscd.c (print_version): Likewise.
15314 * debug/xtrace.sh: Likewise.
15315 * malloc/memusage.sh: Likewise.
15316 * malloc/mtrace.pl: Likewise.
15317 * debug/catchsegv.sh: Likewise.
15319 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15321 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15324 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15327 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15328 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15330 * iconv/gconv_int.h: Likewise.
15331 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15332 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15333 from libc for GLIBC_2.16.
15334 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15335 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15336 * wcsmbs/uchar.h: Really define mbstate_t.
15337 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15338 * wcsmbs/c16rtomb.c: New file.
15339 * wcsmbs/mbrtoc16.c: New file.
15340 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15341 for C/POSIX locale.
15342 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15343 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15345 * wcsmbs/wchar.h: Add missing __restrict.
15347 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15350 * time/Makefile (routines): Add timespec_get.
15351 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15352 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15353 timespec for ISO C11.
15354 * time/timespec_get.c: New file.
15355 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15356 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15359 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15360 * stdlib/stdlib.h: Declare aligned_alloc.
15361 * Versions.def: Add GLIBC_2.16 for libc.
15362 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15365 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15368 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15372 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15375 * assert/assert.h (static_assert): Define.
15377 * version.h: Update for 2.16 development version.
15380 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15383 * version.h (RELEASE): Bump for 2.15 release.
15384 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15386 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15387 Patch by Marek Polacek <mpolacek@redhat.com>.
15389 * bits/byteswap.h: Protect long long constants with __extension__.
15390 * sysdeps/i386/bits/byteswap.h: Likewise.
15391 * sysdeps/ia64/bits/byteswap.h: Likewise.
15392 * sysdeps/s390/bits/byteswap.h: Likewise.
15393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15395 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15398 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15399 destination buffer.
15400 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15402 2011-12-23 Marek Polacek <polacek@redhat.com>
15404 * elf/dl-addr.c (determine_info): Add inline keyword.
15405 * elf/tst-auditmod4b.c (check_avx): Likewise.
15406 * elf/tst-auditmod6b.c (check_avx): Likewise.
15407 * elf/tst-auditmod6c.c (check_avx): Likewise.
15408 * elf/tst-auditmod7b.c (check_avx): Likewise.
15410 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15412 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15415 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15418 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15419 processing for last bytes.
15421 2011-08-06 Bruno Haible <bruno@clisp.org>
15424 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15425 U+0385, not to U+1FEE.
15428 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15429 entry for U+00A5 U+0301.
15431 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15434 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15435 buffer for the output is too small.
15437 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15441 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15442 SSE flags if possible.
15444 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15448 processing for last bytes.
15450 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15452 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15453 (syscall-list-default-options, syscall-list-default-condition)
15454 (syscall-list-includes): Define.
15455 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15456 list of ABIs and options and #if conditions for each ABI. Do not
15457 handle common syscalls between ABIs specially.
15458 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15460 (syscall-list-variants, syscall-list-32bit-options)
15461 (syscall-list-32bit-condition, syscall-list-64bit-options)
15462 (syscall-list-64bit-condition): Define.
15463 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15464 (syscall-list-variants, syscall-list-32bit-options)
15465 (syscall-list-32bit-condition, syscall-list-64bit-options)
15466 (syscall-list-64bit-condition): Define.
15467 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15469 (syscall-list-variants, syscall-list-32bit-options)
15470 (syscall-list-32bit-condition, syscall-list-64bit-options)
15471 (syscall-list-64bit-condition): Define.
15472 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15474 (syscall-list-variants, syscall-list-32bit-options)
15475 (syscall-list-32bit-condition, syscall-list-64bit-options)
15476 (syscall-list-64bit-condition): Define.
15478 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15480 * locale/iso-639.def: Add brx entry.
15483 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15484 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15486 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15487 __feraiseexcept_renamed.
15489 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15492 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15493 EPOLLET with unsigned values.
15494 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15495 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15497 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15498 to large cancellation.
15499 * math/s_cacoshf.c: Likewise.
15500 * math/s_cacoshl.c: Likewise.
15502 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15506 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15507 * math/s_cacoshf.c: Likewise.
15508 * math/s_cacoshl.c: Likewise.
15510 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15513 * iconv/gconv.h: Define __GCONV_SWAP.
15514 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15515 * iconvdata/utf-16.c: Likewise.
15516 * iconvdata/utf-32.c: Likewise.
15518 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15521 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15522 numerator after shifting it by one limb.
15524 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15526 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15527 under [__USE_EXTERN_INLINES].
15529 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15532 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15534 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15536 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15537 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15539 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15540 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15541 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15542 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15543 for strncasecmp/strncasecmp_l compilation.
15544 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15545 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15547 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15550 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15553 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15556 * time/tzfile.c (__tzfile_read): Check values from file header.
15558 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15560 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15561 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15562 * powerpc/powerpc32/dl-start.S: Likewise.
15563 * powerpc/powerpc32/elf/start.S: Likewise.
15564 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15565 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15566 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15567 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15568 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15569 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15570 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15571 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15572 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15573 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15574 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15575 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15576 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15577 * powerpc/powerpc32/memset.S: Likewise.
15578 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15579 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15580 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15581 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15582 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15583 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15584 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15585 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15586 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15587 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15588 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15589 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15590 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15592 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15594 * math/libm-test.inc: Added more nearbyint tests.
15595 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15596 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15598 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15600 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15602 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15605 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15607 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15608 Add wcscpy-ssse3 wcscpy-c.
15609 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15610 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15611 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15612 * sysdeps/x86_64/wcschr.S: New file.
15613 * sysdeps/x86_64/wcsrchr.S: New file.
15614 * string/test-strcmp.c: Remove checking of wcscmp function for
15616 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15617 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15618 wcsrchr-sse2 wcsrchr-c.
15619 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15620 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15621 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15622 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15623 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15624 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15625 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15626 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15627 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15628 * wcsmbc/wcschr.c (WCSCHR): New macro.
15630 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15632 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15633 * wcsmbs/test-wcsrchr.c: New file.
15634 * string/test-strrchr.c: Add wcsrchr support.
15636 * wcsmbs/test-wcscpy.c: New file.
15637 * string/test-strcpy.c: Add wcscpy support.
15640 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15642 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15645 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15648 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15650 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15652 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15653 Minor optimizations.
15655 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15656 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15657 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15659 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15661 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15662 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15663 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15664 for gcc to avoid warnings.
15665 * inet/Makefile (tests): Add tst-checks.
15666 * inet/tst-checks.c: New file.
15668 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15671 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15674 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15675 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15677 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15679 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15681 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15684 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15686 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15688 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15689 conditional on GCC version.
15690 (__arch_compare_and_exchange_val_8_acq)
15691 (__arch_compare_and_exchange_val_16_acq)
15692 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15693 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15694 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15696 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15698 * sysdeps/sh/backtrace.c: New file.
15700 2011-12-02 Andreas Schwab <schwab@redhat.com>
15702 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15705 2011-12-01 Andreas Schwab <schwab@redhat.com>
15707 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15708 falling back to utime.
15710 2011-11-30 Andreas Schwab <schwab@redhat.com>
15712 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15713 expectations for float.
15715 2011-11-29 Andreas Schwab <schwab@redhat.com>
15717 * locale/weight.h (findidx): Add parameter len.
15718 * locale/weightwc.h (findidx): Likewise.
15719 * posix/fnmatch_loop.c (FCT): Adjust caller.
15720 * posix/regcomp.c (build_equiv_class): Likewise.
15721 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15722 * posix/regexec.c (check_node_accept_bytes): Likewise.
15723 * string/strcoll_l.c (STRCOLL): Likewise.
15724 * string/strxfrm_l.c (STRXFRM): Likewise.
15726 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15728 * Makefile.in: Remove CVSOPT handling.
15729 * configure.in: Remove use of AC_REVISION.
15730 * iconvdata/Makefile (distribute): No need to filter out CVS.
15731 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15734 2011-11-16 Andreas Schwab <schwab@redhat.com>
15736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15737 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15738 [USE_AS_STRNCASECMP_L]: Likewise.
15739 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15740 NO_TLS_DIRECT_SEG_REFS.
15741 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15742 Fix argument offsets for non-PIC.
15743 [USE_AS_STRNCASECMP_L]: Likewise.
15744 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15745 NO_TLS_DIRECT_SEG_REFS.
15747 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15749 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15751 * locale/loadlocale.c (_nl_load_locale): Likewise.
15753 2011-11-15 Andreas Schwab <schwab@redhat.com>
15755 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15756 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15757 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15758 (SYSCALL_GETTIME): Set errno on error.
15760 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15761 count references to noai6ai_cached.
15763 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15765 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15767 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15768 FD_CLOEXEC for /proc/self/maps.
15770 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15771 FD_CLOEXEC for /proc/meminfo.
15773 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15776 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15777 FD_CLOEXEC for given file.
15779 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15781 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15782 FD_CLOEXEC for /etc/hosts.
15783 (_gethtent): Likewise.
15785 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15787 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15788 cancellation and set FD_CLOEXEC for /etc/netgroup.
15790 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15791 reading /etc/publickey.
15793 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15794 allow cancellation when reading /etc/group.
15796 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15798 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15800 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15801 when using data file.
15803 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15805 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15806 (write_nis_obj): Use "c" and "e" in fopen.
15808 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15810 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15812 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15814 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15816 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15819 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15821 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15823 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15825 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15826 file parsing and set FD_CLOEXEC.
15828 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15830 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15832 2011-11-14 Andreas Schwab <schwab@redhat.com>
15834 * malloc/arena.c (arena_get2): Don't call reused_arena when
15835 _int_new_arena failed.
15837 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15839 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15840 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15841 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15842 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15843 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15844 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15845 to compile strcasecmp and strncasecmp.
15846 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15847 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15851 2011-11-13 Ulrich Drepper <drepper@gmail.com>
15853 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15854 locale-defines.sym to gen-as-const-headers.
15855 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15856 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15857 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15858 to compile strcasecmp and strncasecmp.
15859 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15860 strcasecmp_l and strncasecmp_l.
15861 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15862 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15863 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15864 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15865 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15866 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15867 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15868 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15869 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15870 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15871 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15873 2011-11-12 Ulrich Drepper <drepper@gmail.com>
15875 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15876 result of SYSDEP_GETTIME_CPU to retval.
15877 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15878 parameter list to macro. Remove trailing semicolon. Adjust users.
15880 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15883 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15885 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15887 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15888 from unused variable.
15890 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15892 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15895 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15898 * sunrpc/rpc_prot.c (rejected): Fix case value.
15900 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15901 unsigned long long int to avoid warnings in shift.
15903 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15905 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15908 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15909 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15910 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15912 * nis/nis_table.c (nis_list): Use variable of correct type for
15913 result of __follow_path call.
15915 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15917 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15918 of math functions ceil, trunc, floor, round, and sqrt, when
15919 avaliable on the platform.
15920 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15922 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15923 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15924 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15926 2011-10-30 Marek Polacek <mpolacek@redhat.com>
15928 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15929 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15931 2011-11-11 Roland McGrath <roland@hack.frob.com>
15933 * include/unistd.h: Fix __readlink return type.
15934 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15936 2011-11-11 Ulrich Drepper <drepper@gmail.com>
15938 * stdlib/ucontext.h: Undo last change for makecontext.
15940 2011-11-11 Andreas Schwab <schwab@redhat.com>
15942 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15944 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15945 * setjmp/setjmp.h: Mark functions as non-leaf.
15946 * setjmp/bits/setjmp2.h: Likewise.
15947 * stdlib/ucontext.h: Likewise.
15949 2011-11-10 Andreas Schwab <schwab@redhat.com>
15951 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15952 (reused_arena): Don't check arena limit.
15953 (arena_get2): Atomically check arena limit.
15955 2011-11-08 Ulrich Drepper <drepper@gmail.com>
15957 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15958 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15963 2011-11-07 Andreas Schwab <schwab@redhat.com>
15965 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15966 handler when locking.
15968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15969 Fix size of allocated buffer.
15971 2011-11-04 Andreas Schwab <schwab@redhat.com>
15974 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15975 declarations for long double functions.
15976 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15978 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15980 2011-11-03 Andreas Schwab <schwab@redhat.com>
15982 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15985 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15988 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15990 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15992 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15994 * include/alloca.h (stackinfo_alloca_round): Define.
15995 (extend_alloca): Use it.
15996 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15997 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16000 * scripts/check-local-headers.sh: Ignore libaudit.h.
16002 * nscd/Makefile (extra-objs): Make recursively expanded.
16004 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16006 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16007 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16009 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16010 * posix/tst-rfc3484-2.c: Likewise.
16011 * posix/tst-rfc3484-3.c: Likewise.
16013 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16015 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16017 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16018 process_vm_writev from libc using GLIBC_2.15 version.
16020 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16022 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16024 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16027 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16030 * nss/getent.c (initgroups_keys): Show error message in case no group
16033 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16034 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16035 __bump_nl_timestamp.
16036 * nscd/connections (nscd_init): When host database is served open
16037 netlink socket and request notification about configuration changes.
16038 (main_loop_poll): Track netlink file descriptor and bump timestamp
16039 in case data becomes available.
16040 (main_loop_epoll): Likewise.
16041 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16042 (database_pers_head): Add extra_data fileds.
16043 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16044 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16045 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16047 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16048 in6ai data, call __free_in6ai.
16049 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16050 Add -DHAVE_NETLINK.
16051 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16052 interface information. Reuse previous data if netlink timestamp
16054 (__bump_nl_timestamp): New function.
16055 (__free_in6ai): New function.
16057 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16059 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16060 close_not_cancel_no_status here.
16061 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16063 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16066 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16069 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16070 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16071 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16073 2011-07-03 Andreas Jaeger <aj@suse.de>
16076 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16077 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16078 * math/libm-test.inc (sin_test): Add test case.
16080 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16083 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16084 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16086 * elf/chroot_canon.c (chroot_canon): Cleanups.
16088 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16091 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16092 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16094 * string/test-strchr.c: Make usable for strchrnul testing.
16095 * string/test-strchrnul.c: New file.
16096 * string/Makefile (strop-tests): Add strchrnul.
16098 * po/it.po: Update from translation team.
16099 * po/es.po: Likewise.
16101 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16103 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16104 the three constants needed as parameters. Drop the others.
16105 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16106 __m128i_strloadu_tolower.
16107 Create and initialize variable zero and use it in all the places
16108 where _mm_setzero_si128 was used.
16110 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16111 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16112 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16113 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16115 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16116 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16117 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16118 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16119 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16120 __mpranred, __mptan.
16121 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16122 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16123 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16124 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16125 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16126 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16127 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16128 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16129 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16131 2011-10-28 Andreas Schwab <schwab@redhat.com>
16133 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16134 redefine if SHARED.
16135 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16138 wide char related routines to wcsmbs subdir.
16140 2011-10-27 Andreas Schwab <schwab@redhat.com>
16143 * misc/sys/cdefs.h (__THROWNL): Define.
16144 * posix/unistd.h: Use __THREADNL instead of __THREAD
16145 for memory synchronization functions.
16147 2011-10-26 Roland McGrath <roland@hack.frob.com>
16150 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16152 * manual/stdio.texi (Obstack Streams): Node removed.
16154 2011-10-26 Andreas Schwab <schwab@redhat.com>
16156 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16157 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16158 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16160 * math/math_private.h (math_force_eval): Allow non-addressable
16162 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16164 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16166 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16167 file is not needed.
16169 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16170 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16171 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16172 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16173 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16174 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16175 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16176 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16178 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16179 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16180 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16181 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16182 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16183 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16184 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16185 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16186 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16187 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16188 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16189 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16190 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16191 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16192 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16193 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16194 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16195 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16196 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16198 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16199 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16202 place. Use VEX encoding when compiling for AVX.
16204 2011-10-25 Andreas Schwab <schwab@redhat.com>
16206 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16207 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16209 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16211 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16213 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16214 useless if() expression.
16215 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16216 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16217 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16218 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16219 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16220 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16222 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16223 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16225 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16226 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16227 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16228 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16229 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16230 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16232 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16233 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16235 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16237 2011-10-25 Andreas Schwab <schwab@redhat.com>
16239 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16241 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16243 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16245 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16246 .text section. Avoid duplicate constants.
16247 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16249 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16251 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16255 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16256 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16257 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16258 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16259 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16260 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16261 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16262 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16263 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16264 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16265 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16267 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16268 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16269 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16270 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16271 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16272 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16273 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16274 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16276 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16277 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16278 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16279 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16280 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16281 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16282 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16283 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16284 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16285 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16286 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16287 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16288 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16289 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16290 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16291 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16293 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16295 * sysdeps/x86_64/dla.h: Move to ...
16296 * sysdeps/x86_64/fpu/dla.h: ...here.
16297 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16298 situations. Use __builtin_fma only for gcc 4.6 and up.
16300 * config.make.in: Add have-mfma4 entry.
16301 * configure.in: Substitute libc_cv_cc_fma4.
16302 * math/Makefile (dbl-only-routines): Add sincostab.
16303 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16304 Use __sincostab not sincos.
16305 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16307 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16312 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16313 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16314 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16315 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16317 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16318 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16320 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16321 define aliases when function name is a macro.
16322 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16323 sysdeps/ieee754/dbl-64/sincos.tbl.
16324 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16325 fma4-enabled routines.
16326 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16327 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16328 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16329 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16330 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16331 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16333 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16335 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16336 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16337 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16338 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16339 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16340 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16341 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16342 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16343 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16344 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16345 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16346 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16347 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16349 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16350 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16351 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16352 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16353 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16354 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16355 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16357 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16365 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16368 2011-10-24 Andreas Schwab <schwab@redhat.com>
16370 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16372 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16374 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16376 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16378 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16380 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16381 Remove unused variable magic_bits.
16382 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16384 * string/strnlen.c: Define and use STRNLEN macro.
16385 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16386 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16387 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16388 * wcsmbs/wcslen.c: Define and use WCSLEN.
16389 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16390 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16391 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16392 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16393 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16394 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16395 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16397 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16400 strnlen-sse2-no-bsf.
16401 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16402 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16403 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16404 Add strnlen support.
16405 (USE_AS_STRNLEN): New macro.
16406 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16407 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16408 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16409 * sysdeps/x86_64/wcslen.S: New file.
16411 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16413 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16414 XMM-moves are used for copying on small sizes.
16416 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16418 * wcsmbs/Makefile (strop-tests): Add wcschr.
16419 * wcsmbs/test-wcschr.c: New file.
16420 * string/test-strchr.c: Update.
16421 Add wcschr support.
16424 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16426 * wcsmbs/Makefile (strop-tests): Add wcslen.
16427 * wcsmbs/test-wcslen.c: New file.
16428 * string/test-strlen.c: Update.
16429 Add wcslen support.
16432 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16434 * po/it.po: Update from translation team.
16436 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16438 * sysdeps/x86_64/wcscmp.S: Update.
16439 Fix wrong comparison semantics.
16440 wcscmp shall use signed comparison not unsigned.
16441 Don't use substraction to avoid overflow bug.
16442 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16443 * wcsmbc/wcscmp.c: Likewise.
16444 * string/test-strcmp.c: Likewise.
16445 Add new tests to check cases with negative values.
16447 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16449 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16450 * sysdeps/x86_64/dla.h: ...here. New file.
16451 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16456 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16457 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16461 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16464 __ynl_finite aliases.
16466 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16470 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16472 [DLA_FMA] (EMULV): Use DLA_FMA.
16473 [DLA_FMA] (MUL12): Use EMULV.
16474 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16475 that are not needed.
16476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16481 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16484 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16486 * math/s_nan.c: Undef __nan.
16487 * math/s_nanf.c: Undef __nanf.
16488 * math/s_nanl.c: Undef __nanl.
16489 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16492 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16494 * math/s_catan.c: Add branch predictions.
16495 * math/s_catanf.c: Likewise.
16496 * math/s_catanh.c: Likewise.
16497 * math/s_catanhf.c: Likewise.
16498 * math/s_catanhl.c: Likewise.
16499 * math/s_catanl.c: Likewise.
16500 * math/s_cexp.c: Likewise.
16501 * math/s_cexpf.c: Likewise.
16502 * math/s_cexpl.c: Likewise.
16503 * math/s_clog.c: Likewise.
16504 * math/s_clog10.c: Likewise.
16505 * math/s_clog10f.c: Likewise.
16506 * math/s_clog10l.c: Likewise.
16507 * math/s_clogf.c: Likewise.
16508 * math/s_clogl.c: Likewise.
16509 * math/s_csqrt.c: Likewise.
16510 * math/s_csqrtf.c: Likewise.
16511 * math/s_csqrtl.c: Likewise.
16512 * math/s_ctanf.c: Likewise.
16513 * math/s_ctanh.c: Likewise.
16514 * math/s_ctanhf.c: Likewise.
16515 * math/s_ctanhl.c: Likewise.
16516 * math/s_ctanl.c: Likewise.
16518 * math/math_private.h: Define __nan, __nanf, __nanl.
16519 * math/s_cacosh.c: Include <math_private.h>.
16520 * math/s_cacoshl.c: Likewise.
16521 * math/s_casinh.c: Likewise.
16522 * math/s_casinhf.c: Likewise.
16523 * math/s_casinhl.c: Likewise.
16524 * math/s_ccos.c: Rely entire on ccosh.
16525 * math/s_ccosf.c: Rely entire on ccoshf.
16526 * math/s_ccosl.c: Rely entirely on ccoshl.
16527 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16528 Remove tests for FE_INVALID.
16529 * math/s_ccoshf.c: Likewise.
16530 * math/s_ccoshl.c: Likewise.
16531 * math/s_csin.c: Likewise.
16532 * math/s_csinf.c: Likewise.
16533 * math/s_csinh.c Likewise.
16534 * math/s_csinhf.c: Likewise.
16535 * math/s_csinhl.c: Likewise.
16536 * math/s_csinl.c: Likewise.
16537 * math/s_ctan.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16539 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16542 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16545 compilation problems.
16547 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16550 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16552 * sysdeps/i386/configure.in: Test for -mfma4 option.
16553 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16554 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16555 COMMON_CPUID_INDEX_80000001.
16556 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16557 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16558 use it if FMA3 is not supported.
16559 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16561 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16562 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16564 2011-10-20 Andreas Schwab <schwab@redhat.com>
16567 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16568 it would create a cycle with a link time dependency.
16570 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16572 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16574 * string/Makefile (strop-tests): Add rawmemchr.
16575 * string/test-rawmemchr.c: New file.
16577 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16578 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16579 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16580 when compiling str{,n}casecmp and when AVX is available. Hook up
16581 new optimized code in initializers.
16583 2011-10-19 Andreas Schwab <schwab@redhat.com>
16585 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16586 __feraiseexcept instead of feraiseexcept.
16588 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16590 * math/math_private.h: Define defaults for libc_fetestexcept and
16592 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16593 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16594 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16595 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16596 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16597 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16598 libc_fetestexcept and libc_feupdateenv.
16600 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16601 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16602 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16603 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16604 libc_feholdexcept_setround.
16606 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16607 Add s_nearbyint-c and s_nearbyintf-c.
16608 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16609 nearbyintf inlines.
16610 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16611 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16612 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16613 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16615 * math/math_private.h: Define defaults for libc_fegetround,
16616 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16617 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16618 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16620 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16621 standard functions.
16622 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16623 Remove comments and hacks for old compiler versions.
16624 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16625 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16626 libc_feholdexceptl.
16628 2011-10-18 Andreas Schwab <schwab@redhat.com>
16630 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16631 (__feraiseexcept_renamed): Add __NTH.
16632 (feraiseexcept): Add __NTH. Rename local variables to fix
16633 namespace violations.
16635 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16637 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16641 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16642 recently added interfaces.
16643 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16645 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16646 about macro parameter expansion.
16648 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16649 __NO_MATH_INLINES is defined. Cleanups.
16651 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16652 and __floorf is target has SSE4.1.
16653 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16654 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16655 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16656 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16658 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16660 (floorf): Likewise.
16662 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16664 2011-10-17 Andreas Schwab <schwab@redhat.com>
16666 * misc/sys/cdefs.h: Fix last change.
16668 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16671 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16673 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16675 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16677 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16678 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16679 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16680 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16684 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16685 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16686 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16687 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16688 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16689 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16690 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16691 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16692 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16693 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16694 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16695 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16696 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16698 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16699 ceil, ceilf, floor, floorf.
16701 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16702 Perform IRELATIVE relocations last.
16704 * elf/do-rel.h: Add another parameter nrelative, replacing the
16705 local variable with the same name. Change name of the function
16706 to end in Rel or Rela (uppercase).
16707 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16708 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16709 elf_dynamic_do_##reloc function.
16711 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16713 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16714 is sufficient, at least on modern CPUs.
16716 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16718 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16719 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16721 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16723 * math/bits/math-finite.h: Add entries for exp.
16724 * math/e_expl.c: Add __*_finite alias.
16725 * sysdeps/i386/fpu/e_exp.S: Likewise.
16726 * sysdeps/i386/fpu/e_expf.S: Likewise.
16727 * sysdeps/i386/fpu/e_expl.c: Likewise.
16728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16729 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16732 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16733 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16734 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16736 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16737 is sufficient, at least on modern CPUs.
16739 * ctype/ctype-info.c (__ctype_init): Define.
16740 * include/ctype.h (__ctype_init): Declare.
16741 (__ctype_b_loc): The variable is always initialized.
16742 (__ctype_toupper_loc): Likewise.
16743 (__ctype_tolower_loc): Likewise.
16744 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16745 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16747 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16749 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16751 * configure.in: Also look in $cxxmachine/include for C++ system
16754 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16756 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16757 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16758 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16759 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16760 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16761 (USE_AS_WMEMCMP): New macro.
16763 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16764 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16765 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16766 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16768 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16769 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16770 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16771 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16772 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16773 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16774 (USE_AS_WMEMCMP): New macro.
16775 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16776 * sysdeps/string/test-memcmp.c: Update.
16777 Fix simple_wmemcmp.
16779 * wcsmbs/wmemcmp.c: Update.
16780 (WMEMCMP): New macro.
16783 2011-10-12 Andreas Jaeger <aj@suse.de>
16786 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16788 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16790 * libio/iofwide.c (do_length): Avoid warning.
16792 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16794 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16796 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16798 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16799 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16800 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16801 * sysdeps/i386/i686/fpu/e_log.S: New file.
16802 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16803 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16805 * ctype/ctype.h: Add support for inlined isXXX functions when
16806 compiling C++ code.
16808 2011-10-14 Andreas Schwab <schwab@redhat.com>
16810 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16812 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16814 2011-10-13 Roland McGrath <roland@hack.frob.com>
16817 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16819 2011-10-13 Andreas Schwab <schwab@redhat.com>
16821 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16822 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16825 * sysdeps/x86_64/memrchr.S: Check for zero size.
16827 * string/stratcliff.c: Add memrchr tests.
16829 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16832 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16833 rawmemchr-sse2 rawmemchr-sse2-bsf.
16834 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16835 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16836 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16837 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16838 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16839 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16840 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16841 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16842 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16843 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16844 * string/memrchr.c (MEMRCHR): New macro.
16846 2011-10-12 Ulrich Drepper <drepper@gmail.com>
16848 Add integration with gcc's -ffinite-math-only and optimize wrapper
16850 * Versions.def: Define GLIBC_2.15 version for libm.
16851 * math/Makefile (headers): Add bits/math-finite.h.
16852 * math/bits/math-finite.h: New file.
16853 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16854 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16855 * math/e_acoshl.c: Add __*_finite alias.
16856 * math/e_acosl.c: Likewise.
16857 * math/e_asinl.c: Likewise.
16858 * math/e_atan2l.c: Likewise.
16859 * math/e_atanhl.c: Likewise.
16860 * math/e_coshl.c: Likewise.
16861 * math/e_exp10.c: Likewise.
16862 * math/e_exp10f.c: Likewise.
16863 * math/e_exp10l.c: Likewise.
16864 * math/e_exp2l.c: Likewise.
16865 * math/e_fmodl.c: Likewise.
16866 * math/e_gammal_r.c: Likewise.
16867 * math/e_hypotl.c: Likewise.
16868 * math/e_j0l.c: Likewise.
16869 * math/e_j1l.c: Likewise.
16870 * math/e_jnl.c: Likewise.
16871 * math/e_lgammal_r.c: Likewise.
16872 * math/e_log10l.c: Likewise.
16873 * math/e_log2l.c: Likewise.
16874 * math/e_logl.c: Likewise.
16875 * math/e_powl.c: Likewise.
16876 * math/e_sinhl.c: Likewise.
16877 * math/e_sqrtl.c: Likewise.
16878 * math/e_scalb.c: Completely rewritten and optimized.
16879 * math/e_scalbf.c: Likewise.
16880 * math/e_scalbl.c: Likewise.
16881 * math/w_acos.c: Likewise.
16882 * math/w_acosf.c: Likewise.
16883 * math/w_acosl.c: Likewise.
16884 * math/w_acosh.c: Likewise.
16885 * math/w_acoshf.c: Likewise.
16886 * math/w_acoshl.c: Likewise.
16887 * math/w_asin.c: Likewise.
16888 * math/w_asinf.c: Likewise.
16889 * math/w_asinl.c: Likewise.
16890 * math/w_atan2.c: Likewise.
16891 * math/w_atan2f.c: Likewise.
16892 * math/w_atan2l.c: Likewise.
16893 * math/w_atanh.c: Likewise.
16894 * math/w_atanhf.c: Likewise.
16895 * math/w_atanhl.c: Likewise.
16896 * math/w_exp10.c: Likewise.
16897 * math/w_exp10f.c: Likewise.
16898 * math/w_exp10l.c: Likewise.
16899 * math/w_fmod.c: Likewise.
16900 * math/w_fmodf.c: Likewise.
16901 * math/w_fmodl.c: Likewise.
16902 * math/w_j0.c: Likewise.
16903 * math/w_j0f.c: Likewise.
16904 * math/w_j0l.c: Likewise.
16905 * math/w_j1.c: Likewise.
16906 * math/w_j1f.c: Likewise.
16907 * math/w_j1l.c: Likewise.
16908 * math/w_jn.c: Likewise.
16909 * math/w_jnf.c: Likewise.
16910 * math/w_log.c: Likewise.
16911 * math/w_logf.c: Likewise.
16912 * math/w_logl.c: Likewise.
16913 * math/w_log10.c: Likewise.
16914 * math/w_log10f.c: Likewise.
16915 * math/w_log10l.c: Likewise.
16916 * math/w_log2.c: Likewise.
16917 * math/w_log2f.c: Likewise.
16918 * math/w_log2l.c: Likewise.
16919 * math/w_pow.c: Likewise.
16920 * math/w_powf.c: Likewise.
16921 * math/w_powl.c: Likewise.
16922 * math/w_remainder.c: Likewise.
16923 * math/w_remainderf.c: Likewise.
16924 * math/w_remainderl.c: Likewise.
16925 * math/w_scalb.c: Likewise.
16926 * math/w_scalbf.c: Likewise.
16927 * math/w_scalbl.c: Likewise.
16928 * math/w_sqrt.c: Likewise.
16929 * math/w_sqrtf.c: Likewise.
16930 * math/w_sqrtl.c: Likewise.
16931 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16932 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16934 * math/math_private.h: Declare __kernel_standard_f.
16935 * math/w_cosh.c: Remove cruft and optimize a bit.
16936 * math/w_coshf.c: Likewise.
16937 * math/w_coshl.c: Likewise.
16938 * math/w_exp2.c: Likewise.
16939 * math/w_exp2f.c: Likewise.
16940 * math/w_exp2l.c: Likewise.
16941 * math/w_hypot.c: Likewise.
16942 * math/w_hypotf.c: Likewise.
16943 * math/w_hypotl.c: Likewise.
16944 * math/w_lgamma.c: Likewise.
16945 * math/w_lgamma_r.c: Likewise.
16946 * math/w_lgammaf.c: Likewise.
16947 * math/w_lgammaf_r.c: Likewise.
16948 * math/w_lgammal.c: Likewise.
16949 * math/w_lgammal_r.c: Likewise.
16950 * math/w_sinh.c: Likewise.
16951 * math/w_sinhf.c: Likewise.
16952 * math/w_sinhl.c: Likewise.
16953 * math/w_tgamma.c: Likewise.
16954 * math/w_tgammaf.c: Likewise.
16955 * math/w_tgammal.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16957 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16958 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16959 Minor optimizations. Pretty printing. Remove cruft.
16960 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16961 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16962 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16963 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16964 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16965 * sysdeps/i386/fpu/e_asin.S: Likewise.
16966 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16967 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16968 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16969 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16970 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16971 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16972 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16973 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16974 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16975 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16976 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16977 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16978 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16979 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16980 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16981 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16982 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16983 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16984 * sysdeps/i386/fpu/e_log.S: Likewise.
16985 * sysdeps/i386/fpu/e_log10.S: Likewise.
16986 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16987 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16988 * sysdeps/i386/fpu/e_log2.S: Likewise.
16989 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16990 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16991 * sysdeps/i386/fpu/e_logf.S: Likewise.
16992 * sysdeps/i386/fpu/e_logl.S: Likewise.
16993 * sysdeps/i386/fpu/e_pow.S: Likewise.
16994 * sysdeps/i386/fpu/e_powf.S: Likewise.
16995 * sysdeps/i386/fpu/e_powl.S: Likewise.
16996 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16997 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16998 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16999 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17000 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17001 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17002 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17003 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17004 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17005 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17006 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17008 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17009 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17010 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17011 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17012 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17013 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17014 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17015 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17016 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17018 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17019 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17021 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17025 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17026 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17027 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17028 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17029 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17030 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17031 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17032 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17033 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17034 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17035 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17036 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17037 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17038 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17039 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17040 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17041 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17042 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17043 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17044 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17045 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17046 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17084 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17085 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17088 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17090 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17093 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17096 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17097 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17098 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17099 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17100 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17101 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17102 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17103 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17104 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17105 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17106 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17107 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17108 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17109 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17110 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17111 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17112 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17113 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17114 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17115 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17116 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17117 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17118 (__isnanf): Likewise.
17119 (__isinf_ns): Likewise.
17120 (__isinf_nsf): Likewise.
17121 (__finite): Likewise.
17122 (__finitef): Likewise.
17123 (__ieee754_sqrt): Define as macro.
17124 (__ieee754_sqrtf): Define as macro.
17125 (__ieee754_sqrtl): Define as macro.
17126 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17128 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17129 __FINITE_MATH_ONLY__ consistent.
17130 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17132 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17134 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17137 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17139 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17141 * po/ja.po: Update from translation team.
17143 2011-10-08 Roland McGrath <roland@hack.frob.com>
17145 * locale/programs/locarchive.c (prepare_address_space): New function.
17146 (create_archive, enlarge_archive, open_archive): Use it.
17148 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17149 inside [SHARED], where it is used.
17151 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17153 * nss/getent.c (netgroup_keys): Remove unused variable.
17154 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17156 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17158 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17161 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17162 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17163 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17164 * math/Makefile (libm-calls): Add s_isinf_ns.
17165 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17166 * math/multc3.c: Likewise.
17167 * math/s_casin.c: Likewise.
17168 * math/s_casinf.c: Likewise.
17169 * math/s_casinl.c: Likewise.
17170 * math/s_ccos.c: Likewise.
17171 * math/s_ccosf.c: Likewise.
17172 * math/s_ccosl.c: Likewise.
17173 * math/s_ctan.c: Likewise.
17174 * math/s_ctanf.c: Likewise.
17175 * math/s_ctanh.c: Likewise.
17176 * math/s_ctanhf.c: Likewise.
17177 * math/s_ctanhl.c: Likewise.
17178 * math/s_ctanl.c: Likewise.
17179 * math/w_fmod.c: Likewise.
17180 * math/w_fmodf.c: Likewise.
17181 * math/w_fmodl.c: Likewise.
17182 * math/w_remainder.c: Likewise.
17183 * math/w_remainderf.c: Likewise.
17184 * math/w_remainderl.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17186 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17189 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17190 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17191 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17192 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17194 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17196 * stdio-common/printf_fphex.c: Likewise.
17197 * stdio-common/printf_size.c: Likewise.
17199 * math/e_exp10.c: Include math_private.h using <...> not "...".
17200 * math/e_exp10f.c: Likewise.
17201 * math/e_exp10l.c: Likewise.
17202 * math/e_exp2l.c: Likewise.
17203 * math/e_j0l.c: Likewise.
17204 * math/e_j1l.c: Likewise.
17205 * math/e_jnl.c: Likewise.
17206 * math/e_lgammal_r.c: Likewise.
17207 * math/e_rem_pio2l.c: Likewise.
17208 * math/e_scalb.c: Likewise.
17209 * math/e_scalbf.c: Likewise.
17210 * math/e_scalbl.c: Likewise.
17211 * math/k_cosl.c: Likewise.
17212 * math/k_sinl.c: Likewise.
17213 * math/k_tanl.c: Likewise.
17214 * math/s_cacoshf.c: Likewise.
17215 * math/s_catan.c: Likewise.
17216 * math/s_catanf.c: Likewise.
17217 * math/s_catanh.c: Likewise.
17218 * math/s_catanhf.c: Likewise.
17219 * math/s_catanhl.c: Likewise.
17220 * math/s_catanl.c: Likewise.
17221 * math/s_ccosh.c: Likewise.
17222 * math/s_ccoshf.c: Likewise.
17223 * math/s_ccoshl.c: Likewise.
17224 * math/s_cexp.c: Likewise.
17225 * math/s_cexpf.c: Likewise.
17226 * math/s_cexpl.c: Likewise.
17227 * math/s_clog.c: Likewise.
17228 * math/s_clog10.c: Likewise.
17229 * math/s_clog10f.c: Likewise.
17230 * math/s_clog10l.c: Likewise.
17231 * math/s_clogf.c: Likewise.
17232 * math/s_clogl.c: Likewise.
17233 * math/s_csin.c: Likewise.
17234 * math/s_csinf.c: Likewise.
17235 * math/s_csinh.c: Likewise.
17236 * math/s_csinhf.c: Likewise.
17237 * math/s_csinhl.c: Likewise.
17238 * math/s_csinl.c: Likewise.
17239 * math/s_csqrt.c: Likewise.
17240 * math/s_csqrtf.c: Likewise.
17241 * math/s_csqrtl.c: Likewise.
17242 * math/s_ctan.c: Likewise.
17243 * math/s_ctanf.c: Likewise.
17244 * math/s_ctanh.c: Likewise.
17245 * math/s_ctanhf.c: Likewise.
17246 * math/s_ctanhl.c: Likewise.
17247 * math/s_ctanl.c: Likewise.
17248 * math/s_ldexp.c: Likewise.
17249 * math/s_ldexpf.c: Likewise.
17250 * math/s_ldexpl.c: Likewise.
17251 * math/s_significand.c: Likewise.
17252 * math/s_significandf.c: Likewise.
17253 * math/s_significandl.c: Likewise.
17254 * math/w_acos.c: Likewise.
17255 * math/w_acosf.c: Likewise.
17256 * math/w_acosh.c: Likewise.
17257 * math/w_acoshf.c: Likewise.
17258 * math/w_acoshl.c: Likewise.
17259 * math/w_acosl.c: Likewise.
17260 * math/w_asin.c: Likewise.
17261 * math/w_asinf.c: Likewise.
17262 * math/w_asinl.c: Likewise.
17263 * math/w_atan2.c: Likewise.
17264 * math/w_atan2f.c: Likewise.
17265 * math/w_atan2l.c: Likewise.
17266 * math/w_atanh.c: Likewise.
17267 * math/w_atanhf.c: Likewise.
17268 * math/w_atanhl.c: Likewise.
17269 * math/w_cosh.c: Likewise.
17270 * math/w_coshf.c: Likewise.
17271 * math/w_coshl.c: Likewise.
17272 * math/w_dremf.c: Likewise.
17273 * math/w_exp10.c: Likewise.
17274 * math/w_exp10f.c: Likewise.
17275 * math/w_exp10l.c: Likewise.
17276 * math/w_exp2.c: Likewise.
17277 * math/w_exp2f.c: Likewise.
17278 * math/w_fmod.c: Likewise.
17279 * math/w_fmodf.c: Likewise.
17280 * math/w_fmodl.c: Likewise.
17281 * math/w_hypot.c: Likewise.
17282 * math/w_hypotf.c: Likewise.
17283 * math/w_hypotl.c: Likewise.
17284 * math/w_j0.c: Likewise.
17285 * math/w_j0f.c: Likewise.
17286 * math/w_j0l.c: Likewise.
17287 * math/w_j1.c: Likewise.
17288 * math/w_j1f.c: Likewise.
17289 * math/w_j1l.c: Likewise.
17290 * math/w_jn.c: Likewise.
17291 * math/w_jnf.c: Likewise.
17292 * math/w_jnl.c: Likewise.
17293 * math/w_lgamma.c: Likewise.
17294 * math/w_lgamma_r.c: Likewise.
17295 * math/w_lgammaf.c: Likewise.
17296 * math/w_lgammaf_r.c: Likewise.
17297 * math/w_lgammal.c: Likewise.
17298 * math/w_lgammal_r.c: Likewise.
17299 * math/w_log.c: Likewise.
17300 * math/w_log10.c: Likewise.
17301 * math/w_log10f.c: Likewise.
17302 * math/w_log10l.c: Likewise.
17303 * math/w_log2.c: Likewise.
17304 * math/w_log2f.c: Likewise.
17305 * math/w_log2l.c: Likewise.
17306 * math/w_logf.c: Likewise.
17307 * math/w_logl.c: Likewise.
17308 * math/w_pow.c: Likewise.
17309 * math/w_powf.c: Likewise.
17310 * math/w_powl.c: Likewise.
17311 * math/w_remainder.c: Likewise.
17312 * math/w_remainderf.c: Likewise.
17313 * math/w_remainderl.c: Likewise.
17314 * math/w_scalb.c: Likewise.
17315 * math/w_scalbf.c: Likewise.
17316 * math/w_scalbl.c: Likewise.
17317 * math/w_sinh.c: Likewise.
17318 * math/w_sinhf.c: Likewise.
17319 * math/w_sinhl.c: Likewise.
17320 * math/w_sqrt.c: Likewise.
17321 * math/w_sqrtf.c: Likewise.
17322 * math/w_sqrtl.c: Likewise.
17323 * math/w_tgamma.c: Likewise.
17324 * math/w_tgammaf.c: Likewise.
17325 * math/w_tgammal.c: Likewise.
17327 * po/ja.po: Update from translation team.
17329 2011-09-29 Andreas Jaeger <aj@suse.de>
17332 * sunrpc/netname.c (netname2host): Fix logic.
17336 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17338 * math/w_remainder.c (__remainder): Likewise.
17339 * math/w_remainderf.c (__remainderf): Likewise.
17340 * math/libm-test.inc (remainder_test): Add test cases.
17342 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17344 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17347 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17349 * string/test-memcmp.c: Avoid unncessary #defines.
17350 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17352 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17354 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17355 Use new sse2 version for core i3 - i7 as it's faster
17356 than sse42 version.
17357 (bit_Prefer_PMINUB_for_stringop): New.
17358 * sysdeps/x86_64/rawmemchr.S: Update.
17359 Replace with faster SSE2 version.
17360 * sysdeps/x86_64/memrchr.S: New file.
17361 * sysdeps/x86_64/memchr.S: Update.
17362 Replace with faster SSE2 version.
17364 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17366 * elf/dl-load.c (lose): Add cast to avoid warning.
17368 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17370 * po/ca.po: Update from translation team.
17372 * inet/getnetgrent_r.c: Hook up nscd.
17373 * nscd/Makefile (routines): Add nscd_netgroup.
17374 (nscd-modules): Add netgroupcache.
17375 (CFLAGS-netgroupcache.c): Define.
17376 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17377 (cache_search): Add const to second parameter.
17378 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17380 (dbs): Add netgrdb entry.
17381 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17382 (verify_persistent_db): Handle netgrdb.
17383 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17384 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17386 (netgroup_response_header): Define.
17387 (innetgroup_response_header): Define.
17388 (datahead): Add netgroup_response_header and innetgroup_response_header
17390 * nscd/nscd.conf: Add entries for netgroup cache.
17391 * nscd/nscd.h (dbtype): Add netgrdb.
17392 (_PATH_NSCD_NETGROUP_DB): Define.
17393 (netgroup_iov_disabled): Declare.
17394 (xmalloc, xcalloc, xrealloc): Move declarations here.
17395 (cache_search): Adjust prototype.
17396 Add netgroup-related prototypes.
17397 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17398 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17399 (__nscd_innetgr): Declare.
17400 * nscd/selinux.c (perms): Use access_vector_t as element type and
17401 add netgroup-related initializers.
17402 * nscd/netgroupcache.c: New file.
17403 * nscd/nscd_netgroup.c: New file.
17404 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17405 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17406 For four parameters use innetgr.
17407 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17408 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17409 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17410 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17412 * nscd/connections.c (register_traced_file): Don't register file
17413 for disabled databases.
17415 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17417 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17419 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17420 from tree and freeing node.
17422 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17424 * nss/nsswitch.c (__nss_database_lookup): Handle
17425 nss_parse_service_list out of memory case.
17427 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17429 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17430 out of memory case.
17432 2011-10-04 Andreas Schwab <schwab@redhat.com>
17434 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17435 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17437 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17438 elf_machine_rela, elf_machine_lazy_rel.
17439 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17440 (ELF_DYNAMIC_DO_REL): Likewise.
17441 (ELF_DYNAMIC_DO_RELA): Likewise.
17442 (ELF_DYNAMIC_RELOCATE): Likewise.
17443 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17444 to ELF_DYNAMIC_DO_REL.
17445 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17446 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17447 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17450 skip_ifunc, don't call ifunc function if non-zero.
17451 (elf_machine_rela): Likewise.
17452 (elf_machine_lazy_rel): Likewise.
17453 (elf_machine_lazy_rela): Likewise.
17454 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17455 (elf_machine_lazy_rel): Likewise.
17456 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17458 (elf_machine_lazy_rel): Likewise.
17459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17461 (elf_machine_lazy_rel): Likewise.
17462 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17463 (elf_machine_lazy_rel): Likewise.
17464 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17465 (elf_machine_lazy_rel): Likewise.
17466 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17467 (elf_machine_lazy_rel): Likewise.
17468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17469 (elf_machine_lazy_rel): Likewise.
17470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17471 (elf_machine_lazy_rel): Likewise.
17472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17473 (elf_machine_lazy_rel): Likewise.
17475 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17477 * nss/nss_files/files-init.c (_nss_files_init): Use static
17478 initialization for all the *_traced_file variables.
17480 2011-09-28 Andreas Schwab <schwab@redhat.com>
17482 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17484 2011-09-27 Roland McGrath <roland@hack.frob.com>
17487 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17489 2011-09-27 Andreas Schwab <schwab@redhat.com>
17491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17492 Reread the line before reparsing it.
17494 2011-09-26 Andreas Schwab <schwab@redhat.com>
17496 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17498 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17499 Maxim Kuvyrkov <maxim@codesourcery.com>
17500 Joseph Myers <joseph@codesourcery.com>
17502 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17503 if needed for __stack_chk_guard.
17505 2011-09-19 Roland McGrath <roland@hack.frob.com>
17507 * sysdeps/posix/spawni.c (script_execute): Always define it.
17508 It will be optimized away if unused.
17509 (maybe_script_execute): New function.
17510 (__spawni): Call it.
17512 * Makerules: Don't include tls.make.
17513 (config-tls): Always set to thread.
17514 * tls.make.c: File removed.
17516 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17518 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17519 * config.make.in (CPPFLAGS-config): New substituted variable.
17521 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17523 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17526 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17527 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17529 2011-09-15 Roland McGrath <roland@hack.frob.com>
17531 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17532 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17533 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17534 (CALL_FAIL): Likewise.
17535 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17536 (CALL_FAIL): Macro removed.
17537 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17539 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17541 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17542 for __FINITE_MATH_ONLY__ == 1.
17544 2011-09-15 Andreas Schwab <schwab@redhat.com>
17546 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17547 __ieee754_sqrt instead of sqrt.
17548 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17549 __ieee754_sqrtf instead of sqrtf.
17550 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17551 __floorf instead of floorf.
17552 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17553 __floorf, __truncf instead of floorf, truncf.
17555 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17557 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17559 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17560 __extern_always_inline.
17561 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17564 2011-09-14 Andreas Schwab <schwab@redhat.com>
17566 * elf/rtld.c (dl_main): Also relocate in dependency order when
17567 doing symbol dependency testing.
17569 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17571 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17572 Always define `refsym'.
17574 2011-09-13 Andreas Schwab <schwab@redhat.com>
17576 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17577 (__FD_ELT): Renamed from __FDELT.
17578 * misc/bits/select2.h (__FD_ELT): Likewise.
17579 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17580 __FD_MASK instead of __FDELT, __FDMASK.
17581 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17583 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17586 * elf/Makefile (gen-ldd): Fix pattern.
17588 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17589 (init_tls): Likewise.
17591 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17593 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17595 2011-09-12 Andreas Schwab <schwab@redhat.com>
17597 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17598 `struct cmsghdr *' instead of `void *'.
17599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17602 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17604 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17606 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17607 ldd_rewrite_script.
17609 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17611 * configure.in: Remove --with-tls option.
17612 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17613 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17614 out in case it is missing.
17615 * sysdeps/ia64/elf/configure.in: Likewise.
17616 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17617 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17618 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17619 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17620 * sysdeps/sh/elf/configure.in: Likewise.
17621 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17622 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17623 * sysdeps/x86_64/elf/configure.in: Likewise.
17624 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17625 * sysdeps/mach/hurd/tls.h: Likewise.
17628 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17631 * configure.in: Fix use of AC_INIT.
17633 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17635 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17637 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17639 * malloc/hooks.c: Likewise.
17642 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17643 variables statically.
17644 (narenas): Initialize.
17645 (list_lock): Initialize.
17646 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17647 initializtion of main_arena and list_lock. Small cleanups.
17648 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17649 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17650 Add initializers to main_arena and mp_.
17651 (malloc_state): Remove pagesize member. Change all users to use
17654 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17655 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17656 is always initialized.
17658 * malloc/malloc.c: Removed unused configurations and dead code.
17659 * malloc/arena.c: Likewise.
17660 * malloc/hooks.c: Likewise.
17661 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17663 * include/tls.h: Removed. USE___THREAD must always be defined.
17664 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17665 * elf/dl-libc.c: Likewise.
17666 * elf/dl-tsd.c: Likewise.
17667 * include/errno.h: Likewise.
17668 * include/netdb.h: Likewise.
17669 * include/resolv.h: Likewise.
17670 * inet/herrno-loc.c: Likewise.
17671 * inet/herrno.c: Likewise.
17672 * malloc/arena.c: Likewise.
17673 * malloc/hooks.c: Likewise.
17674 * malloc/malloc.c: Likewise.
17675 * resolv/res-state.c: Likewise.
17676 * resolv/res_libc.c: Likewise.
17677 * sysdeps/i386/dl-machine.h: Likewise.
17678 * sysdeps/ia64/dl-machine.h: Likewise.
17679 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17680 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17681 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17682 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17683 * sysdeps/sh/dl-machine.h: Likewise.
17684 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17685 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17686 * sysdeps/unix/i386/sysdep.S: Likewise.
17687 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17688 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17689 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17692 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17693 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17697 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17698 * sysdeps/x86_64/dl-machine.h: Likewise.
17699 * tls.make.c: Likewise.
17701 * configure.in: Remove --with-__thread option. Make tests for
17702 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17703 tls_model attribute fail if no support is available. Remove
17705 * Makeconfig: Adjust for dropped configure option. All features are
17707 * Makerules: Likewise.
17708 * Versions.def: Likewise.
17709 * argp/argp-fmtstream.c: Likewise.
17710 * argp/argp-fmtstream.h: Likewise.
17711 * argp/argp-help.c: Likewise.
17712 * assert/assert.c: Likewise.
17713 * config.h.in: Likewise.
17714 * config.make.in: Likewise.
17715 * configure: Likewise.
17716 * configure.in: Likewise.
17717 * csu/Versions: Likewise.
17718 * csu/init.c: Likewise.
17719 * elf/tst-audit2.c: Likewise.
17720 * elf/tst-tls10.c: Likewise.
17721 * elf/tst-tls10.h: Likewise.
17722 * elf/tst-tls11.c: Likewise.
17723 * elf/tst-tls12.c: Likewise.
17724 * elf/tst-tls14.c: Likewise.
17725 * elf/tst-tlsmod11.c: Likewise.
17726 * elf/tst-tlsmod12.c: Likewise.
17727 * elf/tst-tlsmod13.c: Likewise.
17728 * elf/tst-tlsmod13a.c: Likewise.
17729 * elf/tst-tlsmod14a.c: Likewise.
17730 * elf/tst-tlsmod15b.c: Likewise.
17731 * elf/tst-tlsmod16a.c: Likewise.
17732 * elf/tst-tlsmod16b.c: Likewise.
17733 * elf/tst-tlsmod7.c: Likewise.
17734 * elf/tst-tlsmod8.c: Likewise.
17735 * elf/tst-tlsmod9.c: Likewise.
17736 * gmon/gmon.c: Likewise.
17737 * grp/fgetgrent_r.c: Likewise.
17738 * grp/putgrent.c: Likewise.
17739 * hurd/fopenport.c: Likewise.
17740 * include/libc-symbols.h: Likewise.
17741 * include/tls.h: Likewise.
17742 * intl/gettextP.h: Likewise.
17743 * intl/loadinfo.h: Likewise.
17744 * locale/global-locale.c: Likewise.
17745 * locale/localeinfo.h: Likewise.
17746 * mach/devstream.c: Likewise.
17747 * malloc/arena.c: Likewise.
17748 * malloc/set-freeres.c: Likewise.
17749 * misc/err.c: Likewise.
17750 * misc/getttyent.c: Likewise.
17751 * misc/mntent_r.c: Likewise.
17752 * posix/getopt.c: Likewise.
17753 * posix/wordexp.c: Likewise.
17754 * pwd/fgetpwent_r.c: Likewise.
17755 * resolv/Versions: Likewise.
17756 * resolv/res_hconf.c: Likewise.
17757 * shadow/fgetspent_r.c: Likewise.
17758 * shadow/putspent.c: Likewise.
17759 * stdio-common/printf_fphex.c: Likewise.
17760 * stdio-common/tmpfile.c: Likewise.
17761 * stdlib/abort.c: Likewise.
17762 * stdlib/fmtmsg.c: Likewise.
17763 * sunrpc/auth_unix.c: Likewise.
17764 * sunrpc/clnt_perr.c: Likewise.
17765 * sunrpc/clnt_tcp.c: Likewise.
17766 * sunrpc/clnt_udp.c: Likewise.
17767 * sunrpc/clnt_unix.c: Likewise.
17768 * sunrpc/openchild.c: Likewise.
17769 * sunrpc/svc_simple.c: Likewise.
17770 * sunrpc/svc_tcp.c: Likewise.
17771 * sunrpc/svc_udp.c: Likewise.
17772 * sunrpc/svc_unix.c: Likewise.
17773 * sunrpc/xdr.c: Likewise.
17774 * sunrpc/xdr_array.c: Likewise.
17775 * sunrpc/xdr_rec.c: Likewise.
17776 * sunrpc/xdr_ref.c: Likewise.
17777 * sunrpc/xdr_stdio.c: Likewise.
17779 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17781 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17783 2011-07-03 Andreas Jaeger <aj@suse.de>
17785 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17786 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17787 regenerate with gen-libm-tests.pl.
17789 2010-05-12 Petr Baudis <pasky@suse.cz>
17792 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17793 around j0() zero points by switching to j1().
17794 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17799 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17801 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17803 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17806 Patch in part by Pavel Roskin <proski@gnu.org>.
17809 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17811 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17812 Free memory block if necessary.
17815 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17816 be NULL. Don't lock in this case.
17818 2011-09-09 Roland McGrath <roland@hack.frob.com>
17820 * elf/elf.h (ELFOSABI_GNU): New macro.
17821 (ELFOSABI_LINUX): Define to that.
17823 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17825 * string/strncat.c (strncat): Undef the symbol in case it has been
17826 defined in bits/string.h.
17828 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17830 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17832 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17835 2011-08-17 Andreas Jaeger <aj@suse.de>
17837 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17839 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17840 Ian Lance Taylor <iant@google.com>
17842 * math/libm-test.inc (lround_test): New testcase.
17843 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17845 2011-09-08 Ulrich Drepper <drepper@gmail.com>
17847 * Makefile: Remove support for automatic cvs check-ins.
17848 * Makerules: Likewise.
17849 * config.make.in: Likewise.
17850 * configure.in: Likewise.
17851 * intl/Makefile: Likewise.
17852 * locale/Makefile: Likewise.
17853 * po/Makefile: Likewise.
17854 * posix/Makefile: Likewise.
17855 * sysdeps/gnu/Makefile: Likewise.
17856 * sysdeps/mach/hurd/Makefile: Likewise.
17857 * sysdeps/sparc/sparc32/Makefile: Likewise.
17860 * posix/Makefile (bug-regex32-ENV): Define.
17861 Patch by John Stanley <jpsinthemix@verizon.net>.
17863 * misc/Makefile (headers): Add bits/select2.h.
17864 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17865 * misc/bits/select2.h: New file.
17866 * include/bits/select2.h: New file.
17867 * debug/Makefile (routines): Add fdelt_chk.
17868 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17869 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17871 * debug/fdelt_chk.c: New file.
17873 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17874 * wcsmbs/test-wmemcmp.c: Likewise.
17875 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
17876 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
17878 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17880 * string/Makefile (strop-tests): Add memcmp.
17881 * string/test-wmemcmp.c: New file.
17882 * string/test-memcmp.c: Add wmemcmp support.
17884 2011-09-08 Roland McGrath <roland@hack.frob.com>
17887 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17890 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17891 garbage value in a __mach_port_mod_refs call in the cases of the
17892 task-self and thread-self ports.
17894 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17896 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17898 2011-09-08 Andreas Schwab <schwab@redhat.com>
17900 * elf/dl-load.c (lose): Check for non-null L.
17902 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17904 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17906 * elf/dl-libc.c (dlerror_run): Pass back error code from
17910 * elf/dl-load.c (lose): Free l_origin if it is valid.
17912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17914 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17915 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17916 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17917 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17919 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17921 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17923 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17924 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17925 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17926 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17927 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17928 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17929 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17930 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17931 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17932 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17934 2011-08-15 Alan Modra <amodra@gmail.com>
17937 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17938 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17939 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17940 ppc_mcount to static-only-routines.
17941 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17943 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17944 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17946 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17948 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17949 for finite and infinity parameters.
17951 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17953 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17954 and add nop instructions for throughput optimization.
17955 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17957 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17959 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17960 aligned copy for power7 with vector-scalar instructions.
17961 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17963 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17968 2011-09-07 Andreas Schwab <schwab@redhat.com>
17971 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17974 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17976 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17977 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17978 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17979 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17982 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17984 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17985 Forgot to demangle the pointer.
17987 * sysdeps/i386/sysdep.h: Define atom_text_section.
17988 * sysdeps/x86_64/sysdep.h: Likewise.
17989 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17990 section with atom_text_section.
17991 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17992 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17993 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17995 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17997 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17998 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17999 already be defined. Change to take two parameters and don't assign
18000 result to variable. Adjust all users.
18001 Define INTERNAL_GETTIME if not already defined.
18002 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18005 HAVE_CLOCK_GETTIME_VSYSCALL.
18006 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18008 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18009 gettimeofday vsyscall, just use time.
18011 2011-09-06 Andreas Schwab <schwab@redhat.com>
18013 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18016 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18018 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18022 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18023 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18024 syscall if possible.
18026 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18028 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18029 e_ident. Don't pass to find_mapsXX.
18030 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18032 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18035 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18036 * sysdeps/x86_64/multiarch/strchr.S: Update.
18037 Check bit_slow_BSF bit.
18038 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18039 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18040 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18042 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18045 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18047 (tryshell): Define.
18048 (__spawni): Change last parameter to be flag. Test
18049 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18050 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18051 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18052 * posix/spawni.c: Likewise.
18053 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18054 * posix/spawnp.c: Likewise. Change normal version to use
18055 SPAWN_XFLAGS_USE_PATH.
18056 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18057 SPAWN_XFLAGS_TRY_SHELL.
18060 * posix/glob.h: Remove gcc 1.x support.
18063 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18065 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18068 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18070 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18071 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18072 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18073 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18074 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18075 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18077 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18079 * sysdeps/x86_64/wcscmp.S: New file.
18081 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18082 wcscmp-c wcscmp-sse2
18083 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18084 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18085 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18086 * wcsmbs/wcscmp.c: Allow renaming.
18088 2011-09-05 David S. Miller <davem@davemloft.net>
18090 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18091 stack slot, rather than the struct return pointer slot.
18092 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18093 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18095 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18097 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18099 * po/ja.po: Update from translation team.
18102 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18103 kernel in 64-bit binaries.
18105 2011-09-01 David S. Miller <davem@davemloft.net>
18107 * elf/elf.h (HWCAP_SPARC_*): Move to..
18108 * sysdeps/sparc/sysdep.h: this new file and add new values.
18109 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18110 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18111 _DL_HWCAP_COUNT to 24.
18112 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18114 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18115 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18116 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18118 instead of magic constants.
18119 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18121 2011-08-31 David S. Miller <davem@davemloft.net>
18123 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18125 Reimplement to do errno handling inline.
18126 (SYSCALL_ERROR_HANDLER): New macro.
18127 (__SYSCALL_STRING): Do not do errno handling in asm.
18128 (__CLONE_SYSCALL_STRING): Delete.
18129 (__INTERNAL_SYSCALL_STRING): Delete.
18130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18131 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18132 (PSEUDO): Reimplement to do errno handling inline.
18133 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18134 (SYSCALL_ERROR_HANDLER): New macro.
18135 (__SYSCALL_STRING): Do not do errno handling in asm.
18136 (__CLONE_SYSCALL_STRING): Delete.
18137 (__INTERNAL_SYSCALL_STRING): Delete.
18138 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18139 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18141 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18142 (inline_syscall*): Add 'err' argument.
18143 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18144 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18145 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18146 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18148 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18149 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18151 2011-08-30 Andreas Schwab <schwab@redhat.com>
18153 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18155 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18157 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18160 2011-08-24 David S. Miller <davem@davemloft.net>
18162 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18164 2011-08-24 Andreas Schwab <schwab@redhat.com>
18166 * elf/Makefile: Add rules to build and run unload8 test.
18167 * elf/unload8.c: New file.
18168 * elf/unload8mod1.c: New file.
18169 * elf/unload8mod1x.c: New file.
18170 * elf/unload8mod2.c: New file.
18171 * elf/unload8mod3.c: New file.
18173 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18176 2011-08-23 David S. Miller <davem@davemloft.net>
18178 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18179 subtract stack bias.
18180 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18181 %sp not %fp in calculations.
18182 (_JMPBUF_UNWINDS_ADJ): Likewise.
18184 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18185 (aio_suspend): Call it to force an exception region around the
18186 AIO_MISC_WAIT() invocation.
18188 2011-08-23 Andreas Schwab <schwab@redhat.com>
18190 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18193 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18195 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18197 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18198 and <dl-machine.h>.
18199 (Elf64_FuncDesc): Remove.
18201 2011-08-22 David S. Miller <davem@davemloft.net>
18203 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18204 sigaltstack check, add missing cfi directives.
18205 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18206 missing cfi directives, and sigaltstack handling.
18208 2011-08-16 Andreas Schwab <schwab@redhat.com>
18211 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18212 object is seen twice.
18213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18215 * elf/Makefile (distribute): Add tst-initorder2.c.
18216 (tests): Add tst-initorder2.
18217 (modules-names): Add tst-initorder2a tst-initorder2b
18218 tst-initorder2c tst-initorder2d. Add rules to build them.
18219 ($(objpfx)tst-initorder2.out): New rule.
18220 * elf/tst-initorder2.c: New file.
18221 * elf/tst-initorder2.exp: New file.
18223 2011-08-22 Andreas Schwab <schwab@redhat.com>
18225 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18227 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18228 dependencies back to end of function.
18230 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18231 $(elfobjdir)/ld.so.
18233 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18236 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18238 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18239 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18240 of __vdso_gettimeofday.
18241 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18242 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18244 (_libc_vdso_platform_setup): Remove initialization of
18245 __vdso_gettimeofday and __vdso_time.
18247 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18249 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18250 and fgetc_unlocked.
18251 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18254 * elf/dl-open.c (add_to_global): Report additions to the global scope
18255 for LD_DEBUG=scopes.
18256 (dl_open_worker): Also print scope of newly loaded dependencies.
18257 (_dl_show_scope): Indicate if there is no scope.
18260 * stdio-common/Makefile (tests): Add bug24.
18261 * stdio-common/bug24.c: New file.
18263 2011-08-19 Andreas Jaeger <aj@suse.de>
18266 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18267 non-existant file when using close-on-exec mode.
18269 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18272 the very first instruction.
18274 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18275 the CFI state in the end.
18276 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18277 inclusion of dl-trampoline.h.
18278 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18280 2011-08-19 Andreas Schwab <schwab@redhat.com>
18282 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18283 expectations for long double.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18286 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18288 2011-08-14 David S. Miller <davem@davemloft.net>
18290 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18291 artificual limit depends upon the system page size.
18293 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18295 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18296 * resolv/Makefile: Define CFLAGS-libresolv.
18298 2011-08-17 Andreas Schwab <schwab@redhat.com>
18300 * nss/makedb.c (compute_tables): Make variables used in nested
18303 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18305 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18306 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18307 if buffer was too small.
18309 * elf/pldd.c (main): Attach to all threads in the process.
18310 Rewrite /proc handling to use *at functions.
18312 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18314 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18315 specifies first scope to show.
18316 (dl_open_worker): Update callers. Move printing scope of new
18317 object to before the relocation.
18318 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18319 * sysdeps/generic/ldsodefs.h: Update declaration.
18321 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18322 string for the scope number.
18324 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18326 * nscd/servicescache.c (cache_addserv): Make sure written is always
18329 2011-08-14 Roland McGrath <roland@hack.frob.com>
18331 * sysdeps/i386/i486/bits/atomic.h
18332 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18333 statement expression, so as to suppress "set but not used" warning.
18334 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18336 * string/strncat.c (STRNCAT): Use prototype definition.
18338 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18339 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18341 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18342 (localedef-modules): Add localedef.
18343 (locale-modules): Add locale.
18345 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18346 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18347 to avoid a warning.
18349 2011-08-14 David S. Miller <davem@davemloft.net>
18351 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18352 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18354 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18356 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18357 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18358 * elf/rtld.c (dl_main): Set l_name of vDSO.
18359 Call _dl_show_scope when DL_DEBUG_SCOPES.
18360 (process_dl_debug): Recognize scopes flag and also set it for all.
18361 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18362 Declare _dl_show_scope.
18364 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18365 (do_dlopen): Pass caller_dlopen to dl_open.
18366 (__libc_dlopen_mode): Initialize caller_dlopen.
18368 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18369 of libc. Make tolower call locale-independent. Optimize a bit by
18370 using isdigit instead of isalnum.
18371 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18373 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18375 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18376 was a dependency or dynamically loaded.
18378 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18380 * intl/l10nflist.c: Allow architecture-specific pop function.
18381 * sysdeps/x86_64/l10nflist.c: New file.
18383 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18386 2011-08-10 Andreas Schwab <schwab@redhat.com>
18388 * include/dirent.h: Add libc_hidden_proto for scandirat and
18389 scandirat64. Don't declare __scandirat64.
18390 * dirent/scandirat.c: Add libc_hidden_def.
18391 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18392 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18394 2011-08-10 David S. Miller <davem@davemloft.net>
18396 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18399 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18400 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18402 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18404 * Versions.def [libc]: Add GLIBC_2.15.
18405 * dirent/Makefile (routines): Add scandirat and scandirat64.
18406 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18408 * dirent/dirent.h: Declare scandirat and scandirat64.
18409 * dirent/scandirat.c: New file.
18410 * dirent/scandirat64.c: New file.
18411 * sysdeps/wordsize-64/scandirat.c: New file.
18412 * sysdeps/wordsize-64/scandirat64.c: New file.
18413 * dirent/opendir.c: Define opendirat.
18414 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18416 * dirent/scandir64.c: Adjust for scandir.c change.
18417 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18418 __scandirat64, and __scandir_cancel_handler.
18419 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18420 additional parameter and use openat instead of open (outside of ld.so).
18421 Add new __opendir as wrapper around __opendirat.
18422 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18423 here without requiring old scandirat implementation.
18425 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18427 * dirent/scandir.c (cancel_handler): Renamed to
18428 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18429 defined. Adjust users.
18430 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18431 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18433 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18435 * string/test-string.h (IMPL): Use __STRING to expand name and then
18438 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18441 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18443 * string/Makefile: Update.
18444 (strop-tests): Append strncat.
18445 * string/test-wcscmp.c: New file.
18446 New comprehensive test for wcscmp.
18447 * string/test-strcmp.c: Update.
18448 (WIDE): New define.
18450 2011-07-22 Andreas Schwab <schwab@redhat.com>
18452 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18455 2011-07-26 Andreas Schwab <schwab@redhat.com>
18457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18458 encoding to ACE if AI_IDN.
18460 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18462 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18463 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18465 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18467 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18468 Fix overflow bug in strncat.
18469 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18471 * string/test-strncat.c: Update.
18472 Add new tests for checking overflow bugs.
18474 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18477 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18478 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18479 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18481 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18482 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18483 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18484 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18487 (USE_AS_STRCAT): Define.
18488 Add strcat and strncat support.
18489 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18491 2011-07-25 Andreas Schwab <schwab@redhat.com>
18493 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18494 __n bigger than INT_MAX+1.
18495 (__strncmp_g): Likewise.
18497 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18499 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18500 * libio/stido.h: Likewise.
18502 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18507 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18508 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18510 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18511 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18514 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18519 (_dl_x86_64_save_sse): Likewise.
18521 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18525 (_dl_x86_64_save_sse): Likewise.
18527 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18529 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18531 2011-07-21 Andreas Schwab <schwab@redhat.com>
18533 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18535 (_dl_x86_64_save_sse): Use correct AVX check.
18537 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18539 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18540 bug in strncpy/strncat.
18541 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18543 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18545 * string/tester.c (test_strcat): Add tests for different alignments
18546 of source and destination.
18547 (test_strncat): Likewise.
18549 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18552 * posix/glob.c (glob): Check passed in values before using them in
18553 expressions to avoid some overflows.
18554 (glob_in_dir): Likewise.
18557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18558 check for AVX enablement so that we don't crash with old kernels and
18560 * elf/tst-audit4.c: Add same checks here.
18561 * elf/tst-audit6.c: Likewise.
18563 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18565 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18567 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18569 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18571 * po/cs.po: Update from translation team.
18572 * po/bg.po: Likewise.
18574 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18576 * misc/sys/cdefs.h: Add support for const attribute.
18577 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18578 to gnu_dev_{major,minor,makedev} functions.
18580 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18582 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18584 2011-07-20 Andreas Schwab <schwab@redhat.com>
18586 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18589 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18592 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18593 register in order to avoid conflicts with the soft frame pointer
18594 being held in r11 when necessary.
18595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18596 (INTERNAL_VSYSCALL_NCS): Likewise.
18598 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18600 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18601 * elf/dl-fini.c (_dl_fini): Adjust caller.
18602 * elf/dl-close.c (_dl_close_worker): Likewise.
18603 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18605 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18607 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18608 "aux_cache->nlibs < 0".
18610 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18611 in the reload-count case.
18613 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18616 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18617 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18618 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18619 * sysdeps/x86_64/multiarch/strcat.S: New file.
18620 * sysdeps/x86_64/multiarch/strncat.S: New file.
18621 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18622 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18623 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18624 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18625 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18626 (USE_AS_STRCAT): Define.
18627 Add strcat and strncat support.
18628 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18630 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18631 * string/strncat.c: Update.
18632 (USE_AS_STRNCAT): Define.
18633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18634 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18636 * sysdeps/x86_64/multiarch/init-arch.h
18637 (bit_Prefer_PMINUB_for_stringop): New.
18638 (index_Prefer_PMINUB_for_stringop): Likewise.
18639 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18640 bit_Prefer_PMINUB_for_stringop.
18642 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18644 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18646 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18647 of casting of buffer.
18648 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18649 buffer32 and buffer64.
18650 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18651 writes instead of casting of buffer.
18652 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18654 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18657 2011-07-19 Andreas Schwab <schwab@redhat.com>
18659 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18661 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18663 * nscd/nscd.c (termination_handler): Don't do anything for a database
18664 if it has not yet been initialized.
18666 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18668 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18670 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18672 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18674 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18676 * po/nl.po: Update from translation team.
18677 * po/sv.po: Likewise.
18679 2011-07-16 Roland McGrath <roland@hack.frob.com>
18681 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18682 now disallowed by GCC.
18684 * configure.in (use-default-link): Default to yes if a test -shared
18685 link meets our qualifications.
18686 * configure: Regenerated.
18688 * config.make.in (output-format): New variable.
18689 * configure.in: Check for ld --print-output-format support.
18690 * configure: Regenerated.
18691 * Makerules ($(common-objpfx)format.lds)
18692 [$(output-format) != unknown]: Just use $(output-format),
18693 instead of the linker-script munging.
18695 2011-07-14 Roland McGrath <roland@hack.frob.com>
18697 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18698 of $(common-objpfx)shlib.lds.
18699 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18701 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18702 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18704 * configure.in (-z relro check): Adjust test code to add a large
18705 writable data section after it.
18706 * configure: Regenerated.
18708 2011-07-11 Roland McGrath <roland@hack.frob.com>
18710 * configure.in (-z relro check): Fix test code to make the variable
18712 * configure: Regenerated.
18714 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18716 * nscd/nscd.h (struct traced_file): Define.
18717 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18718 elements. Add traced_files.
18719 (inotify_fd): Declare.
18720 (register_traced_file): Declare.
18721 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18722 (inotify_fd): Export.
18723 (resolv_conf_descr): Remove.
18724 (nscd_init): Move inotify descriptor creation to main.
18725 Don't register files for notification here.
18726 (register_traced_file): New function.
18727 (invalidate_cache): Don't use reset_res to determine whether to call
18728 res_init, go through the list of registered files.
18729 (main_loop_poll): The inotify descriptors are now stored in the
18730 structures for the traced files.
18731 (main_loop_epoll): Likewise
18732 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18733 to __nss_disable_nscd.
18734 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18735 for a database anymore. Check the records for all the registered
18737 * nss/Makefile (libnss_files-routines): Add files-init.
18738 (libnss_db-routines): Add db-init.
18739 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18740 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18741 * nss/nss_db/db-init.c: New file.
18742 * nss/nss_files/files-init.c: New file.
18743 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18744 __nss_lookup_function.
18745 (__nss_lookup_function): Call nss_load_library.
18746 (nss_load_all_libraries): New function.
18747 (__nss_disable_nscd): Take parameter with callback function for files
18748 to register. Set is_nscd. Load all the DSOs for the NSS modules
18749 used for the cached services.
18750 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18751 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18752 options for features to all the files in nscd.
18754 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18756 2011-07-10 Roland McGrath <roland@hack.frob.com>
18758 * csu/elf-init.c (__libc_csu_init): Comment typo.
18760 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18762 * po/pl.po: Update from translation team.
18763 * po/ja.po: Likewise.
18764 * po/ru.po: Likewise.
18765 * po/ko.po: Likewise.
18766 * po/fr.po: Likewise.
18768 2011-07-09 Roland McGrath <roland@hack.frob.com>
18770 * configure.in (.ctors/.dtors header and trailer check):
18771 Use an empirical test on a built program.
18772 * configure: Regenerated.
18774 * configure.in (-z relro check): Use an empirical test on a built DSO.
18775 Detect, but do not require, on ia64.
18776 * configure: Regenerated.
18778 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18779 Update tests that use readelf to use $READELF instead.
18780 * configure: Regenerated.
18782 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18784 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18785 if the result is not used.
18787 2011-07-05 Andreas Jaeger <aj@suse.de>
18790 * stdlib/tst-strtod.c: Add testcase.
18792 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18794 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18795 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18796 The latter has a higher limit. Take additional parameter to pass to
18798 (__pathconf): Pass file to __statfs_link_max.
18799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18801 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18805 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18809 (__statfs_filesize_max): Likewise.
18810 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18812 2011-07-05 Andreas Jaeger <aj@suse.de>
18814 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18816 2011-07-06 Marek Polacek <mpolacek@redhat.com>
18818 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18820 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18823 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18825 * Makefile (strop-tests): Add strncat.
18826 * string/test-strncat.c: New file.
18828 2011-06-30 Marek Polacek <mpolacek@redhat.com>
18830 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18832 2011-06-21 Andreas Jaeger <aj@suse.de>
18834 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18835 Copy rule from iconvdata/Makefile.
18837 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18840 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18841 but no long options are defined, just return 'W'.
18843 2011-06-22 Marek Polacek <mpolacek@redhat.com>
18846 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18848 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18850 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18852 (innetgr): Likewise.
18854 2011-07-05 Roland McGrath <roland@hack.frob.com>
18856 * config.make.in (install_root): Default to $(DESTDIR).
18858 2011-07-05 Ulrich Drepper <drepper@gmail.com>
18860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18862 2011-07-02 Roland McGrath <roland@hack.frob.com>
18864 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18866 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18867 containing directory rather than embedding absolute directory names.
18869 * scripts/check-local-headers.sh: Rewritten using awk.
18870 Match by word, not by line. Print error messages for matches.
18871 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18873 * Makerules [shlib-lds-flags empty]:
18874 ($(common-objpfx)libc_pic.opts): New target.
18875 ($(common-objpfx)libc_pic.os.clean): New target.
18876 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18878 * config.make.in (OBJCOPY): New variable.
18879 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18880 * configure: Regenerated.
18882 * config.make.in (use-default-link): New variable.
18883 * configure.in (use_default_link): Grok --with-default-link to set it.
18884 * configure: Regenerated.
18885 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18886 (shlib-lds, shlib-lds-flags): Define to empty.
18888 * Makerules (shlib-lds): New variable.
18889 (shlib-lds-flags): New variable.
18890 (build-shlib, build-moduile, build-module-asneeded): Use it.
18891 ($(common-objpfx)libc.so): Use $(shlib-lds).
18892 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18893 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18895 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18896 DT_FLAGS/DT_FLAGS_1 with zero flags.
18898 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18899 linker script munging.
18901 2011-07-02 Ulrich Drepper <drepper@gmail.com>
18903 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18905 * crypt/sha512.c (sha512_process_block): Perform total addition using
18906 128-bit if possible.
18907 (__sha512_finish_ctx): Likewise.
18908 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18910 * crypt/sha256.c (SWAP64): Define.
18911 (sha256_process_block): Perform total addition using 64-bit if
18913 (__sha256_finish_ctx): Likewise.
18915 2011-07-01 Ulrich Drepper <drepper@gmail.com>
18917 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18919 * nscd/hstcache.c (cache_addhst): Likewise.
18920 * nscd/grpcache.c (cache_addgr): Likewise.
18921 * nscd/aicache.c (addhstaiX): Likewise
18922 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18924 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
18926 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18927 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18928 * nscd/hstcache.c (cache_addhst): Likewise.
18929 * nscd/grpcache.c (cache_addgr): Likewise.
18930 * nscd/aicache.c (addhstaiX): Likewise
18932 2011-07-01 Andreas Schwab <schwab@redhat.com>
18934 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18935 domain only when needed.
18937 2011-06-30 Andreas Schwab <schwab@redhat.com>
18939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18940 is always restored.
18942 2011-06-29 Ulrich Drepper <drepper@gmail.com>
18944 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18945 are re-adding the entry.
18946 * nscd/servicescache.c (cache_addserv): Likewise.
18948 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18950 * sysdeps/generic/dl-irel.h: fix protection against multiple
18952 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18954 2011-06-28 Ulrich Drepper <drepper@gmail.com>
18957 * malloc/memusage.sh: Fix quoting in message.
18958 * debug/xtrace.sh: Likewise.
18960 * configure.in: Remove support for --experimental-malloc option, make
18962 * config.make.in: Likewise.
18963 * malloc/Makefile: Likewise.
18965 2011-06-27 Andreas Schwab <schwab@redhat.com>
18967 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18968 two-byte characters.
18970 2011-06-27 Roland McGrath <roland@hack.frob.com>
18972 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18973 AC_CACHE_CHECK invocation.
18974 * configure: Regenerated.
18976 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18978 2011-06-27 Ulrich Drepper <drepper@gmail.com>
18981 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18982 bit from old_res_options.
18984 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18986 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18987 value type for setfct.
18989 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18991 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18992 __gettimeofday instead of gettimeofday.
18994 2011-06-26 Ulrich Drepper <drepper@gmail.com>
18996 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18998 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19000 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19002 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19005 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19008 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19009 strcpy-sse2-unaligned strncpy-sse2-unaligned
19010 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19011 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19012 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19013 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19014 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19017 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19018 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19019 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19020 (STRCPY): Support SSE2 and SSSE3 versions.
19022 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19025 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19026 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19027 kernels which artificially limit size of requests.
19029 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19032 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19033 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19034 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19035 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19036 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19037 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19038 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19039 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19041 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19042 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19043 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19044 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19045 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19047 Enable unaligned load optimization for Intel Core i3, i5 and i7
19049 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19051 (index_Fast_Unaligned_Load): Define.
19052 (HAS_FAST_UNALIGNED_LOAD): Define.
19054 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19056 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19058 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19062 until it is clear that the information is realy needed.
19063 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19065 2011-06-22 Andreas Schwab <schwab@redhat.com>
19067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19069 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19072 /sys/devices/system/cpu/online if it is usable.
19074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19075 reading the information from the /proc filesystem to once a second.
19077 2011-06-21 Andreas Jaeger <aj@suse.de>
19079 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19080 NULL after inclusion of kernel headers.
19082 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19084 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19085 calls to internal_setent.
19088 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19089 addresses using gethostbyname4_r ignore IPv4 addresses.
19091 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19092 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19094 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19096 2011-06-20 David S. Miller <davem@davemloft.net>
19098 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19100 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19102 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19103 (elf_irel): Use it.
19104 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19105 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19106 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19107 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19108 * sysdeps/x86_64/dl-irel.h: Likewise.
19110 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19111 * elf/dl-sym.c: Likewise.
19113 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19115 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19116 need to dereference resplen2.
19118 2011-06-14 Andreas Schwab <schwab@redhat.com>
19120 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19122 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19124 * Makeconfig: Define vardbdir and inst_vardbdir.
19125 * nss/Makefile: Add rules to install db-Makefile.
19127 * nss/nss_db/db-XXX.c: Cleanup.
19129 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19130 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19132 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19133 * nss/makedb.c: Implement -g option to specify that value strings
19134 are generated and should not be added to table iterated over for
19136 * nss/nss_db/db-initgroups.c: New file.
19138 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19141 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19142 (internal_getgrouplist): Adjust to name change.
19143 Update use_initgroups_entry if this is not the first call.
19144 * nss/databases.def: Add initgroups entry.
19146 * nss/makedb.c (compute_tables): Check result of multiple hash table
19147 sizes to minimize maximum chain length.
19149 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19151 * Versions.def: Add entry for libnss_db.
19152 * shlib-versions: Likewise.
19153 * nss/Makefile: Add rules to build libnss_db.
19154 * nss/Versions: Add libnss_db information. Organize libnss_files
19156 * nss/db-Makefile: Add gshadow support. Change rules for the new
19157 makedb progra. Some minor improvements to generate smaller files.
19158 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19160 * nss/makedb.c: ...here.
19161 Improve database format to be smaller and require less memory at
19163 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19165 * nss/nss_db/db-netgrp.c: Likewise.
19166 * nss/nss_db/db-open.c: Likewise.
19167 * nss/nss_files/flies-XXX.x: Adjust comments.
19168 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19169 * nss/nss_files/files-grp.c: Likewise.
19170 * nss/nss_files/files-hosts.c: Likewise.
19171 * nss/nss_files/files-network.c: Likewise.
19172 * nss/nss_files/files-proto.c: Likewise.
19173 * nss/nss_files/files-pwd.c: Likewise.
19174 * nss/nss_files/files-rpc.c: Likewise.
19175 * nss/nss_files/files-service.c: Likewise.
19176 * nss/nss_files/files-sgrp.c: Likewise.
19177 * nss/nss_files/files-spwd.c: Likewise.
19178 * nss/nss_db/db-alias.c: Removed.
19179 * nss/nss_db/dummy-db.h: Removed.
19181 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19183 * nss/makedb.c: Rewritten to not use database library.
19184 * nss/Makefile: Update to build new makedb program.
19186 2011-06-14 Andreas Jaeger <aj@suse.de>
19188 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19189 memset declaration.
19191 2011-06-10 Andreas Schwab <schwab@redhat.com>
19193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19196 2011-06-10 Roland McGrath <roland@hack.frob.com>
19198 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19199 * elf/Makefile ($(objpfx)ld.so): Likewise.
19201 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19202 Don't list ld.so twice in dependencies.
19204 * posix/bug-regex31.c: Include <stdlib.h>.
19206 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19208 * nis/nss_compat/compat-spwd.c
19209 (getspent_next_nss_netgr): Remove unused variable.
19210 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19212 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19213 nonmembers" output to use the right array.
19215 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19217 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19219 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19220 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19221 * catgets/gencat.c (read_input_file): Likewise.
19222 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19224 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19225 variable definition inside #if's controlling its use.
19227 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19229 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19231 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19233 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19236 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19238 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19239 * configure: Regenerated.
19241 * Makerules: Revert last change.
19242 * elf/Makefile: Likewise.
19244 2011-06-09 Roland McGrath <roland@hack.frob.com>
19246 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19247 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19248 (reloc-link): Likewise.
19250 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19252 * elf/Makefile: Add rules to build pldd.
19253 * elf/pldd.c: New file.
19254 * elf/pldd-xx.c: New file.
19256 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19258 * version.h: Update for 2.15 development version.
19260 2011-06-07 David S. Miller <davem@davemloft.net>
19262 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19264 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19265 elf_machine_lazy_rel): Likewise.
19266 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19268 elf_machine_lazy_rel): Likewise.
19269 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19270 dl_hwcap via passed in argument.
19271 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19274 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19276 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19278 2011-06-06 Roland McGrath <roland@hack.frob.com>
19281 * manual/fdl-1.1.texi: New file, verbatim from:
19282 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19283 * manual/lgpl-2.1.texi: New file, verbatim from:
19284 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19285 * manual/Makefile (licenses): New variable, list those new file names.
19287 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19289 * manual/fdl.texi: File removed.
19290 * manual/lesser.texi: File removed.
19291 * manual/libc.texinfo (Copying, Documentation License):
19292 Use new @include file names, put @appendix directive before @include.
19294 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19297 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19298 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19299 (mq_open): Add __NTH.
19301 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19304 Assume Intel Core i3/i5/i7 processor if AVX is available.
19306 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19311 2011-05-31 Andreas Schwab <schwab@redhat.com>
19313 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19314 memory. Use alloca_account. Fix memory leak when retrying.
19316 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19318 * version.h (RELEASE): Bump for 2.14 release.
19319 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19321 * config.make.in (RANLIB): Remove entry.
19323 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19325 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19326 (libc.pot): Work around missing support for .ksh extension in xgettext.
19329 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19330 if both request failed.
19331 (send_dg): In case of server errors clear resplen or *resplen2.
19334 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19335 when there are multiple maps.
19336 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19337 (_dl_fini): Remove test here.
19339 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19341 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19344 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19345 bit from old_res_options.
19346 (gaih_inet): Likewise.
19349 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19352 * resolv/res_init.c (res_setoptions): Make the code more compact.
19355 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19359 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19361 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19364 * malloc/malloc.h: Declare malloc hook variables as volatile.
19366 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19370 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19371 raise in the comment.
19372 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19374 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19376 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19379 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19380 grow the buffers more if it already has to be sufficient.
19381 (build_wcs_upper_buffer): Likewise.
19382 * posix/regexec.c (check_matching): Likewise.
19383 (clean_state_log_if_needed): Likewise.
19384 (extend_buffers): Don't enlarge buffers beyond size of the input
19386 Patches mostly by Emil Wojak <emil@wojak.eu>.
19387 * posix/bug-regex32.c: New file.
19388 * posix/Makefile (tests): Add bug-regex32.
19390 * locale/findlocale.c (_nl_find_locale): Return right away if
19391 _nl_explode_name failed.
19392 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19394 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19396 * debug/xtrace.sh: Unify messages.
19397 * malloc/memusage.sh: Likewise.
19400 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19401 time symbol from vDSO. Substitute with vsyscall if not available.
19402 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19405 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19406 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19407 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19408 Add sendmmsg and internal_sendmmsg.
19409 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19410 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19411 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19413 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19414 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19415 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19417 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19420 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19421 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19423 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19427 * iconvdata/Makefile (tests): Add bug-iconv9.
19428 * iconvdata/bug-iconv9.c: New file.
19430 2011-05-27 Andreas Schwab <schwab@redhat.com>
19433 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19435 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19438 (struct user_regs_struct): Change intcs field back to cs.
19440 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19442 * po/ja.po: Update from translation team.
19444 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19447 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19448 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19450 2011-05-20 Andreas Schwab <schwab@redhat.com>
19452 * stdlib/longlong.h: Update from GCC.
19454 2011-05-23 Andreas Schwab <schwab@redhat.com>
19456 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19458 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19459 Add parameter name.
19460 (__sysconf): Pass it down.
19462 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19465 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19467 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19468 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19469 add in in __libc_use_alloca calls. Adjust callers.
19470 (glob): Use malloc in some situations.
19472 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19473 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19476 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19478 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19479 and CLOCK_BOOTTIME_ALARM.
19482 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19485 * string/_strerror.c (__strerror_r): Print negative errors as signed
19489 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19490 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19491 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19493 * configure.in: Fix typo in redirection and correct removal of test
19494 files in two cases.
19497 * locale/setlocale.c (new_composite_name): Fix test to check for
19498 identical name of all categories.
19501 * libio/filedoalloc.c (local_isatty): New function.
19502 (_IO_file_doallocate): Use local_isatty.
19503 * stdio-common/perror.c (perror): In case a new stream is used
19504 forward the stream error.
19505 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19508 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19513 * include/alloca.h (extend_alloca_account): Define.
19516 * posix/regex.h: Fix comments with documentation of user-accessible
19517 fields after compilation and describe correct free'ing of pattern
19518 after re_compile_pattern.
19519 Patch by Reuben Thomas <rrt@sc3d.org>.
19521 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19523 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19524 and -mno-altivec to prevent the compiler from using Altivec and/or
19525 VSX instructions when the corresponding registers are not available.
19527 2011-05-19 Andreas Schwab <schwab@redhat.com>
19529 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19531 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19533 * libio/freopen.c (freopen): Use __dup2, not dup2.
19534 * libio/freopen64.c (freopen64): Likewise.
19536 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19539 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19540 * math/Makefile (tests): Add test-powl.
19541 (CFLAGS-test-powl.c): Define.
19542 * math/test-powl.c: New file.
19544 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19546 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19548 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19551 * iconvdata/gb18030.c: Update to GB18020-2005.
19553 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19555 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19556 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19557 Patch by Aharon Robbins <arnold@skeeve.com>.
19560 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19564 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19565 through underflows.
19568 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19569 point to strings before performing equality test for error_one_per_line
19573 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19577 (struct user_fpregs_struct): Avoid __uint*_t types.
19580 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19581 symbol info. Use it instead of calling _dl_addr locally.
19582 (lock_and_info): New function.
19583 (tr_freehook): Call lock_and_info and pass symbol info as additional
19584 parameter to tr_where.
19585 (tr_mallochook): Likewise.
19586 (tr_reallochook): Likewise.
19587 (tr_memalignhook): Likewise.
19589 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19590 used and couldn't be at all thread-safe.
19592 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19594 * libio/freopen.c (freopen): Don't close old file descriptor
19595 before the new one is opened. Instead dup the new file descriptor
19596 to the old one after the new stream is created.
19597 * libio/freopen64.c (freopen64): Likewise.
19598 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19599 * libio/fileops.c (_IO_new_file_close_it): Handle new
19600 _IO_FLAGS2_NOCLOSE flag.
19601 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19602 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19603 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19604 _IO_FLAGS2_NOCLOSE flag.
19605 * include/unistd.h: Add hidden_proto for dup3.
19606 Define __have_dup3.
19607 * io/dup3.c: Define hidden symbol.
19608 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19611 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19612 when an incomplete long option is used.
19613 * posix/tst-getopt_long1.c: New file.
19614 * posix/Makefile (tests): Add tst-getopt_long1.
19617 * scripts/config.guess: Update from autoconf-2.68.
19618 * scripts/config.sub: Likewise.
19621 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19623 (has_cpuclock): ...this. New function.
19624 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19625 macro here based on has_cpuclock code.
19628 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19629 First byte (not low byte) is now always NUL.
19630 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19633 Use non-cancelable interfaces.
19636 * locale/iso-639.def: Add entry for Sorani.
19639 * include/stdlib.h: Move include protection to the right place.
19640 Define abort_msg_s. Declare __abort_msg with it.
19641 * stdlib/abort.c (__abort_msg): Adjust type.
19642 * assert/assert.c (__assert_fail_base): New function. Majority
19643 of code from __assert_fail. Allocate memory for __abort_msg with
19645 (__assert_fail): Now call __assert_fail_base.
19646 * assert/assert-perr.c: Remove bulk of implementation. Use
19647 __assert_fail_base.
19648 * include/assert.hL Declare __assert_fail_base.
19649 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19651 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19653 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19657 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19658 until all modules are registered in the DTV.
19659 * elf/Makefile: Add rules to build and run tst-tls19.
19660 * elf/tst-tls19.c: New file.
19661 * elf/tst-tls19mod1.c: New file.
19662 * elf/tst-tls19mod2.c: New file.
19663 * elf/tst-tls19mod3.c: New file.
19664 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19667 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19671 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19672 two-byte sequence errors.
19673 * iconvdata/Makefile (tests): Add bug-iconv8.
19674 * iconvdata/bug-iconv8.c: New file.
19677 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19680 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19683 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19684 (dummy_getcfa): New function.
19685 (init): Get _Unwind_GetCFA address, use dummy if not found.
19686 (backtrace_helper): In recursion check, also check whether CFA changes.
19687 (__backtrace): Completely initialize arg.
19689 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19690 storing incomplete byte sequence in state object. Avoid testing for
19691 guaranteed too small input if we know there is enough data available.
19693 2011-05-11 Andreas Schwab <schwab@redhat.com>
19695 * Makeconfig (+link-pie): Indent.
19696 * Rules (binaries-pie): Define if $(have-fpie) and
19698 (binaries-shared): Also filter out $(binaries-pie).
19699 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19700 * nscd/Makefile (others-pie): Add nscd.
19701 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19702 ($(objpfx)nscd): Remove command override.
19703 * login/Makefile (others-pie): Add pt_chown.
19704 ($(objpfx)pt_chown): Remove command override.
19705 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19706 remove command overrides.
19708 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19710 * libio/tst_putwc.c: Fix error messages.
19713 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19714 currently writing and seek to current position when not.
19715 * libio/Makefile (tests): Add bug-fclose1.
19716 * libio/bug-fclose1.c: New file.
19718 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19721 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19722 don't set DF_1_NODELETE here.
19723 (do_lookup_x): When entering new entry test for copy relocation
19724 and if necessary set DF_1_NODELETE flag.
19725 * elf/tst-unique4.cc: New file.
19726 * elf/tst-unique4.h: New file.
19727 * elf/tst-unique4lib.cc: New file.
19728 * elf/Makefile: Add rules to build and run tst-unique4.
19729 Patch by Piotr Bury <pbury@goahead.com>.
19731 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19734 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19737 * misc/mntent_r.c (addmntent): Flush the stream after the output
19740 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19741 (is_trusted_path_normalize): Skip initial colon. Append slash
19742 to empty buffer. Duplicate is_trusted_path code but allow
19743 constructed patch to be prefix.
19744 (is_dst): Allow $ORIGIN followed by /.
19745 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19746 Correct testing of result of is_trusted_path_normalize
19747 (decompose_rpath): Fix warning.
19749 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19752 * grp/initgroups.c (internal_getgrouplist): When we found the service
19753 list through the initgroups entry in nsswitch.conf do not always
19754 continue on a successful lookup. Don't always use the
19755 __nss_group_database value if it is set.
19756 * nss/nsswitch.conf (initgroups): Change action for successful db
19757 lookup to continue for compatibility.
19759 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19762 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19764 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19766 * iconvdata/tst-tables.sh: Likewise.
19767 * iconvdata/cp770.c: New file.
19768 * iconvdata/cp771.c: New file.
19769 * iconvdata/cp772.c: New file.
19770 * iconvdata/cp773.c: New file.
19771 * iconvdata/cp774.c: New file.
19772 * iconvdata/testdata/CP770: New file.
19773 * iconvdata/testdata/CP770..UTF8: New file.
19774 * iconvdata/testdata/CP771: New file.
19775 * iconvdata/testdata/CP771..UTF8: New file.
19776 * iconvdata/testdata/CP772: New file.
19777 * iconvdata/testdata/CP772..UTF8: New file.
19778 * iconvdata/testdata/CP773: New file.
19779 * iconvdata/testdata/CP773..UTF8: New file.
19780 * iconvdata/testdata/CP774: New file.
19781 * iconvdata/testdata/CP774..UTF8: New file.
19783 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19785 * iconvdata/gen-8bit-gap.sh: Likewise.
19786 * iconvdata/gen-8bit.sh: Likewise.
19788 * locale/iso-639.def: Add ary entry.
19791 * locale/C-translit.h.in: Add U20A1 transliteration.
19794 * locale/iso-639.def: Add wae entry.
19795 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19798 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19802 * locale/C-translit.h.in: Add entry for U20B9.
19803 Patch by pravin.d.s@gmail.com.
19805 2011-05-08 Ulrich Drepper <drepper@gmail.com>
19808 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19809 ENAMETOOLONG use generic getcwd.
19810 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19811 in rtld. Use *stat64.
19812 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19813 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19814 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19815 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19816 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19817 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19818 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19819 __fstatat64 macros.
19820 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19821 * dirent/rewinddir.c: Add libc_hidden_def.
19822 * sysdeps/mach/hurd/rewinddir.c: Likewise.
19823 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
19825 * include/dirent.h (__alloc_dir): Add flags parameter.
19826 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19827 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19829 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19830 from fdopendir if O_CLOEXEC is already set.
19832 2011-03-15 Alan Modra <amodra@gmail.com>
19834 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19835 l_tls_firstbyte_offset non-zero. Save padding offset in
19836 l_tls_firstbyte_offset for later use.
19837 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19838 freeing static tls block.
19840 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19842 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19843 where #ifdef was intended. The intent is to prevent ARG_MAX from
19844 being defined by the kernel headers.
19846 2011-05-07 Ulrich Drepper <drepper@gmail.com>
19849 * resolv/resolv.h: Define RES_NOTLDQUERY.
19850 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19851 no-tld-query and set RES_NOTLDQUERY.
19852 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19853 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19854 modern BIND to search name as TLD unless forbidden.
19856 2011-05-07 Petr Baudis <pasky@suse.cz>
19857 Ulrich Drepper <drepper@gmail.com>
19860 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19861 (is_trusted_path): ...to here.
19862 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
19863 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
19864 using is_trusted_path_normalize() in setuid scripts.
19866 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19868 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19869 __BEGIN/__END_DECLS.
19871 2011-05-06 Ulrich Drepper <drepper@gmail.com>
19873 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19874 NSS_STATUS_NOTFOUND if no record was found.
19876 2011-05-05 Andreas Schwab <schwab@redhat.com>
19878 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19879 (headers-not-in-tirpc): Remove rpc/netdb.h
19880 * resolv/netdb.h: Revert last change.
19882 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19884 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19885 circular dependency between libgcc.a and libc.a.
19887 2011-05-05 Andreas Schwab <schwab@redhat.com>
19889 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19890 * nis/Makefile: Don't install rpcsvc/*.
19891 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19892 instead of <rpc/types.h>.
19893 (MAXHOSTNAMELEN): Define.
19895 2011-05-03 Andreas Schwab <schwab@redhat.com>
19897 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19899 2011-04-28 Maciej Babinski <mbabinski@google.com>
19902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19903 gethostbyname4_r when IPv6 results are possible.
19905 2011-05-02 Ulrich Drepper <drepper@gmail.com>
19908 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19909 _PC_PIPE_BUF handling.
19911 2011-04-30 Bruno Haible <bruno@clisp.org>
19914 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19915 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19917 * inet/getnameinfo.c (getnameinfo): Likewise.
19919 2011-04-29 Ulrich Drepper <drepper@gmail.com>
19921 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19922 to groups setting in database lookup.
19923 * nss/nsswitch.conf: Add initgroups entry.
19925 2011-04-22 Ulrich Drepper <drepper@gmail.com>
19928 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19930 Patch by Eric Blake <eblake@redhat.com>.
19932 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19934 * sunrpc/Makefile (need-export-routines): Add svc_run.
19935 (routines): Remove svc_run.
19936 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19937 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19938 * sunrpc/svc_run.c (svc_run): Likewise.
19939 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19941 2011-04-21 Ulrich Drepper <drepper@gmail.com>
19943 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19944 problem in reallocation in last patch.
19946 2011-04-20 Ulrich Drepper <drepper@gmail.com>
19948 * sunrpc/Makefile: Move inclusion of Rules.
19950 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19952 * nss/nss_files/files-initgroups.c: New file.
19953 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19954 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19955 _nss_files_initgroups_dyn.
19957 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19959 * elf/elf.h (R_ARM_IRELATIVE): Define.
19961 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19963 * po/ru.po: Update from translation team.
19965 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19967 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19970 2011-02-06 Mike Frysinger <vapier@gentoo.org>
19973 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19974 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19976 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19977 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19979 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19981 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19983 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19984 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19985 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19987 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19990 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19992 * stdlib/bug-getcontext.c: New file.
19993 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19995 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19997 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19998 instructions into .machine "z9-109".
19999 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20000 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20002 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20004 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20005 between environment variables and auxiliary vector.
20007 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20009 * Makefile: Add rules to build linkobj/libc.so.
20010 * include/libc-symbols.h: Define libc_hidden_nolink.
20011 * include/rpc/auth.h: Mark functions which are to be hidden.
20012 * include/rpc/auth_des.h: Likewise.
20013 * include/rpc/auth_unix.h: Likewise.
20014 * include/rpc/clnt.h: Likewise.
20015 * include/rpc/des_crypt.h: Likewise.
20016 * include/rpc/key_prot.h: Likewise.
20017 * include/rpc/pmap_clnt.h: Likewise.
20018 * include/rpc/pmap_prot.h: Likewise.
20019 * include/rpc/pmap_rmt.h: Likewise.
20020 * include/rpc/rpc_msg.h: Likewise.
20021 * include/rpc/svc.h: Likewise.
20022 * include/rpc/svc_auth.h: Likewise.
20023 * include/rpc/xdr.h: Likewise.
20024 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20025 * nss/Makefile: Likewise.
20026 * sunrpc/Makefile: Don't install headers. Build library with normal
20027 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20028 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20029 for the compat linking library. Remove use of INTDEF/INTUSE.
20030 * sunrpc/auth_none.c: Likewise.
20031 * sunrpc/auth_unix.c: Likewise.
20032 * sunrpc/authdes_prot.c: Likewise.
20033 * sunrpc/authuxprot.c: Likewise.
20034 * sunrpc/clnt_gen.c: Likewise.
20035 * sunrpc/clnt_perr.c: Likewise.
20036 * sunrpc/clnt_raw.c: Likewise.
20037 * sunrpc/clnt_simp.c: Likewise.
20038 * sunrpc/clnt_tcp.c: Likewise.
20039 * sunrpc/clnt_udp.c: Likewise.
20040 * sunrpc/clnt_unix.c: Likewise.
20041 * sunrpc/des_crypt.c: Likewise.
20042 * sunrpc/des_soft.c: Likewise.
20043 * sunrpc/get_myaddr.c: Likewise.
20044 * sunrpc/key_call.c: Likewise.
20045 * sunrpc/key_prot.c: Likewise.
20046 * sunrpc/netname.c: Likewise.
20047 * sunrpc/pm_getmaps.c: Likewise.
20048 * sunrpc/pm_getport.c: Likewise.
20049 * sunrpc/pmap_clnt.c: Likewise.
20050 * sunrpc/pmap_prot.c: Likewise.
20051 * sunrpc/pmap_prot2.c: Likewise.
20052 * sunrpc/pmap_rmt.c: Likewise.
20053 * sunrpc/publickey.c: Likewise.
20054 * sunrpc/rpc_cmsg.c: Likewise.
20055 * sunrpc/rpc_common.c: Likewise.
20056 * sunrpc/rpc_dtable.c: Likewise.
20057 * sunrpc/rpc_prot.c: Likewise.
20058 * sunrpc/rpc_thread.c: Likewise.
20059 * sunrpc/rtime.c: Likewise.
20060 * sunrpc/svc.c: Likewise.
20061 * sunrpc/svc_auth.c: Likewise.
20062 * sunrpc/svc_authux.c: Likewise.
20063 * sunrpc/svc_raw.c: Likewise.
20064 * sunrpc/svc_run.c: Likewise.
20065 * sunrpc/svc_simple.c: Likewise.
20066 * sunrpc/svc_tcp.c: Likewise.
20067 * sunrpc/svc_udp.c: Likewise.
20068 * sunrpc/svc_unix.c: Likewise.
20069 * sunrpc/svcauth_des.c: Likewise.
20070 * sunrpc/xcrypt.c: Likewise.
20071 * sunrpc/xdr.c: Likewise.
20072 * sunrpc/xdr_array.c: Likewise.
20073 * sunrpc/xdr_float.c: Likewise.
20074 * sunrpc/xdr_intXX_t.c: Likewise.
20075 * sunrpc/xdr_mem.c: Likewise.
20076 * sunrpc/xdr_rec.c: Likewise.
20077 * sunrpc/xdr_ref.c: Likewise.
20078 * sunrpc/xdr_sizeof.c: Likewise.
20079 * sunrpc/xdr_stdio.c: Likewise.
20081 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20084 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20085 * sysdeps/ia64/dl-tls.h: Likewise.
20086 * sysdeps/powerpc/dl-tls.h: Likewise.
20087 * sysdeps/s390/dl-tls.h: Likewise.
20088 * sysdeps/sh/dl-tls.h: Likewise.
20089 * sysdeps/sparc/dl-tls.h: Likewise.
20090 * sysdeps/x86_64/dl-tls.h: Likewise.
20091 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20093 2011-03-14 Andreas Schwab <schwab@redhat.com>
20095 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20096 rpath element also skip the following colon.
20097 (expand_dynamic_string_token): Add is_path parameter and pass
20098 down to DL_DST_REQUIRED and _dl_dst_substitute.
20099 (decompose_rpath): Call expand_dynamic_string_token with
20100 non-zero is_path. Ignore empty rpaths.
20101 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20104 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20109 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20112 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20113 Patch by Filipe David Manana <fdmanana@apache.org>.
20115 2011-04-07 Andreas Schwab <schwab@redhat.com>
20117 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20118 Maintain aligned stack.
20119 (CHECK_RSP): Remove unused macro.
20121 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20123 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20124 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20126 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20128 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20130 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20132 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20135 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20136 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20137 * sysdeps/x86_64/memmove.c: New file.
20138 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20139 (memcpy): Renamed to ...
20140 (__new_memcpy): This.
20141 (memcpy): Provide GLIBC_2_14 memcpy.
20142 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20143 (memcpy): Provide GLIBC_2_2_5 memcpy.
20145 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20148 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20150 2011-03-30 Andreas Schwab <schwab@redhat.com>
20152 * misc/syncfs.c: New file.
20153 * misc/Makefile (routines): Add syncfs.
20154 * posix/unistd.h: Declare syncfs.
20155 * sysdeps/unix/syscalls.list: Add syncfs.
20157 2011-04-01 Andreas Schwab <schwab@redhat.com>
20159 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20161 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20162 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20164 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20166 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20167 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20169 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20172 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20173 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20179 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20180 sync_file_range.c with -fexceptions.
20181 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20182 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20183 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20184 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20185 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20186 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20188 sync_file_range as cancellation point
20189 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20190 now a wrapper around __call_sync_file_range with cancellation handling.
20191 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20192 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20193 function name to __call_sync_file_range.
20194 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20195 Add call_sync_file_range.
20197 2011-04-01 Andreas Schwab <schwab@redhat.com>
20199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20202 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20204 * iconv/iconv.h: Fix typo in comment.
20205 * io/fcntl.h: Likewise.
20206 * libio/stdio.h: Likewise.
20207 * posix/spawn.h: Likewise.
20208 * posix/unistd.h: Likewise.
20209 * stdlib/stdlib.h: Likewise.
20210 * time/time.h: Likewise.
20211 * wcsmbs/wchar.h: Likewise.
20213 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20214 open_by_handle): Add.
20215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20216 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20217 Augment a few comments.
20218 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20220 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20223 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20226 * io/fcntl.h (AT_EMPTY_PATH): Define.
20228 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20230 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20231 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20232 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20234 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20235 * Versions.def: Add GLIBC_2.14.
20236 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20239 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20241 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20243 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20245 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20248 * string/test-strncmp.c (do_page_test): New function.
20249 (check2): Likewise.
20250 (test_main): Call check2.
20251 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20253 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20256 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20257 Handle cache information in CPU leaf 4.
20258 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20260 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20263 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20264 character representation.
20265 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20267 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20269 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20270 END(__isnan) to END(__isnanf) to match function entry point/label
20271 EALIGN(__isnanf,...).
20273 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20275 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20277 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20280 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20281 copy from the symbol referenced in the relocation to initialize the
20283 Patch by Piotr Bury <pbury@goahead.com>.
20284 * elf/Makefile: Add rules to build and tst-unique3.
20285 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20286 * elf/tst-unique3.cc: New file.
20287 * elf/tst-unique3.h: New file.
20288 * elf/tst-unique3lib.cc: New file.
20289 * elf/tst-unique3lib2.cc: New file.
20291 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20293 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20295 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20296 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20299 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20301 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20302 to-be-loaded object along a path to loader is ld.so.
20304 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20305 Ulrich Drepper <drepper@gmail.com>
20307 * sysdeps/x86_64/memset.S: After aligning destination, code
20308 branches to different locations depending on the value of
20309 misalignment, when multiarch is enabled. Fix this.
20311 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20313 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20314 Set _x86_64_preferred_memory_instruction for AMD processsors.
20315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20316 Set bit_Prefer_SSE_for_memop for AMD processors.
20318 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20320 * libio/fmemopen.c (fmemopen): Optimize a bit.
20322 2011-03-03 Andreas Schwab <schwab@redhat.com>
20324 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20326 2011-03-03 Roland McGrath <roland@redhat.com>
20328 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20330 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20332 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20333 __bzero_ultra1 instead of __memset_ultra1.
20335 2011-02-23 Andreas Schwab <schwab@redhat.com>
20336 Ulrich Drepper <drepper@gmail.com>
20339 * include/link.h (struct link_map): Add l_orig_initfini.
20340 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20341 returning unsuccessfully.
20342 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20343 close of a file loaded at startup, restore the original l_initfini
20345 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20346 list, store the pointer.
20347 * elf/Makefile ($(objpfx)noload-mem): New rule.
20348 (noload-ENV): Define.
20349 (tests): Add $(objpfx)noload-mem.
20350 * elf/noload.c: Include <memcheck.h>.
20351 (main): Call mtrace. Close all opened handles.
20353 2011-02-17 Andreas Schwab <schwab@redhat.com>
20356 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20357 dependencies are missing.
20359 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20361 Fix __if_freereq crash: Unlike the generic version which uses free,
20363 * sysdeps/mach/hurd/ifreq.h: New file.
20365 2011-01-27 Petr Baudis <pasky@suse.cz>
20366 Ulrich Drepper <drepper@gmail.com>
20369 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20370 to extend_alloca().
20371 * stdio-common/bug23.c: New file.
20372 * stdio-common/Makefile (tests): Add bug23.
20374 2010-09-28 Andreas Schwab <schwab@redhat.com>
20375 Ulrich Drepper <drepper@gmail.com>
20378 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20379 before performing relro protection. At old place add assertion
20380 to make sure nothing changed.
20382 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20383 Glauber de Oliveira Costa <glommer@gmail.com>
20385 * elf/elf.h: Add new ARM TLS relocs.
20387 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20390 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20392 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20394 * sysdeps/wordsize-64/tst-writev.c: New file.
20396 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20398 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20399 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20400 insns in _dl_start to prevent a TOC reference before relocs are
20403 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20406 * Makeconfig: Remove RANLIB definition.
20407 * Makerules: Don't use RANLIB.
20408 * aclocal.m4: Remove ranlib test.
20409 * configure.in: No need to check for ranlib.
20410 * elf/rtld-Rules: Don't use RANLIB.
20412 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20414 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20416 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20417 inclusion protection macro.
20419 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20420 SIGRTMIN and SIGRTMAX and print information in that case only when
20421 SIGRTMIN is defined.
20423 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20425 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20426 arginfo fn returning -1.
20428 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20429 and thousands string is zero terminated.
20431 2011-02-03 Andreas Schwab <schwab@redhat.com>
20433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20434 sysdeps/unix/sysv/linux/bits/socket.h.
20436 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20438 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20439 (__CPU_COUNT): Remove old macros.
20440 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20441 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20442 (__CPU_ALLOC, __CPU_FREE): Add macros.
20443 (__sched_cpualloc, __sched_cpufree): Add declarations.
20445 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20447 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20448 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20449 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20450 (readdhstai): Return value of addhstaiX call.
20451 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20452 (addgrbyX): Return value returned by cache_addgr.
20453 (readdgrbyname): Return value returned by addgrbyX.
20454 (readdgrbygid): Likewise.
20455 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20456 (addpwbyX): Return value returned by cache_addpw.
20457 (readdpwbyname): Return value returned by addhstbyX.
20458 (readdpwbyuid): Likewise.
20459 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20460 (addservbyX): Return value returned by cache_addserv.
20461 (readdservbyname): Return value returned by addservbyX:
20462 (readdservbyport): Likewise.
20463 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20464 (addhstbyX): Return value returned by cache_addhst.
20465 (readdhstbyname): Return value returned by addhstbyX.
20466 (readdhstbyaddr): Likewise.
20467 (readdhstbynamev6): Likewise.
20468 (readdhstbyaddrv6): Likewise.
20469 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20470 (readdinitgroups): Return value returned by addinitgroupsX.
20471 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20472 (prune_cache): Keep track of timeout value of re-added entries.
20473 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20474 * nscd/nscd.h: Adjust prototypes of readd* functions.
20476 2011-02-04 Roland McGrath <roland@redhat.com>
20478 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20479 (nis_stats): Likewise.
20480 * nis/nis_modify.c (nis_modify): Likewise.
20481 * nis/nis_remove.c (nis_remove): Likewise.
20482 * nis/nis_add.c (nis_add): Likewise.
20484 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20486 * posix/fnmatch_loop.c: Add some consts.
20488 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20490 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20493 * config.make.in (config-cflags-novzeroupper): Define.
20494 * configure.in: Substitute libc_cv_cc_novzeroupper.
20495 * elf/Makefile (AVX-CFLAGS): Define.
20496 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20497 (CFLAGS-tst-auditmod4a.c): Likewise.
20498 (CFLAGS-tst-auditmod4b.c): Likewise.
20499 (CFLAGS-tst-auditmod6b.c): Likewise.
20500 (CFLAGS-tst-auditmod6c.c): Likewise.
20501 (CFLAGS-tst-auditmod7b.c): Likewise.
20502 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20504 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20506 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20507 function to the callback.
20508 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20510 2011-02-02 Andreas Schwab <schwab@redhat.com>
20512 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20515 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20518 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20520 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20522 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20525 * elf/Makefile: Add rules to build and run new test.
20526 * elf/tst-initorder.c: New file.
20527 * elf/tst-initorder.exp: New file.
20528 * elf/tst-initordera1.c: New file.
20529 * elf/tst-initordera2.c: New file.
20530 * elf/tst-initordera3.c: New file.
20531 * elf/tst-initordera4.c: New file.
20532 * elf/tst-initorderb1.c: New file.
20533 * elf/tst-initorderb2.c: New file.
20534 * elf/tst-order-a1.c: New file.
20535 * elf/tst-order-a2.c: New file.
20536 * elf/tst-order-a3.c: New file.
20537 * elf/tst-order-a4.c: New file.
20538 * elf/tst-order-b1.c: New file.
20539 * elf/tst-order-b2.c: New file.
20540 * elf/tst-order-main.c: New file.
20541 New test case by George Gensure <werkt0@gmail.com>.
20543 2010-10-01 Andreas Schwab <schwab@redhat.com>
20545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20546 decoding ACE if AI_CANONIDN.
20548 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20550 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20552 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20554 * version.h (RELEASE): Bump for 2.13 release.
20555 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20557 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20559 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20561 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20563 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20564 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20565 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20568 * posix/getconf.c: Update copyright year.
20569 * catgets/gencat.c: Likewise.
20570 * csu/version.c: Likewise.
20571 * debug/catchsegv.sh: Likewise.
20572 * debug/xtrace.sh: Likewise.
20573 * elf/ldconfig.c: Likewise.
20574 * elf/ldd.bash.in: Likewise.
20575 * elf/sprof.c (print_version): Likewise.
20576 * iconv/iconv_prog.c: Likewise.
20577 * iconv/iconvconfig.c: Likewise.
20578 * locale/programs/locale.c: Likewise.
20579 * locale/programs/localedef.c: Likewise.
20580 * malloc/memusage.sh: Likewise.
20581 * malloc/mtrace.pl: Likewise.
20582 * nscd/nscd.c (print_version): Likewise.
20583 * nss/getent.c: Likewise.
20585 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20586 PF_CAIF, and PF_ALG.
20587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20589 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20591 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20592 (modules-names): Use them.
20593 (ifunc-test-modules, ifunc-pie-tests): Define.
20594 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20595 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20596 (test-extras): Likewise.
20597 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20598 $(compile-command.c).
20599 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20600 (all-built-dso): Define.
20601 (check-textrel.out, check-execstack.out): Depend on it.
20603 * configure.in: Don't override --enable-multi-arch.
20605 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20608 * nscd/hstcache.c (tryagain): Define.
20609 (cache_addhst): Return tryagain not notfound for temporary errors.
20610 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20613 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20616 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20617 to make the syscall.
20618 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20621 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20622 and fall back to matching as normal character if the string ends before
20623 the matching ']' is found. This is what POSIX requires.
20624 * posix/testfnm.c: Adjust test result.
20625 * posix/globtest.sh: Adjust test result. Add new test.
20626 * posix/tst-fnmatch.input: Likewise.
20627 * posix/tst-fnmatch2.c: Add new test.
20629 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20631 * elf/Makefile (check-execstack): Revert last change. Depend on
20633 (check-execstack.h): New target.
20634 (generated): Add check-execstack.h.
20635 * elf/check-execstack.c: Include "check-execstack.h".
20636 (main): Revert last change.
20637 (handle_file): Return zero if GNU_STACK is absent and
20638 DEFAULT_STACK_PERMS doesn't include PF_X.
20640 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20642 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20643 in child fails because the descriptor is already closed.
20644 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20645 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20646 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20649 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20653 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20654 temporary buffer used to handle multi lookups locally.
20655 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20657 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20659 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20662 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20664 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20665 alignment for SSE2.
20667 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20670 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20671 characters. When rounding increased number of integer digits recompute
20673 * stdio-common/tst-grouping.c: New file.
20674 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20676 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20678 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20679 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20681 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20683 * bits/select.h: Likewise.
20685 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20687 * po/ja.po: Update from translation team.
20689 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20692 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20693 implementation just like for lxstat, fxstatat, et al.
20695 2010-12-27 Jim Meyering <meyering@redhat.com>
20698 * posix/regexec.c (build_trtable): Return failure indication upon
20699 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20701 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20704 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20705 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20706 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20710 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20713 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20714 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20716 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20718 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20719 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20720 script has SORT_BY_INIT_PRIORITY.
20721 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20722 NO_CTORS_DTORS_SECTIONS is defined.
20723 * elf/soinit.c: Likewise.
20724 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20725 NO_CTORS_DTORS_SECTIONS is defined.
20726 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20727 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20728 * sysdeps/sh/init-first.c: Likewise.
20729 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20731 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20733 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20734 always use the slow path.
20736 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20738 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20739 similar rule which adds the sysdep directories to the header search in
20740 order to pick up the correct platform stackinfo.h.
20741 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20742 perform test if it is, otherwise return successfully without testing.
20743 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20744 DEFAULT_STACK_PERMS define in stackinfo.h.
20745 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20746 defined in stackinfo.h.
20747 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20748 DEFAULT_STACK_PERMS defined in stackinfo.h.
20749 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20750 * sysdeps/ia64/stackinfo.h: Likewise.
20751 * sysdeps/s390/stackinfo.h: Likewise.
20752 * sysdeps/sh/stackinfo.h: Likewise.
20753 * sysdeps/sparc/stackinfo.h: Likewise.
20754 * sysdeps/x86_64/stackinfo.h: Likewise.
20755 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20756 PF_X for powerpc64. Retain PF_X for powerpc32.
20758 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20760 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20762 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20763 GETDENTS_64BIT_ALIGNED.
20765 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20767 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20769 2010-12-10 Andreas Schwab <schwab@redhat.com>
20771 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20774 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20775 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20777 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20778 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20780 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20783 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20786 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20788 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20790 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20792 * po/it.po: Update from translation team.
20794 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20799 2010-11-30 Ulrich Drepper <drepper@gmail.com>
20801 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20803 2010-11-24 Andreas Schwab <schwab@redhat.com>
20805 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20807 (gaih_getanswer_slice): Likewise.
20809 2010-10-20 Jakub Jelinek <jakub@redhat.com>
20811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20813 2010-05-31 Petr Baudis <pasky@suse.cz>
20816 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20817 silently even in the chroot mode.
20819 2010-11-22 Ulrich Drepper <drepper@gmail.com>
20821 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20822 last patch a bit. Pretty printing
20824 2010-05-31 Petr Baudis <pasky@suse.cz>
20827 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20828 initialization of skip_initgroups_dyn.
20830 2010-11-19 Ulrich Drepper <drepper@gmail.com>
20832 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20833 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20835 2010-11-16 Ulrich Drepper <drepper@gmail.com>
20837 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20839 2010-11-11 Andreas Schwab <schwab@redhat.com>
20841 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20842 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20843 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20844 ($(objpfx)tst-fnmatch-mem): New rule.
20845 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20846 * posix/tst-fnmatch.c (main): Call mtrace.
20848 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20851 Support Intel processor model 6 and model 0x2c.
20853 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
20855 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20858 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20861 * string/test-strncasecmp.c (check_result): New function.
20862 (do_one_test): Use it.
20863 (check1): New function.
20864 (test_main): Use it.
20865 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20866 Support strcasecmp and strncasecmp.
20868 2010-11-08 Ulrich Drepper <drepper@gmail.com>
20871 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20874 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20876 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20880 * sysdeps/x86_64/multiarch/bzero.S: New file.
20881 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20882 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20883 * sysdeps/x86_64/multiarch/memset.S: New file.
20884 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20886 Set bit_Prefer_SSE_for_memop for Intel processors.
20887 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20889 (index_Prefer_SSE_for_memop): Define.
20890 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20892 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
20894 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20895 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20897 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20900 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20901 (__x86_64_raw_data_cache_size_half): Likewise.
20902 (__x86_64_raw_shared_cache_size): Likewise.
20903 (__x86_64_raw_shared_cache_size_half): Likewise.
20905 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20906 (__x86_64_raw_data_cache_size_half): Likewise.
20907 (__x86_64_raw_shared_cache_size): Likewise.
20908 (__x86_64_raw_shared_cache_size_half): Likewise.
20909 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20910 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20911 and __x86_64_raw_shared_cache_size_half. Round
20912 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20913 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20914 to multiple of 256 bytes.
20916 2010-11-03 Ulrich Drepper <drepper@gmail.com>
20919 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20920 of inacessible symlinks. Verify result of symlink before returning it.
20921 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20922 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20924 2010-10-28 Erich Ritz <erichritz@gmail.com>
20926 * math/math.h (isinf): Fix typo in comment.
20928 2010-11-01 Ulrich Drepper <drepper@gmail.com>
20930 * po/da.po: Update from translation team.
20932 2010-10-26 Ulrich Drepper <drepper@gmail.com>
20934 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20935 is added to the list.
20937 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20938 Ulrich Drepper <drepper@gmail.com>
20940 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20941 the global list here. Move code to...
20942 (_dl_add_to_namespace_list): ...here. New function.
20943 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20944 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20945 * elf/dl-load.c (lose): Don't remove the element from the list.
20946 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20947 (_dl_map_object): Likewise.
20949 2010-10-25 Ulrich Drepper <drepper@gmail.com>
20952 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20953 into all bytes of SSE register.
20954 Patch by Richard Li <richardpku@gmail.com>.
20956 2010-10-24 Ulrich Drepper <drepper@gmail.com>
20959 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20962 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20964 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20965 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20966 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20967 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20972 2010-10-22 Andreas Schwab <schwab@redhat.com>
20974 * include/dlfcn.h (__RTLD_SECURE): Define.
20975 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20976 mode & __RTLD_SECURE instead.
20977 (open_path): Rename preloaded parameter to secure.
20978 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20979 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20980 * elf/dl-deps.c (openaux): Likewise.
20981 * elf/rtld.c (struct map_args): Remove is_preloaded.
20982 (map_doit): Don't use it.
20983 (dl_main): Likewise.
20984 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20985 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20987 2010-09-09 Andreas Schwab <schwab@redhat.com>
20989 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20990 (sysd-rules-targets): Remove duplicates.
20991 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20992 rtld-%.$o dependency.
20994 2010-10-18 Andreas Schwab <schwab@redhat.com>
20996 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20997 _dl_map_object do it.
20999 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21001 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21002 fast fma builtins, define the macros in the C99 standard.
21003 (FP_FAST_FMAF): Likewise.
21004 (FP_FAST_FMAL): Likewise.
21005 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21007 * bits/mathdef.h: Update copyright year.
21008 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21010 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21012 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21013 builtins, define the macros in the C99 standard.
21014 (FP_FAST_FMAF): Likewise.
21015 (FP_FAST_FMAL): Likewise.
21016 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21018 (FP_FAST_FMAF): Likewise.
21020 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21023 * math/libm-test.inc (fma_test): Some new testcases.
21024 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21025 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21026 y and infinite z. Do multiplication by C already in long double.
21027 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21029 y and infinite z. Do bitwise or of inexact bit into u.d.
21030 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21031 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21032 * sysdeps/i386/fpu/s_fma.S: Removed.
21033 * sysdeps/i386/fpu/s_fmal.S: Removed.
21035 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21038 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21040 computation is not scheduled after fetestexcept. Fix value
21041 of minimum denormal long double.
21043 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21046 * math/libm-test.inc (fma_test): Add some more tests.
21047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21050 2010-10-15 Andreas Schwab <schwab@redhat.com>
21052 * scripts/data/localplt-s390-linux-gnu.data: New file.
21053 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21055 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21058 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21059 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21061 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21063 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21065 if one of x and y is very large and the other is subnormal.
21066 * sysdeps/s390/fpu/s_fmaf.c: New file.
21067 * sysdeps/s390/fpu/s_fma.c: New file.
21068 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21069 * sysdeps/powerpc/fpu/s_fma.S: New file.
21070 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21071 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21072 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21074 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21077 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21079 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21080 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21081 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21082 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21083 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21084 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21087 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21090 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21091 * posix/bug-regex31.input: Add test case.
21093 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21095 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21096 * posix/bug-regex31.input: New file.
21099 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21100 (parse_sub_exp): Fix last change, use postorder.
21102 * posix/bug-regex31.c: New file.
21103 * posix/Makefile: Add rules to build and run bug-regex31.
21105 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21108 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21111 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21112 to have entries in sys_siglist.
21115 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21118 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21121 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21122 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21123 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21124 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21125 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21126 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21127 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21128 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21129 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21130 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21131 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21132 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21133 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21134 * math/ftestexcept.c (fetestexcept): Likewise.
21135 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21136 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21137 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21138 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21139 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21140 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21141 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21143 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21146 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21149 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21151 * string/bug-strstr1.c: New file.
21152 * string/Makefile: Add rules to build and run bug-strstr1.
21154 2010-10-05 Eric Blake <eblake@redhat.com>
21157 * string/str-two-way.h (two_way_long_needle): Always clear memory
21158 when skipping input due to the shift table.
21160 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21163 * malloc/mcheck.c: Handle large requests.
21166 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21167 for strncmp and strncasecmp.
21168 * string/stratcliff.c: Add tests for strcmp and strncmp.
21169 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21171 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21173 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21176 2010-09-30 Andreas Jaeger <aj@suse.de>
21178 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21179 (CGROUP_SUPER_MAGIC): Define.
21180 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21181 Handle btrfs and cgroup file systems.
21182 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21185 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21187 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21188 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21190 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21193 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21194 trying to locate the ELF header.
21196 2010-09-27 Andreas Schwab <schwab@redhat.com>
21199 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21200 Mask out sign-bit copies when constructing f_fsid.
21202 2010-09-24 Petr Baudis <pasky@suse.cz>
21204 * debug/stack_chk_fail_local.c: Add missing licence exception.
21205 * debug/warning-nop.c: Likewise.
21207 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21209 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21210 implementing getdents64 using getdents syscall, set d_type if
21211 __ASSUME_GETDENTS32_D_TYPE.
21213 2010-09-16 Andreas Schwab <schwab@redhat.com>
21215 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21216 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21218 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21221 * posix/unistd.h: Undo change of feature selection for ftruncate from
21224 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21226 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21229 2010-09-20 Andreas Schwab <schwab@redhat.com>
21231 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21235 2010-09-14 Andreas Schwab <schwab@redhat.com>
21237 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21238 variables after CHECK_SP call.
21239 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21241 2010-09-13 Andreas Schwab <schwab@redhat.com>
21242 Ulrich Drepper <drepper@redhat.com>
21244 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21245 re-relocationg ld.so.
21246 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21247 _dl_init_paths call.
21248 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21251 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21253 * resolv/res_init.c (__res_vinit): Count the default server we added.
21255 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21256 Ulrich Drepper <drepper@redhat.com>
21259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21260 (____longjmp_chk): Use %ebx for saving value across system call.
21263 2010-09-06 Andreas Schwab <schwab@redhat.com>
21265 * manual/Makefile: Don't mix pattern rules with normal rules.
21267 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21269 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21271 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21272 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21273 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21274 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21275 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21278 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21281 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21282 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21284 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21286 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21287 * sysdeps/x86_64/addmul_1.S: Likewise.
21288 * sysdeps/x86_64/lshift.S: Likewise.
21289 * sysdeps/x86_64/mul_1.S: Likewise.
21290 * sysdeps/x86_64/rshift.S: Likewise.
21291 * sysdeps/x86_64/sub_n.S: Likewise.
21292 * sysdeps/x86_64/submul_1.S: Likewise.
21294 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21296 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21297 Define __sched_param instead of SCHED_* and sched_param when
21298 <bits/sched.h> is included with __need_schedparam defined.
21299 * bits/sched.h [__need_schedparam]
21300 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21301 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21302 (__defined_schedparam): Define to 1.
21303 (__sched_param): New structure, identical to sched_param.
21304 (__need_schedparam): Undefine.
21306 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21308 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21309 (epoll_create1): Declare.
21311 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21313 2010-08-31 Andreas Schwab <schwab@redhat.com>
21316 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21317 shifting retval into place.
21319 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21321 * nis/rpcsvc/nis.h: Update copyright notice.
21322 * nis/rpcsvc/nis.x: Likewise.
21323 * nis/rpcsvc/nis_callback.h: Likewise.
21324 * nis/rpcsvc/nis_callback.x: Likewise.
21325 * nis/rpcsvc/nis_object.x: Likewise.
21326 * nis/rpcsvc/nis_tags.h: Likewise.
21327 * nis/rpcsvc/yp.h: Likewise.
21328 * nis/rpcsvc/yp.x: Likewise.
21329 * nis/rpcsvc/ypupd.h: Likewise.
21330 * nis/yp_xdr.c: Likewise.
21331 * nis/ypupdate_xdr.c: Likewise.
21333 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21334 mainly the body of pmap_getport. Add parameters to specify timeouts.
21335 (pmap_getport): Use __libc_rpc_getport.
21336 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21337 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21338 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21340 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21345 2010-08-27 Roland McGrath <roland@redhat.com>
21347 * sysdeps/i386/i686/multiarch/Makefile
21348 (CFLAGS-varshift.c): New variable.
21350 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21352 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21353 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21355 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21357 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21359 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21361 * sysdeps/x86_64/strlen.S: Unroll the loop.
21362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21363 strlen-sse2 strlen-sse2-bsf.
21364 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21365 __strlen_no_bsf if bit_Slow_BSF is set.
21366 (__strlen_sse42): Removed.
21367 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21368 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21370 2010-08-25 Roland McGrath <roland@redhat.com>
21372 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21373 * sysdeps/x86_64/multiarch/varshift.c: New file.
21374 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21375 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21376 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21377 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21379 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21382 strlen-sse2 strlen-sse2-bsf.
21383 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21384 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21385 (__strlen_sse2): Removed.
21386 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21387 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21389 bit_Slow_BSF for Atom.
21390 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21391 (index_Slow_BSF): Define.
21392 (HAS_SLOW_BSF): Define.
21394 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21397 * resolv/res_init.c (__res_vinit): When no server address at all
21398 is given default to loopback.
21400 2010-08-24 Roland McGrath <roland@redhat.com>
21402 * configure.in: Remove config-name.h generation.
21403 * configure: Regenerated.
21404 * config-name.in: File removed.
21405 * scripts/config-uname.sh: New file.
21406 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21407 ($(objdir)config-name.h): New target.
21409 * sunrpc/rpc_parse.h: Avoid nested comment.
21411 2010-08-24 Richard Henderson <rth@redhat.com>
21412 Ulrich Drepper <drepper@redhat.com>
21413 H.J. Lu <hongjiu.lu@intel.com>
21415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21417 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21418 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21419 _mm_alignr_epi8 with _mm_loadu_si128.
21420 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21421 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21422 (__m128i_shift_right): Removed.
21423 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21424 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21425 * sysdeps/x86_64/multiarch/varshift.h: New file.
21426 * sysdeps/x86_64/multiarch/varshift.S: New file.
21428 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21430 * configure.in: Move assembler checks to before sysdep dir checking.
21432 2010-08-20 Petr Baudis <pasky@suse.cz>
21434 * LICENSES: Sync the sunrpc license.
21436 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21438 * sunrpc/auth_des.c: Update copyright notice once again.
21439 * sunrpc/auth_none.c: Likewise.
21440 * sunrpc/auth_unix.c: Likewise.
21441 * sunrpc/authdes_prot.c: Likewise.
21442 * sunrpc/authuxprot.c: Likewise.
21443 * sunrpc/bindrsvprt.c: Likewise.
21444 * sunrpc/clnt_gen.c: Likewise.
21445 * sunrpc/clnt_perr.c: Likewise.
21446 * sunrpc/clnt_raw.c: Likewise.
21447 * sunrpc/clnt_simp.c: Likewise.
21448 * sunrpc/clnt_tcp.c: Likewise.
21449 * sunrpc/clnt_udp.c: Likewise.
21450 * sunrpc/clnt_unix.c: Likewise.
21451 * sunrpc/des_crypt.c: Likewise.
21452 * sunrpc/des_soft.c: Likewise.
21453 * sunrpc/get_myaddr.c: Likewise.
21454 * sunrpc/getrpcport.c: Likewise.
21455 * sunrpc/key_call.c: Likewise.
21456 * sunrpc/key_prot.c: Likewise.
21457 * sunrpc/openchild.c: Likewise.
21458 * sunrpc/pm_getmaps.c: Likewise.
21459 * sunrpc/pm_getport.c: Likewise.
21460 * sunrpc/pmap_clnt.c: Likewise.
21461 * sunrpc/pmap_prot.c: Likewise.
21462 * sunrpc/pmap_prot2.c: Likewise.
21463 * sunrpc/pmap_rmt.c: Likewise.
21464 * sunrpc/rpc/auth.h: Likewise.
21465 * sunrpc/rpc/auth_unix.h: Likewise.
21466 * sunrpc/rpc/clnt.h: Likewise.
21467 * sunrpc/rpc/des_crypt.h: Likewise.
21468 * sunrpc/rpc/key_prot.h: Likewise.
21469 * sunrpc/rpc/netdb.h: Likewise.
21470 * sunrpc/rpc/pmap_clnt.h: Likewise.
21471 * sunrpc/rpc/pmap_prot.h: Likewise.
21472 * sunrpc/rpc/pmap_rmt.h: Likewise.
21473 * sunrpc/rpc/rpc.h: Likewise.
21474 * sunrpc/rpc/rpc_des.h: Likewise.
21475 * sunrpc/rpc/rpc_msg.h: Likewise.
21476 * sunrpc/rpc/svc.h: Likewise.
21477 * sunrpc/rpc/svc_auth.h: Likewise.
21478 * sunrpc/rpc/types.h: Likewise.
21479 * sunrpc/rpc/xdr.h: Likewise.
21480 * sunrpc/rpc_clntout.c: Likewise.
21481 * sunrpc/rpc_cmsg.c: Likewise.
21482 * sunrpc/rpc_common.c: Likewise.
21483 * sunrpc/rpc_cout.c: Likewise.
21484 * sunrpc/rpc_dtable.c: Likewise.
21485 * sunrpc/rpc_hout.c: Likewise.
21486 * sunrpc/rpc_main.c: Likewise.
21487 * sunrpc/rpc_parse.c: Likewise.
21488 * sunrpc/rpc_parse.h: Likewise.
21489 * sunrpc/rpc_prot.c: Likewise.
21490 * sunrpc/rpc_sample.c: Likewise.
21491 * sunrpc/rpc_scan.c: Likewise.
21492 * sunrpc/rpc_scan.h: Likewise.
21493 * sunrpc/rpc_svcout.c: Likewise.
21494 * sunrpc/rpc_tblout.c: Likewise.
21495 * sunrpc/rpc_util.c: Likewise.
21496 * sunrpc/rpc_util.h: Likewise.
21497 * sunrpc/rpcinfo.c: Likewise.
21498 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21499 * sunrpc/rpcsvc/key_prot.x: Likewise.
21500 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21501 * sunrpc/rpcsvc/mount.x: Likewise.
21502 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21503 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21504 * sunrpc/rpcsvc/rex.x: Likewise.
21505 * sunrpc/rpcsvc/rstat.x: Likewise.
21506 * sunrpc/rpcsvc/rusers.x: Likewise.
21507 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21508 * sunrpc/rpcsvc/spray.x: Likewise.
21509 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21510 * sunrpc/rtime.c: Likewise.
21511 * sunrpc/svc.c: Likewise.
21512 * sunrpc/svc_auth.c: Likewise.
21513 * sunrpc/svc_authux.c: Likewise.
21514 * sunrpc/svc_raw.c: Likewise.
21515 * sunrpc/svc_run.c: Likewise.
21516 * sunrpc/svc_simple.c: Likewise.
21517 * sunrpc/svc_tcp.c: Likewise.
21518 * sunrpc/svc_udp.c: Likewise.
21519 * sunrpc/svc_unix.c: Likewise.
21520 * sunrpc/svcauth_des.c: Likewise.
21521 * sunrpc/xcrypt.c: Likewise.
21522 * sunrpc/xdr.c: Likewise.
21523 * sunrpc/xdr_array.c: Likewise.
21524 * sunrpc/xdr_float.c: Likewise.
21525 * sunrpc/xdr_mem.c: Likewise.
21526 * sunrpc/xdr_rec.c: Likewise.
21527 * sunrpc/xdr_ref.c: Likewise.
21528 * sunrpc/xdr_sizeof.c: Likewise.
21529 * sunrpc/xdr_stdio.c: Likewise.
21531 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21534 2010-08-19 Andreas Schwab <schwab@redhat.com>
21536 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21538 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21540 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21541 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21542 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21543 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21544 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21545 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21546 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21547 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21548 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21549 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21550 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21551 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21552 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21553 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21555 2010-07-26 Anton Blanchard <anton@samba.org>
21557 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21558 * malloc/arena.c (heap_trim): Likewise.
21560 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21562 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21564 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21565 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21567 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21569 * sysdeps/i386/elf/Makefile: New file.
21571 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21573 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21574 from fanotify_init.
21575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21578 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21580 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21582 * sysdeps/multiarch/strcmp.S: Likewise.
21584 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21586 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21587 strncase_l-nonascii.
21588 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21589 Add strncase_l-ssse3.
21590 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21591 * sysdeps/x86_64/strcmp.S: Likewise.
21592 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21593 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21594 * sysdeps/x86_64/strncase.S: New file.
21595 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21596 * sysdeps/x86_64/strncase_l.S: New file.
21597 * string/Makefile (strop-tests): Add strncasecmp.
21598 * string/test-strncasecmp.c: New file.
21600 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21603 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21604 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21606 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21608 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21610 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21612 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21614 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21616 2010-05-01 Alan Modra <amodra@gmail.com>
21618 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21619 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21620 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21621 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21622 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21623 tidying. Don't tail-call __sigjmp_save for static lib.
21624 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21626 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21627 (CALL_MCOUNT): Add eh info, and nop after bl.
21628 (TAIL_CALL_SYSCALL_ERROR): New macro.
21629 (PSEUDO_RET): Use it.
21630 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21631 Correct save location of integer regs and cr.
21632 (_dl_profile_resolve): Correct cr save location. Delete nops
21633 after bl when SHARED. Reduce cfi size a little by better
21634 placement of cfi directives.
21635 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21636 make a stack frame. Instead use parm save area as a temp.
21637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21638 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21640 Don't make a stack frame for parent, use parm save area.
21641 Increase child stack frame to 112 bytes. Don't save unused reg,
21642 and adjust reg usage. Set up cfi on error recovery and
21643 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21645 (__makecontext): Add dummy nop after jump to exit.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21647 Use correct parm save area and cr save, reduce stack frame.
21648 Correct cfi for possible PSEUDO_RET frame setup.
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21650 Branch to local label emitted by PSEUDO_RET rather than
21653 2010-08-12 Andreas Schwab <schwab@redhat.com>
21656 * locale/programs/locale.c (print_assignment): New function.
21657 (show_locale_vars): Use it.
21659 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21661 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21663 (struct statfs64): Likewise.
21664 (_STATFS_F_FLAGS): Define.
21665 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21666 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21667 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21668 (ST_VALID): Define locally.
21669 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21670 __statvfs_getflags, use the provided value.
21671 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21672 __ASSUME_STATFS_F_FLAGS.
21674 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21676 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21677 Add sys/fanotify.h.
21678 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21679 fanotify_mask for GLIBC_2.13.
21680 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21681 fanotify_init and fanotify_mark.
21682 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21683 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21685 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21687 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21688 prlimit64 for GLIBC_2.13.
21689 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21694 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21695 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21699 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21702 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21703 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21705 * nss/Makefile: Add rules to build and run tst-nss-test1.
21706 * shlib-versions: Add entry for libnss_test1.
21707 * nss/nss_test1.c: New file.
21708 * nss/tst-nss-test1.c: New file.
21710 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21711 (__nss_configure_lookup): Set appropriate entry in
21712 __nss_configure_lookup to true.
21713 * nss/nsswitch.h: Define enum with indeces of databases in
21714 databases and __nss_database_custom arrays. Declare
21715 __nss_database_custom.
21716 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21717 to avoid using nscd when custom rules are installed.
21718 * nss/getXXbyYY_r.c: Likewise.
21719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21721 * nss/nss_files/files-parse.c: Whitespace fixes.
21723 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21726 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21727 * posix/fnmatch_loop.c: Likewise.
21729 2010-07-17 Andi Kleen <ak@linux.intel.com>
21731 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21732 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21733 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21734 * Versions.def [GLIBC_2.13]: Add.
21736 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21738 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21739 Also fail if tpwd after pwuid call is NULL.
21741 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21743 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21744 when converting to ms.
21746 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21748 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21749 EOPNOTSUPP errors with ENOTTY.
21750 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21751 EOPNOTSUPP errors with ENOTTY.
21753 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21755 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21756 Add strcasecmp_l-ssse3.
21757 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21759 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21760 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21761 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21763 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21765 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21767 * string/Makefile (strop-tests): Add strcasecmp.
21768 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21769 strcasecmp_l-nonascii.
21770 (gen-as-const-headers): Add locale-defines.sym.
21771 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21772 * sysdeps/x86_64/strcasecmp.S: New file.
21773 * sysdeps/x86_64/strcasecmp_l.S: New file.
21774 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21775 * sysdeps/x86_64/locale-defines.sym: New file.
21776 * string/test-strcasecmp.c: New file.
21778 * string/test-strcasestr.c: Test both ends of the range of characters.
21779 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21781 2010-07-29 Roland McGrath <roland@redhat.com>
21784 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21786 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21788 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21791 2010-07-27 Andreas Schwab <schwab@redhat.com>
21793 * manual/memory.texi (Malloc Tunable Parameters): Document
21796 2010-07-26 Roland McGrath <roland@redhat.com>
21799 * configure.in (-fgnu89-inline check): Set and substitute
21800 gnu89_inline, not libc_cv_gnu89_inline.
21801 * configure: Regenerated.
21802 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21804 2010-07-26 Ulrich Drepper <drepper@redhat.com>
21806 * string/test-strnlen.c: New file.
21807 * string/Makefile (strop-tests): Add strnlen.
21808 * string/tester.c (test_strnlen): Add a few more test cases.
21809 * string/tst-strlen.c: Better error reporting.
21811 * sysdeps/x86_64/strnlen.S: New file.
21813 2010-07-24 Ulrich Drepper <drepper@redhat.com>
21815 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21816 lower-latency instructions.
21818 2010-07-23 Ulrich Drepper <drepper@redhat.com>
21820 * string/test-strcasestr.c: New file.
21821 * string/test-strstr.c: New file.
21822 * string/Makefile (strop-tests): Add strstr and strcasestr.
21823 * string/str-two-way.h: Don't undefine MAX.
21824 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21826 2010-07-21 Andreas Schwab <schwab@redhat.com>
21828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21829 strcasestr-nonascii.
21830 (CFLAGS-strcasestr-nonascii.c): Define.
21831 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21832 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21833 Remove unused attribute.
21835 2010-07-20 Roland McGrath <roland@redhat.com>
21837 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21838 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21839 ld.so.cache was broken. With it, there is no way to disable dsocaps
21840 like LD_HWCAP_MASK can disable hwcaps.
21842 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21844 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21846 2010-07-16 Ulrich Drepper <drepper@redhat.com>
21848 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21849 call in strcasestr.
21850 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21851 __strcasestr_sse42_nonascii.
21852 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21853 strcasestr-nonascii.c.
21854 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21856 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
21858 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21859 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21860 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21861 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21863 2010-07-09 Ulrich Drepper <drepper@redhat.com>
21865 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21868 2010-07-06 Andreas Schwab <schwab@redhat.com>
21871 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21874 2010-07-06 Ulrich Drepper <drepper@redhat.com>
21876 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21877 _PC_PIPE_BUF using F_GETPIPE_SZ.
21879 2010-07-05 Roland McGrath <roland@redhat.com>
21881 * manual/arith.texi (Rounding Functions): Fix rint description
21882 implicit in round description.
21884 2010-07-02 Ulrich Drepper <drepper@redhat.com>
21886 * elf/Makefile: Fix linking for a few tests to make recent linker
21889 2010-06-30 Andreas Schwab <schwab@redhat.com>
21891 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21892 $(common-objpfx)libc_nonshared.a.
21894 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
21896 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21897 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21898 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21899 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21900 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21901 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21902 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21903 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21918 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21919 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21920 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21921 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21922 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21923 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21924 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21925 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21926 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21927 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21928 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21929 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21945 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21947 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21948 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21949 * string/memmove.c (memmove): Renamed to ...
21950 (MEMMOVE): ...this. Default to memmove.
21951 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21952 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21955 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21956 mempcpy-ssse3-back memmove-ssse3-back.
21957 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21959 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21960 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21961 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21962 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21963 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21964 * sysdeps/x86_64/multiarch/memmove.c: New file.
21965 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21966 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21967 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21968 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21969 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21970 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21972 (index_Fast_Copy_Backward): Define.
21973 (HAS_ARCH_FEATURE): Define.
21974 (HAS_FAST_REP_STRING): Define.
21975 (HAS_FAST_COPY_BACKWARD): Define.
21977 2010-06-21 Andreas Schwab <schwab@redhat.com>
21979 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21980 Restore proper fallback handling.
21982 2010-06-19 Ulrich Drepper <drepper@redhat.com>
21985 * posix/group_member.c (__group_member): Correct checking loop.
21987 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21988 OOM in getpwuid_r correctly. Return error number when the caller
21989 should return, otherwise -1.
21990 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21991 call returning > 0 value.
21992 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21994 2010-06-07 Andreas Schwab <schwab@redhat.com>
21996 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21997 libc_nonshared.a from targets in modules-names.
21999 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22001 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22004 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22006 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22007 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22009 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22011 2010-06-02 Andreas Schwab <schwab@redhat.com>
22013 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22015 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22017 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22019 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22020 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22024 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22026 2010-06-14 Roland McGrath <roland@redhat.com>
22028 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22030 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22032 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22033 __REDIRECT followed by __THROW.
22034 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22035 * posix/getopt.h (getopt): Likewise.
22037 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22039 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22040 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22041 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22043 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22044 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22046 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22048 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22050 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22054 Properly check family and model.
22056 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22058 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22060 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22062 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22064 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22066 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22069 2010-05-19 Andreas Schwab <schwab@redhat.com>
22071 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22074 2010-05-21 Andreas Schwab <schwab@redhat.com>
22076 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22077 and internal_recvmmsg.
22078 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22079 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22080 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22081 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22083 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22084 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22085 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22087 2010-05-20 Andreas Schwab <schwab@redhat.com>
22089 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22091 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22093 POWER7 optimizations.
22094 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22095 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22097 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22099 * version.h: Update for 2.13 development version.
22101 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22103 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22104 exceptions. Return 0.
22106 2010-05-07 Roland McGrath <roland@redhat.com>
22108 * elf/ldconfig.c (main): Add a const.
22110 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22112 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22113 (args_options): Add no-idn option.
22114 (ahosts_keys_int): Add idn_flags to ai_flags.
22115 (parse_option): Handle 'i' option to clear idn_flags.
22117 * malloc/malloc.c (_int_free): Possible race in the most recently
22118 added check. Only act on the data if no current modification
22121 See ChangeLog.17 for earlier changes.