1 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5 [UNIX98] (pthread_barrier_t): Do not expect.
6 [UNIX98] (pthread_barrierattr_t): Likewise.
7 [UNIX98] (pthread_spinlock_t): Likewise.
8 [UNIX98] (pthread_barrier_destroy): Likewise.
9 [UNIX98] (pthread_barrier_init): Likewise.
10 [UNIX98] (pthread_barrier_wait): Likewise.
11 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13 [UNIX98] (pthread_barrierattr_init): Likewise.
14 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15 [UNIX98] (pthread_getcpuclockid): Likewise.
16 [UNIX98] (pthread_mutex_timedlock): Likewise.
17 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19 [UNIX98] (pthread_sigmask): Likewise.
20 [UNIX98] (pthread_spin_destroy): Likewise.
21 [UNIX98] (pthread_spin_init): Likewise.
22 [UNIX98] (pthread_spin_lock): Likewise.
23 [UNIX98] (pthread_spin_trylock): Likewise.
24 [UNIX98] (pthread_spin_unlock): Likewise.
25 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31 [XPG3 || XPG4] (pthread_key_t): Likewise.
32 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34 [XPG3 || XPG4] (pthread_once_t): Likewise.
35 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38 [XPG3 || XPG4] (pthread_t): Likewise.
40 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
45 Change function return type to int.
47 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53 [!POSIX] (posix_madvise): Likewise.
54 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59 (posix_mem_offset): Likewise.
60 (posix_typed_mem_get_info): Likewise.
61 (posix_typed_mem_open): Likewise.
63 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64 Change condition to [XOPEN2K8].
66 * conform/conformtest.pl: Preprocess allow-header data with -x c
67 instead of from stdin.
68 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
69 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70 [C99-based standards] (cerfc): Likewise.
71 [C99-based standards] (cexp2): Likewise.
72 [C99-based standards] (cexpm1): Likewise.
73 [C99-based standards] (clog10): Likewise.
74 [C99-based standards] (clog1p): Likewise.
75 [C99-based standards] (clog2): Likewise.
76 [C99-based standards] (clgamma): Likewise.
77 [C99-based standards] (ctgamma): Likewise.
78 [C99-based standards] (cerff): Likewise.
79 [C99-based standards] (cerfcf): Likewise.
80 [C99-based standards] (cexp2f): Likewise.
81 [C99-based standards] (cexpm1f): Likewise.
82 [C99-based standards] (clog10f): Likewise.
83 [C99-based standards] (clog1pf): Likewise.
84 [C99-based standards] (clog2f): Likewise.
85 [C99-based standards] (clgammaf): Likewise.
86 [C99-based standards] (ctgammaf): Likewise.
87 [C99-based standards] (cerfl): Likewise.
88 [C99-based standards] (cerfcl): Likewise.
89 [C99-based standards] (cexp2l): Likewise.
90 [C99-based standards] (cexpm1l): Likewise.
91 [C99-based standards] (clog10l): Likewise.
92 [C99-based standards] (clog1pl): Likewise.
93 [C99-based standards] (clog2l): Likewise.
94 [C99-based standards] (clgammal): Likewise.
95 [C99-based standards] (ctgammal): Likewise.
96 * conform/data/inttypes.h-data [C99-based standards]: Include
97 stdint.h-data. Remove all expectations for stdint.h contents.
98 [C99-based standards] (PRI*): Do not allow.
99 [C99-based standards] (SCN*): Likewise.
100 [C99-based standards] (*_t): Likewise.
101 [C99-based-standards] (PRId8): Expect macro.
102 [C99-based-standards] (PRIi8): Likewise.
103 [C99-based-standards] (PRIo8): Likewise.
104 [C99-based-standards] (PRIu8): Likewise.
105 [C99-based-standards] (PRIx8): Likewise.
106 [C99-based-standards] (PRIX8): Likewise.
107 [C99-based-standards] (SCNd8): Likewise.
108 [C99-based-standards] (SCNi8): Likewise.
109 [C99-based-standards] (SCNo8): Likewise.
110 [C99-based-standards] (SCNu8): Likewise.
111 [C99-based-standards] (SCNx8): Likewise.
112 [C99-based-standards] (PRIdLEAST8): Likewise.
113 [C99-based-standards] (PRIiLEAST8): Likewise.
114 [C99-based-standards] (PRIoLEAST8): Likewise.
115 [C99-based-standards] (PRIuLEAST8): Likewise.
116 [C99-based-standards] (PRIxLEAST8): Likewise.
117 [C99-based-standards] (PRIXLEAST8): Likewise.
118 [C99-based-standards] (SCNdLEAST8): Likewise.
119 [C99-based-standards] (SCNiLEAST8): Likewise.
120 [C99-based-standards] (SCNoLEAST8): Likewise.
121 [C99-based-standards] (SCNuLEAST8): Likewise.
122 [C99-based-standards] (SCNxLEAST8): Likewise.
123 [C99-based-standards] (PRIdFAST8): Likewise.
124 [C99-based-standards] (PRIiFAST8): Likewise.
125 [C99-based-standards] (PRIoFAST8): Likewise.
126 [C99-based-standards] (PRIuFAST8): Likewise.
127 [C99-based-standards] (PRIxFAST8): Likewise.
128 [C99-based-standards] (PRIXFAST8): Likewise.
129 [C99-based-standards] (SCNdFAST8): Likewise.
130 [C99-based-standards] (SCNiFAST8): Likewise.
131 [C99-based-standards] (SCNoFAST8): Likewise.
132 [C99-based-standards] (SCNuFAST8): Likewise.
133 [C99-based-standards] (SCNxFAST8): Likewise.
134 [C99-based-standards] (PRId16): Likewise.
135 [C99-based-standards] (PRIi16): Likewise.
136 [C99-based-standards] (PRIo16): Likewise.
137 [C99-based-standards] (PRIu16): Likewise.
138 [C99-based-standards] (PRIx16): Likewise.
139 [C99-based-standards] (PRIX16): Likewise.
140 [C99-based-standards] (SCNd16): Likewise.
141 [C99-based-standards] (SCNi16): Likewise.
142 [C99-based-standards] (SCNo16): Likewise.
143 [C99-based-standards] (SCNu16): Likewise.
144 [C99-based-standards] (SCNx16): Likewise.
145 [C99-based-standards] (PRIdLEAST16): Likewise.
146 [C99-based-standards] (PRIiLEAST16): Likewise.
147 [C99-based-standards] (PRIoLEAST16): Likewise.
148 [C99-based-standards] (PRIuLEAST16): Likewise.
149 [C99-based-standards] (PRIxLEAST16): Likewise.
150 [C99-based-standards] (PRIXLEAST16): Likewise.
151 [C99-based-standards] (SCNdLEAST16): Likewise.
152 [C99-based-standards] (SCNiLEAST16): Likewise.
153 [C99-based-standards] (SCNoLEAST16): Likewise.
154 [C99-based-standards] (SCNuLEAST16): Likewise.
155 [C99-based-standards] (SCNxLEAST16): Likewise.
156 [C99-based-standards] (PRIdFAST16): Likewise.
157 [C99-based-standards] (PRIiFAST16): Likewise.
158 [C99-based-standards] (PRIoFAST16): Likewise.
159 [C99-based-standards] (PRIuFAST16): Likewise.
160 [C99-based-standards] (PRIxFAST16): Likewise.
161 [C99-based-standards] (PRIXFAST16): Likewise.
162 [C99-based-standards] (SCNdFAST16): Likewise.
163 [C99-based-standards] (SCNiFAST16): Likewise.
164 [C99-based-standards] (SCNoFAST16): Likewise.
165 [C99-based-standards] (SCNuFAST16): Likewise.
166 [C99-based-standards] (SCNxFAST16): Likewise.
167 [C99-based-standards] (PRId32): Likewise.
168 [C99-based-standards] (PRIi32): Likewise.
169 [C99-based-standards] (PRIo32): Likewise.
170 [C99-based-standards] (PRIu32): Likewise.
171 [C99-based-standards] (PRIx32): Likewise.
172 [C99-based-standards] (PRIX32): Likewise.
173 [C99-based-standards] (SCNd32): Likewise.
174 [C99-based-standards] (SCNi32): Likewise.
175 [C99-based-standards] (SCNo32): Likewise.
176 [C99-based-standards] (SCNu32): Likewise.
177 [C99-based-standards] (SCNx32): Likewise.
178 [C99-based-standards] (PRIdLEAST32): Likewise.
179 [C99-based-standards] (PRIiLEAST32): Likewise.
180 [C99-based-standards] (PRIoLEAST32): Likewise.
181 [C99-based-standards] (PRIuLEAST32): Likewise.
182 [C99-based-standards] (PRIxLEAST32): Likewise.
183 [C99-based-standards] (PRIXLEAST32): Likewise.
184 [C99-based-standards] (SCNdLEAST32): Likewise.
185 [C99-based-standards] (SCNiLEAST32): Likewise.
186 [C99-based-standards] (SCNoLEAST32): Likewise.
187 [C99-based-standards] (SCNuLEAST32): Likewise.
188 [C99-based-standards] (SCNxLEAST32): Likewise.
189 [C99-based-standards] (PRIdFAST32): Likewise.
190 [C99-based-standards] (PRIiFAST32): Likewise.
191 [C99-based-standards] (PRIoFAST32): Likewise.
192 [C99-based-standards] (PRIuFAST32): Likewise.
193 [C99-based-standards] (PRIxFAST32): Likewise.
194 [C99-based-standards] (PRIXFAST32): Likewise.
195 [C99-based-standards] (SCNdFAST32): Likewise.
196 [C99-based-standards] (SCNiFAST32): Likewise.
197 [C99-based-standards] (SCNoFAST32): Likewise.
198 [C99-based-standards] (SCNuFAST32): Likewise.
199 [C99-based-standards] (SCNxFAST32): Likewise.
200 [C99-based-standards] (PRId64): Likewise.
201 [C99-based-standards] (PRIi64): Likewise.
202 [C99-based-standards] (PRIo64): Likewise.
203 [C99-based-standards] (PRIu64): Likewise.
204 [C99-based-standards] (PRIx64): Likewise.
205 [C99-based-standards] (PRIX64): Likewise.
206 [C99-based-standards] (SCNd64): Likewise.
207 [C99-based-standards] (SCNi64): Likewise.
208 [C99-based-standards] (SCNo64): Likewise.
209 [C99-based-standards] (SCNu64): Likewise.
210 [C99-based-standards] (SCNx64): Likewise.
211 [C99-based-standards] (PRIdLEAST64): Likewise.
212 [C99-based-standards] (PRIiLEAST64): Likewise.
213 [C99-based-standards] (PRIoLEAST64): Likewise.
214 [C99-based-standards] (PRIuLEAST64): Likewise.
215 [C99-based-standards] (PRIxLEAST64): Likewise.
216 [C99-based-standards] (PRIXLEAST64): Likewise.
217 [C99-based-standards] (SCNdLEAST64): Likewise.
218 [C99-based-standards] (SCNiLEAST64): Likewise.
219 [C99-based-standards] (SCNoLEAST64): Likewise.
220 [C99-based-standards] (SCNuLEAST64): Likewise.
221 [C99-based-standards] (SCNxLEAST64): Likewise.
222 [C99-based-standards] (PRIdFAST64): Likewise.
223 [C99-based-standards] (PRIiFAST64): Likewise.
224 [C99-based-standards] (PRIoFAST64): Likewise.
225 [C99-based-standards] (PRIuFAST64): Likewise.
226 [C99-based-standards] (PRIxFAST64): Likewise.
227 [C99-based-standards] (PRIXFAST64): Likewise.
228 [C99-based-standards] (SCNdFAST64): Likewise.
229 [C99-based-standards] (SCNiFAST64): Likewise.
230 [C99-based-standards] (SCNoFAST64): Likewise.
231 [C99-based-standards] (SCNuFAST64): Likewise.
232 [C99-based-standards] (SCNxFAST64): Likewise.
233 [C99-based-standards] (PRIdMAX): Likewise.
234 [C99-based-standards] (PRIiMAX): Likewise.
235 [C99-based-standards] (PRIoMAX): Likewise.
236 [C99-based-standards] (PRIuMAX): Likewise.
237 [C99-based-standards] (PRIxMAX): Likewise.
238 [C99-based-standards] (PRIXMAX): Likewise.
239 [C99-based-standards] (SCNdMAX): Likewise.
240 [C99-based-standards] (SCNiMAX): Likewise.
241 [C99-based-standards] (SCNoMAX): Likewise.
242 [C99-based-standards] (SCNuMAX): Likewise.
243 [C99-based-standards] (SCNxMAX): Likewise.
244 [C99-based-standards] (PRIdPTR): Likewise.
245 [C99-based-standards] (PRIiPTR): Likewise.
246 [C99-based-standards] (PRIoPTR): Likewise.
247 [C99-based-standards] (PRIuPTR): Likewise.
248 [C99-based-standards] (PRIxPTR): Likewise.
249 [C99-based-standards] (PRIXPTR): Likewise.
250 [C99-based-standards] (SCNdPTR): Likewise.
251 [C99-based-standards] (SCNiPTR): Likewise.
252 [C99-based-standards] (SCNoPTR): Likewise.
253 [C99-based-standards] (SCNuPTR): Likewise.
254 [C99-based-standards] (SCNxPTR): Likewise.
255 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
257 * conform/data/stdint.h-data: Update comments to clarify
259 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
261 [C99-based standards] (INT8_MAX): Likewise.
262 [C99-based standards] (INT16_MIN): Likewise.
263 [C99-based standards] (INT16_MAX): Likewise.
264 [C99-based standards] (INT32_MIN): Likewise.
265 [C99-based standards] (INT32_MAX): Likewise.
266 [C99-based standards] (INT64_MIN): Likewise.
267 [C99-based standards] (INT64_MAX): Likewise.
268 [C99-based standards] (UINT8_MAX): Likewise.
269 [C99-based standards] (UINT16_MAX): Likewise.
270 [C99-based standards] (UINT32_MAX): Likewise.
271 [C99-based standards] (UINT64_MAX): Likewise.
272 [C99-based standards] (INT_LEAST8_MIN): Likewise.
273 [C99-based standards] (INT_LEAST8_MAX): Likewise.
274 [C99-based standards] (INT_LEAST16_MIN): Likewise.
275 [C99-based standards] (INT_LEAST16_MAX): Likewise.
276 [C99-based standards] (INT_LEAST32_MIN): Likewise.
277 [C99-based standards] (INT_LEAST32_MAX): Likewise.
278 [C99-based standards] (INT_LEAST64_MIN): Likewise.
279 [C99-based standards] (INT_LEAST64_MAX): Likewise.
280 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
281 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
282 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
283 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
284 [C99-based standards] (INT_FAST8_MIN): Likewise.
285 [C99-based standards] (INT_FAST8_MAX): Likewise.
286 [C99-based standards] (INT_FAST16_MIN): Likewise.
287 [C99-based standards] (INT_FAST16_MAX): Likewise.
288 [C99-based standards] (INT_FAST32_MIN): Likewise.
289 [C99-based standards] (INT_FAST32_MAX): Likewise.
290 [C99-based standards] (INT_FAST64_MIN): Likewise.
291 [C99-based standards] (INT_FAST64_MAX): Likewise.
292 [C99-based standards] (UINT_FAST8_MAX): Likewise.
293 [C99-based standards] (UINT_FAST16_MAX): Likewise.
294 [C99-based standards] (UINT_FAST32_MAX): Likewise.
295 [C99-based standards] (UINT_FAST64_MAX): Likewise.
296 [C99-based standards] (INTPTR_MIN): Likewise.
297 [C99-based standards] (INTPTR_MAX): Likewise.
298 [C99-based standards] (UINTPTR_MAX): Likewise.
299 [C99-based standards] (INTMAX_MIN): Likewise.
300 [C99-based standards] (INTMAX_MAX): Likewise.
301 [C99-based standards] (UINTMAX_MAX): Likewise.
302 [C99-based standards] (PTRDIFF_MIN): Likewise.
303 [C99-based standards] (PTRDIFF_MAX): Likewise.
304 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
305 [C99-based standards] (SIZE_MAX): Likewise.
306 [C99-based standards] (WCHAR_MAX): Likewise.
307 [C99-based standards] (WINT_MAX): Likewise.
308 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
310 [C99-based standards] (WCHAR_MIN): Likewise.
311 [C99-based standards] (WINT_MIN): Likewise.
312 [C99-based standards] (*_t): Allow.
313 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
314 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
315 Include math.h-data and complex.h-data. Remove all expectations
316 of math.h and complex.h contents.
317 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
319 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
320 (struct tm): Expect tag.
321 [C99-based-standards] (wcstof): Expect function.
322 [C99-based-standards] (wcstold): Likewise.
323 [C99-based-standards] (wcstoll): Likewise.
324 [C99-based-standards] (wcstoull): Likewise.
325 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
326 macro-int-constant. Specify type.
327 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
329 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
331 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
333 [ISO C standards]: Do not allow headers.
334 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
335 wcs[abcdefghijklmnopqrstuvwxyz]*.
336 [ISO C standards] (*_t): Do not allow.
337 * conform/data/wctype.h-data [C99-based standards] (iswblank):
339 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
340 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
342 [ISO C standards]: Do not allow headers.
343 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
344 is[abcdefghijklmnopqrstuvwxyz]*.
345 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
346 to[abcdefghijklmnopqrstuvwxyz]*.
347 [ISO C standards] (*_t): Do not allow.
348 * conform/data/stdalign.h-data: New file.
349 * conform/data/stdbool.h-data: Likewise.
350 * conform/data/stdnoreturn.h-data: Likewise.
352 2012-11-07 Andreas Jaeger <aj@suse.de>
355 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
356 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
357 guards are changed. Only define if not yet defined, #undef back
358 after including linux/sysctl.h if defined here.
360 2012-11-07 Roland McGrath <roland@hack.frob.com>
363 * manual/filesys.texi (Directory Entries): Typo fix.
364 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
366 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
368 * elf/elf.h (EM_AARCH64): New macro.
369 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
370 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
371 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
372 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
373 (R_AARCH64_TLSDESC): Likewise.
374 (NT_ARM_TLS): Likewise.
375 (NT_ARM_HW_BREAK): Likewise.
376 (NT_ARM_HW_WATCH): Likewise.
378 2012-11-07 Joseph Myers <joseph@codesourcery.com>
381 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
382 (__ieee754_powl): Saturate nonzero exponents with absolute value
383 below 0x1p-79 to +/- 0x1p-79.
384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
385 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
386 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
387 nonzero exponents with absolute value below 0x1p-32 to +/-
389 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
390 (__ieee754_powl): Saturate nonzero exponents with absolute value
391 below 0x1p-79 to +/- 0x1p-79.
392 * math/libm-test.inc (pow_test): Add more tests.
394 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
396 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
397 _dl_s390_cap_flags with kernel. Increase string length.
398 (_dl_s390_platforms): Add z196 and zEC12.
400 2012-11-07 Joseph Myers <joseph@codesourcery.com>
402 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
403 Change XOPEN21K to XOPEN2K.
405 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
407 * string/memmove.c: Use memcpy when possible.
409 2012-11-06 Andreas Jaeger <aj@suse.de>
411 * po/eo.po: Update from translation team.
413 2012-11-06 Joseph Myers <joseph@codesourcery.com>
416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
417 exponent and small x and y exponents, scale x or y up. Increase
418 by 2 the exponent used in scaling up.
419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
421 * math/libm-test.inc (fma_test): Add more tests.
422 (fma_test_towardzero): Likewise.
423 (fma_test_downward): Likewise.
424 (fma_test_upward): Likewise.
426 2012-11-05 Joseph Myers <joseph@codesourcery.com>
429 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
433 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
434 namespace for names of struct fields.
435 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
437 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
438 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
440 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
443 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
445 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
447 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
451 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
454 2012-11-04 Joseph Myers <joseph@codesourcery.com>
457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
458 definitely overflow as x * y not x * y + z.
459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
461 * math/libm-test.inc (fma_test): Add more tests.
462 (fma_test_towardzero): Likewise.
463 (fma_test_downward): Likewise.
464 (fma_test_upward): Likewise.
466 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
470 * include/stub-tag.h: Remove file.
471 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
473 * manual/maint.texi (Porting): Don't reference it.
474 * Makerules ($(objpfx)stubs): Likewise.
475 * dirent/closedir.c: Don't include <stub-tag.h>.
476 * dirent/dirfd.c: Likewise.
477 * dirent/fdopendir.c: Likewise.
478 * dirent/getdents.c: Likewise.
479 * dirent/getdents64.c: Likewise.
480 * dirent/opendir.c: Likewise.
481 * dirent/readdir.c: Likewise.
482 * dirent/readdir64.c: Likewise.
483 * dirent/readdir64_r.c: Likewise.
484 * dirent/readdir_r.c: Likewise.
485 * dirent/rewinddir.c: Likewise.
486 * dirent/seekdir.c: Likewise.
487 * dirent/telldir.c: Likewise.
488 * gmon/profil.c: Likewise.
489 * grp/setgroups.c: Likewise.
490 * inet/if_index.c: Likewise.
491 * io/access.c: Likewise.
492 * io/chdir.c: Likewise.
493 * io/chmod.c: Likewise.
494 * io/chown.c: Likewise.
495 * io/close.c: Likewise.
496 * io/dup.c: Likewise.
497 * io/dup2.c: Likewise.
498 * io/dup3.c: Likewise.
499 * io/euidaccess.c: Likewise.
500 * io/faccessat.c: Likewise.
501 * io/fchdir.c: Likewise.
502 * io/fchmod.c: Likewise.
503 * io/fchmodat.c: Likewise.
504 * io/fchown.c: Likewise.
505 * io/fchownat.c: Likewise.
506 * io/fcntl.c: Likewise.
507 * io/flock.c: Likewise.
508 * io/fstatfs.c: Likewise.
509 * io/fstatfs64.c: Likewise.
510 * io/fstatvfs.c: Likewise.
511 * io/fstatvfs64.c: Likewise.
512 * io/futimens.c: Likewise.
513 * io/fxstat.c: Likewise.
514 * io/fxstat64.c: Likewise.
515 * io/fxstatat.c: Likewise.
516 * io/fxstatat64.c: Likewise.
517 * io/getcwd.c: Likewise.
518 * io/isatty.c: Likewise.
519 * io/lchmod.c: Likewise.
520 * io/lchown.c: Likewise.
521 * io/link.c: Likewise.
522 * io/linkat.c: Likewise.
523 * io/lseek.c: Likewise.
524 * io/lseek64.c: Likewise.
525 * io/lxstat64.c: Likewise.
526 * io/mkdir.c: Likewise.
527 * io/mkdirat.c: Likewise.
528 * io/mkfifo.c: Likewise.
529 * io/mkfifoat.c: Likewise.
530 * io/open.c: Likewise.
531 * io/open64.c: Likewise.
532 * io/openat.c: Likewise.
533 * io/openat64.c: Likewise.
534 * io/pipe.c: Likewise.
535 * io/pipe2.c: Likewise.
536 * io/poll.c: Likewise.
537 * io/posix_fadvise.c: Likewise.
538 * io/posix_fadvise64.c: Likewise.
539 * io/posix_fallocate.c: Likewise.
540 * io/posix_fallocate64.c: Likewise.
541 * io/read.c: Likewise.
542 * io/readlink.c: Likewise.
543 * io/readlinkat.c: Likewise.
544 * io/rmdir.c: Likewise.
545 * io/sendfile.c: Likewise.
546 * io/sendfile64.c: Likewise.
547 * io/statfs.c: Likewise.
548 * io/statfs64.c: Likewise.
549 * io/statvfs.c: Likewise.
550 * io/statvfs64.c: Likewise.
551 * io/symlink.c: Likewise.
552 * io/symlinkat.c: Likewise.
553 * io/ttyname.c: Likewise.
554 * io/ttyname_r.c: Likewise.
555 * io/umask.c: Likewise.
556 * io/unlink.c: Likewise.
557 * io/unlinkat.c: Likewise.
558 * io/utime.c: Likewise.
559 * io/utimensat.c: Likewise.
560 * io/write.c: Likewise.
561 * io/xmknod.c: Likewise.
562 * io/xmknodat.c: Likewise.
563 * io/xstat.c: Likewise.
564 * io/xstat64.c: Likewise.
565 * login/getpt.c: Likewise.
566 * login/grantpt.c: Likewise.
567 * login/unlockpt.c: Likewise.
568 * math/e_acoshl.c: Likewise.
569 * math/e_acosl.c: Likewise.
570 * math/e_asinl.c: Likewise.
571 * math/e_atan2l.c: Likewise.
572 * math/e_atanhl.c: Likewise.
573 * math/e_coshl.c: Likewise.
574 * math/e_expl.c: Likewise.
575 * math/e_fmodl.c: Likewise.
576 * math/e_gammal_r.c: Likewise.
577 * math/e_hypotl.c: Likewise.
578 * math/e_j0l.c: Likewise.
579 * math/e_j1l.c: Likewise.
580 * math/e_jnl.c: Likewise.
581 * math/e_lgammal_r.c: Likewise.
582 * math/e_log10l.c: Likewise.
583 * math/e_log2l.c: Likewise.
584 * math/e_logl.c: Likewise.
585 * math/e_powl.c: Likewise.
586 * math/e_rem_pio2l.c: Likewise.
587 * math/e_sinhl.c: Likewise.
588 * math/e_sqrtl.c: Likewise.
589 * math/fclrexcpt.c: Likewise.
590 * math/fedisblxcpt.c: Likewise.
591 * math/feenablxcpt.c: Likewise.
592 * math/fegetenv.c: Likewise.
593 * math/fegetexcept.c: Likewise.
594 * math/fegetround.c: Likewise.
595 * math/feholdexcpt.c: Likewise.
596 * math/fesetenv.c: Likewise.
597 * math/fesetround.c: Likewise.
598 * math/feupdateenv.c: Likewise.
599 * math/fgetexcptflg.c: Likewise.
600 * math/fraiseexcpt.c: Likewise.
601 * math/fsetexcptflg.c: Likewise.
602 * math/ftestexcept.c: Likewise.
603 * math/k_cosl.c: Likewise.
604 * math/k_rem_pio2l.c: Likewise.
605 * math/k_sinl.c: Likewise.
606 * math/k_tanl.c: Likewise.
607 * math/s_asinhl.c: Likewise.
608 * math/s_atanl.c: Likewise.
609 * math/s_cbrtl.c: Likewise.
610 * math/s_erfl.c: Likewise.
611 * math/s_expm1l.c: Likewise.
612 * math/s_log1pl.c: Likewise.
613 * math/s_tanhl.c: Likewise.
614 * misc/acct.c: Likewise.
615 * misc/brk.c: Likewise.
616 * misc/chflags.c: Likewise.
617 * misc/chroot.c: Likewise.
618 * misc/fchflags.c: Likewise.
619 * misc/fgetxattr.c: Likewise.
620 * misc/flistxattr.c: Likewise.
621 * misc/fremovexattr.c: Likewise.
622 * misc/fsetxattr.c: Likewise.
623 * misc/fsync.c: Likewise.
624 * misc/ftruncate.c: Likewise.
625 * misc/futimes.c: Likewise.
626 * misc/futimesat.c: Likewise.
627 * misc/getdomain.c: Likewise.
628 * misc/getdtsz.c: Likewise.
629 * misc/gethostid.c: Likewise.
630 * misc/gethostname.c: Likewise.
631 * misc/getloadavg.c: Likewise.
632 * misc/getpagesize.c: Likewise.
633 * misc/getsysstats.c: Likewise.
634 * misc/getxattr.c: Likewise.
635 * misc/gtty.c: Likewise.
636 * misc/ioctl.c: Likewise.
637 * misc/lgetxattr.c: Likewise.
638 * misc/listxattr.c: Likewise.
639 * misc/llistxattr.c: Likewise.
640 * misc/lremovexattr.c: Likewise.
641 * misc/lsetxattr.c: Likewise.
642 * misc/lutimes.c: Likewise.
643 * misc/madvise.c: Likewise.
644 * misc/mincore.c: Likewise.
645 * misc/mlock.c: Likewise.
646 * misc/mlockall.c: Likewise.
647 * misc/mmap.c: Likewise.
648 * misc/mprotect.c: Likewise.
649 * misc/msync.c: Likewise.
650 * misc/munlock.c: Likewise.
651 * misc/munlockall.c: Likewise.
652 * misc/munmap.c: Likewise.
653 * misc/preadv.c: Likewise.
654 * misc/preadv64.c: Likewise.
655 * misc/ptrace.c: Likewise.
656 * misc/pwritev.c: Likewise.
657 * misc/pwritev64.c: Likewise.
658 * misc/readv.c: Likewise.
659 * misc/reboot.c: Likewise.
660 * misc/remap_file_pages.c: Likewise.
661 * misc/removexattr.c: Likewise.
662 * misc/revoke.c: Likewise.
663 * misc/select.c: Likewise.
664 * misc/setdomain.c: Likewise.
665 * misc/setegid.c: Likewise.
666 * misc/seteuid.c: Likewise.
667 * misc/sethostid.c: Likewise.
668 * misc/sethostname.c: Likewise.
669 * misc/setregid.c: Likewise.
670 * misc/setreuid.c: Likewise.
671 * misc/setxattr.c: Likewise.
672 * misc/sstk.c: Likewise.
673 * misc/stty.c: Likewise.
674 * misc/swapoff.c: Likewise.
675 * misc/swapon.c: Likewise.
676 * misc/sync.c: Likewise.
677 * misc/syncfs.c: Likewise.
678 * misc/syscall.c: Likewise.
679 * misc/truncate.c: Likewise.
680 * misc/ualarm.c: Likewise.
681 * misc/usleep.c: Likewise.
682 * misc/ustat.c: Likewise.
683 * misc/utimes.c: Likewise.
684 * misc/vhangup.c: Likewise.
685 * misc/writev.c: Likewise.
686 * posix/_exit.c: Likewise.
687 * posix/alarm.c: Likewise.
688 * posix/execve.c: Likewise.
689 * posix/fexecve.c: Likewise.
690 * posix/fork.c: Likewise.
691 * posix/fpathconf.c: Likewise.
692 * posix/getaddrinfo.c: Likewise.
693 * posix/getegid.c: Likewise.
694 * posix/geteuid.c: Likewise.
695 * posix/getgid.c: Likewise.
696 * posix/getgroups.c: Likewise.
697 * posix/getlogin.c: Likewise.
698 * posix/getlogin_r.c: Likewise.
699 * posix/getpgid.c: Likewise.
700 * posix/getpid.c: Likewise.
701 * posix/getppid.c: Likewise.
702 * posix/getresgid.c: Likewise.
703 * posix/getresuid.c: Likewise.
704 * posix/getsid.c: Likewise.
705 * posix/getuid.c: Likewise.
706 * posix/glob64.c: Likewise.
707 * posix/nanosleep.c: Likewise.
708 * posix/pathconf.c: Likewise.
709 * posix/pause.c: Likewise.
710 * posix/posix_madvise.c: Likewise.
711 * posix/pread.c: Likewise.
712 * posix/pread64.c: Likewise.
713 * posix/pwrite.c: Likewise.
714 * posix/pwrite64.c: Likewise.
715 * posix/sched_getaffinity.c: Likewise.
716 * posix/sched_getp.c: Likewise.
717 * posix/sched_gets.c: Likewise.
718 * posix/sched_primax.c: Likewise.
719 * posix/sched_primin.c: Likewise.
720 * posix/sched_rr_gi.c: Likewise.
721 * posix/sched_setaffinity.c: Likewise.
722 * posix/sched_setp.c: Likewise.
723 * posix/sched_sets.c: Likewise.
724 * posix/sched_yield.c: Likewise.
725 * posix/setgid.c: Likewise.
726 * posix/setlogin.c: Likewise.
727 * posix/setpgid.c: Likewise.
728 * posix/setresgid.c: Likewise.
729 * posix/setresuid.c: Likewise.
730 * posix/setsid.c: Likewise.
731 * posix/setuid.c: Likewise.
732 * posix/sleep.c: Likewise.
733 * posix/spawni.c: Likewise.
734 * posix/sysconf.c: Likewise.
735 * posix/times.c: Likewise.
736 * posix/wait.c: Likewise.
737 * posix/wait3.c: Likewise.
738 * posix/wait4.c: Likewise.
739 * posix/waitpid.c: Likewise.
740 * resolv/gai_sigqueue.c: Likewise.
741 * resource/getpriority.c: Likewise.
742 * resource/getrlimit.c: Likewise.
743 * resource/getrusage.c: Likewise.
744 * resource/nice.c: Likewise.
745 * resource/setpriority.c: Likewise.
746 * resource/setrlimit.c: Likewise.
747 * resource/ulimit.c: Likewise.
748 * rt/aio_cancel.c: Likewise.
749 * rt/aio_fsync.c: Likewise.
750 * rt/aio_read.c: Likewise.
751 * rt/aio_sigqueue.c: Likewise.
752 * rt/aio_suspend.c: Likewise.
753 * rt/aio_write.c: Likewise.
754 * rt/clock_getres.c: Likewise.
755 * rt/clock_gettime.c: Likewise.
756 * rt/clock_nanosleep.c: Likewise.
757 * rt/clock_settime.c: Likewise.
758 * rt/lio_listio.c: Likewise.
759 * rt/mq_close.c: Likewise.
760 * rt/mq_getattr.c: Likewise.
761 * rt/mq_notify.c: Likewise.
762 * rt/mq_open.c: Likewise.
763 * rt/mq_receive.c: Likewise.
764 * rt/mq_send.c: Likewise.
765 * rt/mq_setattr.c: Likewise.
766 * rt/mq_timedreceive.c: Likewise.
767 * rt/mq_timedsend.c: Likewise.
768 * rt/mq_unlink.c: Likewise.
769 * rt/shm_open.c: Likewise.
770 * rt/shm_unlink.c: Likewise.
771 * rt/timer_create.c: Likewise.
772 * rt/timer_delete.c: Likewise.
773 * rt/timer_getoverr.c: Likewise.
774 * rt/timer_gettime.c: Likewise.
775 * rt/timer_settime.c: Likewise.
776 * setjmp/__longjmp.c: Likewise.
777 * setjmp/setjmp.c: Likewise.
778 * signal/kill.c: Likewise.
779 * signal/killpg.c: Likewise.
780 * signal/raise.c: Likewise.
781 * signal/sigaction.c: Likewise.
782 * signal/sigaltstack.c: Likewise.
783 * signal/sigblock.c: Likewise.
784 * signal/sigignore.c: Likewise.
785 * signal/sigintr.c: Likewise.
786 * signal/signal.c: Likewise.
787 * signal/sigpause.c: Likewise.
788 * signal/sigpending.c: Likewise.
789 * signal/sigqueue.c: Likewise.
790 * signal/sigreturn.c: Likewise.
791 * signal/sigset.c: Likewise.
792 * signal/sigsetmask.c: Likewise.
793 * signal/sigstack.c: Likewise.
794 * signal/sigsuspend.c: Likewise.
795 * signal/sigtimedwait.c: Likewise.
796 * signal/sigvec.c: Likewise.
797 * signal/sigwait.c: Likewise.
798 * signal/sigwaitinfo.c: Likewise.
799 * signal/sysv_signal.c: Likewise.
800 * socket/accept.c: Likewise.
801 * socket/accept4.c: Likewise.
802 * socket/bind.c: Likewise.
803 * socket/connect.c: Likewise.
804 * socket/getpeername.c: Likewise.
805 * socket/getsockname.c: Likewise.
806 * socket/getsockopt.c: Likewise.
807 * socket/isfdtype.c: Likewise.
808 * socket/listen.c: Likewise.
809 * socket/recv.c: Likewise.
810 * socket/recvfrom.c: Likewise.
811 * socket/recvmsg.c: Likewise.
812 * socket/send.c: Likewise.
813 * socket/sendmsg.c: Likewise.
814 * socket/sendto.c: Likewise.
815 * socket/setsockopt.c: Likewise.
816 * socket/shutdown.c: Likewise.
817 * socket/sockatmark.c: Likewise.
818 * socket/socket.c: Likewise.
819 * socket/socketpair.c: Likewise.
820 * stdio-common/ctermid.c: Likewise.
821 * stdio-common/cuserid.c: Likewise.
822 * stdio-common/remove.c: Likewise.
823 * stdio-common/rename.c: Likewise.
824 * stdio-common/renameat.c: Likewise.
825 * stdio-common/tempname.c: Likewise.
826 * stdlib/getcontext.c: Likewise.
827 * stdlib/makecontext.c: Likewise.
828 * stdlib/setcontext.c: Likewise.
829 * stdlib/swapcontext.c: Likewise.
830 * stdlib/system.c: Likewise.
831 * streams/fattach.c: Likewise.
832 * streams/fdetach.c: Likewise.
833 * streams/getmsg.c: Likewise.
834 * streams/getpmsg.c: Likewise.
835 * streams/putmsg.c: Likewise.
836 * streams/putpmsg.c: Likewise.
837 * sysdeps/unix/bsd/getpt.c: Likewise.
838 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
839 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
840 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
843 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
844 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
845 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
846 * sysvipc/msgctl.c: Likewise.
847 * sysvipc/msgget.c: Likewise.
848 * sysvipc/msgrcv.c: Likewise.
849 * sysvipc/msgsnd.c: Likewise.
850 * sysvipc/semctl.c: Likewise.
851 * sysvipc/semget.c: Likewise.
852 * sysvipc/semop.c: Likewise.
853 * sysvipc/semtimedop.c: Likewise.
854 * sysvipc/shmat.c: Likewise.
855 * sysvipc/shmctl.c: Likewise.
856 * sysvipc/shmdt.c: Likewise.
857 * sysvipc/shmget.c: Likewise.
858 * termios/tcdrain.c: Likewise.
859 * termios/tcflow.c: Likewise.
860 * termios/tcflush.c: Likewise.
861 * termios/tcgetattr.c: Likewise.
862 * termios/tcgetpgrp.c: Likewise.
863 * termios/tcsendbrk.c: Likewise.
864 * termios/tcsetattr.c: Likewise.
865 * termios/tcsetpgrp.c: Likewise.
866 * time/adjtime.c: Likewise.
867 * time/clock.c: Likewise.
868 * time/getitimer.c: Likewise.
869 * time/gettimeofday.c: Likewise.
870 * time/setitimer.c: Likewise.
871 * time/settimeofday.c: Likewise.
872 * time/stime.c: Likewise.
873 * time/time.c: Likewise.
875 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
877 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
880 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
882 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
884 2012-11-03 Joseph Myers <joseph@codesourcery.com>
887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
888 FE_TONEAREST before applying Dekker multiplication and Knuth
889 addition. Clear inexact exceptions and check for exact zero
891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
892 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
894 * math/libm-test.inc (fma_test): Add more tests.
895 (fma_test_towardzero): Likewise.
896 (fma_test_downward): Likewise.
897 (fma_test_upward): Likewise.
898 * sysdeps/generic/math_private.h (default_libc_fesetround): New
900 (libc_fesetround): New macro.
901 (libc_fesetroundf): Likewise.
902 (libc_fesetroundl): Likewise.
903 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
905 (libc_fesetround_387): Likewise.
906 (libc_fesetroundf): New macro.
907 (libc_fesetround): Likewise.
908 (libc_fesetroundl): Likewise.
909 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
911 (libc_fesetroundf): New macro.
912 (libc_fesetround): Likewise.
913 (libc_fesetroundl): Likewise.
914 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
915 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
916 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
918 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
919 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
921 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
922 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
924 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
928 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
929 integer constant usable in #if and use that to give value to enum
931 (FE_DIVBYZERO): Likewise.
932 (FE_UNDERFLOW): Likewise.
933 (FE_OVERFLOW): Likewise.
934 (FE_INVALID): Likewise.
935 (FE_INVALID_SNAN): Likewise.
936 (FE_INVALID_ISI): Likewise.
937 (FE_INVALID_IDI): Likewise.
938 (FE_INVALID_ZDZ): Likewise.
939 (FE_INVALID_IMZ): Likewise.
940 (FE_INVALID_COMPARE): Likewise.
941 (FE_INVALID_SOFTWARE): Likewise.
942 (FE_INVALID_SQRT): Likewise.
943 (FE_INVALID_INTEGER_CONVERSION): Likewise.
944 (FE_TONEAREST): Likewise.
945 (FE_TOWARDZERO): Likewise.
946 (FE_UPWARD): Likewise.
947 (FE_DOWNWARD): Likewise.
948 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
949 (FE_DIVBYZERO): Likewise.
950 (FE_OVERFLOW): Likewise.
951 (FE_UNDERFLOW): Likewise.
952 (FE_INEXACT): Likewise.
953 (FE_TONEAREST): Likewise.
954 (FE_DOWNWARD): Likewise.
955 (FE_UPWARD): Likewise.
956 (FE_TOWARDZERO): Likewise.
957 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
958 (FE_UNDERFLOW): Likewise.
959 (FE_OVERFLOW): Likewise.
960 (FE_DIVBYZERO): Likewise.
961 (FE_INVALID): Likewise.
962 (FE_TONEAREST): Likewise.
963 (FE_TOWARDZERO): Likewise.
964 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
965 (FE_OVERFLOW): Likewise.
966 (FE_UNDERFLOW): Likewise.
967 (FE_DIVBYZERO): Likewise.
968 (FE_INEXACT): Likewise.
969 (FE_TONEAREST): Likewise.
970 (FE_TOWARDZERO): Likewise.
971 (FE_UPWARD): Likewise.
972 (FE_DOWNWARD): Likewise.
973 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
974 (FE_DIVBYZERO): Likewise.
975 (FE_OVERFLOW): Likewise.
976 (FE_UNDERFLOW): Likewise.
977 (FE_INEXACT): Likewise.
978 (FE_TONEAREST): Likewise.
979 (FE_DOWNWARD): Likewise.
980 (FE_UPWARD): Likewise.
981 (FE_TOWARDZERO): Likewise.
983 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
985 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
987 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
989 * scripts/cross-test-ssh.sh (command): Use newlines to separate
990 commands. Quote $PWD.
991 (blacklist_exports): Don't use remove_newlines. Replace "declare
993 (remove_newlines): Remove.
995 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
997 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
998 * stdlib/stdlib.h (atof): Moved to ...
999 * include/bits/stdlib-float.h: Here. New file.
1000 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1001 * stdlib/bits/stdlib-float.h: New file.
1002 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1007 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1009 * conform/conformtest.pl (@headers): Add fenv.h.
1010 * conform/data/fenv.h-data: New file.
1011 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1012 include of <math/fenv.h>.
1014 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1015 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1016 && !UNIX98]. Enables tests for XOPEN2K8.
1017 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1018 POSIX2008]: Likewise.
1020 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1021 (struct rusage): Do not expect type or its members.
1024 * math/math.h (FP_NAN): Define macro to integer constant usable in
1025 #if and use that to give value to enum constant.
1026 (FP_INFINITE): Likewise.
1027 (FP_ZERO): Likewise.
1028 (FP_SUBNORMAL): Likewise.
1029 (FP_NORMAL): Likewise.
1031 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1033 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1034 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1037 2012-11-02 Roland McGrath <roland@hack.frob.com>
1039 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1040 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1041 autoconf-time if not.
1042 * configure.in: Remove AC_PREREQ.
1044 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1046 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1047 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1048 of the internal implementation.
1050 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1052 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1053 except include of <misc/sys/syslog.h>.
1055 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1058 function returns with a NULL context exit with zero.
1060 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1062 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1064 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1066 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1067 (run_program_cmd): This.
1068 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1069 (tst_langinfo): New variable. Use it.
1071 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1073 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1074 floating point opcodes.
1076 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1078 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1081 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1083 * sysdeps/mach/hurd/powerpc: Remove directory.
1084 * sysdeps/mach/powerpc: Likewise.
1086 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1088 * scripts/check-local-headers.sh: Ignore c++ headers.
1090 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1092 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1093 __libc_cleanup_region_start argument.
1095 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1100 x * y using scaling, not as x * y + z.
1101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1103 * math/libm-test.inc (fma_test): Add more tests.
1104 (fma_test_towardzero): Likewise.
1105 (fma_test_downward): Likewise.
1106 (fma_test_upward): Likewise.
1108 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1110 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1112 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1114 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1117 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1119 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1121 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1128 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1131 Fix the order of the list for glibc 2.17.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1135 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1139 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1142 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1143 for low part of x being zero before using __atanl (y).
1144 * math/libm-test.inc (atan2_test): Add another test.
1146 * manual/install.texi (Configuring and compiling): Document
1147 general use of test-wrapper and test-wrapper-env.
1148 * INSTALL: Regenerated.
1150 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1151 (__fma): Do not extract and scale down low bits on after-rounding
1152 systems when result rounded to normal precision would have normal
1154 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1155 (__fmal): Do not extract and scale down low bits on after-rounding
1156 systems when result rounded to normal precision would have normal
1158 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1159 (__fmal): Do not extract and scale down low bits on after-rounding
1160 systems when result rounded to normal precision would have normal
1162 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1164 (fma_test): Add more tests.
1165 (fma_test_towardzero): Likewise.
1166 (fma_test_downward): Likewise.
1167 (fma_test_upward): Likewise.
1169 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1171 * sysdeps/i386/tininess.h: Renamed to ...
1172 * sysdeps/x86/tininess.h: This.
1173 * sysdeps/x86_64/tininess.h: Removed.
1175 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1177 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1178 input. Use $(build-program-cmd).
1179 ($(objpfx)tst-array1-static.out): Likewise.
1180 ($(objpfx)tst-array2.out): Likewise.
1181 ($(objpfx)tst-array3.out): Likewise.
1182 ($(objpfx)tst-array4.out): Likewise.
1183 ($(objpfx)tst-array5.out): Likewise.
1184 ($(objpfx)tst-array5-static.out): Likewise.
1186 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1188 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1191 * nss/nsswitch.h (nss_interface_function): Provide new
1192 macro for use with NSS functions.
1193 * grp/initgroups.c: Use new macro.
1194 * nss/getXXbyYY.c: Likewise.
1195 * nss/getXXbyYY_r.c: Likewise.
1196 * nss/getXXent.c: Likewise.
1197 * nss/getXXent_r.c: Likewise.
1198 * sysdeps/posix/getaddrinfo.c: Likewise.
1200 2012-10-30 Andreas Jaeger <aj@suse.de>
1202 * po/ru.po: Update Russion translation from translation project.
1204 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1209 result and shift together with sticky bit instead of replicating
1210 round-to-nearest rounding.
1211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1213 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1214 missing underflow exceptions.
1215 (fma_test_towardzero): Add more tests.
1216 (fma_test_downward): Likewise.
1217 (fma_test_upward): Likewise.
1220 * sysdeps/generic/tininess.h: New file.
1221 * sysdeps/i386/tininess.h: Likewise.
1222 * sysdeps/sh/tininess.h: Likewise.
1223 * sysdeps/x86_64/tininess.h: Likewise.
1224 * stdlib/tst-strtod-underflow.c: Likewise.
1225 * stdlib/tst-tininess.c: Likewise.
1226 * stdlib/strtod_l.c: Include <tininess.h>.
1227 (round_and_return): Do not set errno for exact underflow cases.
1228 Force an underflow exception when setting errno for underflow.
1229 Determine underflow based on rounding to normal precision if
1230 TININESS_AFTER_ROUNDING.
1231 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1232 ERANGE for exact underflow cases.
1233 * stdlib/Makefile (tests): Add tst-tininess and
1234 tst-strtod-underflow.
1235 ($(objpfx)tst-tininess): Use $(link-libm).
1236 ($(objpfx)tst-strtod-underflow): Likewise.
1238 2012-10-30 Andreas Jaeger <aj@suse.de>
1241 * elf/Makefile (tests): Remove conditional for have-initfini-array
1242 since this is now always required and the variable does not exist
1244 (tests-static): Likewise.
1245 (modules-names): Likewise.
1247 * po/eo.po: Add Esperanto translation from translation project.
1249 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1250 merged with constructor/destructor.
1251 (init_array): Likewise.
1252 * elf/tst-array2dep.c (fini_array): Likewise.
1253 (init_array): Likewise.
1255 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1257 * manual/message.texi: Delete @cartouche tags.
1259 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1261 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1263 * sysdeps/mach/hurd/fsync.c: Likewise.
1265 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1266 [_POSIX_REALTIME_SIGNALS]: Change condition to
1267 [_POSIX_REALTIME_SIGNALS > 0].
1269 2012-10-27 Andreas Jaeger <aj@suse.de>
1271 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1272 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1274 [__WORDSIZE != 64]: Likewise.
1276 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1278 * iconvdata/tst-table.sh: Remove ${SHELL}.
1279 * iconvdata/tst-tables.sh: Likewise.
1281 2012-10-25 David S. Miller <davem@davemloft.net>
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1284 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1289 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1290 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1291 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1294 2012-10-25 Roland McGrath <roland@hack.frob.com>
1296 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1297 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1300 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1301 Jim Blandy <jimb@codesourcery.com>
1303 * scripts/cross-test-ssh.sh: New file.
1304 * manual/install.texi (Configuring and compiling): Document use of
1306 * INSTALL: Regenerated.
1308 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1310 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1313 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1315 * Makeconfig (run-program-prefix): Fix comment.
1317 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1318 Jim Blandy <jimb@codesourcery.com>
1320 * Makeconfig (test-wrapper): New variable,
1321 (test-wrapper-env): Likewise.
1322 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1323 (run-built-tests): Define to yes.
1324 (run-program-prefix): Use $(test-wrapper).
1325 (built-program-cmd): Likewise.
1326 * Rules (make-test-out): Use $(test-wrapper-env) and
1327 $(host-built-program-cmd).
1328 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1329 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1331 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1332 $(test-wrapper-env) to tst-rtld-load-self.sh.
1333 ($(objpfx)order2.out): Use $(test-wrapper).
1334 ($(objpfx)tst-initorder.out): Likewise.
1335 ($(objpfx)tst-initorder2.out): Likewise.
1336 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1337 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1338 (test_wrapper_env): New variable. Use it to run ld.so.
1339 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1340 Use it to run ld.so.
1341 (test_wrapper_env): Likewise.
1342 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1343 $(test-wrapper) to run-iconv-test.sh.
1344 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1345 (ICONV): Use $test_wrapper.
1346 * posix/Makefile ($(objpfx)globtest.out): Pass
1347 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1348 globtest.sh, not $(run-program-prefix).
1349 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1350 (test_wrapper): Likewise.
1351 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1352 set together with run_via_rtld_prefix.
1353 (run_program_prefix): Define in terms of test_wrapper and
1354 run_via_rtld_prefix.
1356 2012-10-24 Roland McGrath <roland@hack.frob.com>
1358 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1359 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1363 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1364 Declare __clock_getres, __clock_gettime, __clock_settime,
1365 __clock_nanosleep, and __clock_getcpuclockid.
1366 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1367 Remove librt_hidden_def (clock_gettime).
1368 * sysdeps/unix/clock_gettime.c: Likewise.
1369 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1370 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1371 * rt/clock_getres.c: Define __clock_getres as an alias.
1372 * sysdeps/posix/clock_getres.c: Likewise.
1373 * rt/clock_settime.c: Define __clock_settime as an alias.
1374 * sysdeps/unix/clock_settime.c: Likewise.
1375 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1376 * sysdeps/unix/clock_nanosleep.c: Likewise.
1377 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1378 * rt/clock-compat.c: New file.
1379 * rt/Makefile (librt-routines): Add clock-compat and move
1380 $(clock-routines) to ...
1381 (routines): ... here, new variable.
1382 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1383 Don't add get_clockfreq here.
1384 * rt/Versions (libc: GLIBC_2.17): New version set.
1385 Add clock_* symbols here.
1386 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1387 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1388 (GLIBC_2.17): Add clock_* symbols.
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1400 * NEWS: Mention the move.
1402 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1403 Use __open, __read, __close rather than their public counterparts.
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1405 (__get_clockfreq_via_cpuinfo): Likewise.
1406 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1407 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1409 * config.h.in (HAVE_IFUNC): New #undef.
1410 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1412 * configure: Regenerated.
1414 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1416 * configure.in: Move READELF check to start of file.
1417 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1418 libc_cv_asm_gnu_indirect_function in the process.
1419 * configure: Regenerated.
1421 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1423 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1424 send the output to /dev/null.
1425 (libc_cv_cc_with_libunwind): Likewise.
1426 (libc_cv_as_noexecstack): Likewise.
1427 * configure: Regenerate.
1429 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1431 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1433 * posix/globtest.sh (TMPDIR): Do not set.
1434 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1435 (testout): Likewise.
1437 2012-10-24 Andreas Jaeger <aj@suse.de>
1439 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1440 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1441 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1442 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1443 posix_fadvise64, posix_fallocate64.
1445 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1446 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1447 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1449 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1451 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1454 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1455 <bits/fcntl-linux.h>.
1456 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1459 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1460 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1461 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1462 [__WORDSIZE != 64]: Likewise.
1464 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1466 * Makeconfig (run-built-tests): New variable.
1467 * Rules [$(cross-compiling) = yes]: Change condition to
1468 [$(run-built-tests) = no].
1469 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1470 to [$(run-built-tests) = yes].
1471 * elf/Makefile [$(cross-compiling) = no]: Likewise
1472 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1473 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1474 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1475 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1476 * io/Makefile [$(cross-compiling) = no]: Likewise.
1477 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1478 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1479 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1480 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1481 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1482 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1483 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1484 * string/Makefile [$(cross-compiling) = no]: Likewise.
1486 * posix/Makefile ($(objpfx)globtest.out): Pass
1487 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1488 $(rtld-installed-name).
1489 * posix/globtest.sh (elf_objpfx): Remove variable.
1490 (rtld_installed_name): Likewise.
1491 (library_path): Likewise.
1492 (run_program_prefix): New variable. Use for running globtest
1495 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1496 Joseph Myers <joseph@codesourcery.com>
1498 * Makeconfig (host-built-program-cmd): New variable.
1499 * elf/Makefile (tst-stackguard1-ARGS): Use
1500 $(host-built-program-cmd).
1501 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1502 (tst-spawn-ARGS): Likewise.
1503 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1505 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1506 Jim Blandy <jimb@codesourcery.com>
1508 * Makeconfig (run-via-rtld-prefix): New variable.
1509 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1510 (built-program-cmd): Likewise.
1512 2012-10-22 Andreas Jaeger <aj@suse.de>
1514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1515 __O_RSYNC if it exists, otherwise to O_SYNC.
1517 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1518 Joseph Myers <joseph@codesourcery.com>
1520 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1522 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1524 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1527 2012-10-22 Andreas Jaeger <aj@suse.de>
1529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1536 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1537 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1544 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1545 Joseph Myers <joseph@codesourcery.com>
1547 * config.make.in (NM): New variable.
1549 2012-10-21 Andreas Jaeger <aj@suse.de>
1551 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1552 definitions and declarations that are provided by
1553 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1555 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1558 * elf/Makefile (tests-static): Add tst-leaks1-static.
1559 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1560 ($(objpfx)tst-leaks1-static): New rule.
1561 ($(objpfx)tst-leaks1-static-mem): Likewise.
1562 (tst-leaks1-static-ENV): New macro.
1563 * elf/dl-open.c (dl_open_worker): Check the main application
1564 only if SHARED is defined.
1565 * elf/tst-leaks1-static.c: New file.
1567 2012-10-20 Andreas Jaeger <aj@suse.de>
1569 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1570 generic values for Linux.
1571 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1572 and declarations that are provided by <bits/fcntl-linux.h> and
1573 include <bits/fcntl-linux.h>.
1574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1577 2012-10-20 Roland McGrath <roland@hack.frob.com>
1579 * io/fcntl.h: Move include of <bits/types.h> to the top and
1580 include it unconditionally.
1582 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1584 * wcsmbs/Makefile (tests-ifunc): New variable.
1585 (tests): Add $(tests-ifunc).
1586 * wcsmbs/test-wcschr-ifunc.c: New file.
1587 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1588 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1589 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1590 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1591 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1593 * string/Makefile (tests-ifunc): New variable.
1594 (tests): Add $(tests-ifunc).
1595 * string/test-memccpy.c (TEST_NAME): New macro.
1596 * string/test-memchr.c (TEST_NAME): Likewise.
1597 * string/test-memcmp.c (TEST_NAME): Likewise.
1598 * string/test-memcpy.c (TEST_NAME): Likewise.
1599 * string/test-memmem.c (TEST_NAME): Likewise.
1600 * string/test-memmove.c (TEST_NAME): Likewise.
1601 * string/test-memset.c (TEST_NAME): Likewise.
1602 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1603 * string/test-stpcpy.c (TEST_NAME): Likewise.
1604 * string/test-stpncpy.c (TEST_NAME): Likewise.
1605 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1606 * string/test-strcasestr.c (TEST_NAME): Likewise.
1607 * string/test-strcat.c (TEST_NAME): Likewise.
1608 * string/test-strchr.c (TEST_NAME): Likewise.
1609 * string/test-strcmp.c(TEST_NAME): Likewise.
1610 * string/test-strcpy.c (TEST_NAME): Likewise.
1611 * string/test-strcspn.c (TEST_NAME): Likewise.
1612 * string/test-strlen.c (TEST_NAME): Likewise.
1613 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1614 * string/test-strncmp.c (TEST_NAME): Likewise.
1615 * string/test-strncpy.c (TEST_NAME): Likewise.
1616 * string/test-strnlen.c (TEST_NAME): Likewise.
1617 * string/test-strpbrk.c (TEST_NAME): Likewise.
1618 * string/test-strrchr.c (TEST_NAME): Likewise.
1619 * string/test-strspn.c (TEST_NAME): Likewise.
1620 * string/test-strstr.c (TEST_NAME): Likewise.
1621 * string/test-bcopy-ifunc.c: New file.
1622 * string/test-bzero-ifunc.c: Likewise.
1623 * string/test-memccpy-ifunc.c: Likewise.
1624 * string/test-memchr-ifunc.c: Likewise.
1625 * string/test-memcmp-ifunc.c: Likewise.
1626 * string/test-memcpy-ifunc.c: Likewise.
1627 * string/test-memmem-ifunc.c: Likewise.
1628 * string/test-memmove-ifunc.c: Likewise.
1629 * string/test-mempcpy-ifunc.c: Likewise.
1630 * string/test-memset-ifunc.c: Likewise.
1631 * string/test-rawmemchr-ifunc.c: Likewise.
1632 * string/test-stpcpy-ifunc.c: Likewise.
1633 * string/test-stpncpy-ifunc.c: Likewise.
1634 * string/test-strcasecmp-ifunc.c: Likewise.
1635 * string/test-strcasestr-ifunc.c: Likewise.
1636 * string/test-strcat-ifunc.c: Likewise.
1637 * string/test-strchr-ifunc.c: Likewise.
1638 * string/test-strchrnul-ifunc.c: Likewise.
1639 * string/test-strcmp-ifunc.c: Likewise.
1640 * string/test-strcpy-ifunc.c: Likewise.
1641 * string/test-strcspn-ifunc.c: Likewise.
1642 * string/test-strlen-ifunc.c: Likewise.
1643 * string/test-strncasecmp-ifunc.c: Likewise.
1644 * string/test-strncat-ifunc.c: Likewise.
1645 * string/test-strncmp-ifunc.c: Likewise.
1646 * string/test-strncpy-ifunc.c: Likewise.
1647 * string/test-strnlen-ifunc.c: Likewise.
1648 * string/test-strpbrk-ifunc.c: Likewise.
1649 * string/test-strrchr-ifunc.c: Likewise.
1650 * string/test-strspn-ifunc.c: Likewise.
1651 * string/test-strstr-ifunc.c: Likewise.
1653 * debug/Makefile (tests-ifunc): New variable.
1654 (tests): Add $(tests-ifunc).
1655 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1656 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1657 * debug/test-stpcpy_chk-ifunc.c: New file.
1658 * debug/test-strcpy_chk-ifunc.c: Likewise.
1660 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1663 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1664 header is not read in.
1666 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1668 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1669 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1670 directly. Pass built executable to script as
1671 $(built-program-cmd).
1672 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1673 $testprogram without using LD_LIBRARY_PATH and $ldso.
1675 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1676 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1677 $(rtld-installed-name).
1678 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1679 (rtld_installed_name): Likewise.
1680 (library_path): Likewise.
1681 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1682 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1683 $(run-program-prefix) to tst-tables.sh.
1684 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1685 it to run tst-table-from and tst-table-to.
1686 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1687 Pass it to tst-table.sh.
1688 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1689 $(run-program-prefix) to tst-gettext.sh.
1690 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1692 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1694 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1696 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1697 to run tst-gettext2.
1698 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1699 to run tst-translit.
1700 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1701 $(run-program-prefix) to tst-mtrace.sh.
1702 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1704 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1705 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1706 $(rtld-installed-name).
1707 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1708 (rtld_installed_name): Likewise.
1709 (run_program_prefix): New variable. Use it to run wordexp-test.
1711 * Makeconfig (ARCH): Remove all definitions.
1712 (machine): Likewise.
1713 [ARCH]: Remove conditional code.
1714 [!objdir]: Give error.
1715 [!objdir] (objpfx): Remove.
1716 [!objdir] (common-objpfx): Likewise.
1717 [!objdir] (common-objdir): Likewise.
1718 * configure.in (config_makefile): Remove. Hardcode Makefile in
1719 AC_CONFIG_FILES call.
1720 * configure: Regenerated.
1723 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1725 (testout): Likewise.
1727 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1728 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1729 $(rtld-installed-name).
1730 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1731 (rtld_installed_name): Likwise.
1732 (runit): Remove function.
1733 (run_getconf): New variable, Use it for running getconf binary.
1735 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1738 * string/test-memmem.c (check_result): New function.
1739 (do_one_test): Use it.
1740 (check1): New function.
1741 (test_main): Use it.
1743 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1745 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1747 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1749 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1750 (_G_LSEEK64): Likewise.
1751 (_G_MMAP64): Likewise.
1752 (_G_FSTAT64): Likewise.
1753 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1754 (_G_LSEEK64): Likewise.
1755 (_G_MMAP64): Likewise.
1756 (_G_FSTAT64): Likewise.
1757 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1758 unconditional. Call __mmap64 directly.
1759 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1760 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1762 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1763 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1765 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1766 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1768 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1769 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1771 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1772 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1774 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1775 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1776 __fxstat64 directly.
1777 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1778 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1780 (freopen64) [!_G_OPEN64]: Remove conditional code.
1781 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1783 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1784 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1786 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1787 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1789 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1790 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1792 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1793 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1795 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1796 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1798 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1799 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1801 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1803 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1806 * manual/memory.texi (Malloc Tunable Parameters): Add note
1807 about free list pointers overwriting some perturb bytes.
1808 Wording suggested by Roland McGrath.
1810 2012-10-17 Joseph Myers <joseph@codesourcery.com>
1812 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1813 (lgamma_test): Likewise.
1814 (tgamma_test): Likewise.
1816 2012-10-16 Florian Weimer <fweimer@redhat.com>
1819 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1820 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1822 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1824 * NEWS: Mention BZ #14716.
1825 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1826 when removing AVAILABLE1_USES_J macro.
1828 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1830 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1831 (__bswap_64): __uint64_t for unsigned 64-bit int.
1833 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1835 * include/string.h (memmem): Declare libc hidden alias.
1836 * string/memmem.c (memmem): Define libc hidden alias.
1837 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1838 __read, __close instead of open, read, close.
1840 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1843 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1845 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1846 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1847 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1849 (__rawmemchr_sse2): Likewise.
1850 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1851 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1852 (__strchr_sse2): Likewise.
1853 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1854 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1855 (__strcasecmp_sse2): Likewise.
1856 (__strncasecmp_sse2): Likewise.
1857 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1858 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1859 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1860 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1861 (__strrchr_sse2): Likewise.
1862 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1864 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1865 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1866 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1867 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1868 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1869 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1870 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1871 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1872 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1873 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1874 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1875 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1876 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1877 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1878 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1879 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1880 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1881 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1882 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1883 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1884 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1885 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1886 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1887 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1888 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1889 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1890 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1891 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1892 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1893 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1895 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1897 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1898 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1899 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1900 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1902 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1904 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1905 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1906 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1907 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1909 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1910 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1911 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1912 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1913 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1914 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1915 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1916 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1917 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1918 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1919 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1920 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1921 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1922 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1923 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1924 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1925 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1926 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1927 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1928 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1929 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1930 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1931 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1932 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1933 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1934 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1935 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1936 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1941 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1942 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1943 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1944 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1945 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1946 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1947 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1948 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1949 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1951 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1952 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1953 * include/ifunc-impl-list.h: New file.
1954 * misc/ifunc-impl-list.c: Likewise.
1955 * misc/Makefile (routines): Add ifunc-impl-list.
1956 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1957 * string/test-string.h: Include <ifunc-impl-list.h>.
1958 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1959 impl_array): New variables.
1960 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1962 (test_init): Call __libc_ifunc_impl_list to initialize
1963 func_list if TEST_IFUNC and TEST_NAME are defined.
1965 * string/Makefile (strop-tests): Add bcopy and bzero.
1966 * string/test-bcopy.c: New file.
1967 * string/test-bzero.c: Likewise.
1968 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1970 * string/test-memset.c: Support bzero test if TEST_BZERO is
1972 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1974 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1976 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1979 2012-10-10 Joseph Myers <joseph@codesourcery.com>
1981 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1982 * configure: Regenerated.
1984 * Makeconfig (+link-static-before-libc): Don't include
1985 $(link-static-libc).
1987 * libio/libio.h (_IO_pos_t): Remove.
1989 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1991 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1994 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1996 * crypt/crypt-entry.c: Include fips-private.h.
1997 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1998 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1999 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2000 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2002 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2004 * crypt/crypt-private.h: Include stdbool.h.
2005 (_ufc_setup_salt_r): Return bool.
2006 * crypt/crypt-entry.c: Include errno.h.
2007 (__crypt_r): Return NULL with EINVAL for bad salt.
2008 * crypt/crypt_util.c (bad_for_salt): New.
2009 (_ufc_setup_salt_r): Check that salt is long enough and within
2010 the specified alphabet.
2011 * crypt/badsalttest.c: New file.
2012 * crypt/Makefile (tests): Add it.
2013 ($(objpfx)badsalttest): New.
2015 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2017 * NEWS: Add entry for BZ #14602.
2019 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2021 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2023 * math/libm-test.inc: Update comment listing what functions and
2025 (isgreater_test): New function.
2026 (isgreaterequal_test): Likewise.
2027 (isless_test): Likewise.
2028 (islessequal_test): Likewise.
2029 (islessgreater_test): Likewise.
2030 (isunordered_test): Likewise.
2031 (main): Call the new functions.
2033 2012-10-09 Roland McGrath <roland@hack.frob.com>
2035 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2036 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2037 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2038 * sysdeps/i386/configure: Regenerated.
2039 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2040 * sysdeps/mach/configure: Regenerated.
2041 * sysdeps/mach/hurd/configure: Regenerated.
2042 * sysdeps/powerpc/configure: Regenerated.
2043 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2044 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2045 * sysdeps/s390/s390-32/configure: Regenerated.
2046 * sysdeps/s390/s390-64/configure: Regenerated.
2047 * sysdeps/sh/configure: Regenerated.
2048 * sysdeps/sparc/configure: Regenerated.
2049 * sysdeps/unix/sysv/linux/configure: Regenerated.
2050 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2051 * sysdeps/x86_64/configure: Regenerated.
2053 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2054 defined. Don't check if MAP is NULL.
2056 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2058 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2059 (_G_stat64): Likewise.
2060 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2061 (_G_stat64): Likewise.
2062 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2063 instead of struct _G_stat64.
2064 * libio/fileops.c (mmap_remap_check): Likewise.
2065 (decide_maybe_mmap): Likewise.
2066 (_IO_new_file_seekoff): Likewise.
2067 (_IO_file_stat): Likewise.
2068 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2070 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2071 instead of struct _G_stat64.
2072 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2074 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2077 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2079 (CHECK_EOL): New macro.
2080 (two_way_short_needle): Check beginning of haystack for EOL. Use
2082 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2083 Replace with CHECK_EOL.
2084 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2085 Replace with CHECK_EOL.
2087 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2089 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2091 * math/libm-test.inc: Update comment listing what functions and
2093 (finite_test): New function.
2094 (isinf_test): Likewise.
2095 (isnan_test): Likewise.
2096 (fpclassify_test): Test subnormal input.
2097 (isfinite_test): Likewise.
2098 (isnormal_test): Likewise.
2099 (main): Call the new functions.
2101 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2104 * Makerules (%.dynsym): Force C locale when running
2105 $(OBJDUMP) --dynamic-syms.
2107 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2109 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2112 2012-10-06 David S. Miller <davem@davemloft.net>
2114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2115 upper 32-bits of the length value in %o2 since we use branch-on-register
2116 tests which consider the entire 64-bit register.
2118 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2120 * string/test-strstr.c (check2): Add a test for page boundary.
2122 2012-10-05 David S. Miller <davem@davemloft.net>
2124 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2125 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2127 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2129 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2130 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2131 and bzero when HWCAP_SPARC_CRYPTO is present.
2133 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2136 * string/test-strstr.c (check2): New function.
2137 (test_main): Call check2.
2139 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2141 * string/bug-strcasestr1.c (do_test): Moved to ...
2142 * string/test-strcasestr.c (check1): Here. New function.
2143 (do_one_test): Break out result checking code into ...
2144 (check_result): This. New function.
2145 (do_one_test): Call check_result.
2146 (test_main): Call check1.
2147 * string/bug-strchr1.c (do_test): Moved to ...
2148 * string/test-strchr.c (check1): Here. New function.
2149 (do_one_test): Break out result checking code into ...
2150 (check_result): This. New function.
2151 (do_one_test): Call check_result.
2152 (test_main): Call check1.
2153 * string/bug-strstr1.c (main): Moved to ...
2154 * string/test-strchr.c (check1): Here. New function.
2155 (do_one_test): Break out result checking code into ...
2156 (check_result): This. New function.
2157 (do_one_test): Call check_result.
2158 (test_main): Call check1.
2159 * string/bug-strcasestr1.c: Removed.
2160 * string/bug-strchr1.c: Likewise.
2161 * string/bug-strstr1.c: Likewise.
2163 * elf/Makefile (dl-routines): Add hwcaps.
2164 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2165 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2166 (_dl_important_hwcaps): Moved to ...
2167 * elf/dl-hwcaps.c: Here. New file.
2168 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2171 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2172 if IS_IN_rtld isn't defined.
2174 * elf/dl-support.c (_dl_sysinfo_map): New.
2175 Include "get-dynamic-info.h" and "setup-vdso.h".
2176 (_dl_non_dynamic_init): Call setup_vdso.
2177 * elf/dynamic-link.h: Don't include <assert.h>.
2178 (elf_get_dynamic_info): Moved to ...
2179 * elf/get-dynamic-info.h: Here. New file.
2180 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2181 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2182 * elf/setup-vdso.h: Here. New file.
2183 * elf/rtld.c: Include "setup-vdso.h".
2184 (dl_main): Call setup_vdso.
2186 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2188 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2189 creal in comment listing functions tested. List finite, isinf,
2190 isnan, isless, islessequal, isgreater, isgreaterequal,
2191 islessgreater, isunordered, lgamma_r and pow10 as functions and
2192 macros not tested. Mention which functions not tested are aliases
2193 for other functions. Fix typo. Note that signs of NaNs are not
2196 * scripts/config.guess: Update from config.git.
2197 * scripts/config.sub: Likewise.
2199 2012-10-04 Roland McGrath <roland@hack.frob.com>
2201 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2202 * misc/madvise.c (madvise): Renamed to __madvise.
2203 Make madvise a weak alias.
2204 * include/sys/mman.h: Declare __madvise.
2205 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2206 * sysdeps/unix/syscalls.list
2207 (madvise): Make __madvise the strong name, and madvise a weak alias.
2208 * sysdeps/unix/sysv/linux/syscalls.list
2209 (madvise, mmap): Remove redundant entries.
2210 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2211 * malloc/malloc.c (mtrim): Likewise.
2212 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2214 2012-10-03 Roland McGrath <roland@hack.frob.com>
2216 * sysdeps/mach/hurd/dl-cache.c: File removed.
2217 * config.h.in (USE_LDCONFIG): New #undef.
2218 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2219 * configure: Regenerated.
2220 * elf/Makefile (dl-routines): Add dl-cache only under
2221 [$(use-ldconfig) = yes].
2222 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2223 cache on [USE_LDCONFIG].
2224 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2226 * elf/rtld.c (dl_main): Likewise.
2228 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2230 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2231 _SC_LEVEL4_CACHE_LINESIZE.
2233 2012-10-03 Roland McGrath <roland@hack.frob.com>
2235 * sysdeps/unix/bsd/confstr.h: File removed.
2237 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2239 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2242 2012-10-02 Roland McGrath <roland@hack.frob.com>
2244 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2245 Make 'mapoff' field ElfW(Off) rather than off_t.
2247 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2249 * nscd/Makefile: Remove nscd-cflags and all its users.
2250 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2251 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2254 * malloc.c (malloc_printerr): Clarify error message.
2256 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2260 Set bit_FMA_Usable if FMA is supported.
2261 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2263 (bit_FMA4_Usable): Updated.
2264 (index_FMA_Usable): New macro.
2265 (CPUID_FMA): Likewise
2266 (HAS_FMA): Defined with bit_FMA_Usable.
2268 2012-10-01 Roland McGrath <roland@hack.frob.com>
2270 * bits/types.h (__swblk_t): Type removed.
2271 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2272 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2274 (__SWBLK_T_TYPE): Likewise.
2275 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2276 (__SWBLK_T_TYPE): Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2278 (__SWBLK_T_TYPE): Likewise.
2279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2280 (__SWBLK_T_TYPE): Likewise.
2282 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2283 Honza Horak <hhorak@redhat.com>
2285 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2286 (xdr_mapname): Use YPMAXMAP as maxsize.
2287 (xdr_peername): Use YPMAXPEER as maxsize.
2288 (xdr_keydat): Use YPAXRECORD as maxsize.
2289 (xdr_valdat): Use YPMAXRECORD as maxsize.
2291 2012-10-01 Roland McGrath <roland@hack.frob.com>
2293 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2295 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2296 * csu/init-first.c: ... here.
2297 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2298 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2299 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2300 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2301 * sysdeps/i386/init-first.c: File removed.
2302 * sysdeps/sh/init-first.c: File removed.
2304 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2308 if x * y might underflow to zero and z is zero.
2309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2311 * math/libm-test.inc (min_subnorm_value): New variable.
2312 (fma_test): Add more tests.
2313 (fma_test_towardzero): Likewise.
2314 (fma_test_downward): Likewise
2315 (fma_test_upward): Likewise.
2316 (initialize): Set min_subnorm_value.
2318 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2323 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2324 mode for addition resulting in exact zero.
2325 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2330 * math/libm-test.inc (fma_test): Add more tests.
2331 (fma_test_towardzero): New function.
2332 (fma_test_downward): Likewise.
2333 (fma_test_upward): Likewise.
2334 (main): Call the new functions.
2336 2012-09-28 David S. Miller <davem@davemloft.net>
2338 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2340 2012-09-28 Roland McGrath <roland@hack.frob.com>
2342 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2345 * sysdeps/gnu/_G_config.h: Moved to ...
2346 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2347 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2348 * sysdeps/generic/_G_config.h: ... here.
2350 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2352 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2354 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2355 Conditionalize target on [libnss_test1.so-version].
2357 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2359 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2360 (elfobjdir): Move out of conditionals.
2362 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2363 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2364 (__nss_lookup_function): Conditionalize label remove_from_tree on
2365 [!DO_STATIC_NSS || SHARED], matching its only use.
2367 2012-09-28 David S. Miller <davem@davemloft.net>
2369 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2370 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2372 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2374 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2376 when HWCAP_SPARC_CRYPTO is present.
2378 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2380 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2382 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2385 * stdio-common/vfprintf.c (process_string_arg): Revert
2388 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2390 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2392 * stdio-common/tst-sprintf.c: Include <locale.h>
2393 (main): Test sprintf's handling of incomplete multibyte
2396 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2398 * elf/dl-runtime.c (VERSYMIDX): Removed.
2399 * elf/dl-version.c (VERSYMIDX): Likewise.
2400 * elf/do-rel.h (VERSYMIDX): Likewise.
2402 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2403 * elf/rtld.c (VALIDX): Likewise.
2404 (ADDRIDX): Likewise.
2405 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2406 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2407 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2408 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2410 (ADDRIDX): Likewise.
2412 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2414 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2416 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2419 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2421 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2422 addresses are in the same scope as 192.0.2/24.
2423 * posix/gai.conf: Document new scope table defaults.
2425 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2428 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2429 for ftell. Compute offsets from write pointers instead.
2430 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2432 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2435 * libio/Makefile (tests): New test case tst-fseek.
2436 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2437 combination works in wide mode.
2438 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2439 state when the external buffer state changes.
2441 2012-09-27 David S. Miller <davem@davemloft.net>
2444 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2445 pass reloc->r_addend in as the 'high' argument to
2446 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2450 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2452 * rt/tst-aio2.c: Include <pthread.h>.
2453 * rt/tst-aio3.c: Likewise.
2455 2012-09-27 Steve Ellcey <sellcey@mips.com>
2457 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2459 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2461 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2462 contents on [SHARED].
2464 2012-09-26 Marek Polacek <polacek@redhat.com>
2468 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2469 for C++ and GCC <4.3 as well as for non GCC compilers.
2471 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2475 2012-09-25 Roland McGrath <roland@hack.frob.com>
2477 * Makefile.in (all, install): Declare with .PHONY.
2478 Reported by Michael Hope <michael.hope@linaro.org>.
2480 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2482 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2483 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2485 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2487 (sydep_routines): Add the new and the internal functions.
2488 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2489 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2491 (GLIBC_2.17): Add the new function.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2493 (GLIBC_2.17): Likewise.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2495 (GLIBC_2.17): Likewise.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2497 (GLIBC_2.17): Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2500 2012-09-25 Alan Modra <amodra@gmail.com>
2502 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2503 Add release barrier before setting once_control to say
2504 initialisation is done. Add hints on lwarx. Use macro in
2506 (clear_once_control): Add release barrier.
2508 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2511 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2513 * math/s_clog10.c (__clog10): Likewise.
2514 * math/s_clog10f.c (__clog10f): Likewise.
2515 * math/s_clog10l.c (__clog10l): Likewise.
2516 * math/s_clogf.c (__clogf): Likewise.
2517 * math/s_clogl.c (__clogl): Likewise.
2518 * math/Makefile (libm-calls): Add x2y2m1.
2519 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2520 (__x2y2m1): Likewise.
2521 (__x2y2m1l): Likewise.
2522 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2523 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2524 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2526 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2527 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2528 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2529 * sysdeps/i386/fpu/libm-test-ulps: Update.
2530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2533 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2534 int as type of variable DEPTH.
2535 (glob): Use size_t instead of int as type of variables NEWCOUNT
2538 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2540 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2542 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2543 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2544 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2545 macros for using routine as __sincosf_ia32.
2546 Use macro for function declaration and weak_alias.
2547 * sysdeps/i386/fpu/libm-test-ulps: Update.
2549 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2552 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2554 * math/s_cexpf.c (__cexpf): Likewise.
2555 * math/s_csinf.c (__csinf): Likewise.
2556 * math/s_csinhf.c (__csinhf): Likewise.
2557 * math/s_ctanf.c (__ctanf): Likewise.
2558 * math/s_ctanhf.c (__ctanhf): Likewise.
2559 * math/s_ccosh.c (__ccoshf): Likewise.
2560 * math/s_cexp.c (__cexpl): Likewise.
2561 * math/s_csin.c (__csin): Likewise.
2562 * math/s_csinh.c (__csinh): Likewise.
2563 * math/s_ctan.c (__ctan): Likewise.
2564 * math/s_ctanh.c (ctanh): Likewise.
2565 * math/s_ccoshl.c (__ccoshl): Likewise.
2566 * math/s_cexpl.c (__cexpl): Likewise.
2567 * math/s_csinl.c (__csinl): Likewise.
2568 * math/s_csinhl.c (__csinhl): Likewise.
2569 * math/s_ctanl.c (__ctanl): Likewise.
2570 * math/s_ctanhl.c (__ctanhl): Likewise.
2572 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2574 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2575 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2576 (_IO_off_t): Define to __off_t, not _G_off_t.
2577 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2578 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2579 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2580 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2581 type of __dummy and __dummy2 fields.
2582 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2583 (_G_ssize_t): Likewise.
2584 (_G_off_t): Likewise.
2585 (_G_pid_t): Likewise.
2586 (_G_uid_t): Likewise.
2587 (_G_wchar_t): Likewise.
2588 (_G_wint_t): Likewise.
2589 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2590 (_G_ssize_t): Likewise.
2591 (_G_off_t): Likewise.
2592 (_G_pid_t): Likewise.
2593 (_G_uid_t): Likewise.
2594 (_G_wchar_t): Likewise.
2595 (_G_wint_t): Likewise.
2596 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2597 (_G_ssize_t): Likewise.
2598 (_G_off_t): Likewise.
2599 (_G_pid_t): Likewise.
2600 (_G_uid_t): Likewise.
2601 (_G_wchar_t): Likewise.
2602 (_G_wint_t): Likewise.
2604 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * malloc/arena.c: Include malloc-sysdep.h.
2607 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2608 is sufficient to shrink the heap or an unmap is needed.
2609 * sysdeps/generic/malloc-sysdep.h: New file. Define
2610 new function check_may_shrink_heap.
2611 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2612 new function check_may_shrink_heap.
2614 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2616 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2619 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2621 * catgets/test-gencat.sh: Add "set -e".
2622 * elf/tst-pathopt.sh: Likewise.
2623 * grp/tst_fgetgrent.sh: Likewise.
2624 * iconvdata/run-iconv-test.sh: Likewise.
2625 * intl/tst-gettext.sh: Likewise.
2626 * intl/tst-gettext2.sh: Likewise.
2627 * intl/tst-gettext4.sh: Likewise.
2628 * intl/tst-gettext6.sh: Likewise.
2629 * intl/tst-translit.sh: Likewise.
2630 * io/ftwtest-sh: Likewise.
2631 * libio/test-freopen.sh: Likewise.
2632 * malloc/tst-mtrace.sh: Likewise.
2633 * posix/globtest.sh: Likewise.
2634 * posix/tst-getconf.sh: Likewise.
2635 * posix/wordexp-tst.sh: Likewise.
2636 * stdio-common/tst-printf.sh: Likewise.
2637 * stdio-common/tst-unbputc.sh: Likewise.
2638 * stdlib/tst-fmtmsg.sh: Likewise.
2639 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2640 * catgets/Makefile: Do not specify -e option when running
2641 testsuite shell scripts.
2642 * elf/Makefile: Likewise.
2643 * grp/Makefile: Likewise.
2644 * iconvdata/Makefile: Likewise.
2645 * intl/Makefile: Likewise.
2646 * io/Makefile: Likewise.
2647 * libio/Makefile: Likewise.
2648 * malloc/Makefile: Likewise.
2649 * posix/Makefile: Likewise.
2650 * stdio-common/Makefile: Likewise.
2651 * stdlib/Makefile: Likewise.
2652 * sysdeps/x86_64/Makefile: Likewise.
2654 * io/ftwtest-sh: Add copyright header.
2655 * posix/globtest.sh: Likewise.
2656 * posix/tst-getconf.sh: Likewise.
2657 * posix/wordexp-tst.sh: Likewise.
2658 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2660 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2663 * Makeconfig (+link): Defined as $(+link-static) if
2664 $(build-shared) isn't yes.
2665 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2667 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2669 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2672 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2673 new chunk size with MALLOC_ALIGN_MASK.
2675 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2678 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2680 (__printf_fphex): Determine rounding using get_rounding_mode and
2682 * stdio-common/tst-printf-round.c (struct hex_test): New
2684 (hex_tests): New variable.
2685 (test_hex_in_one_mode): New function.
2686 (do_test): Also run tests for hex float output.
2688 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2690 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2691 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2692 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2693 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2694 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2695 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2696 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2697 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2699 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2701 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2702 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2703 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2704 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2706 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2709 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2711 * elf/tst-rtld-load-self.sh: New test.
2712 * elf/Makefile: Run it.
2714 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2716 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2717 (tst-writev-ENV): Remove.
2718 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2720 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2722 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2724 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2726 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2728 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2730 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2731 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2732 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2735 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2738 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2739 * config.make.in (have-cpp-asm-debuginfo): Removed.
2740 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2741 * configure: Regenerated.
2743 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2746 * stdio-common/printf_fp.c: Include <stdbool.h> and
2748 (___printf_fp): Determine rounding using get_rounding_mode and
2750 * stdio-common/tst-printf-round.c: New file.
2751 * stdio-common/Makefile (tests): Add tst-printf-round.
2752 (link-libm): New variable.
2753 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2755 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2758 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2759 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2761 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2764 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2766 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2767 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2768 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2769 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2771 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2774 * include/rounding-mode.h: New file.
2775 * sysdeps/generic/get-rounding-mode.h: Likewise.
2776 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2777 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2778 (MAX_VALUE): New macro.
2779 (MIN_VALUE): Likewise.
2780 (overflow_value): New function.
2781 (underflow_value): Likewise.
2782 (round_and_return): Use overflow_value and underflow_value to
2783 determine return values in overflow and underflow cases. Use
2784 round_away to determine rounding depending on rounding mode.
2785 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2786 determine return values in overflow and underflow cases.
2787 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2788 (struct test_results): New structure.
2789 (struct test): Use struct test_results to store expected results
2790 for all rounding modes.
2791 (TEST): Include expected results for all rounding modes.
2792 (test_in_one_mode): New function.
2793 (do_test): Use test_in_one_mode to compute and check results.
2794 Check results for all rounding modes.
2795 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2798 2012-12-09 Allan McRae <allan@archlinux.org>
2800 * sysdeps/i386/fpu/libm-test-ulps: Update
2802 2012-09-11 Joseph Myers <joseph@codesourcery.com>
2804 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2805 (_G_int32_t): Likewise.
2806 (_G_uint16_t): Likewise.
2807 (_G_uint32_t): Likewise.
2808 (_G_HAVE_BOOL): Likewise.
2809 (_G_HAVE_ATEXIT): Likewise.
2810 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2811 (_G_HAVE_IO_FILE_OPEN): Likewise.
2812 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2813 (_G_int32_t): Likewise.
2814 (_G_uint16_t): Likewise.
2815 (_G_uint32_t): Likewise.
2816 (_G_HAVE_BOOL): Likewise.
2817 (_G_HAVE_ATEXIT): Likewise.
2818 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2819 (_G_HAVE_IO_FILE_OPEN): Likewise.
2820 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2821 (_G_int32_t): Likewise.
2822 (_G_uint16_t): Likewise.
2823 (_G_uint32_t): Likewise.
2824 (_G_HAVE_BOOL): Likewise.
2825 (_G_HAVE_ATEXIT): Likewise.
2826 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2827 (_G_HAVE_IO_FILE_OPEN): Likewise.
2829 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2831 * csu/libc-tls.c: Update copyright years.
2833 2012-09-10 Joseph Myers <joseph@codesourcery.com>
2835 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2836 [!_G_USING_THUNKS]: Remove conditional code.
2837 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2838 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2840 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2841 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2842 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2843 (_G_VTABLE_LABEL_PREFIX): Likewise.
2844 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2845 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2846 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2847 (_G_VTABLE_LABEL_PREFIX): Likewise.
2848 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2849 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2850 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2851 (_G_VTABLE_LABEL_PREFIX): Likewise.
2852 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2854 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2856 * libio/Makefile: Include ../Makeconfig before tests.
2857 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2858 only if $(build-shared) is yes.
2860 * iconv/gconv_db.c: Update copyright years.
2862 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2864 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2865 unwind info if defined PIC. Fix special cases description.
2866 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2868 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2870 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2872 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2874 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2876 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2879 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2880 (LDLIBS-tst-chk4): This.
2881 (LDFLAGS-tst-chk5): Renamed to ...
2882 (LDLIBS-tst-chk5): This.
2883 (LDFLAGS-tst-chk6): Renamed to ...
2884 (LDLIBS-tst-chk6): This.
2885 (LDFLAGS-tst-lfschk4): Renamed to ...
2886 (LDLIBS-tst-lfschk4): This.
2887 (LDFLAGS-tst-lfschk5): Renamed to ...
2888 (LDLIBS-tst-lfschk5): This.
2889 (LDFLAGS-tst-lfschk6): Renamed to ...
2890 (LDLIBS-tst-lfschk6): This.
2892 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2893 on $(common-objpfx)soversions.mk.
2895 2012-09-07 Joseph Myers <joseph@codesourcery.com>
2898 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2901 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2903 * malloc/arena.c (arena_get_retry): New function that gets
2904 another arena for the caller to try its request on.
2905 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2906 current arena cannot fulfill the request.
2907 (__libc_memalign): Likewise.
2908 (__libc_memalign): Likewise.
2909 (__libc_pvalloc): Likewise.
2910 (__libc_calloc): Likewise.
2912 2012-09-05 John Tobey <john.tobey@gmail.com>
2915 * manual/arith.texi (Operations on Complex): Fix description
2918 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2921 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2925 * manual/memory.texi (Memory): Make order of menu items match
2928 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2930 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2931 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2932 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2934 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2936 * csu/libc-tls.c (static_dtv): Renamed to ...
2937 (_dl_static_dtv): This. Make it global.
2938 (_dl_initial_dtv): Removed.
2939 (__libc_setup_tls): Updated.
2940 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2941 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2944 2012-09-06 Petr Machata <pmachata@redhat.com>
2946 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2947 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2948 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2949 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2951 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2954 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2955 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2958 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2961 * Makeconfig (link-static-before-libc): Replace $(+prector)
2963 (link-static-after-libc): Replace $(+postctor) with
2965 (link-bounded): Replace $(+prector)/$(+postctor) with
2966 $(+prectorT)/$(+postctorT).
2967 (+prectorT): New macro.
2968 (+postctorT): Likewise.
2970 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2972 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2973 (round_str): Handle values above the maximum for IBM long double
2975 * stdlib/tst-strtod-round.c (tests): Regenerated.
2977 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2979 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2981 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2982 zarch_nohighgprs around the zarch optimized routines.
2983 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2984 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2985 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2988 2012-09-05 David S. Miller <davem@davemloft.net>
2990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2992 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2993 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2994 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2995 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2998 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3000 * malloc/arena.c: Fold copyright years.
3001 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3003 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3005 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3007 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3009 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3011 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3013 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3014 change internal state upon failure.
3016 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3018 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3019 * malloc/memusage.c (mmap): Likewise.
3020 (mmap64, mremap): Likewise. Adjust name in comment.
3022 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3024 * libio/fileops.c: Fix typos in comments.
3025 * libio/oldfileops.c: Likewise.
3026 * libio/wfileops.c: Likewise.
3028 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3031 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3032 (tst-malloc-usable-ENV): Set environment for test case.
3033 * malloc/hooks.c (malloc_check_get_size): New function to get
3035 * malloc/malloc.c (musable): Use malloc_check_get_size.
3036 * malloc/tst-malloc-usable.c: New test case.
3038 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3040 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3042 2012-09-05 Allan McRae <allan@archlinux.org>
3045 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3046 determine header location.
3047 * configure: Regenerated.
3049 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3051 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3053 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3054 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3058 2012-09-04 David S. Miller <davem@davemloft.net>
3060 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3061 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3062 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3064 2012-09-04 Florian Weimer <fweimer@redhat.com>
3066 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3069 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3071 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3074 * libio/iogetdelim.c: Include <limits.h>.
3075 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3076 + len + 1 would overflow.
3078 2012-09-03 Andreas Jaeger <aj@suse.de>
3080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3081 * sysdeps/i386/fpu/libm-test-ulps: Update.
3083 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3085 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3086 Add s_sinf-sse2, s_conf-sse2.
3088 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3089 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3090 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3091 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3093 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3094 for using routine as __sinf_ia32.
3095 Use macro for function declaration and weak_alias.
3096 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3097 for using routine as __cosf_ia32.
3098 Use macro for function declaration and weak_alias.
3100 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3101 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3103 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3104 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3107 * math/libm-test.inc (cos_test): Add more test cases.
3108 (sin_test): Likewise.
3109 (sincos_test): Likewise.
3111 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3113 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3114 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3116 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3118 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3121 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3122 first element of the GOT.
3123 (elf_machine_load_address): Return the difference between
3124 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3126 2012-09-01 Allan McRae <allan@archlinux.org>
3129 * configure.in (AWK): Require gawk version 3.0 or later.
3130 * configure: Regenerated.
3132 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3134 * sysdeps/unix/sysv/linux/kernel-features.h
3135 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3137 [__NR_clock_getres]: Make code unconditional.
3138 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3139 (clock_getcpuclockid): Remove code left unreachable by removal of
3141 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3143 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3144 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3145 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3146 Make code unconditional.
3147 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3148 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3149 * sysdeps/unix/sysv/linux/clock_settime.c
3150 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3152 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3153 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3155 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3158 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3159 scripts/test-installation.pl.
3161 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3162 and $ld_so_version if it is set.
3164 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3167 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3168 failure if reading from procfs failed.
3169 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3171 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3173 * sysdeps/unix/sysv/linux/kernel-features.h
3174 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3175 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3176 Remove conditional code.
3177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3178 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3179 Remove conditional code.
3180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3181 * sysdeps/unix/sysv/linux/i386/fxstat.c
3182 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3184 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3185 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3186 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3187 * sysdeps/unix/sysv/linux/i386/lxstat.c
3188 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3189 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3190 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3191 Remove conditional code.
3192 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3193 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3194 Remove conditional code.
3195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3196 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3197 <kernel-features.h>.
3198 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3200 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3201 Remove conditional code.
3202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3203 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3206 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3209 * NEWS: Add fixed bug number.
3211 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3214 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3215 underflowing exponent in case of negative sign.
3216 * stdlib/tst-strtod-round-data: Add more tests.
3217 * stdlib/tst-strtod-round.c (tests): Regenerated.
3220 * stdlib/strtod_l.c (NDIG): Remove.
3221 (HEXNDIG): Likewise.
3222 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3223 smallest representable value.
3224 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3225 lie within an exact representation of 1/2 ulp of the result.
3226 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3228 (TENS_P9_IDX): Define unconditionally.
3229 (TENS_P9_SIZE): Likewise.
3230 (TENS_P10_IDX): Likewise.
3231 (TENS_P10_SIZE): Likewise.
3232 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3233 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3234 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3235 entries for 10^2^13 and 10^2^14.
3236 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3237 (TENS_P13_IDX): Define.
3238 (TENS_P13_SIZE): Likewise.
3239 (TENS_P14_IDX): Likewise.
3240 (TENS_P14_SIZE): Likewise.
3241 (_fpioconst_pow10): Change array size to
3242 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3244 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3245 1024]: Add entries for 10^2^13 and 10^2^14.
3246 [LAST_POW10 > _LAST_POW10]: Remove #error.
3247 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3248 (_fpioconst_pow10): Change array size to
3249 FPIOCONST_POW10_ARRAY_SIZE.
3250 * stdlib/gen-fpioconst.c: New file.
3251 * stdlib/gen-tst-strtod-round.c: Likewise.
3252 * stdlib/tst-strtod-round-data: Likewise.
3253 * stdlib/tst-strtod-round.c: Likewise.
3254 * stdlib/Makefile (tests): Add tst-strtod-round.
3257 * stdlib/strtod_l.c: Include <stdint.h>.
3258 (NDEBUG): Do not define.
3259 (round_and_return): Change EXPONENT parameter to type intmax_t.
3260 Rearrange calculations to avoid internal overflow possibilities.
3261 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3262 Rearrange calculations to avoid internal overflow possibilities.
3263 Assert that number fits inside MPNSIZE limbs.
3264 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3265 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3266 calculations and add assertions to avoid internal overflow
3267 possibilities. Add casts to avoid signed/unsigned operations.
3268 * stdlib/tst-strtod-overflow.c: New file.
3269 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3271 2012-08-25 Marek Polacek <polacek@redhat.com>
3273 * time/time.h: Fix some typos in comments.
3275 2012-08-23 Roland McGrath <roland@hack.frob.com>
3277 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3278 * posix/tst-rfc3484-2.c: Likewise.
3279 * posix/tst-rfc3484-3.c: Likewise.
3281 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3283 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3284 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3286 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3288 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3289 #include of fxstatat64.c.
3291 2012-08-22 Roland McGrath <roland@hack.frob.com>
3293 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3294 * shadow/getspent_r.c: Likewise.
3295 * shadow/getspnam.c: Likewise.
3296 * shadow/getspnam_r.c: Likewise.
3297 * gshadow/getsgent.c: Likewise.
3298 * gshadow/getsgent_r.c: Likewise.
3299 * gshadow/getsgnam.c: Likewise.
3300 * gshadow/getsgnam_r.c: Likewise.
3301 * inet/getnetbyad.c: Likewise.
3302 * inet/getnetbyad_r.c: Likewise.
3303 * inet/getnetbynm.c: Likewise.
3304 * inet/getnetbynm_r.c: Likewise.
3305 * inet/getnetent.c: Likewise.
3306 * inet/getnetent_r.c: Likewise.
3307 * inet/getproto.c: Likewise.
3308 * inet/getproto_r.c: Likewise.
3309 * inet/getprtent.c: Likewise.
3310 * inet/getprtent_r.c: Likewise.
3311 * inet/getprtname.c: Likewise.
3312 * inet/getprtname_r.c: Likewise.
3313 * inet/getrpcbyname.c: Likewise.
3314 * inet/getrpcbyname_r.c: Likewise.
3315 * inet/getrpcbynumber.c: Likewise.
3316 * inet/getrpcbynumber_r.c: Likewise.
3317 * inet/getrpcent.c: Likewise.
3318 * inet/getrpcent_r.c: Likewise.
3319 * inet/getaliasent.c: Likewise.
3320 * inet/getaliasent_r.c: Likewise.
3321 * inet/getaliasname.c: Likewise.
3322 * inet/getaliasname_r.c: Likewise.
3323 * nscd/getgrgid_r.c: Likewise.
3324 * nscd/getgrnam_r.c: Likewise.
3325 * nscd/gethstbyad_r.c: Likewise.
3326 * nscd/gethstbynm3_r.c: Likewise.
3327 * nscd/getpwnam_r.c: Likewise.
3328 * nscd/getpwuid_r.c: Likewise.
3329 * nscd/getsrvbynm_r.c: Likewise.
3330 * nscd/getsrvbypt_r.c: Likewise.
3331 * nscd/gai.c: Likewise.
3333 * configure.in (build_nscd): New substituted variable, set
3334 by --disable-build-nscd and defaults to $use_nscd.
3335 * configure: Regenerated.
3336 * config.make.in (build-nscd): New substituted variable.
3337 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3338 Change conditional to require [$(build-nscd) = yes] as well.
3339 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3342 * configure.in (use_nscd): New substituted variable, set by
3343 --disable-nscd. If enabled, define USE_NSCD.
3344 * configure: Regenerated.
3345 * config.h.in: Add USE_NSCD.
3346 * config.make.in (use-nscd): New substituted variable.
3347 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3348 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3349 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3350 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3351 (CFLAGS-getgrnam_r.c): Likewise.
3352 (CFLAGS-initgroups.c): Likewise.
3353 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3354 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3356 * inet/getnetgrent_r.c
3357 (nscd_setnetgrent): New function, broken out of ...
3358 (setnetgrent): ... here. Call it.
3359 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3360 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3361 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3362 * nscd/Makefile (routines, aux): Move definitions after include of
3363 Makeconfig. Conditionalize on [$(use-nscd) != no].
3364 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3365 Conditionalize on [USE_NSCD].
3366 (is_nscd, nscd_init_cb): Likewise.
3367 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3368 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3369 * nss/nss_db/db-init.c: Likewise.
3370 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3372 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3373 (make_request): Use it.
3374 (cache_valid_p): New function.
3375 (__check_pf): Use it.
3376 * NEWS: Add item for --disable-nscd.
3378 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3380 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3381 to support sed >= 4.2.1-20-ga9bf076.
3382 * configure: Regenerated.
3384 2012-08-22 Roland McGrath <roland@hack.frob.com>
3386 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3387 Conditionalize whole body on [IREL].
3389 2012-08-22 Jeff Law <law@redhat.com>
3392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3393 if the family is PF_UNSPEC.
3395 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3397 * Makerules (lib-version): Rename from V.
3398 (install-lib-nosubdir): Change V to lib-version.
3400 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3403 * powerpc32/power6/wcschr.c: New file.
3404 * powerpc32/power6/wcscpy.c: New file.
3405 * powerpc32/power6/wcsrchr.c: New file.
3406 * powerpc64/power6/wcschr.c: New file.
3407 * powerpc64/power6/wcscpy.c: New file.
3408 * powerpc64/power6/wcsrchr.c: New file.
3410 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3412 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3413 (two_way_short_needle): Use it.
3414 * string/strstr.c (AVAILABLE1_USES_J): Define.
3415 * string/strcasestr.c: Likewise.
3417 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3419 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3422 * NEWS: Add an entry.
3423 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3424 define their defaults.
3425 (two_way_short_needle): Detect end-of-string on-the-fly.
3426 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3427 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3428 * string/bug-strcasestr1.c: New test.
3429 * string/Makefile: Run it.
3431 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3434 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3435 the first character.
3437 2012-08-21 Roland McGrath <roland@hack.frob.com>
3439 * csu/elf-init.c (__libc_csu_irel): Function removed.
3440 * csu/libc-start.c (apply_irel): New function.
3441 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3443 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/unix/sysv/linux/kernel-features.h
3446 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3447 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3448 <kernel-features.h>.
3449 [__NR_fadvise64_64]: Make code unconditional.
3450 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3451 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3452 !__NR_fadvise64_64)]: Likewise.
3453 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3454 !__NR_fadvise64_64))]: Likewise.
3455 [__NR_fadvise64]: Make code unconditional.
3456 [!__NR_fadvise64]: Remove conditional code.
3457 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3458 <kernel-features.h>.
3459 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3461 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3464 not include <kernel-features.h>.
3465 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3467 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3469 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3470 include <kernel-features.h>.
3471 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3473 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3476 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3478 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3479 slight instruction rearrangements per scrollpipe analysis.
3480 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3482 2012-08-20 Roland McGrath <roland@hack.frob.com>
3484 * manual/syslog.texi (syslog; vsyslog, closelog):
3485 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3486 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3488 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3489 DSOCAPS to match condition on defining it.
3491 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3493 * sysdeps/unix/sysv/linux/kernel-features.h
3494 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3496 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3497 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3499 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3500 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3502 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3503 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3505 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3506 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3508 * sysdeps/unix/sysv/linux/kernel-features.h
3509 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3510 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3512 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3513 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3514 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3515 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3516 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3517 Make code unconditional.
3518 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3519 (__mmap64) [!__NR_mmap2]: Likewise.
3520 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3521 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3522 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3523 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3524 [__NR_mmap2]: Make code unconditional.
3525 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3526 (__mmap64) [!__NR_mmap2]: Likewise.
3528 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3530 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3532 2012-08-18 Andreas Jaeger <aj@suse.de>
3534 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3536 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3538 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3539 * include/unistd.h (__have_sock_cloexec): Likewise.
3540 (__have_pipe2): Likewise.
3541 (__have_dup3): Likewise.
3543 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3546 * include/unistd.h (__have_pipe2): Change define into an extern int.
3547 (__have_dup3): Likewise.
3548 * socket/have_sock_cloexec.c: Include fcntl.h.
3549 (__have_pipe2): New variable.
3550 (__have_dup3): Likewise.
3552 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3554 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3556 2012-08-17 Marek Polacek <polacek@redhat.com>
3558 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3559 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3561 2012-08-17 Roland McGrath <roland@hack.frob.com>
3563 * configure.in: Add AC_SUBST for sysheaders.
3564 * configure: Regenerated.
3565 * config.make.in (sysheaders): New substituted variable.
3567 * sysdeps/unix/mkfifo.c: Moved ...
3568 * sysdeps/posix/mkfifo.c: ... here.
3569 * sysdeps/unix/mkfifoat.c: Moved ...
3570 * sysdeps/posix/mkfifoat.c: ... here.
3572 * sysdeps/unix/utime.c: Moved ...
3573 * sysdeps/posix/utime.c: ... here.
3575 * sysdeps/unix/time.c: Moved ...
3576 * sysdeps/posix/time.c: ... here.
3577 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3578 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3580 * sysdeps/unix/nice.c: Moved ...
3581 * sysdeps/posix/nice.c: ... here.
3583 * sysdeps/unix/alarm.c: Moved ...
3584 * sysdeps/posix/alarm.c: ... here.
3586 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3588 2012-08-17 Jeff Law <law@redhat.com>
3590 * intl/Makefile (codeset_mo): New variable.
3591 ($(codeset_mo)): New target.
3592 (tst-codeset.out): Depend on that. Remove explicit rule.
3593 (tst-gettext3.out, tst-gettext5.out): Likewise.
3594 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3595 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3596 * intl/tst-codeset.sh: Remove.
3597 * intl/tst-gettext3.sh: Likewise.
3598 * intl/tst-gettext5.sh: Likewise.
3600 2012-08-17 Roland McGrath <roland@hack.frob.com>
3602 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3603 * sysdeps/unix/syscalls.list: ... here.
3605 * sysdeps/posix/getaddrinfo.c
3606 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3607 (gaiconf_init, gaiconf_reload): Use them.
3609 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3610 Define using time_t rather than struct timespec.
3612 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3613 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3615 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3617 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3618 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3621 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3622 __libc_cleanup_push argument.
3624 * bits/param.h: New file.
3625 * misc/sys/param.h: New file.
3626 * include/sys/param.h: New file.
3627 * misc/Makefile (headers): Add bits/param.h.
3628 * sysdeps/generic/sys/param.h: File removed.
3629 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3630 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3631 * sysdeps/mach/hurd/bits/param.h: New file.
3632 * sysdeps/mach/hurd/sys/param.h: File removed.
3634 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3637 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3639 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3640 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3643 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3644 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3645 rather than -D_IO_MTSAFE_IO conditionally.
3646 * stdio-common/Makefile (CPPFLAGS): Likewise.
3647 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3648 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3649 Use $(libio-mtsafe).
3650 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3652 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3653 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3654 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3655 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3656 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3657 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3658 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3659 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3660 (CFLAGS-fread_u_chk.c): Likewise.
3661 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3662 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3663 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3664 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3665 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3666 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3667 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3668 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3669 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3671 * libio/Makefile: Test [$(libc-reentrant) = yes]
3672 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3675 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3676 * sysdeps/pthread/configure: File removed.
3677 * sysdeps/pthread/Makeconfig: New file.
3678 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3679 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3681 2012-08-16 Gary Benson <gbenson@redhat.com>
3683 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3684 unmapping the first object in a namespace.
3686 2012-08-16 Roland McGrath <roland@hack.frob.com>
3688 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3689 (__internal_setnetgrent): ... this. Add internal_function to
3690 definition. Add libc_hidden_def.
3691 (setnetgrent): Update caller.
3692 (internal_endnetgrent): Renamed to ...
3693 (__internal_endnetgrent): ... this. Add internal_function to
3694 definition. Add libc_hidden_def.
3695 (endnetgrent): Update caller.
3696 (internal_getnetgrent_r): Renamed to ...
3697 (__internal_getnetgrent_r): ... this. Add internal_function to
3698 definition. Add libc_hidden_def.
3699 (__getnetgrent_r): Update caller.
3700 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3702 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3704 * stdlib/longlong.h: Update from GCC.
3706 2012-08-16 Roland McGrath <roland@hack.frob.com>
3708 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3709 on _QL, which is set by umul_ppmm but never used.
3710 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3711 variables, which are set by GMP macros but never used.
3712 * stdio-common/_itowa.c (_itowa): Likewise.
3713 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3714 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3716 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3718 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3719 struct La_sh_regs is not constant.
3720 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3721 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3722 and struct La_sparc64_regs are not constant.
3724 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3726 * sysdeps/unix/sysv/linux/kernel-features.h
3727 (__ASSUME_POSIX_TIMERS): Remove.
3728 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3729 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3730 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3731 Make code unconditional.
3732 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3733 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3734 Make code unconditional.
3735 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3736 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3737 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3738 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3739 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3740 Make code unconditional.
3741 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3742 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3743 (__libc_missing_posix_timers): Remove.
3745 2012-08-15 Roland McGrath <roland@hack.frob.com>
3747 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3748 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3750 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3752 * elf/dl-sym.c: Include <stdlib.h>.
3754 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3755 constants, which avoids warnings in 32-bit builds.
3757 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3758 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3760 * misc/lseek.c: File moved to ...
3761 * io/lseek.c: ... here.
3763 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3765 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3766 shifting LEN more than 31 bits at once.
3768 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3771 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3772 segmentation fault for a case of two empty input strings.
3773 * string/test-strncasecmp.c (check1): Renamed to...
3775 (bz14195): Add new testcase for two empty input strings and N > 0.
3776 (test_main): Call new testcase, adapt for renamed function.
3778 2012-08-15 Andreas Jaeger <aj@suse.de>
3781 * crypt/md5test2.c: New test, based on test supplied by Serge
3782 Belyshev <belyshev@depni.sinp.msu.ru>.
3783 * crypt/Makefile (xtests): Add md5test-giant..
3784 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3786 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3789 * crypt/md5.c (md5_process_block): Don't assume the buffer
3790 length is less than 2**32.
3791 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3792 length is less than 2**64.
3794 2012-08-15 Roland McGrath <roland@hack.frob.com>
3796 * string/str-two-way.h: Include <sys/param.h>.
3797 (MAX): Macro removed.
3799 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3800 Move #define and #undef of memmove to just before and after
3801 including <string.h>.
3803 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3804 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3805 and after including <string.h>. Move declarations of
3806 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3807 to before #include "string/memmove.c".
3809 * include/dirent.h: Declare __getdirentries.
3811 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3812 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3814 2012-08-14 Mike Frysinger <vapier@gentoo.org>
3816 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3817 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3818 * sysdeps/i386/configure: Regenerated.
3819 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3820 STABS_CURRENT_FILE, and STABS_FUN.
3821 (END): Remove call to STABS_FUN_END.
3822 (STABS_CURRENT_FILE1): Delete.
3823 (STABS_CURRENT_FILE): Likewise.
3824 (STABS_FUN): Likewise.
3825 (STABS_FUN_END): Likewise.
3826 (STABS_FUN2): Likewise.
3827 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3828 * sysdeps/x86_64/configure: Regenerated.
3830 2012-08-14 Roland McGrath <roland@hack.frob.com>
3832 * elf/dl-open.c: Include <atomic.h>.
3833 * elf/dl-lookup.c: Likewise.
3835 2012-08-14 Joseph Myers <joseph@codesourcery.com>
3837 * sysdeps/unix/sysv/linux/kernel-features.h
3838 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3839 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3841 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3843 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3844 condition on __ASSUME_CLONE_THREAD_FLAGS.
3846 2012-08-14 Andreas Jaeger <aj@suse.de>
3848 * sysdeps/i386/fpu/libm-test-ulps: Update.
3850 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3852 * include/atomic.h (atomic_exchange_and_add): Split into ...
3853 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3856 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3860 2012-08-13 Jeff Law <law@redhat.com>
3862 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3863 null byte in the output string.
3865 2012-08-10 Joseph Myers <joseph@codesourcery.com>
3867 * sysdeps/unix/sysv/linux/kernel-features.h
3868 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3869 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3870 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3871 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3872 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3873 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3874 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3876 2012-08-09 Jeff Law <law@redhat.com>
3879 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3880 When avoid_arena is set, don't retry in the that arena. Pick the
3881 next one, whatever it might be.
3882 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3883 (arena_lock): Pass in new parameter to arena_get2.
3884 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3886 (__libc_malloc): Unify retrying after main arena failure with
3887 __libc_memalign version.
3888 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3890 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3893 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3894 to __redirect_strstr.
3895 (__strstr_sse42): Use typeof __redirect_strstr.
3896 (__strstr_ia32): Likewise.
3897 (__libc_strstr): New prototype.
3898 (strstr): Renamed to ...
3899 (__libc_strstr): This.
3900 (strstr): New strong alias of __libc_strstr.
3901 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3902 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3905 (__libc_time): New prototype.
3906 (time_ifunc): Replace time with __libc_time.
3907 (time): New strong alias and hidden definition of __libc_time.
3908 (__GI_time): Remove strong alias.
3909 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3911 (memmove): Redefined to __redirect_memmove.
3912 (__memmove_sse2): Use typeof __redirect_memmove.
3913 (__memmove_ssse3): Likewise.
3914 (__memmove_ssse3_back): Likewise.
3915 (__libc_memmove): New prototype.
3916 (memmove): Renamed to ...
3917 (__libc_memmove): This.
3918 (memmove): New strong alias of __libc_memmove.
3920 2012-08-08 Mark Salter <msalter@redhat.com>
3923 (R_MN10300_TLS_GD): Define.
3924 (R_MN10300_TLS_LD): Likewise.
3925 (R_MN10300_TLS_LDO): Likewise.
3926 (R_MN10300_TLS_GOTIE): Likewise.
3927 (R_MN10300_TLS_IE): Likewise.
3928 (R_MN10300_TLS_LE): Likewise.
3929 (R_MN10300_TLS_DTPMOD): Likewise.
3930 (R_MN10300_TLS_DTPOFF): Likewise.
3931 (R_MN10300_TLS_TPOFF): Likewise.
3932 (R_MN10300_SYM_DIFF): Likewise.
3933 (R_MN10300_ALIGN): Likewise.
3934 (R_MN10300_NUM): Update.
3936 2012-08-08 Joseph Myers <joseph@codesourcery.com>
3938 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3941 2012-08-08 Roland McGrath <roland@hack.frob.com>
3943 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3945 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3946 sysdeps/unix -> sysdeps/posix move.
3947 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3949 2012-08-07 Allan McRae <allan@archlinux.org>
3952 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3953 (SUNOS_CPP): Likewise.
3954 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3956 (open_input): Call CPP using execvp.
3958 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3960 * sysdeps/unix/sysv/linux/kernel-features.h
3961 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3962 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3963 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3964 (__ASSUME_WAITID_SYSCALL): Likewise.
3965 * sysdeps/unix/sysv/linux/dl-execstack.c
3966 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3968 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3970 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3971 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3972 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3974 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3976 [__ASSUME_WAITID_SYSCALL]: Likewise.
3977 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3979 2012-08-07 Roland McGrath <roland@hack.frob.com>
3981 * sysdeps/unix/closedir.c: Renamed to ...
3982 * sysdeps/posix/closedir.c: ... here.
3983 * sysdeps/unix/dirfd.c: Renamed to ...
3984 * sysdeps/posix/dirfd.c: ... here.
3985 * sysdeps/unix/dirstream.h: Renamed to ...
3986 * sysdeps/posix/dirstream.h: ... here.
3987 * sysdeps/unix/fdopendir.c: Renamed to ...
3988 * sysdeps/posix/fdopendir.c: ... here.
3989 * sysdeps/unix/opendir.c: Renamed to ...
3990 * sysdeps/posix/opendir.c: ... here.
3991 * sysdeps/unix/readdir.c: Renamed to ...
3992 * sysdeps/posix/readdir.c: ... here.
3993 * sysdeps/unix/readdir_r.c: Renamed to ...
3994 * sysdeps/posix/readdir_r.c: ... here.
3995 * sysdeps/unix/rewinddir.c: Renamed to ...
3996 * sysdeps/posix/rewinddir.c: ... here.
3997 * sysdeps/unix/seekdir.c: Renamed to ...
3998 * sysdeps/posix/seekdir.c: ... here.
3999 * sysdeps/unix/telldir.c: Renamed to ...
4000 * sysdeps/posix/telldir.c: ... here.
4001 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4002 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4003 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4004 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4006 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4007 * bits/fcntl.h: ... here.
4009 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4011 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4012 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4013 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4014 (struct flock): Move l_start, l_len to the beginning.
4015 Use __pid_t for l_pid.
4016 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4017 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4018 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4019 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4020 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4021 [__USE_LARGEFILE64] (struct flock64): New type.
4022 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4024 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4025 * bits/dirent.h: ... here.
4027 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4028 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4030 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4032 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4033 Change from 2.6.0 to 2.6.16.
4034 * sysdeps/unix/sysv/linux/configure: Regenerated.
4035 * sysdeps/unix/sysv/linux/kernel-features.h
4036 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4037 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4039 (__ASSUME_UTIMES): Likewise.
4040 (__ASSUME_CLONE_STOPPED): Remove.
4041 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4042 architectures, not kernel version.
4043 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4044 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4045 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4046 (__ASSUME_WAITID_SYSCALL): Likewise.
4047 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4048 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4049 * README: State 2.6.16 as minimum Linux kernel version. Do not
4050 refer to older versions.
4052 2012-08-06 Roland McGrath <roland@hack.frob.com>
4054 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4055 Define alphasort64 as an alias.
4056 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4057 Define versionsort64 as an alias.
4058 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4059 Define scandir64 as an alias.
4060 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4061 Define scandirat64 as an alias.
4062 * dirent/alphasort64.c (alphasort64):
4063 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4064 * dirent/versionsort64.c: Likewise.
4065 * dirent/scandir64.c: Likewise.
4066 * dirent/scandirat64.c: Likewise.
4067 * sysdeps/wordsize-64/alphasort.c: File removed.
4068 * sysdeps/wordsize-64/alphasort64.c: File removed.
4069 * sysdeps/wordsize-64/scandir.c: File removed.
4070 * sysdeps/wordsize-64/scandir64.c: File removed.
4071 * sysdeps/wordsize-64/scandirat.c: File removed.
4072 * sysdeps/wordsize-64/scandirat64.c: File removed.
4073 * sysdeps/wordsize-64/versionsort.c: File removed.
4074 * sysdeps/wordsize-64/versionsort64.c: File removed.
4075 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4076 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4077 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4078 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4079 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4080 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4081 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4084 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4086 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4088 [defined __arch64__ || defined __sparcv9]
4089 (__INO_T_MATCHES_INO64_T): New macro.
4090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4091 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4092 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4093 * sysdeps/unix/sysv/linux/bits/dirent.h
4094 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4095 (_DIRENT_MATCHES_DIRENT64): New macro.
4097 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4098 Define lockf64 as an alias.
4099 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4100 Define fseeko64 as an alias.
4101 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4102 Define ftello64 as an alias.
4103 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4104 Define _IO_fgetpos64 and fgetpos64 as aliases.
4105 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4106 Define _IO_fsetpos64 and fsetpos64 as aliases.
4107 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4108 Conditionalize body on this.
4109 * libio/fseeko64.c: Likewise.
4110 * libio/ftello64.c: Likewise.
4111 * libio/iofgetpos64.c: Likewise.
4112 * libio/iofsetpos64.c: Likewise.
4113 * sysdeps/wordsize-64/lockf.c: File removed.
4114 * sysdeps/wordsize-64/lockf64.c: File removed.
4115 * sysdeps/wordsize-64/fseeko.c: File removed.
4116 * sysdeps/wordsize-64/fseeko64.c: File removed.
4117 * sysdeps/wordsize-64/ftello.c: File removed.
4118 * sysdeps/wordsize-64/ftello64.c: File removed.
4119 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4120 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4121 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4122 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4123 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4124 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4125 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4126 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4127 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4128 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4129 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4130 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4131 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4132 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4134 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4136 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4138 [defined __arch64__ || defined __sparcv9]
4139 (__OFF_T_MATCHES_OFF64_T): New macro.
4140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4141 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4143 (__OFF_T_MATCHES_OFF64_T): New macro.
4145 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4147 * stdlib/secure-getenv.c (__secure_getenv): Replace
4148 GLIBC_2_16 with GLIBC_2_17.
4150 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4152 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4155 2012-08-03 David S. Miller <davem@davemloft.net>
4157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4159 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4161 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4163 (__ASSUME_CORRECT_SI_PID): Likewise.
4164 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4165 (__ASSUME_TMPFS_NAME): Likewise.
4166 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4167 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4168 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4169 (HAVE_AUX_SECURE): Make definition unconditional.
4170 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4171 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4173 2012-08-03 Roland McGrath <roland@hack.frob.com>
4175 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4176 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4177 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4178 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4179 __eloop_threshold instead of SYMLOOP_MAX.
4181 * sysdeps/generic/eloop-threshold.h: New file.
4182 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4184 * elf/chroot_canon.c (chroot_canon): Likewise.
4186 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4190 Change to 2.6.0 everywhere.
4191 * sysdeps/unix/sysv/linux/configure: Regenerated.
4192 * sysdeps/unix/sysv/linux/kernel-features.h
4193 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4194 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4196 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4197 (__ASSUME_FUTEX_REQUEUE): Remove.
4198 (__ASSUME_STATFS64): Define unconditionally.
4199 (__ASSUME_AT_SECURE): Likewise.
4200 (__ASSUME_CORRECT_SI_PID): Likewise.
4201 (__ASSUME_TGKILL): Define without depending on kernel version for
4203 (__ASSUME_UTIMES): Likewise.
4204 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4206 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4207 (__ASSUME_TMPFS_NAME): Likewise.
4208 * README: Update reference to Linux kernel versions.
4210 2012-08-02 Marek Polacek <polacek@redhat.com>
4213 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4214 libc_cv_asm_type_prefix with %.
4215 * configure: Regenerated.
4216 * include/libc-symbols.h: Remove comment about
4217 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4218 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4219 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4220 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4221 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4222 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4223 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4224 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4225 * elf/tst-unique2mod1.c: Likewise.
4226 * elf/tst-unique1mod2.c: Likewise.
4227 * elf/tst-unique1mod1.c: Likewise.
4228 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4229 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4230 Replace ASM_TYPE_DIRECTIVE with .type.
4231 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4232 * sysdeps/i386/sysdep.h: Likewise.
4233 * sysdeps/x86_64/sysdep.h: Likewise.
4234 * sysdeps/sh/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4236 Do not define ASM_TYPE_DIRECTIVE.
4237 * sysdeps/powerpc/sysdep.h: Likewise.
4238 * sysdeps/powerpc/powerpc32/sysdep.h:
4239 Replace ASM_TYPE_DIRECTIVE with .type.
4240 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4241 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4242 * sysdeps/i386/fpu/e_powf.S: Likewise.
4243 * sysdeps/i386/fpu/e_expl.S: Likewise.
4244 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4245 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4246 * sysdeps/i386/fpu/e_pow.S: Likewise.
4247 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4248 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4249 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4250 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4251 * sysdeps/i386/fpu/e_log2.S: Likewise.
4252 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4253 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4254 * sysdeps/i386/fpu/e_powl.S: Likewise.
4255 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4256 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4257 * sysdeps/i386/fpu/e_logl.S: Likewise.
4258 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4259 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4260 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4262 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4263 * sysdeps/i386/fpu/e_log.S: Likewise.
4264 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4265 * sysdeps/i386/fpu/e_logf.S: Likewise.
4266 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4268 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4269 * sysdeps/i386/fpu/e_log10.S: Likewise.
4270 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4271 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4272 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4273 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4274 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4276 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4277 * sysdeps/i386/i686/strtok.S: Likewise.
4278 * sysdeps/i386/i386-mcount.S: Likewise.
4279 * sysdeps/i386/strtok.S: Likewise.
4280 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4281 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4282 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4284 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4285 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4286 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4287 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4288 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4289 * sysdeps/x86_64/_mcount.S: Likewise.
4290 * sysdeps/x86_64/strtok.S: Likewise.
4291 * sysdeps/sh/_mcount.S: Likewise.
4293 2012-08-01 Roland McGrath <roland@hack.frob.com>
4295 * libio/iofopen.c: Include <fcntl.h>.
4296 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4297 (_IO_fopen64, fopen64): Define as aliases.
4298 * libio/iofopen64.c: Include <fcntl.h>.
4299 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4300 Conditionalize body on this.
4301 * sysdeps/wordsize-64/iofopen.c: File removed.
4302 * sysdeps/wordsize-64/iofopen64.c: File removed.
4304 2012-08-01 Marek Polacek <polacek@redhat.com>
4306 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4307 Use dlfcn directly instead of a variable.
4308 (binfmt-subdir): Do not define.
4311 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4314 Remove all definitions.
4315 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4316 <kernel-features.h>.
4317 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4318 (miss_F_GETOWN_EX): Remove all definitions.
4319 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4321 [!__ASSUME_FCNTL64]: Remove conditional code.
4322 [__ASSUME_FCNTL64]: Make code unconditional.
4323 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4324 <kernel-features.h>.
4325 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4326 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4327 (lockf64) [__NR_fcntl64]: Make code unconditional.
4328 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4330 * sysdeps/unix/sysv/linux/kernel-features.h
4331 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4332 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4333 Make code unconditional.
4334 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4335 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4337 [__NR_vfork]: Make code unconditional.
4338 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4339 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4341 [__NR_vfork]: Make code unconditional.
4342 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4343 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4345 2012-08-01 Roland McGrath <roland@hack.frob.com>
4347 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4348 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4350 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4351 Define mkstemp64 as an alias.
4352 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4353 Define mkstemps64 as an alias.
4354 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4355 Define mkostemp64 as an alias.
4356 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4357 Define mkostemps64 as an alias.
4358 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4359 Conditionalize body on this.
4360 * misc/mkostemp64.c: Likewise.
4361 * misc/mkostemps64.c: Likewise.
4362 * misc/mkstemps64.c: Likewise.
4363 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4364 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4365 * sysdeps/wordsize-64/mkostemp.c: File removed.
4366 * sysdeps/wordsize-64/mkstemp.c: File removed.
4367 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4368 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4369 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4370 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4373 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4374 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4375 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4376 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4378 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4379 compat_symbol macros from <shlib-compat.h> rather than the underlying
4380 default_symbol_version and symbol_version macros, so that DEFAULT
4381 lines in shlib-versions are respected.
4382 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4384 2012-08-01 Florian Weimer <fweimer@redhat.com>
4386 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4387 Declare with warn_unused_result.
4388 (setgid, setregid, setegid, setresgid): Likewise.
4389 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4391 * WUR-REPORT: Remove set*id functions.
4393 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4395 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4397 2012-07-31 Roland McGrath <roland@hack.frob.com>
4399 * include/sys/socket.h (__libc_accept, __libc_accept4):
4400 Add attribute_hidden.
4401 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4403 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4405 * inet/getnetgrent_r.c (setup): Likewise.
4407 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4409 2012-07-31 David S. Miller <davem@davemloft.net>
4411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4413 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4416 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4417 value between 1.0 and 2.0 and smaller part has absolute value less
4419 * math/s_clog10.c (__clog10): Likewise.
4420 * math/s_clog10f.c (__clog10f): Likewise.
4421 * math/s_clog10l.c (__clog10l): Likewise.
4422 * math/s_clogf.c (__clogf): Likewise.
4423 * math/s_clogl.c (__clogl): Likewise.
4424 * math/libm-test.inc (clog_test): Add more tests.
4425 (clog10_test): Likewise.
4426 * sysdeps/i386/fpu/libm-test-ulps: Update.
4427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4429 2012-07-31 Florian Weimer <fweimer@redhat.com>
4431 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4432 Exit with zero in case no suitable GID is found, and write a
4433 message to standard error.
4435 2012-07-30 Roland McGrath <roland@hack.frob.com>
4437 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4439 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4440 (MAXPATHLEN): Removed.
4441 (NOGROUP, NODEV): New macros.
4442 (setbit, clrbit, isset, isclr): New macros.
4443 (howmany, roundup, powerof2): New macros.
4444 (DEV_BSIZE): New macro.
4446 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4447 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4449 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4450 definition on [!__NO_LONG_DOUBLE_MATH].
4452 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4453 PTR_MANGLE and PTR_DEMANGLE.
4455 * socket/accept4.c (accept4): Rename to __libc_accept4.
4456 Define accept4 as a weak alias.
4458 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4459 on [_DIRENT_HAVE_D_TYPE].
4460 * io/ftw.c (ftw_dir): Likewise.
4462 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4464 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4466 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4467 Use the BSD numbers rather than the arbitrary ones we had.
4468 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4469 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4470 (SIGXCPU, SIGXFSZ): New macros.
4473 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4474 initializer on [_LIBC_REENTRANT].
4476 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4477 definitions inside [_POSIX_MAPPED_FILES].
4479 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4481 * dirent/opendir.c: Include <fcntl.h>.
4483 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4484 (__libc_getspecific): Likewise.
4485 (__libc_key_create): Likewise.
4487 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4488 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4489 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4490 (tmpfile64): Define as alias.
4491 * sysdeps/wordsize-64/tmpfile.c: File removed.
4492 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4493 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4494 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4496 * stdio-common/vfscanf.c: Include <stdbool.h>.
4497 * nss/makedb.c: Likewise.
4498 * stdio-common/_i18n_number.h: Likewise.
4499 * argp/argp-help.c: Likewise.
4500 * posix/wordexp.c: Likewise.
4501 * sysdeps/posix/spawni.c: Likewise.
4502 * nss/nss_files/files-initgroups.c: Likewise.
4503 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4504 * nss/nss_files/files-initgroups.c: Likewise.
4505 * nss/nss_db/db-netgrp.c: Likewise.
4506 * nss/nss_db/db-initgroups.c: Likewise.
4507 * io/fchmodat.c: Include <sys/stat.h>.
4509 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4510 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4512 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4515 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4516 Add multiple inclusion protection.
4518 2012-07-27 David S. Miller <davem@davemloft.net>
4520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4522 2012-07-27 Gary Benson <gbenson@redhat.com>
4525 * elf/rtld.c: Include <stap-probe.h>.
4526 (dl_main): Added static probes "init_start" and "init_complete".
4527 * elf/dl-load.c: Include <stap-probe.h>.
4528 (lose): Take new parameter "nsid".
4529 Added static probe "map_failed".
4530 (_dl_map_object_from_fd): Pass namespace id to lose.
4531 Added static probe "map_start".
4532 (open_verify): Pass namespace id to lose.
4533 * elf/dl-open.c: Include <stap-probe.h>.
4534 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4535 and "reloc_complete".
4536 * elf/dl-close.c: Include <stap-probe.h>.
4537 (_dl_close_worker): Added static probes "unmap_start" and
4539 * elf/rtld-debugger-interface.txt: New file documenting the above.
4541 2012-07-26 Roland McGrath <roland@hack.frob.com>
4543 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4544 rather than a string variable.
4545 * sunrpc/rpc_main.c (h_output): Likewise.
4546 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4548 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4550 * inet/check_native.c: New file.
4552 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4555 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4556 if larger part has absolute value 1.0.
4557 * math/s_clog10.c (__clog10): Likewise.
4558 * math/s_clog10f.c (__clog10f): Likewise.
4559 * math/s_clog10l.c (__clog10l): Likewise.
4560 * math/s_clogf.c (__clogf): Likewise.
4561 * math/s_clogl.c (__clogl): Likewise.
4562 * math/libm-test.inc (clog_test): Add more tests.
4563 (clog10_test): Likewise.
4564 * sysdeps/i386/fpu/libm-test-ulps: Update.
4565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4567 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4568 (pltexit): Likewise.
4569 (La_regs): Likewise.
4570 (La_retval): Likewise.
4571 (int_retval): Likewise.
4572 Update #error for removed macros to refer only to definitions in
4574 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4576 (pltexit): Likewise.
4577 (La_regs): Likewise.
4578 (La_retval): Likewise.
4579 (int_retval): Likewise.
4580 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4582 (pltexit): Likewise.
4583 (La_regs): Likewise.
4584 (La_retval): Likewise.
4585 (int_retval): Likewise.
4586 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4588 (pltexit): Likewise.
4589 (La_regs): Likewise.
4590 (La_retval): Likewise.
4591 (int_retval): Likewise.
4592 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4594 (pltexit): Likewise.
4595 (La_regs): Likewise.
4596 (La_retval): Likewise.
4597 (int_retval): Likewise.
4598 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4600 (pltexit): Likewise.
4601 (La_regs): Likewise.
4602 (La_retval): Likewise.
4603 (int_retval): Likewise.
4604 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4606 (pltexit): Likewise.
4607 (La_regs): Likewise.
4608 (La_retval): Likewise.
4609 (int_retval): Likewise.
4610 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4611 macro definitions in tst-audit.h.
4612 * sysdeps/i386/tst-audit.h: New file.
4613 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4614 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4615 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4616 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4617 * sysdeps/sh/tst-audit.h: Likewise.
4618 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4619 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4620 * sysdeps/x86_64/tst-audit.h: Likewise.
4622 2012-07-26 Andreas Jaeger <aj@suse.de>
4624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4627 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4628 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4629 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4631 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4632 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4633 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4635 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4638 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4640 (si_call_addr, si_syscall, si_arch): Define new macro.
4641 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4643 (si_call_addr, si_syscall, si_arch): Define new marcro.
4644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4646 (si_call_addr, si_syscall, si_arch): Define new macro.
4647 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4649 (si_call_addr, si_syscall, si_arch): Define new macro.
4651 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4655 Change to 2.4.21 where previously 2.4.1.
4656 * sysdeps/unix/sysv/linux/configure: Regenerated.
4657 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4658 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4659 Linux kernel version.
4660 (__ASSUME_STD_AUXV): Remove.
4661 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4663 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4664 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4665 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4666 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4667 (__ASSUME_NETLINK_SUPPORT): Likewise.
4668 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4669 (__no_netlink_support): Remove conditional definition.
4670 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4672 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4673 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4674 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4675 (if_nameindex_ioctl): Remove.
4676 (if_nameindex_netlink): Do not handle __no_netlink_support.
4677 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4679 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4680 Remove conditional code.
4681 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4683 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4685 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4686 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4687 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4689 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4690 [!__ASSUME_STD_AUXV]: Remove conditional code.
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4692 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4693 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4695 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4696 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4698 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4700 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4701 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4703 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4705 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4708 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4711 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4713 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4715 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4717 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4720 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4722 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4725 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4727 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4729 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4731 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4734 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4736 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4738 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4740 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4743 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4745 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4746 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4747 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4748 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4749 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4750 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4751 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4752 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4753 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4754 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4755 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4756 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4757 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4758 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4759 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4760 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4761 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4762 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4763 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4765 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4766 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4769 2012-07-25 Florian Weimer <fweimer@redhat.com>
4771 * Versions.def: Add GLIBC_2.17.
4772 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4773 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4774 Introduce __libc_secure_getenv.
4775 * stdlib/Versions (2.17): Add secure_getenv
4776 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4777 * stdlib/secure-getenv.c: Rename __secure_getenv to
4778 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4779 symbol __secure_getenv for GLIBC_2.0.
4780 * stdlib/tst-secure-getenv.c: New.
4781 * stdlib/Makefile (tests): Add testcase.
4782 * manual/startup.texi (Environment Access): Document
4784 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4785 __libc_secure_getenv.
4786 * inet/ruserpass.c (ruserpass): Likewise.
4787 * malloc/mtrace.c (mtrace): Likewise.
4788 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4789 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4790 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4791 * sysdeps/posix/tempname.c: Likewise. Evaluate
4793 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4794 __secure_getenv to __libc_secure_getenv.
4795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4808 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4810 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4811 (struct La_i86_retval): Likewise.
4812 (struct La_x86_64_regs): Likewise.
4813 (struct La_x86_64_retval): Likewise.
4814 (struct La_x32_regs): Likewise.
4815 (struct La_x32_retval): Likewise.
4816 (struct La_ppc32_regs): Likewise.
4817 (struct La_ppc32_retval): Likewise.
4818 (struct La_ppc64_regs): Likewise.
4819 (struct La_ppc64_retval): Likewise.
4820 (struct La_sh_regs): Likewise.
4821 (struct La_sh_retval): Likewise.
4822 (struct La_s390_32_regs): Likewise.
4823 (struct La_s390_32_retval): Likewise.
4824 (struct La_s390_64_regs): Likewise.
4825 (struct La_s390_64_retval): Likewise.
4826 (struct La_sparc32_regs): Likewise.
4827 (struct La_sparc32_retval): Likewise.
4828 (struct La_sparc64_regs): Likewise.
4829 (struct La_sparc64_retval): Likewise.
4830 (struct audit_ifaces): Remove architecture-specific pltenter and
4832 * sysdeps/i386/ldsodefs.h: New file.
4833 * sysdeps/powerpc/ldsodefs.h: Likewise.
4834 * sysdeps/s390/ldsodefs.h: Likewise.
4835 * sysdeps/sh/ldsodefs.h: Likewise.
4836 * sysdeps/sparc/ldsodefs.h: Likewise.
4837 * sysdeps/x86_64/ldsodefs.h: Likewise.
4839 2012-07-25 Marek Polacek <polacek@redhat.com>
4842 * math/libm-test.inc (yn_test): Add another test.
4843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4844 to ERANGE when the result is +-Inf.
4845 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4846 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4847 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4848 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4850 2012-07-24 Joseph Myers <joseph@codesourcery.com>
4852 * conform/data/time.h-data (NULL): Use macro-constant. Require
4854 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4856 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4858 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4860 * configure.in <sysdeps resolving>: Correct printing
4862 * configure: Regenerate.
4864 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4866 * math/w_ilogb.c: Include <limits.h>.
4867 * math/w_ilogbl.c: Likewise.
4869 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4871 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4872 va_copy. Document allowing for unavailable va_copy only as
4873 pre-C99 compatibility.
4874 * manual/string.texi (Copying and Concatenation): Use va_copy
4875 instead of __va_copy in concat example.
4877 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4879 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4880 (__sendto): Use create_address_port. Initialize APORT and deallocate
4883 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4884 with O_NOLINK passed to __file_name_lookup.
4886 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4887 with O_NOLINK passed to __file_name_lookup.
4889 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4890 negative N or less than NGIDS.
4892 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4893 type to string_t. Set ERANGE as errno and return it if NAME is not big
4894 enough. Use memcpy instead of strncpy.
4896 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4898 * elf/Makefile (check-data): Remove.
4899 (localplt.data): New vpath directive.
4900 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4901 instead of $(check-data).
4902 * scripts/data/localplt-generic.data: Move to ...
4903 * sysdeps/generic/localplt.data: ... here.
4904 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4905 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4906 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4909 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4912 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4915 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4918 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4921 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4925 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4927 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4928 PPC32 and PPC64 files.
4929 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4930 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4932 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4934 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4935 __makecontext_ret to ...
4936 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4937 ... here and call exit if uc_link is NULL. New file.
4938 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4939 __makecontext_ret.S.
4940 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4941 __makecontext_ret to ...
4942 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4943 ... here and call exit if uc_link is NULL. New file.
4944 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4945 __makecontext_ret.S.
4947 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4949 * elf/elf.h (R_390_IRELATIVE): New definition.
4950 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4951 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4952 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4953 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4954 (elf_machine_lazy_rel): Likewise.
4955 * sysdeps/s390/dl-irel.h: New file.
4956 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4957 * sysdeps/s390/s390-64/memset.S: New asm code.
4958 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4959 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4960 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4961 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4962 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4963 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4964 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4965 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4966 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4967 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4968 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4969 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4970 * sysdeps/s390/s390-32/memset.S: New asm code.
4971 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4973 2012-07-17 Marek Polacek <polacek@redhat.com>
4976 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4977 * sysdeps/s390/s390-64/configure.in: Likewise.
4978 * sysdeps/sparc/configure.in: Likewise.
4979 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4980 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4981 * sysdeps/i386/configure.in: Likewise.
4982 * sysdeps/x86_64/configure.in: Likewise.
4983 * sysdeps/sh/configure.in: Likewise.
4984 * sysdeps/s390/s390-32/configure: Regenerated.
4985 * sysdeps/s390/s390-64/configure: Likewise.
4986 * sysdeps/x86_64/configure: Likewise.
4987 * sysdeps/sh/configure: Likewise.
4988 * sysdeps/powerpc/powerpc64/configure: Likewise.
4989 * sysdeps/powerpc/powerpc32/configure: Likewise.
4990 * sysdeps/sparc/configure: Likwise.
4991 * sysdeps/i386/configure: Likewise.
4993 * elf/dl-open.c: Comment fixes.
4995 2012-07-17 Joseph Myers <joseph@codesourcery.com>
4997 * Makefile [CXX] (check-data): Remove.
4998 [CXX] (c++-types.data): New vpath directive.
4999 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5000 vpath. Do not allow for C++ type data being missing.
5001 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5002 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5003 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5004 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5005 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5006 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5007 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5010 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5013 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5016 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5019 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5022 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5025 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5028 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5031 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5032 definitions to architecture-specific files.
5036 * sysdeps/i386/tls-macros.h: New file.
5037 * sysdeps/powerpc/tls-macros.h: Likewise.
5038 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5039 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5040 * sysdeps/sh/tls-macros.h: Likewise.
5041 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5042 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5043 * sysdeps/x86_64/tls-macros.h: Likewise.
5045 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5047 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5048 zero value for regular exit case.
5050 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5051 (__start_context): Preserve zero value for regular exit case.
5053 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5054 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5056 * manual/setjmp.texi (setcontext): Clarify normal process
5057 termination when uc_link is the null pointer.
5058 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5061 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5063 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5064 preprocessor. Test for each exception mask separately.
5066 2012-07-16 Andreas Jaeger <aj@suse.de>
5068 * po/ru.po: Update from translation team.
5070 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5072 * conform/data/string.h-data (NULL): Use macro-constant. Require
5074 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5075 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5076 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5077 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5078 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5080 2012-07-13 Andreas Jaeger <aj@suse.de>
5082 * po/fr.po: Update from translation team.
5084 2012-07-12 Marek Polacek <polacek@redhat.com>
5087 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5088 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5091 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5094 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5095 Change to 2.4.1 where previously 2.4.0.
5096 * sysdeps/unix/sysv/linux/configure: Regenerated.
5097 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5098 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5100 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5101 (__ASSUME_AT_CLKTCK): Remove.
5102 (__ASSUME_AT_PAGESIZE): Likewise.
5103 (__ASSUME_AT_XID): Likewise.
5104 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5105 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5106 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5108 (HAVE_AUX_PAGESIZE): Likewise.
5109 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5110 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5111 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5113 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5117 the temporary buffer used to invoke __gethostbyname2_r,
5118 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5119 host_data / struct gaih_addrtuple.
5120 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5121 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5122 header file nss/nsswitch.h.
5123 * nss/nsswitch.h (global scope): Add definition of implementation
5124 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5125 resolv/nss_dns/dns-host.c).
5127 2012-07-11 Andreas Jaeger <aj@suse.de>
5129 * po/fr.po: Update from translation team.
5131 * po/sv.po: Update from translation team
5132 * po/fr.po: Another update from translation team.
5134 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5136 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5137 for subnormals or multiply small sinh result by itself.
5138 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5141 2012-07-11 David S. Miller <davem@davemloft.net>
5143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5145 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5148 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5149 (INTERNAL_MARK): Shift it here.
5151 2012-07-10 Marek Polacek <polacek@redhat.com>
5154 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5155 libc_cv_asm_global_directive with .globl.
5156 * configure: Regenerated.
5157 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5159 * sysdeps/i386/configure: Regenerated.
5160 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5162 * sysdeps/x86_64/configure: Regenerated.
5163 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5164 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5165 * elf/tst-unique2mod2.c: Likewise.
5166 * elf/tst-unique2mod1.c: Likewise.
5167 * elf/tst-unique1mod2.c: Likewise.
5168 * elf/tst-unique1mod1.c: Likewise.
5169 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5170 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5172 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5173 * sysdeps/mach/sysdep.h: Likewise.
5174 * sysdeps/i386/sysdep.h: Likewise.
5175 * sysdeps/i386/i386-mcount.S: Likewise.
5176 * sysdeps/x86_64/_mcount.S: Likewise.
5177 * sysdeps/x86_64/sysdep.h: Likewise.
5178 * sysdeps/sh/_mcount.S: Likewise.
5179 * sysdeps/sh/sysdep.h: Likewise.
5180 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5181 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5182 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5183 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5184 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5185 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5186 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5187 * locale/localeinfo.h: Likewise.
5188 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5189 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5191 2012-07-09 Roland McGrath <roland@hack.frob.com>
5194 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5196 * manual/message.texi (The Uniforum approach): Likewise.
5197 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5198 (glibc iconv Implementation): Likewise.
5200 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5203 * math/s_clog.c (__clog): Avoid scaling a value down where that
5204 could result in underflow.
5205 * math/s_clog10.c (__clog10): Likewise.
5206 * math/s_clog10f.c (__clog10f): Likewise.
5207 * math/s_clog10l.c (__clog10l): Likewise.
5208 * math/s_clogf.c (__clogf): Likewise.
5209 * math/s_clogl.c (__clogl): Likewise.
5210 * math/libm-test.inc (clog_test): Add more tests.
5211 (clog10_test): Likewise.
5212 * sysdeps/i386/fpu/libm-test-ulps: Update.
5213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5215 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5218 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5219 by 7 not 8 to examine high bit of fractional part.
5222 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5223 for call to __mcount_internal.
5224 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5225 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5226 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5228 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5231 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5232 approximation for values within 0x1p-13f of an odd multiple of
5234 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5235 exception. Add more tests.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5239 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5240 inputs and return -1 for them. Do not check for +Inf in case not
5242 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5243 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5244 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5245 and return -1 for them. Do not check for +Inf in case not
5247 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5249 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5250 and return -1 for them. Do not check for +Inf in case not
5252 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5254 * sysdeps/i386/fpu/libm-test-ulps: Update.
5255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5259 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5261 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5265 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5266 could result in spurious underflow. Scale down values above
5267 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5268 * math/s_csqrtf.c (__csqrtf): Likewise.
5269 * math/s_csqrtl.c (__csqrtl): Likewise.
5270 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5272 * sysdeps/i386/fpu/libm-test-ulps: Update.
5273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5275 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5277 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5279 * catgets/xopen-msg.awk: New file.
5280 * catgets/xopen-msg.sed: Removed.
5282 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5284 * intl/po2test.awk: New file.
5285 * intl/po2test.sed: Removed.
5287 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5290 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5291 or multiply small sinh result by itself.
5292 * math/s_ctanf.c (__ctanf): Likewise.
5293 * math/s_ctanh.c (__ctanh): Likewise.
5294 * math/s_ctanhf.c (__ctanhf): Likewise.
5295 * math/s_ctanhl.c (__ctanhl): Likewise.
5296 * math/s_ctanl.c (__ctanl): Likewise.
5297 * math/libm-test.inc (ctan_test_tonearest): New function.
5298 (ctan_test_towardzero): Likewise.
5299 (ctan_test_downward): Likewise.
5300 (ctan_test_upward): Likewise.
5301 (ctanh_test_tonearest): Likewise.
5302 (ctanh_test_towardzero): Likewise.
5303 (ctanh_test_downward): Likewise.
5304 (ctanh_test_upward): Likewise.
5305 (main): Call these new functions.
5306 * sysdeps/i386/fpu/libm-test-ulps: Update.
5307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5309 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5311 * .gitignore: Delete /ports entry.
5313 2012-07-03 Andreas Jaeger <aj@suse.de>
5315 * po/bg.po: Update from translation team.
5316 * po/cs.po: Likewise.
5317 * po/de.po: Likewise.
5318 * po/hr.po: Likewise.
5319 * po/nl.pl: Likewise.
5320 * po/pl.po: Likewise.
5321 * po/vi.po: Likewise.
5323 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5325 * Makeconfig [!+link] (+link-before-libc): New variable.
5326 [!+link] (+link-after-libc): Likewise.
5327 [!+link] (+link-tests): Likewise.
5328 [!+link] (+link): Define in terms of $(+link-before-libc) and
5329 $(+link-after-libc).
5330 [!+link-static] (+link-static-before-libc): New variable.
5331 [!+link-static] (+link-static-after-libc): Likewise.
5332 [!+link-static] (+link-static-tests): Likewise.
5333 [!+link-static] (+link-static): Define in terms of
5334 $(+link-static-before-libc) and $(+link-static-after-libc).
5335 [build-shared] (link-libc-before-gnulib): New variable.
5336 [build-shared] (link-libc-tests): Likewise.
5337 [build-shared] (link-libc): Define in terms of
5338 $(link-libc-before-gnulib).
5339 [!build-shared] (link-libc-tests): New variable.
5340 (link-libc-static-tests): New variable.
5341 [!gnulib] (gnulib-arch): New variable.
5342 [!gnulib] (gnulib-tests): Likewise.
5343 [!gnulib] (static-gnulib-arch): Likewise.
5344 [!gnulib] (static-gnulib-tests): Likewise.
5345 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5346 Define with "=" instead of ":=".
5347 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5348 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5349 * Rules (binaries-all-notests): New variable.
5350 (binaries-all-tests): Likewise.
5351 (binaries-static-notests): Likewise.
5352 (binaries-static-tests): Likewise.
5353 (binaries-all): Define using $(binaries-all-notests) and
5354 $(binaries-all-tests).
5355 (binaries-static): Define using $(binaries-static-notests) and
5356 $(binaries-static-tests).
5357 (binaries-shared-tests): New variable.
5358 (binaries-shared-notests): Likewise.
5359 (binaries-shared): Remove variable.
5360 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5361 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5362 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5363 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5364 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5365 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5366 * elf/Makefile (sln-modules): New variable.
5367 (extra-objs): Add $(sln-modules:=.o).
5368 (ldconfig-modules): Add static-stubs.
5369 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5370 * elf/static-stubs.c: New file.
5373 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5374 by 7 not 8 to examine high bit of fractional part. Use volatile
5375 variables when splitting into final array of floats if
5376 __FLT_EVAL_METHOD__ != 0.
5377 * math/libm-test.inc (cos_test): Add another test.
5378 (sin_test): Likewise.
5379 * sysdeps/i386/fpu/libm-test-ulps: Update.
5382 * math/libm-test.inc (cosh_test): Add more tests.
5384 * version.h (RELEASE): Set to "development".
5385 (VERSION): Set to "2.16.90".
5387 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5389 * NEWS: Update copyright. Remove last-updated date.
5390 Mention math library bug fixes and timezone data changes.
5391 * README: Mention GNU/Hurd, x32, and HPPA support status.
5393 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5395 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5397 2012-06-27 Andreas Jaeger <aj@suse.de>
5399 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5401 2012-06-25 Andreas Jaeger <aj@suse.de>
5403 * sysdeps/s390/fpu/libm-test-ulps: Update.
5405 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5406 Thomas Schwinge <thomas@codesourcery.com>
5408 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5409 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5413 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5415 * sysdeps/mach/start.c: Remove file.
5416 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5417 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5418 * sysdeps/sh/init-first.c: Likewise.
5420 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5421 registers for frame unwinding purposes, add CFI directives.
5422 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5423 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5424 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5427 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5428 __fortify_fail returning.
5429 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5431 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5432 sysdeps/sh/____longjmp_chk.S.
5433 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5434 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5435 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5436 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5438 * sysdeps/sh/abort-instr.h: New file.
5439 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5440 process in case exit returns.
5442 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5443 initialize the GOT register before use.
5445 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5446 calculation of ARGC > 4.
5448 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5449 meaningful names to some local labels.
5451 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5452 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5454 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5455 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5456 (__arch_compare_and_exchange_val_16_acq): Likewise.
5457 (__arch_compare_and_exchange_val_32_acq): Likewise.
5458 (atomic_exchange_and_add): Fix gUSA sequence.
5459 (atomic_add): Likewise.
5460 (atomic_add_negative): Likewise.
5461 (atomic_add_zero): Likewise.
5462 (atomic_bit_test_set): Likewise.
5464 2012-06-22 Andreas Schwab <schwab@redhat.com>
5467 * include/link.h (struct link_map): Add l_free_initfini.
5468 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5470 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5471 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5472 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5475 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5477 * configure.in: Use AC_LANG_SOURCE.
5478 * configure: Regenerate.
5480 2012-06-22 Roland McGrath <roland@hack.frob.com>
5482 * configure.in (libc_cv_localstatedir): New substituted variable.
5483 * configure: Regenerated.
5484 * config.make.in (localstatedir): New variable, substituted from
5485 libc_cv_localstatedir.
5486 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5487 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5488 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5489 * sysdeps/gnu/configure: Regenerated.
5491 2012-06-21 Jeff Law <law@redhat.com>
5494 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5495 free. Simplify list management for _LIBC case.
5497 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5500 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5501 Clear sign bit of 64-bit integer value before comparing against
5504 * sysdeps/mach/configure: Regenerated.
5506 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5509 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5511 2012-06-21 Jeff Law <law@redhat.com>
5514 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5515 uint16_t for elements in the "seen" array to avoid char overflows.
5516 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5517 * elf/dl-open.c (dl_open_worker): Likewise.
5519 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5521 * scripts/list-sources.sh: Scan PORTS for translations.
5522 * po/libc.pot: Regenerated.
5524 2012-06-21 Andreas Jaeger <aj@suse.de>
5527 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5529 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5530 * bits/byteswap-16.h (__bswap_16): Likewise.
5531 * bits/byteswap.h (__bswap_constant_16): Likewise.
5533 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5536 * sysdeps/i386/fpu_control.h: Removed.
5537 * sysdeps/x86_64/fpu_control.h: Moved to ...
5538 * sysdeps/x86/fpu_control.h: Here.
5540 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5541 (_FPU_SETCW): Likewise.
5543 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5546 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5547 * sysdeps/x86/fpu/bits/mathinline.h: This.
5548 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5552 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5553 functions if __x86_64__ is defined.
5555 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5557 * string/endian.h: Add !__ASSEMBLER__ condition for including
5558 conversion interfaces.
5560 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5564 of ABS(x) in calculating zero to negative powers other than odd
5566 * math/libm-test.inc (pow_test): Add more tests.
5568 2012-06-15 Andreas Jaeger <aj@suse.de>
5570 * manual/contrib.texi (Contributors): Update entry of Liubov
5571 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5574 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5576 * string/string.h: Add __wur to GNU version of strerror_r.
5578 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5581 * string/Makefile (tests): Add tst-strtok_r.
5582 * string/tst-strtok_r.c: New file.
5583 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5584 RAX_LP/RDX_LP on SAVE_PTR.
5586 2012-06-14 Roland McGrath <roland@hack.frob.com>
5588 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5590 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5592 * libm_test.inc (csqrt_test): Allow more spurious underflow
5594 (j0_test): Likewise.
5595 (j1_test): Likewise.
5596 (y0_test): Likewise.
5597 (y1_test): Likewise.
5599 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5601 * po/Makefile (libc.pot): Use UTF-8 charset.
5603 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5606 Suppress sign-conversion warning from FD_SET.
5607 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5608 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5609 not unsigned long int.
5610 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5612 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5616 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5617 __extern_always_inline instead of __extern_inline.
5618 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5619 (__signbit): Likewise.
5620 (__signbitl): Support C++ namespace.
5621 (lrintf): New inline function.
5623 (llrintf): Likewise.
5635 (nearbyint): Likewise.
5636 (nearbyintf): Likewise.
5638 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5640 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5641 non-default versions.
5643 2012-06-11 Roland McGrath <roland@hack.frob.com>
5646 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5648 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5650 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5651 (FE_UPWARD, FE_DOWNWARD): Don't define.
5652 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5653 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5655 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5657 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5658 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5660 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5662 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5664 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5665 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5667 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5670 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5671 * sysdeps/i386/fpu/Implies: New file.
5672 * sysdeps/x86_64/fpu/Implies: Likewise.
5673 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5674 * sysdeps/x86/fpu/bits/fenv.h: This.
5676 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5679 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5682 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5683 character 0xffff that matches the last element of the
5686 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5691 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5694 values higher than 25.6283.
5696 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5699 subnormal exponent extraction and add some __builtin_expect.
5700 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5701 Fix for subnormal mantissa calculation.
5703 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5705 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5706 cpu2 is -1 and errno is not ENOSYS.
5708 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5711 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5712 * sysdeps/x86/bits/string.h: This.
5713 * sysdeps/x86_64/bits/string.h: Removed.
5715 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5716 if not compiling for x86-64, but compiling for >= i486.
5718 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5719 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5721 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5722 New macro from Linux kernel 3.4.0.
5723 (FP_XSTATE_MAGIC2): Likewise.
5724 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5725 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5726 (struct _fpx_sw_bytes): New struct.
5727 (struct _xsave_hdr): Likewise.
5728 (struct _ymmh_state): Likewise.
5729 (struct _xstate): Likewise.
5731 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5732 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5733 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5734 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5735 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5736 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5738 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5739 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5740 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5741 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5742 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5743 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5745 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5748 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5749 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5750 (sysdep_headers): Include sys/platform/ppc.h.
5751 * sysdeps/powerpc/test-gettimebase.c: Test for
5752 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5753 * manual/Makefile (appendices): Include platform.texi.
5754 * manual/contrib.texi (Contributors): Update @node pointers.
5755 * manual/maint.texi (Maintenance): Likewise.
5756 (Platform): New node.
5757 * manual/platform.texi: New file. Document the new features.
5759 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5760 Jakub Jelinek <jakub@redhat.com>
5763 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5764 where __builtin_expect is unavailable.
5766 2012-06-03 David S. Miller <davem@davemloft.net>
5768 * stdlib/longlong.h: Updated from GCC.
5770 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5773 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5774 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5777 (GLIBC_2.16): Likewise.
5779 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5781 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5783 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5786 (default-abi): New variable.
5787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5788 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5790 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5792 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5794 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5797 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5798 definition. Document in comment.
5800 2012-06-01 David S. Miller <davem@davemloft.net>
5802 * stdlib/longlong.h: Updated from GCC.
5804 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5807 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5808 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5809 sys/debugreg.h sys/io.h here.
5810 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5811 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5813 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5814 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5815 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5816 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5817 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5818 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5820 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5821 Define only if __x86_64__ is defined.
5823 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5826 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5827 Use int64_t for variable i.
5828 * math/libm-test.inc (fmod_test): Add more tests.
5830 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5831 z computation is not scheduled after fetestexcept.
5832 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5833 Use math_force_eval instead of asm to ensure calculation scheduled
5834 before exception test.
5835 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5836 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5838 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5841 computation is not scheduled after fetestexcept.
5843 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5846 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5847 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5849 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5851 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5852 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5854 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5857 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5859 (__WCHAR_MIN): Support __WORDSIZE == 64.
5860 (__WCHAR_MAX): Likewise.
5862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5866 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5867 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5870 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5871 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5873 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5874 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5876 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5877 Defined to 1 if __x86_64__ isn't defined.
5878 (_STAT_VER_LINUX_OLD): New.
5879 (st_atime): Remove duplicate.
5880 (st_mtime): Likewise.
5881 (st_ctime): Likewise.
5883 2012-05-31 David S. Miller <davem@davemloft.net>
5885 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5888 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5890 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5894 * elf/dl-reloc.c: Include <_itoa.h>.
5895 (_dl_reloc_bad_type): Remove use of INTUSE.
5896 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5897 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5898 * stdio-common/psiginfo.c (psiginfo): Likewise.
5899 * stdio-common/psignal.c (psignal): Likewise.
5900 * string/strsignal.c (strsignal): Likewise.
5901 * include/signal.h (_sys_siglist): Declare hidden proto.
5902 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5903 INTVARDEF with libc_hidden_data_def.
5904 * stdio-common/itoa-udigits.c: Likewise.
5905 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5906 (_itoa_lower_digits_internal): Remove declaration.
5907 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5908 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5909 (_sys_sigabbrev_internal): Remove aliases.
5910 (_sys_siglist): Define hidden alias.
5912 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5917 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5920 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5921 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5923 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5924 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5925 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5926 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5927 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5928 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5930 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5931 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5932 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5934 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5942 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5943 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5944 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5946 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5947 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5948 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5949 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5950 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5951 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5953 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5954 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5956 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5957 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5961 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5963 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5964 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5966 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5968 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5969 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5970 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5972 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5974 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5976 2012-05-31 Joseph Myers <joseph@codesourcery.com>
5978 * math/math.h (M_El): Use two more decimal places.
5979 (M_LOG2El): Likewise.
5980 (M_LOG10El): Likewise.
5982 (M_LN10l): Likewise.
5984 (M_PI_2l): Likewise.
5985 (M_PI_4l): Likewise.
5986 (M_1_PIl): Likewise.
5987 (M_2_PIl): Likewise.
5988 (M_2_SQRTPIl): Likewise.
5989 (M_SQRT2l): Likewise.
5990 (M_SQRT1_2l): Likewise.
5992 2012-05-31 David S. Miller <davem@davemloft.net>
5994 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5995 values between float registers.
5996 * sysdeps/sparc/sparc64/memset.S: Likewise.
5997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5999 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6001 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6002 -D_FORTIFY_SOURCE=1.
6003 (CPPFLAGS-tst-longjmp_chk.c): Define.
6004 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6005 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6006 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6007 CFLAGS-tst-wchar-h.c.
6009 2012-05-31 Marek Polacek <polacek@redhat.com>
6012 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6013 __endmntent_internal): Remove declaration.
6014 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6015 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6016 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6018 2012-05-30 David S. Miller <davem@davemloft.net>
6020 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6021 (___Q_simulate_exceptions): Use real FP ops rather than writing
6023 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6026 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6029 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6030 * sysdeps/x86/bits/xtitypes.h: This.
6032 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6033 * sysdeps/x86/bits/wordsize.h: This.
6035 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6036 * sysdeps/x86/bits/huge_vall.h: This.
6038 * sysdeps/i386/bits/select.h: Removed.
6039 * sysdeps/x86_64/bits/select.h: Renamed to ...
6040 * sysdeps/x86/bits/select.h: This.
6042 * sysdeps/i386/bits/setjmp.h: Removed.
6043 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6044 * sysdeps/x86/bits/setjmp.h: This.
6046 * sysdeps/i386/bits/mathdef.h: Removed.
6047 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6048 * sysdeps/x86/bits/mathdef.h: This.
6050 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6053 * include/sys/socket.h (__connect_internal)
6054 (__libc_sa_len_internal): Remove declaration.
6055 (__connect, __libc_sa_len): Declare hidden_proto.
6056 (SA_LEN): Remove use of INTUSE.
6057 * socket/connect.c: Add libc_hidden_def.
6058 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6059 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6060 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6062 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6063 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6064 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6065 of adding _internal alias.
6067 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6070 * sysdeps/i386/bits/link.h: Removed.
6071 * sysdeps/i386/bits/linkmap.h: Likewise.
6072 * sysdeps/x86_64/bits/link.h: Renamed to ...
6073 * sysdeps/x86/bits/link.h: This.
6074 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6075 * sysdeps/x86/bits/linkmap.h: This.
6077 * sysdeps/i386/bits/endian.h: Removed.
6078 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6079 * sysdeps/x86/bits/endian.h: This.
6081 * sysdeps/i386/bits/byteswap.h: Removed.
6082 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6083 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6084 * sysdeps/x86/bits/byteswap.h: This.
6085 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6086 * sysdeps/x86/bits/byteswap-16.h: This.
6087 * sysdeps/i386/Implies: Add x86.
6088 * sysdeps/x86_64/Implies: Likewise.
6090 2012-05-30 David S. Miller <davem@davemloft.net>
6092 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6093 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6094 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6095 (FP_TRAPPING_EXCEPTIONS): Define.
6096 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6097 (FP_TRAPPING_EXCEPTIONS): Define.
6098 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6099 subnormals only when inexact has been signalled or underflow
6100 exceptions are enabled.
6101 (_FP_PACK_CANONICAL): Likewise.
6103 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6106 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6107 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6109 2012-05-30 Richard Henderson <rth@twiddle.net>
6111 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6112 with #ifndef NOT_IN_libc.
6114 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6115 marked to avoid plt entry.
6117 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6120 * Makeconfig (default-abi): New macro.
6121 (abi-includes): Likewise.
6122 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6123 $(abi-$(default-abi)-lib-soname) for soname if defined.
6124 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6126 * Makefile (installed-stubs): Likewise.
6127 * include/stubs-biarch.h: Removed.
6128 * scripts/lib-names.awk: Only handle one library at a time.
6129 * scripts/soversions.awk: Remove WORDSIZE support.
6130 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6132 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6134 (syscall-list-default-condition): Likewise.
6135 (syscall-list-default-condition): Likewise.
6136 (syscall-list-includes): Likewise.
6137 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6138 syscall-list-* with abi-*. Handle undefined abi-variants.
6139 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6140 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6141 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6142 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6143 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6144 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6146 (syscall-list-32-options): Likewise.
6147 (syscall-list-32-condition): Likewise.
6148 (syscall-list-64-options): Likewise.
6149 (syscall-list-64-condition): Likewise.
6150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6152 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6155 (abi-64-ld-soname): New macro.
6156 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6157 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6160 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6161 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6163 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6165 * sysdeps/unix/sysv/linux/kernel-features.h
6166 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6167 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6168 include <kernel-features.h>.
6169 [!__NR_ftruncate64]: Remove conditional code.
6170 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6171 [__NR_ftruncate64]: Make code unconditional.
6172 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6173 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6174 include <kernel-features.h>.
6175 [!__NR_ftruncate64]: Remove conditional code.
6176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6177 [__NR_ftruncate64]: Make code unconditional.
6178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6180 include <kernel-features.h>.
6181 [!__NR_ftruncate64]: Remove conditional code.
6182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6183 [__NR_ftruncate64]: Make code unconditional.
6184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6186 include <kernel-features.h>.
6187 [!__NR_ftruncate64]: Remove conditional code.
6188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6189 [__NR_ftruncate64]: Make code unconditional.
6190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6192 * configure.in (libc_cv_fpie): Weaken to a compile test using
6194 * configure: Regenerated.
6196 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6211 2012-05-27 David S. Miller <davem@davemloft.net>
6213 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6215 (__Q_simulate_exceptions): Return void. Change to simulate
6216 exceptions by writing into the %fsr.
6217 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6218 (__Qp_handle_exceptions): Likewise.
6220 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6221 __Qp_handle_exceptions.
6222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6223 __Qp_handle_exceptions.
6224 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6225 as unused and give dummy FP_RND_NEAREST initializer.
6226 (FP_INHIBIT_RESULTS): Define.
6227 (___Q_simulate_exceptions): Update declaration.
6228 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6230 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6231 as unused and give dummy FP_RND_NEAREST initializer.
6232 (__Qp_handle_exceptions): Update declaration.
6233 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6236 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6238 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6239 the temporary FPU control word.
6240 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6241 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6242 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6243 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6244 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6245 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6246 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6247 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6248 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6249 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6250 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6252 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6254 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6257 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6259 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6260 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6261 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6262 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6264 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6265 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6268 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6270 * po/h.po: Update from translation team.
6272 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6274 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6276 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6277 handling of denormals.
6278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6279 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6280 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6281 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6284 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6287 2012-05-26 Marek Polacek <polacek@redhat.com>
6290 * math/libm-test.inc (fma_test): Don't always expect underflow
6293 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6296 * elf/tst-execstack.c: Include stackinfo.h.
6297 (do_test): Adjust test case to ensure that pthread_getattr_np
6298 behaviour remains the same after marking stack executable.
6300 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6302 * sysdeps/unix/sysv/linux/kernel-features.h
6303 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6304 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6306 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6307 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6308 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6310 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6311 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6313 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6315 * configure.in: Define the default includes to being none.
6316 * configure: Regenerated.
6318 2012-05-25 Roland McGrath <roland@hack.frob.com>
6320 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6321 * sysdeps/x86_64/setjmp.S: Likewise.
6322 * sysdeps/i386/bsd-setjmp.S: Likewise.
6323 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6324 * sysdeps/i386/setjmp.S: Likewise.
6325 * sysdeps/i386/__longjmp.S: Likewise.
6326 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6327 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6329 * include/stap-probe.h: New file.
6330 * configure.in: Handle --enable-systemtap.
6331 * configure: Regenerated.
6332 * config.h.in (USE_STAP_PROBE): New #undef.
6333 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6334 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6335 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6337 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6341 to 2.4.0 where earlier.
6342 * sysdeps/unix/sysv/linux/configure: Regenerated.
6343 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6344 <kernel-features.h>.
6345 [__ASSUME_32BITUIDS]: Make code unconditional.
6346 [!__ASSUME_32BITUIDS]: Remove conditional code.
6347 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6348 <kernel-features.h>.
6349 [__ASSUME_32BITUIDS]: Make code unconditional.
6350 [!__ASSUME_32BITUIDS]: Remove conditional code.
6351 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6352 [__ASSUME_32BITUIDS]: Make code unconditional.
6353 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6354 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6355 <kernel-features.h>.
6356 [__ASSUME_32BITUIDS]: Make code unconditional.
6357 [!__ASSUME_32BITUIDS]: Remove conditional code.
6358 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6359 <kernel-features.h>.
6360 [__ASSUME_32BITUIDS]: Make code unconditional.
6361 [!__ASSUME_32BITUIDS]: Remove conditional code.
6362 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6363 <kernel-features.h>.
6364 [__ASSUME_32BITUIDS]: Make code unconditional.
6365 [!__ASSUME_32BITUIDS]: Remove conditional code.
6366 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6367 <kernel-features.h>.
6368 [__ASSUME_32BITUIDS]: Make code unconditional.
6369 [!__ASSUME_32BITUIDS]: Remove conditional code.
6370 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
6379 <kernel-features.h>.
6380 [__ASSUME_32BITUIDS]: Make code unconditional.
6381 [!__ASSUME_32BITUIDS]: Remove conditional code.
6382 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6383 <kernel-features.h>.
6384 [__ASSUME_32BITUIDS]: Make code unconditional.
6385 [!__ASSUME_32BITUIDS]: Remove conditional code.
6386 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6387 <kernel-features.h>.
6388 [__ASSUME_32BITUIDS]: Make code unconditional.
6389 [!__ASSUME_32BITUIDS]: Remove conditional code.
6390 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6391 <kernel-features.h>.
6392 [__ASSUME_32BITUIDS]: Make code unconditional.
6393 [!__ASSUME_32BITUIDS]: Remove conditional code.
6394 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6395 <kernel-features.h>.
6396 [__NR_setresgid] (__setresgid): Do not declare.
6397 [__ASSUME_32BITUIDS]: Make code unconditional.
6398 [!__ASSUME_32BITUIDS]: Remove conditional code.
6399 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6400 <kernel-features.h>.
6401 [__NR_setresuid] (__setresuid): Do not declare.
6402 [__ASSUME_32BITUIDS]: Make code unconditional.
6403 [!__ASSUME_32BITUIDS]: Remove conditional code.
6404 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6405 <kernel-features.h>.
6406 [__ASSUME_32BITUIDS]: Make code unconditional.
6407 [!__ASSUME_32BITUIDS]: Remove conditional code.
6408 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6409 <kernel-features.h>.
6410 [__ASSUME_32BITUIDS]: Make code unconditional.
6411 [!__ASSUME_32BITUIDS]: Remove conditional code.
6412 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6413 <kernel-features.h>.
6414 [__ASSUME_32BITUIDS]: Make code unconditional.
6415 [!__ASSUME_32BITUIDS]: Remove conditional code.
6416 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6417 <kernel-features.h>.
6418 [__ASSUME_32BITUIDS]: Make code unconditional.
6419 [!__ASSUME_32BITUIDS]: Remove conditional code.
6420 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6421 <kernel-features.h>.
6422 [__ASSUME_32BITUIDS]: Make code unconditional.
6423 [!__ASSUME_32BITUIDS]: Remove conditional code.
6424 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6425 <kernel-features.h>.
6426 [__ASSUME_32BITUIDS]: Make code unconditional.
6427 [!__ASSUME_32BITUIDS]: Remove conditional code.
6428 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6429 <kernel-features.h>.
6430 [__ASSUME_32BITUIDS]: Make code unconditional.
6431 [!__ASSUME_32BITUIDS]: Remove conditional code.
6432 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6433 <kernel-features.h>.
6434 [__ASSUME_32BITUIDS]: Make code unconditional.
6435 [!__ASSUME_32BITUIDS]: Remove conditional code.
6436 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6437 <kernel-features.h>.
6438 [__ASSUME_32BITUIDS]: Make code unconditional.
6439 [!__ASSUME_32BITUIDS]: Remove conditional code.
6440 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6441 <kernel-features.h>.
6442 [__ASSUME_32BITUIDS]: Make code unconditional.
6443 [!__ASSUME_32BITUIDS]: Remove conditional code.
6444 * sysdeps/unix/sysv/linux/kernel-features.h
6445 (__ASSUME_SETRESUID_SYSCALL): Remove.
6446 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6447 (__ASSUME_32BITUIDS): Likewise.
6448 (__ASSUME_LDT_WORKS): Likewise.
6449 (__ASSUME_O_DIRECTORY): Likewise.
6450 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6451 architecture but not kernel version.
6452 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6453 (__ASSUME_MMAP2_SYSCALL): Likewise.
6454 (__ASSUME_STAT64_SYSCALL): Likewise.
6455 (__ASSUME_IPC64): Likewise.
6456 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6457 <kernel-features.h>.
6458 [__ASSUME_32BITUIDS]: Make code unconditional.
6459 [!__ASSUME_32BITUIDS]: Remove conditional code.
6460 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6461 <kernel-features.h>.
6462 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6463 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6464 132096]: Remove conditional code.
6465 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6466 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6467 <kernel-features.h>.
6468 [__ASSUME_32BITUIDS]: Make code unconditional.
6469 [!__ASSUME_32BITUIDS]: Remove conditional code.
6470 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6471 <kernel-features.h>.
6472 [__ASSUME_32BITUIDS]: Make code unconditional.
6473 [!__ASSUME_32BITUIDS]: Remove conditional code.
6474 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6475 <kernel-features.h>.
6476 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6478 (__setresgid): Do not declare.
6479 [__ASSUME_32BITUIDS]: Make code unconditional.
6480 [!__ASSUME_32BITUIDS]: Remove conditional code.
6481 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6482 <kernel-features.h>.
6483 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6485 (__setresuid): Do not declare.
6486 [__ASSUME_32BITUIDS]: Make code unconditional.
6487 [!__ASSUME_32BITUIDS]: Remove conditional code.
6488 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6489 <kernel-features.h>.
6490 [__ASSUME_32BITUIDS]: Make code unconditional.
6491 [!__ASSUME_32BITUIDS]: Remove conditional code.
6492 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6493 <kernel-features.h>.
6494 [__ASSUME_32BITUIDS]: Make code unconditional.
6495 [!__ASSUME_32BITUIDS]: Remove conditional code.
6497 2012-05-25 Richard Henderson <rth@twiddle.net>
6499 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6500 dl_hwcap to ifunc resolver.
6501 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6503 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6504 dl_hwcap to ifunc resolver.
6505 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6507 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6510 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6511 for |x| <= 2**-26, not 2**-57.
6512 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6515 2012-05-24 Jeff Law <law@redhat.com>
6517 * stdio-common/Makefile (tests): Add bug25.
6518 * stdio-common/bug25.c: New test.
6520 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6523 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6524 multiple of MALLOC_ALIGNMENT in size.
6525 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6527 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6529 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6531 (FILENAME_MAX): Use macro-int-constant.
6532 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6533 (_IOFBF): Use macro-int-constant.
6536 (SEEK_CUR): Likewise.
6537 (SEEK_END): Likewise.
6538 (SEEK_SET): Likewise.
6539 (TMP_MAX): Likewise.
6540 (EOF): Use macro-int-constant. Require < 0.
6541 (NULL): Use macro-constant. Require == 0.
6542 (stdin): Require type to be FILE *.
6545 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6547 (EXIT_SUCCESS): Likewise.
6548 (NULL): Use macro-constant. Require == 0.
6549 (RAND_MAX): Use macro-int-constant.
6550 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6551 [C99-based standards] (strtof): Require function.
6552 [C99-based standards] (strtold): Likewise.
6553 [C99-based standards] (strtoll): Likewise.
6554 [C99-based standards] (strtoull): Likewise.
6555 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6556 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6557 [ISO || ISO99 || ISO11] (math.h): Likewise.
6558 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6559 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6562 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6565 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6566 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6567 * intl/dgettext.c (DCGETTEXT): Likewise.
6568 * intl/gettext.c (DCGETTEXT): Likewise.
6569 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6570 * posix/regex_internal.h (gettext): Likewise.
6571 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6573 * include/argz.h (__argz_count_internal)
6574 (__argz_stringify_internal): Remove declaration.
6575 (__argz_count, __argz_stringify): Declare hidden proto.
6576 * intl/dcgettext.c: Remove use of INTDEF.
6577 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6578 * string/argz-stringify.c: Likewise.
6579 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6580 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6581 Declare hidden proto.
6582 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6583 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6584 Declare hidden proto.
6585 * include/stdio.h (__asprintf_internal): Don't declare.
6586 (__asprintf): Don't define as macro. Declare hidden proto.
6587 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6588 (__fsetlocking): Declare hidden proto.
6589 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6590 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6592 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6593 (_IO_setlinebuf): Remove use of INTUSE.
6594 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6595 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6596 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6598 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6599 (_IO_do_flush): Remove use of INTUSE.
6600 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6601 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6602 (_IO_adjust_column, _IO_least_wmarker)
6603 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6604 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6605 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6606 (_IO_default_doallocate, _IO_wdefault_doallocate)
6607 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6608 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6609 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6610 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6611 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6612 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6613 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6614 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6615 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6616 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6617 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6618 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6619 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6621 (_IO_flush_all_internal, _IO_adjust_column_internal)
6622 (_IO_default_uflow_internal, _IO_default_finish_internal)
6623 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6624 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6625 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6626 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6627 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6628 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6629 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6630 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6631 (_IO_file_close_internal, _IO_file_close_it_internal)
6632 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6633 (_IO_file_init_internal, _IO_file_attach_internal)
6634 (_IO_file_fopen_internal, _IO_file_read_internal)
6635 (_IO_file_sync_internal, _IO_file_seek_internal)
6636 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6637 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6638 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6639 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6640 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6641 (_IO_list_all_internal, _IO_link_in_internal)
6642 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6643 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6644 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6645 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6646 (_IO_do_write_internal, _IO_padn_internal)
6647 (_IO_getline_info_internal, _IO_getline_internal)
6648 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6649 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6650 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6651 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6652 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6653 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6654 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6655 with libc_hidden_ver, remove use of INTUSE.
6656 * libio/genops.c: Likewise.
6657 * libio/freopen.c: Likewise.
6658 * libio/freopen64.c: Likewise.
6659 * libio/iofclose.c: Likewise.
6660 * libio/iofdopen.c: Likewise.
6661 * libio/iofflush.c: Likewise.
6662 * libio/iofflush_u.c: Likewise.
6663 * libio/iofgets.c: Likewise.
6664 * libio/iofgets_u.c: Likewise.
6665 * libio/iofopen.c: Likewise.
6666 * libio/iofopncook.c: Likewise.
6667 * libio/iofread.c: Likewise.
6668 * libio/iofread_u.c: Likewise.
6669 * libio/ioftell.c: Likewise.
6670 * libio/iofwrite.c: Likewise.
6671 * libio/iogetline.c: Likewise.
6672 * libio/iogets.c: Likewise.
6673 * libio/iogetwline.c: Likewise.
6674 * libio/iopadn.c: Likewise.
6675 * libio/iopopen.c: Likewise.
6676 * libio/ioseekoff.c: Likewise.
6677 * libio/ioseekpos.c: Likewise.
6678 * libio/iosetbuffer.c: Likewise.
6679 * libio/iosetvbuf.c: Likewise.
6680 * libio/ioungetc.c: Likewise.
6681 * libio/ioungetwc.c: Likewise.
6682 * libio/iovdprintf.c: Likewise.
6683 * libio/iovsprintf.c: Likewise.
6684 * libio/iovsscanf.c: Likewise.
6685 * libio/memstream.c: Likewise.
6686 * libio/obprintf.c: Likewise.
6687 * libio/oldfileops.c: Likewise.
6688 * libio/oldiofclose.c: Likewise.
6689 * libio/oldiofdopen.c: Likewise.
6690 * libio/oldiofopen.c: Likewise.
6691 * libio/oldiopopen.c: Likewise.
6692 * libio/oldstdfiles.c: Likewise.
6693 * libio/putc.c: Likewise.
6694 * libio/setbuf.c: Likewise.
6695 * libio/setlinebuf.c: Likewise.
6696 * libio/stdfiles.c: Likewise.
6697 * libio/strops.c: Likewise.
6698 * libio/vasprintf.c: Likewise.
6699 * libio/vscanf.c: Likewise.
6700 * libio/vsnprintf.c: Likewise.
6701 * libio/vswprintf.c: Likewise.
6702 * libio/wfiledoalloc.c: Likewise.
6703 * libio/wfileops.c: Likewise.
6704 * libio/wgenops.c: Likewise.
6705 * libio/wmemstream.c: Likewise.
6706 * libio/wstrops.c: Likewise.
6707 * libio/__fpurge.c: Likewise.
6708 * libio/__fsetlocking.c: Likewise.
6709 * assert/assert.c: Likewise.
6710 * debug/fgets_chk.c: Likewise.
6711 * debug/fgets_u_chk.c: Likewise.
6712 * debug/fread_chk.c: Likewise.
6713 * debug/fread_u_chk.c: Likewise.
6714 * debug/gets_chk.c: Likewise.
6715 * debug/obprintf_chk.c: Likewise.
6716 * debug/vasprintf_chk.c: Likewise.
6717 * debug/vdprintf_chk.c: Likewise.
6718 * debug/vsnprintf_chk.c: Likewise.
6719 * debug/vsprintf_chk.c: Likewise.
6720 * malloc/mtrace.c: Likewise.
6721 * misc/error.c: Likewise.
6722 * misc/syslog.c: Likewise.
6723 * stdio-common/asprintf.c: Likewise.
6724 * stdio-common/fxprintf.c: Likewise.
6725 * stdio-common/getw.c: Likewise.
6726 * stdio-common/isoc99_fscanf.c: Likewise.
6727 * stdio-common/isoc99_scanf.c: Likewise.
6728 * stdio-common/isoc99_vfscanf.c: Likewise.
6729 * stdio-common/isoc99_vscanf.c: Likewise.
6730 * stdio-common/isoc99_vsscanf.c: Likewise.
6731 * stdio-common/printf-prs.c: Likewise.
6732 * stdio-common/printf_fp.c: Likewise.
6733 * stdio-common/printf_fphex.c: Likewise.
6734 * stdio-common/printf_size.c: Likewise.
6735 * stdio-common/putw.c: Likewise.
6736 * stdio-common/scanf.c: Likewise.
6737 * stdio-common/sprintf.c: Likewise.
6738 * stdio-common/tmpfile.c: Likewise.
6739 * stdio-common/vfprintf.c: Likewise.
6740 * stdio-common/vfscanf.c: Likewise.
6741 * stdlib/strfmon_l.c: Likewise.
6742 * sunrpc/openchild.c: Likewise.
6743 * sunrpc/xdr_stdio.c: Likewise.
6744 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6745 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6747 2012-05-24 Roland McGrath <roland@hack.frob.com>
6749 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6751 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6752 in the third column, to generate for the shared library an IFUNC
6753 that uses _dl_vdso_vsym.
6754 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6755 * Makeconfig (object-suffixes-noshared): New variable.
6757 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6758 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6759 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6760 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6763 * include/sys/time.h (__gettimeofday): Remove macro.
6764 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6765 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6767 (__gettimeofday): Add libc_hidden_def.
6768 (gettimeofday): Add libc_hidden_weak.
6769 * sysdeps/mach/gettimeofday.c: Likewise.
6770 * sysdeps/posix/gettimeofday.c: Likewise.
6771 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6772 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6774 (__gettimeofday_internal): Remove strong_alias.
6775 (__gettimeofday): Add libc_hidden_def.
6776 (gettimeofday): Add libc_hidden_weak.
6777 * sysdeps/unix/syscalls.list (gettimeofday):
6778 Remove __gettimeofday_internal alias.
6780 2012-05-24 Daniel Jacobowitz <drow@false.org>
6781 H.J. Lu <hongjiu.lu@intel.com>
6784 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6785 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6786 (largebin_index_32_big): New.
6787 (largebin_index): Use it for 16-byte alignment.
6788 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6789 correction with front_misalign.
6791 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6819 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6820 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6822 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6826 * math/libm-test.inc (exp_test): Add test from bug 14036.
6827 (pow_test): Add test from bug 10846.
6829 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6831 (special_function): Do not include flags in test name.
6832 (parse_args): Likewise.
6833 * sysdeps/i386/fpu/libm-test-ulps: Update.
6834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6835 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6839 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6841 * math/libm-test.inc ("Philosophy"): Update comment about
6843 (UNDERFLOW_EXCEPTION): New macro.
6844 (UNDERFLOW_EXCEPTION_OK): Likewise.
6845 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6846 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6847 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6848 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6849 (INVALID_EXCEPTION_OK): Update value.
6850 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6851 (OVERFLOW_EXCEPTION_OK): Likewise.
6852 (IGNORE_ZERO_INF_SIGN): Likewise.
6853 (test_exceptions): Handle underflow exceptions.
6854 (acos_test): Update for underflow exception expectations.
6855 (cexp_test): Likewise.
6856 (clog_test): Likewise.
6857 (clog10_test): Likewise.
6858 (csqrt_test): Likewise.
6859 (ctan_test): Likewise.
6860 (ctanh_test): Likewise.
6861 (exp_test): Likewise.
6862 (exp10_test): Likewise.
6863 (exp2_test): Likewise.
6864 (expm1_test): Likewise.
6865 (fma_test): Likewise.
6866 (j0_test): Likewise.
6867 (jn_test): Likewise.
6868 (nexttoward_test): Likewise.
6869 (pow_test): Likewise.
6870 (scalbn_test): Likewise.
6871 (scalbln_test): Likewise.
6872 (tan_test): Likewise.
6873 (y1_test): Likewise.
6874 * sysdeps/i386/fpu/libm-test-ulps: Update.
6875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6877 2012-05-23 David S. Miller <davem@davemloft.net>
6879 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6880 (__libc_sigaction): Remove unused local variables.
6882 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6884 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6886 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6888 mktime: avoid signed integer overflow
6889 * time/mktime.c (__mktime_internal): Do not mishandle the case
6890 where diff == INT_MIN.
6892 mktime: simplify computation of average
6893 * time/mktime.c (ranged_convert): Use new time_t_avg function
6894 instead of rolling our own (probably-slower) code.
6896 mktime: do not assume signed right shift propagates sign bit
6897 * time/mktime.c (isdst_differ): New static function.
6898 (__mktime_internal): No need to normalize tm_isdst now.
6899 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6902 mktime: merge another wrapv change from gnulib
6903 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6904 from some compilers.
6906 mktime: remove incorrect attempt at unusual arithmetics
6907 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6908 The code didn't really work on such machines anyway.
6909 (TYPE_MINIMUM): Assume two's complement.
6910 (twos_complement_arithmetic): Verify that long_int and time_t
6911 are two's complement (or unsigned, in the latter case).
6913 mktime: check signed shifts on long_int and time_t, too
6914 * time/mktime.c (SHR): Check that shifts work as desired
6915 on the types long_int and time_t too, as SHR is used on
6918 mktime: do not assume 'long' is wide enough
6919 * time/mktime.c (verify): Move decl up.
6920 (long_int): New type.
6921 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6922 to remove assumption in the code that 'long' is wide enough to
6923 store year values. This assumption is not true on x32 and on
6924 some non-glibc platforms.
6926 mktime: merge wrapv change from gnulib
6927 * time/mktime.c (WRAPV): New macro.
6928 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6929 (guess_time_tm, __mktime_internal): Do not assume that signed
6930 integer overflow wraps around; modern compilers generate code
6931 where this assumption is no longer valid.
6933 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6935 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6936 Replace "jmp L(pseudo_end)" with "ret".
6937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6940 2012-05-23 Andreas Jaeger <aj@suse.de>
6942 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6943 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6945 2012-05-23 Andreas Jaeger <aj@suse.de>
6946 Maximilian Attems <max@stro.at>
6948 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6951 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6953 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6954 code so that pseudo_end is just ret and the stack pointer is
6955 correct also for static library in error case.
6957 2012-05-23 Joseph Myers <joseph@codesourcery.com>
6959 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6960 move to syscalls.list.
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6966 * manual/install.texi (Running make install): Do not mention Linux
6967 kernel version for which pt_chown is not needed.
6968 (Linux): Do not mention problems with nscd with 2.0 kernels.
6969 * INSTALL: Regenerated.
6971 2012-05-23 Andreas Jaeger <aj@suse.de>
6973 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6974 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6976 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6977 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6978 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6979 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6980 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6981 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6982 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6984 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6985 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6986 * sysdeps/unix/sysv/linux/bits/in.h
6987 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6989 2012-05-22 Roland McGrath <roland@hack.frob.com>
6991 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6992 (PREPARE_VERSION): Just use assert instead, it will be elided
6993 under [NDEBUG] anyway.
6995 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6997 * sysdeps/unix/sysv/linux/Makefile: Include
6998 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6999 (sysdep_routines): Remove sysctl.
7000 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7001 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7002 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7003 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7004 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7006 2012-05-22 Andreas Jaeger <aj@suse.de>
7008 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7009 that pseudo_end is just ret and the stack pointer is correct also
7010 for static library in error case.
7012 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7015 * nss/nsswitch.c (defconfig_entries): New variable.
7016 (__nss_database_lookup): Don't leak defconfig entries.
7017 (nss_parse_service_list): Don't leak on error paths.
7018 (free_database_entries): New function.
7019 (free_defconfig): New function.
7020 (free_mem): Move common code to free_database_entries.
7022 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7024 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7026 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7028 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7029 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7032 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7033 (INTERNAL_SYSCALL_TYPES): Likewise.
7034 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7035 (LOAD_REGS_TYPES_[1-6]): Likewise.
7036 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7037 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7039 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7041 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7042 copysignl for GLIBC_2_0.
7043 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7044 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7046 logbl for GLIBC_2_0.
7047 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7048 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7050 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7055 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7058 * time/mktime.c: Update copyright years.
7060 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7062 mktime: merge comment-quoting-style change from gnulib
7063 * time/mktime.c: Quote 'like this' in comments.
7064 The GNU coding standards suggest that we no longer quote `like this',
7065 as "`" and "'" are typically rendered asymmetrically nowadays.
7066 The typical gnulib style is to quote 'like this' when quoting
7067 code, and "like this" when quoting English.
7069 * time/mktime.c (compile-command): Add "-I.".
7071 mktime: merge mktime-internal.h change from gnulib
7072 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7074 mktime: merge time_r change from gnulib
7075 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7077 mktime: merge DEBUG change from gnulib
7078 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7079 case system <time.h> has a #define.
7081 mktime: merge <sys/types.h> change from gnulib
7082 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7083 since <time.t> is now guaranteed to define time_t.
7085 mktime: merge HAVE_CONFIG_H change from gnulib
7086 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7088 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7093 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7095 (struct rusage): Use anonymous union to pad each field to
7098 2012-05-21 David S. Miller <davem@davemloft.net>
7100 * Makefules (o-iterator): Remove .s cases.
7101 (compile-command.s): Delete.
7102 (COMPILE.s): Delete.
7103 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7105 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7107 * configure.in (libc_cv_predef_stack_protector): Only consider
7108 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7109 * configure: Regenerated.
7111 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7114 New macro. Use R*LP on int and pointer.
7115 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7116 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7117 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7118 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7120 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7121 [__WORDSIZE_TIME64_COMPAT32] instead of
7122 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7123 (struct utmp): Likewise.
7124 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7125 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7127 (__WORDSIZE_TIME64_COMPAT32): This.
7128 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7129 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7130 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7131 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7132 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7133 (__WORDSIZE_TIME64_COMPAT32): New macro.
7135 2012-05-21 Andreas Jaeger <aj@suse.de>
7137 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7138 only if [SHARED]. Add prototype for __wcschr_ia32.
7140 2012-05-21 Roland McGrath <roland@hack.frob.com>
7142 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7143 of %rbp unmolested in the jmp_buf while mangling the low bits.
7144 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7145 unmolested high bits of %rbp while demangling the low bits.
7146 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7148 2012-05-21 Andreas Jaeger <aj@suse.de>
7150 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7151 * sunrpc/svc_simple.c: Use it for registerrpc.
7152 * sunrpc/xcrypt.c: Use it for passwd2des.
7154 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7156 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7158 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7159 Don't define if [__SYSCALL_WORDSIZE != 32].
7160 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7163 2012-05-21 Bruno Haible <bruno@clisp.org>
7164 Andreas Jaeger <aj@suse.de>
7166 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7167 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7168 inptr and inend for must_buffer_ch.
7169 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7170 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7171 * stdio-common/Makefile (tests): Remove bug15.
7172 (bug15-ENV): Remove macro.
7173 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7176 2012-05-19 Andreas Jaeger <aj@suse.de>
7177 Roland McGrath <roland@hack.frob.com>
7179 * manual/contrib.texi: Completely rewritten. It contains now an
7180 alphabetical list of contributors and their contributions.
7182 2012-05-21 Richard Henderson <rth@twiddle.net>
7184 * misc/getauxval.c (__getauxval): Use unsigned long int.
7185 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7186 (getauxval): Use unsigned long int.
7188 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7190 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7192 2012-05-21 Roland McGrath <roland@hack.frob.com>
7194 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7195 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7196 __alignof__ (long double).
7198 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7202 2012-05-20 Richard Henderson <rth@twiddle.net>
7204 * misc/getauxval.c: New file.
7205 * misc/sys/auxv.h: New file.
7206 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7207 (routines): Add getauxval.
7208 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7209 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7210 * elf/dl-sysdep.c (_dl_auxv): Remove.
7211 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7212 * elf/dl-support.c (_dl_auxv): New variable.
7213 (_dl_aux_init): Initialize it.
7214 * manual/startup.texi (Auxiliary Vector): New node.
7215 * sysdeps/generic/bits/hwcap.h: New file.
7216 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7217 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7218 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7219 * sysdeps/sparc/sysdep.h: ... here. Include it.
7220 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7233 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7237 2012-05-19 David S. Miller <davem@davemloft.net>
7239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7241 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7244 * math/s_ccosh.c: Include <float.h>
7245 (__ccosh): Avoid internal overflow calculating sinh and cosh
7246 values before multiplying by sin and cos values.
7247 * math/s_ccoshf.c: Likewise.
7248 * math/s_ccoshl.c: Likewise.
7249 * math/s_csin.c: Likewise.
7250 * math/s_csinf.c: Likewise.
7251 * math/s_csinl.c: Likewise.
7252 * math/s_csinh.c: Likewise.
7253 * math/s_csinhf.c: Likewise.
7254 * math/s_csinhl.c: Likewise.
7255 * math/libm-test.inc (ccos_test): Add more tests.
7256 (ccosh_test): Likewise.
7257 (csin_test): Likewise.
7258 (csinh_test): Likewise.
7259 * sysdeps/i386/fpu/libm-test-ulps: Update.
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7262 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7264 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7265 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7267 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7269 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7271 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7272 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7273 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7274 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7275 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7276 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7277 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7278 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7279 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7280 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7281 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7282 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7283 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7284 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7285 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7286 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7287 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7288 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7289 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7290 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7291 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7292 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7293 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7294 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7295 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7296 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7297 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7298 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7299 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7300 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7301 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7303 2012-05-18 Andreas Jaeger <aj@suse.de>
7305 * csu/.gitignore: Delete.
7307 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7309 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7310 (timex): Use __syscall_slong_t.
7312 2012-05-18 Andreas Jaeger <aj@suse.de>
7313 Carlos O'Donell <carlos_odonell@mentor.com>
7315 * manual/install.texi (Configuring and compiling): Update
7316 description about files modified in the source directory.
7317 * INSTALL: Regenerated.
7319 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7321 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7322 value. Use "or" to set return value to -1.
7323 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7324 negate return value.
7326 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7328 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7329 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7330 failure if the compiler has Graphite support disabled.
7331 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7333 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7334 CFLAGS-memmove.c): Likewise.
7335 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7338 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7340 * sysdeps/x86_64/x32/_itoa.h: New file.
7342 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7343 getdents system call only if kernel and user dirents have the
7344 same d_ino and d_off.
7346 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7347 LLONG_MAX != LONG_MAX.
7348 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7349 (_fitoa_word): Likewise.
7351 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7353 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7354 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7355 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7357 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7358 include <bits/wordsize.h>. Check __x86_64__ instead of
7360 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7361 if __x86_64__ is defined. Use anonymous union on fpstate.
7363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7366 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7368 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7369 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7370 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7371 Refer to _rtld_local_ro instead of _rtld_global_ro.
7372 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7374 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7376 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7378 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7379 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7380 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7382 * sysdeps/powerpc/powerpc32/dl-machine.c
7383 (__elf_machine_runtime_setup) [PROF]: Don't reference
7386 2012-05-18 Andreas Jaeger <aj@suse.de>
7388 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7389 function only available for GCCs before 3.4 since GCC 3.4
7390 introduced a builtin.
7392 (llrintf): Likewise.
7400 (nearbyint): Likewise.
7401 (nearbyintf): Likewise.
7407 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7409 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7410 on both fields and cast pointer to __syscall_ulong_t.
7412 * bits/types.h (__fsword_t): New type.
7413 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7414 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7416 (__FSWORD_T_TYPE): Likewise.
7417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7418 (__FSWORD_T_TYPE): Likewise.
7419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7420 (__FSWORD_T_TYPE): Likewise.
7421 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7422 (__FSWORD_T_TYPE): Likewise.
7423 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7424 __SWORD_TYPE with __fsword_t.
7425 (statfs64): Likewise.
7427 2012-05-17 David S. Miller <davem@davemloft.net>
7429 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7431 2012-05-17 Andreas Jaeger <aj@suse.de>
7433 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7436 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7438 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7440 2012-05-17 Andreas Jaeger <aj@suse.de>
7442 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7445 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7447 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7449 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7451 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7452 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7454 2012-05-17 Andreas Jaeger <aj@suse.de>
7455 Carlos O'Donell <carlos_odonell@mentor.com>
7458 * sysdeps/x86_64/multiarch/init-arch.h
7459 (bit_YMM_Usable): Rename to...
7460 (bit_AVX_Usable): ... this.
7461 (bit_FMA4_Usable): New macro.
7462 (bit_XMM_state): New macro.
7463 (bit_YMM_state): New macro.
7464 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7465 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7466 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7467 (CPUID_OSXSAVE): New macro.
7468 (CPUID_AVX): New macro.
7469 (CPUID_FMA4): New macro.
7470 (index_YMM_Usable): Rename to...
7471 (index_AVX_Usable): ... this.
7472 (HAS_AVX): Use HAS_ARCH_FEATURE.
7473 (HAS_FMA4): Likewise.
7474 (HAS_YMM_USABLE): Remove.
7475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7476 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7478 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7479 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7480 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7481 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7482 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7484 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7486 * math/libm-test.c: Support platforms without multiple rounding modes.
7487 * math/bug-nextafter.c: Support platforms without FP exceptions.
7488 * math/bug-nexttoward.c: Likewise.
7489 * math/test-fenv.c: Likewise.
7490 * math/test-misc.c: Likewise.
7491 * stdlib/bug-getcontext.c: Likewise.
7493 2012-05-17 Andreas Jaeger <aj@suse.de>
7495 * manual/examples/search.c (critter_cmp): Change signature to
7497 * manual/string.texi (Collation Functions): Likewise.
7499 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7501 * bits/types.h: Fold copyright years.
7502 * bits/typesizes.h: Likewise.
7503 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7507 * time/time.h: Likewise.
7509 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7512 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7513 in instead of returning them. Return void.
7514 (__libc_mallinfo): Accumulate over all arenas.
7515 (__malloc_stats): Adjust for change in int_mallinfo interface.
7517 2012-05-16 Roland McGrath <roland@hack.frob.com>
7520 * configure.in (NM): Add AC_CHECK_TOOL for it.
7521 (libc_extra_cflags): New substituted variable.
7522 Check for -fstack-protector being used implicitly.
7523 * configure: Regenerated.
7524 * config.make.in (config-extra-cflags): New variable,
7525 gets @libc_extra_cflags@.
7526 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7529 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7530 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7531 * configure: Regenerated.
7532 * config.make.in (CPPUNDEFS): New substituted variable.
7533 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7534 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7535 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7537 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7539 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7540 (mq_attr): Use __syscall_slong_t.
7542 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7544 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7545 Check __x86_64__ instead of __WORDSIZE.
7546 (_STAT_VER_LINUX): Likewise.
7547 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7548 __syscall_ulong_t and __syscall_slong_t.
7551 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7553 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7555 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7557 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7559 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7561 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7564 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7565 include <bits/wordsize.h>. Check __x86_64__ instead of
7567 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7569 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7572 include <bits/wordsize.h>. Check __x86_64__ instead of
7574 (user_regs_struct): Use "__extension__ unsigned long long"
7575 instead of "unsigned long" if __x86_64__ is defined.
7576 (user): Likewise. Pad after pointer field if __ILP32__ is
7579 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7581 * configure.in (makeinfo): Require version 4.5 or later. Allow
7583 * configure: Regenerated.
7584 * manual/install.texi (texinfo): Increase version requirement to
7586 * INSTALL: Regenerated.
7588 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7590 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7592 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7594 * sysdeps/x86_64/x32/ffs.c: New file.
7596 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7598 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7599 defined. Use __syscall_ulong_t.
7600 (shminfo): Use __syscall_ulong_t.
7601 (shm_info): Likewise.
7603 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7606 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7608 (msgqnum_t): Use __syscall_ulong_t.
7609 (msglen_t): Likewise.
7610 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7613 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7614 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7616 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7618 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7619 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7621 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7624 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7625 include <bits/wordsize.h>. Check __x86_64__ instead of
7628 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7629 "unsigned long long int" if __x86_64__ is defined.
7630 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7632 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7633 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7634 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7636 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7638 (GET_PC): Cast to uintptr_t first.
7639 (GET_FRAME): Likewise.
7640 (GET_STACK): Likewise.
7642 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7643 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7644 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7645 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7646 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7647 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7650 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7651 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7652 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7653 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7654 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7655 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7656 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7657 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7658 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7659 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7660 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7661 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7662 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7663 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7665 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7667 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7668 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7672 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7674 * Makerules (+depfiles): Also collect depfiles from .oS in
7676 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7677 .oS, $(libnldbl-routines)).
7679 * Makerules (native-compile-mkdep-flags): Define.
7680 * sunrpc/Makefile (extra-objs): Add $(addprefix
7681 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7682 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7683 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7684 calling $(make-target-directory).
7686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7688 * bits/types.h (__snseconds_t): Removed.
7689 * time/time.h (struct timespec): Replace __snseconds_t with
7691 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7692 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7695 (__SNSECONDS_T_TYPE): Likewise.
7696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7697 (__SNSECONDS_T_TYPE): Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7699 (__SNSECONDS_T_TYPE): Likewise.
7701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7703 * sysdeps/mach/hurd/bits/typesizes.h
7704 (__SYSCALL_SLONG_TYPE): New macro.
7705 (__SYSCALL_ULONG_TYPE): Likewise.
7707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7709 * bits/types.h (__syscall_slong_t): New type.
7710 (__syscall_ulong_t): Likewise.
7712 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7713 (__SYSCALL_ULONG_TYPE): Likewise.
7714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7715 (__SYSCALL_SLONG_TYPE): Likewise.
7716 (__SYSCALL_ULONG_TYPE): Likewise.
7717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7718 (__SYSCALL_SLONG_TYPE): Likewise.
7719 (__SYSCALL_ULONG_TYPE): Likewise.
7720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7721 (__SYSCALL_SLONG_TYPE): Likewise.
7722 (__SYSCALL_ULONG_TYPE): Likewise.
7724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7726 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7727 Add sigaltstack-offsets.sym.
7728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7729 <sigaltstack-offsets.h>.
7730 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7731 longjmp_msg pointer.
7732 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7733 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7735 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7737 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7739 * elf/stackguard-macros.h: Remove file.
7740 * sysdeps/generic/stackguard-macros.h: New file.
7741 * sysdeps/i386/stackguard-macros.h: Likewise.
7742 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7743 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7744 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7745 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7746 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7747 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7748 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7749 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7750 <elf/stackguard-macros.h>.
7753 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7754 __aligned__ in attribute.
7755 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7756 (gregset_t): Likewise.
7758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7760 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7761 * sysdeps/x86_64/64/Implies-after: Here. New file.
7762 * sysdeps/x86_64/x32/Implies-after: New file.
7764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7766 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7767 and access return value for _dl_profile_fixup. Use R10_LP to
7770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7772 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7776 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7777 * sysdeps/x86_64/x32/sysdep.h: New file.
7779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7781 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7782 * sysdeps/x86_64/setjmp.S: Likewise.
7784 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7786 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7787 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7788 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7789 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7790 remove unused global constant.
7792 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7794 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7795 include of <not-cancel.h>.
7797 2012-05-15 Roland McGrath <roland@hack.frob.com>
7799 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7801 2012-05-15 Jeff Law <law@redhat.com>
7802 Andreas Jaeger <aj@suse.de>
7805 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7807 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7808 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7809 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7810 code changing __hst_map_handle.map.
7812 2012-05-15 Roland McGrath <roland@hack.frob.com>
7814 * configure.in (sysnames): Look for Implies-before and Implies-after
7816 * configure: Regenerated.
7818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7820 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7821 8-byte data alignment with LP_SIZE alignment.
7823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7825 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7830 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7834 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7835 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7836 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7838 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7842 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7843 (stackinfo_sub_sp): Likewise.
7845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7847 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7852 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7857 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7862 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7866 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7867 into R11_LP and load __x86_64_shared_cache_size_half into
7870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7872 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7875 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7883 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7884 powerpc32/power7/fpu/s_logb.c via #include.
7885 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7886 powerpc32/power7/fpu/s_logbf.c via #include.
7887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7888 powerpc32/power7/fpu/s_logbl.c via #include.
7890 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7892 * README.libm: Remove file.
7894 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7896 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7897 count for x32. Use R*_LP and omit operand-size suffix.
7899 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7901 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7902 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7903 * sysdeps/x86_64/x32/shlib-versions: New file.
7905 2012-05-14 Roland McGrath <roland@hack.frob.com>
7907 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7908 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7909 Use _dl_fatal_printf instead.
7911 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7913 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7914 set if not set by the user. Do not allow for being unset.
7915 * sysdeps/unix/sysv/linux/configure: Regenerated.
7917 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7919 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7920 the `q' suffix from lea and replace .quad with ASM_ADDR.
7922 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7925 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7927 (PTR_DEMANGLE): Likewise.
7929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7931 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7933 (ASM_ADDR): Likewise.
7951 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7953 * sysdeps/x86_64/x32/dl-machine.h: New file.
7955 2012-05-14 Andreas Jaeger <aj@suse.de>
7957 * manual/Makefile (subdir): Remove export of subdir.
7958 (all): Remove target.
7959 (.PHONY): Remove all from list.
7960 (mkinstalldirs): Remove.
7961 (.PHONY): Remove installdirs from list.
7962 ($(inst_infodir)/libc.info): Use make-target-directory.
7963 (installdirs): Remove.
7965 (glibc-targets): Remove.
7968 ($(objpfx)stubs ../po/manual.pot): Remove.
7969 ($(objpfx)stamp%): Remove.
7970 (make-target-directory): Remove.
7971 (subdir_install): Remove.
7979 * manual/.gitignore: Remove, it's not needed anymore.
7980 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7982 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7984 (texis): Renamed to $(objpfx)texis.
7985 (texis-path): New, contains path to generated files.
7986 (chapters.%): Use texis-path for complete path, add extra argument
7988 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7989 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7990 (summary,texi, stamp-summary): Use complete path of
7991 files. Generate files in build dir.
7992 (dir-add.texi): Build in build dir.
7993 (libm-err.texi,stamp-libm-err): Likewise.
7994 (version.texi, stamp-version): Likewise.
7995 (.%c.texi): Likewise.
7996 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7997 (mostlyclean): Remove target.
7998 (realclean): Remove target.
7999 (generated): Add new variable with contents from mostlyclean and
8000 realclean, remove entries duplicated in common-mostlyclean, add
8001 stamp-libm-err and stamp-version.
8002 (generated-dirs): Add libc directory.
8003 ($(inst_infodir)/libc.info): Install files from build dir.
8005 * manual/install.texi (Configuring and compiling): Adjust since
8006 the info files are not part of the tar ball anymore.
8008 2012-05-14 Andreas Jaeger <aj@suse.de>
8010 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8013 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8016 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8017 to 2.2.0 where earlier.
8018 * sysdeps/unix/sysv/linux/configure: Regenerated.
8019 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8020 Remove conditional code.
8021 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8022 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8023 Remove conditional code.
8024 [!__NR_lchown]: Likewise.
8025 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8026 [__NR_lchown]: Likewise.
8027 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8028 comment referencing __ASSUME_LCHOWN_SYSCALL.
8029 * sysdeps/unix/sysv/linux/i386/sigaction.c
8030 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8031 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8032 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8033 Remove conditional code.
8034 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8035 (__protocol_available): Remove #if 0 code.
8036 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8038 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8039 * sysdeps/unix/sysv/linux/kernel-features.h
8040 (__ASSUME_GETCWD_SYSCALL): Don't define.
8041 (__ASSUME_REALTIME_SIGNALS): Likewise.
8042 (__ASSUME_PREAD_SYSCALL): Likewise.
8043 (__ASSUME_PWRITE_SYSCALL): Likewise.
8044 (__ASSUME_POLL_SYSCALL): Likewise.
8045 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8046 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8048 (__ASSUME_SIOCGIFNAME): Don't define.
8049 (__ASSUME_MSG_NOSIGNAL): Likewise.
8050 (__ASSUME_SENDFILE): Define unconditionally.
8051 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8052 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8054 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8055 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8056 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8057 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8058 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8059 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8060 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8062 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8065 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8068 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8071 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8077 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8083 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8085 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8086 Remove conditional code.
8087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8088 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8089 Remove conditional code.
8090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8091 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8092 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8093 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8094 Remove conditional code.
8095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8096 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8097 Remove conditional code.
8098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8099 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8100 Remove conditional code.
8101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8102 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8103 Remove conditional code.
8104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8105 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8106 Remove conditional code.
8107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8108 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8109 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8111 * sysdeps/unix/sysv/linux/sigaction.c
8112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8114 * sysdeps/unix/sysv/linux/sigpending.c
8115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8117 * sysdeps/unix/sysv/linux/sigprocmask.c
8118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8120 * sysdeps/unix/sysv/linux/sigsuspend.c
8121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8123 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8124 (__libc_missing_rt_sigs): Remove.
8125 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8126 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8127 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8128 Remove conditional code.
8129 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8130 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8132 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8133 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8134 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8135 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8137 2012-05-14 Andreas Jaeger <aj@suse.de>
8139 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8140 it's not used in glibc.
8141 (__coshm1): Likewise.
8142 (__acosh1p): Likewise.
8145 * manual/string.texi (Copying and Concatenation): Add missing
8146 variable in concat example.
8147 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8149 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8153 __builtin_clzl with __builtin_clzll.
8155 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8158 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8161 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8163 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8164 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8165 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8166 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8168 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8170 * NEWS: Update ia64 info.
8172 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8174 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8177 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8179 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8180 * sysdeps/unix/syscalls.list (dup3): Likewise.
8181 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8182 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8184 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8186 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8187 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8189 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8191 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8193 (TLS_IE): Use mov/add instead of movq/addq to load thread
8195 (TLS_GD_PREFIX): New.
8198 2012-05-11 David S. Miller <davem@davemloft.net>
8200 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8201 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8202 (_FPU_SETCW): Likewise.
8204 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8206 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8209 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8212 * iconvdata/gb18030.c: Update tables.
8213 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8214 characters specially.
8215 (BODY for TO_LOOP): Add encoding of missing ranges.
8217 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8220 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8221 * sysdeps/mach/hurd/dup3.c: Likewise.
8222 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8223 * sysdeps/powerpc/memmove.c:: Likewise.
8225 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8227 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8228 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8230 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8232 * elf/elf.h (R_X86_64_RELATIVE64): New.
8233 (R_X86_64_NUM): Updated.
8234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8235 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8236 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8237 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8238 tst-quad1pie tst-quad2pie
8239 (modules-names): Add tst-quadmod1 tst-quadmod2.
8240 ($(objpfx)tst-quad1): New dependency.
8241 ($(objpfx)tst-quad2): Likewise.
8242 ($(objpfx)tst-quad1pie): Likewise.
8243 ($(objpfx)tst-quad2pie): Likewise.
8244 * sysdeps/x86_64/tst-quad1.c: New file.
8245 * sysdeps/x86_64/tst-quad1pie.c: New file.
8246 * sysdeps/x86_64/tst-quad2.c: Likewise.
8247 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8248 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8249 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8250 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8251 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8253 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8255 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8256 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8257 * streams/stropts.h (t_scalar_t): Define type.
8259 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8260 (_PATH_PRESERVE): Set to "/var/lib".
8261 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8263 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8266 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8267 if __dir_mkfile succeeded.
8269 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8270 checking for _hurd_dtablesize. Unlock it right after having
8271 finished _hurd_dtable allocation.
8273 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8275 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8276 * sysdeps/mach/hurd/configure: Regenerated.
8277 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8278 special-casing to...
8279 * sysdeps/gnu/configure.in: ... this new file.
8280 * sysdeps/unix/sysv/linux/configure: Regenerated.
8281 * sysdeps/gnu/configure: New generated file.
8283 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8284 for Linux: use nsec instead of usec, as well as:
8285 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8286 members of type struct timespec.
8287 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8289 (struct stat64): Likewise.
8290 (_STATBUF_ST_NSEC): New macro.
8291 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8293 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8294 __strtoul_internal rather than strtoul.
8296 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8298 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8303 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8304 which preserves existing values.
8305 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8307 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8309 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8310 TIMEOUT values. Return EINVAL for NFDS values either negative or
8311 greater than FD_SETSIZE.
8313 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8315 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8316 allocated, call __vm_protect to finish enabling the existing space, and
8317 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8318 allocate the remainder.
8320 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8322 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8323 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8327 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8328 sysdeps/mach/hurd/readlink.c.
8330 * posix/tst-sysconf.c (posix_options): Only use
8331 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8332 _POSIX_SYNCHRONIZED_IO when they are defined
8333 * sysdeps/mach/hurd/bits/posix_opt.h:
8334 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8335 (_XOPEN_REALTIME): Undefine macro.
8336 (_XOPEN_REALTIME_THREADS): Undefine macro.
8337 (_XOPEN_SHM): Undefine macro.
8338 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8340 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8342 (_POSIX_ASYNC_IO): Undefine macro.
8343 (_POSIX_PRIORITIZED_IO): Undefine macro.
8344 (_POSIX_SPIN_LOCKS): Define macro to -1.
8346 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8347 SA_NODEFER, SA_RESETHAND.
8348 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8349 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8352 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8354 * elf/Makefile (pldd-modules): Define unconditionally.
8356 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8358 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8362 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8363 Return ENOENT when name is empty.
8364 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8366 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8368 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8370 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8372 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8374 Fix mlock in all cases except non-readable pages.
8375 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8376 instead of VM_PROT_ALL as parameter to __vm_wire function.
8378 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8379 (__mkdir): When path is `/', just fail with EEXIST.
8380 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8384 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8385 <sys/uio.h> (for writev).
8386 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8387 and <sys/param.h> (for MIN).
8389 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8391 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8392 REQUESTED_TIME. Properly set the remaining time and return EINTR
8395 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8397 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8398 Depend on against $(link-rpcuserlibs).
8400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8402 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8403 (__libc_stack_end): Do not use attribute_relro.
8404 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8405 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8406 to libthread-provided value.
8407 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8410 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8413 * bits/libc-lock.h (__libc_once_get): New macro.
8414 * sysdeps/mach/bits/libc-lock.h: Likewise.
8415 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8416 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8417 instead of using implementation details.
8419 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8420 * libio/freopen.c: Likewise.
8421 * libio/freopen64.c: Likewise.
8422 * misc/syslog.c: Likewise.
8423 * nscd/connections.c: Likewise.
8424 * nscd/netgroupcache.c: Likewise.
8425 * sysdeps/posix/getcwd.c: Likewise.
8427 2012-05-10 Roland McGrath <roland@hack.frob.com>
8429 * math/w_ilogbf.c: Add #include <limits.h>.
8431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8433 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8434 path instead of returning without unlocking.
8436 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8437 immediate-write ioctls.
8438 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8442 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8443 __builtin_frame_address instead of making assumptions about the
8444 location of the return address relative to DATA. Force early load of
8446 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8447 __builtin_frame_address.
8450 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8451 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8452 implement dup3 and do some further code clean-ups.
8453 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8454 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8458 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8460 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8461 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8462 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8463 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8464 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8467 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8468 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8469 when handler == SIG_ERR, not when handler != SIG_ERR.
8471 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8473 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8474 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8477 accept4 for GNU Hurd.
8478 * include/sys/socket.h (__libc_accept4): New prototype.
8479 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8480 to implement __libc_accept4.
8481 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8483 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8485 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8486 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8487 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8492 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8494 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8496 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8497 assertion on O_CLOEXEC flag.
8498 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8499 * hurd/intern-fd.c: Likewise.
8500 * hurd/port2fd.c: Likewise.
8502 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8505 * bits/in.h (IPV6_PKTINFO): Define new macro.
8506 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8508 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8513 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8515 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8516 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8518 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8519 * math/libm-test.inc (logb_test) : Additional logb tests.
8521 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8522 Andreas Jaeger <aj@suse.de>
8524 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8525 * configure: Regenerated.
8526 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8527 * config.make.in (link-obsolete-rpc): New substituted variable.
8528 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8529 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8530 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8531 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8532 so that libc.a contains the symbols.
8533 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8534 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8535 * sunrpc/auth_none.c: Likewise.
8536 * sunrpc/auth_unix.c: Likewise.
8537 * sunrpc/authdes_prot.c: Likewise.
8538 * sunrpc/authuxprot.c: Likewise.
8539 * sunrpc/clnt_gen.c: Likewise.
8540 * sunrpc/clnt_perr.c: Likewise.
8541 * sunrpc/clnt_raw.c: Likewise.
8542 * sunrpc/clnt_simp.c: Likewise.
8543 * sunrpc/clnt_tcp.c: Likewise.
8544 * sunrpc/clnt_udp.c: Likewise.
8545 * sunrpc/clnt_unix.c: Likewise.
8546 * sunrpc/des_crypt.c: Likewise.
8547 * sunrpc/des_soft.c: Likewise.
8548 * sunrpc/get_myaddr.c: Likewise.
8549 * sunrpc/key_call.c: Likewise.
8550 * sunrpc/key_prot.c: Likewise.
8551 * sunrpc/netname.c: Likewise.
8552 * sunrpc/pm_getmaps.c: Likewise.
8553 * sunrpc/pm_getport.c: Likewise.
8554 * sunrpc/pmap_clnt.c: Likewise.
8555 * sunrpc/pmap_prot.c: Likewise.
8556 * sunrpc/pmap_prot2.c: Likewise.
8557 * sunrpc/pmap_rmt.c: Likewise.
8558 * sunrpc/publickey.c: Likewise.
8559 * sunrpc/rpc_cmsg.c: Likewise.
8560 * sunrpc/rpc_common.c: Likewise.
8561 * sunrpc/rpc_dtable.c: Likewise.
8562 * sunrpc/rpc_prot.c: Likewise.
8563 * sunrpc/rpc_thread.c: Likewise.
8564 * sunrpc/rtime.c: Likewise.
8565 * sunrpc/svc.c: Likewise.
8566 * sunrpc/svc_auth.c: Likewise.
8567 * sunrpc/svc_raw.c: Likewise.
8568 * sunrpc/svc_run.c: Likewise.
8569 * sunrpc/svc_tcp.c: Likewise.
8570 * sunrpc/svc_udp.c: Likewise.
8571 * sunrpc/svc_unix.c: Likewise.
8572 * sunrpc/svcauth_des.c: Likewise.
8573 * sunrpc/xcrypt.c: Likewise.
8574 * sunrpc/xdr.c: Likewise.
8575 * sunrpc/xdr_array.c: Likewise.
8576 * sunrpc/xdr_float.c: Likewise.
8577 * sunrpc/xdr_intXX_t.c: Likewise.
8578 * sunrpc/xdr_mem.c: Likewise.
8579 * sunrpc/xdr_rec.c: Likewise.
8580 * sunrpc/xdr_ref.c: Likewise.
8581 * sunrpc/xdr_sizeof.c: Likewise.
8582 * sunrpc/xdr_stdio.c: Likewise.
8584 2012-05-10 Roland McGrath <roland@hack.frob.com>
8586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8587 change. Update copyright years.
8589 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8591 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8593 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8594 Joseph Myers <joseph@codesourcery.com>
8595 Paul Pluzhnikov <ppluzhnikov@google.com>
8598 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8600 [cross-compiling] (extra-libs): Likewise.
8601 [cross-compiling] (extra-libs-others): Likewise.
8602 [cross-compiling] (librpcsvc-routines): Likewise.
8603 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8604 [cross-compiling] (omit-deps): Likewise.
8605 (sunrpc-CPPFLAGS): New variable.
8606 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8607 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8608 (cross-rpcgen-objs): New variable.
8609 (extra-objs): Append $(cross-rpcgen-objs).
8610 ($(cross-rpcgen-objs)): New rule.
8611 ($(objpfx)cross-rpcgen): Likewise.
8612 (rpcgen-cmd): Define to use $(built-program-file). Expand
8614 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8615 ($(objpfx)x%.stmp): Likewise.
8616 * sunrpc/proto.h [IS_IN_build] (_): Define.
8617 [IS_IN_build] (_libc_intl_domainname): Likewise.
8619 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8622 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8623 and R_X86_64_TPOFF64.
8625 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8627 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8628 sysdeps/unix/sysv/syscalls.list.
8631 * sysdeps/unix/sysv/syscalls.list: Remove file.
8633 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8636 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8637 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8638 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8639 (__LC_IDENTIFICATION): Make these macros useful in #if
8640 expressions, as required by C99.
8642 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8644 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8645 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8648 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8650 * stdlib/longlong.h: Updated from GCC.
8652 2012-05-09 Andreas Jaeger <aj@suse.de>
8654 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8655 default is first entry.
8656 (run_mode): Set type.
8657 (main): Remove informal message about syslog.
8658 (options): Fix typo.
8661 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8664 (llrintf): Likewise.
8668 (nearbyint): Likewise.
8669 (nearbyintf): Likewise.
8671 2012-05-09 Andreas Jaeger <aj@suse.de>
8672 Pedro Alves <palves@redhat.com>
8674 * nscd/nscd.c (run_mode): Use enum.
8675 (main): Cleanup coding style issue.
8677 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8678 Andreas Jaeger <aj@suse.de>
8680 * nscd/nscd.c (go_background): Replaced with...
8681 (run_mode): ... this.
8682 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8683 (options): Add -F --foreground.
8684 (main): Implement it.
8685 (parse_opt): Parse it.
8687 2012-05-09 Andreas Jaeger <aj@suse.de>
8690 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8691 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8692 -Wconversion warning.
8693 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8696 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8698 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8700 (LC_ALL): Use macro-int-constant.
8701 (LC_COLLATE): Likewise.
8702 (LC_CTYPE): Likewise.
8703 (LC_MESSAGES): Likewise.
8704 (LC_MONETARY): Likewise.
8705 (LC_NUMERIC): Likewise.
8706 (LC_TIME): Likewise.
8707 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8708 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8710 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8712 [C99-based standards] (float_t): Expect type.
8713 [C99-based standards] (double_t): Expect type.
8714 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8716 [C99-based standards] (HUGE_VALL): Likewise.
8717 [C99-based standards] (INFINITY): Likewise.
8718 [C99-based standards] (NAN): Likewise.
8719 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8720 [C99-based standards] (FP_NAN): Likewise.
8721 [C99-based standards] (FP_NORMAL): Likewise.
8722 [C99-based standards] (FP_SUBNORMAL): Likewise.
8723 [C99-based standards] (FP_ZERO): Likewise.
8724 [C99-based standards] (FP_FAST_FMA): Use
8725 optional-macro-int-constant. Specify type. Require == 1.
8726 [C99-based standards] (FP_FAST_FMAF): Likewise.
8727 [C99-based standards] (FP_FAST_FMAL): Likewise.
8728 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8729 [C99-based standards] (FP_ILOGBNAN): Likewise.
8730 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8732 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8733 [C99-based standards] (math_errhandling): Specify type.
8734 [ISO99 || ISO11] (signgam): Do not allow.
8735 [non-C99-based standards] (copysignf): Do not allow.
8736 [non-C99-based standards] (exp2f): Likewise.
8737 [non-C99-based standards] (log2f): Likewise.
8738 [non-C99-based standards] (modff): Allow.
8739 [non-C99-based standards] (erff): Do not allow.
8740 [non-C99-based standards] (erfcf): Likewise.
8741 [non-C99-based standards] (gammaf): Likewise.
8742 [non-C99-based standards] (hypotf): Likewise.
8743 [non-C99-based standards] (j0f): Likewise.
8744 [non-C99-based standards] (j1f): Likewise.
8745 [non-C99-based standards] (jnf): Likewise.
8746 [non-C99-based standards] (lgammaf): Likewise.
8747 [non-C99-based standards] (tgammaf): Likewise.
8748 [non-C99-based standards] (y0f): Likewise.
8749 [non-C99-based standards] (y1f): Likewise.
8750 [non-C99-based standards] (ynf): Likewise.
8751 [non-C99-based standards] (isnanf): Likewise.
8752 [non-C99-based standards] (acoshf): Likewise.
8753 [non-C99-based standards] (asinhf): Likewise.
8754 [non-C99-based standards] (atanhf): Likewise.
8755 [non-C99-based standards] (cbrtf): Likewise.
8756 [non-C99-based standards] (expm1f): Likewise.
8757 [non-C99-based standards] (ilogbf): Likewise.
8758 [non-C99-based standards] (log1pf): Likewise.
8759 [non-C99-based standards] (logbf): Likewise.
8760 [non-C99-based standards] (nextafterf): Likewise.
8761 [non-C99-based standards] (remainderf): Likewise.
8762 [non-C99-based standards] (rintf): Likewise.
8763 [non-C99-based standards] (scalbf): Likewise.
8764 [non-C99-based standards] (copysignl): Likewise.
8765 [non-C99-based standards] (exp2l): Likewise.
8766 [non-C99-based standards] (log2l): Likewise.
8767 [non-C99-based standards] (modfl): Allow.
8768 [non-C99-based standards] (erfl): Do not allow.
8769 [non-C99-based standards] (erfcl): Likewise.
8770 [non-C99-based standards] (gammal): Likewise.
8771 [non-C99-based standards] (hypotl): Likewise.
8772 [non-C99-based standards] (j0l): Likewise.
8773 [non-C99-based standards] (j1l): Likewise.
8774 [non-C99-based standards] (jnl): Likewise.
8775 [non-C99-based standards] (lgammal): Likewise.
8776 [non-C99-based standards] (tgammal): Likewise.
8777 [non-C99-based standards] (y0l): Likewise.
8778 [non-C99-based standards] (y1l): Likewise.
8779 [non-C99-based standards] (ynl): Likewise.
8780 [non-C99-based standards] (isnanl): Likewise.
8781 [non-C99-based standards] (acoshl): Likewise.
8782 [non-C99-based standards] (asinhl): Likewise.
8783 [non-C99-based standards] (atanhl): Likewise.
8784 [non-C99-based standards] (cbrtl): Likewise.
8785 [non-C99-based standards] (expm1l): Likewise.
8786 [non-C99-based standards] (ilogbl): Likewise.
8787 [non-C99-based standards] (log1pl): Likewise.
8788 [non-C99-based standards] (logbl): Likewise.
8789 [non-C99-based standards] (nextafterl): Likewise.
8790 [non-C99-based standards] (remainderl): Likewise.
8791 [non-C99-based standards] (rintl): Likewise.
8792 [non-C99-based standards] (scalbl): Likewise.
8793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8794 [non-C99-based standards] (FP_*): Do not allow.
8795 [C99-based standards] (FP_*): Change to
8796 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8797 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8799 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8800 (SIG_ERR): Likewise.
8801 [X/Open-based standards] (SIG_HOLD): Likewise.
8802 (SIG_IGN): Likewise.
8803 (SIGABRT): Use macro-int-constant. Specify type. Require
8808 (SIGSEGV): Likewise.
8810 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8811 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8812 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8813 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8814 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8815 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8816 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8817 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8818 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8819 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8820 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8821 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8822 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8823 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8824 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8825 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8826 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8827 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8828 [X/Open-based standards] (SIGTRAP): Likewise.
8829 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8830 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8831 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8832 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8833 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8836 2012-05-08 Ian Wienand <ianw@vmware.com>
8839 * time/tzset.c (__tzset_parse_tz): Update default rules for
8840 daylight time changes in the Energy Policy Act of 2005.
8842 2012-05-09 Andreas Jaeger <aj@suse.de>
8845 * elf/ldconfig.c (parse_conf): Change string to make clear that
8846 ldconfig only issued a warning if ld.so.conf does not exist.
8848 2012-05-08 David S. Miller <davem@davemloft.net>
8850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8851 movxtod instead of popping the value on the stack.
8853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8855 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8857 * config.h.in: Add HAVE_ARM_PCS_VFP.
8859 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
8862 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8863 checking but the checks are disabled for any reason.
8865 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8867 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8868 and ELF64_R_TYPE with ELFW(R_TYPE).
8870 2012-05-08 Joseph Myers <joseph@codesourcery.com>
8872 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8875 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8876 (settimeofday): Likewise.
8878 2012-05-08 Mike Frysinger <vapier@gentoo.org>
8880 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8881 a struct th_u2 inside the union, and move tu_block/tu_code into
8882 a new th_u3 union of tu_block/tu_code inside of that. Move
8883 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8884 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8885 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8886 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8887 (th_stuff): Change to th_u1.tu_stuff.
8889 (th_msg): Change to th_u1.th_u2.tu_data.
8891 2012-05-07 David S. Miller <davem@davemloft.net>
8893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8896 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8897 (SETUP_PIC_REG): Use it.
8898 (SETUP_PIC_REG_LEAF): Use it.
8900 2012-05-07 Joseph Myers <joseph@codesourcery.com>
8904 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8906 (EXPL_FINITE): Likewise.
8908 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8909 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8913 (EXPL_FINITE): Likewise.
8915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8916 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8918 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8919 test of -max_value argument for long double.
8920 * sysdeps/i386/fpu/libm-test-ulps: Update.
8921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8923 2012-05-06 David S. Miller <davem@davemloft.net>
8925 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8926 quad soft-float symbols whose references which are compiler
8928 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8930 2012-05-06 Joseph Myers <joseph@codesourcery.com>
8934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8936 (EXPL_FINITE): Likewise.
8940 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8941 Adjust comments for base varying.
8942 (__expl_finite): Change alias to EXPL_FINITE.
8943 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8945 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8946 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8948 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8949 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8951 (EXPL_FINITE): Likewise.
8955 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8956 Adjust comments for base varying.
8957 (__expl_finite): Change alias to EXPL_FINITE.
8958 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8963 * math/libm-test.inc (check_float_internal): Correct ulp
8964 calculation for subnormal expected results.
8966 2012-05-06 Andreas Jaeger <aj@suse.de>
8968 * Makeconfig (+math-flags): New, set to -frounding-math.
8969 (+cflags): Add +math-flags so that all of glibc gets compiled with
8972 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8974 2012-05-05 Joseph Myers <joseph@codesourcery.com>
8976 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8982 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8983 (__ieee754_expl): Allow for and saturate large arguments.
8984 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8985 (u_threshold): Likewise.
8986 (__exp): Call __ieee754_exp before checking for overflow and
8988 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8989 (u_threshold): Likewise.
8990 (__expf): Call __ieee754_expf before checking for overflow and
8992 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8993 (u_threshold): Likewise.
8994 (__expl): Call __ieee754_expl before checking for overflow and
8996 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8997 (__ieee754_expl): Allow for and saturate large arguments.
8998 * math/libm-test.inc (exp_test): Add another test. Do not allow
8999 missing overflow exception on overflow.
9000 (expm1_test): Do not allow missing overflow exception on overflow.
9002 * sysdeps/i386/fpu/e_expl.c: Move to ...
9003 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9004 rather than using inline asm.
9005 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9006 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9007 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9009 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9016 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9018 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9019 sysdeps/unix/common/syscalls.list.
9022 (ftruncate): Likewise.
9023 (getrusage): Likewise.
9024 (gettimeofday): Likewise.
9025 (setpgid): Likewise.
9026 (setregid): Likewise.
9027 (setreuid): Likewise.
9028 (sigaction): Likewise.
9029 (truncate): Likewise.
9030 (vhangup): Likewise.
9031 * sysdeps/unix/common/syscalls.list: Remove file.
9032 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9033 * sysdeps/unix/sysv/linux/Implies: Likewise.
9035 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9037 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9039 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9043 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9046 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9049 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9052 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9055 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9058 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9061 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9065 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9069 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9072 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9076 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9080 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9082 * sysdeps/unix/common/bits/dirent.h: Remove file.
9083 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9085 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9086 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9087 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9088 * sysdeps/unix/bsd/isatty.c: Likewise.
9089 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9090 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9091 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9093 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9096 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9097 long double comparison inaccuracies.
9098 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9101 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9103 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9106 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9109 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9110 nonzero digits before rounding a hex value.
9111 * stdlib/tst-strtod.c (tests): Add another test.
9113 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9115 * sysdeps/s390/fpu/libm-test-ulps: Update.
9117 2012-05-03 Andreas Jaeger <aj@suse.de>
9119 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9120 does not get optimized out.
9121 (malloc_opt_barrier): New.
9123 2012-05-03 Andreas Jaeger <aj@suse.de>
9124 Roland McGrath <roland@hack.frob.com>
9126 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9127 intermediate file deletion.
9128 (generated): Add .symlist files.
9130 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9133 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9134 Redirect under this condition.
9135 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9136 [__USE_GNU] (__dprintf_chk): Not under this condition.
9137 [__USE_GNU] (__vdprintf_chk): Likewise.
9138 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9139 under this condition.
9140 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9141 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9142 [__USE_XOPEN2K8] (vdprintf): Likewise.
9143 [__USE_GNU] (__dprintf_chk): Not under this condition.
9144 [__USE_GNU] (__vdprintf_chk): Likewise.
9145 [__USE_GNU] (dprintf): Likewise.
9146 [__USE_GNU] (vdprintf): Likewise.
9148 2012-05-03 Roland McGrath <roland@hack.frob.com>
9150 * elf/Makefile (common-generated): Set this instead of generated for
9151 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9152 $(all-built-dso)-derived lists.
9154 2012-05-03 Andreas Jaeger <aj@suse.de>
9156 * sysdeps/i386/fpu/libm-test-ulps: Update.
9160 * scripts/gen-FAQ.pl: Likewise.
9161 * manual/install.texi (Installation): Point to online location of
9163 * Makefile (files-for-dist): Remove FAQ.
9166 2012-05-02 Allan McRae <allan@archlinux.org>
9168 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9169 (LDFLAGS-reldepmod5.so): Likewise.
9170 (LDFLAGS-reldep6mod1.so): Likewise.
9171 (LDFLAGS-reldep6mod4.so): Likewise.
9172 (LDFLAGS-reldep8mod3.so): Likewise.
9173 (LDFLAGS-unload4mod1.so): Likewise.
9174 (LDFLAGS-unload4mod2.so): Likewise.
9175 (LDFLAGS-tst-initorder): Likewise.
9176 (LDFLAGS-tst-initordera2.so): Likewise.
9177 (LDFLAGS-tst-initordera3.so): Likewise.
9178 (LDFLAGS-tst-initordera4.so): Likewise.
9179 (LDFLAGS-tst-initorderb2.so): Likewise.
9180 (LDFLAGS-noload): Likewise.
9181 (LDFLAGS-next): Likewise.
9182 (LDFLAGS-order2mod1.so): Likewise.
9183 (LDFLAGS-order2mod2.so): Likewise.
9184 (LDFLAGS-tst-initorder2): Likewise.
9185 (LDFLAGS-tst-initorder2a.so): Likewise.
9186 (LDFLAGS-tst-initorder2b.so): Likewise.
9187 (LDFLAGS-tst-initorder2c.so): Likewise.
9188 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9190 2012-05-02 David S. Miller <davem@davemloft.net>
9192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9194 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9197 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9199 2012-05-02 Andreas Jaeger <aj@suse.de>
9201 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9202 since we manipulate rounding mode.
9203 (CPPFLAGS-test-idouble.c): Likewise.
9204 (CPPFLAGS-test-ifloat.c): Likewise.
9205 (CFLAGS-test-ldouble.c): Likewise.
9206 (CFLAGS-test-double.c): Likewise.
9207 (CFLAGS-test-float.c): Likewise.
9208 (CFLAGS-test-misc.c): Likewise.
9209 (CFLAGS-test-test-fenv.c): Likewise.
9211 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9215 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9216 comparisons to determine direction to adjust input.
9218 2012-05-01 Roland McGrath <roland@hack.frob.com>
9220 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9221 output to the target.
9223 * scripts/localplt.awk: New file.
9224 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9225 (check-localplt-CFLAGS): Variable removed.
9226 ($(all-built-dso:=.jmprel)): New static pattern rule.
9227 (generated): Add those targets.
9228 (localplt-built-dso): New variable.
9229 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9231 * elf/check-localplt.c: File removed.
9233 * scripts/check-execstack.awk: New file.
9234 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9235 (check-execstack-CFLAGS): Variable removed.
9236 ($(objpfx)check-execstack.h): Target removed.
9237 ($(objpfx)execstack-default): New target.
9238 (generated): Add that instead of check-execstack.h.
9239 ($(all-built-dso:=.phdr)): New static pattern rule.
9240 (generated): Add those targets.
9241 * elf/check-execstack.c: File removed.
9243 * scripts/check-textrel.awk: New file.
9244 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9245 (check-textrel-CFLAGS): Variable removed.
9246 (all-built-dso): Use := to define.o
9247 ($(all-built-dso:=.dyn)): New static pattern rule.
9248 (generated): Add those targets.
9249 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9250 * config.make.in (READELF): New substituted variable.
9251 * elf/check-textrel.c: File removed.
9253 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9255 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9257 * conform/data/ctype.h-data [C99-based standards] (isblank):
9259 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9260 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9262 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9263 Specify type. Require positive value.
9266 [ISO || POSIX] (EILSEQ): Do not expect.
9267 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9268 Specify type. Require positive value.
9269 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9270 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9271 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9272 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9273 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9274 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9275 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9276 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9277 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9278 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9279 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9280 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9281 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9282 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9283 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9284 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9285 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9286 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9287 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9288 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9289 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9290 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9291 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9292 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9293 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9294 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9295 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9296 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9297 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9298 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9299 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9300 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9301 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9302 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9303 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9304 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9305 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9306 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9307 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9308 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9309 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9310 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9311 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9312 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9313 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9314 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9315 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9316 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9317 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9318 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9319 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9320 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9321 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9322 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9323 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9324 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9325 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9326 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9327 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9328 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9329 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9330 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9331 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9332 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9333 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9334 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9335 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9336 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9337 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9338 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9339 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9340 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9341 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9342 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9343 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9344 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9345 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9347 (FLT_ROUNDS): Expect as macro, not constant.
9348 (FLT_MANT_DIG): Use macro-int-constant.
9349 (DBL_MANT_DIG): Likewise.
9350 (LDBL_MANT_DIG): Likewise.
9351 (FLT_DIG): Likewise.
9352 (DBL_DIG): Likewise.
9353 (LDBL_DIG): Likewise.
9354 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9355 (DBL_MIN_EXP): Likewise.
9356 (LDBL_MIN_EXP): Likewise.
9357 (FLT_MAX_EXP): Use macro-int-constant.
9358 (DBL_MAX_EXP): Likewise.
9359 (LDBL_MAX_EXP): Likewise.
9360 (FLT_MAX_10_EXP): Likewise.
9361 (DBL_MAX_10_EXP): Likewise.
9362 (LDBL_MAX_10_EXP): Likewise.
9363 (FLT_MAX): Use macro-constant.
9364 (DBL_MAX): Likewise.
9365 (LDBL_MAX): Likewise.
9366 (FLT_EPSILON): Use macro-constant. Give upper bound.
9367 (DBL_EPSILON): Likewise.
9368 (LDBL_EPSILON): Likewise.
9369 (FLT_MIN): Likewise.
9370 (DBL_MIN): Likewise.
9371 (LDBL_MIN): Likewise.
9372 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9373 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9374 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9375 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9376 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9377 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9378 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9379 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9380 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9381 [ISO11] (FLT_TRUE_MIN): Likewise.
9382 [ISO11] (LDBL_TRUE_MIN): Likewise.
9383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9384 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9385 (SCHAR_MIN): Use macro-int-constant. Specify type.
9386 (SCHAR_MAX): Likewise.
9387 (UCHAR_MAX): Likewise.
9388 (CHAR_MIN): Likewise.
9389 (CHAR_MAX): Likewise.
9390 (MB_LEN_MAX): Use macro-int-constant.
9391 (SHRT_MIN): Use macro-int-constant. Specify type.
9392 (SHRT_MAX): Likewise.
9393 (USHRT_MAX): Likewise.
9394 (INT_MAX): Likewise.
9395 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9397 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9399 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9401 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9402 bound negative. Suffix upper bound with "L".
9403 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9405 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9407 [C99-based standards] (LLONG_MAX): Likewise.
9408 [C99-based standards] (ULLONG_MAX): Likewise.
9409 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9411 [ISO11] (max_align_t): Require type.
9412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9414 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9415 from $CFLAGS, without defining away __attribute__ calls.
9416 (checknamespace): Use $CFLAGS_namespace.
9418 * conform/conformtest.pl (@keywords): Only include C99 keywords
9419 for standards based on C99 or C11.
9421 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9423 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9426 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9427 usability of symbols in #if.
9429 * conform/conformtest.pl: If macro or constant types start
9430 "promoted:", expect the symbol to be of the following type
9431 promoted by the integer promotions.
9433 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9434 in one place. Also handle "macro-constant".
9436 * conform/conformtest.pl: Only accept expected macro values with
9437 "==". Parse all "macro" lines in one place.
9438 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9440 * conform/conformtest.pl: Handle braced types on "constant" lines
9441 instead of handling "typed-constant".
9442 * conform/data/signal.h-data: Use "constant" instead of
9445 * conform/conformtest.pl: Handle "optional-" at start of lines in
9446 one place rather than duplicating several cases. Handle each
9447 format of "macro" line with initial "optional-".
9449 * conform/conformtest.pl: Only accept expected constant or
9450 optional-constant values with "==". Parse all "constant" lines in
9451 one place. Parse all "optional-constant" lines in one place.
9452 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9453 * conform/data/fmtmsg.h-data: Likewise.
9454 * conform/data/netinet/in.h-data: Likewise.
9455 * conform/data/tar.h-data: Likewise.
9456 * conform/data/limits.h-data: Use "==" form on "constant" and
9457 "optional-constant" lines.
9459 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9460 Use -std=c99 for XOPEN2K.
9461 (@knownproblems): Remove.
9462 (newtoken): Don't check %isknown.
9464 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9465 Do not expect macro.
9466 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9467 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9468 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9469 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9470 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9471 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9472 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9473 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9474 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9475 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9476 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9477 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9478 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9479 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9480 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9481 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9482 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9483 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9484 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9485 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9486 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9487 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9488 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9489 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9490 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9491 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9492 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9493 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9494 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9495 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9496 [XPG3] (acosh): Likewise.
9497 [XPG3] (asinh): Likewise.
9498 [XPG3] (atanh): Likewise.
9499 [XPG3] (cbrt): Likewise.
9500 [XPG3] (expm1): Likewise.
9501 [XPG3] (ilogb): Likewise.
9502 [XPG3] (log1p): Likewise.
9503 [XPG3] (logb): Likewise.
9504 [XPG3] (nextafter): Likewise.
9505 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9506 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9507 [XPG3] (remainder): Likewise.
9508 [XPG3] (rint): Likewise.
9509 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9510 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9511 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9512 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9513 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9514 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9515 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9516 [UNIX98 || XOPEN2K] (scalb): Expect.
9517 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9518 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9519 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9520 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9521 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9522 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9523 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9524 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9525 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9526 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9527 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9528 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9529 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9530 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9531 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9532 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9533 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9534 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9535 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9536 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9537 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9538 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9539 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9540 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9541 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9542 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9543 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9544 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9545 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9546 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9547 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9548 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9549 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9550 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9551 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9552 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9553 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9554 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9555 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9556 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9557 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9558 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9559 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9560 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9561 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9562 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9563 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9564 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9565 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9566 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9567 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9568 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9569 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9570 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9571 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9572 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9573 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9574 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9575 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9576 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9577 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9578 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9579 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9580 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9581 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9582 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9583 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9584 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9585 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9586 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9587 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9588 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9589 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9590 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9591 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9592 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9593 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9594 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9595 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9596 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9597 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9598 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9599 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9600 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9601 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9602 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9603 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9604 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9605 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9606 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9607 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9608 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9609 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9610 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9611 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9612 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9613 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9614 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9615 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9616 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9617 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9618 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9619 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9620 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9621 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9622 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9623 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9624 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9625 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9626 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9627 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9628 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9629 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9630 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9631 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9632 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9633 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9634 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9635 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9636 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9637 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9638 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9639 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9640 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9641 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9642 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9643 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9644 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9645 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9646 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9647 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9648 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9649 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9650 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9651 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9652 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9653 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9655 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9656 _XOPEN_SOURCE_EXTENDED for XPG4.
9658 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9660 * Makeconfig (localtime): Remove variable.
9661 (inst_localtime-file): Likewise.
9663 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9684 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9688 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9689 comparisons to determine direction to adjust input.
9690 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9691 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9692 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9696 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9698 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9699 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9701 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9703 * math/libm-test.inc (nexttoward_test): Add more tests.
9705 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9708 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9709 in version GLIBC_2.1, not GLIBC_2.0.
9710 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9713 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9716 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9718 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9719 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9720 * math/libm-test.inc (acos_test): Add more tests.
9721 (asin_test): Likewise.
9722 * sysdeps/i386/fpu/libm-test-ulps: Update.
9723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9726 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9728 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9729 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9730 * math/libm-test.inc (acos_test_tonearest): New function.
9731 (acos_test_towardzero): Likewise.
9732 (acos_test_downward): Likewise.
9733 (acos_test_upward): Likewise.
9734 (asin_test_tonearest): Likewise.
9735 (asin_test_towardzero): Likewise.
9736 (asin_test_downward): Likewise.
9737 (asin_test_upward): Likewise.
9738 (main): Call the new functions.
9739 * sysdeps/i386/fpu/libm-test-ulps: Update.
9740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9744 * math/e_exp10.c: Include <float.h>.
9745 (__ieee754_exp10): Handle underflow here rather than multiplying
9746 large negative argument by M_LN10.
9747 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9749 * math/e_exp10l.c: Include <float.h>.
9750 (__ieee754_exp10l): Handle underflow here rather than multiplying
9751 large negative argument by M_LN10l.
9752 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9753 spurious overflow exception on underflow.
9755 2012-04-29 Marek Polacek <polacek@redhat.com>
9757 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9758 (__fortify_function): New macro.
9759 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9760 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9761 __extern_always_inline.
9762 * libio/bits/stdio2.h: Likewise.
9763 * libio/bits/stdio.h: Likewise.
9764 * string/string.h: Likewise.
9765 * string/bits/string3.h: Likewise.
9766 * include/stdio.h: Likewise.
9767 * stdlib/bits/stdlib.h: Likewise.
9768 * stdlib/stdlib.h: Likewise.
9769 * rt/bits/mqueue2.h: Likewise.
9770 * rt/mqueue.h: Likewise.
9771 * posix/bits/unistd.h: Likewise.
9772 * posix/unistd.h: Likewise.
9773 * io/bits/poll2.h: Likewise.
9774 * io/bits/fcntl2.h: Likewise.
9775 * io/fcntl.h: Likewise.
9776 * io/sys/poll.h: Likewise.
9777 * misc/bits/syslog.h: Likewise.
9778 * misc/bits/syslog-ldbl.h: Likewise.
9779 * misc/sys/syslog.h: Likewise.
9780 * socket/bits/socket2.h: Likewise.
9781 * socket/sys/socket.h: Likewise.
9782 * debug/tst-chk1.c: Likewise.
9783 * wcsmbs/bits/wchar2.h: Likewise.
9784 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9785 * wcsmbs/wchar.h: Likewise.
9787 2012-04-29 Andreas Jaeger <aj@suse.de>
9789 * Makerules (tests): Remove enable-check-abi protection.
9790 (check-abi-warn): Remove.
9791 (check-abi-%): Remove check-abi-warn usage.
9793 * configure.in: Remove check-abi configure option.
9794 * configure: Regenerated.
9795 * config.make.in (enable-check-abi): Remove.
9797 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9800 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9801 double functions to double *_finite functions.
9804 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9805 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9807 * stdio-common/Makefile (tests): Add tst-sprintf3.
9808 * stdio-common/tst-sprintf3.c: New file.
9810 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9811 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9813 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9815 * conform/conformtest.pl: Remove duplicate typed-constant
9818 2012-04-28 David S. Miller <davem@davemloft.net>
9820 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9821 (check-abi-%): Remove AWK script prerequisite and explicit
9823 (check-abi): Rewrite to just diff the symlist with the abilist.
9824 (config-tls, config-abi-config): Delete, no longer used.
9825 (update-abi-%): Remove AWK script and explicit abilist directory.
9826 (update-abi): Rewrite to simply compare and conditionally copy the
9827 symlist and the sysdep abilist file. Remove update-abi-config
9829 * abilist/ld.abilist: Remove.
9830 * abilist/libBrokenLocale.abilist: Remove.
9831 * abilist/libanl.abilist: Remove.
9832 * abilist/libcrypt.abilist: Remove.
9833 * abilist/libdl.abilist: Remove.
9834 * abilist/librt.abilist: Remove.
9835 * abilist/libthread_db.abilist: Remove.
9836 * abilist/libutil.abilist: Remove.
9837 * scripts/extract-abilist.awk: Remove.
9838 * scripts/merge-abilist.awk: Remove.
9839 * sysdeps/generic/libcidn.abilist: New file.
9840 * sysdeps/generic/libnss_compat.abilist: New file.
9841 * sysdeps/generic/libnss_db.abilist: New file.
9842 * sysdeps/generic/libnss_dns.abilist: New file.
9843 * sysdeps/generic/libnss_files.abilist: New file.
9844 * sysdeps/generic/libnss_hesiod.abilist: New file.
9845 * sysdeps/generic/libnss_nis.abilist: New file.
9846 * sysdeps/generic/libnss_nisplus.abilist: New file.
9847 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9848 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9849 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9851 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9852 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9853 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9854 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9855 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9856 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9857 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9858 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9859 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9861 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9862 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9863 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9864 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9866 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9867 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9868 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9869 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9870 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9871 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9873 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9874 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9875 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9877 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9980 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9981 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9982 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9985 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9986 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9987 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9988 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9989 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9990 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9991 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9992 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9993 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10045 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10047 * conform/conformtest.pl: Fix typo in handling typed-constant from
10050 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10052 * README: Cut down references to pre-2.6 Linux kernels and
10053 Linuxthreads. Update lists of configurations in libc and ports
10054 and sort alphabetically. Say "or newer" with Linux kernel version
10057 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10059 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10062 * math/libm-test.inc (logb_test_downward): New test to expose
10063 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10066 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10069 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10071 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10072 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10074 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10076 * sysdeps/unix/i386/brk.S: Remove file.
10077 * sysdeps/unix/i386/dl-brk.S: Likewise.
10078 * sysdeps/unix/i386/pipe.S: Likewise.
10079 * sysdeps/unix/i386/sigreturn.S: Likewise.
10080 * sysdeps/unix/i386/syscall.S: Likewise.
10081 * sysdeps/unix/i386/vfork.S: Likewise.
10082 * sysdeps/unix/i386/wait.S: Likewise.
10084 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10085 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10087 * configure.in (arm*-none*): Do not allow without
10088 --enable-hacker-mode.
10089 (netbsd*): Remove case setting base_os.
10090 (386bsd*): Likewise.
10091 (freebsd*): Likewise.
10094 (sunos*): Likewise.
10095 (ultrix*): Likewise.
10096 (newsos*): Likewise.
10097 (dynix*): Likewise.
10103 (minix*): Likewise.
10104 (irix4*): Likewise.
10105 (irix6*): Likewise.
10106 (solaris[2-9]*): Likewise.
10108 * configure: Regenerated.
10110 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10113 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10114 overflow or cancellation in calculating denominator.
10115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10117 down expression to avoid unexpected rounding in newer GCCs.
10118 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10120 2012-04-26 David S. Miller <davem@davemloft.net>
10122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10123 long-double compat symbols.
10124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10138 2012-04-25 David S. Miller <davem@davemloft.net>
10140 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10141 HWCAP_* values only after the memory barriers have been defined.
10142 (atomic_full_barrier): Define.
10143 (atomic_read_barrier): Define.
10144 (atomic_write_barrier): Define.
10146 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10148 * shlib-versions: Add libgcc_s version information.
10149 * sysdeps/generic/libgcc_s.h: Remove.
10150 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10152 * sysdeps/gnu/unwind-resume.c: Likewise.
10153 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10155 2012-04-25 David S. Miller <davem@davemloft.net>
10157 * sysdeps/unix/sparc/brk.S: Delete.
10158 * sysdeps/unix/sparc/dl-brk.S: Delete.
10159 * sysdeps/unix/sparc/pipe.S: Delete.
10160 * sysdeps/unix/sparc/sysdep.S: Delete.
10161 * sysdeps/unix/sparc/sysdep.h: Delete.
10162 * sysdeps/unix/sparc/vfork.S: Delete.
10163 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10164 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10165 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10166 ret_ERRVAL, r0, r1, MOVE): Define.
10167 (JUMPTARGET): Remove.
10168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10169 sysdeps/unix/sparc/sysdep.h
10170 (ENTRY, END): Remove.
10171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10173 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10175 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10176 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10179 * timezone/README: Update upstream location and email address for
10181 * timezone/zdump.c: Update from tzcode 2012b.
10182 * timezone/zic.c: Likewise.
10184 * configure.in (libc_cv_as_needed): Remove test.
10185 * configure: Regenerated.
10186 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10187 conditional definition.
10188 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10189 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10190 * config.make.in (have-as-needed): Remove variable.
10192 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10193 Paul Pluzhnikov <ppluzhnikov@google.com>
10195 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10198 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10200 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10201 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10202 * sysdeps/sh/strlen.S: Likewise.
10204 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10206 * sysdeps/unix/fork.S: Remove file.
10207 * sysdeps/unix/i386/fork.S: Likewise.
10208 * sysdeps/unix/sparc/fork.S: Likewise.
10210 * sysdeps/unix/system.c: Remove file.
10211 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10213 * sysdeps/unix/getegid.S: Remove file.
10214 * sysdeps/unix/geteuid.S: Likewise.
10216 2012-04-24 Roland McGrath <roland@hack.frob.com>
10218 * scripts/check-localplt.awk: New file.
10219 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10221 * scripts/data/localplt-generic.data: Add a comment.
10223 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10224 NODE when __dir_mkfile failed.
10225 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10226 Reported by Ludovic Courtès <ludo@gnu.org>.
10228 2012-04-24 Andreas Jaeger <aj@suse.de>
10230 * Makerules (common-clean): Also remove gen-as-const-headers
10233 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10235 * Makerules (native-compile): Do not change working directory for
10236 build. Use $(OUTPUT_OPTION) in command.
10237 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10239 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10242 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10243 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10244 * math/libm-test.inc (floor_test): Add more tests.
10245 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10247 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10249 * sysdeps/unix/getdents.c: Remove file.
10250 * sysdeps/unix/sysv/getdents.c: Likewise.
10251 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10253 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10254 sysdeps/unix/mman/syscalls.list.
10256 (mprotect): Likewise.
10258 (munmap): Likewise.
10259 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10260 * sysdeps/unix/mman/syscalls.list: Remove.
10261 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10263 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10264 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10265 * configure: Regenerated.
10266 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10267 $(libgcc_s_suffix).
10268 * config.make.in (libgcc_s_suffix): Remove variable.
10270 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10272 * sysdeps/unix/sysv/gethostname.c: Move to ...
10273 * sysdeps/posix/gethostname.c: ... here.
10275 * sysdeps/unix/execve.S: Remove file.
10277 * sysdeps/unix/_exit.S: Remove file.
10279 2012-04-23 Andreas Jaeger <aj@suse.de>
10282 * manual/Makefile: Remove make dist support, there's no
10283 need for a stand-alone documentation tar ball.
10284 (TEXI2DVI): Define always, it's not in Makeconfig.
10287 (edition): Removed.
10288 (glibc-doc-$(edition).tar): Removed
10292 (ETAGS): Remove, it's in Makeconfig.
10293 (move-if-change): Remove, it's in Makeconfig.
10295 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10298 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10299 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10300 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10301 (strtod_l, strtof_l, strtold_l): Remove __wur.
10302 It is not necessarily an error to ignore strtol's return value.
10303 One can reliably look at the stored endptr to decide whether
10304 the number had valid syntax.
10306 2012-04-21 Andreas Jaeger <aj@suse.de>
10309 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10311 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10313 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10314 * sysdeps/unix/sysv/Versions: Remove file.
10316 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10321 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10325 version from __vm86.
10327 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10329 * sysdeps/unix/common/lxstat.c: Remove file.
10330 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10332 * sysdeps/unix/sysv/Makefile: Remove file.
10334 * sysdeps/unix/sysv/direct.h: Remove file.
10336 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10337 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10338 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10339 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10340 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10341 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10342 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10344 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10346 * sysdeps/unix/xmknod.c: Remove file.
10347 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10349 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10351 * sysdeps/unix/sysv/i386/time.S: Remove file.
10353 * sysdeps/unix/fxstat.c: Remove file.
10354 * sysdeps/unix/xstat.c: Likewise.
10355 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10357 * sysdeps/unix/sysv/sigaction.c: Remove file.
10359 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10360 (sysdep_headers): Remove variable.
10361 [termio.h not in sysdep_headers] (generated): Likewise.
10362 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10363 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10364 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10365 * sysdeps/unix/sysv/tcflow.c: Likewise.
10366 * sysdeps/unix/sysv/tcflush.c: Likewise.
10367 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10368 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10369 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10370 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10371 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10373 * sysdeps/unix/siglist.c: Remove file.
10375 * sysdeps/unix/getppid.S: Remove file.
10377 * sysdeps/unix/mkdir.c: Remove file.
10378 * sysdeps/unix/rmdir.c: Likewise.
10380 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10382 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10384 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10385 errlist-compat value.
10387 2012-04-18 David S. Miller <davem@davemloft.net>
10389 * sysdeps/generic/memcopy.h (reg_char): Delete.
10390 * debug/strcat_chk.c: Use char, not reg_char.
10391 * debug/strcpy_chk.c: Likewise.
10392 * debug/strncat_chk.c: Likewise.
10393 * debug/strncpy_chk.c: Likewise.
10394 * string/memchr.c: Likewise.
10395 * string/memrchr.c: Likewise.
10396 * string/rawmemchr.c: Likewise.
10397 * string/strcat.c: Likewise.
10398 * string/strchr.c: Likewise.
10399 * string/strchrnul.c: Likewise.
10400 * string/strcmp.c: Likewise.
10401 * string/strcpy.c: Likewise.
10402 * string/strncat.c: Likewise.
10403 * string/strncmp.c: Likewise.
10404 * string/strncpy.c: Likewise.
10406 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10408 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10409 __builtin_memcopy is called when src and dest ranges are known to not
10412 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10414 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10415 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10416 fwd_align_merge macro call.
10417 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10418 bwd_align_merge macro call.
10419 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10421 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10423 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10424 bwd_align_merge macros.
10425 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10426 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10427 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10429 2012-04-18 David S. Miller <davem@davemloft.net>
10431 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10433 2012-04-18 Andreas Jaeger <aj@suse.de>
10436 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10437 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10438 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10440 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10441 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10442 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10444 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10445 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10446 Adjust for changed ldbl-128 files.
10448 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10449 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10450 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10452 2012-04-17 David S. Miller <davem@davemloft.net>
10454 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10456 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10458 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10459 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10460 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10461 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10462 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10463 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10465 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10468 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10469 * math/libm-test.inc: Add ilogb errno and exception tests.
10470 * math/w_ilogb.c: New file: ilogb wrapper.
10471 * math/w_ilogbf.c: New file: ilogbf wrapper.
10472 * math/w_ilogbl.c: New file: ilogbl wrapper.
10473 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10474 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10475 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10476 exception being thrown with 0.0 as argument.
10477 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10478 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10479 exception being thrown with 0.0 as argument.
10480 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10481 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10482 exception being thrown with 0.0 as argument.
10483 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10484 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10485 exception being thrown with 0.0 as argument.
10486 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10487 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10488 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10489 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10490 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10491 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10492 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10493 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10494 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10496 2012-04-17 Petr Baudis <pasky@ucw.cz>
10498 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10501 2012-04-16 Marek Polacek <polacek@redhat.com>
10503 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10505 2012-04-16 Marek Polacek <polacek@redhat.com>
10507 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10508 operands of fdivp instruction.
10510 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10512 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10513 * elf/tst-auditmod3b.c: Likewise.
10514 * elf/tst-auditmod4b.c: Likewise.
10515 * elf/tst-auditmod5b.c: Likewise.
10516 * elf/tst-auditmod6b.c: Likewise.
10517 * elf/tst-auditmod6c.c: Likewise.
10518 * elf/tst-auditmod7b.c: Likewise.
10519 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10520 * sysdeps/x86_64/preconfigure.in: Likewise.
10521 * sysdeps/x86_64/preconfigure: Regenerated.
10523 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10525 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10528 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10531 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10533 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10536 * locale/iso-639.def: Fix gl language name. Spotted by
10539 2012-04-12 Roland McGrath <roland@hack.frob.com>
10542 * libio/libio.h (__io_write_fn): Update comment.
10544 2012-04-12 Petr Baudis <pasky@ucw.cz>
10547 * stdio.texi (Hook Functions): The user provided writer function
10548 is not allowed to return -1.
10550 2012-04-11 David S. Miller <davem@davemloft.net>
10552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10554 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10556 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10557 Add a leading slash to rtkaio.
10559 2012-04-11 Jim Meyering <meyering@redhat.com>
10562 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10563 It is not necessarily an error to ignore fwrite's return
10564 value. One can reliably use ferror to test for errors after
10567 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10569 * bits/types.h (__snseconds_t): New type.
10570 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10572 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10574 (__SNSECONDS_T_TYPE): Likewise.
10575 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10576 (__SNSECONDS_T_TYPE): Likewise.
10577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10578 (__SNSECONDS_T_TYPE): Likewise.
10580 2012-04-10 Andreas Jaeger <aj@suse.de>
10583 * manual/time.texi (Processor Time): Return type of times is
10584 elapsed real time since an arbitrary point in the past.
10585 (CPU Time): Move CLK_TCK from here...
10586 (Processor Time): ...to here. Correct description.
10587 * manual/conf.texi (Constants for Sysconf): Correct description of
10590 2012-04-10 David S. Miller <davem@davemloft.net>
10593 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10594 where the is a gap between DT_REL(A) and DT_JMPREL.
10596 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10598 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10599 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10600 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10602 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10604 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10605 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10606 (dl_main): Handle --inhibit-cache.
10607 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10609 * elf/dl-load.c (_dl_map_object): Use it.
10610 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10612 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10615 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10616 (__ieee754_powl): Saturate large exponents rather than testing for
10617 overflow of y*log2(x).
10618 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10619 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10623 * math/s_ctan.c: Include <float.h>.
10624 (__ctan): Avoid internal overflow or cancellation in calculating
10626 * math/s_ctanf.c: Likewise.
10627 * math/s_ctanl.c: Likewise.
10628 * math/s_ctanh.c: Likewise.
10629 * math/s_ctanhf.c: Likewise.
10630 * math/s_ctanhl.c: Likewise.
10631 * math/libm-test.inc (ctan_test): Add more tests.
10632 (ctanh_test): Likewise.
10633 * sysdeps/i386/fpu/libm-test-ulps: Update.
10634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10636 2012-04-09 Andreas Jaeger <aj@suse.de>
10639 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10640 is an optional BSD extension.
10643 * manual/stdio.texi (Opening Streams): Document additional fopen
10646 2012-04-09 Roland McGrath <roland@hack.frob.com>
10648 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10649 %eax without telling the compiler.
10651 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10654 * manual/install.texi: Use sourceware.org.
10656 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10659 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10660 (__ieee754_pow): Generate overflow and underflow using huge*huge
10661 and tiny*tiny rather than just returning constant infinity or zero
10662 for large exponents.
10663 * math/libm-test.inc (pow_test): Require overflow exceptions for
10664 applicable cases of large exponents.
10667 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10668 (__ieee754_pow): Use iterative multiplication algorithm only for
10669 integer exponents with absolute value below 1024. Check for odd
10670 integer exponents when using algorithm for real exponents.
10671 * math/libm-test.inc (pow_test): Add more tests.
10672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10674 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10677 * math/libm-test.inc (exp_test): Do not allow overflow exception
10680 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10683 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10684 instead of __kernel_standard_f.
10686 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10688 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10689 * sysdeps/x86_64/memset_chk.S: Likewise.
10691 2012-04-08 Andreas Jaeger <aj@suse.de>
10694 * manual/startup.texi (Environment Access): Describe return value
10695 for putenv and setenv.
10698 * manual/filesys.texi (Directory Entries): Add description for
10702 * manual/filesys.texi (Directory Entries): Clarify that it's file
10703 system not operating system in the description of DT_UNKNOWN.
10706 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10708 2012-04-08 Stephen Compall <s11@member.fsf.org>
10711 * manual/llio.texi (Opening and Closing Files): Add cross
10712 reference to explain mode argument.
10714 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10716 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10717 * sysdeps/x86_64/memset_chk.S: Likewise.
10719 2012-04-07 David S. Miller <davem@davemloft.net>
10721 * elf/elf.h (R_SPARC_WDISP10): Define.
10722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10724 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10725 R_SPARC_SIZE64 and R_SPARC_H34.
10727 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10729 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10730 conditions and remove no longer applicable assertion.
10732 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10734 * bits/byteswap.h: Include <features.h>.
10735 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10736 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10738 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10740 * bits/byteswap.h (__bswap_16): Removed.
10741 Include <bits/byteswap-16.h> to get __bswap_16.
10742 * sysdeps/i386/bits/byteswap.h: Likewise.
10743 * sysdeps/s390/bits/byteswap.h: Likewise.
10744 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10745 * bits/byteswap-16.h: New file.
10746 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10747 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10748 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10749 * string/Makefile (headers): Add bits/byteswap-16.h.
10751 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10754 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10756 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10757 * nss/tst-nss-static.c: New.
10759 2012-04-06 Robert Millan <rmh@gnu.org>
10762 * manual/llio.texi (File Position Primitive): lseek
10763 refers to WHENCE when it really means OFFSET.
10765 2012-04-06 Andreas Jaeger <aj@suse.de>
10767 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10768 strncmp declarations.
10770 * abilist/libc.abilist: Add __poll and __ppoll.
10772 2012-04-05 David S. Miller <davem@davemloft.net>
10774 * scripts/check-local-headers.sh: Accept a host triplet in the
10775 path matched by the exclude regexp.
10777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10779 * sysdeps/powerpc/powerpc32/dl-machine.h
10780 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10781 * sysdeps/s390/s390-32/dl-machine.h
10782 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10783 * sysdeps/sparc/sparc32/dl-machine.h
10784 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10785 * sysdeps/sparc/sparc64/dl-machine.h
10786 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10788 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10790 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10791 undefined symbol errors.
10793 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10796 2012-04-05 Michael Matz <matz@suse.de>
10799 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10801 2012-04-05 Andreas Jaeger <aj@suse.de>
10804 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10807 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10809 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10810 which ROUND is no valid rounding mode.
10812 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10814 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10816 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10818 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10820 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10821 an exception using FPU order intentionally.
10823 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10825 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10826 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10827 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10828 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10830 2012-04-05 Simon Josefsson <simon@josefsson.org>
10833 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10834 EINVAL when BUFLEN is too smal.
10836 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10839 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10840 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10842 2012-04-03 Andreas Jaeger <aj@suse.de>
10845 * manual/setjmp.texi (System V contexts): Fix sentence.
10848 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10849 New macro for this case.
10850 [!__GNUC__] (__bswap_64): New inline function for this case.
10851 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10852 * bits/byteswap.h: Likewise.
10853 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10854 ull, guard with __GLIBC_HAVE_LONG_LONG.
10856 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10857 __GLIBC_HAVE_LONG_LONG.
10859 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10860 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10862 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10865 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10866 inptr and inend, rather than using last_ch.
10868 2012-04-02 David S. Miller <davem@davemloft.net>
10870 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10871 * stdio-common/printf-parse.h (read_int): Change return type to
10872 'int', return -1 on INT_MAX overflow.
10873 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10874 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10875 overflows INT_MAX. Check for overflow of in-format-string precision
10876 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10877 SIZE_MAX not INT_MAX for integer overflow test.
10878 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10879 skip the construct in the format string but do not record anything.
10880 * stdio-common/bug22.c: Adjust to test both width/prevision
10881 INT_MAX overflow as well as total length INT_MAX overflow. Check
10882 explicitly for proper errno values.
10884 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10886 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10888 * string/test-strcmp.c [! WIDE]: Likewise.
10889 * time/tst-mktime2.c: Likewise for INT_MAX.
10890 * string/test-string.h: #include <sys/param.h> for MIN.
10892 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10893 * sysdeps/i386/init-first.c (init): Likewise.
10894 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10895 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10896 * sysdeps/sh/init-first.c (init): Likewise.
10898 2012-04-01 Ulrich Drepper <drepper@gmail.com>
10900 * po/ru.po: Update from translation team.
10901 * po/vi.po: Likewise.
10903 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10905 * resolv/nss_dns/dns-host.c: Merge copyright years.
10907 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10909 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10910 Optimize memcpy with prefetch if
10911 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10912 src, dst pointers have unequal 16 byte alignments.
10914 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10917 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10918 from a CNAME entry and return the minimum ttl for the query.
10919 (gaih_getanswer_slice): Likewise.
10921 2012-03-30 Jeff Law <law@redhat.com>
10923 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10925 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10926 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10928 * resolv/nss_dns/dns-host.c: Update copyright year.
10930 2012-03-30 Ulrich Drepper <drepper@gmail.com>
10932 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10933 requests to save a system call. Fix check that all bytes are sent.
10935 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10936 comments for sendmmsg.
10938 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10941 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10942 with only 1 character between 0x0041 and 0x01b0.
10943 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10944 * wcsmbs/tst-mbsnrtowcs.c: New file.
10946 2012-03-29 David S. Miller <davem@davemloft.net>
10948 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10949 small copies by hand.
10951 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10954 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10955 _nss_compat_initgroups_dyn): Fall back to malloc/free
10956 for large group memberships.
10958 2012-03-28 David S. Miller <davem@davemloft.net>
10960 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10961 that branches into memcpy.
10962 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10963 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10965 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10968 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10969 implementation too.
10970 * sysdeps/sparc/mempcpy.S: New file.
10972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10973 the IFUNC routine in the libc case.
10974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10976 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10977 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10978 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10979 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10980 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10981 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10982 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10983 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10985 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10986 loop to 256 bytes instead of 64 bytes and fix test signedness.
10988 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10989 * sysdeps/sparc/sparc32/Makefile: rather than here...
10990 * sysdeps/sparc/sparc64/Makefile: and here.
10992 2012-03-28 Ulrich Drepper <drepper@gmail.com>
10994 * malloc/mallocbug.c: Avoid warnings about unused variables.
10996 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10999 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11000 in the right place. Discard and retry query if response is
11001 larger than input buffer size.
11003 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11009 x for large integer exponent.
11010 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11011 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11012 sign of result as needed afterwards.
11013 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11014 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11015 result for underflowing pow the same as for overflow.
11016 (__kernel_standard_l): Handle powl overflow and underflow here
11017 rather than calling __kernel_standard.
11018 * math/libm-test.inc (pow_test): Add more tests.
11033 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11034 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11035 (__kernel_standard_l): New function.
11036 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11038 * math/w_acosl.c (__acosl): Likewise.
11039 * math/w_asinl.c (__asinl): Likewise.
11040 * math/w_atan2l.c (__atan2l): Likewise.
11041 * math/w_atanhl.c (__atanhl): Likewise.
11042 * math/w_coshl.c (__coshl): Likewise.
11043 * math/w_exp10l.c (__exp10l): Likewise.
11044 * math/w_exp2l.c (__exp2l): Likewise.
11045 * math/w_fmodl.c (__fmodl): Likewise.
11046 * math/w_hypotl.c (__hypotl): Likewise.
11047 * math/w_j0l.c (__j0l, __y0l): Likewise.
11048 * math/w_j1l.c (__j1l, __y1l): Likewise.
11049 * math/w_jnl.c (__jnl, __ynl): Likewise.
11050 * math/w_lgammal.c (__lgammal): Likewise.
11051 * math/w_log10l.c (__log10l): Likewise.
11052 * math/w_log2l.c (__log2l): Likewise.
11053 * math/w_logl.c (__logl): Likewise.
11054 * math/w_powl.c (__powl): Likewise.
11055 * math/w_remainderl.c (__remainderl): Likewise.
11056 * math/w_scalbl.c (sysv_scalbl): Likewise.
11057 * math/w_sinhl.c (__sinhl): Likewise.
11058 * math/w_sqrtl.c (__sqrtl): Likewise.
11059 * math/w_tgammal.c (__tgammal): Likewise.
11060 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11061 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11062 * math/libm-test.inc (acos_test): Add more tests.
11063 (acosh_test): Likewise.
11064 (asin_test): Likewise.
11065 (atanh_test): Likewise.
11066 (exp_test): Likewise.
11067 (exp10_test): Likewise.
11068 (exp2_test): Likewise.
11069 (expm1_test): Likewise.
11070 (lgamma_test): Likewise.
11071 (log_test): Likewise.
11072 (log10_test): Likewise.
11073 (log1p_test): Likewise.
11074 (log2_test): Likewise.
11075 (pow_test): Do not allow some spurious overflow exceptions.
11076 (sqrt_test): Add more tests.
11077 (tgamma_test): Likewise.
11078 (y0_test): Likewise.
11079 (y1_test): Likewise.
11080 (yn_test): Likewise.
11082 2012-03-27 Anton Blanchard <anton@samba.org>
11084 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11086 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11087 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11088 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11090 2012-03-27 David S. Miller <davem@davemloft.net>
11092 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11094 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11095 have-as-vis3 check.
11097 2012-03-27 Andreas Jaeger <aj@suse.de>
11099 * sysdeps/x86_64/elf/configure.in: Moved to ...
11100 * sysdeps/x86_64/configure.in: ... here.
11101 * sysdeps/x86_64/elf/start.S: Moved to ...
11102 * sysdeps/x86_64/start.S: ... here.
11103 * sysdeps/x86_64/elf/configure: Delete.
11105 * sysdeps/x86_64/configure.in: Merge contents from
11106 sysdeps/i386/configure.in (without i686 check).
11108 * sysdeps/i386/elf/Versions: Merge into ...
11109 * sysdeps/i386/Versions: ... this.
11110 * sysdeps/i386/elf/Versions: Delete file.
11111 * sysdeps/i386/elf/start.S: Moved to ...
11112 * sysdeps/i386/start.S: ...here.
11113 * sysdeps/i386/elf/configure.in: Merge into...
11114 * sysdeps/i386/configure.in: ...here.
11115 * sysdeps/i386/elf/configure.in: Delete file.
11116 * sysdeps/i386/elf/configure: Delete file.
11118 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11119 * debug/backtracesyms.c: ... here.
11120 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11121 * debug/backtracesymsfd.c: ... here.
11122 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11123 * sysdeps/generic/ifunc-sel.h: ... here.
11125 * sysdeps/unix/i386/start.c: Delete file.
11126 * sysdeps/unix/sparc/start.c: Delete file.
11127 * sysdeps/unix/start.c: Delete file.
11129 * sysdeps/sh/elf/configure.in: Moved to ...
11130 * sysdeps/sh/configure.in: ... here.
11131 * sysdeps/sh/elf/start.S: Moved to ...
11132 * sysdeps/sh/start.S: ... here.
11133 * sysdeps/sh/elf/configure: Delete file.
11135 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11136 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11137 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11138 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11139 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11140 * sysdeps/powerpc/powerpc64/start.S: here.
11141 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11142 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11143 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11144 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11145 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11147 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11148 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11149 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11150 * sysdeps/powerpc/powerpc32/start.S: ... here.
11151 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11152 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11153 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11155 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11156 * sysdeps/powerpc/ifunc-sel.h: ... here.
11157 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11158 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11160 * sysdeps/sparc/elf/configure.in: Moved to ...
11161 * sysdeps/sparc/configure.in: ... here.
11162 * sysdeps/sparc/elf/configure: Delete file.
11163 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11164 * sysdeps/sparc/sparc32/start.S: ... here.
11165 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11166 * sysdeps/sparc/sparc64/start.S: ... here.
11167 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11168 * sysdeps/sparc/sparc32/Makefile: ... this.
11169 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11170 * sysdeps/sparc/sparc64/Makefile: ... this.
11172 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11173 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11174 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11175 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11176 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11177 * sysdeps/s390/s390-32/setjmp.S: ... here.
11178 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11179 * sysdeps/s390/s390-32/configure.in: ... here.
11180 * sysdeps/s390/s390-32/elf/configure: Delete file.
11181 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11182 * sysdeps/s390/s390-32/start.S: ... here.
11184 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11185 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11186 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11187 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11188 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11189 * sysdeps/s390/s390-64/setjmp.S: ... here.
11190 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11191 * sysdeps/s390/s390-64/configure.in: ... here
11192 * sysdeps/s390/s390-64/elf/configure: Delete file.
11193 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11194 * sysdeps/s390/s390-64/start.S: ... here.
11195 * sysdeps/s390/s390-64/elf/configure: Delete.
11197 * configure.in: Remove support for elf directories in sysdeps.
11199 * configure: Regenerated.
11200 * sysdeps/i386/configure: Regenerated.
11201 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11202 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11203 * sysdeps/s390/s390-32/configure: Regenerated.
11204 * sysdeps/s390/s390-64/configure: Regenerated.
11205 * sysdeps/sh/configure: Regenerated.
11206 * sysdeps/sparc/configure: Regenerated.
11207 * sysdeps/x86_64/configure: Regenerated.
11209 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11213 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11214 denormal result into account.
11216 2012-03-25 Roland McGrath <roland@hack.frob.com>
11218 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11219 Reported by Allan McRae <allan@archlinux.org>.
11221 2012-03-23 Jeff Law <law@redhat.com>
11223 * nss/getnssent.c (__nss_getent): Fix typo.
11225 2012-03-23 David S. Miller <davem@davemloft.net>
11227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11229 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11231 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11232 to pad to uint64_t for each field.
11233 (dl_tls_index): Replace unsigned long with uint64_t.
11235 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11236 Paul Pluzhnikov <ppluzhnikov@google.com>
11239 * grp/Makefile (otherlibs): Don't set it.
11240 * inet/Makefile (otherlibs): Likewise.
11241 * login/Makefile (otherlibs): Likewise.
11242 * nscd/Makefile (otherlibs): Likewise.
11243 * posix/Makefile (otherlibs): Likewise.
11244 * pwd/Makefile (otherlibs): Likewise.
11245 * rt/Makefile (otherlibs): Likewise.
11246 * sunrpc/Makefile (otherlibs): Likewise.
11247 * nss/Makefile (otherlibs): Likewise.
11248 Add libnss_files to routines and static-only-routines.
11249 ($(objpfx)getent): Remove rule.
11250 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11251 static-only-routines.
11253 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11256 * math/s_cexp.c: Include <float.h>.
11257 (__cexp): Handle exp result overflowing not necessarily
11258 overflowing both real and imaginary parts of result.
11259 * math/s_cexpf.c: Likewise.
11260 * math/s_cexpl.c: Likewise.
11261 * math/libm-test.inc (cexp_test): Add more tests.
11262 * sysdeps/i386/fpu/libm-test-ulps: Update.
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11265 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11267 * include/link.h (ELFW): New macro.
11268 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11269 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11271 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11273 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11276 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11278 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11280 (struct La_x32_retval): Likewise.
11282 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11284 * sysdeps/x86_64/preconfigure.in: New file.
11285 * sysdeps/x86_64/preconfigure: New generated file.
11287 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11290 * math/e_exp2l.c: Include <float.h>.
11291 (__ieee754_exp2l): Handle overflow and underflow cases
11292 separately. Only pass fractional part of argument to
11294 * math/libm-test.inc (exp2_test): Add more tests.
11296 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11297 negating x to take absolute value.
11298 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11300 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11301 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11303 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11304 computing low part if x was negated.
11305 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11307 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11309 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11310 la_x32_gnu_pltexit.
11311 (pltexit): Cast int_retval to ptrdiff_t.
11312 * elf/tst-auditmod3b.c: Likewise.
11313 * elf/tst-auditmod4b.c: Likewise.
11314 * elf/tst-auditmod5b.c: Likewise.
11315 * elf/tst-auditmod6b.c: Likewise.
11316 * elf/tst-auditmod6c.c: Likewise.
11317 * elf/tst-auditmod7b.c: Likewise.
11319 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11320 and x32_gnu_pltexit.
11322 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11323 __ELF_NATIVE_CLASS.
11324 (La_x32_regs): New macro.
11325 (La_x32_retval): Likewise.
11326 (la_x32_gnu_pltenter): New function prototype.
11327 (la_x32_gnu_pltexit): Likewise.
11329 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11336 * configure.in (libc_cv_cc_nofma): Check for option to disable
11337 generation of FMA instructions.
11338 * configure: Regenerate.
11339 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11340 * sysdeps/ieee754/dbl-64/Makefile: New file.
11341 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11342 Remove brandred-fma4.
11343 (CFLAGS-brandred-fma4.c): Remove.
11344 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11345 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11347 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11350 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11352 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11353 LLONG_MAX != LONG_MAX.
11354 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11355 (_fitoa_word): Likewise.
11356 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11357 LLONG_MAX != LONG_MAX.
11358 * stdio-common/_itowa.h: Include <_itoa.h>.
11359 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11360 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11361 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11362 only if not defined.
11363 (_ITOA_WORD_TYPE): Likewise.
11364 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11365 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11367 2012-03-21 David S. Miller <davem@davemloft.net>
11369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11371 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11373 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11374 of x86_64 when setting libc_cv_slibdir, libdir and
11376 * sysdeps/unix/sysv/linux/configure: Regenerated.
11378 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11380 * manual/lang.texi (Old Varargs): Remove section.
11381 (How Variadic): Update menu.
11382 (va_start): Do not mention varargs.h.
11384 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11385 Joseph Myers <joseph@codesourcery.com>
11387 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11389 * configure: Regenerated.
11391 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11393 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11394 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11397 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11400 * Makefile (files-for-dist): Remove NOTES.
11401 (NOTES): Remove rule.
11402 * README: Don't refer to NOTES.
11403 * manual/creature.texi: Don't include macros.texi.
11404 * manual/intro.texi (creature.texi): Remove comment referring to
11407 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11408 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11409 * configure: Regenerated.
11410 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11411 LIBC_TRY_CC_OPTION.
11412 (libc_cv_as_i686): Likewise.
11413 (libc_cv_cc_avx): Likewise.
11414 (libc_cv_cc_sse2avx): Likewise.
11415 (libc_cv_cc_fma4): Likewise.
11416 (libc_cv_cc_novzeroupper): Likewise.
11417 * sysdeps/i386/configure: Regenerated.
11420 * sysdeps/i386/fpu/s_cexp.S: Remove.
11421 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11422 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11423 * math/libm-test.inc (cexp_test): Add more tests.
11424 * sysdeps/i386/fpu/libm-test-ulps: Update.
11425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11427 2012-03-21 Allan McRae <allan@archlinux.org>
11429 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11431 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11434 * math/w_exp2.c: Do not include <float.h>.
11435 (o_threshold, u_threshold): Remove.
11436 (__exp2): Calculate result before checking finiteness and calling
11438 * math/w_exp2f.c: Likewise.
11439 * math/w_exp2l.c: Likewise.
11440 * math/libm-test.inc (exp2_test): Require overflow exception for
11444 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11445 range of signed 64-bit integers before using fistpll. Remove
11446 checks for whether integers fit in mantissa bits.
11447 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11448 the range of signed 32-bit integers before using fistpl. Remove
11449 checks for whether integers fit in mantissa bits.
11450 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11451 (__ieee754_powl): Test for y outside the range of signed 64-bit
11452 integers before using fistpll. Reduce 64-bit values to 63-bit
11454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11455 divide-by-zero is raised for zero to large negative powers.
11456 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11457 (__ieee754_powl): Test for y outside the range of signed 64-bit
11458 integers before using fistpll. Reduce 64-bit values to 63-bit
11460 * math/libm-test.inc (pow_test): Add more tests.
11462 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11464 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11465 <stdio-common/_itoa.h>.
11466 * debug/segfault.c: Likewise.
11467 * elf/dl-cache.c: Likewise.
11468 * elf/dl-minimal.c: Likewise.
11469 * elf/dl-misc.c: Likewise.
11470 * elf/dl-sysdep.c: Likewise.
11471 * elf/dl-version.c: Likewise.
11472 * elf/rtld.c: Likewise.
11473 * hurd/hurdsock.c: Likewise.
11474 * hurd/lookup-retry.c: Likewise.
11475 * malloc/malloc.c: Likewise.
11476 * malloc/mtrace.c: Likewise.
11477 * nscd/nscd_getgr_r.c: Likewise.
11478 * nscd/nscd_getpw_r.c: Likewise.
11479 * nscd/nscd_getserv_r.c: Likewise.
11480 * posix/getopt_init.c: Likewise.
11481 * posix/wordexp.c: Likewise.
11482 * stdio-common/_itoa.c: Likewise.
11483 * stdio-common/printf_fphex.c: Likewise.
11484 * stdio-common/vfprintf.c: Likewise.
11485 * string/_strerror.c: Likewise.
11486 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11487 * sysdeps/i386/i686/hp-timing.h: Likewise.
11488 * sysdeps/mach/_strerror.c: Likewise.
11489 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11490 * sysdeps/mach/hurd/sethostid.c: Likewise.
11491 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11492 * sysdeps/mach/xpg-strerror.c: Likewise.
11493 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11494 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11495 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11496 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11497 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11498 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11499 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11500 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11501 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11502 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11503 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11504 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11505 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11506 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11507 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11508 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11509 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11510 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11511 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11512 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11513 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11515 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11517 * stdio-common/_itoa.h: Moved to ...
11518 * sysdeps/generic/_itoa.h: Here.
11520 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11522 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11523 instead of "_itoa.h" and "_itowa.h".
11524 * stdio-common/vfprintf.: Likewise.
11526 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11528 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11530 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11531 (__signbit): Likwise.
11532 (llrintf): Likwise.
11535 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11537 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11540 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11542 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11543 OVERFLOW_EXCEPTION_OK.
11544 * math/libm-test.inc ("Philosophy"): Update comment about
11546 (OVERFLOW_EXCEPTION): Define.
11547 (OVERFLOW_EXCEPTION_OK): Likewise.
11548 (INVALID_EXCEPTION_OK): Renumber.
11549 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11550 (IGNORE_ZERO_INF_SIGN): Likewise.
11551 (test_exceptions): Handle FE_OVERFLOW.
11552 (exp10_test): Expect overflow exceptions.
11553 (exp2_test): Likewise.
11554 (expm1_test): Likewise.
11555 (nextafter_test): Likewise.
11556 (pow_test): Likewise.
11557 (scalbn_test): Likewise.
11558 (scalbln_test): Likewise.
11560 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11562 * sysdeps/x86_64/bits/atomic.h
11563 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11565 (atomic_exchange_acq): Likewise.
11566 (__arch_exchange_and_add_body): Likewise.
11567 (__arch_add_body): Likewise.
11568 (atomic_add_negative): Likewise.
11569 (atomic_add_zero): Likewise.
11571 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11573 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11574 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11576 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11578 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11579 Check __x86_64__ instead of __WORDSIZE.
11581 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11583 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11585 2012-03-19 David S. Miller <davem@davemloft.net>
11587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11589 * sysdeps/sparc/fpu/fenv_private.h: New file.
11590 * sysdeps/sparc/fpu/math_private.h: Use it.
11591 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11593 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11594 (libc_feholdexcept_setroundl): Remove.
11595 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11597 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11598 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11600 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11602 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11603 int64_t instead of long int.
11604 (INSERT_WORDS64): Likwise.
11606 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11608 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11609 _Unwind_GetCFA return to _Unwind_Ptr first.
11611 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11614 * math/s_clog.c: Include <float.h>.
11615 (__clog): Scale large or subnormal inputs.
11616 * math/s_clogf.c: Likewise.
11617 * math/s_clogl.c: Likewise.
11618 * math/s_clog10.c: Include <float.h>.
11619 (M_LOG10_2): Define.
11620 (__clog10): Scale large or subnormal inputs.
11621 * math/s_clog10f.c: Likewise.
11622 * math/s_clog10l.c: Likewise.
11623 * math/libm-test.inc (clog_test): Add more tests.
11624 (clog10_test): Likewise.
11625 * sysdeps/i386/fpu/libm-test-ulps: Update.
11626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11629 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11631 * math/libm-test.inc (atan2_test): Add another test.
11633 * Makerules (common-objdir-compile): Remove.
11634 * sysdeps/unix/Makefile (config-generated): Do not add
11635 $(unix-generated) to variable.
11636 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11637 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11639 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11641 [generic bits/local_lim.h] (before-compile): Do not append to
11643 [generic bits/local_lim.h] (common-generated): Likewise.
11644 [generic sys/param.h] (before-compile): Do not append to variable.
11645 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11646 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11647 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11648 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11650 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11651 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11652 [generic sys/param.h] ($(addprefix
11653 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11654 [generic sys/param.h] (common-generated): Do not append to
11656 [generic sys/param.h] (sysdep_headers): Likewise.
11657 [generic bits/errno.h] (before-compile): Do not append to
11659 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11661 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11662 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11663 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11664 [generic bits/errno.h] (common-generated): Do not append to
11666 [generic bits/ioctls.h] (before-compile): Do not append to
11668 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11670 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11671 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11672 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11674 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11675 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11676 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11677 [generic bits/ioctls.h] (common-generated): Do not append to
11679 [generic sys/syscall.h] (syscall.h): Remove variable.
11680 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11682 [generic sys/syscall.h] (before-compile): Do not append to
11684 [generic sys/syscall.h] (common-generated): Likewise.
11685 * sysdeps/unix/errnos-tmpl.c: Remove file.
11686 * sysdeps/unix/errnos.awk: Likewise.
11687 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11688 * sysdeps/unix/ioctls.awk: Likewise.
11689 * sysdeps/unix/mk-local_lim.c: Likewise.
11690 * sysdeps/unix/snarf-ioctls: Likewise.
11692 2012-03-19 Richard Henderson <rth@twiddle.net>
11694 * sysdeps/i386/fpu/fenv_private.h: New file.
11695 * sysdeps/i386/fpu/math_private.h: Use it.
11696 (math_opt_barrier, math_force_eval): Remove.
11697 (libc_feholdexcept_setround_53bit): Remove.
11698 (libc_feupdateenv_53bit): Remove.
11699 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11700 (math_opt_barrier, math_force_eval): Remove.
11701 (libc_feholdexcept): Remove.
11702 (libc_feholdexcept_setround): Remove.
11703 (libc_fetestexcept, libc_fesetenv): Remove.
11704 (libc_feupdateenv_test): Remove.
11705 (libc_feupdateenv, libc_feholdsetround): Remove.
11706 (libc_feresetround): Remove.
11708 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11709 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11711 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11712 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11713 (libc_feupdateenv_testl): New.
11714 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11715 (libc_feupdateenv_testf): New.
11716 (libc_feupdateenv): Use libc_feupdateenv_test.
11717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11720 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11721 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11722 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11723 (libc_feresetround_noex): New.
11724 (libc_feresetround_noexf): New.
11725 (libc_feresetround_noexl): New.
11726 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11727 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11728 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11729 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11734 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11735 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11736 SET_RESTORE_ROUND_NOEX.
11737 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11738 SET_RESTORE_ROUND_NOEXF.
11739 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11740 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11741 (libc_feholdsetroundf): New.
11742 (libc_feresetround, libc_feresetroundf): New.
11744 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11745 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11746 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11748 * sysdeps/generic/math_private.h: Include <fenv.h>.
11749 (default_libc_feholdexcept): New.
11750 (default_libc_feholdexcept_setround): New.
11751 (default_libc_fesetenv, default_libc_feupdateenv): New.
11752 (libc_feholdexcept): Only define if undefined.
11753 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11754 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11755 (libc_feholdexcept_setroundl): Likewise.
11756 (libc_feholdexcept_setround_53bit): Likewise.
11757 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11758 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11759 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11760 (libc_feupdateenv_53bit): Likewise.
11761 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11762 (libc_feholdexcept): Convert from macro to inline function.
11763 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11764 (libc_fesetenv, libc_feupdateenv): Likewise.
11766 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11767 not previously defined.
11768 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11769 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11770 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11771 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11772 * sysdeps/ieee754/flt-32/math_private.h: New file.
11773 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11774 math_private.h below SET_FLOAT_WORD.
11775 (__isnan, __isinf_ns, __finite): Remove.
11776 (__isnanf, __isinf_nsf, __finitef): Remove.
11778 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11782 2012-03-17 David S. Miller <davem@davemloft.net>
11785 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11788 2012-03-16 David S. Miller <davem@davemloft.net>
11790 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11794 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11796 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11797 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11798 sysdep_routines when subdir is sysvipc.
11799 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11800 __getshmlba helper.
11802 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11804 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11806 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11809 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11811 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11812 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11813 (__lround): Renamed to ...
11814 (__llround): This. Replace long int with long long int.
11815 Define lround functions as aliases of llround functions.
11816 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11818 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11820 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11821 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11822 adresses to uintptr_t. Replace "long int" and "unsigned long
11823 int" with "greg_t" on va_arg.
11825 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11827 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11828 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11830 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11831 Move e_machine check before EI_CLASS check. Handle x32
11832 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11833 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11834 SKIP_EM_IA_64 and include
11835 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11837 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11838 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11839 (add_system_dir): New macro.
11841 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11842 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11844 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11855 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11857 * math/w_j0f.c (j0f): Likewise.
11859 * math/w_j0l.c (__j0l): Likewise.
11861 * math/w_j1.c (j1): Likewise.
11863 * math/w_j1f.c (j1f): Likewise.
11865 * math/w_j1l.c (__j1l): Likewise.
11867 * math/w_jn.c (jn): Likewise.
11869 * math/w_jnf.c (jnf): Likewise.
11871 * math/w_jnl.c (__jnl): Likewise.
11873 * math/libm-test.inc (j0_test): Add more tests.
11874 (j1_test): Likewise.
11875 (jn_test): Likewise. Add trailing semicolon to existing test.
11876 (y0_test): Likewise.
11877 (y1_test): Likewise.
11878 * sysdeps/i386/fpu/libm-test-ulps: Update.
11879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11883 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11884 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11885 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11886 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11887 (__tanl): Set errno for infinite argument.
11888 * sysdeps/i386/fpu/mptan.c: Remove.
11889 * sysdeps/i386/fpu/s_tan.S: Likewise.
11890 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11891 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11892 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11893 * math/libm-test.inc (tan_test): Add more tests and enable more
11894 tests for double and long double.
11895 * sysdeps/i386/fpu/libm-test-ulps: Update.
11896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11898 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11900 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11901 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11903 2012-03-16 Roland McGrath <roland@hack.frob.com>
11905 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11906 * configure.in: Use it for both main tree and add-ons.
11907 * configure: Regenerated.
11909 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11911 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11913 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11915 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11919 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11920 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11922 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11923 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11925 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11927 != 0 for prec == 2.
11928 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11929 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11930 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11931 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11932 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11933 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11934 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11935 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11936 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11937 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11938 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11939 * math/libm-test.inc (cos_test): Add more tests and enable more
11940 tests for long double.
11941 (sin_test): Likewise.
11942 (sincos_test): Likewise.
11943 * sysdeps/i386/fpu/libm-test-ulps: Update.
11944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11946 2012-03-16 David S. Miller <davem@davemloft.net>
11948 * sysdeps/sparc/fpu/math_private.h: New file.
11950 2012-03-15 David S. Miller <davem@davemloft.net>
11952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11966 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11967 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11969 * sysdeps/sparc/sparc-ifunc.h: New file.
11970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11996 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11997 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12010 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12011 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12015 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12017 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12021 2012-03-15 Andreas Jaeger <aj@suse.de>
12024 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12025 ieee754/flt-32 implementation for sin, cos and sincos.
12026 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12027 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12028 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12029 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12030 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12031 ieee754/flt-32 implementation for tan.
12033 * math/libm-test.inc (cos_test): Enable some large input tests for
12035 (sin_test): Likewise.
12036 (sincos_test): Likewise.
12037 (tan_test): Add tests for large input.
12039 * sysdeps/i386/fpu/libm-test-ulps: Update.
12041 2012-03-15 Andreas Jaeger <aj@suse.de>
12044 * math/libm-test.inc (cos_test): Add more test cases.
12045 (sin_test): Likewise.
12046 (sincos_test): Likewise.
12048 2012-03-15 Andreas Jaeger <aj@suse.de>
12051 * math/libm-test.inc (cos_test): Add a test case for large input
12053 (sin_test): Likewise.
12054 (sincos_test): Likewise.
12056 2012-03-15 Andreas Jaeger <aj@suse.de>,
12057 Joseph Myers <joseph@codesourcery.com>
12060 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12061 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12062 * sysdeps/i386/fpu/branred.c: Likewise.
12063 * sysdeps/i386/fpu/dosincos.c: Likewise.
12064 * sysdeps/i386/fpu/mpa.c: Likewise.
12065 * sysdeps/i386/fpu/s_cos.S: Likewise.
12066 * sysdeps/i386/fpu/s_sin.S: Likewise.
12067 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12068 * sysdeps/i386/fpu/sincos32.c: Likewise.
12070 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12072 (libc_feupdateenv_53bit): Define.
12073 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12075 (libc_feupdateenv_53bit): Define.
12077 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12078 53 bit (without extend i386 double precision).
12080 * math/libm-test.inc (sincos_test): Add tests for large input.
12084 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12086 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12090 2012-03-15 David S. Miller <davem@davemloft.net>
12092 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12093 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12094 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12095 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12120 fmin/fmax sysdep routines.
12121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12123 2012-03-14 David S. Miller <davem@davemloft.net>
12125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12130 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12131 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12147 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12148 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12150 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12202 * sysdeps/sparc/configure.in: New file.
12203 * sysdeps/sparc/configure: Generate.
12204 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12205 * configure: Regenerate.
12206 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12207 * config.make.in (have-as-vis3): New.
12208 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12209 available use -Av9d instead of -Av9a.
12210 * sysdeps/sparc/sparc64/Makefile: Likewise.
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12222 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12223 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12224 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12226 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12227 fzeros/fnegs to load 0x80000000 into a float register instead of
12229 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12231 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12235 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12236 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12237 ($(inst_includedir)/bits/syscall.h): Remove rule.
12238 ($(objpfx)bits/syscall.d): Include instead of
12239 $(objpfx)syscall-list.d.
12240 (generated): Change syscall-list.h and syscall-list.d to
12241 bits/syscall.h and bits/syscall.d.
12243 2012-03-14 Roland McGrath <roland@hack.frob.com>
12246 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12248 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12251 * math/s_csqrt.c: Include <float.h>.
12252 (__csqrt): Scale large or subnormal inputs.
12253 * math/s_csqrtf.c: Likewise.
12254 * math/s_csqrtl.c: Likewise.
12255 * math/libm-test.inc (csqrt_test): Add more tests.
12256 * sysdeps/i386/fpu/libm-test-ulps: Update.
12257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12260 * math/libm-test.inc (hypot_test): Add more tests.
12262 2012-03-13 David S. Miller <davem@davemloft.net>
12265 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12266 double-precision for the calculation instead of scaling.
12268 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12271 manipulate bits before adding and subtracting TWO52[sx].
12272 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12273 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12275 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12277 2012-03-13 David S. Miller <davem@davemloft.net>
12279 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12280 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12282 rtld-global-offsets.h
12283 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12285 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12288 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12290 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12291 'err' in the ifdef scope in which it is actually used.
12293 * nss/nss_db/db-init.c: Include string.h
12295 2012-03-12 David S. Miller <davem@davemloft.net>
12297 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12298 masking out of the most significant byte of random value used.
12299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12300 Fix coding style in previous change.
12302 * sysdeps/unix/sysv/linux/kernel-features.h
12303 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12304 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12306 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12309 2012-03-11 David S. Miller <davem@davemloft.net>
12311 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12312 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12313 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12314 for 'resultvar' otherwise things get truncated on 64-bit.
12316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12317 Fix masking out of the most significant byte of random value used.
12319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12321 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12325 2012-03-09 David S. Miller <davem@davemloft.net>
12327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12328 variables with appropriate CPP guards.
12329 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12330 frame pointer, not the stack pointer. Correct layout comments. Fix test
12331 on resulting framesize and the management of the outregs buffer for pltexit.
12332 Preserve floating point return values across _dl_call_pltexit call.
12333 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12334 framesize and the management of the outregs buffer for pltexit.
12335 Preserve floating point return values across _dl_call_pltexit
12337 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12338 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12339 (print_exit): Fix format string for return register value.
12341 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12343 * sunrpc/Makefile (others): Add rpcgen.
12344 ($(objpfx)rpcgen): Remove special build rule and dependency on
12346 * sunrpc/rpcgen.c: New file.
12348 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12351 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12352 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12353 * sysdeps/i386/crti.S: Likewise.
12354 * sysdeps/i386/crtn.S: Likewise.
12355 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12356 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12357 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12358 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12359 * sysdeps/sh/crti.S: Likewise.
12360 * sysdeps/sh/crtn.S: Likewise.
12361 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12364 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12366 * locale/programs/locfile-kw.gperf: Likewise.
12367 * locale/programs/charmap-kw.h: Regenerated.
12368 * locale/programs/locfile-kw.h: Likewise.
12371 * intl/plural.y: Replace FSF snail mail address with URL.
12372 * intl/plural.c: Regenerated.
12374 2012-03-09 Richard Henderson <rth@twiddle.net>
12376 * include/math_private.h: Remove file.
12377 * math/math_private.h: Move file ...
12378 * sysdeps/generic/math_private.h: ... here.
12380 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12381 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12382 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12384 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12385 and <math_private.h>.
12386 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12387 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12388 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12389 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12390 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12455 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12474 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12475 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12476 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12477 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12478 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12479 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12480 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12481 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12482 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12483 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12485 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12486 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12487 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12488 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12489 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12490 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12491 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12493 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12494 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12495 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12496 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12497 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12498 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12499 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12500 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12501 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12502 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12503 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12504 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12505 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12506 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12507 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12508 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12509 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12510 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12511 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12512 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12513 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12514 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12515 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12516 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12517 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12518 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12519 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12520 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12521 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12522 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12523 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12524 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12525 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12526 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12527 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12529 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12532 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12535 * sysdeps/ieee754/k_standard.c: Likewise.
12536 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12651 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12655 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12656 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12658 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12663 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12668 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12685 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12696 * sysdeps/ieee754/s_lib_version.c: Likewise.
12697 * sysdeps/ieee754/s_matherr.c: Likewise.
12698 * sysdeps/ieee754/s_signgam.c: Likewise.
12699 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12700 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12701 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12702 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12703 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12704 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12705 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12706 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12707 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12708 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12709 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12710 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12711 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12712 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12713 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12714 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12715 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12716 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12717 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12719 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12721 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12723 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12724 * sunrpc/rpc_main.c: Likewise.
12725 * sunrpc/rpc_svcout.c: Likewise.
12727 2012-03-09 David S. Miller <davem@davemloft.net>
12729 * include/math_private.h: New file.
12731 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12733 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12734 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12735 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12736 from <bits/socket_type.h>.
12737 (enum __socket_type): Don't define here.
12738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12740 bits/socket_type.h.
12743 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12744 checking __USE_GNU.
12746 * Makerules ($(inst_includedir)/%.h): New rule.
12747 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12748 (install-others): Remove variable setting.
12749 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12751 2012-03-08 Richard Henderson <rth@twiddle.net>
12753 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12754 from macro to inline function; merge with the
12755 !__LIBC_INTERNAL_MATH_INLINES version.
12756 (__ieee754_sqrtf): Likewise.
12758 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12759 to inline function.
12760 (__rintf, __floor, __floorf): Likewise.
12762 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12763 macro to inline function.
12764 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12766 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12767 not <math/math_private.h>.
12769 2012-03-08 David S. Miller <davem@davemloft.net>
12771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12773 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12775 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12777 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12779 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12780 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12782 2012-03-08 Ulrich Drepper <drepper@gmail.com>
12784 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12785 be defined individually, they must be defined as a block. Define
12786 S for printing a string instead of hidint the different by using a
12787 macro for adding the 'l'.
12788 * stdio-common/tst-fphex-wide.c: Adjust.
12790 2012-03-07 Marek Polacek <polacek@redhat.com>
12792 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12794 2012-03-08 Marek Polacek <polacek@redhat.com>
12797 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12798 * stdio-common/tst-fphex.c: Define a few macros to make the
12799 test reusable. Use them.
12800 * stdio-common/tst-fphex-wide.c: New file.
12802 2012-03-08 Joseph Myers <joseph@codesourcery.com>
12805 * manual/macros.texi (gnusystems): New macro.
12806 (nongnusystems): Likewise.
12807 (gnulinuxhurdsystems): Likewise.
12808 (gnuhurdsystems): Likewise..
12809 (gnulinuxsystems): Likewise.
12810 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12811 variants of the GNU system, not "GNU system".
12812 * manual/conf.texi: Likewise.
12813 * manual/errno.texi: Likewise. Update example of errno macro
12815 * manual/filesys.texi: Likewise.
12816 (getumask): Document as specific to GNU/Hurd.
12817 * manual/install.texi: Likewise. Reword some references to
12819 * manual/intro.texi: Likewise.
12820 * manual/io.texi: Likewise.
12821 (File Name Portability): Detail which constraints are inapplicable
12822 to all GNU systems and which are only inapplicable to GNU/Hurd.
12823 * manual/job.texi: Likewise.
12824 * manual/llio.texi: Likewise.
12825 (O_NOCTTY): Document as present on GNU/Linux.
12826 * manual/maint.texi: Likewise.
12827 * manual/memory.texi: Likewise.
12828 * manual/pattern.texi: Likewise.
12829 * manual/pipe.texi: Likewise.
12830 * manual/process.texi: Likewise.
12831 * manual/resource.texi: Likewise.
12832 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12834 * manual/setjmp.texi: Likewise.
12835 * manual/signal.texi: Likewise.
12836 * manual/startup.texi: Likewise.
12837 * manual/stdio.texi: Likewise.
12838 * manual/terminal.texi: Likewise.
12839 (ONLCR): Document as POSIX.
12840 (OXTABS): Document availability on GNU/Linux as XTABS.
12841 (ONOEOT): Document availability separately from other bits.
12842 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12843 * manual/time.texi: Likewise.
12844 * manual/users.texi: Likewise.
12845 * INSTALL: Regenerated.
12846 * sysdeps/gnu/errlist.c: Regenerated.
12848 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12849 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12850 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12852 * configure: Regenerated.
12854 2012-03-07 Joseph Myers <joseph@codesourcery.com>
12856 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12857 default includes instead of AC_HEADER_CHECK.
12858 * sysdeps/i386/configure: Regenerated.
12861 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12862 * math/s_cacoshf.c (__cacoshf): Likewise.
12863 * math/s_cacoshl.c (__cacoshl): Likewise.
12864 * math/s_casinh.c (__casinh): Set signs of result from argument.
12865 * math/s_casinhf.c (__casinhf): Likewise.
12866 * math/s_casinhl.c (__casinhl): Likewise.
12867 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12868 (casinh_test): Add more tests.
12869 * sysdeps/i386/fpu/libm-test-ulps: Update.
12870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12872 2012-03-07 Ulrich Drepper <drepper@gmail.com>
12874 * po/zh_TW.po: Update from translation team.
12876 * login/Makefile (distribute): Remove variable.
12877 * catgets/Makefile: Likewise.
12878 * mach/Makefile: Likewise.
12879 * malloc/Makefile: Likewise.
12880 * misc/Makefile: Likewise.
12881 * iconv/Makefile: Likewise.
12882 * nscd/Makefile: Likewise.
12883 * hurd/Makefile: Likewise.
12884 * manual/Makefile: Likewise.
12885 * locale/Makefile: Likewise.
12886 * intl/Makefile: Likewise.
12887 * conform/Makefile: Likewise.
12888 * nss/Makefile: Likewise.
12889 * time/Makefile: Likewise.
12890 * soft-fp/Makefile: Likewise.
12891 * dirent/Makefile: Likewise.
12892 * gmon/Makefile: Likewise.
12893 * po/Makefile: Likewise.
12894 * rt/Makefile: Likewise.
12895 * socket/Makefile: Likewise.
12896 * math/Makefile: Likewise.
12897 * signal/Makefile: Likewise.
12898 * debug/Makefile: Likewise.
12899 * elf/Makefile: Likewise.
12900 * timezone/Makefile: Likewise.
12901 * stdlib/Makefile: Likewise.
12902 * iconvdata/Makefile: Likewise.
12903 * sunrpc/Makefile: Likewise.
12904 * io/Makefile: Likewise.
12905 * argp/Makefile: Likewise.
12906 * inet/Makefile: Likewise.
12907 * hesiod/Makefile: Likewise.
12908 * grp/Makefile: Likewise.
12909 * csu/Makefile: Likewise.
12910 * wctype/Makefile: Likewise.
12911 * crypt/Makefile: Likewise.
12912 * libio/Makefile: Likewise.
12913 * string/Makefile: Likewise.
12914 * nis/Makefile: Likewise.
12915 * resolv/Makefile: Likewise.
12916 * stdio-common/Makefile: Likewise.
12917 * wcsmbs/Makefile: Likewise.
12918 * dlfcn/Makefile: Likewise.
12919 * posix/Makefile: Likewise.
12922 * timezone/Makefile: Don't install timezone files, just the programs
12925 2012-03-06 Ulrich Drepper <drepper@gmail.com>
12927 * nss/databases.def: Add missing gshadow entry.
12929 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12931 2012-03-06 Marek Polacek <polacek@redhat.com>
12934 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12935 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12936 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12937 * stdio-common/tst-long-dbl-fphex.c: New file.
12939 2012-03-06 David S. Miller <davem@davemloft.net>
12941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12942 (set_obp_int): New function.
12943 (get_obp_int): New function.
12944 (__get_clockfreq_via_dev_openprom): Likewise.
12945 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12946 Avoid unused variable warnings on 'val' and use builtin_expect.
12947 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12949 (INLINE_CLONE_SYSCALL): Likewise.
12951 2012-03-05 David S. Miller <davem@davemloft.net>
12953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12955 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12959 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12960 only for |x| >= 40.
12961 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12963 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12966 Replace gettimeofday with __vdso_gettimeofday.
12968 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12969 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12970 __vdso_clock_gettime and __vdso_getcpu.
12972 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12973 time with __vdso_time.
12975 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12977 * manual/lang.texi (size_t): Note types to which size_t may be
12978 equivalent with the GNU C Library, but do not describe when
12979 differences between them are significant.
12981 2012-03-05 Andreas Jaeger <aj@suse.de>
12983 * sysdeps/i386/fpu/libm-test-ulps: Update.
12985 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12988 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12989 (__ieee754_pow): Save and restore rounding mode and use
12990 round-to-nearest for main computations.
12991 * math/libm-test.inc (pow_test_tonearest): New function.
12992 (pow_test_towardzero): Likewise.
12993 (pow_test_downward): Likewise.
12994 (pow_test_upward): Likewise.
12995 (main): Call the new functions.
12996 * sysdeps/i386/fpu/libm-test-ulps: Update.
12997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13000 * math/libm-test.inc (cosh_test_tonearest): New function.
13001 (cosh_test_towardzero): Likewise.
13002 (cosh_test_downward): Likewise.
13003 (cosh_test_upward): Likewise.
13004 (sinh_test_tonearest): Likewise.
13005 (sinh_test_towardzero): Likewise.
13006 (sinh_test_downward): Likewise.
13007 (sinh_test_upward): Likewise.
13008 (main): Call the new functions.
13009 * sysdeps/i386/fpu/libm-test-ulps: Update.
13010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13012 2012-03-05 Tom de Vries <tom@codesourcery.com>
13014 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13015 default stack guard is set in last bytes.
13016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13018 2012-03-05 Kees Cook <keescook@chromium.org>
13020 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13023 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13024 possibly allocate from heap instead of stack.
13025 * stdio-common/bug-vfprintf-nargs.c: New file.
13026 * stdio-common/Makefile (tests): Add nargs overflow test.
13028 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13032 2012-03-03 Marek Polacek <polacek@redhat.com>
13034 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13035 * math/math_private.h: Likewise.
13036 * stdlib/tst-strtod.c: Likewise.
13037 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13038 * sysdeps/x86_64/bits/atomic.h: Likewise.
13040 2012-03-02 David S. Miller <davem@davemloft.net>
13042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13046 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13047 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13048 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13049 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13051 2012-03-02 Roland McGrath <roland@hack.frob.com>
13054 * manual/examples/README: New file, says the example source files
13055 can be used under GPL>=2.
13056 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13057 line containing just "*/".
13058 * manual/examples/add.c: Add copyright header (GPL>=2).
13059 * manual/examples/argp-ex1.c: Likewise.
13060 * manual/examples/argp-ex2.c: Likewise.
13061 * manual/examples/argp-ex3.c: Likewise.
13062 * manual/examples/argp-ex4.c: Likewise.
13063 * manual/examples/atexit.c: Likewise.
13064 * manual/examples/db.c: Likewise.
13065 * manual/examples/dir.c: Likewise.
13066 * manual/examples/dir2.c: Likewise.
13067 * manual/examples/execinfo.c: Likewise.
13068 * manual/examples/filecli.c: Likewise.
13069 * manual/examples/filesrv.c: Likewise.
13070 * manual/examples/fmtmsgexpl.c: Likewise.
13071 * manual/examples/genpass.c: Likewise.
13072 * manual/examples/inetcli.c: Likewise.
13073 * manual/examples/inetsrv.c: Likewise.
13074 * manual/examples/isockad.c: Likewise.
13075 * manual/examples/longopt.c: Likewise.
13076 * manual/examples/memopen.c: Likewise.
13077 * manual/examples/memstrm.c: Likewise.
13078 * manual/examples/mkfsock.c: Likewise.
13079 * manual/examples/mkisock.c: Likewise.
13080 * manual/examples/mygetpass.c: Likewise.
13081 * manual/examples/pipe.c: Likewise.
13082 * manual/examples/popen.c: Likewise.
13083 * manual/examples/rprintf.c: Likewise.
13084 * manual/examples/search.c: Likewise.
13085 * manual/examples/select.c: Likewise.
13086 * manual/examples/setjmp.c: Likewise.
13087 * manual/examples/sigh1.c: Likewise.
13088 * manual/examples/sigusr.c: Likewise.
13089 * manual/examples/stpcpy.c: Likewise.
13090 * manual/examples/strdupa.c: Likewise.
13091 * manual/examples/strftim.c: Likewise.
13092 * manual/examples/strncat.c: Likewise.
13093 * manual/examples/subopt.c: Likewise.
13094 * manual/examples/swapcontext.c: Likewise.
13095 * manual/examples/termios.c: Likewise.
13096 * manual/examples/testopt.c: Likewise.
13097 * manual/examples/testpass.c: Likewise.
13098 * manual/examples/timeval_subtract.c: Likewise.
13101 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13103 * manual/timeval_subtract.c.texi: ... here, new file.
13105 2012-03-02 David S. Miller <davem@davemloft.net>
13107 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13109 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13112 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13113 (__sin): Save and restore rounding mode and use round-to-nearest
13114 for all computations.
13115 (__cos): Save and restore rounding mode and use round-to-nearest
13116 for all computations.
13117 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13119 (tan): Save and restore rounding mode and use round-to-nearest for
13121 * math/libm-test.inc (cos_test_tonearest): New function.
13122 (cos_test_towardzero): Likewise.
13123 (cos_test_downward): Likewise.
13124 (cos_test_upward): Likewise.
13125 (sin_test_tonearest): Likewise.
13126 (sin_test_towardzero): Likewise.
13127 (sin_test_downward): Likewise.
13128 (sin_test_upward): Likewise.
13129 (tan_test_tonearest): Likewise.
13130 (tan_test_towardzero): Likewise.
13131 (tan_test_downward): Likewise.
13132 (tan_test_upward): Likewise.
13133 (main): Call the new functions.
13134 * sysdeps/i386/fpu/libm-test-ulps: Update.
13135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13138 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13139 small n, then large n, before computing and testing k+n.
13140 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13141 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13143 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13145 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13146 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13147 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13148 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13151 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13152 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13153 * math/libm-test.inc (scalbn_test): Add more tests.
13154 (scalbln_test): Likewise.
13156 * manual/filesys.texi (mode_t): Describe constraints on size and
13157 signedness, not exact equivalence to a particular type.
13159 (ino64_t): Likewise.
13161 (nlink_t): Likewise.
13162 (blkcnt_t): Likewise.
13163 (blkcnt64_t): Likewise.
13164 * manual/llio.texi (off_t): Likewise.
13167 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13168 (__ieee754_exp): Save and restore rounding mode and use
13169 round-to-nearest for all computations.
13170 * math/libm-test.inc (exp_test_tonearest): New function.
13171 (exp_test_towardzero): Likewise.
13172 (exp_test_downward): Likewise.
13173 (exp_test_upward): Likewise.
13174 (main): Call the new functions.
13175 * sysdeps/i386/fpu/libm-test-ulps: Update.
13176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13178 2012-03-01 Chris Demetriou <cgd@google.com>
13180 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13181 have predictable order.
13183 2012-03-01 David S. Miller <davem@davemloft.net>
13185 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13187 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13188 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13189 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13190 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13192 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13193 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13194 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13196 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13197 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13198 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13199 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13200 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13204 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13205 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13206 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13208 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13209 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13210 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13211 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13212 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13213 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13214 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13215 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13216 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13217 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13218 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13219 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13221 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13222 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13224 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13225 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13226 * sysdeps/sparc/elf/configure: Regenerated.
13228 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13230 * configure.in (AS, LD): Require binutils 2.20 or later.
13231 * configure: Regenerated.
13232 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13233 as required minimum version.
13234 * INSTALL: Regenerated.
13238 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13239 before squaring exponent.
13240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13241 bottom long double and 27 bits of top long double before squaring
13243 * math/libm-test.inc (erfc_test): Add more tests.
13244 * sysdeps/i386/fpu/libm-test-ulps: Update.
13245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13248 2012-03-01 Kai Tietz <ktietz@redhat.com>
13250 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13251 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13252 containing bit-fields.
13253 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13254 * soft-fp/single.h (_FP_UNION_S): Likewise.
13255 * soft-fp/double.h (_FP_UNION_D): Likewise.
13257 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13260 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13261 not include ../strcmp.S.
13262 [USE_AS_STRNCASECMP_L]: Likewise.
13263 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13264 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13265 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13266 (__strncasecmp_l_ia32): Define as alias to
13267 __strncasecmp_l_nonascii.
13270 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13271 * sysdeps/i386/fpu/libm-test-ulps: Update.
13272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13274 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13277 2012-02-29 Jeff Law <law@redhat.com>
13279 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13280 out of bounds read.
13282 2012-02-29 Marek Polacek <polacek@redhat.com>
13285 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13286 * elf/Makefile: Add rules to run tst-unused-dep.out.
13288 2012-02-28 David S. Miller <davem@davemloft.net>
13290 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13291 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13294 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13295 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13297 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13299 * math/libm-test.inc (llround_test): Move one test from
13300 lround_test. Use TEST_f_L in moved test.
13301 (lround_test): Move misplaced test to llround_test. Add testcase
13304 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13306 * sysdeps/x86_64/fpu/e_expf.S: New file.
13307 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13309 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13312 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13313 of remain_len that may cause incomplete multi-byte character and
13315 * posix/bug-regex33.c: New file.
13316 * posix/Makefile (tests): Add bug-regex33.
13318 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13320 * manual/macros.texi: New file.
13321 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13322 * manual/libc.texinfo: Include macros.texi.
13323 * manual/creatute.texi: Likewise.
13324 * manual/install.texi: Likewise.
13325 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13326 @glibcadj{} in references to the GNU C Library.
13327 * manual/charset.texi: Likewise.
13328 * manual/conf.texi: Likewise.
13329 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13330 when not using those macros.
13331 * manual/creature.texi: Likewise.
13332 * manual/crypt.texi: Likewise.
13333 * manual/errno.texi: Likewise.
13334 * manual/filesys.texi: Likewise.
13335 * manual/header.texi: Likewise.
13336 * manual/install.texi: Likewise.
13337 * manual/intro.texi: Likewise.
13338 * manual/io.texi: Likewise.
13339 * manual/job.texi: Likewise.
13340 * manual/lang.texi: Likewise.
13341 * manual/libc.texiinfo: Likewise.
13342 * manual/llio.texi: Likewise.
13343 * manual/locale.texi: Likewise.
13344 * manual/maint.texi: Likewise.
13345 * manual/math.texi: Likewise.
13346 * manual/memory.texi: Likewise.
13347 * manual/message.texi: Likewise.
13348 * manual/nss.texi: Likewise.
13349 * manual/pattern.texi: Likewise.
13350 * manual/process.texi: Likewise.
13351 * manual/resource.texi: Likewise.
13352 * manual/search.texi: Likewise.
13353 * manual/setjmp.texi: Likewise.
13354 * manual/signal.texi: Likewise.
13355 * manual/socket.texi: Likewise.
13356 * manual/startup.texi: Likewise.
13357 * manual/stdio.texi: Likewise.
13358 * manual/string.texi: Likewise.
13359 * manual/sysinfo.texi: Likewise.
13360 * manual/syslog.texi: Likewise.
13361 * manual/terminal.texi: Likewise.
13362 * manual/time.texi: Likewise.
13363 * manual/users.texi: Likewise.
13364 * INSTALL: Regenerated.
13365 * NOTES: Regenerated.
13366 * sysdeps/gnu/errlist.c: Regenerated.
13368 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13370 * include/dirent.h: Include <dirstream.h> before
13373 2012-02-28 David S. Miller <davem@davemloft.net>
13375 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13376 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13377 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13378 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13380 2012-02-27 David S. Miller <davem@davemloft.net>
13382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13384 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13385 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13388 frame pointer instead of stack pointer relative arg slot.
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13390 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13391 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13393 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13396 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13398 2012-02-27 David S. Miller <davem@davemloft.net>
13400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13404 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13405 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13406 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13407 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13409 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13411 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13412 later. Allow versions 5-9.
13413 * configure: Regenerated.
13414 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13415 required minimum version and 4.6 as recommended version. Do not
13416 mention bugs in GCC 2.7 and 2.8.
13417 * INSTALL: Regenerated.
13419 2012-02-27 David S. Miller <davem@davemloft.net>
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13425 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13428 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13431 manipulate bits before adding and subtracting TWO112[sx].
13432 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13434 2012-02-27 Roland McGrath <roland@hack.frob.com>
13437 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13438 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13439 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13440 being in POSIX, because they are in 1003.1-2008.
13442 * rt/tst-aio.c: Include <fcntl.h>.
13443 * rt/tst-aio7.c: Likewise.
13444 * rt/tst-aio64.c: Likewise.
13446 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13448 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13450 * manual/install.texi (--with-headers): Describe headers as
13451 interface headers, not private headers.
13452 (Specific advice for GNU/Linux systems): Describe use of headers
13453 from "make headers_install", not private headers from older
13455 * INSTALL: Regenerated.
13456 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13458 * sysdeps/unix/sysv/linux/configure: Regenerated.
13460 * manual/llio.texi (fclean): Remove documentation.
13462 * manual/Makefile (libc-texi-generated): New variable. Include
13464 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13465 $(libc-texi-generated), not duplicated list of files.
13466 (version.texi, stamp-version): New rules.
13467 (realclean): Remove $(libc-texi-generated), not individual files
13468 from that list. Do not remove dir-add.texinfo.
13469 * manual/libc.texinfo: Comment out uses of edition numbers and
13470 references to printed manual. Remove last-updated dates.
13471 (EDITION): Comment out.
13473 (VERSION, UPDATED): Remove.
13474 (version.texi): Include.
13476 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13478 * sysdeps/posix/spawni.c: Include <signal.h>.
13479 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13480 * sysdeps/pthread/aio_fsync.c: Likewise.
13482 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13484 * conform/Makefile (tests): Run only when not cross-compiling and
13485 when fast-check is not defined.
13487 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13488 * conform/data/limits.h-data: Fixes for POSIX2008.
13489 * conform/run-conformtest.sh: Run all tests.
13490 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13492 * include/bits/dlfcn.h: Likewise.
13493 * include/langinfo.h: Likewise.
13494 * include/monetary.h: Likewise.
13495 * include/sys/poll.h: Likewise.
13497 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13499 * posix/spawn.h: Define __need_sigset_t.
13500 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13501 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13502 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13503 to get sigevent_t only.
13504 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13505 only for __USE_GNU.
13506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13507 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13508 process_vm_writev only for __USE_GNU.
13509 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13511 * conform/Makefile: For now ignore errors from run-conformtest.
13512 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13513 POSIX to avoid namespace pollution. Don't prepend headers.
13514 * conform/data/aio.h-data: Fixes for POSIX testing.
13515 * conform/data/fcntl.h-data: Likewise.
13516 * conform/data/glob.h-data: Likewise.
13517 * conform/data/grp.h-data: Likewise.
13518 * conform/data/pthread.h-data: Likewise.
13519 * conform/data/pwd.h-data: Likewise.
13520 * conform/data/signal.h-data: Likewise.
13521 * conform/data/spawn.h-data: Likewise.
13522 * conform/data/stdio.h-data: Likewise.
13523 * conform/data/stdlib.h-data: Likewise.
13524 * conform/data/stropts.h-data: Likewise.
13525 * conform/data/sys/mman.h-data: Likewise.
13526 * conform/data/sys/stat.h-data: Likewise.
13527 * conform/data/sys/types.h-data: Likewise.
13528 * conform/data/sys/wait.h-data: Likewise.
13529 * conform/data/time.h-data: Likewise.
13530 * conform/data/unistd.h-data: Likewise.
13531 * conform/data/utime.h-data: Likewise.
13533 * io/sys/stat.h: fchmod was always in POSIX.
13534 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13535 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13536 * rt/aio.h: Define __need_timespec before including <time.h>.
13537 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13538 struct. Add forward declaration of pthread_attr_t and use it in
13540 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13542 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13543 always remove CLK_TCK definition.
13545 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13547 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13549 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13551 * conform/run-conformtest.sh: New file.
13552 * conform/Makefile: Run run-conformtest for tests.
13553 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13556 * conform/data/uchar.h-data: New file.
13557 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13558 * conform/data/arpa/inet.h-data: Likewise.
13559 * conform/data/assert.h-data: Likewise.
13560 * conform/data/complex.h-data: Likewise.
13561 * conform/data/cpio.h-data: Likewise.
13562 * conform/data/ctype.h-data: Likewise.
13563 * conform/data/dirent.h-data: Likewise.
13564 * conform/data/dlfcn.h-data: Likewise.
13565 * conform/data/errno.h-data: Likewise.
13566 * conform/data/fcntl.h-data: Likewise.
13567 * conform/data/float.h-data: Likewise.
13568 * conform/data/fmtmsg.h-data: Likewise.
13569 * conform/data/fnmatch.h-data: Likewise.
13570 * conform/data/ftw.h-data: Likewise.
13571 * conform/data/glob.h-data: Likewise.
13572 * conform/data/grp.h-data: Likewise.
13573 * conform/data/iconv.h-data: Likewise.
13574 * conform/data/inttypes.h-data: Likewise.
13575 * conform/data/langinfo.h-data: Likewise.
13576 * conform/data/libgen.h-data: Likewise.
13577 * conform/data/limits.h-data: Likewise.
13578 * conform/data/locale.h-data: Likewise.
13579 * conform/data/math.h-data: Likewise.
13580 * conform/data/monetary.h-data: Likewise.
13581 * conform/data/mqueue.h-data: Likewise.
13582 * conform/data/ndbm.h-data: Likewise.
13583 * conform/data/net/if.h-data: Likewise.
13584 * conform/data/netdb.h-data: Likewise.
13585 * conform/data/netinet/in.h-data: Likewise.
13586 * conform/data/nl_types.h-data: Likewise.
13587 * conform/data/poll.h-data: Likewise.
13588 * conform/data/pthread.h-data: Likewise.
13589 * conform/data/pwd.h-data: Likewise.
13590 * conform/data/regex.h-data: Likewise.
13591 * conform/data/sched.h-data: Likewise.
13592 * conform/data/search.h-data: Likewise.
13593 * conform/data/semaphore.h-data: Likewise.
13594 * conform/data/setjmp.h-data: Likewise.
13595 * conform/data/signal.h-data: Likewise.
13596 * conform/data/spawn.h-data: Likewise.
13597 * conform/data/stdarg.h-data: Likewise.
13598 * conform/data/stdio.h-data: Likewise.
13599 * conform/data/stdlib.h-data: Likewise.
13600 * conform/data/string.h-data: Likewise.
13601 * conform/data/strings.h-data: Likewise.
13602 * conform/data/stropts.h-data: Likewise.
13603 * conform/data/sys/ipc.h-data: Likewise.
13604 * conform/data/sys/mman.h-data: Likewise.
13605 * conform/data/sys/msg.h-data: Likewise.
13606 * conform/data/sys/resource.h-data: Likewise.
13607 * conform/data/sys/select.h-data: Likewise.
13608 * conform/data/sys/sem.h-data: Likewise.
13609 * conform/data/sys/shm.h-data: Likewise.
13610 * conform/data/sys/socket.h-data: Likewise.
13611 * conform/data/sys/stat.h-data: Likewise.
13612 * conform/data/sys/statvfs.h-data: Likewise.
13613 * conform/data/sys/time.h-data: Likewise.
13614 * conform/data/sys/timeb.h-data: Likewise.
13615 * conform/data/sys/times.h-data: Likewise.
13616 * conform/data/sys/types.h-data: Likewise.
13617 * conform/data/sys/uio.h-data: Likewise.
13618 * conform/data/sys/un.h-data: Likewise.
13619 * conform/data/sys/utsname.h-data: Likewise.
13620 * conform/data/sys/wait.h-data: Likewise.
13621 * conform/data/syslog.h-data: Likewise.
13622 * conform/data/tar.h-data: Likewise.
13623 * conform/data/termios.h-data: Likewise.
13624 * conform/data/utime.h-data: Likewise.
13625 * conform/data/utmpx.h-data: Likewise.
13626 * conform/data/varargs.h-data: Likewise.
13627 * conform/data/wchar.h-data: Likewise.
13628 * conform/data/wctype.h-data: Likewise.
13629 * conform/data/wordexp.h-data: Likewise.
13631 * include/stropts.h: New file.
13632 * include/uchar.h: New file.
13633 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13634 * include/assert.h: Likewise.
13635 * include/ctype.h: Likewise.
13636 * include/dirent.h: Likewise.
13637 * include/dlfcn.h: Likewise.
13638 * include/fcntl.h: Likewise.
13639 * include/fnmatch.h: Likewise.
13640 * include/glob.h: Likewise.
13641 * include/grp.h: Likewise.
13642 * include/libio.h: Likewise.
13643 * include/locale.h: Likewise.
13644 * include/math.h: Likewise.
13645 * include/net/if.h: Likewise.
13646 * include/netdb.h: Likewise.
13647 * include/netinet/in.h: Likewise.
13648 * include/pthread.h: Likewise.
13649 * include/pwd.h: Likewise.
13650 * include/regex.h: Likewise.
13651 * include/sched.h: Likewise.
13652 * include/search.h: Likewise.
13653 * include/setjmp.h: Likewise.
13654 * include/signal.h: Likewise.
13655 * include/stdio.h: Likewise.
13656 * include/stdlib.h: Likewise.
13657 * include/string.h: Likewise.
13658 * include/sys/cdefs.h: Likewise.
13659 * include/sys/mman.h: Likewise.
13660 * include/sys/msg.h: Likewise.
13661 * include/sys/resource.h: Likewise.
13662 * include/sys/select.h: Likewise.
13663 * include/sys/socket.h: Likewise.
13664 * include/sys/stat.h: Likewise.
13665 * include/sys/statvfs.h: Likewise.
13666 * include/sys/time.h: Likewise.
13667 * include/sys/times.h: Likewise.
13668 * include/sys/uio.h: Likewise.
13669 * include/sys/utsname.h: Likewise.
13670 * include/sys/wait.h: Likewise.
13671 * include/termios.h: Likewise.
13672 * include/time.h: Likewise.
13673 * include/ulimit.h: Likewise.
13674 * include/unistd.h: Likewise.
13675 * include/utime.h: Likewise.
13676 * include/wchar.h: Likewise.
13677 * include/wctype.h: Likewise.
13678 * include/wordexp.h: Likewise.
13680 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13682 * time/time.h: TIME_UTC must be a macro.
13683 Make timespec_get available for ISO C11 only as well.
13685 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13687 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13688 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13690 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13692 * configure.in: Use -o not -a in test for unsupported multi-arch.
13694 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13696 * manual/texinfo.tex: Update to version 2012-01-19.16.
13698 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13700 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13702 2012-02-24 Roland McGrath <roland@hack.frob.com>
13705 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13706 * manual/fdl-1.3.texi: New file.
13707 * manual/fdl-1.1.texi: File removed.
13710 * manual/libc.texinfo (FDL_VERSION): New @set.
13711 Use it for mention of FDL in cover text.
13712 (Documentation License): Use it in @include file name.
13714 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13715 Roland McGrath <roland@hack.frob.com>
13718 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13719 not LONG_LONG_MAX and LONG_LONG_MIN.
13720 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13721 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13723 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13725 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13729 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13730 manipulate bits before adding and subtracting TWO23[sx].
13731 * math/libm-test.inc (nearbyint_test): Add more tests.
13733 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13736 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13737 bits before adding and subtracting TWO23[sx].
13738 * math/libm-test.inc (rint_test): Add more tests.
13739 (rint_test_tonearest): Likewise.
13740 (rint_test_towardzero): Likewise.
13741 (rint_test_downward): Likewise.
13742 (rint_test_upward: Likewise.
13744 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13747 * include/stdc-predef.h: New file. Extracted from features.h.
13748 * include/features.h: Include stdc-predef.h.
13749 * Makefile (headers): Add stdc-predef.h.
13750 * CONFORMANCE (Compiler limitations): Update.
13752 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13754 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13756 2012-02-21 David S. Miller <davem@davemloft.net>
13758 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13759 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13761 2012-02-20 David S. Miller <davem@davemloft.net>
13763 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13764 using a normal save/restore sequence, rather than allocating a
13765 dummy stack frame just to store a frame pointer and restore.
13766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13768 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13770 * manual/install.texi: Fix stray word in line-wrapped comment.
13772 2012-02-20 David S. Miller <davem@davemloft.net>
13774 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13775 both binutils and gcc support GOTDATA.
13777 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13778 "rd %pc" in the PIC register setup sequences.
13780 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13781 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13782 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13783 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13784 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13786 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13787 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13789 (SYSCALL_ERROR_HANDLER): Likewise.
13790 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13791 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13793 (SYSCALL_ERROR_HANDLER): Likewise.
13795 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13796 (HAVE_GCC_GOTDATA): New.
13797 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13798 relocation support in both binutils and gcc.
13799 * sysdeps/sparc/elf/configure: Regenerate.
13801 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13802 * sysdeps/sparc/sparc32/elf/configure: Delete.
13803 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13804 * sysdeps/sparc/sparc64/elf/configure: Delete.
13805 * sysdeps/sparc/elf/configure.in: New file.
13806 * sysdeps/sparc/elf/configure: Generate.
13808 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13809 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13810 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13811 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13812 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13814 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13816 * manual/install.texi: Do not mention specific glibc version
13818 * manual/libc.texinfo (VERSION, UPDATED): Update.
13819 (@copying): Use @copyright{} and range of years.
13821 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13824 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13825 [crti.S not in sysdirs] (generated): Do not append.
13826 [crti.S not in sysdirs] (omit-deps): Likewise.
13827 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13828 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13829 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13830 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13831 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13833 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13834 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13835 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13836 * csu/defs.awk: Remove file.
13837 * sysdeps/generic/initfini.c: Likewise.
13838 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13840 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13843 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13845 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13846 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13847 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13849 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13850 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13852 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13853 (__EPOLL_PACKED): Define to empty if not defined by
13855 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13859 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13861 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13862 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13863 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13864 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13866 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13870 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13872 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13875 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13876 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13879 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13881 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13882 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13884 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13886 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13887 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13889 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13891 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13894 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13896 * math/w_acos.c: Use non-signaling floating-point comparisons.
13897 * math/w_acosf.c: Likewise.
13898 * math/w_acosh.c: Likewise.
13899 * math/w_acoshf.c: Likewise.
13900 * math/w_acoshl.c: Likewise.
13901 * math/w_acosl.c: Likewise.
13902 * math/w_asin.c: Likewise.
13903 * math/w_asinf.c: Likewise.
13904 * math/w_asinl.c: Likewise.
13905 * math/w_atanh.c: Likewise.
13906 * math/w_atanhf.c: Likewise.
13907 * math/w_atanhl.c: Likewise.
13908 * math/w_exp2.c: Likewise.
13909 * math/w_exp2f.c: Likewise.
13910 * math/w_exp2l.c: Likewise.
13911 * math/w_j0.c: Likewise.
13912 * math/w_j0f.c: Likewise.
13913 * math/w_j0l.c: Likewise.
13914 * math/w_j1.c: Likewise.
13915 * math/w_j1f.c: Likewise.
13916 * math/w_j1l.c: Likewise.
13917 * math/w_jn.c: Likewise.
13918 * math/w_jnf.c: Likewise.
13919 * math/w_log.c: Likewise.
13920 * math/w_log10.c: Likewise.
13921 * math/w_log10f.c: Likewise.
13922 * math/w_log10l.c: Likewise.
13923 * math/w_log2.c: Likewise.
13924 * math/w_log2f.c: Likewise.
13925 * math/w_log2l.c: Likewise.
13926 * math/w_logf.c: Likewise.
13927 * math/w_logl.c: Likewise.
13928 * math/w_sqrt.c: Likewise.
13929 * math/w_sqrtf.c: Likewise.
13930 * math/w_sqrtl.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13933 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13934 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13935 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13937 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13940 * manual/string.texi (strnlen): Use correct parameter name in
13941 equivalent expression.
13943 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13946 * manual/users.texi (seteuid): Consistently use neweuid for
13949 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13952 * manual/nss.texi (Services in the NSS configuration): Correct
13953 list of services in example configuration file.
13955 2012-02-19 Nick Bowler <nbowler@draconx.ca>
13958 * manual/arith.texi: Remove statements about negative zero
13959 behaving identically to zero.
13961 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13964 * manual/install.texi: Do not document upgrading from libc5.
13966 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13969 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13971 2012-02-18 David S. Miller <davem@davemloft.net>
13973 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13974 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13975 %o7 across the call.
13976 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13979 SETUP_PIC_REG_LEAF.
13980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13981 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13982 * sysdeps/sparc/crtn.S: Likewise.
13984 2012-02-17 Ulrich Drepper <drepper@gmail.com>
13986 * aout/Makefile: Remove.
13988 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13991 * manual/examples/argp-ex1.c (main): Format definition in GNU
13993 * manual/examples/argp-ex2.c (main): Likewise.
13994 * manual/examples/argp-ex3.c (main): Likewise.
13995 * manual/examples/argp-ex4.c (main): Likewise.
13996 * manual/examples/longopt.c (main): Use new-style prototype
13998 * manual/examples/strncat.c (main): Specify return type and use
13999 (void) for arguments.
14000 * manual/examples/subopt.c (main): Use char **argv argument.
14002 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14005 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14008 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14011 * manual/string.texi (strchr): Change when strchrnul is
14014 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14017 * manual/locale.texi (setlocale): Document LOCPATH.
14019 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14022 * manual/process.texi (execle): Move @dots{} before last argument.
14024 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14027 * manual/charset.texi (Generic Charset Conversion): Fix typo
14028 (LC_TYPE -> LC_CTYPE).
14030 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14033 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14034 (scalbnf): Likewise.
14035 (scalbnl): Likewise.
14036 (scalbln): Likewise.
14037 (scalblnf): Likewise.
14038 (scalblnl): Likewise.
14039 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14040 (vwarnx): Likewise.
14043 * manual/filesys.texi (telldir): Use braces around return type.
14044 * manual/llio.texi (mmap): Add space after comma.
14045 (mmap64): Likewise.
14046 * manual/math.texi (jn): Use @var{} on parameter names.
14052 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14054 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14056 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14057 (sched_get_priority_max): Likewise.
14058 * manual/signal.texi (sigvec): Add space after comma.
14059 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14061 (if_indextoname): Likewise.
14062 (if_freenameindex): Likewise.
14063 (sendto): Use ',' instead of '.' in prototype.
14064 * manual/startup.texi (syscall): Use @dots{} instead of literal
14066 * manual/stdio.texi (__fpending): Separate initial words of
14067 paragraph from @deftypefun line.
14068 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14070 (vsyslog): Use @var{} on parameter names.
14071 * manual/terminal.texi (stty): Use @var{} on parameter names.
14072 * manual/users.texi (getutmp): Use @var{} on parameter names.
14073 (getutmpx): Likewise.
14075 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14078 * manual/stdio.texi (fopen): Fix typos in description of
14081 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14084 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14085 get clock_id definition.
14087 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14090 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14091 (madvise): Cast every argument to void on its own.
14093 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14096 * manual/startup.texi (Exit Status): Fix typo.
14098 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14101 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14102 * manual/examples/argp-ex2.c: Likewise.
14103 * manual/examples/argp-ex3.c: Likewise.
14105 2012-02-16 Richard Henderson <rth@redhat.com>
14107 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14108 * sysdeps/s390/s390-32/initfini.c: Remove.
14109 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14110 * sysdeps/s390/s390-64/initfini.c: Remove.
14112 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14114 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14115 compiler output for sysdeps/generic/initfini.c.
14116 * sysdeps/sh/elf/initfini.c: Remove file.
14118 2012-02-16 David S. Miller <davem@davemloft.net>
14121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14123 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14124 * sysdeps/sparc/crti.S: New file.
14125 * sysdeps/sparc/crtn.S: New file.
14126 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14127 * sysdeps/sparc/sparc64/Makefile: Likewise.
14129 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14132 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14134 2012-02-15 Roland McGrath <roland@hack.frob.com>
14137 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14139 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14140 (write, read, close): Likewise.
14141 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14143 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14145 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14146 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14147 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14148 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14150 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14154 2012-02-14 Marek Polacek <polacek@redhat.com>
14156 * sysdeps/x86_64/crti.S: New file.
14157 * sysdeps/x86_64/crtn.S: New file.
14158 * sysdeps/x86_64/elf/initfini.c: Remove file.
14160 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14162 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14163 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14165 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14167 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14171 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14173 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14174 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14175 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14176 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14178 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14182 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14184 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14185 __feraiseexcept instead of feraiseexcept.
14187 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14188 nanosleep invocations.
14189 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14190 strings, and add error checking for a nanosleep invocations.
14192 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14194 Replace FSF snail mail address with URLs, as per GNU coding standards.
14195 Most of the snail mail addresses were wrong anyway, and omitting
14196 them makes the source code easier to maintain. Almost all of the
14197 changes are to license notices and to locale LC_IDENTIFICATION
14198 addresses, except for this one:
14199 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14200 not its snail mail address.
14202 2012-02-09 Richard Henderson <rth@twiddle.net>
14204 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14205 of kernel-features.h.
14207 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14209 2012-02-08 Marek Polacek <polacek@redhat.com>
14211 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14212 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14213 * sysdeps/gnu/_G_config.h: Likewise.
14214 * sysdeps/generic/_G_config.h: Likewise.
14216 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14218 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14222 * sysdeps/powerpc/powerpc32/crti.S: New file.
14223 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14224 * sysdeps/powerpc/powerpc64/crti.S: New file.
14225 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14227 * Makeconfig (have-initfini): Don't set.
14228 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14229 * configure.in (nopic_initfini): Don't substitute.
14230 * config.h.in (HAVE_INITFINI): Don't #undef.
14231 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14232 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14234 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14236 Support crti.S and crtn.S provided directly by architectures.
14237 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14238 [crti.S in sysdirs] (omit-deps): Likewise.
14239 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14240 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14241 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14242 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14243 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14244 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14245 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14246 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14247 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14248 compiler output for sysdeps/generic/initfini.c.
14249 * sysdeps/i386/elf/Makefile: Remove file.
14250 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14252 2012-02-07 Marek Polacek <polacek@redhat.com>
14254 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14255 * sysdeps/gnu/_G_config.h: Likewise.
14256 * sysdeps/mach/hurd/_G_config.h: Likewise.
14258 2012-02-07 Marek Polacek <polacek@redhat.com>
14260 * math/Makefile (tests): Add tst-CMPLX2.
14261 * math/tst-CMPLX2.c: New file.
14263 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14265 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14267 * math/libm-test.inc (jn_test): Add missing L suffix.
14269 2012-02-06 Marek Polacek <polacek@redhat.com>
14271 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14272 * sysdeps/i386/fpu/e_powf.S: Likewise.
14273 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14274 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14275 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14276 * sysdeps/i386/fpu/e_pow.S: Likewise.
14277 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14278 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14279 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14280 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14281 * sysdeps/i386/fpu/e_log2.S: Likewise.
14282 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14283 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14284 * sysdeps/i386/fpu/e_powl.S: Likewise.
14285 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14286 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14287 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14288 * sysdeps/i386/fpu/e_logl.S: Likewise.
14289 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14290 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14291 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14292 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14293 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14294 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14295 * sysdeps/i386/fpu/e_log.S: Likewise.
14296 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14297 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14298 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14299 * sysdeps/i386/fpu/e_logf.S: Likewise.
14300 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14301 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14302 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14303 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14304 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14305 * sysdeps/i386/fpu/e_log10.S: Likewise.
14306 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14307 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14308 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14309 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14310 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14311 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14312 * sysdeps/i386/asm-syntax.h: Likewise.
14313 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14314 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14315 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14316 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14317 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14318 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14319 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14320 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14321 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14322 * sysdeps/powerpc/sysdep.h: Likewise.
14323 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14324 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14326 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14329 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14331 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14333 * sysdeps/i386/sysdep.h: Include <features.h>.
14334 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14337 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14339 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14341 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14344 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14346 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14347 (SETUP_PIC_REG): Use GET_PC_THUNK.
14348 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14351 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14353 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14354 for non-PIC compilation.
14355 (SETUP_PIC_REG): Add .p2align directive.
14356 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14357 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14358 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14359 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14360 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14361 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14362 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14363 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14364 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14365 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14366 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14367 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14368 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14369 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14370 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14371 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14372 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14373 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14374 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14375 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14376 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14377 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14378 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14379 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14380 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14381 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14382 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14383 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14384 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14385 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14387 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14388 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14389 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14390 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14391 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14392 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14393 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14394 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14395 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14396 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14398 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14400 * math/tst-CMPLX.c: Include <stdio.h>.
14402 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14404 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14406 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14407 * sysdeps/sparc/bits/mathdef.h: Likewise.
14409 2012-01-31 Marek Polacek <polacek@redhat.com>
14411 * libio/libio.h: Don't define _PARAMS.
14412 * locale/programs/config.h: Don't define PARAMS.
14413 * stdlib/strtol_l.c: Likewise.
14414 (__strtol_l): Remove PARAMS from the prototype.
14416 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14418 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14419 names. Just use the correct names. Remove unnecessary wrapper
14421 * malloc/arena.c: Likewise.
14422 * malloc/hooks.c: Likewise.
14424 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14425 ARENA_TEST says not to. Simplify test for creation of a new arena.
14426 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14428 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14430 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14432 (update_get_addr): New function.
14433 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14434 GET_ADDR_MODULE parameter.
14436 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14438 * crypt/cert.c: Remove __STDC__ conditionals.
14439 * crypt/crypt-entry.c: Likewise.
14440 * crypt/crypt_util.c: Likewise.
14441 * libio/filedoalloc.c: Likewise.
14442 * libio/fileops.c: Likewise.
14443 * libio/genops.c: Likewise.
14444 * libio/iofclose.c: Likewise.
14445 * libio/iofdopen.c: Likewise.
14446 * libio/iofopen.c: Likewise.
14447 * libio/iofopen64.c: Likewise.
14448 * libio/iogetdelim.c: Likewise.
14449 * libio/iopopen.c: Likewise.
14450 * libio/obprintf.c: Likewise.
14451 * libio/oldfileops.c: Likewise.
14452 * libio/oldiofclose.c: Likewise.
14453 * libio/oldiofdopen.c: Likewise.
14454 * libio/oldiofopen.c: Likewise.
14455 * libio/oldiopopen.c: Likewise.
14456 * libio/wfiledoalloc.c: Likewise.
14457 * libio/wgenops.c: Likewise.
14458 * locale/programs/xmalloc.c: Likewise.
14459 * misc/syslog.c: Likewise.
14460 * stdio-common/xbug.c: Likewise.
14461 * string/memchr.c: Likewise.
14462 * string/memcmp.c: Likewise.
14463 * string/memrchr.c: Likewise.
14464 * string/rawmemchr.c: Likewise.
14465 * sysdeps/posix/getcwd.c: Likewise.
14466 * time/strftime_l.c: Likewise.
14468 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14470 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14471 * config.make.in (config-cflags-sse2avx): Define.
14472 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14475 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14477 * scripts/config.guess: Update from upstream config git repository.
14478 * scripts/config.sub: Likewise.
14480 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14482 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14484 (R_TILEPRO_*, R_TILEGX_*): New macros.
14486 * scripts/firstversions.awk: Fix bug in version range handling.
14488 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14490 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14492 * include/sys/epoll.h: New file.
14493 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14496 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14498 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14499 Avoid unnecessary __WORDSIZE == 64 test.
14500 (fmaxf): Use VEX format if possible.
14505 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14506 * math/math_private.h: Remove libc_fegetround* and
14508 * sysdeps/i386/configure.in: Check for -msse2avx.
14509 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14510 also if SSE2AVX is defined.
14511 Remove libc_fegetround* and libc_fesetround*.
14512 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14513 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14514 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14516 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14517 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14518 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14520 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14522 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14524 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14526 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14528 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14530 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14533 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14535 * Makeconfig (libm): Define.
14536 * elf/Makefile: Add rules to build and run tst-relsort1.
14537 * elf/tst-relsort1.c: New file.
14538 * elf/tst-relsort1mod1.c: New file.
14539 * elf/tst-relsort1mod2.c: New file.
14541 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14543 * math/s_ldexp.c: Remove __STDC__ conditionals.
14544 * math/s_ldexpf.c: Likewise.
14545 * math/s_ldexpl.c: Likewise.
14546 * math/s_nextafter.c: Likewise.
14547 * math/s_nexttowardf.c: Likewise.
14548 * math/s_significand.c: Likewise.
14549 * math/s_significandf.c: Likewise.
14550 * math/s_significandl.c: Likewise.
14551 * math/w_jnl.c: Likewise.
14552 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14553 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14554 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14555 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14556 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14571 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14572 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14573 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14574 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14575 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14576 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14577 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14578 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14579 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14580 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14581 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14582 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14583 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14584 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14585 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14586 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14587 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14588 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14589 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14590 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14591 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14592 * sysdeps/ieee754/k_standard.c: Likewise.
14593 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14595 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14596 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14597 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14598 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14611 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14613 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14614 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14616 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14617 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14618 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14622 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14623 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14624 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14654 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14659 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14667 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14668 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14672 * sysdeps/ieee754/s_matherr.c: Likewise.
14673 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14674 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14676 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14678 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14680 * crypt/md5.h: Remove __STDC__ conditionals.
14681 * libio/libioP.h: Likewise.
14682 * locale/programs/config.h: Likewise.
14683 * sysdeps/generic/sysdep.h: Likewise.
14684 * sysdeps/i386/asm-syntax.h: Likewise.
14685 * sysdeps/s390/asm-syntax.h: Likewise.
14686 * sysdeps/unix/sysdep.h: Likewise.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14690 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14692 * libio/libio.h: Remove __STDC__ conditionals.
14693 * malloc/obstack.h: Likewise.
14694 * math/complex.h: Likewise.
14695 * math/math.h: Likewise.
14696 * sysdeps/generic/_G_config.h: Likewise.
14697 * sysdeps/gnu/_G_config.h: Likewise.
14698 * sysdeps/mach/hurd/_G_config.h: Likewise.
14699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14700 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14701 * sysdeps/sparc/bits/mathdef.h: Likewise.
14703 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14706 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14707 Clean up HAS_* macros.
14708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14709 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14711 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14713 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14714 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14715 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14716 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14717 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14719 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14721 * elf/tst-unique3.cc (gets): Remove declaration.
14722 * elf/tst-unique3lib.cc (gets): Likewise.
14723 * elf/tst-unique3lib2.cc (gets): Likewise.
14724 * elf/tst-unique4.cc (gets): Likewise.
14726 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14728 * include/stdio.h: Add C++ protection. Add gets declarations and
14730 * debug/tst-chk1.c: Don't declare gets here.
14731 * stdio-common/tst-gets.c: Likewise.
14733 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14735 * posix/glob: Remove directory.
14737 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14739 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14741 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14743 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14744 of the non-standard EPFNOSUPPORT.
14746 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14748 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14749 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14750 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14752 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14754 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14756 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14758 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14760 * nscd/grpcache.c (cache_addgr): Likewise.
14761 * nscd/hstcache.c (cache_addhst): Likewise.
14762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14763 * nscd/pwdcache.c (cache_addpw): Likewise.
14764 * nscd/servicescache.c (cache_addserv): Likewise.
14766 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14768 * malloc/malloc.c: Various cleanups.
14769 * malloc/hooks.c: Likewise.
14771 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14772 * stdlib/bug-fmtmsg1.c: New file.
14774 * stdlib/fmtmsg.c (init): Add missing unlock.
14775 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14777 2012-01-12 Marek Polacek <polacek@redhat.com>
14779 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14782 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14784 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14785 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14786 macro to ensure uniqueness of label name.
14787 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14788 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14790 2012-01-11 Ulrich Drepper <drepper@gmail.com>
14792 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14794 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14795 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14799 2012-01-10 Ulrich Drepper <drepper@gmail.com>
14801 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14803 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14804 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14805 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14807 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14809 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14810 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14811 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14814 * math/bits/math-finite.h: Add ldexp support.
14816 2012-01-10 Marek Polacek <polacek@redhat.com>
14818 * locale/programs/localedef.h (show_archive_content): Add noreturn
14821 2012-01-09 Ulrich Drepper <drepper@gmail.com>
14823 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14825 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14827 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14829 * io/Makefile (headers): Add bits/poll2.h.
14831 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14834 typo #include statement.
14836 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14838 * include/sys/cdefs.h: Define __attribute_alloc_size.
14839 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14840 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14841 * elf/pldd.c: Likewise.
14842 * iconv/iconv_charmap.c: Likewise.
14843 * iconv/iconvconfig.c: Likewise.
14844 * iconv/strtab.c: Likewise.
14845 * locale/programs/locale.c: Likewise.
14846 * locale/programs/localedef.h: Likewise.
14847 * locale/programs/simple-hash.c: Likewise.
14848 * nscd/nscd.h: Likewise.
14849 * nss/makedb.c: Likewise.
14850 * sysdeps/generic/ldconfig.h: Likewise.
14851 * locale/programs/localedef.c: Remove xmalloc prototype.
14852 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14854 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14856 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14859 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14861 * math/Makefile (tests): Add tst-CMPLX.
14862 * math/tst-CMPLX.c: New file.
14864 * math/complex.h (CMPLXL): Fix typo.
14866 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14867 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14869 * debug/tst-chk1.c: Add poll and ppoll tests.
14870 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14871 * include/sys/poll.h: Add hidden proto for ppoll.
14872 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14873 * sysdeps/mach/hurd/ppoll.c: Likewise.
14874 * io/ppoll.c: Likewise.
14875 * debug/poll_chk.c: New file.
14876 * debug/ppoll_chk.c: New file.
14877 * include/bits/poll2.h: New file.
14878 * io/bits/poll2.h: New file.
14881 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14883 * configure.in: static is always set to yes. Remove.
14884 * config.make.in: Don't set build-static.
14885 * Makeconfig: Remove use of build-static.
14886 * dlfcn/Makefile: Likewise.
14887 * elf/Makefile: Likewise.
14888 * math/Makefile: Likewise.
14889 * misc/Makefile: Likewise.
14890 * nptl/Makefile: Likewise.
14891 * sysdeps/mach/hurd/Makefile: Likewise.
14893 * configure.in: PWD_P is not used anymore.
14894 * config.make.in: Remove PWD_P entry.
14896 * configure.in: Remove last remnants of RANLIB.
14897 No need to check for signed size_t anymore.
14898 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14900 Remove __builtin_expect test because we require at least gcc 3.4.
14901 * aclocal.m4: Likewise.
14903 * wcsmbs/mbrtoc16.c: Implement using towc function.
14904 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14905 * wcsmbs/wcsmbsload.c: Likewise.
14906 * iconv/gconv_simple.c: Likewise.
14907 * iconv/gconv_int.h: Likewise.
14908 * iconv/gconv_builtin.h: Likewise.
14909 * iconv/iconv_prog.c: Remove CHAR16 handling.
14911 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14913 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14915 * configure.in: Remove --with-elf and --enable-bounded options.
14916 Dont set base_machine for ia64. More non-ELF conditions removed.
14917 Remove testing and setting of leading underscore information.
14918 * config.make.in (build-bounded): Set to no.
14919 * config.h.in: Remove NO_UNDERSCORES entry.
14920 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14922 * csu/start.c: Remove !NO_UNDERSCORE code.
14923 * locale/localeinfo.h: Likewise.
14924 * sysdeps/generic/machine-gmon.h: Likewise.
14925 * sysdeps/generic/sysdep.h: Likewise.
14926 * sysdeps/i386/sysdep.h: Likewise.
14927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14928 * sysdeps/mach/sysdep.h: Likewise.
14929 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14930 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14931 * sysdeps/sh/sysdep.h: Likewise.
14932 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14933 * sysdeps/unix/i386/sysdep.S: Likewise.
14934 * sysdeps/unix/sparc/start.c: Likewise.
14935 * sysdeps/unix/sparc/sysdep.S: Likewise.
14936 * sysdeps/unix/sparc/sysdep.h: Likewise.
14937 * sysdeps/unix/start.c: Likewise.
14938 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14939 * sysdeps/x86_64/sysdep.h: Likewise.
14941 2012-01-07 Ulrich Drepper <drepper@gmail.com>
14944 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14946 * argp/argp-fmtstream.h: Use const instead __const.
14947 * argp/argp.h: Likewise.
14948 * assert/assert.h: Likewise.
14949 * bits/fenv.h: Likewise.
14950 * bits/sched.h: Likewise.
14951 * bits/sigset.h: Likewise.
14952 * bits/sigthread.h: Likewise.
14953 * catgets/nl_types.h: Likewise.
14954 * conform/data/pthread.h-data: Likewise.
14955 * crypt/crypt-private.h: Likewise.
14956 * crypt/crypt.h: Likewise.
14957 * crypt/crypt_util.c: Likewise.
14958 * ctype/ctype.h: Likewise.
14959 * debug/execinfo.h: Likewise.
14960 * debug/mbsnrtowcs_chk.c: Likewise.
14961 * debug/mbsrtowcs_chk.c: Likewise.
14962 * debug/wcsnrtombs_chk.c: Likewise.
14963 * debug/wcsrtombs_chk.c: Likewise.
14964 * debug/wcstombs_chk.c: Likewise.
14965 * dirent/dirent.h: Likewise.
14966 * dlfcn/dlfcn.h: Likewise.
14967 * elf/neededtest4.c: Likewise.
14968 * grp/grp.h: Likewise.
14969 * gshadow/gshadow.h: Likewise.
14970 * iconv/gconv.h: Likewise.
14971 * iconv/gconv_int.h: Likewise.
14972 * iconv/gconv_simple.c: Likewise.
14973 * iconv/iconv.h: Likewise.
14974 * iconv/loop.c: Likewise.
14975 * iconv/skeleton.c: Likewise.
14976 * include/aio.h: Likewise.
14977 * include/aliases.h: Likewise.
14978 * include/argz.h: Likewise.
14979 * include/arpa/inet.h: Likewise.
14980 * include/assert.h: Likewise.
14981 * include/dirent.h: Likewise.
14982 * include/dlfcn.h: Likewise.
14983 * include/execinfo.h: Likewise.
14984 * include/fcntl.h: Likewise.
14985 * include/fenv.h: Likewise.
14986 * include/glob.h: Likewise.
14987 * include/grp.h: Likewise.
14988 * include/libintl.h: Likewise.
14989 * include/mntent.h: Likewise.
14990 * include/netdb.h: Likewise.
14991 * include/pwd.h: Likewise.
14992 * include/rpc/netdb.h: Likewise.
14993 * include/sched.h: Likewise.
14994 * include/search.h: Likewise.
14995 * include/shadow.h: Likewise.
14996 * include/signal.h: Likewise.
14997 * include/stdio.h: Likewise.
14998 * include/stdlib.h: Likewise.
14999 * include/string.h: Likewise.
15000 * include/sys/socket.h: Likewise.
15001 * include/sys/stat.h: Likewise.
15002 * include/sys/statfs.h: Likewise.
15003 * include/sys/statvfs.h: Likewise.
15004 * include/sys/syslog.h: Likewise.
15005 * include/sys/time.h: Likewise.
15006 * include/sys/uio.h: Likewise.
15007 * include/time.h: Likewise.
15008 * include/unistd.h: Likewise.
15009 * include/utmp.h: Likewise.
15010 * include/wchar.h: Likewise.
15011 * include/wctype.h: Likewise.
15012 * inet/aliases.h: Likewise.
15013 * inet/arpa/inet.h: Likewise.
15014 * inet/netinet/ether.h: Likewise.
15015 * inet/netinet/in.h: Likewise.
15016 * intl/libintl.h: Likewise.
15017 * io/bits/fcntl2.h: Likewise.
15018 * io/fcntl.h: Likewise.
15019 * io/ftw.h: Likewise.
15020 * io/sys/poll.h: Likewise.
15021 * io/sys/stat.h: Likewise.
15022 * io/sys/statfs.h: Likewise.
15023 * io/sys/statvfs.h: Likewise.
15024 * io/utime.h: Likewise.
15025 * libio/bits/stdio.h: Likewise.
15026 * libio/bits/stdio2.h: Likewise.
15027 * libio/libio.h: Likewise.
15028 * libio/libioP.h: Likewise.
15029 * libio/stdio.h: Likewise.
15030 * locale/lc-ctype.c: Likewise.
15031 * locale/locale.h: Likewise.
15032 * login/utmp.h: Likewise.
15033 * malloc/arena.c: Likewise.
15034 * malloc/malloc.c: Likewise.
15035 * malloc/malloc.h: Likewise.
15036 * malloc/mcheck.c: Likewise.
15037 * malloc/mtrace.c: Likewise.
15038 * math/bits/mathcalls.h: Likewise.
15039 * math/fenv.h: Likewise.
15040 * math/math_private.h: Likewise.
15041 * misc/bits/error.h: Likewise.
15042 * misc/bits/syslog.h: Likewise.
15043 * misc/err.h: Likewise.
15044 * misc/error.h: Likewise.
15045 * misc/fstab.h: Likewise.
15046 * misc/mntent.h: Likewise.
15047 * misc/regexp.h: Likewise.
15048 * misc/search.h: Likewise.
15049 * misc/sgtty.h: Likewise.
15050 * misc/sys/mman.h: Likewise.
15051 * misc/sys/syslog.h: Likewise.
15052 * misc/sys/uio.h: Likewise.
15053 * misc/sys/xattr.h: Likewise.
15054 * misc/ttyent.h: Likewise.
15055 * nis/rpcsvc/ypclnt.h: Likewise.
15056 * nss/nss.h: Likewise.
15057 * posix/bits/unistd.h: Likewise.
15058 * posix/fnmatch.h: Likewise.
15059 * posix/glob.h: Likewise.
15060 * posix/sched.h: Likewise.
15061 * posix/spawn.h: Likewise.
15062 * posix/sys/wait.h: Likewise.
15063 * posix/unistd.h: Likewise.
15064 * posix/wordexp.h: Likewise.
15065 * pwd/pwd.h: Likewise.
15066 * resolv/netdb.h: Likewise.
15067 * resource/sys/resource.h: Likewise.
15068 * rt/aio.h: Likewise.
15069 * rt/bits/mqueue2.h: Likewise.
15070 * rt/mqueue.h: Likewise.
15071 * shadow/shadow.h: Likewise.
15072 * signal/signal.h: Likewise.
15073 * socket/send.c: Likewise.
15074 * socket/sendto.c: Likewise.
15075 * socket/sys/socket.h: Likewise.
15076 * stdio-common/printf.h: Likewise.
15077 * stdlib/bits/stdlib.h: Likewise.
15078 * stdlib/fmtmsg.h: Likewise.
15079 * stdlib/monetary.h: Likewise.
15080 * stdlib/stdlib.h: Likewise.
15081 * stdlib/ucontext.h: Likewise.
15082 * streams/stropts.h: Likewise.
15083 * string/argz.h: Likewise.
15084 * string/bits/string2.h: Likewise.
15085 * string/string.h: Likewise.
15086 * string/strings.h: Likewise.
15087 * sunrpc/rpc/auth.h: Likewise.
15088 * sunrpc/rpc/auth_des.h: Likewise.
15089 * sunrpc/rpc/clnt.h: Likewise.
15090 * sunrpc/rpc/netdb.h: Likewise.
15091 * sunrpc/rpc/pmap_clnt.h: Likewise.
15092 * sunrpc/rpc/xdr.h: Likewise.
15093 * sysdeps/generic/inttypes.h: Likewise.
15094 * sysdeps/generic/net/if.h: Likewise.
15095 * sysdeps/generic/sys/swap.h: Likewise.
15096 * sysdeps/gnu/net/if.h: Likewise.
15097 * sysdeps/gnu/utmpx.h: Likewise.
15098 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15099 * sysdeps/i386/i486/bits/string.h: Likewise.
15100 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15101 * sysdeps/s390/bits/string.h: Likewise.
15102 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15103 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15104 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15105 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15106 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15107 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15108 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15109 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15110 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15111 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15112 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15113 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15114 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15115 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15116 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15117 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15118 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15122 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15123 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15124 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15125 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15126 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15127 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15128 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15129 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15130 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15132 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15133 * sysvipc/sys/ipc.h: Likewise.
15134 * sysvipc/sys/msg.h: Likewise.
15135 * sysvipc/sys/sem.h: Likewise.
15136 * sysvipc/sys/shm.h: Likewise.
15137 * termios/termios.h: Likewise.
15138 * time/sys/time.h: Likewise.
15139 * time/time.h: Likewise.
15140 * wcsmbs/bits/wchar2.h: Likewise.
15141 * wcsmbs/uchar.h: Likewise.
15142 * wcsmbs/wchar.h: Likewise.
15143 * wctype/wctype.h: Likewise.
15146 * Makeconfig: Remove all but ELF support including AIX support.
15147 * Makerules: Likewise.
15148 * config.h.in: Likewise.
15149 * config.make.in: Likewise.
15150 * configure: Likewise.
15151 * configure.in: Likewise.
15152 * csu/Makefile: Likewise.
15153 * csu/version.c: Likewise.
15154 * debug/Makefile: Likewise.
15155 * dlfcn/Makefile: Likewise.
15156 * elf/Makefile: Likewise.
15157 * extra-lib.mk: Likewise.
15158 * iconv/Makefile: Likewise.
15159 * include/libc-symbols.h: Likewise.
15160 * include/shlib-compat.h: Likewise.
15161 * resolv/Makefile: Likewise.
15162 * resolv/res_libc.c: Likewise.
15163 * rt/Makefile: Likewise.
15164 * sysdeps/i386/asm-syntax.h: Likewise.
15165 * sysdeps/i386/sysdep.h: Likewise.
15166 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15167 * sysdeps/mach/sysdep.h: Likewise.
15168 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15169 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15170 * sysdeps/s390/asm-syntax.h: Likewise.
15171 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15172 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15173 * sysdeps/sh/sysdep.h: Likewise.
15174 * sysdeps/unix/sparc/sysdep.h: Likewise.
15175 * sysdeps/wordsize-32/divdi3.c: Likewise.
15176 * sysdeps/x86_64/sysdep.h: Likewise.
15178 * argp/Versions: Remove _argp_unlock_xxx.
15181 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15182 * abilist/libBrokenLocale.abilist: Likewise.
15183 * abilist/libanl.abilist: Likewise.
15184 * abilist/libc.abilist: Likewise.
15185 * abilist/libcrypt.abilist: Likewise.
15186 * abilist/libdl.abilist: Likewise.
15187 * abilist/libm.abilist: Likewise.
15188 * abilist/libnsl.abilist: Likewise.
15189 * abilist/libpthread.abilist: Likewise.
15190 * abilist/libresolv.abilist: Likewise.
15191 * abilist/librt.abilist: Likewise.
15192 * abilist/libthread_db.abilist: Likewise.
15193 * abilist/libutil.abilist: Likewise.
15194 * abilist/libnss_db.abilist: New file.
15196 * scripts/abilist.awk: Add support for indirect functions.
15198 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15200 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15202 * shlib-versions: Remove entries for ports architectures.
15204 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15206 * elf/stackguard-macros.h: Remove support for IA-64.
15207 * elf/tst-auditmod1.c: Likewise.
15208 * sysdeps/generic/ldsodefs.h: Likewise.
15210 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15211 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15215 * configure.in: Remove --enable-omitfp support.
15217 * config.make.in: Likewise.
15218 * Makeconfig: Likewise.
15219 * manual/install.texi: Likewise.
15221 In case anyone cares, the IA-64 architecture could move to ports.
15222 * sysdeps/ia64/*: Removed.
15223 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15224 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15227 * configure.in: Remove entries for unsupported architectures.
15230 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15231 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15233 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15234 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15235 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15236 fall back to using wcrtomb.
15237 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15238 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15240 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15241 * wcsmbs/tst-c16c32-1.c: New file.
15243 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15246 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15248 * elf/tst-unique3.cc: Add explicit declaration of gets.
15249 * elf/tst-unique3lib.cc: Likewise.
15250 * elf/tst-unique3lib2.cc: Likewise.
15251 * elf/tst-unique4.cc: Likewise.
15253 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15255 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15258 * assert/assert.h (static_assert): Don't define for C++.
15259 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15260 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15262 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15264 * iconv/loop.c (single loop): Fix assertion in storing of
15267 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15269 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15271 * posix/getconf.c: Update copyright year.
15272 * nss/getent.c: Likewise.
15273 * nss/makedb.c: Likewise.
15274 * iconv/iconvconfig.c: Likewise.
15275 * iconv/iconv_prog.c: Likewise.
15276 * elf/ldconfig.c: Likewise.
15277 * elf/pldd.c: Likewise.
15278 * elf/sotruss.ksh: Likewise.
15279 * catgets/gencat.c: Likewise.
15280 * csu/version.c: Likewise.
15281 * elf/ldd.bash.in: Likewise.
15282 * elf/sprof.c (print_version): Likewise.
15283 * locale/programs/locale.c: Likewise.
15284 * locale/programs/localedef.c: Likewise.
15285 * login/programs/pt_chown.c: Likewise.
15286 * nscd/nscd.c (print_version): Likewise.
15287 * debug/xtrace.sh: Likewise.
15288 * malloc/memusage.sh: Likewise.
15289 * malloc/mtrace.pl: Likewise.
15290 * debug/catchsegv.sh: Likewise.
15292 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15294 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15297 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15300 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15301 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15303 * iconv/gconv_int.h: Likewise.
15304 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15305 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15306 from libc for GLIBC_2.16.
15307 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15308 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15309 * wcsmbs/uchar.h: Really define mbstate_t.
15310 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15311 * wcsmbs/c16rtomb.c: New file.
15312 * wcsmbs/mbrtoc16.c: New file.
15313 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15314 for C/POSIX locale.
15315 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15316 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15318 * wcsmbs/wchar.h: Add missing __restrict.
15320 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15323 * time/Makefile (routines): Add timespec_get.
15324 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15325 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15326 timespec for ISO C11.
15327 * time/timespec_get.c: New file.
15328 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15329 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15332 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15333 * stdlib/stdlib.h: Declare aligned_alloc.
15334 * Versions.def: Add GLIBC_2.16 for libc.
15335 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15338 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15341 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15345 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15348 * assert/assert.h (static_assert): Define.
15350 * version.h: Update for 2.16 development version.
15353 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15356 * version.h (RELEASE): Bump for 2.15 release.
15357 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15359 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15360 Patch by Marek Polacek <mpolacek@redhat.com>.
15362 * bits/byteswap.h: Protect long long constants with __extension__.
15363 * sysdeps/i386/bits/byteswap.h: Likewise.
15364 * sysdeps/ia64/bits/byteswap.h: Likewise.
15365 * sysdeps/s390/bits/byteswap.h: Likewise.
15366 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15368 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15372 destination buffer.
15373 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15375 2011-12-23 Marek Polacek <polacek@redhat.com>
15377 * elf/dl-addr.c (determine_info): Add inline keyword.
15378 * elf/tst-auditmod4b.c (check_avx): Likewise.
15379 * elf/tst-auditmod6b.c (check_avx): Likewise.
15380 * elf/tst-auditmod6c.c (check_avx): Likewise.
15381 * elf/tst-auditmod7b.c (check_avx): Likewise.
15383 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15385 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15388 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15391 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15392 processing for last bytes.
15394 2011-08-06 Bruno Haible <bruno@clisp.org>
15397 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15398 U+0385, not to U+1FEE.
15401 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15402 entry for U+00A5 U+0301.
15404 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15407 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15408 buffer for the output is too small.
15410 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15414 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15415 SSE flags if possible.
15417 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15420 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15421 processing for last bytes.
15423 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15425 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15426 (syscall-list-default-options, syscall-list-default-condition)
15427 (syscall-list-includes): Define.
15428 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15429 list of ABIs and options and #if conditions for each ABI. Do not
15430 handle common syscalls between ABIs specially.
15431 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15433 (syscall-list-variants, syscall-list-32bit-options)
15434 (syscall-list-32bit-condition, syscall-list-64bit-options)
15435 (syscall-list-64bit-condition): Define.
15436 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15437 (syscall-list-variants, syscall-list-32bit-options)
15438 (syscall-list-32bit-condition, syscall-list-64bit-options)
15439 (syscall-list-64bit-condition): Define.
15440 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15442 (syscall-list-variants, syscall-list-32bit-options)
15443 (syscall-list-32bit-condition, syscall-list-64bit-options)
15444 (syscall-list-64bit-condition): Define.
15445 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15447 (syscall-list-variants, syscall-list-32bit-options)
15448 (syscall-list-32bit-condition, syscall-list-64bit-options)
15449 (syscall-list-64bit-condition): Define.
15451 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15453 * locale/iso-639.def: Add brx entry.
15456 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15457 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15459 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15460 __feraiseexcept_renamed.
15462 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15465 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15466 EPOLLET with unsigned values.
15467 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15468 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15470 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15471 to large cancellation.
15472 * math/s_cacoshf.c: Likewise.
15473 * math/s_cacoshl.c: Likewise.
15475 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15479 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15480 * math/s_cacoshf.c: Likewise.
15481 * math/s_cacoshl.c: Likewise.
15483 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15486 * iconv/gconv.h: Define __GCONV_SWAP.
15487 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15488 * iconvdata/utf-16.c: Likewise.
15489 * iconvdata/utf-32.c: Likewise.
15491 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15495 numerator after shifting it by one limb.
15497 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15499 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15500 under [__USE_EXTERN_INLINES].
15502 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15505 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15507 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15509 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15510 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15512 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15513 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15514 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15515 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15516 for strncasecmp/strncasecmp_l compilation.
15517 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15518 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15520 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15523 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15526 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15529 * time/tzfile.c (__tzfile_read): Check values from file header.
15531 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15533 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15534 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15535 * powerpc/powerpc32/dl-start.S: Likewise.
15536 * powerpc/powerpc32/elf/start.S: Likewise.
15537 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15538 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15539 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15540 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15541 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15542 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15543 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15544 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15545 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15546 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15547 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15548 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15549 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15550 * powerpc/powerpc32/memset.S: Likewise.
15551 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15552 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15553 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15554 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15555 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15556 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15557 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15558 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15559 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15560 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15561 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15562 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15563 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15565 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15567 * math/libm-test.inc: Added more nearbyint tests.
15568 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15569 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15571 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15573 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15575 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15578 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15580 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15581 Add wcscpy-ssse3 wcscpy-c.
15582 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15583 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15584 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15585 * sysdeps/x86_64/wcschr.S: New file.
15586 * sysdeps/x86_64/wcsrchr.S: New file.
15587 * string/test-strcmp.c: Remove checking of wcscmp function for
15589 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15590 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15591 wcsrchr-sse2 wcsrchr-c.
15592 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15593 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15594 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15595 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15596 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15597 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15598 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15599 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15600 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15601 * wcsmbc/wcschr.c (WCSCHR): New macro.
15603 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15605 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15606 * wcsmbs/test-wcsrchr.c: New file.
15607 * string/test-strrchr.c: Add wcsrchr support.
15609 * wcsmbs/test-wcscpy.c: New file.
15610 * string/test-strcpy.c: Add wcscpy support.
15613 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15615 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15618 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15621 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15623 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15625 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15626 Minor optimizations.
15628 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15629 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15630 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15632 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15634 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15635 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15636 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15637 for gcc to avoid warnings.
15638 * inet/Makefile (tests): Add tst-checks.
15639 * inet/tst-checks.c: New file.
15641 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15644 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15647 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15648 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15650 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15652 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15654 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15657 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15659 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15661 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15662 conditional on GCC version.
15663 (__arch_compare_and_exchange_val_8_acq)
15664 (__arch_compare_and_exchange_val_16_acq)
15665 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15666 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15667 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15669 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15671 * sysdeps/sh/backtrace.c: New file.
15673 2011-12-02 Andreas Schwab <schwab@redhat.com>
15675 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15678 2011-12-01 Andreas Schwab <schwab@redhat.com>
15680 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15681 falling back to utime.
15683 2011-11-30 Andreas Schwab <schwab@redhat.com>
15685 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15686 expectations for float.
15688 2011-11-29 Andreas Schwab <schwab@redhat.com>
15690 * locale/weight.h (findidx): Add parameter len.
15691 * locale/weightwc.h (findidx): Likewise.
15692 * posix/fnmatch_loop.c (FCT): Adjust caller.
15693 * posix/regcomp.c (build_equiv_class): Likewise.
15694 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15695 * posix/regexec.c (check_node_accept_bytes): Likewise.
15696 * string/strcoll_l.c (STRCOLL): Likewise.
15697 * string/strxfrm_l.c (STRXFRM): Likewise.
15699 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15701 * Makefile.in: Remove CVSOPT handling.
15702 * configure.in: Remove use of AC_REVISION.
15703 * iconvdata/Makefile (distribute): No need to filter out CVS.
15704 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15707 2011-11-16 Andreas Schwab <schwab@redhat.com>
15709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15710 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15711 [USE_AS_STRNCASECMP_L]: Likewise.
15712 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15713 NO_TLS_DIRECT_SEG_REFS.
15714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15715 Fix argument offsets for non-PIC.
15716 [USE_AS_STRNCASECMP_L]: Likewise.
15717 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15718 NO_TLS_DIRECT_SEG_REFS.
15720 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15722 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15724 * locale/loadlocale.c (_nl_load_locale): Likewise.
15726 2011-11-15 Andreas Schwab <schwab@redhat.com>
15728 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15729 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15730 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15731 (SYSCALL_GETTIME): Set errno on error.
15733 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15734 count references to noai6ai_cached.
15736 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15738 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15740 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15741 FD_CLOEXEC for /proc/self/maps.
15743 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15744 FD_CLOEXEC for /proc/meminfo.
15746 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15749 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15750 FD_CLOEXEC for given file.
15752 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15754 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15755 FD_CLOEXEC for /etc/hosts.
15756 (_gethtent): Likewise.
15758 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15760 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15761 cancellation and set FD_CLOEXEC for /etc/netgroup.
15763 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15764 reading /etc/publickey.
15766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15767 allow cancellation when reading /etc/group.
15769 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15771 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15773 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15774 when using data file.
15776 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15778 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15779 (write_nis_obj): Use "c" and "e" in fopen.
15781 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15783 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15785 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15787 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15789 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15792 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15794 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15796 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15798 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15799 file parsing and set FD_CLOEXEC.
15801 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15803 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15805 2011-11-14 Andreas Schwab <schwab@redhat.com>
15807 * malloc/arena.c (arena_get2): Don't call reused_arena when
15808 _int_new_arena failed.
15810 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15812 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15813 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15814 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15815 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15818 to compile strcasecmp and strncasecmp.
15819 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15820 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15824 2011-11-13 Ulrich Drepper <drepper@gmail.com>
15826 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15827 locale-defines.sym to gen-as-const-headers.
15828 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15829 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15831 to compile strcasecmp and strncasecmp.
15832 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15833 strcasecmp_l and strncasecmp_l.
15834 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15835 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15836 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15837 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15838 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15839 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15840 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15841 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15842 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15843 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15844 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15846 2011-11-12 Ulrich Drepper <drepper@gmail.com>
15848 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15849 result of SYSDEP_GETTIME_CPU to retval.
15850 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15851 parameter list to macro. Remove trailing semicolon. Adjust users.
15853 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15856 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15858 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15860 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15861 from unused variable.
15863 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15865 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15868 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15871 * sunrpc/rpc_prot.c (rejected): Fix case value.
15873 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15874 unsigned long long int to avoid warnings in shift.
15876 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15878 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15881 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15882 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15883 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15885 * nis/nis_table.c (nis_list): Use variable of correct type for
15886 result of __follow_path call.
15888 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15890 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15891 of math functions ceil, trunc, floor, round, and sqrt, when
15892 avaliable on the platform.
15893 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15895 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15896 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15897 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15899 2011-10-30 Marek Polacek <mpolacek@redhat.com>
15901 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15902 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15904 2011-11-11 Roland McGrath <roland@hack.frob.com>
15906 * include/unistd.h: Fix __readlink return type.
15907 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15909 2011-11-11 Ulrich Drepper <drepper@gmail.com>
15911 * stdlib/ucontext.h: Undo last change for makecontext.
15913 2011-11-11 Andreas Schwab <schwab@redhat.com>
15915 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15917 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15918 * setjmp/setjmp.h: Mark functions as non-leaf.
15919 * setjmp/bits/setjmp2.h: Likewise.
15920 * stdlib/ucontext.h: Likewise.
15922 2011-11-10 Andreas Schwab <schwab@redhat.com>
15924 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15925 (reused_arena): Don't check arena limit.
15926 (arena_get2): Atomically check arena limit.
15928 2011-11-08 Ulrich Drepper <drepper@gmail.com>
15930 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15931 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15936 2011-11-07 Andreas Schwab <schwab@redhat.com>
15938 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15939 handler when locking.
15941 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15942 Fix size of allocated buffer.
15944 2011-11-04 Andreas Schwab <schwab@redhat.com>
15947 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15948 declarations for long double functions.
15949 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15951 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15953 2011-11-03 Andreas Schwab <schwab@redhat.com>
15955 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15958 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15961 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15963 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15965 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15967 * include/alloca.h (stackinfo_alloca_round): Define.
15968 (extend_alloca): Use it.
15969 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15970 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15973 * scripts/check-local-headers.sh: Ignore libaudit.h.
15975 * nscd/Makefile (extra-objs): Make recursively expanded.
15977 2011-11-01 Ulrich Drepper <drepper@gmail.com>
15979 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15980 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15982 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15983 * posix/tst-rfc3484-2.c: Likewise.
15984 * posix/tst-rfc3484-3.c: Likewise.
15986 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15988 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15990 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15991 process_vm_writev from libc using GLIBC_2.15 version.
15993 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15995 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15997 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16000 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16003 * nss/getent.c (initgroups_keys): Show error message in case no group
16006 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16007 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16008 __bump_nl_timestamp.
16009 * nscd/connections (nscd_init): When host database is served open
16010 netlink socket and request notification about configuration changes.
16011 (main_loop_poll): Track netlink file descriptor and bump timestamp
16012 in case data becomes available.
16013 (main_loop_epoll): Likewise.
16014 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16015 (database_pers_head): Add extra_data fileds.
16016 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16017 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16018 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16021 in6ai data, call __free_in6ai.
16022 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16023 Add -DHAVE_NETLINK.
16024 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16025 interface information. Reuse previous data if netlink timestamp
16027 (__bump_nl_timestamp): New function.
16028 (__free_in6ai): New function.
16030 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16032 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16033 close_not_cancel_no_status here.
16034 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16036 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16039 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16042 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16043 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16044 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16046 2011-07-03 Andreas Jaeger <aj@suse.de>
16049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16050 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16051 * math/libm-test.inc (sin_test): Add test case.
16053 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16056 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16057 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16059 * elf/chroot_canon.c (chroot_canon): Cleanups.
16061 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16064 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16065 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16067 * string/test-strchr.c: Make usable for strchrnul testing.
16068 * string/test-strchrnul.c: New file.
16069 * string/Makefile (strop-tests): Add strchrnul.
16071 * po/it.po: Update from translation team.
16072 * po/es.po: Likewise.
16074 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16076 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16077 the three constants needed as parameters. Drop the others.
16078 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16079 __m128i_strloadu_tolower.
16080 Create and initialize variable zero and use it in all the places
16081 where _mm_setzero_si128 was used.
16083 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16084 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16085 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16086 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16088 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16089 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16090 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16091 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16092 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16093 __mpranred, __mptan.
16094 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16095 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16096 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16097 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16098 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16099 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16101 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16102 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16104 2011-10-28 Andreas Schwab <schwab@redhat.com>
16106 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16107 redefine if SHARED.
16108 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16111 wide char related routines to wcsmbs subdir.
16113 2011-10-27 Andreas Schwab <schwab@redhat.com>
16116 * misc/sys/cdefs.h (__THROWNL): Define.
16117 * posix/unistd.h: Use __THREADNL instead of __THREAD
16118 for memory synchronization functions.
16120 2011-10-26 Roland McGrath <roland@hack.frob.com>
16123 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16125 * manual/stdio.texi (Obstack Streams): Node removed.
16127 2011-10-26 Andreas Schwab <schwab@redhat.com>
16129 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16130 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16131 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16133 * math/math_private.h (math_force_eval): Allow non-addressable
16135 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16137 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16139 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16140 file is not needed.
16142 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16144 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16145 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16146 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16147 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16148 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16149 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16151 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16152 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16153 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16154 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16155 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16156 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16157 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16158 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16159 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16160 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16161 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16162 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16163 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16164 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16165 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16166 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16167 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16168 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16169 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16171 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16172 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16175 place. Use VEX encoding when compiling for AVX.
16177 2011-10-25 Andreas Schwab <schwab@redhat.com>
16179 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16180 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16182 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16184 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16186 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16187 useless if() expression.
16188 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16191 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16192 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16193 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16194 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16195 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16196 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16197 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16198 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16199 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16200 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16201 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16202 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16203 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16204 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16205 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16206 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16208 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16210 2011-10-25 Andreas Schwab <schwab@redhat.com>
16212 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16214 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16216 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16218 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16219 .text section. Avoid duplicate constants.
16220 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16222 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16224 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16228 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16229 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16230 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16231 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16232 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16233 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16234 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16235 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16236 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16237 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16238 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16240 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16241 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16242 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16243 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16244 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16245 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16246 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16247 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16248 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16249 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16250 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16251 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16252 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16253 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16254 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16255 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16256 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16258 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16259 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16260 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16261 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16262 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16263 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16264 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16266 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16268 * sysdeps/x86_64/dla.h: Move to ...
16269 * sysdeps/x86_64/fpu/dla.h: ...here.
16270 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16271 situations. Use __builtin_fma only for gcc 4.6 and up.
16273 * config.make.in: Add have-mfma4 entry.
16274 * configure.in: Substitute libc_cv_cc_fma4.
16275 * math/Makefile (dbl-only-routines): Add sincostab.
16276 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16277 Use __sincostab not sincos.
16278 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16280 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16285 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16286 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16287 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16288 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16290 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16291 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16293 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16294 define aliases when function name is a macro.
16295 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16296 sysdeps/ieee754/dbl-64/sincos.tbl.
16297 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16298 fma4-enabled routines.
16299 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16300 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16301 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16302 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16303 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16304 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16305 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16306 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16307 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16308 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16309 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16310 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16311 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16312 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16313 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16314 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16315 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16316 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16317 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16319 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16320 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16321 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16322 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16323 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16324 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16325 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16326 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16327 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16328 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16330 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16333 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16337 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16338 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16341 2011-10-24 Andreas Schwab <schwab@redhat.com>
16343 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16345 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16347 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16349 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16351 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16353 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16354 Remove unused variable magic_bits.
16355 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16357 * string/strnlen.c: Define and use STRNLEN macro.
16358 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16359 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16360 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16361 * wcsmbs/wcslen.c: Define and use WCSLEN.
16362 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16363 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16364 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16365 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16366 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16367 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16368 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16370 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16373 strnlen-sse2-no-bsf.
16374 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16376 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16377 Add strnlen support.
16378 (USE_AS_STRNLEN): New macro.
16379 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16380 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16381 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16382 * sysdeps/x86_64/wcslen.S: New file.
16384 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16386 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16387 XMM-moves are used for copying on small sizes.
16389 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16391 * wcsmbs/Makefile (strop-tests): Add wcschr.
16392 * wcsmbs/test-wcschr.c: New file.
16393 * string/test-strchr.c: Update.
16394 Add wcschr support.
16397 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16399 * wcsmbs/Makefile (strop-tests): Add wcslen.
16400 * wcsmbs/test-wcslen.c: New file.
16401 * string/test-strlen.c: Update.
16402 Add wcslen support.
16405 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16407 * po/it.po: Update from translation team.
16409 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16411 * sysdeps/x86_64/wcscmp.S: Update.
16412 Fix wrong comparison semantics.
16413 wcscmp shall use signed comparison not unsigned.
16414 Don't use substraction to avoid overflow bug.
16415 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16416 * wcsmbc/wcscmp.c: Likewise.
16417 * string/test-strcmp.c: Likewise.
16418 Add new tests to check cases with negative values.
16420 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16422 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16423 * sysdeps/x86_64/dla.h: ...here. New file.
16424 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16429 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16431 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16432 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16434 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16437 __ynl_finite aliases.
16439 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16443 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16445 [DLA_FMA] (EMULV): Use DLA_FMA.
16446 [DLA_FMA] (MUL12): Use EMULV.
16447 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16448 that are not needed.
16449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16457 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16459 * math/s_nan.c: Undef __nan.
16460 * math/s_nanf.c: Undef __nanf.
16461 * math/s_nanl.c: Undef __nanl.
16462 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16465 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16467 * math/s_catan.c: Add branch predictions.
16468 * math/s_catanf.c: Likewise.
16469 * math/s_catanh.c: Likewise.
16470 * math/s_catanhf.c: Likewise.
16471 * math/s_catanhl.c: Likewise.
16472 * math/s_catanl.c: Likewise.
16473 * math/s_cexp.c: Likewise.
16474 * math/s_cexpf.c: Likewise.
16475 * math/s_cexpl.c: Likewise.
16476 * math/s_clog.c: Likewise.
16477 * math/s_clog10.c: Likewise.
16478 * math/s_clog10f.c: Likewise.
16479 * math/s_clog10l.c: Likewise.
16480 * math/s_clogf.c: Likewise.
16481 * math/s_clogl.c: Likewise.
16482 * math/s_csqrt.c: Likewise.
16483 * math/s_csqrtf.c: Likewise.
16484 * math/s_csqrtl.c: Likewise.
16485 * math/s_ctanf.c: Likewise.
16486 * math/s_ctanh.c: Likewise.
16487 * math/s_ctanhf.c: Likewise.
16488 * math/s_ctanhl.c: Likewise.
16489 * math/s_ctanl.c: Likewise.
16491 * math/math_private.h: Define __nan, __nanf, __nanl.
16492 * math/s_cacosh.c: Include <math_private.h>.
16493 * math/s_cacoshl.c: Likewise.
16494 * math/s_casinh.c: Likewise.
16495 * math/s_casinhf.c: Likewise.
16496 * math/s_casinhl.c: Likewise.
16497 * math/s_ccos.c: Rely entire on ccosh.
16498 * math/s_ccosf.c: Rely entire on ccoshf.
16499 * math/s_ccosl.c: Rely entirely on ccoshl.
16500 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16501 Remove tests for FE_INVALID.
16502 * math/s_ccoshf.c: Likewise.
16503 * math/s_ccoshl.c: Likewise.
16504 * math/s_csin.c: Likewise.
16505 * math/s_csinf.c: Likewise.
16506 * math/s_csinh.c Likewise.
16507 * math/s_csinhf.c: Likewise.
16508 * math/s_csinhl.c: Likewise.
16509 * math/s_csinl.c: Likewise.
16510 * math/s_ctan.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16512 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16513 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16515 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16518 compilation problems.
16520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16523 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16525 * sysdeps/i386/configure.in: Test for -mfma4 option.
16526 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16527 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16528 COMMON_CPUID_INDEX_80000001.
16529 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16530 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16531 use it if FMA3 is not supported.
16532 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16534 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16535 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16537 2011-10-20 Andreas Schwab <schwab@redhat.com>
16540 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16541 it would create a cycle with a link time dependency.
16543 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16545 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16547 * string/Makefile (strop-tests): Add rawmemchr.
16548 * string/test-rawmemchr.c: New file.
16550 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16552 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16553 when compiling str{,n}casecmp and when AVX is available. Hook up
16554 new optimized code in initializers.
16556 2011-10-19 Andreas Schwab <schwab@redhat.com>
16558 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16559 __feraiseexcept instead of feraiseexcept.
16561 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16563 * math/math_private.h: Define defaults for libc_fetestexcept and
16565 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16566 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16567 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16568 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16569 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16570 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16571 libc_fetestexcept and libc_feupdateenv.
16573 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16574 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16575 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16576 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16577 libc_feholdexcept_setround.
16579 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16580 Add s_nearbyint-c and s_nearbyintf-c.
16581 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16582 nearbyintf inlines.
16583 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16584 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16585 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16586 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16588 * math/math_private.h: Define defaults for libc_fegetround,
16589 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16590 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16591 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16592 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16593 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16594 standard functions.
16595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16596 Remove comments and hacks for old compiler versions.
16597 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16598 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16599 libc_feholdexceptl.
16601 2011-10-18 Andreas Schwab <schwab@redhat.com>
16603 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16604 (__feraiseexcept_renamed): Add __NTH.
16605 (feraiseexcept): Add __NTH. Rename local variables to fix
16606 namespace violations.
16608 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16610 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16612 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16614 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16615 recently added interfaces.
16616 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16618 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16619 about macro parameter expansion.
16621 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16622 __NO_MATH_INLINES is defined. Cleanups.
16624 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16625 and __floorf is target has SSE4.1.
16626 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16627 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16628 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16629 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16631 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16633 (floorf): Likewise.
16635 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16637 2011-10-17 Andreas Schwab <schwab@redhat.com>
16639 * misc/sys/cdefs.h: Fix last change.
16641 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16644 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16646 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16648 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16649 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16654 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16657 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16658 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16659 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16660 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16661 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16662 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16663 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16664 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16665 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16666 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16667 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16668 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16669 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16671 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16672 ceil, ceilf, floor, floorf.
16674 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16675 Perform IRELATIVE relocations last.
16677 * elf/do-rel.h: Add another parameter nrelative, replacing the
16678 local variable with the same name. Change name of the function
16679 to end in Rel or Rela (uppercase).
16680 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16681 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16682 elf_dynamic_do_##reloc function.
16684 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16686 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16687 is sufficient, at least on modern CPUs.
16689 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16691 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16692 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16694 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16696 * math/bits/math-finite.h: Add entries for exp.
16697 * math/e_expl.c: Add __*_finite alias.
16698 * sysdeps/i386/fpu/e_exp.S: Likewise.
16699 * sysdeps/i386/fpu/e_expf.S: Likewise.
16700 * sysdeps/i386/fpu/e_expl.c: Likewise.
16701 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16702 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16705 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16706 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16707 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16709 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16710 is sufficient, at least on modern CPUs.
16712 * ctype/ctype-info.c (__ctype_init): Define.
16713 * include/ctype.h (__ctype_init): Declare.
16714 (__ctype_b_loc): The variable is always initialized.
16715 (__ctype_toupper_loc): Likewise.
16716 (__ctype_tolower_loc): Likewise.
16717 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16718 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16720 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16722 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16724 * configure.in: Also look in $cxxmachine/include for C++ system
16727 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16729 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16730 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16731 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16732 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16733 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16734 (USE_AS_WMEMCMP): New macro.
16736 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16737 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16738 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16739 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16741 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16742 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16743 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16744 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16745 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16746 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16747 (USE_AS_WMEMCMP): New macro.
16748 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16749 * sysdeps/string/test-memcmp.c: Update.
16750 Fix simple_wmemcmp.
16752 * wcsmbs/wmemcmp.c: Update.
16753 (WMEMCMP): New macro.
16756 2011-10-12 Andreas Jaeger <aj@suse.de>
16759 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16761 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16763 * libio/iofwide.c (do_length): Avoid warning.
16765 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16767 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16769 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16771 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16772 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16773 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16774 * sysdeps/i386/i686/fpu/e_log.S: New file.
16775 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16776 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16778 * ctype/ctype.h: Add support for inlined isXXX functions when
16779 compiling C++ code.
16781 2011-10-14 Andreas Schwab <schwab@redhat.com>
16783 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16785 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16787 2011-10-13 Roland McGrath <roland@hack.frob.com>
16790 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16792 2011-10-13 Andreas Schwab <schwab@redhat.com>
16794 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16795 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16798 * sysdeps/x86_64/memrchr.S: Check for zero size.
16800 * string/stratcliff.c: Add memrchr tests.
16802 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16805 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16806 rawmemchr-sse2 rawmemchr-sse2-bsf.
16807 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16808 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16809 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16810 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16811 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16812 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16813 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16814 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16815 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16816 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16817 * string/memrchr.c (MEMRCHR): New macro.
16819 2011-10-12 Ulrich Drepper <drepper@gmail.com>
16821 Add integration with gcc's -ffinite-math-only and optimize wrapper
16823 * Versions.def: Define GLIBC_2.15 version for libm.
16824 * math/Makefile (headers): Add bits/math-finite.h.
16825 * math/bits/math-finite.h: New file.
16826 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16827 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16828 * math/e_acoshl.c: Add __*_finite alias.
16829 * math/e_acosl.c: Likewise.
16830 * math/e_asinl.c: Likewise.
16831 * math/e_atan2l.c: Likewise.
16832 * math/e_atanhl.c: Likewise.
16833 * math/e_coshl.c: Likewise.
16834 * math/e_exp10.c: Likewise.
16835 * math/e_exp10f.c: Likewise.
16836 * math/e_exp10l.c: Likewise.
16837 * math/e_exp2l.c: Likewise.
16838 * math/e_fmodl.c: Likewise.
16839 * math/e_gammal_r.c: Likewise.
16840 * math/e_hypotl.c: Likewise.
16841 * math/e_j0l.c: Likewise.
16842 * math/e_j1l.c: Likewise.
16843 * math/e_jnl.c: Likewise.
16844 * math/e_lgammal_r.c: Likewise.
16845 * math/e_log10l.c: Likewise.
16846 * math/e_log2l.c: Likewise.
16847 * math/e_logl.c: Likewise.
16848 * math/e_powl.c: Likewise.
16849 * math/e_sinhl.c: Likewise.
16850 * math/e_sqrtl.c: Likewise.
16851 * math/e_scalb.c: Completely rewritten and optimized.
16852 * math/e_scalbf.c: Likewise.
16853 * math/e_scalbl.c: Likewise.
16854 * math/w_acos.c: Likewise.
16855 * math/w_acosf.c: Likewise.
16856 * math/w_acosl.c: Likewise.
16857 * math/w_acosh.c: Likewise.
16858 * math/w_acoshf.c: Likewise.
16859 * math/w_acoshl.c: Likewise.
16860 * math/w_asin.c: Likewise.
16861 * math/w_asinf.c: Likewise.
16862 * math/w_asinl.c: Likewise.
16863 * math/w_atan2.c: Likewise.
16864 * math/w_atan2f.c: Likewise.
16865 * math/w_atan2l.c: Likewise.
16866 * math/w_atanh.c: Likewise.
16867 * math/w_atanhf.c: Likewise.
16868 * math/w_atanhl.c: Likewise.
16869 * math/w_exp10.c: Likewise.
16870 * math/w_exp10f.c: Likewise.
16871 * math/w_exp10l.c: Likewise.
16872 * math/w_fmod.c: Likewise.
16873 * math/w_fmodf.c: Likewise.
16874 * math/w_fmodl.c: Likewise.
16875 * math/w_j0.c: Likewise.
16876 * math/w_j0f.c: Likewise.
16877 * math/w_j0l.c: Likewise.
16878 * math/w_j1.c: Likewise.
16879 * math/w_j1f.c: Likewise.
16880 * math/w_j1l.c: Likewise.
16881 * math/w_jn.c: Likewise.
16882 * math/w_jnf.c: Likewise.
16883 * math/w_log.c: Likewise.
16884 * math/w_logf.c: Likewise.
16885 * math/w_logl.c: Likewise.
16886 * math/w_log10.c: Likewise.
16887 * math/w_log10f.c: Likewise.
16888 * math/w_log10l.c: Likewise.
16889 * math/w_log2.c: Likewise.
16890 * math/w_log2f.c: Likewise.
16891 * math/w_log2l.c: Likewise.
16892 * math/w_pow.c: Likewise.
16893 * math/w_powf.c: Likewise.
16894 * math/w_powl.c: Likewise.
16895 * math/w_remainder.c: Likewise.
16896 * math/w_remainderf.c: Likewise.
16897 * math/w_remainderl.c: Likewise.
16898 * math/w_scalb.c: Likewise.
16899 * math/w_scalbf.c: Likewise.
16900 * math/w_scalbl.c: Likewise.
16901 * math/w_sqrt.c: Likewise.
16902 * math/w_sqrtf.c: Likewise.
16903 * math/w_sqrtl.c: Likewise.
16904 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16905 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16907 * math/math_private.h: Declare __kernel_standard_f.
16908 * math/w_cosh.c: Remove cruft and optimize a bit.
16909 * math/w_coshf.c: Likewise.
16910 * math/w_coshl.c: Likewise.
16911 * math/w_exp2.c: Likewise.
16912 * math/w_exp2f.c: Likewise.
16913 * math/w_exp2l.c: Likewise.
16914 * math/w_hypot.c: Likewise.
16915 * math/w_hypotf.c: Likewise.
16916 * math/w_hypotl.c: Likewise.
16917 * math/w_lgamma.c: Likewise.
16918 * math/w_lgamma_r.c: Likewise.
16919 * math/w_lgammaf.c: Likewise.
16920 * math/w_lgammaf_r.c: Likewise.
16921 * math/w_lgammal.c: Likewise.
16922 * math/w_lgammal_r.c: Likewise.
16923 * math/w_sinh.c: Likewise.
16924 * math/w_sinhf.c: Likewise.
16925 * math/w_sinhl.c: Likewise.
16926 * math/w_tgamma.c: Likewise.
16927 * math/w_tgammaf.c: Likewise.
16928 * math/w_tgammal.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16930 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16931 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16932 Minor optimizations. Pretty printing. Remove cruft.
16933 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16934 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16935 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16936 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16937 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16938 * sysdeps/i386/fpu/e_asin.S: Likewise.
16939 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16940 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16941 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16942 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16943 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16944 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16945 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16946 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16947 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16948 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16949 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16950 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16951 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16952 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16953 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16954 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16955 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16956 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16957 * sysdeps/i386/fpu/e_log.S: Likewise.
16958 * sysdeps/i386/fpu/e_log10.S: Likewise.
16959 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16960 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16961 * sysdeps/i386/fpu/e_log2.S: Likewise.
16962 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16963 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16964 * sysdeps/i386/fpu/e_logf.S: Likewise.
16965 * sysdeps/i386/fpu/e_logl.S: Likewise.
16966 * sysdeps/i386/fpu/e_pow.S: Likewise.
16967 * sysdeps/i386/fpu/e_powf.S: Likewise.
16968 * sysdeps/i386/fpu/e_powl.S: Likewise.
16969 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16970 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16971 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16972 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16973 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16974 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16975 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16976 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16977 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16978 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16979 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16981 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16987 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16989 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16999 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17000 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17001 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17002 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17003 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17004 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17005 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17006 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17007 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17008 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17009 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17010 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17012 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17013 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17014 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17015 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17016 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17017 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17018 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17019 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17058 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17066 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17069 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17070 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17071 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17072 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17073 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17074 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17075 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17076 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17077 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17078 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17079 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17080 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17081 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17082 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17083 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17084 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17085 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17086 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17087 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17088 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17089 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17090 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17091 (__isnanf): Likewise.
17092 (__isinf_ns): Likewise.
17093 (__isinf_nsf): Likewise.
17094 (__finite): Likewise.
17095 (__finitef): Likewise.
17096 (__ieee754_sqrt): Define as macro.
17097 (__ieee754_sqrtf): Define as macro.
17098 (__ieee754_sqrtl): Define as macro.
17099 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17101 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17102 __FINITE_MATH_ONLY__ consistent.
17103 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17105 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17107 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17110 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17112 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17114 * po/ja.po: Update from translation team.
17116 2011-10-08 Roland McGrath <roland@hack.frob.com>
17118 * locale/programs/locarchive.c (prepare_address_space): New function.
17119 (create_archive, enlarge_archive, open_archive): Use it.
17121 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17122 inside [SHARED], where it is used.
17124 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17126 * nss/getent.c (netgroup_keys): Remove unused variable.
17127 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17129 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17131 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17132 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17133 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17134 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17135 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17136 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17137 * math/Makefile (libm-calls): Add s_isinf_ns.
17138 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17139 * math/multc3.c: Likewise.
17140 * math/s_casin.c: Likewise.
17141 * math/s_casinf.c: Likewise.
17142 * math/s_casinl.c: Likewise.
17143 * math/s_ccos.c: Likewise.
17144 * math/s_ccosf.c: Likewise.
17145 * math/s_ccosl.c: Likewise.
17146 * math/s_ctan.c: Likewise.
17147 * math/s_ctanf.c: Likewise.
17148 * math/s_ctanh.c: Likewise.
17149 * math/s_ctanhf.c: Likewise.
17150 * math/s_ctanhl.c: Likewise.
17151 * math/s_ctanl.c: Likewise.
17152 * math/w_fmod.c: Likewise.
17153 * math/w_fmodf.c: Likewise.
17154 * math/w_fmodl.c: Likewise.
17155 * math/w_remainder.c: Likewise.
17156 * math/w_remainderf.c: Likewise.
17157 * math/w_remainderl.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17159 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17160 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17161 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17162 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17163 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17164 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17165 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17167 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17169 * stdio-common/printf_fphex.c: Likewise.
17170 * stdio-common/printf_size.c: Likewise.
17172 * math/e_exp10.c: Include math_private.h using <...> not "...".
17173 * math/e_exp10f.c: Likewise.
17174 * math/e_exp10l.c: Likewise.
17175 * math/e_exp2l.c: Likewise.
17176 * math/e_j0l.c: Likewise.
17177 * math/e_j1l.c: Likewise.
17178 * math/e_jnl.c: Likewise.
17179 * math/e_lgammal_r.c: Likewise.
17180 * math/e_rem_pio2l.c: Likewise.
17181 * math/e_scalb.c: Likewise.
17182 * math/e_scalbf.c: Likewise.
17183 * math/e_scalbl.c: Likewise.
17184 * math/k_cosl.c: Likewise.
17185 * math/k_sinl.c: Likewise.
17186 * math/k_tanl.c: Likewise.
17187 * math/s_cacoshf.c: Likewise.
17188 * math/s_catan.c: Likewise.
17189 * math/s_catanf.c: Likewise.
17190 * math/s_catanh.c: Likewise.
17191 * math/s_catanhf.c: Likewise.
17192 * math/s_catanhl.c: Likewise.
17193 * math/s_catanl.c: Likewise.
17194 * math/s_ccosh.c: Likewise.
17195 * math/s_ccoshf.c: Likewise.
17196 * math/s_ccoshl.c: Likewise.
17197 * math/s_cexp.c: Likewise.
17198 * math/s_cexpf.c: Likewise.
17199 * math/s_cexpl.c: Likewise.
17200 * math/s_clog.c: Likewise.
17201 * math/s_clog10.c: Likewise.
17202 * math/s_clog10f.c: Likewise.
17203 * math/s_clog10l.c: Likewise.
17204 * math/s_clogf.c: Likewise.
17205 * math/s_clogl.c: Likewise.
17206 * math/s_csin.c: Likewise.
17207 * math/s_csinf.c: Likewise.
17208 * math/s_csinh.c: Likewise.
17209 * math/s_csinhf.c: Likewise.
17210 * math/s_csinhl.c: Likewise.
17211 * math/s_csinl.c: Likewise.
17212 * math/s_csqrt.c: Likewise.
17213 * math/s_csqrtf.c: Likewise.
17214 * math/s_csqrtl.c: Likewise.
17215 * math/s_ctan.c: Likewise.
17216 * math/s_ctanf.c: Likewise.
17217 * math/s_ctanh.c: Likewise.
17218 * math/s_ctanhf.c: Likewise.
17219 * math/s_ctanhl.c: Likewise.
17220 * math/s_ctanl.c: Likewise.
17221 * math/s_ldexp.c: Likewise.
17222 * math/s_ldexpf.c: Likewise.
17223 * math/s_ldexpl.c: Likewise.
17224 * math/s_significand.c: Likewise.
17225 * math/s_significandf.c: Likewise.
17226 * math/s_significandl.c: Likewise.
17227 * math/w_acos.c: Likewise.
17228 * math/w_acosf.c: Likewise.
17229 * math/w_acosh.c: Likewise.
17230 * math/w_acoshf.c: Likewise.
17231 * math/w_acoshl.c: Likewise.
17232 * math/w_acosl.c: Likewise.
17233 * math/w_asin.c: Likewise.
17234 * math/w_asinf.c: Likewise.
17235 * math/w_asinl.c: Likewise.
17236 * math/w_atan2.c: Likewise.
17237 * math/w_atan2f.c: Likewise.
17238 * math/w_atan2l.c: Likewise.
17239 * math/w_atanh.c: Likewise.
17240 * math/w_atanhf.c: Likewise.
17241 * math/w_atanhl.c: Likewise.
17242 * math/w_cosh.c: Likewise.
17243 * math/w_coshf.c: Likewise.
17244 * math/w_coshl.c: Likewise.
17245 * math/w_dremf.c: Likewise.
17246 * math/w_exp10.c: Likewise.
17247 * math/w_exp10f.c: Likewise.
17248 * math/w_exp10l.c: Likewise.
17249 * math/w_exp2.c: Likewise.
17250 * math/w_exp2f.c: Likewise.
17251 * math/w_fmod.c: Likewise.
17252 * math/w_fmodf.c: Likewise.
17253 * math/w_fmodl.c: Likewise.
17254 * math/w_hypot.c: Likewise.
17255 * math/w_hypotf.c: Likewise.
17256 * math/w_hypotl.c: Likewise.
17257 * math/w_j0.c: Likewise.
17258 * math/w_j0f.c: Likewise.
17259 * math/w_j0l.c: Likewise.
17260 * math/w_j1.c: Likewise.
17261 * math/w_j1f.c: Likewise.
17262 * math/w_j1l.c: Likewise.
17263 * math/w_jn.c: Likewise.
17264 * math/w_jnf.c: Likewise.
17265 * math/w_jnl.c: Likewise.
17266 * math/w_lgamma.c: Likewise.
17267 * math/w_lgamma_r.c: Likewise.
17268 * math/w_lgammaf.c: Likewise.
17269 * math/w_lgammaf_r.c: Likewise.
17270 * math/w_lgammal.c: Likewise.
17271 * math/w_lgammal_r.c: Likewise.
17272 * math/w_log.c: Likewise.
17273 * math/w_log10.c: Likewise.
17274 * math/w_log10f.c: Likewise.
17275 * math/w_log10l.c: Likewise.
17276 * math/w_log2.c: Likewise.
17277 * math/w_log2f.c: Likewise.
17278 * math/w_log2l.c: Likewise.
17279 * math/w_logf.c: Likewise.
17280 * math/w_logl.c: Likewise.
17281 * math/w_pow.c: Likewise.
17282 * math/w_powf.c: Likewise.
17283 * math/w_powl.c: Likewise.
17284 * math/w_remainder.c: Likewise.
17285 * math/w_remainderf.c: Likewise.
17286 * math/w_remainderl.c: Likewise.
17287 * math/w_scalb.c: Likewise.
17288 * math/w_scalbf.c: Likewise.
17289 * math/w_scalbl.c: Likewise.
17290 * math/w_sinh.c: Likewise.
17291 * math/w_sinhf.c: Likewise.
17292 * math/w_sinhl.c: Likewise.
17293 * math/w_sqrt.c: Likewise.
17294 * math/w_sqrtf.c: Likewise.
17295 * math/w_sqrtl.c: Likewise.
17296 * math/w_tgamma.c: Likewise.
17297 * math/w_tgammaf.c: Likewise.
17298 * math/w_tgammal.c: Likewise.
17300 * po/ja.po: Update from translation team.
17302 2011-09-29 Andreas Jaeger <aj@suse.de>
17305 * sunrpc/netname.c (netname2host): Fix logic.
17309 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17311 * math/w_remainder.c (__remainder): Likewise.
17312 * math/w_remainderf.c (__remainderf): Likewise.
17313 * math/libm-test.inc (remainder_test): Add test cases.
17315 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17317 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17320 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17322 * string/test-memcmp.c: Avoid unncessary #defines.
17323 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17325 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17327 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17328 Use new sse2 version for core i3 - i7 as it's faster
17329 than sse42 version.
17330 (bit_Prefer_PMINUB_for_stringop): New.
17331 * sysdeps/x86_64/rawmemchr.S: Update.
17332 Replace with faster SSE2 version.
17333 * sysdeps/x86_64/memrchr.S: New file.
17334 * sysdeps/x86_64/memchr.S: Update.
17335 Replace with faster SSE2 version.
17337 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17339 * elf/dl-load.c (lose): Add cast to avoid warning.
17341 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17343 * po/ca.po: Update from translation team.
17345 * inet/getnetgrent_r.c: Hook up nscd.
17346 * nscd/Makefile (routines): Add nscd_netgroup.
17347 (nscd-modules): Add netgroupcache.
17348 (CFLAGS-netgroupcache.c): Define.
17349 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17350 (cache_search): Add const to second parameter.
17351 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17353 (dbs): Add netgrdb entry.
17354 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17355 (verify_persistent_db): Handle netgrdb.
17356 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17357 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17359 (netgroup_response_header): Define.
17360 (innetgroup_response_header): Define.
17361 (datahead): Add netgroup_response_header and innetgroup_response_header
17363 * nscd/nscd.conf: Add entries for netgroup cache.
17364 * nscd/nscd.h (dbtype): Add netgrdb.
17365 (_PATH_NSCD_NETGROUP_DB): Define.
17366 (netgroup_iov_disabled): Declare.
17367 (xmalloc, xcalloc, xrealloc): Move declarations here.
17368 (cache_search): Adjust prototype.
17369 Add netgroup-related prototypes.
17370 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17371 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17372 (__nscd_innetgr): Declare.
17373 * nscd/selinux.c (perms): Use access_vector_t as element type and
17374 add netgroup-related initializers.
17375 * nscd/netgroupcache.c: New file.
17376 * nscd/nscd_netgroup.c: New file.
17377 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17378 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17379 For four parameters use innetgr.
17380 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17381 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17382 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17383 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17385 * nscd/connections.c (register_traced_file): Don't register file
17386 for disabled databases.
17388 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17390 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17392 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17393 from tree and freeing node.
17395 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17397 * nss/nsswitch.c (__nss_database_lookup): Handle
17398 nss_parse_service_list out of memory case.
17400 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17402 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17403 out of memory case.
17405 2011-10-04 Andreas Schwab <schwab@redhat.com>
17407 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17408 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17410 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17411 elf_machine_rela, elf_machine_lazy_rel.
17412 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17413 (ELF_DYNAMIC_DO_REL): Likewise.
17414 (ELF_DYNAMIC_DO_RELA): Likewise.
17415 (ELF_DYNAMIC_RELOCATE): Likewise.
17416 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17417 to ELF_DYNAMIC_DO_REL.
17418 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17419 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17420 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17422 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17423 skip_ifunc, don't call ifunc function if non-zero.
17424 (elf_machine_rela): Likewise.
17425 (elf_machine_lazy_rel): Likewise.
17426 (elf_machine_lazy_rela): Likewise.
17427 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17428 (elf_machine_lazy_rel): Likewise.
17429 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17431 (elf_machine_lazy_rel): Likewise.
17432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17434 (elf_machine_lazy_rel): Likewise.
17435 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17436 (elf_machine_lazy_rel): Likewise.
17437 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17438 (elf_machine_lazy_rel): Likewise.
17439 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17440 (elf_machine_lazy_rel): Likewise.
17441 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17442 (elf_machine_lazy_rel): Likewise.
17443 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17444 (elf_machine_lazy_rel): Likewise.
17445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17446 (elf_machine_lazy_rel): Likewise.
17448 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17450 * nss/nss_files/files-init.c (_nss_files_init): Use static
17451 initialization for all the *_traced_file variables.
17453 2011-09-28 Andreas Schwab <schwab@redhat.com>
17455 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17457 2011-09-27 Roland McGrath <roland@hack.frob.com>
17460 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17462 2011-09-27 Andreas Schwab <schwab@redhat.com>
17464 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17465 Reread the line before reparsing it.
17467 2011-09-26 Andreas Schwab <schwab@redhat.com>
17469 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17471 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17472 Maxim Kuvyrkov <maxim@codesourcery.com>
17473 Joseph Myers <joseph@codesourcery.com>
17475 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17476 if needed for __stack_chk_guard.
17478 2011-09-19 Roland McGrath <roland@hack.frob.com>
17480 * sysdeps/posix/spawni.c (script_execute): Always define it.
17481 It will be optimized away if unused.
17482 (maybe_script_execute): New function.
17483 (__spawni): Call it.
17485 * Makerules: Don't include tls.make.
17486 (config-tls): Always set to thread.
17487 * tls.make.c: File removed.
17489 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17491 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17492 * config.make.in (CPPFLAGS-config): New substituted variable.
17494 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17496 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17499 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17500 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17502 2011-09-15 Roland McGrath <roland@hack.frob.com>
17504 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17505 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17506 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17507 (CALL_FAIL): Likewise.
17508 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17509 (CALL_FAIL): Macro removed.
17510 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17512 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17514 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17515 for __FINITE_MATH_ONLY__ == 1.
17517 2011-09-15 Andreas Schwab <schwab@redhat.com>
17519 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17520 __ieee754_sqrt instead of sqrt.
17521 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17522 __ieee754_sqrtf instead of sqrtf.
17523 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17524 __floorf instead of floorf.
17525 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17526 __floorf, __truncf instead of floorf, truncf.
17528 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17530 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17532 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17533 __extern_always_inline.
17534 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17537 2011-09-14 Andreas Schwab <schwab@redhat.com>
17539 * elf/rtld.c (dl_main): Also relocate in dependency order when
17540 doing symbol dependency testing.
17542 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17545 Always define `refsym'.
17547 2011-09-13 Andreas Schwab <schwab@redhat.com>
17549 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17550 (__FD_ELT): Renamed from __FDELT.
17551 * misc/bits/select2.h (__FD_ELT): Likewise.
17552 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17553 __FD_MASK instead of __FDELT, __FDMASK.
17554 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17556 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17559 * elf/Makefile (gen-ldd): Fix pattern.
17561 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17562 (init_tls): Likewise.
17564 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17568 2011-09-12 Andreas Schwab <schwab@redhat.com>
17570 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17571 `struct cmsghdr *' instead of `void *'.
17572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17575 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17577 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17579 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17580 ldd_rewrite_script.
17582 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17584 * configure.in: Remove --with-tls option.
17585 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17586 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17587 out in case it is missing.
17588 * sysdeps/ia64/elf/configure.in: Likewise.
17589 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17590 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17591 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17592 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17593 * sysdeps/sh/elf/configure.in: Likewise.
17594 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17595 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17596 * sysdeps/x86_64/elf/configure.in: Likewise.
17597 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17598 * sysdeps/mach/hurd/tls.h: Likewise.
17601 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17604 * configure.in: Fix use of AC_INIT.
17606 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17608 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17610 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17612 * malloc/hooks.c: Likewise.
17615 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17616 variables statically.
17617 (narenas): Initialize.
17618 (list_lock): Initialize.
17619 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17620 initializtion of main_arena and list_lock. Small cleanups.
17621 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17622 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17623 Add initializers to main_arena and mp_.
17624 (malloc_state): Remove pagesize member. Change all users to use
17627 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17628 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17629 is always initialized.
17631 * malloc/malloc.c: Removed unused configurations and dead code.
17632 * malloc/arena.c: Likewise.
17633 * malloc/hooks.c: Likewise.
17634 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17636 * include/tls.h: Removed. USE___THREAD must always be defined.
17637 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17638 * elf/dl-libc.c: Likewise.
17639 * elf/dl-tsd.c: Likewise.
17640 * include/errno.h: Likewise.
17641 * include/netdb.h: Likewise.
17642 * include/resolv.h: Likewise.
17643 * inet/herrno-loc.c: Likewise.
17644 * inet/herrno.c: Likewise.
17645 * malloc/arena.c: Likewise.
17646 * malloc/hooks.c: Likewise.
17647 * malloc/malloc.c: Likewise.
17648 * resolv/res-state.c: Likewise.
17649 * resolv/res_libc.c: Likewise.
17650 * sysdeps/i386/dl-machine.h: Likewise.
17651 * sysdeps/ia64/dl-machine.h: Likewise.
17652 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17653 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17654 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17655 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17656 * sysdeps/sh/dl-machine.h: Likewise.
17657 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17658 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17659 * sysdeps/unix/i386/sysdep.S: Likewise.
17660 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17661 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17665 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17666 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17670 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17671 * sysdeps/x86_64/dl-machine.h: Likewise.
17672 * tls.make.c: Likewise.
17674 * configure.in: Remove --with-__thread option. Make tests for
17675 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17676 tls_model attribute fail if no support is available. Remove
17678 * Makeconfig: Adjust for dropped configure option. All features are
17680 * Makerules: Likewise.
17681 * Versions.def: Likewise.
17682 * argp/argp-fmtstream.c: Likewise.
17683 * argp/argp-fmtstream.h: Likewise.
17684 * argp/argp-help.c: Likewise.
17685 * assert/assert.c: Likewise.
17686 * config.h.in: Likewise.
17687 * config.make.in: Likewise.
17688 * configure: Likewise.
17689 * configure.in: Likewise.
17690 * csu/Versions: Likewise.
17691 * csu/init.c: Likewise.
17692 * elf/tst-audit2.c: Likewise.
17693 * elf/tst-tls10.c: Likewise.
17694 * elf/tst-tls10.h: Likewise.
17695 * elf/tst-tls11.c: Likewise.
17696 * elf/tst-tls12.c: Likewise.
17697 * elf/tst-tls14.c: Likewise.
17698 * elf/tst-tlsmod11.c: Likewise.
17699 * elf/tst-tlsmod12.c: Likewise.
17700 * elf/tst-tlsmod13.c: Likewise.
17701 * elf/tst-tlsmod13a.c: Likewise.
17702 * elf/tst-tlsmod14a.c: Likewise.
17703 * elf/tst-tlsmod15b.c: Likewise.
17704 * elf/tst-tlsmod16a.c: Likewise.
17705 * elf/tst-tlsmod16b.c: Likewise.
17706 * elf/tst-tlsmod7.c: Likewise.
17707 * elf/tst-tlsmod8.c: Likewise.
17708 * elf/tst-tlsmod9.c: Likewise.
17709 * gmon/gmon.c: Likewise.
17710 * grp/fgetgrent_r.c: Likewise.
17711 * grp/putgrent.c: Likewise.
17712 * hurd/fopenport.c: Likewise.
17713 * include/libc-symbols.h: Likewise.
17714 * include/tls.h: Likewise.
17715 * intl/gettextP.h: Likewise.
17716 * intl/loadinfo.h: Likewise.
17717 * locale/global-locale.c: Likewise.
17718 * locale/localeinfo.h: Likewise.
17719 * mach/devstream.c: Likewise.
17720 * malloc/arena.c: Likewise.
17721 * malloc/set-freeres.c: Likewise.
17722 * misc/err.c: Likewise.
17723 * misc/getttyent.c: Likewise.
17724 * misc/mntent_r.c: Likewise.
17725 * posix/getopt.c: Likewise.
17726 * posix/wordexp.c: Likewise.
17727 * pwd/fgetpwent_r.c: Likewise.
17728 * resolv/Versions: Likewise.
17729 * resolv/res_hconf.c: Likewise.
17730 * shadow/fgetspent_r.c: Likewise.
17731 * shadow/putspent.c: Likewise.
17732 * stdio-common/printf_fphex.c: Likewise.
17733 * stdio-common/tmpfile.c: Likewise.
17734 * stdlib/abort.c: Likewise.
17735 * stdlib/fmtmsg.c: Likewise.
17736 * sunrpc/auth_unix.c: Likewise.
17737 * sunrpc/clnt_perr.c: Likewise.
17738 * sunrpc/clnt_tcp.c: Likewise.
17739 * sunrpc/clnt_udp.c: Likewise.
17740 * sunrpc/clnt_unix.c: Likewise.
17741 * sunrpc/openchild.c: Likewise.
17742 * sunrpc/svc_simple.c: Likewise.
17743 * sunrpc/svc_tcp.c: Likewise.
17744 * sunrpc/svc_udp.c: Likewise.
17745 * sunrpc/svc_unix.c: Likewise.
17746 * sunrpc/xdr.c: Likewise.
17747 * sunrpc/xdr_array.c: Likewise.
17748 * sunrpc/xdr_rec.c: Likewise.
17749 * sunrpc/xdr_ref.c: Likewise.
17750 * sunrpc/xdr_stdio.c: Likewise.
17752 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17754 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17756 2011-07-03 Andreas Jaeger <aj@suse.de>
17758 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17759 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17760 regenerate with gen-libm-tests.pl.
17762 2010-05-12 Petr Baudis <pasky@suse.cz>
17765 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17766 around j0() zero points by switching to j1().
17767 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17772 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17774 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17776 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17779 Patch in part by Pavel Roskin <proski@gnu.org>.
17782 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17784 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17785 Free memory block if necessary.
17788 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17789 be NULL. Don't lock in this case.
17791 2011-09-09 Roland McGrath <roland@hack.frob.com>
17793 * elf/elf.h (ELFOSABI_GNU): New macro.
17794 (ELFOSABI_LINUX): Define to that.
17796 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17798 * string/strncat.c (strncat): Undef the symbol in case it has been
17799 defined in bits/string.h.
17801 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17803 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17805 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17808 2011-08-17 Andreas Jaeger <aj@suse.de>
17810 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17812 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17813 Ian Lance Taylor <iant@google.com>
17815 * math/libm-test.inc (lround_test): New testcase.
17816 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17818 2011-09-08 Ulrich Drepper <drepper@gmail.com>
17820 * Makefile: Remove support for automatic cvs check-ins.
17821 * Makerules: Likewise.
17822 * config.make.in: Likewise.
17823 * configure.in: Likewise.
17824 * intl/Makefile: Likewise.
17825 * locale/Makefile: Likewise.
17826 * po/Makefile: Likewise.
17827 * posix/Makefile: Likewise.
17828 * sysdeps/gnu/Makefile: Likewise.
17829 * sysdeps/mach/hurd/Makefile: Likewise.
17830 * sysdeps/sparc/sparc32/Makefile: Likewise.
17833 * posix/Makefile (bug-regex32-ENV): Define.
17834 Patch by John Stanley <jpsinthemix@verizon.net>.
17836 * misc/Makefile (headers): Add bits/select2.h.
17837 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17838 * misc/bits/select2.h: New file.
17839 * include/bits/select2.h: New file.
17840 * debug/Makefile (routines): Add fdelt_chk.
17841 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17842 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17844 * debug/fdelt_chk.c: New file.
17846 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17847 * wcsmbs/test-wmemcmp.c: Likewise.
17848 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
17849 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
17851 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17853 * string/Makefile (strop-tests): Add memcmp.
17854 * string/test-wmemcmp.c: New file.
17855 * string/test-memcmp.c: Add wmemcmp support.
17857 2011-09-08 Roland McGrath <roland@hack.frob.com>
17860 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17863 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17864 garbage value in a __mach_port_mod_refs call in the cases of the
17865 task-self and thread-self ports.
17867 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17869 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17871 2011-09-08 Andreas Schwab <schwab@redhat.com>
17873 * elf/dl-load.c (lose): Check for non-null L.
17875 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17877 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17879 * elf/dl-libc.c (dlerror_run): Pass back error code from
17883 * elf/dl-load.c (lose): Free l_origin if it is valid.
17885 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17887 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17888 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17889 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17890 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17891 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17892 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17894 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17896 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17897 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17898 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17899 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17900 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17901 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17902 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17903 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17904 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17905 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17907 2011-08-15 Alan Modra <amodra@gmail.com>
17910 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17911 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17912 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17913 ppc_mcount to static-only-routines.
17914 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17916 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17917 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17919 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17921 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17922 for finite and infinity parameters.
17924 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17927 and add nop instructions for throughput optimization.
17928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17930 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17932 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17933 aligned copy for power7 with vector-scalar instructions.
17934 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17936 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17941 2011-09-07 Andreas Schwab <schwab@redhat.com>
17944 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17947 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17949 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17950 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17951 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17952 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17955 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17957 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17958 Forgot to demangle the pointer.
17960 * sysdeps/i386/sysdep.h: Define atom_text_section.
17961 * sysdeps/x86_64/sysdep.h: Likewise.
17962 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17963 section with atom_text_section.
17964 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17965 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17966 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17967 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17968 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17970 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17971 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17972 already be defined. Change to take two parameters and don't assign
17973 result to variable. Adjust all users.
17974 Define INTERNAL_GETTIME if not already defined.
17975 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17978 HAVE_CLOCK_GETTIME_VSYSCALL.
17979 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17982 gettimeofday vsyscall, just use time.
17984 2011-09-06 Andreas Schwab <schwab@redhat.com>
17986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17989 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17991 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17995 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17996 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17997 syscall if possible.
17999 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18001 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18002 e_ident. Don't pass to find_mapsXX.
18003 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18005 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18008 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18009 * sysdeps/x86_64/multiarch/strchr.S: Update.
18010 Check bit_slow_BSF bit.
18011 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18012 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18013 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18015 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18018 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18020 (tryshell): Define.
18021 (__spawni): Change last parameter to be flag. Test
18022 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18023 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18024 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18025 * posix/spawni.c: Likewise.
18026 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18027 * posix/spawnp.c: Likewise. Change normal version to use
18028 SPAWN_XFLAGS_USE_PATH.
18029 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18030 SPAWN_XFLAGS_TRY_SHELL.
18033 * posix/glob.h: Remove gcc 1.x support.
18036 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18038 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18041 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18043 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18044 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18045 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18046 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18047 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18048 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18050 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18052 * sysdeps/x86_64/wcscmp.S: New file.
18054 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18055 wcscmp-c wcscmp-sse2
18056 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18057 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18058 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18059 * wcsmbs/wcscmp.c: Allow renaming.
18061 2011-09-05 David S. Miller <davem@davemloft.net>
18063 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18064 stack slot, rather than the struct return pointer slot.
18065 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18066 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18068 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18070 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18072 * po/ja.po: Update from translation team.
18075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18076 kernel in 64-bit binaries.
18078 2011-09-01 David S. Miller <davem@davemloft.net>
18080 * elf/elf.h (HWCAP_SPARC_*): Move to..
18081 * sysdeps/sparc/sysdep.h: this new file and add new values.
18082 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18083 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18084 _DL_HWCAP_COUNT to 24.
18085 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18087 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18088 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18089 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18091 instead of magic constants.
18092 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18094 2011-08-31 David S. Miller <davem@davemloft.net>
18096 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18098 Reimplement to do errno handling inline.
18099 (SYSCALL_ERROR_HANDLER): New macro.
18100 (__SYSCALL_STRING): Do not do errno handling in asm.
18101 (__CLONE_SYSCALL_STRING): Delete.
18102 (__INTERNAL_SYSCALL_STRING): Delete.
18103 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18104 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18105 (PSEUDO): Reimplement to do errno handling inline.
18106 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18107 (SYSCALL_ERROR_HANDLER): New macro.
18108 (__SYSCALL_STRING): Do not do errno handling in asm.
18109 (__CLONE_SYSCALL_STRING): Delete.
18110 (__INTERNAL_SYSCALL_STRING): Delete.
18111 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18112 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18114 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18115 (inline_syscall*): Add 'err' argument.
18116 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18117 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18118 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18119 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18121 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18122 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18124 2011-08-30 Andreas Schwab <schwab@redhat.com>
18126 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18128 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18130 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18133 2011-08-24 David S. Miller <davem@davemloft.net>
18135 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18137 2011-08-24 Andreas Schwab <schwab@redhat.com>
18139 * elf/Makefile: Add rules to build and run unload8 test.
18140 * elf/unload8.c: New file.
18141 * elf/unload8mod1.c: New file.
18142 * elf/unload8mod1x.c: New file.
18143 * elf/unload8mod2.c: New file.
18144 * elf/unload8mod3.c: New file.
18146 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18149 2011-08-23 David S. Miller <davem@davemloft.net>
18151 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18152 subtract stack bias.
18153 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18154 %sp not %fp in calculations.
18155 (_JMPBUF_UNWINDS_ADJ): Likewise.
18157 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18158 (aio_suspend): Call it to force an exception region around the
18159 AIO_MISC_WAIT() invocation.
18161 2011-08-23 Andreas Schwab <schwab@redhat.com>
18163 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18166 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18168 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18170 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18171 and <dl-machine.h>.
18172 (Elf64_FuncDesc): Remove.
18174 2011-08-22 David S. Miller <davem@davemloft.net>
18176 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18177 sigaltstack check, add missing cfi directives.
18178 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18179 missing cfi directives, and sigaltstack handling.
18181 2011-08-16 Andreas Schwab <schwab@redhat.com>
18184 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18185 object is seen twice.
18186 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18188 * elf/Makefile (distribute): Add tst-initorder2.c.
18189 (tests): Add tst-initorder2.
18190 (modules-names): Add tst-initorder2a tst-initorder2b
18191 tst-initorder2c tst-initorder2d. Add rules to build them.
18192 ($(objpfx)tst-initorder2.out): New rule.
18193 * elf/tst-initorder2.c: New file.
18194 * elf/tst-initorder2.exp: New file.
18196 2011-08-22 Andreas Schwab <schwab@redhat.com>
18198 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18200 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18201 dependencies back to end of function.
18203 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18204 $(elfobjdir)/ld.so.
18206 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18209 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18211 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18212 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18213 of __vdso_gettimeofday.
18214 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18215 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18217 (_libc_vdso_platform_setup): Remove initialization of
18218 __vdso_gettimeofday and __vdso_time.
18220 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18222 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18223 and fgetc_unlocked.
18224 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18227 * elf/dl-open.c (add_to_global): Report additions to the global scope
18228 for LD_DEBUG=scopes.
18229 (dl_open_worker): Also print scope of newly loaded dependencies.
18230 (_dl_show_scope): Indicate if there is no scope.
18233 * stdio-common/Makefile (tests): Add bug24.
18234 * stdio-common/bug24.c: New file.
18236 2011-08-19 Andreas Jaeger <aj@suse.de>
18239 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18240 non-existant file when using close-on-exec mode.
18242 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18245 the very first instruction.
18247 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18248 the CFI state in the end.
18249 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18250 inclusion of dl-trampoline.h.
18251 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18253 2011-08-19 Andreas Schwab <schwab@redhat.com>
18255 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18256 expectations for long double.
18258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18259 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18261 2011-08-14 David S. Miller <davem@davemloft.net>
18263 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18264 artificual limit depends upon the system page size.
18266 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18268 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18269 * resolv/Makefile: Define CFLAGS-libresolv.
18271 2011-08-17 Andreas Schwab <schwab@redhat.com>
18273 * nss/makedb.c (compute_tables): Make variables used in nested
18276 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18278 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18279 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18280 if buffer was too small.
18282 * elf/pldd.c (main): Attach to all threads in the process.
18283 Rewrite /proc handling to use *at functions.
18285 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18287 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18288 specifies first scope to show.
18289 (dl_open_worker): Update callers. Move printing scope of new
18290 object to before the relocation.
18291 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18292 * sysdeps/generic/ldsodefs.h: Update declaration.
18294 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18295 string for the scope number.
18297 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18299 * nscd/servicescache.c (cache_addserv): Make sure written is always
18302 2011-08-14 Roland McGrath <roland@hack.frob.com>
18304 * sysdeps/i386/i486/bits/atomic.h
18305 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18306 statement expression, so as to suppress "set but not used" warning.
18307 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18309 * string/strncat.c (STRNCAT): Use prototype definition.
18311 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18312 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18314 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18315 (localedef-modules): Add localedef.
18316 (locale-modules): Add locale.
18318 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18319 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18320 to avoid a warning.
18322 2011-08-14 David S. Miller <davem@davemloft.net>
18324 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18325 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18327 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18329 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18330 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18331 * elf/rtld.c (dl_main): Set l_name of vDSO.
18332 Call _dl_show_scope when DL_DEBUG_SCOPES.
18333 (process_dl_debug): Recognize scopes flag and also set it for all.
18334 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18335 Declare _dl_show_scope.
18337 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18338 (do_dlopen): Pass caller_dlopen to dl_open.
18339 (__libc_dlopen_mode): Initialize caller_dlopen.
18341 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18342 of libc. Make tolower call locale-independent. Optimize a bit by
18343 using isdigit instead of isalnum.
18344 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18346 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18348 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18349 was a dependency or dynamically loaded.
18351 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18353 * intl/l10nflist.c: Allow architecture-specific pop function.
18354 * sysdeps/x86_64/l10nflist.c: New file.
18356 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18359 2011-08-10 Andreas Schwab <schwab@redhat.com>
18361 * include/dirent.h: Add libc_hidden_proto for scandirat and
18362 scandirat64. Don't declare __scandirat64.
18363 * dirent/scandirat.c: Add libc_hidden_def.
18364 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18365 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18367 2011-08-10 David S. Miller <davem@davemloft.net>
18369 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18372 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18375 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18377 * Versions.def [libc]: Add GLIBC_2.15.
18378 * dirent/Makefile (routines): Add scandirat and scandirat64.
18379 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18381 * dirent/dirent.h: Declare scandirat and scandirat64.
18382 * dirent/scandirat.c: New file.
18383 * dirent/scandirat64.c: New file.
18384 * sysdeps/wordsize-64/scandirat.c: New file.
18385 * sysdeps/wordsize-64/scandirat64.c: New file.
18386 * dirent/opendir.c: Define opendirat.
18387 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18389 * dirent/scandir64.c: Adjust for scandir.c change.
18390 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18391 __scandirat64, and __scandir_cancel_handler.
18392 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18393 additional parameter and use openat instead of open (outside of ld.so).
18394 Add new __opendir as wrapper around __opendirat.
18395 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18396 here without requiring old scandirat implementation.
18398 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18400 * dirent/scandir.c (cancel_handler): Renamed to
18401 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18402 defined. Adjust users.
18403 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18404 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18406 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18408 * string/test-string.h (IMPL): Use __STRING to expand name and then
18411 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18414 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18416 * string/Makefile: Update.
18417 (strop-tests): Append strncat.
18418 * string/test-wcscmp.c: New file.
18419 New comprehensive test for wcscmp.
18420 * string/test-strcmp.c: Update.
18421 (WIDE): New define.
18423 2011-07-22 Andreas Schwab <schwab@redhat.com>
18425 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18428 2011-07-26 Andreas Schwab <schwab@redhat.com>
18430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18431 encoding to ACE if AI_IDN.
18433 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18435 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18436 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18438 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18440 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18441 Fix overflow bug in strncat.
18442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18444 * string/test-strncat.c: Update.
18445 Add new tests for checking overflow bugs.
18447 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18450 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18451 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18452 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18453 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18454 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18455 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18456 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18457 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18459 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18460 (USE_AS_STRCAT): Define.
18461 Add strcat and strncat support.
18462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18464 2011-07-25 Andreas Schwab <schwab@redhat.com>
18466 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18467 __n bigger than INT_MAX+1.
18468 (__strncmp_g): Likewise.
18470 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18472 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18473 * libio/stido.h: Likewise.
18475 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18480 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18483 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18487 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18490 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18492 (_dl_x86_64_save_sse): Likewise.
18494 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18498 (_dl_x86_64_save_sse): Likewise.
18500 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18502 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18504 2011-07-21 Andreas Schwab <schwab@redhat.com>
18506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18508 (_dl_x86_64_save_sse): Use correct AVX check.
18510 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18512 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18513 bug in strncpy/strncat.
18514 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18516 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18518 * string/tester.c (test_strcat): Add tests for different alignments
18519 of source and destination.
18520 (test_strncat): Likewise.
18522 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18525 * posix/glob.c (glob): Check passed in values before using them in
18526 expressions to avoid some overflows.
18527 (glob_in_dir): Likewise.
18530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18531 check for AVX enablement so that we don't crash with old kernels and
18533 * elf/tst-audit4.c: Add same checks here.
18534 * elf/tst-audit6.c: Likewise.
18536 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18538 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18540 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18542 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18544 * po/cs.po: Update from translation team.
18545 * po/bg.po: Likewise.
18547 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18549 * misc/sys/cdefs.h: Add support for const attribute.
18550 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18551 to gnu_dev_{major,minor,makedev} functions.
18553 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18555 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18557 2011-07-20 Andreas Schwab <schwab@redhat.com>
18559 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18562 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18564 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18565 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18566 register in order to avoid conflicts with the soft frame pointer
18567 being held in r11 when necessary.
18568 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18569 (INTERNAL_VSYSCALL_NCS): Likewise.
18571 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18573 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18574 * elf/dl-fini.c (_dl_fini): Adjust caller.
18575 * elf/dl-close.c (_dl_close_worker): Likewise.
18576 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18578 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18580 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18581 "aux_cache->nlibs < 0".
18583 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18584 in the reload-count case.
18586 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18589 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18590 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18591 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18592 * sysdeps/x86_64/multiarch/strcat.S: New file.
18593 * sysdeps/x86_64/multiarch/strncat.S: New file.
18594 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18595 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18596 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18597 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18599 (USE_AS_STRCAT): Define.
18600 Add strcat and strncat support.
18601 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18603 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18604 * string/strncat.c: Update.
18605 (USE_AS_STRNCAT): Define.
18606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18607 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18609 * sysdeps/x86_64/multiarch/init-arch.h
18610 (bit_Prefer_PMINUB_for_stringop): New.
18611 (index_Prefer_PMINUB_for_stringop): Likewise.
18612 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18613 bit_Prefer_PMINUB_for_stringop.
18615 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18617 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18619 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18620 of casting of buffer.
18621 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18622 buffer32 and buffer64.
18623 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18624 writes instead of casting of buffer.
18625 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18627 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18630 2011-07-19 Andreas Schwab <schwab@redhat.com>
18632 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18634 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18636 * nscd/nscd.c (termination_handler): Don't do anything for a database
18637 if it has not yet been initialized.
18639 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18641 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18643 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18645 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18647 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18649 * po/nl.po: Update from translation team.
18650 * po/sv.po: Likewise.
18652 2011-07-16 Roland McGrath <roland@hack.frob.com>
18654 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18655 now disallowed by GCC.
18657 * configure.in (use-default-link): Default to yes if a test -shared
18658 link meets our qualifications.
18659 * configure: Regenerated.
18661 * config.make.in (output-format): New variable.
18662 * configure.in: Check for ld --print-output-format support.
18663 * configure: Regenerated.
18664 * Makerules ($(common-objpfx)format.lds)
18665 [$(output-format) != unknown]: Just use $(output-format),
18666 instead of the linker-script munging.
18668 2011-07-14 Roland McGrath <roland@hack.frob.com>
18670 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18671 of $(common-objpfx)shlib.lds.
18672 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18674 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18675 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18677 * configure.in (-z relro check): Adjust test code to add a large
18678 writable data section after it.
18679 * configure: Regenerated.
18681 2011-07-11 Roland McGrath <roland@hack.frob.com>
18683 * configure.in (-z relro check): Fix test code to make the variable
18685 * configure: Regenerated.
18687 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18689 * nscd/nscd.h (struct traced_file): Define.
18690 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18691 elements. Add traced_files.
18692 (inotify_fd): Declare.
18693 (register_traced_file): Declare.
18694 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18695 (inotify_fd): Export.
18696 (resolv_conf_descr): Remove.
18697 (nscd_init): Move inotify descriptor creation to main.
18698 Don't register files for notification here.
18699 (register_traced_file): New function.
18700 (invalidate_cache): Don't use reset_res to determine whether to call
18701 res_init, go through the list of registered files.
18702 (main_loop_poll): The inotify descriptors are now stored in the
18703 structures for the traced files.
18704 (main_loop_epoll): Likewise
18705 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18706 to __nss_disable_nscd.
18707 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18708 for a database anymore. Check the records for all the registered
18710 * nss/Makefile (libnss_files-routines): Add files-init.
18711 (libnss_db-routines): Add db-init.
18712 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18713 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18714 * nss/nss_db/db-init.c: New file.
18715 * nss/nss_files/files-init.c: New file.
18716 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18717 __nss_lookup_function.
18718 (__nss_lookup_function): Call nss_load_library.
18719 (nss_load_all_libraries): New function.
18720 (__nss_disable_nscd): Take parameter with callback function for files
18721 to register. Set is_nscd. Load all the DSOs for the NSS modules
18722 used for the cached services.
18723 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18724 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18725 options for features to all the files in nscd.
18727 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18729 2011-07-10 Roland McGrath <roland@hack.frob.com>
18731 * csu/elf-init.c (__libc_csu_init): Comment typo.
18733 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18735 * po/pl.po: Update from translation team.
18736 * po/ja.po: Likewise.
18737 * po/ru.po: Likewise.
18738 * po/ko.po: Likewise.
18739 * po/fr.po: Likewise.
18741 2011-07-09 Roland McGrath <roland@hack.frob.com>
18743 * configure.in (.ctors/.dtors header and trailer check):
18744 Use an empirical test on a built program.
18745 * configure: Regenerated.
18747 * configure.in (-z relro check): Use an empirical test on a built DSO.
18748 Detect, but do not require, on ia64.
18749 * configure: Regenerated.
18751 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18752 Update tests that use readelf to use $READELF instead.
18753 * configure: Regenerated.
18755 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18757 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18758 if the result is not used.
18760 2011-07-05 Andreas Jaeger <aj@suse.de>
18763 * stdlib/tst-strtod.c: Add testcase.
18765 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18767 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18768 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18769 The latter has a higher limit. Take additional parameter to pass to
18771 (__pathconf): Pass file to __statfs_link_max.
18772 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18774 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18778 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18781 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18782 (__statfs_filesize_max): Likewise.
18783 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18785 2011-07-05 Andreas Jaeger <aj@suse.de>
18787 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18789 2011-07-06 Marek Polacek <mpolacek@redhat.com>
18791 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18793 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18796 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18798 * Makefile (strop-tests): Add strncat.
18799 * string/test-strncat.c: New file.
18801 2011-06-30 Marek Polacek <mpolacek@redhat.com>
18803 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18805 2011-06-21 Andreas Jaeger <aj@suse.de>
18807 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18808 Copy rule from iconvdata/Makefile.
18810 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18813 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18814 but no long options are defined, just return 'W'.
18816 2011-06-22 Marek Polacek <mpolacek@redhat.com>
18819 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18821 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18823 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18825 (innetgr): Likewise.
18827 2011-07-05 Roland McGrath <roland@hack.frob.com>
18829 * config.make.in (install_root): Default to $(DESTDIR).
18831 2011-07-05 Ulrich Drepper <drepper@gmail.com>
18833 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18835 2011-07-02 Roland McGrath <roland@hack.frob.com>
18837 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18839 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18840 containing directory rather than embedding absolute directory names.
18842 * scripts/check-local-headers.sh: Rewritten using awk.
18843 Match by word, not by line. Print error messages for matches.
18844 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18846 * Makerules [shlib-lds-flags empty]:
18847 ($(common-objpfx)libc_pic.opts): New target.
18848 ($(common-objpfx)libc_pic.os.clean): New target.
18849 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18851 * config.make.in (OBJCOPY): New variable.
18852 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18853 * configure: Regenerated.
18855 * config.make.in (use-default-link): New variable.
18856 * configure.in (use_default_link): Grok --with-default-link to set it.
18857 * configure: Regenerated.
18858 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18859 (shlib-lds, shlib-lds-flags): Define to empty.
18861 * Makerules (shlib-lds): New variable.
18862 (shlib-lds-flags): New variable.
18863 (build-shlib, build-moduile, build-module-asneeded): Use it.
18864 ($(common-objpfx)libc.so): Use $(shlib-lds).
18865 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18866 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18868 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18869 DT_FLAGS/DT_FLAGS_1 with zero flags.
18871 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18872 linker script munging.
18874 2011-07-02 Ulrich Drepper <drepper@gmail.com>
18876 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18878 * crypt/sha512.c (sha512_process_block): Perform total addition using
18879 128-bit if possible.
18880 (__sha512_finish_ctx): Likewise.
18881 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18883 * crypt/sha256.c (SWAP64): Define.
18884 (sha256_process_block): Perform total addition using 64-bit if
18886 (__sha256_finish_ctx): Likewise.
18888 2011-07-01 Ulrich Drepper <drepper@gmail.com>
18890 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18891 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18892 * nscd/hstcache.c (cache_addhst): Likewise.
18893 * nscd/grpcache.c (cache_addgr): Likewise.
18894 * nscd/aicache.c (addhstaiX): Likewise
18895 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18897 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
18899 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18901 * nscd/hstcache.c (cache_addhst): Likewise.
18902 * nscd/grpcache.c (cache_addgr): Likewise.
18903 * nscd/aicache.c (addhstaiX): Likewise
18905 2011-07-01 Andreas Schwab <schwab@redhat.com>
18907 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18908 domain only when needed.
18910 2011-06-30 Andreas Schwab <schwab@redhat.com>
18912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18913 is always restored.
18915 2011-06-29 Ulrich Drepper <drepper@gmail.com>
18917 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18918 are re-adding the entry.
18919 * nscd/servicescache.c (cache_addserv): Likewise.
18921 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18923 * sysdeps/generic/dl-irel.h: fix protection against multiple
18925 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18927 2011-06-28 Ulrich Drepper <drepper@gmail.com>
18930 * malloc/memusage.sh: Fix quoting in message.
18931 * debug/xtrace.sh: Likewise.
18933 * configure.in: Remove support for --experimental-malloc option, make
18935 * config.make.in: Likewise.
18936 * malloc/Makefile: Likewise.
18938 2011-06-27 Andreas Schwab <schwab@redhat.com>
18940 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18941 two-byte characters.
18943 2011-06-27 Roland McGrath <roland@hack.frob.com>
18945 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18946 AC_CACHE_CHECK invocation.
18947 * configure: Regenerated.
18949 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18951 2011-06-27 Ulrich Drepper <drepper@gmail.com>
18954 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18955 bit from old_res_options.
18957 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18959 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18960 value type for setfct.
18962 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18965 __gettimeofday instead of gettimeofday.
18967 2011-06-26 Ulrich Drepper <drepper@gmail.com>
18969 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18971 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18973 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18975 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18978 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18981 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18982 strcpy-sse2-unaligned strncpy-sse2-unaligned
18983 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18984 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18985 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18986 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18987 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18988 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18989 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18990 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18991 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18992 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18993 (STRCPY): Support SSE2 and SSSE3 versions.
18995 2011-06-24 Ulrich Drepper <drepper@gmail.com>
18998 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18999 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19000 kernels which artificially limit size of requests.
19002 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19005 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19006 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19007 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19008 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19009 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19010 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19011 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19012 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19014 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19015 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19016 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19017 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19018 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19020 Enable unaligned load optimization for Intel Core i3, i5 and i7
19022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19024 (index_Fast_Unaligned_Load): Define.
19025 (HAS_FAST_UNALIGNED_LOAD): Define.
19027 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19029 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19031 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19035 until it is clear that the information is realy needed.
19036 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19038 2011-06-22 Andreas Schwab <schwab@redhat.com>
19040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19042 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19044 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19045 /sys/devices/system/cpu/online if it is usable.
19047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19048 reading the information from the /proc filesystem to once a second.
19050 2011-06-21 Andreas Jaeger <aj@suse.de>
19052 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19053 NULL after inclusion of kernel headers.
19055 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19057 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19058 calls to internal_setent.
19061 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19062 addresses using gethostbyname4_r ignore IPv4 addresses.
19064 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19065 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19067 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19069 2011-06-20 David S. Miller <davem@davemloft.net>
19071 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19073 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19075 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19076 (elf_irel): Use it.
19077 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19078 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19079 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19080 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19081 * sysdeps/x86_64/dl-irel.h: Likewise.
19083 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19084 * elf/dl-sym.c: Likewise.
19086 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19088 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19089 need to dereference resplen2.
19091 2011-06-14 Andreas Schwab <schwab@redhat.com>
19093 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19095 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19097 * Makeconfig: Define vardbdir and inst_vardbdir.
19098 * nss/Makefile: Add rules to install db-Makefile.
19100 * nss/nss_db/db-XXX.c: Cleanup.
19102 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19103 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19105 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19106 * nss/makedb.c: Implement -g option to specify that value strings
19107 are generated and should not be added to table iterated over for
19109 * nss/nss_db/db-initgroups.c: New file.
19111 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19114 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19115 (internal_getgrouplist): Adjust to name change.
19116 Update use_initgroups_entry if this is not the first call.
19117 * nss/databases.def: Add initgroups entry.
19119 * nss/makedb.c (compute_tables): Check result of multiple hash table
19120 sizes to minimize maximum chain length.
19122 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19124 * Versions.def: Add entry for libnss_db.
19125 * shlib-versions: Likewise.
19126 * nss/Makefile: Add rules to build libnss_db.
19127 * nss/Versions: Add libnss_db information. Organize libnss_files
19129 * nss/db-Makefile: Add gshadow support. Change rules for the new
19130 makedb progra. Some minor improvements to generate smaller files.
19131 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19133 * nss/makedb.c: ...here.
19134 Improve database format to be smaller and require less memory at
19136 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19138 * nss/nss_db/db-netgrp.c: Likewise.
19139 * nss/nss_db/db-open.c: Likewise.
19140 * nss/nss_files/flies-XXX.x: Adjust comments.
19141 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19142 * nss/nss_files/files-grp.c: Likewise.
19143 * nss/nss_files/files-hosts.c: Likewise.
19144 * nss/nss_files/files-network.c: Likewise.
19145 * nss/nss_files/files-proto.c: Likewise.
19146 * nss/nss_files/files-pwd.c: Likewise.
19147 * nss/nss_files/files-rpc.c: Likewise.
19148 * nss/nss_files/files-service.c: Likewise.
19149 * nss/nss_files/files-sgrp.c: Likewise.
19150 * nss/nss_files/files-spwd.c: Likewise.
19151 * nss/nss_db/db-alias.c: Removed.
19152 * nss/nss_db/dummy-db.h: Removed.
19154 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19156 * nss/makedb.c: Rewritten to not use database library.
19157 * nss/Makefile: Update to build new makedb program.
19159 2011-06-14 Andreas Jaeger <aj@suse.de>
19161 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19162 memset declaration.
19164 2011-06-10 Andreas Schwab <schwab@redhat.com>
19166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19169 2011-06-10 Roland McGrath <roland@hack.frob.com>
19171 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19172 * elf/Makefile ($(objpfx)ld.so): Likewise.
19174 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19175 Don't list ld.so twice in dependencies.
19177 * posix/bug-regex31.c: Include <stdlib.h>.
19179 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19181 * nis/nss_compat/compat-spwd.c
19182 (getspent_next_nss_netgr): Remove unused variable.
19183 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19185 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19186 nonmembers" output to use the right array.
19188 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19190 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19192 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19193 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19194 * catgets/gencat.c (read_input_file): Likewise.
19195 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19197 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19198 variable definition inside #if's controlling its use.
19200 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19202 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19204 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19206 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19209 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19211 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19212 * configure: Regenerated.
19214 * Makerules: Revert last change.
19215 * elf/Makefile: Likewise.
19217 2011-06-09 Roland McGrath <roland@hack.frob.com>
19219 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19220 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19221 (reloc-link): Likewise.
19223 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19225 * elf/Makefile: Add rules to build pldd.
19226 * elf/pldd.c: New file.
19227 * elf/pldd-xx.c: New file.
19229 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19231 * version.h: Update for 2.15 development version.
19233 2011-06-07 David S. Miller <davem@davemloft.net>
19235 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19237 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19238 elf_machine_lazy_rel): Likewise.
19239 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19240 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19241 elf_machine_lazy_rel): Likewise.
19242 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19243 dl_hwcap via passed in argument.
19244 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19247 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19249 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19251 2011-06-06 Roland McGrath <roland@hack.frob.com>
19254 * manual/fdl-1.1.texi: New file, verbatim from:
19255 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19256 * manual/lgpl-2.1.texi: New file, verbatim from:
19257 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19258 * manual/Makefile (licenses): New variable, list those new file names.
19260 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19262 * manual/fdl.texi: File removed.
19263 * manual/lesser.texi: File removed.
19264 * manual/libc.texinfo (Copying, Documentation License):
19265 Use new @include file names, put @appendix directive before @include.
19267 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19270 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19271 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19272 (mq_open): Add __NTH.
19274 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19277 Assume Intel Core i3/i5/i7 processor if AVX is available.
19279 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19284 2011-05-31 Andreas Schwab <schwab@redhat.com>
19286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19287 memory. Use alloca_account. Fix memory leak when retrying.
19289 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19291 * version.h (RELEASE): Bump for 2.14 release.
19292 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19294 * config.make.in (RANLIB): Remove entry.
19296 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19298 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19299 (libc.pot): Work around missing support for .ksh extension in xgettext.
19302 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19303 if both request failed.
19304 (send_dg): In case of server errors clear resplen or *resplen2.
19307 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19308 when there are multiple maps.
19309 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19310 (_dl_fini): Remove test here.
19312 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19314 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19317 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19318 bit from old_res_options.
19319 (gaih_inet): Likewise.
19322 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19325 * resolv/res_init.c (res_setoptions): Make the code more compact.
19328 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19332 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19334 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19337 * malloc/malloc.h: Declare malloc hook variables as volatile.
19339 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19343 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19344 raise in the comment.
19345 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19346 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19347 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19349 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19352 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19353 grow the buffers more if it already has to be sufficient.
19354 (build_wcs_upper_buffer): Likewise.
19355 * posix/regexec.c (check_matching): Likewise.
19356 (clean_state_log_if_needed): Likewise.
19357 (extend_buffers): Don't enlarge buffers beyond size of the input
19359 Patches mostly by Emil Wojak <emil@wojak.eu>.
19360 * posix/bug-regex32.c: New file.
19361 * posix/Makefile (tests): Add bug-regex32.
19363 * locale/findlocale.c (_nl_find_locale): Return right away if
19364 _nl_explode_name failed.
19365 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19367 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19369 * debug/xtrace.sh: Unify messages.
19370 * malloc/memusage.sh: Likewise.
19373 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19374 time symbol from vDSO. Substitute with vsyscall if not available.
19375 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19378 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19379 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19380 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19381 Add sendmmsg and internal_sendmmsg.
19382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19383 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19384 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19386 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19387 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19390 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19393 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19394 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19396 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19400 * iconvdata/Makefile (tests): Add bug-iconv9.
19401 * iconvdata/bug-iconv9.c: New file.
19403 2011-05-27 Andreas Schwab <schwab@redhat.com>
19406 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19408 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19410 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19411 (struct user_regs_struct): Change intcs field back to cs.
19413 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19415 * po/ja.po: Update from translation team.
19417 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19420 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19421 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19423 2011-05-20 Andreas Schwab <schwab@redhat.com>
19425 * stdlib/longlong.h: Update from GCC.
19427 2011-05-23 Andreas Schwab <schwab@redhat.com>
19429 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19431 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19432 Add parameter name.
19433 (__sysconf): Pass it down.
19435 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19438 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19440 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19441 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19442 add in in __libc_use_alloca calls. Adjust callers.
19443 (glob): Use malloc in some situations.
19445 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19446 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19449 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19451 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19452 and CLOCK_BOOTTIME_ALARM.
19455 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19458 * string/_strerror.c (__strerror_r): Print negative errors as signed
19462 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19463 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19464 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19466 * configure.in: Fix typo in redirection and correct removal of test
19467 files in two cases.
19470 * locale/setlocale.c (new_composite_name): Fix test to check for
19471 identical name of all categories.
19474 * libio/filedoalloc.c (local_isatty): New function.
19475 (_IO_file_doallocate): Use local_isatty.
19476 * stdio-common/perror.c (perror): In case a new stream is used
19477 forward the stream error.
19478 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19481 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19486 * include/alloca.h (extend_alloca_account): Define.
19489 * posix/regex.h: Fix comments with documentation of user-accessible
19490 fields after compilation and describe correct free'ing of pattern
19491 after re_compile_pattern.
19492 Patch by Reuben Thomas <rrt@sc3d.org>.
19494 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19496 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19497 and -mno-altivec to prevent the compiler from using Altivec and/or
19498 VSX instructions when the corresponding registers are not available.
19500 2011-05-19 Andreas Schwab <schwab@redhat.com>
19502 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19504 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19506 * libio/freopen.c (freopen): Use __dup2, not dup2.
19507 * libio/freopen64.c (freopen64): Likewise.
19509 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19512 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19513 * math/Makefile (tests): Add test-powl.
19514 (CFLAGS-test-powl.c): Define.
19515 * math/test-powl.c: New file.
19517 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19519 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19521 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19524 * iconvdata/gb18030.c: Update to GB18020-2005.
19526 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19528 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19529 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19530 Patch by Aharon Robbins <arnold@skeeve.com>.
19533 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19537 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19538 through underflows.
19541 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19542 point to strings before performing equality test for error_one_per_line
19546 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19549 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19550 (struct user_fpregs_struct): Avoid __uint*_t types.
19553 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19554 symbol info. Use it instead of calling _dl_addr locally.
19555 (lock_and_info): New function.
19556 (tr_freehook): Call lock_and_info and pass symbol info as additional
19557 parameter to tr_where.
19558 (tr_mallochook): Likewise.
19559 (tr_reallochook): Likewise.
19560 (tr_memalignhook): Likewise.
19562 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19563 used and couldn't be at all thread-safe.
19565 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19567 * libio/freopen.c (freopen): Don't close old file descriptor
19568 before the new one is opened. Instead dup the new file descriptor
19569 to the old one after the new stream is created.
19570 * libio/freopen64.c (freopen64): Likewise.
19571 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19572 * libio/fileops.c (_IO_new_file_close_it): Handle new
19573 _IO_FLAGS2_NOCLOSE flag.
19574 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19575 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19576 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19577 _IO_FLAGS2_NOCLOSE flag.
19578 * include/unistd.h: Add hidden_proto for dup3.
19579 Define __have_dup3.
19580 * io/dup3.c: Define hidden symbol.
19581 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19584 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19585 when an incomplete long option is used.
19586 * posix/tst-getopt_long1.c: New file.
19587 * posix/Makefile (tests): Add tst-getopt_long1.
19590 * scripts/config.guess: Update from autoconf-2.68.
19591 * scripts/config.sub: Likewise.
19594 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19596 (has_cpuclock): ...this. New function.
19597 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19598 macro here based on has_cpuclock code.
19601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19602 First byte (not low byte) is now always NUL.
19603 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19606 Use non-cancelable interfaces.
19609 * locale/iso-639.def: Add entry for Sorani.
19612 * include/stdlib.h: Move include protection to the right place.
19613 Define abort_msg_s. Declare __abort_msg with it.
19614 * stdlib/abort.c (__abort_msg): Adjust type.
19615 * assert/assert.c (__assert_fail_base): New function. Majority
19616 of code from __assert_fail. Allocate memory for __abort_msg with
19618 (__assert_fail): Now call __assert_fail_base.
19619 * assert/assert-perr.c: Remove bulk of implementation. Use
19620 __assert_fail_base.
19621 * include/assert.hL Declare __assert_fail_base.
19622 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19624 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19626 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19630 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19631 until all modules are registered in the DTV.
19632 * elf/Makefile: Add rules to build and run tst-tls19.
19633 * elf/tst-tls19.c: New file.
19634 * elf/tst-tls19mod1.c: New file.
19635 * elf/tst-tls19mod2.c: New file.
19636 * elf/tst-tls19mod3.c: New file.
19637 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19640 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19644 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19645 two-byte sequence errors.
19646 * iconvdata/Makefile (tests): Add bug-iconv8.
19647 * iconvdata/bug-iconv8.c: New file.
19650 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19653 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19656 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19657 (dummy_getcfa): New function.
19658 (init): Get _Unwind_GetCFA address, use dummy if not found.
19659 (backtrace_helper): In recursion check, also check whether CFA changes.
19660 (__backtrace): Completely initialize arg.
19662 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19663 storing incomplete byte sequence in state object. Avoid testing for
19664 guaranteed too small input if we know there is enough data available.
19666 2011-05-11 Andreas Schwab <schwab@redhat.com>
19668 * Makeconfig (+link-pie): Indent.
19669 * Rules (binaries-pie): Define if $(have-fpie) and
19671 (binaries-shared): Also filter out $(binaries-pie).
19672 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19673 * nscd/Makefile (others-pie): Add nscd.
19674 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19675 ($(objpfx)nscd): Remove command override.
19676 * login/Makefile (others-pie): Add pt_chown.
19677 ($(objpfx)pt_chown): Remove command override.
19678 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19679 remove command overrides.
19681 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19683 * libio/tst_putwc.c: Fix error messages.
19686 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19687 currently writing and seek to current position when not.
19688 * libio/Makefile (tests): Add bug-fclose1.
19689 * libio/bug-fclose1.c: New file.
19691 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19694 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19695 don't set DF_1_NODELETE here.
19696 (do_lookup_x): When entering new entry test for copy relocation
19697 and if necessary set DF_1_NODELETE flag.
19698 * elf/tst-unique4.cc: New file.
19699 * elf/tst-unique4.h: New file.
19700 * elf/tst-unique4lib.cc: New file.
19701 * elf/Makefile: Add rules to build and run tst-unique4.
19702 Patch by Piotr Bury <pbury@goahead.com>.
19704 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19707 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19710 * misc/mntent_r.c (addmntent): Flush the stream after the output
19713 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19714 (is_trusted_path_normalize): Skip initial colon. Append slash
19715 to empty buffer. Duplicate is_trusted_path code but allow
19716 constructed patch to be prefix.
19717 (is_dst): Allow $ORIGIN followed by /.
19718 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19719 Correct testing of result of is_trusted_path_normalize
19720 (decompose_rpath): Fix warning.
19722 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19725 * grp/initgroups.c (internal_getgrouplist): When we found the service
19726 list through the initgroups entry in nsswitch.conf do not always
19727 continue on a successful lookup. Don't always use the
19728 __nss_group_database value if it is set.
19729 * nss/nsswitch.conf (initgroups): Change action for successful db
19730 lookup to continue for compatibility.
19732 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19735 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19737 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19739 * iconvdata/tst-tables.sh: Likewise.
19740 * iconvdata/cp770.c: New file.
19741 * iconvdata/cp771.c: New file.
19742 * iconvdata/cp772.c: New file.
19743 * iconvdata/cp773.c: New file.
19744 * iconvdata/cp774.c: New file.
19745 * iconvdata/testdata/CP770: New file.
19746 * iconvdata/testdata/CP770..UTF8: New file.
19747 * iconvdata/testdata/CP771: New file.
19748 * iconvdata/testdata/CP771..UTF8: New file.
19749 * iconvdata/testdata/CP772: New file.
19750 * iconvdata/testdata/CP772..UTF8: New file.
19751 * iconvdata/testdata/CP773: New file.
19752 * iconvdata/testdata/CP773..UTF8: New file.
19753 * iconvdata/testdata/CP774: New file.
19754 * iconvdata/testdata/CP774..UTF8: New file.
19756 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19758 * iconvdata/gen-8bit-gap.sh: Likewise.
19759 * iconvdata/gen-8bit.sh: Likewise.
19761 * locale/iso-639.def: Add ary entry.
19764 * locale/C-translit.h.in: Add U20A1 transliteration.
19767 * locale/iso-639.def: Add wae entry.
19768 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19771 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19775 * locale/C-translit.h.in: Add entry for U20B9.
19776 Patch by pravin.d.s@gmail.com.
19778 2011-05-08 Ulrich Drepper <drepper@gmail.com>
19781 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19782 ENAMETOOLONG use generic getcwd.
19783 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19784 in rtld. Use *stat64.
19785 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19786 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19787 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19788 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19789 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19790 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19791 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19792 __fstatat64 macros.
19793 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19794 * dirent/rewinddir.c: Add libc_hidden_def.
19795 * sysdeps/mach/hurd/rewinddir.c: Likewise.
19796 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
19798 * include/dirent.h (__alloc_dir): Add flags parameter.
19799 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19800 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19802 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19803 from fdopendir if O_CLOEXEC is already set.
19805 2011-03-15 Alan Modra <amodra@gmail.com>
19807 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19808 l_tls_firstbyte_offset non-zero. Save padding offset in
19809 l_tls_firstbyte_offset for later use.
19810 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19811 freeing static tls block.
19813 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19815 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19816 where #ifdef was intended. The intent is to prevent ARG_MAX from
19817 being defined by the kernel headers.
19819 2011-05-07 Ulrich Drepper <drepper@gmail.com>
19822 * resolv/resolv.h: Define RES_NOTLDQUERY.
19823 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19824 no-tld-query and set RES_NOTLDQUERY.
19825 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19826 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19827 modern BIND to search name as TLD unless forbidden.
19829 2011-05-07 Petr Baudis <pasky@suse.cz>
19830 Ulrich Drepper <drepper@gmail.com>
19833 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19834 (is_trusted_path): ...to here.
19835 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
19836 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
19837 using is_trusted_path_normalize() in setuid scripts.
19839 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19841 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19842 __BEGIN/__END_DECLS.
19844 2011-05-06 Ulrich Drepper <drepper@gmail.com>
19846 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19847 NSS_STATUS_NOTFOUND if no record was found.
19849 2011-05-05 Andreas Schwab <schwab@redhat.com>
19851 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19852 (headers-not-in-tirpc): Remove rpc/netdb.h
19853 * resolv/netdb.h: Revert last change.
19855 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19857 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19858 circular dependency between libgcc.a and libc.a.
19860 2011-05-05 Andreas Schwab <schwab@redhat.com>
19862 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19863 * nis/Makefile: Don't install rpcsvc/*.
19864 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19865 instead of <rpc/types.h>.
19866 (MAXHOSTNAMELEN): Define.
19868 2011-05-03 Andreas Schwab <schwab@redhat.com>
19870 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19872 2011-04-28 Maciej Babinski <mbabinski@google.com>
19875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19876 gethostbyname4_r when IPv6 results are possible.
19878 2011-05-02 Ulrich Drepper <drepper@gmail.com>
19881 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19882 _PC_PIPE_BUF handling.
19884 2011-04-30 Bruno Haible <bruno@clisp.org>
19887 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19888 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19890 * inet/getnameinfo.c (getnameinfo): Likewise.
19892 2011-04-29 Ulrich Drepper <drepper@gmail.com>
19894 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19895 to groups setting in database lookup.
19896 * nss/nsswitch.conf: Add initgroups entry.
19898 2011-04-22 Ulrich Drepper <drepper@gmail.com>
19901 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19903 Patch by Eric Blake <eblake@redhat.com>.
19905 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19907 * sunrpc/Makefile (need-export-routines): Add svc_run.
19908 (routines): Remove svc_run.
19909 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19910 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19911 * sunrpc/svc_run.c (svc_run): Likewise.
19912 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19914 2011-04-21 Ulrich Drepper <drepper@gmail.com>
19916 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19917 problem in reallocation in last patch.
19919 2011-04-20 Ulrich Drepper <drepper@gmail.com>
19921 * sunrpc/Makefile: Move inclusion of Rules.
19923 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19925 * nss/nss_files/files-initgroups.c: New file.
19926 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19927 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19928 _nss_files_initgroups_dyn.
19930 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19932 * elf/elf.h (R_ARM_IRELATIVE): Define.
19934 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19936 * po/ru.po: Update from translation team.
19938 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19940 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19943 2011-02-06 Mike Frysinger <vapier@gentoo.org>
19946 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19947 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19950 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19952 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19954 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19956 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19957 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19960 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19963 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19965 * stdlib/bug-getcontext.c: New file.
19966 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19968 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19970 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19971 instructions into .machine "z9-109".
19972 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19973 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19975 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19977 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19978 between environment variables and auxiliary vector.
19980 2011-04-16 Ulrich Drepper <drepper@gmail.com>
19982 * Makefile: Add rules to build linkobj/libc.so.
19983 * include/libc-symbols.h: Define libc_hidden_nolink.
19984 * include/rpc/auth.h: Mark functions which are to be hidden.
19985 * include/rpc/auth_des.h: Likewise.
19986 * include/rpc/auth_unix.h: Likewise.
19987 * include/rpc/clnt.h: Likewise.
19988 * include/rpc/des_crypt.h: Likewise.
19989 * include/rpc/key_prot.h: Likewise.
19990 * include/rpc/pmap_clnt.h: Likewise.
19991 * include/rpc/pmap_prot.h: Likewise.
19992 * include/rpc/pmap_rmt.h: Likewise.
19993 * include/rpc/rpc_msg.h: Likewise.
19994 * include/rpc/svc.h: Likewise.
19995 * include/rpc/svc_auth.h: Likewise.
19996 * include/rpc/xdr.h: Likewise.
19997 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19998 * nss/Makefile: Likewise.
19999 * sunrpc/Makefile: Don't install headers. Build library with normal
20000 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20001 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20002 for the compat linking library. Remove use of INTDEF/INTUSE.
20003 * sunrpc/auth_none.c: Likewise.
20004 * sunrpc/auth_unix.c: Likewise.
20005 * sunrpc/authdes_prot.c: Likewise.
20006 * sunrpc/authuxprot.c: Likewise.
20007 * sunrpc/clnt_gen.c: Likewise.
20008 * sunrpc/clnt_perr.c: Likewise.
20009 * sunrpc/clnt_raw.c: Likewise.
20010 * sunrpc/clnt_simp.c: Likewise.
20011 * sunrpc/clnt_tcp.c: Likewise.
20012 * sunrpc/clnt_udp.c: Likewise.
20013 * sunrpc/clnt_unix.c: Likewise.
20014 * sunrpc/des_crypt.c: Likewise.
20015 * sunrpc/des_soft.c: Likewise.
20016 * sunrpc/get_myaddr.c: Likewise.
20017 * sunrpc/key_call.c: Likewise.
20018 * sunrpc/key_prot.c: Likewise.
20019 * sunrpc/netname.c: Likewise.
20020 * sunrpc/pm_getmaps.c: Likewise.
20021 * sunrpc/pm_getport.c: Likewise.
20022 * sunrpc/pmap_clnt.c: Likewise.
20023 * sunrpc/pmap_prot.c: Likewise.
20024 * sunrpc/pmap_prot2.c: Likewise.
20025 * sunrpc/pmap_rmt.c: Likewise.
20026 * sunrpc/publickey.c: Likewise.
20027 * sunrpc/rpc_cmsg.c: Likewise.
20028 * sunrpc/rpc_common.c: Likewise.
20029 * sunrpc/rpc_dtable.c: Likewise.
20030 * sunrpc/rpc_prot.c: Likewise.
20031 * sunrpc/rpc_thread.c: Likewise.
20032 * sunrpc/rtime.c: Likewise.
20033 * sunrpc/svc.c: Likewise.
20034 * sunrpc/svc_auth.c: Likewise.
20035 * sunrpc/svc_authux.c: Likewise.
20036 * sunrpc/svc_raw.c: Likewise.
20037 * sunrpc/svc_run.c: Likewise.
20038 * sunrpc/svc_simple.c: Likewise.
20039 * sunrpc/svc_tcp.c: Likewise.
20040 * sunrpc/svc_udp.c: Likewise.
20041 * sunrpc/svc_unix.c: Likewise.
20042 * sunrpc/svcauth_des.c: Likewise.
20043 * sunrpc/xcrypt.c: Likewise.
20044 * sunrpc/xdr.c: Likewise.
20045 * sunrpc/xdr_array.c: Likewise.
20046 * sunrpc/xdr_float.c: Likewise.
20047 * sunrpc/xdr_intXX_t.c: Likewise.
20048 * sunrpc/xdr_mem.c: Likewise.
20049 * sunrpc/xdr_rec.c: Likewise.
20050 * sunrpc/xdr_ref.c: Likewise.
20051 * sunrpc/xdr_sizeof.c: Likewise.
20052 * sunrpc/xdr_stdio.c: Likewise.
20054 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20057 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20058 * sysdeps/ia64/dl-tls.h: Likewise.
20059 * sysdeps/powerpc/dl-tls.h: Likewise.
20060 * sysdeps/s390/dl-tls.h: Likewise.
20061 * sysdeps/sh/dl-tls.h: Likewise.
20062 * sysdeps/sparc/dl-tls.h: Likewise.
20063 * sysdeps/x86_64/dl-tls.h: Likewise.
20064 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20066 2011-03-14 Andreas Schwab <schwab@redhat.com>
20068 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20069 rpath element also skip the following colon.
20070 (expand_dynamic_string_token): Add is_path parameter and pass
20071 down to DL_DST_REQUIRED and _dl_dst_substitute.
20072 (decompose_rpath): Call expand_dynamic_string_token with
20073 non-zero is_path. Ignore empty rpaths.
20074 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20077 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20082 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20085 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20086 Patch by Filipe David Manana <fdmanana@apache.org>.
20088 2011-04-07 Andreas Schwab <schwab@redhat.com>
20090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20091 Maintain aligned stack.
20092 (CHECK_RSP): Remove unused macro.
20094 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20096 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20097 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20099 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20101 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20103 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20105 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20108 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20109 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20110 * sysdeps/x86_64/memmove.c: New file.
20111 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20112 (memcpy): Renamed to ...
20113 (__new_memcpy): This.
20114 (memcpy): Provide GLIBC_2_14 memcpy.
20115 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20116 (memcpy): Provide GLIBC_2_2_5 memcpy.
20118 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20121 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20123 2011-03-30 Andreas Schwab <schwab@redhat.com>
20125 * misc/syncfs.c: New file.
20126 * misc/Makefile (routines): Add syncfs.
20127 * posix/unistd.h: Declare syncfs.
20128 * sysdeps/unix/syscalls.list: Add syncfs.
20130 2011-04-01 Andreas Schwab <schwab@redhat.com>
20132 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20135 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20137 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20138 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20139 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20142 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20145 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20146 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20152 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20153 sync_file_range.c with -fexceptions.
20154 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20155 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20156 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20157 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20158 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20159 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20161 sync_file_range as cancellation point
20162 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20163 now a wrapper around __call_sync_file_range with cancellation handling.
20164 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20165 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20166 function name to __call_sync_file_range.
20167 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20168 Add call_sync_file_range.
20170 2011-04-01 Andreas Schwab <schwab@redhat.com>
20172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20175 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20177 * iconv/iconv.h: Fix typo in comment.
20178 * io/fcntl.h: Likewise.
20179 * libio/stdio.h: Likewise.
20180 * posix/spawn.h: Likewise.
20181 * posix/unistd.h: Likewise.
20182 * stdlib/stdlib.h: Likewise.
20183 * time/time.h: Likewise.
20184 * wcsmbs/wchar.h: Likewise.
20186 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20187 open_by_handle): Add.
20188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20189 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20190 Augment a few comments.
20191 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20193 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20196 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20199 * io/fcntl.h (AT_EMPTY_PATH): Define.
20201 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20203 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20204 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20205 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20207 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20208 * Versions.def: Add GLIBC_2.14.
20209 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20212 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20214 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20216 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20218 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20221 * string/test-strncmp.c (do_page_test): New function.
20222 (check2): Likewise.
20223 (test_main): Call check2.
20224 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20226 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20229 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20230 Handle cache information in CPU leaf 4.
20231 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20233 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20236 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20237 character representation.
20238 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20240 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20242 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20243 END(__isnan) to END(__isnanf) to match function entry point/label
20244 EALIGN(__isnanf,...).
20246 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20248 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20250 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20253 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20254 copy from the symbol referenced in the relocation to initialize the
20256 Patch by Piotr Bury <pbury@goahead.com>.
20257 * elf/Makefile: Add rules to build and tst-unique3.
20258 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20259 * elf/tst-unique3.cc: New file.
20260 * elf/tst-unique3.h: New file.
20261 * elf/tst-unique3lib.cc: New file.
20262 * elf/tst-unique3lib2.cc: New file.
20264 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20266 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20268 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20269 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20272 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20274 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20275 to-be-loaded object along a path to loader is ld.so.
20277 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20278 Ulrich Drepper <drepper@gmail.com>
20280 * sysdeps/x86_64/memset.S: After aligning destination, code
20281 branches to different locations depending on the value of
20282 misalignment, when multiarch is enabled. Fix this.
20284 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20286 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20287 Set _x86_64_preferred_memory_instruction for AMD processsors.
20288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20289 Set bit_Prefer_SSE_for_memop for AMD processors.
20291 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20293 * libio/fmemopen.c (fmemopen): Optimize a bit.
20295 2011-03-03 Andreas Schwab <schwab@redhat.com>
20297 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20299 2011-03-03 Roland McGrath <roland@redhat.com>
20301 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20303 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20305 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20306 __bzero_ultra1 instead of __memset_ultra1.
20308 2011-02-23 Andreas Schwab <schwab@redhat.com>
20309 Ulrich Drepper <drepper@gmail.com>
20312 * include/link.h (struct link_map): Add l_orig_initfini.
20313 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20314 returning unsuccessfully.
20315 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20316 close of a file loaded at startup, restore the original l_initfini
20318 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20319 list, store the pointer.
20320 * elf/Makefile ($(objpfx)noload-mem): New rule.
20321 (noload-ENV): Define.
20322 (tests): Add $(objpfx)noload-mem.
20323 * elf/noload.c: Include <memcheck.h>.
20324 (main): Call mtrace. Close all opened handles.
20326 2011-02-17 Andreas Schwab <schwab@redhat.com>
20329 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20330 dependencies are missing.
20332 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20334 Fix __if_freereq crash: Unlike the generic version which uses free,
20336 * sysdeps/mach/hurd/ifreq.h: New file.
20338 2011-01-27 Petr Baudis <pasky@suse.cz>
20339 Ulrich Drepper <drepper@gmail.com>
20342 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20343 to extend_alloca().
20344 * stdio-common/bug23.c: New file.
20345 * stdio-common/Makefile (tests): Add bug23.
20347 2010-09-28 Andreas Schwab <schwab@redhat.com>
20348 Ulrich Drepper <drepper@gmail.com>
20351 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20352 before performing relro protection. At old place add assertion
20353 to make sure nothing changed.
20355 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20356 Glauber de Oliveira Costa <glommer@gmail.com>
20358 * elf/elf.h: Add new ARM TLS relocs.
20360 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20363 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20365 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20367 * sysdeps/wordsize-64/tst-writev.c: New file.
20369 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20371 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20372 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20373 insns in _dl_start to prevent a TOC reference before relocs are
20376 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20379 * Makeconfig: Remove RANLIB definition.
20380 * Makerules: Don't use RANLIB.
20381 * aclocal.m4: Remove ranlib test.
20382 * configure.in: No need to check for ranlib.
20383 * elf/rtld-Rules: Don't use RANLIB.
20385 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20387 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20389 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20390 inclusion protection macro.
20392 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20393 SIGRTMIN and SIGRTMAX and print information in that case only when
20394 SIGRTMIN is defined.
20396 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20398 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20399 arginfo fn returning -1.
20401 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20402 and thousands string is zero terminated.
20404 2011-02-03 Andreas Schwab <schwab@redhat.com>
20406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20407 sysdeps/unix/sysv/linux/bits/socket.h.
20409 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20411 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20412 (__CPU_COUNT): Remove old macros.
20413 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20414 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20415 (__CPU_ALLOC, __CPU_FREE): Add macros.
20416 (__sched_cpualloc, __sched_cpufree): Add declarations.
20418 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20420 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20421 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20422 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20423 (readdhstai): Return value of addhstaiX call.
20424 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20425 (addgrbyX): Return value returned by cache_addgr.
20426 (readdgrbyname): Return value returned by addgrbyX.
20427 (readdgrbygid): Likewise.
20428 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20429 (addpwbyX): Return value returned by cache_addpw.
20430 (readdpwbyname): Return value returned by addhstbyX.
20431 (readdpwbyuid): Likewise.
20432 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20433 (addservbyX): Return value returned by cache_addserv.
20434 (readdservbyname): Return value returned by addservbyX:
20435 (readdservbyport): Likewise.
20436 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20437 (addhstbyX): Return value returned by cache_addhst.
20438 (readdhstbyname): Return value returned by addhstbyX.
20439 (readdhstbyaddr): Likewise.
20440 (readdhstbynamev6): Likewise.
20441 (readdhstbyaddrv6): Likewise.
20442 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20443 (readdinitgroups): Return value returned by addinitgroupsX.
20444 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20445 (prune_cache): Keep track of timeout value of re-added entries.
20446 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20447 * nscd/nscd.h: Adjust prototypes of readd* functions.
20449 2011-02-04 Roland McGrath <roland@redhat.com>
20451 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20452 (nis_stats): Likewise.
20453 * nis/nis_modify.c (nis_modify): Likewise.
20454 * nis/nis_remove.c (nis_remove): Likewise.
20455 * nis/nis_add.c (nis_add): Likewise.
20457 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20459 * posix/fnmatch_loop.c: Add some consts.
20461 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20463 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20466 * config.make.in (config-cflags-novzeroupper): Define.
20467 * configure.in: Substitute libc_cv_cc_novzeroupper.
20468 * elf/Makefile (AVX-CFLAGS): Define.
20469 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20470 (CFLAGS-tst-auditmod4a.c): Likewise.
20471 (CFLAGS-tst-auditmod4b.c): Likewise.
20472 (CFLAGS-tst-auditmod6b.c): Likewise.
20473 (CFLAGS-tst-auditmod6c.c): Likewise.
20474 (CFLAGS-tst-auditmod7b.c): Likewise.
20475 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20477 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20479 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20480 function to the callback.
20481 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20483 2011-02-02 Andreas Schwab <schwab@redhat.com>
20485 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20488 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20491 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20493 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20495 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20498 * elf/Makefile: Add rules to build and run new test.
20499 * elf/tst-initorder.c: New file.
20500 * elf/tst-initorder.exp: New file.
20501 * elf/tst-initordera1.c: New file.
20502 * elf/tst-initordera2.c: New file.
20503 * elf/tst-initordera3.c: New file.
20504 * elf/tst-initordera4.c: New file.
20505 * elf/tst-initorderb1.c: New file.
20506 * elf/tst-initorderb2.c: New file.
20507 * elf/tst-order-a1.c: New file.
20508 * elf/tst-order-a2.c: New file.
20509 * elf/tst-order-a3.c: New file.
20510 * elf/tst-order-a4.c: New file.
20511 * elf/tst-order-b1.c: New file.
20512 * elf/tst-order-b2.c: New file.
20513 * elf/tst-order-main.c: New file.
20514 New test case by George Gensure <werkt0@gmail.com>.
20516 2010-10-01 Andreas Schwab <schwab@redhat.com>
20518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20519 decoding ACE if AI_CANONIDN.
20521 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20523 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20525 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20527 * version.h (RELEASE): Bump for 2.13 release.
20528 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20530 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20532 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20534 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20535 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20536 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20537 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20538 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20539 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20541 * posix/getconf.c: Update copyright year.
20542 * catgets/gencat.c: Likewise.
20543 * csu/version.c: Likewise.
20544 * debug/catchsegv.sh: Likewise.
20545 * debug/xtrace.sh: Likewise.
20546 * elf/ldconfig.c: Likewise.
20547 * elf/ldd.bash.in: Likewise.
20548 * elf/sprof.c (print_version): Likewise.
20549 * iconv/iconv_prog.c: Likewise.
20550 * iconv/iconvconfig.c: Likewise.
20551 * locale/programs/locale.c: Likewise.
20552 * locale/programs/localedef.c: Likewise.
20553 * malloc/memusage.sh: Likewise.
20554 * malloc/mtrace.pl: Likewise.
20555 * nscd/nscd.c (print_version): Likewise.
20556 * nss/getent.c: Likewise.
20558 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20559 PF_CAIF, and PF_ALG.
20560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20562 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20564 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20565 (modules-names): Use them.
20566 (ifunc-test-modules, ifunc-pie-tests): Define.
20567 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20568 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20569 (test-extras): Likewise.
20570 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20571 $(compile-command.c).
20572 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20573 (all-built-dso): Define.
20574 (check-textrel.out, check-execstack.out): Depend on it.
20576 * configure.in: Don't override --enable-multi-arch.
20578 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20581 * nscd/hstcache.c (tryagain): Define.
20582 (cache_addhst): Return tryagain not notfound for temporary errors.
20583 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20586 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20589 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20590 to make the syscall.
20591 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20594 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20595 and fall back to matching as normal character if the string ends before
20596 the matching ']' is found. This is what POSIX requires.
20597 * posix/testfnm.c: Adjust test result.
20598 * posix/globtest.sh: Adjust test result. Add new test.
20599 * posix/tst-fnmatch.input: Likewise.
20600 * posix/tst-fnmatch2.c: Add new test.
20602 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20604 * elf/Makefile (check-execstack): Revert last change. Depend on
20606 (check-execstack.h): New target.
20607 (generated): Add check-execstack.h.
20608 * elf/check-execstack.c: Include "check-execstack.h".
20609 (main): Revert last change.
20610 (handle_file): Return zero if GNU_STACK is absent and
20611 DEFAULT_STACK_PERMS doesn't include PF_X.
20613 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20615 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20616 in child fails because the descriptor is already closed.
20617 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20618 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20619 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20622 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20626 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20627 temporary buffer used to handle multi lookups locally.
20628 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20630 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20632 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20635 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20637 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20638 alignment for SSE2.
20640 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20643 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20644 characters. When rounding increased number of integer digits recompute
20646 * stdio-common/tst-grouping.c: New file.
20647 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20649 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20651 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20652 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20654 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20656 * bits/select.h: Likewise.
20658 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20660 * po/ja.po: Update from translation team.
20662 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20665 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20666 implementation just like for lxstat, fxstatat, et al.
20668 2010-12-27 Jim Meyering <meyering@redhat.com>
20671 * posix/regexec.c (build_trtable): Return failure indication upon
20672 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20674 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20677 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20678 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20679 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20680 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20683 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20686 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20687 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20689 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20691 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20692 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20693 script has SORT_BY_INIT_PRIORITY.
20694 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20695 NO_CTORS_DTORS_SECTIONS is defined.
20696 * elf/soinit.c: Likewise.
20697 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20698 NO_CTORS_DTORS_SECTIONS is defined.
20699 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20700 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20701 * sysdeps/sh/init-first.c: Likewise.
20702 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20704 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20706 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20707 always use the slow path.
20709 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20711 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20712 similar rule which adds the sysdep directories to the header search in
20713 order to pick up the correct platform stackinfo.h.
20714 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20715 perform test if it is, otherwise return successfully without testing.
20716 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20717 DEFAULT_STACK_PERMS define in stackinfo.h.
20718 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20719 defined in stackinfo.h.
20720 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20721 DEFAULT_STACK_PERMS defined in stackinfo.h.
20722 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20723 * sysdeps/ia64/stackinfo.h: Likewise.
20724 * sysdeps/s390/stackinfo.h: Likewise.
20725 * sysdeps/sh/stackinfo.h: Likewise.
20726 * sysdeps/sparc/stackinfo.h: Likewise.
20727 * sysdeps/x86_64/stackinfo.h: Likewise.
20728 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20729 PF_X for powerpc64. Retain PF_X for powerpc32.
20731 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20733 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20735 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20736 GETDENTS_64BIT_ALIGNED.
20738 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20740 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20742 2010-12-10 Andreas Schwab <schwab@redhat.com>
20744 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20747 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20748 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20750 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20751 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20753 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20756 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20759 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20761 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20763 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20765 * po/it.po: Update from translation team.
20767 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20769 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20772 2010-11-30 Ulrich Drepper <drepper@gmail.com>
20774 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20776 2010-11-24 Andreas Schwab <schwab@redhat.com>
20778 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20780 (gaih_getanswer_slice): Likewise.
20782 2010-10-20 Jakub Jelinek <jakub@redhat.com>
20784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20786 2010-05-31 Petr Baudis <pasky@suse.cz>
20789 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20790 silently even in the chroot mode.
20792 2010-11-22 Ulrich Drepper <drepper@gmail.com>
20794 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20795 last patch a bit. Pretty printing
20797 2010-05-31 Petr Baudis <pasky@suse.cz>
20800 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20801 initialization of skip_initgroups_dyn.
20803 2010-11-19 Ulrich Drepper <drepper@gmail.com>
20805 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20806 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20808 2010-11-16 Ulrich Drepper <drepper@gmail.com>
20810 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20812 2010-11-11 Andreas Schwab <schwab@redhat.com>
20814 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20815 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20816 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20817 ($(objpfx)tst-fnmatch-mem): New rule.
20818 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20819 * posix/tst-fnmatch.c (main): Call mtrace.
20821 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20824 Support Intel processor model 6 and model 0x2c.
20826 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
20828 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20831 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20834 * string/test-strncasecmp.c (check_result): New function.
20835 (do_one_test): Use it.
20836 (check1): New function.
20837 (test_main): Use it.
20838 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20839 Support strcasecmp and strncasecmp.
20841 2010-11-08 Ulrich Drepper <drepper@gmail.com>
20844 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20845 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20847 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20849 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20853 * sysdeps/x86_64/multiarch/bzero.S: New file.
20854 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20855 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20856 * sysdeps/x86_64/multiarch/memset.S: New file.
20857 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20859 Set bit_Prefer_SSE_for_memop for Intel processors.
20860 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20862 (index_Prefer_SSE_for_memop): Define.
20863 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20865 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
20867 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20868 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20870 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20873 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20874 (__x86_64_raw_data_cache_size_half): Likewise.
20875 (__x86_64_raw_shared_cache_size): Likewise.
20876 (__x86_64_raw_shared_cache_size_half): Likewise.
20878 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20879 (__x86_64_raw_data_cache_size_half): Likewise.
20880 (__x86_64_raw_shared_cache_size): Likewise.
20881 (__x86_64_raw_shared_cache_size_half): Likewise.
20882 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20883 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20884 and __x86_64_raw_shared_cache_size_half. Round
20885 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20886 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20887 to multiple of 256 bytes.
20889 2010-11-03 Ulrich Drepper <drepper@gmail.com>
20892 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20893 of inacessible symlinks. Verify result of symlink before returning it.
20894 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20895 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20897 2010-10-28 Erich Ritz <erichritz@gmail.com>
20899 * math/math.h (isinf): Fix typo in comment.
20901 2010-11-01 Ulrich Drepper <drepper@gmail.com>
20903 * po/da.po: Update from translation team.
20905 2010-10-26 Ulrich Drepper <drepper@gmail.com>
20907 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20908 is added to the list.
20910 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20911 Ulrich Drepper <drepper@gmail.com>
20913 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20914 the global list here. Move code to...
20915 (_dl_add_to_namespace_list): ...here. New function.
20916 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20917 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20918 * elf/dl-load.c (lose): Don't remove the element from the list.
20919 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20920 (_dl_map_object): Likewise.
20922 2010-10-25 Ulrich Drepper <drepper@gmail.com>
20925 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20926 into all bytes of SSE register.
20927 Patch by Richard Li <richardpku@gmail.com>.
20929 2010-10-24 Ulrich Drepper <drepper@gmail.com>
20932 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20935 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20937 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20938 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20939 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20940 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20945 2010-10-22 Andreas Schwab <schwab@redhat.com>
20947 * include/dlfcn.h (__RTLD_SECURE): Define.
20948 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20949 mode & __RTLD_SECURE instead.
20950 (open_path): Rename preloaded parameter to secure.
20951 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20952 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20953 * elf/dl-deps.c (openaux): Likewise.
20954 * elf/rtld.c (struct map_args): Remove is_preloaded.
20955 (map_doit): Don't use it.
20956 (dl_main): Likewise.
20957 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20958 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20960 2010-09-09 Andreas Schwab <schwab@redhat.com>
20962 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20963 (sysd-rules-targets): Remove duplicates.
20964 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20965 rtld-%.$o dependency.
20967 2010-10-18 Andreas Schwab <schwab@redhat.com>
20969 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20970 _dl_map_object do it.
20972 2010-10-19 Ulrich Drepper <drepper@gmail.com>
20974 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20975 fast fma builtins, define the macros in the C99 standard.
20976 (FP_FAST_FMAF): Likewise.
20977 (FP_FAST_FMAL): Likewise.
20978 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20980 * bits/mathdef.h: Update copyright year.
20981 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20983 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20985 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20986 builtins, define the macros in the C99 standard.
20987 (FP_FAST_FMAF): Likewise.
20988 (FP_FAST_FMAL): Likewise.
20989 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20991 (FP_FAST_FMAF): Likewise.
20993 2010-10-15 Jakub Jelinek <jakub@redhat.com>
20996 * math/libm-test.inc (fma_test): Some new testcases.
20997 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20998 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20999 y and infinite z. Do multiplication by C already in long double.
21000 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21002 y and infinite z. Do bitwise or of inexact bit into u.d.
21003 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21004 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21005 * sysdeps/i386/fpu/s_fma.S: Removed.
21006 * sysdeps/i386/fpu/s_fmal.S: Removed.
21008 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21011 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21013 computation is not scheduled after fetestexcept. Fix value
21014 of minimum denormal long double.
21016 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21019 * math/libm-test.inc (fma_test): Add some more tests.
21020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21023 2010-10-15 Andreas Schwab <schwab@redhat.com>
21025 * scripts/data/localplt-s390-linux-gnu.data: New file.
21026 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21028 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21031 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21032 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21034 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21036 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21038 if one of x and y is very large and the other is subnormal.
21039 * sysdeps/s390/fpu/s_fmaf.c: New file.
21040 * sysdeps/s390/fpu/s_fma.c: New file.
21041 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21042 * sysdeps/powerpc/fpu/s_fma.S: New file.
21043 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21044 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21045 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21047 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21050 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21052 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21053 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21054 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21055 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21056 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21057 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21058 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21060 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21063 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21064 * posix/bug-regex31.input: Add test case.
21066 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21068 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21069 * posix/bug-regex31.input: New file.
21072 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21073 (parse_sub_exp): Fix last change, use postorder.
21075 * posix/bug-regex31.c: New file.
21076 * posix/Makefile: Add rules to build and run bug-regex31.
21078 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21081 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21084 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21085 to have entries in sys_siglist.
21088 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21091 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21094 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21095 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21096 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21097 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21098 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21099 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21100 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21101 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21102 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21103 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21104 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21105 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21106 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21107 * math/ftestexcept.c (fetestexcept): Likewise.
21108 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21109 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21110 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21111 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21112 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21113 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21114 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21116 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21119 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21122 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21124 * string/bug-strstr1.c: New file.
21125 * string/Makefile: Add rules to build and run bug-strstr1.
21127 2010-10-05 Eric Blake <eblake@redhat.com>
21130 * string/str-two-way.h (two_way_long_needle): Always clear memory
21131 when skipping input due to the shift table.
21133 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21136 * malloc/mcheck.c: Handle large requests.
21139 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21140 for strncmp and strncasecmp.
21141 * string/stratcliff.c: Add tests for strcmp and strncmp.
21142 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21144 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21146 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21149 2010-09-30 Andreas Jaeger <aj@suse.de>
21151 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21152 (CGROUP_SUPER_MAGIC): Define.
21153 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21154 Handle btrfs and cgroup file systems.
21155 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21158 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21160 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21161 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21163 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21166 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21167 trying to locate the ELF header.
21169 2010-09-27 Andreas Schwab <schwab@redhat.com>
21172 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21173 Mask out sign-bit copies when constructing f_fsid.
21175 2010-09-24 Petr Baudis <pasky@suse.cz>
21177 * debug/stack_chk_fail_local.c: Add missing licence exception.
21178 * debug/warning-nop.c: Likewise.
21180 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21182 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21183 implementing getdents64 using getdents syscall, set d_type if
21184 __ASSUME_GETDENTS32_D_TYPE.
21186 2010-09-16 Andreas Schwab <schwab@redhat.com>
21188 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21189 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21191 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21194 * posix/unistd.h: Undo change of feature selection for ftruncate from
21197 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21199 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21202 2010-09-20 Andreas Schwab <schwab@redhat.com>
21204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21206 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21208 2010-09-14 Andreas Schwab <schwab@redhat.com>
21210 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21211 variables after CHECK_SP call.
21212 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21214 2010-09-13 Andreas Schwab <schwab@redhat.com>
21215 Ulrich Drepper <drepper@redhat.com>
21217 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21218 re-relocationg ld.so.
21219 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21220 _dl_init_paths call.
21221 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21224 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21226 * resolv/res_init.c (__res_vinit): Count the default server we added.
21228 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21229 Ulrich Drepper <drepper@redhat.com>
21232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21233 (____longjmp_chk): Use %ebx for saving value across system call.
21236 2010-09-06 Andreas Schwab <schwab@redhat.com>
21238 * manual/Makefile: Don't mix pattern rules with normal rules.
21240 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21242 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21244 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21245 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21246 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21247 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21248 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21251 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21254 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21255 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21257 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21259 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21260 * sysdeps/x86_64/addmul_1.S: Likewise.
21261 * sysdeps/x86_64/lshift.S: Likewise.
21262 * sysdeps/x86_64/mul_1.S: Likewise.
21263 * sysdeps/x86_64/rshift.S: Likewise.
21264 * sysdeps/x86_64/sub_n.S: Likewise.
21265 * sysdeps/x86_64/submul_1.S: Likewise.
21267 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21269 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21270 Define __sched_param instead of SCHED_* and sched_param when
21271 <bits/sched.h> is included with __need_schedparam defined.
21272 * bits/sched.h [__need_schedparam]
21273 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21274 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21275 (__defined_schedparam): Define to 1.
21276 (__sched_param): New structure, identical to sched_param.
21277 (__need_schedparam): Undefine.
21279 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21282 (epoll_create1): Declare.
21284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21286 2010-08-31 Andreas Schwab <schwab@redhat.com>
21289 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21290 shifting retval into place.
21292 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21294 * nis/rpcsvc/nis.h: Update copyright notice.
21295 * nis/rpcsvc/nis.x: Likewise.
21296 * nis/rpcsvc/nis_callback.h: Likewise.
21297 * nis/rpcsvc/nis_callback.x: Likewise.
21298 * nis/rpcsvc/nis_object.x: Likewise.
21299 * nis/rpcsvc/nis_tags.h: Likewise.
21300 * nis/rpcsvc/yp.h: Likewise.
21301 * nis/rpcsvc/yp.x: Likewise.
21302 * nis/rpcsvc/ypupd.h: Likewise.
21303 * nis/yp_xdr.c: Likewise.
21304 * nis/ypupdate_xdr.c: Likewise.
21306 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21307 mainly the body of pmap_getport. Add parameters to specify timeouts.
21308 (pmap_getport): Use __libc_rpc_getport.
21309 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21310 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21311 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21313 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21318 2010-08-27 Roland McGrath <roland@redhat.com>
21320 * sysdeps/i386/i686/multiarch/Makefile
21321 (CFLAGS-varshift.c): New variable.
21323 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21325 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21326 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21328 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21330 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21332 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21334 * sysdeps/x86_64/strlen.S: Unroll the loop.
21335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21336 strlen-sse2 strlen-sse2-bsf.
21337 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21338 __strlen_no_bsf if bit_Slow_BSF is set.
21339 (__strlen_sse42): Removed.
21340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21341 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21343 2010-08-25 Roland McGrath <roland@redhat.com>
21345 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21346 * sysdeps/x86_64/multiarch/varshift.c: New file.
21347 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21348 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21349 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21350 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21352 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21355 strlen-sse2 strlen-sse2-bsf.
21356 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21357 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21358 (__strlen_sse2): Removed.
21359 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21360 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21362 bit_Slow_BSF for Atom.
21363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21364 (index_Slow_BSF): Define.
21365 (HAS_SLOW_BSF): Define.
21367 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21370 * resolv/res_init.c (__res_vinit): When no server address at all
21371 is given default to loopback.
21373 2010-08-24 Roland McGrath <roland@redhat.com>
21375 * configure.in: Remove config-name.h generation.
21376 * configure: Regenerated.
21377 * config-name.in: File removed.
21378 * scripts/config-uname.sh: New file.
21379 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21380 ($(objdir)config-name.h): New target.
21382 * sunrpc/rpc_parse.h: Avoid nested comment.
21384 2010-08-24 Richard Henderson <rth@redhat.com>
21385 Ulrich Drepper <drepper@redhat.com>
21386 H.J. Lu <hongjiu.lu@intel.com>
21388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21390 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21391 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21392 _mm_alignr_epi8 with _mm_loadu_si128.
21393 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21394 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21395 (__m128i_shift_right): Removed.
21396 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21397 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21398 * sysdeps/x86_64/multiarch/varshift.h: New file.
21399 * sysdeps/x86_64/multiarch/varshift.S: New file.
21401 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21403 * configure.in: Move assembler checks to before sysdep dir checking.
21405 2010-08-20 Petr Baudis <pasky@suse.cz>
21407 * LICENSES: Sync the sunrpc license.
21409 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21411 * sunrpc/auth_des.c: Update copyright notice once again.
21412 * sunrpc/auth_none.c: Likewise.
21413 * sunrpc/auth_unix.c: Likewise.
21414 * sunrpc/authdes_prot.c: Likewise.
21415 * sunrpc/authuxprot.c: Likewise.
21416 * sunrpc/bindrsvprt.c: Likewise.
21417 * sunrpc/clnt_gen.c: Likewise.
21418 * sunrpc/clnt_perr.c: Likewise.
21419 * sunrpc/clnt_raw.c: Likewise.
21420 * sunrpc/clnt_simp.c: Likewise.
21421 * sunrpc/clnt_tcp.c: Likewise.
21422 * sunrpc/clnt_udp.c: Likewise.
21423 * sunrpc/clnt_unix.c: Likewise.
21424 * sunrpc/des_crypt.c: Likewise.
21425 * sunrpc/des_soft.c: Likewise.
21426 * sunrpc/get_myaddr.c: Likewise.
21427 * sunrpc/getrpcport.c: Likewise.
21428 * sunrpc/key_call.c: Likewise.
21429 * sunrpc/key_prot.c: Likewise.
21430 * sunrpc/openchild.c: Likewise.
21431 * sunrpc/pm_getmaps.c: Likewise.
21432 * sunrpc/pm_getport.c: Likewise.
21433 * sunrpc/pmap_clnt.c: Likewise.
21434 * sunrpc/pmap_prot.c: Likewise.
21435 * sunrpc/pmap_prot2.c: Likewise.
21436 * sunrpc/pmap_rmt.c: Likewise.
21437 * sunrpc/rpc/auth.h: Likewise.
21438 * sunrpc/rpc/auth_unix.h: Likewise.
21439 * sunrpc/rpc/clnt.h: Likewise.
21440 * sunrpc/rpc/des_crypt.h: Likewise.
21441 * sunrpc/rpc/key_prot.h: Likewise.
21442 * sunrpc/rpc/netdb.h: Likewise.
21443 * sunrpc/rpc/pmap_clnt.h: Likewise.
21444 * sunrpc/rpc/pmap_prot.h: Likewise.
21445 * sunrpc/rpc/pmap_rmt.h: Likewise.
21446 * sunrpc/rpc/rpc.h: Likewise.
21447 * sunrpc/rpc/rpc_des.h: Likewise.
21448 * sunrpc/rpc/rpc_msg.h: Likewise.
21449 * sunrpc/rpc/svc.h: Likewise.
21450 * sunrpc/rpc/svc_auth.h: Likewise.
21451 * sunrpc/rpc/types.h: Likewise.
21452 * sunrpc/rpc/xdr.h: Likewise.
21453 * sunrpc/rpc_clntout.c: Likewise.
21454 * sunrpc/rpc_cmsg.c: Likewise.
21455 * sunrpc/rpc_common.c: Likewise.
21456 * sunrpc/rpc_cout.c: Likewise.
21457 * sunrpc/rpc_dtable.c: Likewise.
21458 * sunrpc/rpc_hout.c: Likewise.
21459 * sunrpc/rpc_main.c: Likewise.
21460 * sunrpc/rpc_parse.c: Likewise.
21461 * sunrpc/rpc_parse.h: Likewise.
21462 * sunrpc/rpc_prot.c: Likewise.
21463 * sunrpc/rpc_sample.c: Likewise.
21464 * sunrpc/rpc_scan.c: Likewise.
21465 * sunrpc/rpc_scan.h: Likewise.
21466 * sunrpc/rpc_svcout.c: Likewise.
21467 * sunrpc/rpc_tblout.c: Likewise.
21468 * sunrpc/rpc_util.c: Likewise.
21469 * sunrpc/rpc_util.h: Likewise.
21470 * sunrpc/rpcinfo.c: Likewise.
21471 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21472 * sunrpc/rpcsvc/key_prot.x: Likewise.
21473 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21474 * sunrpc/rpcsvc/mount.x: Likewise.
21475 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21476 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21477 * sunrpc/rpcsvc/rex.x: Likewise.
21478 * sunrpc/rpcsvc/rstat.x: Likewise.
21479 * sunrpc/rpcsvc/rusers.x: Likewise.
21480 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21481 * sunrpc/rpcsvc/spray.x: Likewise.
21482 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21483 * sunrpc/rtime.c: Likewise.
21484 * sunrpc/svc.c: Likewise.
21485 * sunrpc/svc_auth.c: Likewise.
21486 * sunrpc/svc_authux.c: Likewise.
21487 * sunrpc/svc_raw.c: Likewise.
21488 * sunrpc/svc_run.c: Likewise.
21489 * sunrpc/svc_simple.c: Likewise.
21490 * sunrpc/svc_tcp.c: Likewise.
21491 * sunrpc/svc_udp.c: Likewise.
21492 * sunrpc/svc_unix.c: Likewise.
21493 * sunrpc/svcauth_des.c: Likewise.
21494 * sunrpc/xcrypt.c: Likewise.
21495 * sunrpc/xdr.c: Likewise.
21496 * sunrpc/xdr_array.c: Likewise.
21497 * sunrpc/xdr_float.c: Likewise.
21498 * sunrpc/xdr_mem.c: Likewise.
21499 * sunrpc/xdr_rec.c: Likewise.
21500 * sunrpc/xdr_ref.c: Likewise.
21501 * sunrpc/xdr_sizeof.c: Likewise.
21502 * sunrpc/xdr_stdio.c: Likewise.
21504 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21507 2010-08-19 Andreas Schwab <schwab@redhat.com>
21509 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21511 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21513 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21514 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21515 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21516 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21517 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21518 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21519 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21520 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21522 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21523 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21524 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21525 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21526 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21528 2010-07-26 Anton Blanchard <anton@samba.org>
21530 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21531 * malloc/arena.c (heap_trim): Likewise.
21533 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21535 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21537 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21538 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21540 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21542 * sysdeps/i386/elf/Makefile: New file.
21544 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21546 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21547 from fanotify_init.
21548 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21549 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21551 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21553 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21555 * sysdeps/multiarch/strcmp.S: Likewise.
21557 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21559 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21560 strncase_l-nonascii.
21561 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21562 Add strncase_l-ssse3.
21563 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21564 * sysdeps/x86_64/strcmp.S: Likewise.
21565 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21566 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21567 * sysdeps/x86_64/strncase.S: New file.
21568 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21569 * sysdeps/x86_64/strncase_l.S: New file.
21570 * string/Makefile (strop-tests): Add strncasecmp.
21571 * string/test-strncasecmp.c: New file.
21573 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21576 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21577 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21579 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21581 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21583 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21585 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21586 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21587 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21589 2010-05-01 Alan Modra <amodra@gmail.com>
21591 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21592 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21593 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21594 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21595 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21596 tidying. Don't tail-call __sigjmp_save for static lib.
21597 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21599 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21600 (CALL_MCOUNT): Add eh info, and nop after bl.
21601 (TAIL_CALL_SYSCALL_ERROR): New macro.
21602 (PSEUDO_RET): Use it.
21603 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21604 Correct save location of integer regs and cr.
21605 (_dl_profile_resolve): Correct cr save location. Delete nops
21606 after bl when SHARED. Reduce cfi size a little by better
21607 placement of cfi directives.
21608 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21609 make a stack frame. Instead use parm save area as a temp.
21610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21611 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21613 Don't make a stack frame for parent, use parm save area.
21614 Increase child stack frame to 112 bytes. Don't save unused reg,
21615 and adjust reg usage. Set up cfi on error recovery and
21616 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21618 (__makecontext): Add dummy nop after jump to exit.
21619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21620 Use correct parm save area and cr save, reduce stack frame.
21621 Correct cfi for possible PSEUDO_RET frame setup.
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21623 Branch to local label emitted by PSEUDO_RET rather than
21626 2010-08-12 Andreas Schwab <schwab@redhat.com>
21629 * locale/programs/locale.c (print_assignment): New function.
21630 (show_locale_vars): Use it.
21632 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21634 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21636 (struct statfs64): Likewise.
21637 (_STATFS_F_FLAGS): Define.
21638 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21640 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21641 (ST_VALID): Define locally.
21642 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21643 __statvfs_getflags, use the provided value.
21644 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21645 __ASSUME_STATFS_F_FLAGS.
21647 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21649 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21650 Add sys/fanotify.h.
21651 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21652 fanotify_mask for GLIBC_2.13.
21653 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21654 fanotify_init and fanotify_mark.
21655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21656 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21658 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21660 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21661 prlimit64 for GLIBC_2.13.
21662 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21664 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21667 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21668 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21669 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21670 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21672 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21675 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21676 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21678 * nss/Makefile: Add rules to build and run tst-nss-test1.
21679 * shlib-versions: Add entry for libnss_test1.
21680 * nss/nss_test1.c: New file.
21681 * nss/tst-nss-test1.c: New file.
21683 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21684 (__nss_configure_lookup): Set appropriate entry in
21685 __nss_configure_lookup to true.
21686 * nss/nsswitch.h: Define enum with indeces of databases in
21687 databases and __nss_database_custom arrays. Declare
21688 __nss_database_custom.
21689 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21690 to avoid using nscd when custom rules are installed.
21691 * nss/getXXbyYY_r.c: Likewise.
21692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21694 * nss/nss_files/files-parse.c: Whitespace fixes.
21696 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21699 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21700 * posix/fnmatch_loop.c: Likewise.
21702 2010-07-17 Andi Kleen <ak@linux.intel.com>
21704 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21705 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21706 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21707 * Versions.def [GLIBC_2.13]: Add.
21709 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21711 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21712 Also fail if tpwd after pwuid call is NULL.
21714 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21716 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21717 when converting to ms.
21719 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21721 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21722 EOPNOTSUPP errors with ENOTTY.
21723 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21724 EOPNOTSUPP errors with ENOTTY.
21726 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21728 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21729 Add strcasecmp_l-ssse3.
21730 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21732 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21733 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21734 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21736 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21738 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21740 * string/Makefile (strop-tests): Add strcasecmp.
21741 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21742 strcasecmp_l-nonascii.
21743 (gen-as-const-headers): Add locale-defines.sym.
21744 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21745 * sysdeps/x86_64/strcasecmp.S: New file.
21746 * sysdeps/x86_64/strcasecmp_l.S: New file.
21747 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21748 * sysdeps/x86_64/locale-defines.sym: New file.
21749 * string/test-strcasecmp.c: New file.
21751 * string/test-strcasestr.c: Test both ends of the range of characters.
21752 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21754 2010-07-29 Roland McGrath <roland@redhat.com>
21757 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21759 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21761 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21764 2010-07-27 Andreas Schwab <schwab@redhat.com>
21766 * manual/memory.texi (Malloc Tunable Parameters): Document
21769 2010-07-26 Roland McGrath <roland@redhat.com>
21772 * configure.in (-fgnu89-inline check): Set and substitute
21773 gnu89_inline, not libc_cv_gnu89_inline.
21774 * configure: Regenerated.
21775 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21777 2010-07-26 Ulrich Drepper <drepper@redhat.com>
21779 * string/test-strnlen.c: New file.
21780 * string/Makefile (strop-tests): Add strnlen.
21781 * string/tester.c (test_strnlen): Add a few more test cases.
21782 * string/tst-strlen.c: Better error reporting.
21784 * sysdeps/x86_64/strnlen.S: New file.
21786 2010-07-24 Ulrich Drepper <drepper@redhat.com>
21788 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21789 lower-latency instructions.
21791 2010-07-23 Ulrich Drepper <drepper@redhat.com>
21793 * string/test-strcasestr.c: New file.
21794 * string/test-strstr.c: New file.
21795 * string/Makefile (strop-tests): Add strstr and strcasestr.
21796 * string/str-two-way.h: Don't undefine MAX.
21797 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21799 2010-07-21 Andreas Schwab <schwab@redhat.com>
21801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21802 strcasestr-nonascii.
21803 (CFLAGS-strcasestr-nonascii.c): Define.
21804 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21805 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21806 Remove unused attribute.
21808 2010-07-20 Roland McGrath <roland@redhat.com>
21810 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21811 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21812 ld.so.cache was broken. With it, there is no way to disable dsocaps
21813 like LD_HWCAP_MASK can disable hwcaps.
21815 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21817 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21819 2010-07-16 Ulrich Drepper <drepper@redhat.com>
21821 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21822 call in strcasestr.
21823 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21824 __strcasestr_sse42_nonascii.
21825 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21826 strcasestr-nonascii.c.
21827 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21829 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
21831 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21832 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21834 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21836 2010-07-09 Ulrich Drepper <drepper@redhat.com>
21838 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21841 2010-07-06 Andreas Schwab <schwab@redhat.com>
21844 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21847 2010-07-06 Ulrich Drepper <drepper@redhat.com>
21849 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21850 _PC_PIPE_BUF using F_GETPIPE_SZ.
21852 2010-07-05 Roland McGrath <roland@redhat.com>
21854 * manual/arith.texi (Rounding Functions): Fix rint description
21855 implicit in round description.
21857 2010-07-02 Ulrich Drepper <drepper@redhat.com>
21859 * elf/Makefile: Fix linking for a few tests to make recent linker
21862 2010-06-30 Andreas Schwab <schwab@redhat.com>
21864 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21865 $(common-objpfx)libc_nonshared.a.
21867 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
21869 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21870 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21871 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21872 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21873 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21874 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21875 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21876 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21891 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21892 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21893 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21894 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21895 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21896 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21897 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21898 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21899 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21900 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21901 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21902 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21918 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21920 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21921 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21922 * string/memmove.c (memmove): Renamed to ...
21923 (MEMMOVE): ...this. Default to memmove.
21924 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21925 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21928 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21929 mempcpy-ssse3-back memmove-ssse3-back.
21930 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21933 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21934 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21935 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21936 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21937 * sysdeps/x86_64/multiarch/memmove.c: New file.
21938 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21939 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21940 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21941 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21942 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21945 (index_Fast_Copy_Backward): Define.
21946 (HAS_ARCH_FEATURE): Define.
21947 (HAS_FAST_REP_STRING): Define.
21948 (HAS_FAST_COPY_BACKWARD): Define.
21950 2010-06-21 Andreas Schwab <schwab@redhat.com>
21952 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21953 Restore proper fallback handling.
21955 2010-06-19 Ulrich Drepper <drepper@redhat.com>
21958 * posix/group_member.c (__group_member): Correct checking loop.
21960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21961 OOM in getpwuid_r correctly. Return error number when the caller
21962 should return, otherwise -1.
21963 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21964 call returning > 0 value.
21965 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21967 2010-06-07 Andreas Schwab <schwab@redhat.com>
21969 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21970 libc_nonshared.a from targets in modules-names.
21972 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21974 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21977 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
21979 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21980 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21981 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21982 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21984 2010-06-02 Andreas Schwab <schwab@redhat.com>
21986 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21988 2010-06-14 Ulrich Drepper <drepper@redhat.com>
21990 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21992 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21993 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21996 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21997 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21999 2010-06-14 Roland McGrath <roland@redhat.com>
22001 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22003 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22005 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22006 __REDIRECT followed by __THROW.
22007 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22008 * posix/getopt.h (getopt): Likewise.
22010 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22012 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22013 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22014 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22016 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22017 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22019 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22023 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22027 Properly check family and model.
22029 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22031 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22033 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22035 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22037 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22039 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22042 2010-05-19 Andreas Schwab <schwab@redhat.com>
22044 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22047 2010-05-21 Andreas Schwab <schwab@redhat.com>
22049 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22050 and internal_recvmmsg.
22051 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22052 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22053 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22054 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22056 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22057 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22058 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22060 2010-05-20 Andreas Schwab <schwab@redhat.com>
22062 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22064 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22066 POWER7 optimizations.
22067 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22068 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22070 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22072 * version.h: Update for 2.13 development version.
22074 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22076 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22077 exceptions. Return 0.
22079 2010-05-07 Roland McGrath <roland@redhat.com>
22081 * elf/ldconfig.c (main): Add a const.
22083 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22085 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22086 (args_options): Add no-idn option.
22087 (ahosts_keys_int): Add idn_flags to ai_flags.
22088 (parse_option): Handle 'i' option to clear idn_flags.
22090 * malloc/malloc.c (_int_free): Possible race in the most recently
22091 added check. Only act on the data if no current modification
22094 See ChangeLog.17 for earlier changes.